diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 210c17097c58..b0591236e2b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19811,6 +19811,76 @@ importers: specifier: catalog:testing version: 3.2.4(@types/debug@4.1.12)(@types/node@20.19.17)(@vitest/browser@3.2.4)(jsdom@16.7.0)(msw@2.7.3(@types/node@20.19.17)(typescript@5.8.3))(terser@5.39.0)(tsx@4.20.6)(yaml@2.8.1) + sdk/planetarycomputer/planetarycomputer: + dependencies: + '@azure-rest/core-client': + specifier: ^2.3.1 + version: link:../../core/core-client-rest + '@azure/abort-controller': + specifier: ^2.1.2 + version: link:../../core/abort-controller + '@azure/core-auth': + specifier: ^1.9.0 + version: link:../../core/core-auth + '@azure/core-lro': + specifier: ^3.1.0 + version: link:../../core/core-lro + '@azure/core-rest-pipeline': + specifier: ^1.20.0 + version: link:../../core/core-rest-pipeline + '@azure/core-util': + specifier: ^1.12.0 + version: link:../../core/core-util + '@azure/logger': + specifier: ^1.2.0 + version: link:../../core/logger + tslib: + specifier: ^2.8.1 + version: 2.8.1 + devDependencies: + '@azure-tools/test-credential': + specifier: ^2.0.0 + version: link:../../test-utils/test-credential + '@azure-tools/test-recorder': + specifier: ^4.1.0 + version: link:../../test-utils/recorder + '@azure-tools/test-utils-vitest': + specifier: ^1.0.0 + version: 1.0.0(@types/debug@4.1.12)(@types/node@20.19.17)(@vitest/browser@3.2.4)(jsdom@16.7.0)(msw@2.7.3(@types/node@20.19.17)(typescript@5.8.3))(terser@5.39.0)(tsx@4.20.6)(yaml@2.8.1) + '@azure/dev-tool': + specifier: ^1.0.0 + version: link:../../../common/tools/dev-tool + '@azure/eslint-plugin-azure-sdk': + specifier: ^3.0.0 + version: link:../../../common/tools/eslint-plugin-azure-sdk + '@azure/identity': + specifier: ^4.9.0 + version: link:../../identity/identity + '@types/node': + specifier: ^20.0.0 + version: 20.19.17 + '@vitest/browser': + specifier: ^3.0.9 + version: 3.2.4(msw@2.7.3(@types/node@20.19.17)(typescript@5.8.3))(playwright@1.55.1)(vite@7.1.7(@types/node@20.19.17)(terser@5.39.0)(tsx@4.20.6)(yaml@2.8.1))(vitest@3.2.4) + '@vitest/coverage-istanbul': + specifier: ^3.0.9 + version: 3.2.4(vitest@3.2.4) + dotenv: + specifier: ^16.0.0 + version: 16.6.1 + eslint: + specifier: ^9.9.0 + version: 9.36.0 + playwright: + specifier: ^1.52.0 + version: 1.55.1 + typescript: + specifier: ~5.8.2 + version: 5.8.3 + vitest: + specifier: ^3.0.9 + version: 3.2.4(@types/debug@4.1.12)(@types/node@20.19.17)(@vitest/browser@3.2.4)(jsdom@16.7.0)(msw@2.7.3(@types/node@20.19.17)(typescript@5.8.3))(terser@5.39.0)(tsx@4.20.6)(yaml@2.8.1) + sdk/playwright/arm-playwright: dependencies: '@azure-rest/core-client': diff --git a/sdk/planetarycomputer/ci.yml b/sdk/planetarycomputer/ci.yml new file mode 100644 index 000000000000..f0b6eba43d16 --- /dev/null +++ b/sdk/planetarycomputer/ci.yml @@ -0,0 +1,39 @@ +# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. + +trigger: + branches: + include: + - main + - feature/* + - release/* + - hotfix/* + exclude: + - feature/v4 + paths: + include: + - sdk/planetarycomputer/ + exclude: + - sdk/planetarycomputer/arm-planetarycomputer + - sdk/planetarycomputer/ci.mgmt.yml +pr: + branches: + include: + - main + - feature/* + - release/* + - hotfix/* + exclude: + - feature/v4 + paths: + include: + - sdk/planetarycomputer/ + exclude: + - sdk/planetarycomputer/arm-planetarycomputer + - sdk/planetarycomputer/ci.mgmt.yml +extends: + template: /eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: planetarycomputer + Artifacts: + - name: azure-rest-planetarycomputer + safeName: azurerestplanetarycomputer diff --git a/sdk/planetarycomputer/planetarycomputer/CHANGELOG.md b/sdk/planetarycomputer/planetarycomputer/CHANGELOG.md new file mode 100644 index 000000000000..a3c3b637f11a --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/CHANGELOG.md @@ -0,0 +1,7 @@ +# Release History + +## 1.0.0-beta.1 (2025-10-06) + +### Features Added + +Initial release of the @azure-rest/planetarycomputer package diff --git a/sdk/planetarycomputer/planetarycomputer/LICENSE b/sdk/planetarycomputer/planetarycomputer/LICENSE new file mode 100644 index 000000000000..63447fd8bbbf --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/LICENSE @@ -0,0 +1,21 @@ +Copyright (c) Microsoft Corporation. + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/sdk/planetarycomputer/planetarycomputer/README.md b/sdk/planetarycomputer/planetarycomputer/README.md new file mode 100644 index 000000000000..957eb649e046 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/README.md @@ -0,0 +1,55 @@ +# Azure PlanetaryComputer REST client library for JavaScript + + + +**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library** + +Key links: + +- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/planetarycomputer/planetarycomputer) +- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/planetarycomputer) +- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure-rest/planetarycomputer?view=azure-node-preview) + +## Getting started + +### Currently supported environments + +- LTS versions of Node.js + +### Prerequisites + +- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package. + +### Install the `@azure-rest/planetarycomputer` package + +Install the Azure PlanetaryComputer REST client REST client library for JavaScript with `npm`: + +```bash +npm install @azure-rest/planetarycomputer +``` + +### Create and authenticate a `PlanetaryComputerClient` + +To use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token), +provide an instance of the desired credential type obtained from the +[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library. + +To authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) + +After setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use. +As an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential) +can be used to authenticate the client. + +## Troubleshooting + +### Logging + +Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: + +```ts snippet:SetLogLevel +import { setLogLevel } from "@azure/logger"; + +setLogLevel("info"); +``` + +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). diff --git a/sdk/planetarycomputer/planetarycomputer/api-extractor.json b/sdk/planetarycomputer/planetarycomputer/api-extractor.json new file mode 100644 index 000000000000..1e1b312909b1 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/api-extractor.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../api-extractor-base.json" +} \ No newline at end of file diff --git a/sdk/planetarycomputer/planetarycomputer/eslint.config.mjs b/sdk/planetarycomputer/planetarycomputer/eslint.config.mjs new file mode 100644 index 000000000000..6d2f8a5914c3 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/eslint.config.mjs @@ -0,0 +1,14 @@ +import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; + +export default azsdkEslint.config([ + { + rules: { + "@azure/azure-sdk/ts-modules-only-named": "warn", + "@azure/azure-sdk/ts-package-json-types": "warn", + "@azure/azure-sdk/ts-package-json-engine-is-present": "warn", + "@azure/azure-sdk/ts-package-json-files-required": "off", + "@azure/azure-sdk/ts-package-json-main-is-cjs": "off", + "tsdoc/syntax": "warn", + }, + }, +]); diff --git a/sdk/planetarycomputer/planetarycomputer/metadata.json b/sdk/planetarycomputer/planetarycomputer/metadata.json new file mode 100644 index 000000000000..f18bd1182ec9 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/metadata.json @@ -0,0 +1,4 @@ +{ + "apiVersion": "2025-04-30-preview", + "emitterVersion": "0.44.1" +} diff --git a/sdk/planetarycomputer/planetarycomputer/package.json b/sdk/planetarycomputer/planetarycomputer/package.json new file mode 100644 index 000000000000..621892fdd076 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/package.json @@ -0,0 +1,127 @@ +{ + "name": "@azure-rest/planetarycomputer", + "version": "1.0.0-beta.1", + "description": "A generated SDK for PlanetaryComputerClient.", + "engines": { + "node": ">=20.0.0" + }, + "sideEffects": false, + "autoPublish": false, + "tshy": { + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false, + "project": "../../../tsconfig.src.build.json" + }, + "type": "module", + "browser": "./dist/browser/index.js", + "react-native": "./dist/react-native/index.js", + "keywords": [ + "node", + "azure", + "cloud", + "typescript", + "browser", + "isomorphic" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "files": [ + "dist/", + "!dist/**/*.d.*ts.map", + "README.md", + "LICENSE" + ], + "sdk-type": "client", + "repository": "github:Azure/azure-sdk-for-js", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/planetarycomputer/planetarycomputer/README.md", + "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", + "//metadata": { + "constantPaths": [ + { + "path": "src/planetaryComputerClient.ts", + "prefix": "userAgentInfo" + } + ] + }, + "dependencies": { + "@azure-rest/core-client": "^2.3.1", + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.9.0", + "@azure/core-lro": "^3.1.0", + "@azure/core-rest-pipeline": "^1.20.0", + "@azure/core-util": "^1.12.0", + "@azure/logger": "^1.2.0", + "tslib": "^2.8.1" + }, + "devDependencies": { + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", + "@azure/dev-tool": "^1.0.0", + "@azure/eslint-plugin-azure-sdk": "^3.0.0", + "@azure/identity": "^4.9.0", + "@types/node": "^20.0.0", + "eslint": "^9.9.0", + "@vitest/browser": "^3.0.9", + "@vitest/coverage-istanbul": "^3.0.9", + "dotenv": "^16.0.0", + "playwright": "^1.52.0", + "typescript": "~5.8.2", + "vitest": "^3.0.9" + }, + "scripts": { + "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", + "extract-api": "rimraf review && dev-tool run extract-api", + "pack": "npm pack 2>&1", + "lint": "eslint package.json src test", + "lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]", + "build:samples": "echo skipped", + "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ", + "execute:samples": "echo skipped", + "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ", + "generate:client": "echo skipped", + "test:browser": "dev-tool run build-test && dev-tool run test:vitest --browser", + "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", + "test:node": "dev-tool run test:vitest", + "test:node:esm": "dev-tool run test:vitest --esm", + "test": "npm run test:node && npm run test:browser", + "update-snippets": "dev-tool run update-snippets" + }, + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } + }, + "main": "./dist/commonjs/index.js", + "types": "./dist/commonjs/index.d.ts" +} \ No newline at end of file diff --git a/sdk/planetarycomputer/planetarycomputer/review/planetarycomputer-node.api.md b/sdk/planetarycomputer/planetarycomputer/review/planetarycomputer-node.api.md new file mode 100644 index 000000000000..e7c3cfbf4633 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/review/planetarycomputer-node.api.md @@ -0,0 +1,6422 @@ +## API Report File for "@azure-rest/planetarycomputer" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import type { AbortSignalLike } from '@azure/abort-controller'; +import type { CancelOnProgress } from '@azure/core-lro'; +import type { Client } from '@azure-rest/core-client'; +import type { ClientOptions } from '@azure-rest/core-client'; +import type { CreateHttpPollerOptions } from '@azure/core-lro'; +import type { ErrorModel } from '@azure-rest/core-client'; +import type { ErrorResponse } from '@azure-rest/core-client'; +import type { HttpResponse } from '@azure-rest/core-client'; +import type { OperationState } from '@azure/core-lro'; +import type { RawHttpHeaders } from '@azure/core-rest-pipeline'; +import type { RequestParameters } from '@azure-rest/core-client'; +import type { StreamableMethod } from '@azure-rest/core-client'; +import type { TokenCredential } from '@azure/core-auth'; + +// @public +export interface AssetMetadata { + description: string; + key: string; + roles: string[]; + title: string; + type: string; +} + +// @public +export type BandMetadataElementOutput = string | Record; + +// @public +export interface BandStatisticsOutput { + count: number; + histogram: number[][]; + majority: number; + masked_pixels: number; + max: number; + mean: number; + median: number; + min: number; + minority: number; + percentile_2: number; + percentile_98: number; + std: number; + sum: number; + unique: number; + valid_percent: number; + valid_pixels: number; +} + +// @public +export type ColorMapNames = string; + +// @public +function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: PlanetaryComputerClientOptions): PlanetaryComputerClient; +export default createClient; + +// @public +export interface DefaultLocation { + coordinates: number[]; + zoom: number; +} + +// @public +export interface DefaultLocationOutput { + coordinates: number[]; + zoom: number; +} + +// @public +export type FeatureTypeOutput = string; + +// @public +export type FilterLanguage = string; + +// @public +export type FormContent = FormData | Array; + +// @public (undocumented) +export interface FormContentDataPartDescriptor { + // (undocumented) + body: AssetMetadata; + // (undocumented) + name: "data"; +} + +// @public (undocumented) +export interface FormContentFilePartDescriptor { + // (undocumented) + body: string | Uint8Array | ReadableStream | NodeJS.ReadableStream | File; + // (undocumented) + contentType?: string; + // (undocumented) + filename?: string; + // (undocumented) + name: "file"; +} + +// @public +export interface GeoJsonStatisticsForStacItemCollectionOutput { + "msft:_created"?: string; + "msft:_updated"?: string; + bbox?: number[]; + context?: StacContextExtensionOutput; + features: Array; + links?: Array; + short_description?: string; + stac_extensions?: string[]; + stac_version?: string; + type: StacItemCollectionTypeOutput; +} + +// @public +export interface GeoJsonStatisticsItemResponseOutput { + "_msft:etag"?: string; + "_msft:ts"?: string; + "msft:_created"?: string; + "msft:_updated"?: string; + "msft:short_description"?: string; + bbox: number[]; + collection?: string; + geometry: GeometryOutput; + id: string; + properties: StacItemPropertiesOutput; + stac_extensions?: string[]; + stac_version?: string; + type: FeatureTypeOutput; +} + +// @public +export type Geometry = GeometryParent | Point | Polygon | MultiPolygon | MultiLineString | LineString | MultiPoint; + +// @public +export type GeometryOutput = GeometryOutputParent | PointOutput | PolygonOutput | MultiPolygonOutput | MultiLineStringOutput | LineStringOutput | MultiPointOutput; + +// @public +export interface GeometryOutputParent { + bbox?: number[]; + // (undocumented) + type: string; +} + +// @public +export interface GeometryParent { + bbox?: number[]; + // (undocumented) + type: string; +} + +// @public +export function getLongRunningPoller(client: Client, initialResponse: IngestionsDelete202Response | IngestionsDeleteDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacCollectionsCreate202Response | StacCollectionsCreateDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacCollectionsCreateOrReplace200Response | StacCollectionsCreateOrReplaceDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacCollectionsDelete202Response | StacCollectionsDeleteDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacItemsCreate202Response | StacItemsCreateDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacItemsCreateOrReplace202Response | StacItemsCreateOrReplaceDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacItemsUpdate202Response | StacItemsUpdateDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public (undocumented) +export function getLongRunningPoller(client: Client, initialResponse: StacItemsDelete202Response | StacItemsDeleteDefaultResponse, options?: CreateHttpPollerOptions>): Promise, TResult>>; + +// @public +export interface ImageRequest { + cols: number; + cql: Record; + geometry?: Geometry; + imageSize?: string; + render_params: string; + rows: number; + showBranding?: boolean; + zoom?: number; +} + +// @public +export interface ImageResponseOutput { + url: string; +} + +// @public +export interface InfoOperationResponseOutput { + data: TilerInfoOutput; +} + +// @public +export interface Ingestion { + displayName?: string; + importType: IngestionType; + keepOriginalAssets?: boolean; + skipExistingItems?: boolean; + sourceCatalogUrl?: string; +} + +// @public +export interface IngestionOperationsDelete204Response extends HttpResponse { + // (undocumented) + status: "204"; +} + +// @public +export interface IngestionOperationsDeleteAll204Response extends HttpResponse { + // (undocumented) + status: "204"; +} + +// @public (undocumented) +export interface IngestionOperationsDeleteAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionOperationsDeleteAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionOperationsDeleteAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionOperationsDeleteAllParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionOperationsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionOperationsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionOperationsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionOperationsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionOperationsGet { + delete(options?: IngestionOperationsDeleteParameters): StreamableMethod; + get(options?: IngestionOperationsGetParameters): StreamableMethod; +} + +// @public +export interface IngestionOperationsGet200Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionOperationsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionOperationsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionOperationsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionOperationsGetParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionOperationsList { + delete(options?: IngestionOperationsDeleteAllParameters): StreamableMethod; + get(options?: IngestionOperationsListParameters): StreamableMethod; +} + +// @public +export interface IngestionOperationsList200Response extends HttpResponse { + // (undocumented) + body: PageOperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionOperationsListDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionOperationsListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionOperationsListDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionOperationsListParameters = IngestionOperationsListQueryParam & RequestParameters; + +// @public (undocumented) +export interface IngestionOperationsListQueryParam { + // (undocumented) + queryParameters?: IngestionOperationsListQueryParamProperties; +} + +// @public (undocumented) +export interface IngestionOperationsListQueryParamProperties { + $skip?: number; + $top?: number; + collectionId?: string; + status?: OperationStatus; +} + +// @public +export interface IngestionOutput { + readonly creationTime: string; + displayName?: string; + readonly id: string; + importType: IngestionTypeOutput; + keepOriginalAssets?: boolean; + skipExistingItems?: boolean; + sourceCatalogUrl?: string; + readonly status: IngestionStatusOutput; +} + +// @public +export type IngestionResourceMergeAndPatch = Partial; + +// @public +export interface IngestionRunOperationOutput { + creationTime: string; + finishTime?: string; + id: string; + startTime?: string; + status: OperationStatusOutput; + statusHistory: Array; + totalFailedItems: number; + totalItems: number; + totalPendingItems: number; + totalSuccessfulItems: number; +} + +// @public +export interface IngestionRunOutput { + creationTime: string; + id: string; + keepOriginalAssets?: boolean; + operation: IngestionRunOperationOutput; + parentRunId?: string; + skipExistingItems?: boolean; + sourceCatalogUrl?: string; +} + +// @public (undocumented) +export interface IngestionRunsCreate201Headers { + location: string; +} + +// @public +export interface IngestionRunsCreate201Response extends HttpResponse { + // (undocumented) + body: IngestionRunOutput; + // (undocumented) + headers: RawHttpHeaders & IngestionRunsCreate201Headers; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface IngestionRunsCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionRunsCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionRunsCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionRunsCreateParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionRunsGet { + get(options?: IngestionRunsGetParameters): StreamableMethod; +} + +// @public +export interface IngestionRunsGet200Response extends HttpResponse { + // (undocumented) + body: IngestionRunOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionRunsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionRunsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionRunsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionRunsGetParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionRunsList { + get(options?: IngestionRunsListParameters): StreamableMethod; + post(options?: IngestionRunsCreateParameters): StreamableMethod; +} + +// @public +export interface IngestionRunsList200Response extends HttpResponse { + // (undocumented) + body: PageIngestionRunOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionRunsListDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionRunsListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionRunsListDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionRunsListParameters = IngestionRunsListQueryParam & RequestParameters; + +// @public (undocumented) +export interface IngestionRunsListQueryParam { + // (undocumented) + queryParameters?: IngestionRunsListQueryParamProperties; +} + +// @public (undocumented) +export interface IngestionRunsListQueryParamProperties { + $skip?: number; + $top?: number; +} + +// @public (undocumented) +export interface IngestionsCreate201Headers { + location: string; +} + +// @public +export interface IngestionsCreate201Response extends HttpResponse { + // (undocumented) + body: IngestionOutput; + // (undocumented) + headers: RawHttpHeaders & IngestionsCreate201Headers; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface IngestionsCreateBodyParam { + body: Ingestion; +} + +// @public (undocumented) +export interface IngestionsCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionsCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionsCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionsCreateParameters = IngestionsCreateBodyParam & RequestParameters; + +// @public (undocumented) +export interface IngestionsDelete202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface IngestionsDelete202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & IngestionsDelete202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface IngestionsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface IngestionsDeleteLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type IngestionsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionsGet { + delete(options?: IngestionsDeleteParameters): StreamableMethod; + get(options?: IngestionsGetParameters): StreamableMethod; + patch(options: IngestionsUpdateParameters): StreamableMethod; +} + +// @public +export interface IngestionsGet200Response extends HttpResponse { + // (undocumented) + body: IngestionOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionsGetParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionsList { + get(options?: IngestionsListParameters): StreamableMethod; + post(options: IngestionsCreateParameters): StreamableMethod; +} + +// @public +export interface IngestionsList200Response extends HttpResponse { + // (undocumented) + body: PageIngestionOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionsListDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionsListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionsListDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionsListParameters = IngestionsListQueryParam & RequestParameters; + +// @public (undocumented) +export interface IngestionsListQueryParam { + // (undocumented) + queryParameters?: IngestionsListQueryParamProperties; +} + +// @public (undocumented) +export interface IngestionsListQueryParamProperties { + $skip?: number; + $top?: number; +} + +// @public +export type IngestionSource = IngestionSourceParent | SharedAccessSignatureTokenIngestionSource | ManagedIdentityIngestionSource; + +// @public +export type IngestionSourceOutput = IngestionSourceOutputParent | SharedAccessSignatureTokenIngestionSourceOutput | ManagedIdentityIngestionSourceOutput; + +// @public +export interface IngestionSourceOutputParent { + readonly created: string; + id: string; + // (undocumented) + kind: IngestionSourceTypeOutput; +} + +// @public +export interface IngestionSourceParent { + id: string; + // (undocumented) + kind: IngestionSourceType; +} + +// @public (undocumented) +export interface IngestionSourcesCreate201Headers { + location: string; +} + +// @public +export interface IngestionSourcesCreate201Response extends HttpResponse { + // (undocumented) + body: IngestionSourceOutput; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesCreate201Headers; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface IngestionSourcesCreateBodyParam { + body: IngestionSource; +} + +// @public (undocumented) +export interface IngestionSourcesCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionSourcesCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface IngestionSourcesCreateOrReplace200Headers { + location: string; +} + +// @public +export interface IngestionSourcesCreateOrReplace200Response extends HttpResponse { + // (undocumented) + body: IngestionSourceOutput; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesCreateOrReplace200Headers; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionSourcesCreateOrReplace201Headers { + location: string; +} + +// @public +export interface IngestionSourcesCreateOrReplace201Response extends HttpResponse { + // (undocumented) + body: IngestionSourceOutput; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesCreateOrReplace201Headers; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface IngestionSourcesCreateOrReplaceBodyParam { + body: IngestionSource; +} + +// @public (undocumented) +export interface IngestionSourcesCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionSourcesCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionSourcesCreateOrReplaceParameters = IngestionSourcesCreateOrReplaceBodyParam & RequestParameters; + +// @public (undocumented) +export type IngestionSourcesCreateParameters = IngestionSourcesCreateBodyParam & RequestParameters; + +// @public +export interface IngestionSourcesDelete204Response extends HttpResponse { + // (undocumented) + status: "204"; +} + +// @public (undocumented) +export interface IngestionSourcesDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionSourcesDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionSourcesDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionSourcesGet { + delete(options?: IngestionSourcesDeleteParameters): StreamableMethod; + get(options?: IngestionSourcesGetParameters): StreamableMethod; + put(options: IngestionSourcesCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface IngestionSourcesGet200Response extends HttpResponse { + // (undocumented) + body: IngestionSourceOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionSourcesGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionSourcesGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionSourcesGetParameters = RequestParameters; + +// @public (undocumented) +export interface IngestionSourcesList { + get(options?: IngestionSourcesListParameters): StreamableMethod; + post(options: IngestionSourcesCreateParameters): StreamableMethod; +} + +// @public +export interface IngestionSourcesList200Response extends HttpResponse { + // (undocumented) + body: PageIngestionSourceSummaryOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionSourcesListDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionSourcesListDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesListDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface IngestionSourcesListManagedIdentities { + get(options?: IngestionSourcesListManagedIdentitiesParameters): StreamableMethod; +} + +// @public +export interface IngestionSourcesListManagedIdentities200Response extends HttpResponse { + // (undocumented) + body: PageManagedIdentityMetadataOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionSourcesListManagedIdentitiesDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionSourcesListManagedIdentitiesDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionSourcesListManagedIdentitiesDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type IngestionSourcesListManagedIdentitiesParameters = RequestParameters; + +// @public (undocumented) +export type IngestionSourcesListParameters = IngestionSourcesListQueryParam & RequestParameters; + +// @public (undocumented) +export interface IngestionSourcesListQueryParam { + // (undocumented) + queryParameters?: IngestionSourcesListQueryParamProperties; +} + +// @public (undocumented) +export interface IngestionSourcesListQueryParamProperties { + $skip?: number; + $top?: number; +} + +// @public +export interface IngestionSourceSummaryOutput { + created: string; + id: string; + kind: IngestionSourceTypeOutput; +} + +// @public +export type IngestionSourceType = string; + +// @public +export type IngestionSourceTypeOutput = string; + +// @public +export type IngestionStatus = string; + +// @public +export type IngestionStatusOutput = string; + +// @public +export interface IngestionsUpdate200Response extends HttpResponse { + // (undocumented) + body: IngestionOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface IngestionsUpdateBodyParam { + body: IngestionResourceMergeAndPatch; +} + +// @public (undocumented) +export interface IngestionsUpdateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface IngestionsUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & IngestionsUpdateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface IngestionsUpdateMediaTypesParam { + contentType: "application/merge-patch+json"; +} + +// @public (undocumented) +export type IngestionsUpdateParameters = IngestionsUpdateMediaTypesParam & IngestionsUpdateBodyParam & RequestParameters; + +// @public +export type IngestionType = string; + +// @public +export type IngestionTypeOutput = string; + +// @public +export type IntervalLegendsElementOutput = number[] | Record; + +// @public (undocumented) +export function isUnexpected(response: IngestionOperationsList200Response | IngestionOperationsListDefaultResponse): response is IngestionOperationsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionOperationsDeleteAll204Response | IngestionOperationsDeleteAllDefaultResponse): response is IngestionOperationsDeleteAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionOperationsGet200Response | IngestionOperationsGetDefaultResponse): response is IngestionOperationsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionOperationsDelete204Response | IngestionOperationsDeleteDefaultResponse): response is IngestionOperationsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionRunsList200Response | IngestionRunsListDefaultResponse): response is IngestionRunsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionRunsCreate201Response | IngestionRunsCreateDefaultResponse): response is IngestionRunsCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionRunsGet200Response | IngestionRunsGetDefaultResponse): response is IngestionRunsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionsList200Response | IngestionsListDefaultResponse): response is IngestionsListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionsCreate201Response | IngestionsCreateDefaultResponse): response is IngestionsCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionsGet200Response | IngestionsGetDefaultResponse): response is IngestionsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionsUpdate200Response | IngestionsUpdateDefaultResponse): response is IngestionsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionsDelete202Response | IngestionsDeleteLogicalResponse | IngestionsDeleteDefaultResponse): response is IngestionsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionSourcesList200Response | IngestionSourcesListDefaultResponse): response is IngestionSourcesListDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionSourcesCreate201Response | IngestionSourcesCreateDefaultResponse): response is IngestionSourcesCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionSourcesGet200Response | IngestionSourcesGetDefaultResponse): response is IngestionSourcesGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionSourcesCreateOrReplace200Response | IngestionSourcesCreateOrReplace201Response | IngestionSourcesCreateOrReplaceDefaultResponse): response is IngestionSourcesCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionSourcesDelete204Response | IngestionSourcesDeleteDefaultResponse): response is IngestionSourcesDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: IngestionSourcesListManagedIdentities200Response | IngestionSourcesListManagedIdentitiesDefaultResponse): response is IngestionSourcesListManagedIdentitiesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionAssetsCreate200Response | StacCollectionAssetsCreate201Response | StacCollectionAssetsCreateDefaultResponse): response is StacCollectionAssetsCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionAssetsCreateOrReplace200Response | StacCollectionAssetsCreateOrReplace201Response | StacCollectionAssetsCreateOrReplaceDefaultResponse): response is StacCollectionAssetsCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionAssetsDelete200Response | StacCollectionAssetsDeleteDefaultResponse): response is StacCollectionAssetsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionConfigGet200Response | StacCollectionConfigGetDefaultResponse): response is StacCollectionConfigGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionMosaicsGetAll200Response | StacCollectionMosaicsGetAllDefaultResponse): response is StacCollectionMosaicsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionMosaicsAdd200Response | StacCollectionMosaicsAdd201Response | StacCollectionMosaicsAddDefaultResponse): response is StacCollectionMosaicsAddDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionMosaicsGet200Response | StacCollectionMosaicsGetDefaultResponse): response is StacCollectionMosaicsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionMosaicsCreateOrReplace200Response | StacCollectionMosaicsCreateOrReplace201Response | StacCollectionMosaicsCreateOrReplaceDefaultResponse): response is StacCollectionMosaicsCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionMosaicsDelete200Response | StacCollectionMosaicsDeleteDefaultResponse): response is StacCollectionMosaicsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionsGetAll200Response | StacCollectionsGetAllDefaultResponse): response is StacCollectionsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionsCreate202Response | StacCollectionsCreateLogicalResponse | StacCollectionsCreateDefaultResponse): response is StacCollectionsCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionsGet200Response | StacCollectionsGetDefaultResponse): response is StacCollectionsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionsCreateOrReplace200Response | StacCollectionsCreateOrReplaceLogicalResponse | StacCollectionsCreateOrReplaceDefaultResponse): response is StacCollectionsCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionsDelete202Response | StacCollectionsDeleteLogicalResponse | StacCollectionsDeleteDefaultResponse): response is StacCollectionsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionPartitionTypesGet200Response | StacCollectionPartitionTypesGetDefaultResponse): response is StacCollectionPartitionTypesGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionPartitionTypesReplace200Response | StacCollectionPartitionTypesReplace404Response | StacCollectionPartitionTypesReplaceDefaultResponse): response is StacCollectionPartitionTypesReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionRenderOptionsGetAll200Response | StacCollectionRenderOptionsGetAllDefaultResponse): response is StacCollectionRenderOptionsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionRenderOptionsCreate200Response | StacCollectionRenderOptionsCreate201Response | StacCollectionRenderOptionsCreateDefaultResponse): response is StacCollectionRenderOptionsCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionRenderOptionsGet200Response | StacCollectionRenderOptionsGetDefaultResponse): response is StacCollectionRenderOptionsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionRenderOptionsCreateOrReplace200Response | StacCollectionRenderOptionsCreateOrReplace201Response | StacCollectionRenderOptionsCreateOrReplaceDefaultResponse): response is StacCollectionRenderOptionsCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionRenderOptionsDelete200Response | StacCollectionRenderOptionsDeleteDefaultResponse): response is StacCollectionRenderOptionsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionThumbnailsGet200Response | StacCollectionThumbnailsGetDefaultResponse): response is StacCollectionThumbnailsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionTileSettingsGet200Response | StacCollectionTileSettingsGetDefaultResponse): response is StacCollectionTileSettingsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacCollectionTileSettingsReplace200Response | StacCollectionTileSettingsReplaceDefaultResponse): response is StacCollectionTileSettingsReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacConformanceClassGet200Response | StacConformanceClassGetDefaultResponse): response is StacConformanceClassGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacItemsGetFeatures200Response | StacItemsGetFeaturesDefaultResponse): response is StacItemsGetFeaturesDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacItemsCreate202Response | StacItemsCreateLogicalResponse | StacItemsCreateDefaultResponse): response is StacItemsCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacItemsGet200Response | StacItemsGetDefaultResponse): response is StacItemsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacItemsCreateOrReplace202Response | StacItemsCreateOrReplaceLogicalResponse | StacItemsCreateOrReplaceDefaultResponse): response is StacItemsCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacItemsUpdate202Response | StacItemsUpdateLogicalResponse | StacItemsUpdateDefaultResponse): response is StacItemsUpdateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacItemsDelete202Response | StacItemsDeleteLogicalResponse | StacItemsDeleteDefaultResponse): response is StacItemsDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacLandingPagesGet200Response | StacLandingPagesGetDefaultResponse): response is StacLandingPagesGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacQueryablesGetAll200Response | StacQueryablesGetAllDefaultResponse): response is StacQueryablesGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacQueryablesDelete200Response | StacQueryablesDeleteDefaultResponse): response is StacQueryablesDeleteDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacQueryablesCreateOrReplace200Response | StacQueryablesCreateOrReplace201Response | StacQueryablesCreateOrReplaceDefaultResponse): response is StacQueryablesCreateOrReplaceDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacQueryablesGetAllByCollection200Response | StacQueryablesGetAllByCollectionDefaultResponse): response is StacQueryablesGetAllByCollectionDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacQueryablesCreate201Response | StacQueryablesCreateDefaultResponse): response is StacQueryablesCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacSearchGet200Response | StacSearchGetDefaultResponse): response is StacSearchGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: StacSearchCreate200Response | StacSearchCreateDefaultResponse): response is StacSearchCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TileMatrixDefinitionsGet200Response | TileMatrixDefinitionsGetDefaultResponse): response is TileMatrixDefinitionsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TileMatrixListGet200Response | TileMatrixListGetDefaultResponse): response is TileMatrixListGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerAssetStatisticsGetAll200Response | TilerAssetStatisticsGetAllDefaultResponse): response is TilerAssetStatisticsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerAvailableAssetsGetAll200Response | TilerAvailableAssetsGetAllDefaultResponse): response is TilerAvailableAssetsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerBoundGetAll200Response | TilerBoundGetAllDefaultResponse): response is TilerBoundGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerGeoJsonsCropWidthByHeightFormat200Response | TilerGeoJsonsCropWidthByHeightFormatDefaultResponse): response is TilerGeoJsonsCropWidthByHeightFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerGeoJsonsCropFormat200Response | TilerGeoJsonsCropFormatDefaultResponse): response is TilerGeoJsonsCropFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerGeoJsonStatisticsGetAll200Response | TilerGeoJsonStatisticsGetAllDefaultResponse): response is TilerGeoJsonStatisticsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerStatisticsGetAll200Response | TilerStatisticsGetAllDefaultResponse): response is TilerStatisticsGetAllDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerInfoGeoJsonOperationsGet200Response | TilerInfoGeoJsonOperationsGetDefaultResponse): response is TilerInfoGeoJsonOperationsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerInfoOperationsGet200Response | TilerInfoOperationsGetDefaultResponse): response is TilerInfoOperationsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response | TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse): response is TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerPartsGetCroppedToBoundingBox200Response | TilerPartsGetCroppedToBoundingBoxDefaultResponse): response is TilerPartsGetCroppedToBoundingBoxDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerPointsGetPoint200Response | TilerPointsGetPointDefaultResponse): response is TilerPointsGetPointDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerPreviewsGetFormat200Response | TilerPreviewsGetFormatDefaultResponse): response is TilerPreviewsGetFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerPreviewsGet200Response | TilerPreviewsGetDefaultResponse): response is TilerPreviewsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerStaticImagesCreate200Response | TilerStaticImagesCreateDefaultResponse): response is TilerStaticImagesCreateDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerStaticImagesGet200Response | TilerStaticImagesGetDefaultResponse): response is TilerStaticImagesGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerTileJsonTileMatrixSetsGet200Response | TilerTileJsonTileMatrixSetsGetDefaultResponse): response is TilerTileJsonTileMatrixSetsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerTileMatrixSetsGetZxyScaleByFormat200Response | TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse): response is TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response | TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse): response is TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MapsClassMapLegendsGet200Response | MapsClassMapLegendsGetDefaultResponse): response is MapsClassMapLegendsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MapsIntervalLegendsGetByClassMapName200Response | MapsIntervalLegendsGetByClassMapNameDefaultResponse): response is MapsIntervalLegendsGetByClassMapNameDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MapsLegendsGet200Response | MapsLegendsGetDefaultResponse): response is MapsLegendsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsAssetsForPointsGetPointAssets200Response | MosaicsAssetsForPointsGetPointAssetsDefaultResponse): response is MosaicsAssetsForPointsGetPointAssetsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response | MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse): response is MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsInfoSearchGet200Response | MosaicsInfoSearchGetDefaultResponse): response is MosaicsInfoSearchGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsRegisterSearchRegister200Response | MosaicsRegisterSearchRegisterDefaultResponse): response is MosaicsRegisterSearchRegisterDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsTileMatrixSetsTileJsonGet200Response | MosaicsTileMatrixSetsTileJsonGetDefaultResponse): response is MosaicsTileMatrixSetsTileJsonGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsTileMatrixSetsGetZxyScaleByFormat200Response | MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse): response is MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse): response is MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: SasGetToken200Response | SasGetTokenDefaultResponse): response is SasGetTokenDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: SasRevokeToken200Response | SasRevokeTokenDefaultResponse): response is SasRevokeTokenDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: SasGetSign200Response | SasGetSignDefaultResponse): response is SasGetSignDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerTilesGetZxyScaleByFormat200Response | TilerTilesGetZxyScaleByFormatDefaultResponse): response is TilerTilesGetZxyScaleByFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerTileJsonOperationsGet200Response | TilerTileJsonOperationsGetDefaultResponse): response is TilerTileJsonOperationsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: TilerWmtsGetCapabilitiesXml200Response | TilerWmtsGetCapabilitiesXmlDefaultResponse): response is TilerWmtsGetCapabilitiesXmlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsTilesGetZxyScaleByFormat200Response | MosaicsTilesGetZxyScaleByFormatDefaultResponse): response is MosaicsTilesGetZxyScaleByFormatDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsTileJsonOperationsGet200Response | MosaicsTileJsonOperationsGetDefaultResponse): response is MosaicsTileJsonOperationsGetDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsWmtsMosaicsGetCapabilitiesXml200Response | MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse): response is MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse; + +// @public (undocumented) +export function isUnexpected(response: MosaicsAssetsForTilesGetZxyAssets200Response | MosaicsAssetsForTilesGetZxyAssetsDefaultResponse): response is MosaicsAssetsForTilesGetZxyAssetsDefaultResponse; + +// @public +export type LegendConfigType = string; + +// @public +export type LegendConfigTypeOutput = string; + +// @public +export interface LineString extends GeometryParent { + coordinates: number[]; + type: "LineString"; +} + +// @public +export interface LineStringOutput extends GeometryOutputParent { + coordinates: number[]; + type: "LineString"; +} + +// @public +export interface ManagedIdentityConnection { + containerUrl: string; + objectId: string; +} + +// @public +export interface ManagedIdentityConnectionOutput { + containerUrl: string; + objectId: string; +} + +// @public +export interface ManagedIdentityIngestionSource extends IngestionSourceParent { + connectionInfo: ManagedIdentityConnection; + // (undocumented) + kind: "BlobManagedIdentity"; +} + +// @public +export interface ManagedIdentityIngestionSourceOutput extends IngestionSourceOutputParent { + connectionInfo: ManagedIdentityConnectionOutput; + // (undocumented) + kind: "BlobManagedIdentity"; +} + +// @public +export interface ManagedIdentityMetadataOutput { + objectId: string; + resourceId: string; +} + +// @public (undocumented) +export interface MapsClassMapLegendsGet { + get(options?: MapsClassMapLegendsGetParameters): StreamableMethod; +} + +// @public +export interface MapsClassMapLegendsGet200Response extends HttpResponse { + // (undocumented) + body: Record; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MapsClassMapLegendsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MapsClassMapLegendsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MapsClassMapLegendsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MapsClassMapLegendsGetParameters = MapsClassMapLegendsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface MapsClassMapLegendsGetQueryParam { + // (undocumented) + queryParameters?: MapsClassMapLegendsGetQueryParamProperties; +} + +// @public (undocumented) +export interface MapsClassMapLegendsGetQueryParamProperties { + trim_end?: number; + trim_start?: number; +} + +// @public (undocumented) +export interface MapsIntervalLegendsGetByClassMapName { + get(options?: MapsIntervalLegendsGetByClassMapNameParameters): StreamableMethod; +} + +// @public (undocumented) +export interface MapsIntervalLegendsGetByClassMapName200Headers { + "content-type": "application/json"; +} + +// @public +export interface MapsIntervalLegendsGetByClassMapName200Response extends HttpResponse { + // (undocumented) + body: Array[]; + // (undocumented) + headers: RawHttpHeaders & MapsIntervalLegendsGetByClassMapName200Headers; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MapsIntervalLegendsGetByClassMapNameDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MapsIntervalLegendsGetByClassMapNameDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MapsIntervalLegendsGetByClassMapNameDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MapsIntervalLegendsGetByClassMapNameParameters = MapsIntervalLegendsGetByClassMapNameQueryParam & RequestParameters; + +// @public (undocumented) +export interface MapsIntervalLegendsGetByClassMapNameQueryParam { + // (undocumented) + queryParameters?: MapsIntervalLegendsGetByClassMapNameQueryParamProperties; +} + +// @public (undocumented) +export interface MapsIntervalLegendsGetByClassMapNameQueryParamProperties { + trim_end?: number; + trim_start?: number; +} + +// @public (undocumented) +export interface MapsLegendsGet { + get(options?: MapsLegendsGetParameters): StreamableMethod; +} + +// @public (undocumented) +export interface MapsLegendsGet200Headers { + "content-type": "image/png"; +} + +// @public +export interface MapsLegendsGet200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & MapsLegendsGet200Headers; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MapsLegendsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MapsLegendsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MapsLegendsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MapsLegendsGetParameters = MapsLegendsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface MapsLegendsGetQueryParam { + // (undocumented) + queryParameters?: MapsLegendsGetQueryParamProperties; +} + +// @public (undocumented) +export interface MapsLegendsGetQueryParamProperties { + height?: number; + trim_end?: number; + trim_start?: number; + width?: number; +} + +// @public +export interface MosaicMetadata { + assets?: string[]; + bounds?: string; + defaults?: Record; + maxzoom?: number; + minzoom?: number; + name?: string; + type?: MosaicMetadataType; +} + +// @public +export interface MosaicMetadataOutput { + assets?: string[]; + bounds?: string; + defaults?: Record; + maxzoom?: number; + minzoom?: number; + name?: string; + type?: MosaicMetadataTypeOutput; +} + +// @public +export type MosaicMetadataType = string; + +// @public +export type MosaicMetadataTypeOutput = string; + +// @public (undocumented) +export interface MosaicsAssetsForPointsGetPointAssets { + get(options?: MosaicsAssetsForPointsGetPointAssetsParameters): StreamableMethod; +} + +// @public +export interface MosaicsAssetsForPointsGetPointAssets200Response extends HttpResponse { + // (undocumented) + body: Array; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MosaicsAssetsForPointsGetPointAssetsDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsAssetsForPointsGetPointAssetsDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsAssetsForPointsGetPointAssetsDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsAssetsForPointsGetPointAssetsParameters = MosaicsAssetsForPointsGetPointAssetsQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsAssetsForPointsGetPointAssetsQueryParam { + // (undocumented) + queryParameters?: MosaicsAssetsForPointsGetPointAssetsQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsAssetsForPointsGetPointAssetsQueryParamProperties { + "coord-crs"?: string; + exitwhenfull?: boolean; + items_limit?: number; + scan_limit?: number; + skipcovered?: boolean; + time_limit?: number; +} + +// @public (undocumented) +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssets { + get(options?: MosaicsAssetsForTileMatrixSetsGetZxyAssetsParameters): StreamableMethod; +} + +// @public +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response extends HttpResponse { + // (undocumented) + body: any[]; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsAssetsForTileMatrixSetsGetZxyAssetsParameters = MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParam { + // (undocumented) + queryParameters?: MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParamProperties { + exitwhenfull?: boolean; + items_limit?: number; + scan_limit?: number; + skipcovered?: boolean; + time_limit?: number; +} + +// @public (undocumented) +export interface MosaicsAssetsForTilesGetZxyAssets { + get(options?: MosaicsAssetsForTilesGetZxyAssetsParameters): StreamableMethod; +} + +// @public +export interface MosaicsAssetsForTilesGetZxyAssets200Response extends HttpResponse { + // (undocumented) + body: any[]; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MosaicsAssetsForTilesGetZxyAssetsDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsAssetsForTilesGetZxyAssetsDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsAssetsForTilesGetZxyAssetsDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsAssetsForTilesGetZxyAssetsParameters = MosaicsAssetsForTilesGetZxyAssetsQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsAssetsForTilesGetZxyAssetsQueryParam { + // (undocumented) + queryParameters?: MosaicsAssetsForTilesGetZxyAssetsQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsAssetsForTilesGetZxyAssetsQueryParamProperties { + exitwhenfull?: boolean; + items_limit?: number; + scan_limit?: number; + skipcovered?: boolean; + tileMatrixSetId?: TileMatrixSetId; + time_limit?: number; +} + +// @public (undocumented) +export interface MosaicsInfoSearchGet { + get(options?: MosaicsInfoSearchGetParameters): StreamableMethod; +} + +// @public +export interface MosaicsInfoSearchGet200Response extends HttpResponse { + // (undocumented) + body: TilerStacSearchRegistrationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MosaicsInfoSearchGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsInfoSearchGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsInfoSearchGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsInfoSearchGetParameters = RequestParameters; + +// @public (undocumented) +export interface MosaicsRegisterSearchRegister { + post(options: MosaicsRegisterSearchRegisterParameters): StreamableMethod; +} + +// @public +export interface MosaicsRegisterSearchRegister200Response extends HttpResponse { + // (undocumented) + body: TilerMosaicSearchRegistrationResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface MosaicsRegisterSearchRegisterBodyParam { + // (undocumented) + body: RegisterMosaic; +} + +// @public (undocumented) +export interface MosaicsRegisterSearchRegisterDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsRegisterSearchRegisterDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsRegisterSearchRegisterDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsRegisterSearchRegisterParameters = MosaicsRegisterSearchRegisterBodyParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsTileJsonOperationsGet { + get(options?: MosaicsTileJsonOperationsGetParameters): StreamableMethod; +} + +// @public +export interface MosaicsTileJsonOperationsGet200Response extends HttpResponse { + // (undocumented) + body: TileJsonMetaDataOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface MosaicsTileJsonOperationsGetAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface MosaicsTileJsonOperationsGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTileJsonOperationsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsTileJsonOperationsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsTileJsonOperationsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsTileJsonOperationsGetParameters = MosaicsTileJsonOperationsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsTileJsonOperationsGetQueryParam { + // (undocumented) + queryParameters?: MosaicsTileJsonOperationsGetQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsTileJsonOperationsGetQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | MosaicsTileJsonOperationsGetAssetBidxQueryParam; + assets?: MosaicsTileJsonOperationsGetAssetsQueryParam; + buffer?: number; + collection?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + exitwhenfull?: boolean; + expression?: string; + items_limit?: number; + maxzoom?: number; + minzoom?: number; + nodata?: number; + pixel_selection?: PixelSelection; + resampling?: Resampling; + rescale?: MosaicsTileJsonOperationsGetRescaleQueryParam; + return_mask?: boolean; + scan_limit?: number; + skipcovered?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + tileMatrixSetId?: TileMatrixSetId; + time_limit?: number; + unscale?: boolean; +} + +// @public +export interface MosaicsTileJsonOperationsGetRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsGetZxyScaleByFormat { + get(options?: MosaicsTileMatrixSetsGetZxyScaleByFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsGetZxyScaleByFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface MosaicsTileMatrixSetsGetZxyScaleByFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & MosaicsTileMatrixSetsGetZxyScaleByFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsTileMatrixSetsGetZxyScaleByFormatParameters = MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParam { + // (undocumented) + queryParameters?: MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | MosaicsTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam; + assets?: MosaicsTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam; + buffer?: string; + collection?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + exitwhenfull?: boolean; + expression?: string; + items_limit?: number; + nodata?: number; + pixel_selection?: PixelSelection; + resampling?: Resampling; + rescale?: MosaicsTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam; + return_mask?: boolean; + scan_limit?: number; + skipcovered?: boolean; + time_limit?: number; + unscale?: boolean; +} + +// @public +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsTileJsonGet { + get(options?: MosaicsTileMatrixSetsTileJsonGetParameters): StreamableMethod; +} + +// @public +export interface MosaicsTileMatrixSetsTileJsonGet200Response extends HttpResponse { + // (undocumented) + body: TileJsonMetaDataOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface MosaicsTileMatrixSetsTileJsonGetAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface MosaicsTileMatrixSetsTileJsonGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsTileJsonGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsTileJsonGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsTileMatrixSetsTileJsonGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsTileMatrixSetsTileJsonGetParameters = MosaicsTileMatrixSetsTileJsonGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsTileMatrixSetsTileJsonGetQueryParam { + // (undocumented) + queryParameters?: MosaicsTileMatrixSetsTileJsonGetQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsTileMatrixSetsTileJsonGetQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | MosaicsTileMatrixSetsTileJsonGetAssetBidxQueryParam; + assets?: MosaicsTileMatrixSetsTileJsonGetAssetsQueryParam; + buffer?: string; + collection?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + exitwhenfull?: boolean; + expression?: string; + items_limit?: number; + maxzoom?: number; + minzoom?: number; + nodata?: number; + pixel_selection?: PixelSelection; + resampling?: Resampling; + rescale?: MosaicsTileMatrixSetsTileJsonGetRescaleQueryParam; + return_mask?: boolean; + scan_limit?: number; + skipcovered?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + time_limit?: number; + unscale?: boolean; +} + +// @public +export interface MosaicsTileMatrixSetsTileJsonGetRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTilesGetZxyScaleByFormat { + get(options?: MosaicsTilesGetZxyScaleByFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface MosaicsTilesGetZxyScaleByFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface MosaicsTilesGetZxyScaleByFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & MosaicsTilesGetZxyScaleByFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface MosaicsTilesGetZxyScaleByFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface MosaicsTilesGetZxyScaleByFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsTilesGetZxyScaleByFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsTilesGetZxyScaleByFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsTilesGetZxyScaleByFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsTilesGetZxyScaleByFormatParameters = MosaicsTilesGetZxyScaleByFormatQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsTilesGetZxyScaleByFormatQueryParam { + // (undocumented) + queryParameters?: MosaicsTilesGetZxyScaleByFormatQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsTilesGetZxyScaleByFormatQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | MosaicsTilesGetZxyScaleByFormatAssetBidxQueryParam; + assets?: MosaicsTilesGetZxyScaleByFormatAssetsQueryParam; + buffer?: string; + collection?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + exitwhenfull?: boolean; + expression?: string; + items_limit?: number; + nodata?: number; + pixel_selection?: PixelSelection; + resampling?: Resampling; + rescale?: MosaicsTilesGetZxyScaleByFormatRescaleQueryParam; + return_mask?: boolean; + scan_limit?: number; + skipcovered?: boolean; + tileMatrixSetId?: TileMatrixSetId; + time_limit?: number; + unscale?: boolean; +} + +// @public +export interface MosaicsTilesGetZxyScaleByFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsGetCapabilitiesXml { + get(options?: MosaicsWmtsMosaicsGetCapabilitiesXmlParameters): StreamableMethod; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsGetCapabilitiesXml200Headers { + "content-type": "application/xml"; +} + +// @public +export interface MosaicsWmtsMosaicsGetCapabilitiesXml200Response extends HttpResponse { + // (undocumented) + body: string; + // (undocumented) + headers: RawHttpHeaders & MosaicsWmtsMosaicsGetCapabilitiesXml200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsWmtsMosaicsGetCapabilitiesXmlParameters = MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParam { + // (undocumented) + queryParameters?: MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | MosaicsWmtsMosaicsGetCapabilitiesXmlAssetBidxQueryParam; + assets?: MosaicsWmtsMosaicsGetCapabilitiesXmlAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + maxzoom?: number; + minzoom?: number; + nodata?: number; + resampling?: Resampling; + rescale?: MosaicsWmtsMosaicsGetCapabilitiesXmlRescaleQueryParam; + return_mask?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + tileMatrixSetId?: TileMatrixSetId; + unscale?: boolean; +} + +// @public +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml { + get(options?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlParameters): StreamableMethod; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Headers { + "content-type": "application/xml"; +} + +// @public +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response extends HttpResponse { + // (undocumented) + body: string; + // (undocumented) + headers: RawHttpHeaders & MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlParameters = MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParam & RequestParameters; + +// @public (undocumented) +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParam { + // (undocumented) + queryParameters?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties; +} + +// @public (undocumented) +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam; + assets?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + maxzoom?: number; + minzoom?: number; + nodata?: number; + resampling?: Resampling; + rescale?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam; + return_mask?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + unscale?: boolean; +} + +// @public +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface MultiLineString extends GeometryParent { + coordinates: number[][]; + type: "MultiLineString"; +} + +// @public +export interface MultiLineStringOutput extends GeometryOutputParent { + coordinates: number[][]; + type: "MultiLineString"; +} + +// @public +export interface MultiPoint extends GeometryParent { + coordinates: number[]; + type: "MultiPoint"; +} + +// @public +export interface MultiPointOutput extends GeometryOutputParent { + coordinates: number[]; + type: "MultiPoint"; +} + +// @public +export interface MultiPolygon extends GeometryParent { + coordinates: number[][][]; + type: "MultiPolygon"; +} + +// @public +export interface MultiPolygonOutput extends GeometryOutputParent { + coordinates: number[][][]; + type: "MultiPolygon"; +} + +// @public +export type NoDataTypeOutput = string; + +// @public +export interface OperationOutput { + additionalInformation?: Record; + collectionId?: string; + creationTime: string; + error?: ErrorModel; + finishTime?: string; + id: string; + startTime?: string; + status: OperationStatusOutput; + statusHistory: Array; + type: string; +} + +// @public +export type OperationStatus = string; + +// @public +export interface OperationStatusHistoryItemOutput { + errorCode?: string; + errorMessage?: string; + status: OperationStatusOutput; + timestamp: string; +} + +// @public +export type OperationStatusOutput = string; + +// @public +export interface PageIngestionOutput { + nextLink?: string; + value: Array; +} + +// @public +export interface PageIngestionRunOutput { + nextLink?: string; + value: Array; +} + +// @public +export interface PageIngestionSourceSummaryOutput { + nextLink?: string; + value: Array; +} + +// @public +export interface PageManagedIdentityMetadataOutput { + nextLink?: string; + value: Array; +} + +// @public +export interface PageOperationOutput { + nextLink?: string; + value: Array; +} + +// @public +export interface PartitionType { + scheme?: PartitionTypeScheme; +} + +// @public +export interface PartitionTypeOutput { + scheme?: PartitionTypeSchemeOutput; +} + +// @public +export type PartitionTypeScheme = string; + +// @public +export type PartitionTypeSchemeOutput = string; + +// @public +export type PixelSelection = string; + +// @public (undocumented) +export type PlanetaryComputerClient = Client & { + path: Routes; +}; + +// @public +export interface PlanetaryComputerClientOptions extends ClientOptions { + apiVersion?: string; +} + +// @public +export interface Point extends GeometryParent { + coordinates: string; + type: "Point"; +} + +// @public +export interface PointOutput extends GeometryOutputParent { + coordinates: string; + type: "Point"; +} + +// @public +export interface Polygon extends GeometryParent { + coordinates: number[][][]; + type: "Polygon"; +} + +// @public +export interface PolygonOutput extends GeometryOutputParent { + coordinates: number[][][]; + type: "Polygon"; +} + +// @public +export interface RegisterMosaic { + "filter-lang"?: FilterLanguage; + bbox?: number; + collections?: string[]; + datetime?: string; + filter?: Record; + ids?: string[]; + intersects?: Geometry; + metadata?: MosaicMetadata; + query?: Record; + sortby?: Array; +} + +// @public +export interface RenderOption { + conditions?: Array; + description?: string; + id: string; + legend?: RenderOptionLegend; + minZoom?: number; + name: string; + options?: string; + type?: RenderOptionType; + vectorOptions?: RenderOptionVectorOptions; +} + +// @public +export interface RenderOptionCondition { + property: string; + value?: string; +} + +// @public +export interface RenderOptionConditionOutput { + property: string; + value?: string; +} + +// @public +export interface RenderOptionLegend { + labels?: string[]; + scaleFactor?: number; + trimEnd?: number; + trimStart?: number; + type?: LegendConfigType; +} + +// @public +export interface RenderOptionLegendOutput { + labels?: string[]; + scaleFactor?: number; + trimEnd?: number; + trimStart?: number; + type?: LegendConfigTypeOutput; +} + +// @public +export interface RenderOptionOutput { + conditions?: Array; + description?: string; + id: string; + legend?: RenderOptionLegendOutput; + minZoom?: number; + name: string; + options?: string; + type?: RenderOptionTypeOutput; + vectorOptions?: RenderOptionVectorOptionsOutput; +} + +// @public +export type RenderOptionType = string; + +// @public +export type RenderOptionTypeOutput = string; + +// @public +export interface RenderOptionVectorOptions { + fillColor?: string; + filter?: string[]; + sourceLayer: string; + strokeColor?: string; + strokeWidth?: number; + tilejsonKey: string; +} + +// @public +export interface RenderOptionVectorOptionsOutput { + fillColor?: string; + filter?: string[]; + sourceLayer: string; + strokeColor?: string; + strokeWidth?: number; + tilejsonKey: string; +} + +// @public +export type Resampling = string; + +// @public (undocumented) +export interface Routes { + (path: "/inma/operations"): IngestionOperationsList; + (path: "/inma/operations/{operationId}", operationId: string): IngestionOperationsGet; + (path: "/inma/collections/{collectionId}/ingestions/{ingestionId}/runs", collectionId: string, ingestionId: string): IngestionRunsList; + (path: "/inma/collections/{collectionId}/ingestions/{ingestionId}/runs/{runId}", collectionId: string, ingestionId: string, runId: string): IngestionRunsGet; + (path: "/inma/collections/{collectionId}/ingestions", collectionId: string): IngestionsList; + (path: "/inma/collections/{collectionId}/ingestions/{ingestionId}", collectionId: string, ingestionId: string): IngestionsGet; + (path: "/inma/ingestion-sources"): IngestionSourcesList; + (path: "/inma/ingestion-sources/{id}", id: string): IngestionSourcesGet; + (path: "/inma/ingestion-sources/managed-identities"): IngestionSourcesListManagedIdentities; + (path: "/stac/collections/{collectionId}/assets", collectionId: string): StacCollectionAssetsCreate; + (path: "/stac/collections/{collectionId}/assets/{assetId}", collectionId: string, assetId: string): StacCollectionAssetsCreateOrReplace; + (path: "/stac/collections/{collectionId}/configurations", collectionId: string): StacCollectionConfigGet; + (path: "/stac/collections/{collectionId}/configurations/mosaics", collectionId: string): StacCollectionMosaicsGetAll; + (path: "/stac/collections/{collectionId}/configurations/mosaics/{mosaicId}", collectionId: string, mosaicId: string): StacCollectionMosaicsGet; + (path: "/stac/collections"): StacCollectionsGetAll; + (path: "/stac/collections/{collectionId}", collectionId: string): StacCollectionsGet; + (path: "/stac/collections/{collectionId}/configurations/partition-type", collectionId: string): StacCollectionPartitionTypesGet; + (path: "/stac/collections/{collectionId}/configurations/render-options", collectionId: string): StacCollectionRenderOptionsGetAll; + (path: "/stac/collections/{collectionId}/configurations/render-options/{renderOptionId}", collectionId: string, renderOptionId: string): StacCollectionRenderOptionsGet; + (path: "/stac/collections/{collectionId}/thumbnail", collectionId: string): StacCollectionThumbnailsGet; + (path: "/stac/collections/{collectionId}/configurations/tile-settings", collectionId: string): StacCollectionTileSettingsGet; + (path: "/stac/conformance"): StacConformanceClassGet; + (path: "/stac/collections/{collectionId}/items", collectionId: string): StacItemsGetFeatures; + (path: "/stac/collections/{collectionId}/items/{itemId}", collectionId: string, itemId: string): StacItemsGet; + (path: "/stac"): StacLandingPagesGet; + (path: "/stac/queryables"): StacQueryablesGetAll; + (path: "/stac/collections/{collectionId}/queryables/{queryableName}", collectionId: string, queryableName: string): StacQueryablesDelete; + (path: "/stac/collections/{collectionId}/queryables", collectionId: string): StacQueryablesGetAllByCollection; + (path: "/stac/search"): StacSearchGet; + (path: "/data/tile-matrix-sets/{tileMatrixSetId}", tileMatrixSetId: string): TileMatrixDefinitionsGet; + (path: "/data/tile-matrix-sets"): TileMatrixListGet; + (path: "/data/collections/{collectionId}/items/{itemId}/asset_statistics", collectionId: string, itemId: string): TilerAssetStatisticsGetAll; + (path: "/data/collections/{collectionId}/items/{itemId}/assets", collectionId: string, itemId: string): TilerAvailableAssetsGetAll; + (path: "/data/collections/{collectionId}/items/{itemId}/bounds", collectionId: string, itemId: string): TilerBoundGetAll; + (path: "/data/collections/{collectionId}/items/{itemId}/crop/{width}x{height}.{format}", collectionId: string, itemId: string, width: number, height: number, format: string): TilerGeoJsonsCropWidthByHeightFormat; + (path: "/data/collections/{collectionId}/items/{itemId}/crop.{format}", collectionId: string, itemId: string, format: string): TilerGeoJsonsCropFormat; + (path: "/data/collections/{collectionId}/items/{itemId}/statistics", collectionId: string, itemId: string): TilerGeoJsonStatisticsGetAll; + (path: "/data/collections/{collectionId}/items/{itemId}/info.geojson", collectionId: string, itemId: string): TilerInfoGeoJsonOperationsGet; + (path: "/data/collections/{collectionId}/items/{itemId}/info", collectionId: string, itemId: string): TilerInfoOperationsGet; + (path: "/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}", collectionId: string, itemId: string, minx: number, miny: number, maxx: number, maxy: number, width: number, height: number, format: string): TilerPartsGetCroppedToBoundingBoxWidthByHeight; + (path: "/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}.{format}", collectionId: string, itemId: string, minx: number, miny: number, maxx: number, maxy: number, format: string): TilerPartsGetCroppedToBoundingBox; + (path: "/data/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}", collectionId: string, itemId: string, longitude: number, latitude: number): TilerPointsGetPoint; + (path: "/data/collections/{collectionId}/items/{itemId}/preview.{format}", collectionId: string, itemId: string, format: string): TilerPreviewsGetFormat; + (path: "/data/collections/{collectionId}/items/{itemId}/preview", collectionId: string, itemId: string): TilerPreviewsGet; + (path: "/data/collections/{collectionId}/image/static", collectionId: string): TilerStaticImagesCreate; + (path: "/data/collections/{collectionId}/image/static/{id}", collectionId: string, id: string): TilerStaticImagesGet; + (path: "/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json", collectionId: string, itemId: string, tileMatrixSetId: string): TilerTileJsonTileMatrixSetsGet; + (path: "/data/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}", collectionId: string, itemId: string, tileMatrixSetId: string, z: number, x: number, y: number, scale: number, format: string): TilerTileMatrixSetsGetZxyScaleByFormat; + (path: "/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml", collectionId: string, itemId: string, tileMatrixSetId: string): TilerWmtsTileMatrixSetsGetCapabilitiesXml; + (path: "/data/legend/classmap/{classmapName}", classmapName: string): MapsClassMapLegendsGet; + (path: "/data/legend/interval/{classmapName}", classmapName: string): MapsIntervalLegendsGetByClassMapName; + (path: "/data/legend/colormap/{colorMapName}", colorMapName: string): MapsLegendsGet; + (path: "/data/mosaic/{searchId}/{longitude},{latitude}/assets", searchId: string, longitude: number, latitude: number): MosaicsAssetsForPointsGetPointAssets; + (path: "/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets", searchId: string, tileMatrixSetId: string, z: number, x: number, y: number): MosaicsAssetsForTileMatrixSetsGetZxyAssets; + (path: "/data/mosaic/{searchId}/info", searchId: string): MosaicsInfoSearchGet; + (path: "/data/mosaic/register"): MosaicsRegisterSearchRegister; + (path: "/data/mosaic/{searchId}/{tileMatrixSetId}/tilejson.json", searchId: string, tileMatrixSetId: string): MosaicsTileMatrixSetsTileJsonGet; + (path: "/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}", searchId: string, tileMatrixSetId: string, z: number, x: number, y: number, scale: number, format: string): MosaicsTileMatrixSetsGetZxyScaleByFormat; + (path: "/data/mosaic/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml", searchId: string, tileMatrixSetId: string): MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml; + (path: "/sas/token/{collectionId}", collectionId: string): SasGetToken; + (path: "/sas/token/revoke"): SasRevokeToken; + (path: "/sas/sign"): SasGetSign; + (path: "/data/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x.{format}", collectionId: string, itemId: string, z: number, x: number, y: number, scale: number, format: string): TilerTilesGetZxyScaleByFormat; + (path: "/data/collections/{collectionId}/items/{itemId}/tilejson.json", collectionId: string, itemId: string): TilerTileJsonOperationsGet; + (path: "/data/collections/{collectionId}/items/{itemId}/WMTSCapabilities.xml", collectionId: string, itemId: string): TilerWmtsGetCapabilitiesXml; + (path: "/data/mosaic/{searchId}/tiles/{z}/{x}/{y}@{scale}x.{format}", searchId: string, z: number, x: number, y: number, scale: number, format: string): MosaicsTilesGetZxyScaleByFormat; + (path: "/data/mosaic/{searchId}/tilejson.json", searchId: string): MosaicsTileJsonOperationsGet; + (path: "/data/mosaic/{searchId}/WMTSCapabilities.xml", searchId: string): MosaicsWmtsMosaicsGetCapabilitiesXml; + (path: "/data/mosaic/{searchId}/tiles/{z}/{x}/{y}/assets", searchId: string, z: number, x: number, y: number): MosaicsAssetsForTilesGetZxyAssets; +} + +// @public (undocumented) +export interface SasGetSign { + get(options: SasGetSignParameters): StreamableMethod; +} + +// @public +export interface SasGetSign200Response extends HttpResponse { + // (undocumented) + body: SignedLinkOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface SasGetSignDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface SasGetSignDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & SasGetSignDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type SasGetSignParameters = SasGetSignQueryParam & RequestParameters; + +// @public (undocumented) +export interface SasGetSignQueryParam { + // (undocumented) + queryParameters: SasGetSignQueryParamProperties; +} + +// @public (undocumented) +export interface SasGetSignQueryParamProperties { + duration?: number; + href: string; +} + +// @public (undocumented) +export interface SasGetToken { + get(options?: SasGetTokenParameters): StreamableMethod; +} + +// @public +export interface SasGetToken200Response extends HttpResponse { + // (undocumented) + body: SharedAccessSignatureTokenOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface SasGetTokenDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface SasGetTokenDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & SasGetTokenDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type SasGetTokenParameters = SasGetTokenQueryParam & RequestParameters; + +// @public (undocumented) +export interface SasGetTokenQueryParam { + // (undocumented) + queryParameters?: SasGetTokenQueryParamProperties; +} + +// @public (undocumented) +export interface SasGetTokenQueryParamProperties { + duration?: number; +} + +// @public (undocumented) +export interface SasRevokeToken { + post(options?: SasRevokeTokenParameters): StreamableMethod; +} + +// @public +export interface SasRevokeToken200Response extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface SasRevokeTokenDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface SasRevokeTokenDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & SasRevokeTokenDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type SasRevokeTokenParameters = SasRevokeTokenQueryParam & RequestParameters; + +// @public (undocumented) +export interface SasRevokeTokenQueryParam { + // (undocumented) + queryParameters?: SasRevokeTokenQueryParamProperties; +} + +// @public (undocumented) +export interface SasRevokeTokenQueryParamProperties { + duration?: number; +} + +// @public +export interface SearchOptionsFields { + exclude?: string[]; + include?: string[]; +} + +// @public +export interface SharedAccessSignatureTokenConnection { + containerUrl: string; + sasToken?: string; +} + +// @public +export interface SharedAccessSignatureTokenConnectionOutput { + containerUrl: string; + readonly expiration?: string; + sasToken?: string; +} + +// @public +export interface SharedAccessSignatureTokenIngestionSource extends IngestionSourceParent { + connectionInfo: SharedAccessSignatureTokenConnection; + // (undocumented) + kind: "SasToken"; +} + +// @public +export interface SharedAccessSignatureTokenIngestionSourceOutput extends IngestionSourceOutputParent { + connectionInfo: SharedAccessSignatureTokenConnectionOutput; + // (undocumented) + kind: "SasToken"; +} + +// @public +export interface SharedAccessSignatureTokenOutput { + "msft:expiry": string; + token: string; +} + +// @public +export interface SignedLinkOutput { + "msft:expiry"?: string; + href: string; +} + +// @public +export interface SimplePollerLike, TResult> { + getOperationState(): TState; + getResult(): TResult | undefined; + isDone(): boolean; + // @deprecated + isStopped(): boolean; + onProgress(callback: (state: TState) => void): CancelOnProgress; + poll(options?: { + abortSignal?: AbortSignalLike; + }): Promise; + pollUntilDone(pollOptions?: { + abortSignal?: AbortSignalLike; + }): Promise; + serialize(): Promise; + // @deprecated + stopPolling(): void; + submitted(): Promise; + // @deprecated + toString(): string; +} + +// @public +export interface StacAsset extends Record { + constellation?: string; + created?: Date | string; + description?: string; + gsd?: number; + href: string; + instruments?: string[]; + mission?: string; + platform?: string; + providers?: Array; + roles?: string[]; + title?: string; + type?: string; + updated?: Date | string; +} + +// @public +export interface StacAssetOutput extends Record { + constellation?: string; + created?: string; + description?: string; + gsd?: number; + href: string; + instruments?: string[]; + mission?: string; + platform?: string; + providers?: Array; + roles?: string[]; + title?: string; + type?: string; + updated?: string; +} + +// @public +export interface StacAssetStatisticsOutput { + data: Record; +} + +// @public +export type StacAssetUrlSigningMode = string; + +// @public +export interface StacCatalogCollectionsOutput { + collections: Array; + links: Array; +} + +// @public +export interface StacCollection { + "msft:_created"?: string; + "msft:_updated"?: string; + "msft:short_description"?: string; + assets?: Record; + description: string; + extent: StacExtensionExtent; + id: string; + keywords?: string[]; + license: string; + links: Array; + providers?: Array; + stac_extensions?: string[]; + stac_version?: string; + summaries?: Record; + title?: string; + type?: string; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreate { + post(options: StacCollectionAssetsCreateParameters): StreamableMethod; +} + +// @public +export interface StacCollectionAssetsCreate200Response extends HttpResponse { + // (undocumented) + body: StacCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionAssetsCreate201Response extends HttpResponse { + // (undocumented) + body: StacCollectionOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateBodyParam { + body: FormContent; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionAssetsCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateMediaTypesParam { + contentType: "multipart/form-data"; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateOrReplace { + delete(options?: StacCollectionAssetsDeleteParameters): StreamableMethod; + put(options: StacCollectionAssetsCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface StacCollectionAssetsCreateOrReplace200Response extends HttpResponse { + // (undocumented) + body: StacCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionAssetsCreateOrReplace201Response extends HttpResponse { + // (undocumented) + body: StacCollectionOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateOrReplaceBodyParam { + body: FormContent; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionAssetsCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface StacCollectionAssetsCreateOrReplaceMediaTypesParam { + contentType: "multipart/form-data"; +} + +// @public (undocumented) +export type StacCollectionAssetsCreateOrReplaceParameters = StacCollectionAssetsCreateOrReplaceMediaTypesParam & StacCollectionAssetsCreateOrReplaceBodyParam & RequestParameters; + +// @public (undocumented) +export type StacCollectionAssetsCreateParameters = StacCollectionAssetsCreateMediaTypesParam & StacCollectionAssetsCreateBodyParam & RequestParameters; + +// @public +export interface StacCollectionAssetsDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionAssetsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionAssetsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionAssetsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionAssetsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionConfigGet { + get(options?: StacCollectionConfigGetParameters): StreamableMethod; +} + +// @public +export interface StacCollectionConfigGet200Response extends HttpResponse { + // (undocumented) + body: UserCollectionSettingsOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionConfigGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionConfigGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionConfigGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionConfigGetParameters = RequestParameters; + +// @public +export interface StacCollectionMosaicsAdd200Response extends HttpResponse { + // (undocumented) + body: StacMosaicOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionMosaicsAdd201Response extends HttpResponse { + // (undocumented) + body: StacMosaicOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacCollectionMosaicsAddBodyParam { + body: StacMosaic; +} + +// @public (undocumented) +export interface StacCollectionMosaicsAddDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionMosaicsAddDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionMosaicsAddDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionMosaicsAddParameters = StacCollectionMosaicsAddBodyParam & RequestParameters; + +// @public +export interface StacCollectionMosaicsCreateOrReplace200Response extends HttpResponse { + // (undocumented) + body: StacMosaicOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionMosaicsCreateOrReplace201Response extends HttpResponse { + // (undocumented) + body: StacMosaicOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacCollectionMosaicsCreateOrReplaceBodyParam { + body: StacMosaic; +} + +// @public (undocumented) +export interface StacCollectionMosaicsCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionMosaicsCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionMosaicsCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionMosaicsCreateOrReplaceParameters = StacCollectionMosaicsCreateOrReplaceBodyParam & RequestParameters; + +// @public +export interface StacCollectionMosaicsDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionMosaicsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionMosaicsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionMosaicsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionMosaicsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionMosaicsGet { + delete(options?: StacCollectionMosaicsDeleteParameters): StreamableMethod; + get(options?: StacCollectionMosaicsGetParameters): StreamableMethod; + put(options: StacCollectionMosaicsCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface StacCollectionMosaicsGet200Response extends HttpResponse { + // (undocumented) + body: StacMosaicOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionMosaicsGetAll { + get(options?: StacCollectionMosaicsGetAllParameters): StreamableMethod; + post(options: StacCollectionMosaicsAddParameters): StreamableMethod; +} + +// @public +export interface StacCollectionMosaicsGetAll200Response extends HttpResponse { + // (undocumented) + body: Array; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionMosaicsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionMosaicsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionMosaicsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionMosaicsGetAllParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionMosaicsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionMosaicsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionMosaicsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionMosaicsGetParameters = RequestParameters; + +// @public +export interface StacCollectionOutput { + "msft:_created"?: string; + "msft:_updated"?: string; + "msft:short_description"?: string; + assets?: Record; + description: string; + extent: StacExtensionExtentOutput; + id: string; + keywords?: string[]; + license: string; + links: Array; + providers?: Array; + stac_extensions?: string[]; + stac_version?: string; + summaries?: Record; + title?: string; + type?: string; +} + +// @public (undocumented) +export interface StacCollectionPartitionTypesGet { + get(options?: StacCollectionPartitionTypesGetParameters): StreamableMethod; + put(options: StacCollectionPartitionTypesReplaceParameters): StreamableMethod; +} + +// @public +export interface StacCollectionPartitionTypesGet200Response extends HttpResponse { + // (undocumented) + body: PartitionTypeOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionPartitionTypesGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionPartitionTypesGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionPartitionTypesGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionPartitionTypesGetParameters = RequestParameters; + +// @public +export interface StacCollectionPartitionTypesReplace200Response extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionPartitionTypesReplace404Response extends HttpResponse { + // (undocumented) + status: "404"; +} + +// @public (undocumented) +export interface StacCollectionPartitionTypesReplaceBodyParam { + body: PartitionType; +} + +// @public (undocumented) +export interface StacCollectionPartitionTypesReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionPartitionTypesReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionPartitionTypesReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionPartitionTypesReplaceParameters = StacCollectionPartitionTypesReplaceBodyParam & RequestParameters; + +// @public +export interface StacCollectionRenderOptionsCreate200Response extends HttpResponse { + // (undocumented) + body: RenderOptionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionRenderOptionsCreate201Response extends HttpResponse { + // (undocumented) + body: RenderOptionOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsCreateBodyParam { + body: RenderOption; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionRenderOptionsCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacCollectionRenderOptionsCreateOrReplace200Response extends HttpResponse { + // (undocumented) + body: RenderOptionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacCollectionRenderOptionsCreateOrReplace201Response extends HttpResponse { + // (undocumented) + body: RenderOptionOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsCreateOrReplaceBodyParam { + body: RenderOption; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionRenderOptionsCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionRenderOptionsCreateOrReplaceParameters = StacCollectionRenderOptionsCreateOrReplaceBodyParam & RequestParameters; + +// @public (undocumented) +export type StacCollectionRenderOptionsCreateParameters = StacCollectionRenderOptionsCreateBodyParam & RequestParameters; + +// @public +export interface StacCollectionRenderOptionsDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionRenderOptionsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionRenderOptionsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionRenderOptionsGet { + delete(options?: StacCollectionRenderOptionsDeleteParameters): StreamableMethod; + get(options?: StacCollectionRenderOptionsGetParameters): StreamableMethod; + put(options: StacCollectionRenderOptionsCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface StacCollectionRenderOptionsGet200Response extends HttpResponse { + // (undocumented) + body: RenderOptionOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsGetAll { + get(options?: StacCollectionRenderOptionsGetAllParameters): StreamableMethod; + post(options: StacCollectionRenderOptionsCreateParameters): StreamableMethod; +} + +// @public +export interface StacCollectionRenderOptionsGetAll200Response extends HttpResponse { + // (undocumented) + body: Array; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionRenderOptionsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionRenderOptionsGetAllParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionRenderOptionsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionRenderOptionsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionRenderOptionsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionRenderOptionsGetParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionsCreate202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacCollectionsCreate202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsCreate202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface StacCollectionsCreateBodyParam { + body: StacCollection; +} + +// @public (undocumented) +export interface StacCollectionsCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionsCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacCollectionsCreateLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionsCreateOrReplace200Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacCollectionsCreateOrReplace200Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsCreateOrReplace200Headers; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionsCreateOrReplaceBodyParam { + body: StacCollection; +} + +// @public (undocumented) +export interface StacCollectionsCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionsCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacCollectionsCreateOrReplaceLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type StacCollectionsCreateOrReplaceParameters = StacCollectionsCreateOrReplaceBodyParam & RequestParameters; + +// @public (undocumented) +export type StacCollectionsCreateParameters = StacCollectionsCreateBodyParam & RequestParameters; + +// @public (undocumented) +export interface StacCollectionsDelete202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacCollectionsDelete202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsDelete202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface StacCollectionsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacCollectionsDeleteLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type StacCollectionsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionsGet { + delete(options?: StacCollectionsDeleteParameters): StreamableMethod; + get(options?: StacCollectionsGetParameters): StreamableMethod; + put(options: StacCollectionsCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface StacCollectionsGet200Response extends HttpResponse { + // (undocumented) + body: StacCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionsGetAll { + get(options?: StacCollectionsGetAllParameters): StreamableMethod; + post(options: StacCollectionsCreateParameters): StreamableMethod; +} + +// @public +export interface StacCollectionsGetAll200Response extends HttpResponse { + // (undocumented) + body: StacCatalogCollectionsOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionsGetAllParameters = StacCollectionsGetAllQueryParam & RequestParameters; + +// @public (undocumented) +export interface StacCollectionsGetAllQueryParam { + // (undocumented) + queryParameters?: StacCollectionsGetAllQueryParamProperties; +} + +// @public (undocumented) +export interface StacCollectionsGetAllQueryParamProperties { + duration?: number; + sign?: StacAssetUrlSigningMode; +} + +// @public (undocumented) +export interface StacCollectionsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionsGetParameters = StacCollectionsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface StacCollectionsGetQueryParam { + // (undocumented) + queryParameters?: StacCollectionsGetQueryParamProperties; +} + +// @public (undocumented) +export interface StacCollectionsGetQueryParamProperties { + duration?: number; + sign?: StacAssetUrlSigningMode; +} + +// @public +export interface StacCollectionTemporalExtent { + interval: string[][]; +} + +// @public +export interface StacCollectionTemporalExtentOutput { + interval: string[][]; +} + +// @public (undocumented) +export interface StacCollectionThumbnailsGet { + get(options?: StacCollectionThumbnailsGetParameters): StreamableMethod; +} + +// @public (undocumented) +export interface StacCollectionThumbnailsGet200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface StacCollectionThumbnailsGet200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & StacCollectionThumbnailsGet200Headers; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionThumbnailsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionThumbnailsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionThumbnailsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionThumbnailsGetParameters = RequestParameters; + +// @public (undocumented) +export interface StacCollectionTileSettingsGet { + get(options?: StacCollectionTileSettingsGetParameters): StreamableMethod; + put(options: StacCollectionTileSettingsReplaceParameters): StreamableMethod; +} + +// @public +export interface StacCollectionTileSettingsGet200Response extends HttpResponse { + // (undocumented) + body: TileSettingsOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionTileSettingsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionTileSettingsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionTileSettingsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionTileSettingsGetParameters = RequestParameters; + +// @public +export interface StacCollectionTileSettingsReplace200Response extends HttpResponse { + // (undocumented) + body: TileSettingsOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacCollectionTileSettingsReplaceBodyParam { + body: TileSettings; +} + +// @public (undocumented) +export interface StacCollectionTileSettingsReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacCollectionTileSettingsReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacCollectionTileSettingsReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacCollectionTileSettingsReplaceParameters = StacCollectionTileSettingsReplaceBodyParam & RequestParameters; + +// @public +export interface StacConformanceClassesOutput { + conformsTo: string[]; +} + +// @public (undocumented) +export interface StacConformanceClassGet { + get(options?: StacConformanceClassGetParameters): StreamableMethod; +} + +// @public +export interface StacConformanceClassGet200Response extends HttpResponse { + // (undocumented) + body: StacConformanceClassesOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacConformanceClassGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacConformanceClassGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacConformanceClassGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacConformanceClassGetParameters = RequestParameters; + +// @public +export interface StacContextExtension { + limit?: number; + matched?: number; + returned: number; +} + +// @public +export interface StacContextExtensionOutput { + limit?: number; + matched?: number; + returned: number; +} + +// @public +export interface StacExtensionExtent { + spatial: StacExtensionSpatialExtent; + temporal: StacCollectionTemporalExtent; +} + +// @public +export interface StacExtensionExtentOutput { + spatial: StacExtensionSpatialExtentOutput; + temporal: StacCollectionTemporalExtentOutput; +} + +// @public +export interface StacExtensionSpatialExtent { + bbox?: number[][]; +} + +// @public +export interface StacExtensionSpatialExtentOutput { + bbox?: number[][]; +} + +// @public +export interface StacItem extends StacItemOrStacItemCollectionParent { + "_msft:etag"?: string; + "_msft:ts"?: string; + assets: Record; + bbox: number[]; + collection?: string; + geometry: Geometry; + id: string; + properties: StacItemProperties; + type: "Feature"; +} + +// @public +export interface StacItemBoundsOutput { + bounds: number[]; +} + +// @public +export interface StacItemCollection extends StacItemOrStacItemCollectionParent { + bbox?: number[]; + context?: StacContextExtension; + features: Array; + type: "FeatureCollection"; +} + +// @public +export interface StacItemCollectionOutput extends StacItemOrStacItemCollectionOutputParent { + bbox?: number[]; + context?: StacContextExtensionOutput; + features: Array; + type: "FeatureCollection"; +} + +// @public +export type StacItemCollectionTypeOutput = string; + +// @public +export type StacItemOrStacItemCollection = StacItemOrStacItemCollectionParent | StacItemCollection | StacItem; + +// @public +export type StacItemOrStacItemCollectionOutput = StacItemOrStacItemCollectionOutputParent | StacItemCollectionOutput | StacItemOutput; + +// @public +export interface StacItemOrStacItemCollectionOutputParent { + "msft:_created"?: string; + "msft:_updated"?: string; + "msft:short_description"?: string; + links?: Array; + stac_extensions?: string[]; + stac_version?: string; + // (undocumented) + type: string; +} + +// @public +export interface StacItemOrStacItemCollectionParent { + "msft:_created"?: string; + "msft:_updated"?: string; + "msft:short_description"?: string; + links?: Array; + stac_extensions?: string[]; + stac_version?: string; + // (undocumented) + type: string; +} + +// @public +export interface StacItemOutput extends StacItemOrStacItemCollectionOutputParent { + "_msft:etag"?: string; + "_msft:ts"?: string; + assets: Record; + bbox: number[]; + collection?: string; + geometry: GeometryOutput; + id: string; + properties: StacItemPropertiesOutput; + type: "Feature"; +} + +// @public +export interface StacItemProperties extends Record { + constellation?: string; + created?: Date | string; + datetime: string; + description?: string; + end_datetime?: Date | string; + gsd?: number; + instruments?: string[]; + mission?: string; + platform?: string; + providers?: Array; + start_datetime?: Date | string; + title?: string; + updated?: Date | string; +} + +// @public +export interface StacItemPropertiesOutput extends Record { + constellation?: string; + created?: string; + datetime: string; + description?: string; + end_datetime?: string; + gsd?: number; + instruments?: string[]; + mission?: string; + platform?: string; + providers?: Array; + start_datetime?: string; + title?: string; + updated?: string; +} + +// @public +export type StacItemResourceMergeAndPatch = Partial; + +// @public (undocumented) +export interface StacItemsCreate202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacItemsCreate202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacItemsCreate202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface StacItemsCreateBodyParam { + body: StacItemOrStacItemCollection; +} + +// @public (undocumented) +export interface StacItemsCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacItemsCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacItemsCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacItemsCreateLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacItemsCreateOrReplace202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacItemsCreateOrReplace202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacItemsCreateOrReplace202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface StacItemsCreateOrReplaceBodyParam { + body: StacItem; +} + +// @public (undocumented) +export interface StacItemsCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacItemsCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacItemsCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacItemsCreateOrReplaceLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type StacItemsCreateOrReplaceParameters = StacItemsCreateOrReplaceBodyParam & RequestParameters; + +// @public (undocumented) +export type StacItemsCreateParameters = StacItemsCreateBodyParam & RequestParameters; + +// @public (undocumented) +export interface StacItemsDelete202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacItemsDelete202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacItemsDelete202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface StacItemsDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacItemsDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacItemsDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacItemsDeleteLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export type StacItemsDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface StacItemsGet { + delete(options?: StacItemsDeleteParameters): StreamableMethod; + get(options?: StacItemsGetParameters): StreamableMethod; + patch(options: StacItemsUpdateParameters): StreamableMethod; + put(options: StacItemsCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface StacItemsGet200Response extends HttpResponse { + // (undocumented) + body: StacItemOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacItemsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacItemsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacItemsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface StacItemsGetFeatures { + get(options?: StacItemsGetFeaturesParameters): StreamableMethod; + post(options: StacItemsCreateParameters): StreamableMethod; +} + +// @public +export interface StacItemsGetFeatures200Response extends HttpResponse { + // (undocumented) + body: StacItemCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacItemsGetFeaturesBboxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface StacItemsGetFeaturesDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacItemsGetFeaturesDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacItemsGetFeaturesDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacItemsGetFeaturesParameters = StacItemsGetFeaturesQueryParam & RequestParameters; + +// @public (undocumented) +export interface StacItemsGetFeaturesQueryParam { + // (undocumented) + queryParameters?: StacItemsGetFeaturesQueryParamProperties; +} + +// @public (undocumented) +export interface StacItemsGetFeaturesQueryParamProperties { + bbox?: string[] | StacItemsGetFeaturesBboxQueryParam; + datetime?: string; + limit?: number; +} + +// @public (undocumented) +export type StacItemsGetParameters = RequestParameters; + +// @public (undocumented) +export interface StacItemsUpdate202Headers { + "operation-location": string; + location: string; +} + +// @public +export interface StacItemsUpdate202Response extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + headers: RawHttpHeaders & StacItemsUpdate202Headers; + // (undocumented) + status: "202"; +} + +// @public (undocumented) +export interface StacItemsUpdateBodyParam { + body: StacItemResourceMergeAndPatch; +} + +// @public (undocumented) +export interface StacItemsUpdateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacItemsUpdateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacItemsUpdateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacItemsUpdateLogicalResponse extends HttpResponse { + // (undocumented) + body: OperationOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacItemsUpdateMediaTypesParam { + contentType: "application/merge-patch+json"; +} + +// @public (undocumented) +export type StacItemsUpdateParameters = StacItemsUpdateMediaTypesParam & StacItemsUpdateBodyParam & RequestParameters; + +// @public +export interface StacLandingPageOutput { + "msft:_created"?: string; + "msft:_updated"?: string; + "msft:short_description"?: string; + conformsTo: string[]; + description: string; + id: string; + links: Array; + stac_extensions?: string[]; + stac_version?: string; + title?: string; + type?: string; +} + +// @public (undocumented) +export interface StacLandingPagesGet { + get(options?: StacLandingPagesGetParameters): StreamableMethod; +} + +// @public +export interface StacLandingPagesGet200Response extends HttpResponse { + // (undocumented) + body: StacLandingPageOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacLandingPagesGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacLandingPagesGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacLandingPagesGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacLandingPagesGetParameters = RequestParameters; + +// @public +export interface StacLink { + body?: Record; + headers?: Record; + href: string; + hreflang?: string; + length?: number; + merge?: boolean; + method?: string; + rel?: string; + title?: string; + type?: StacLinkType; +} + +// @public +export interface StacLinkOutput { + body?: Record; + headers?: Record; + href: string; + hreflang?: string; + length?: number; + merge?: boolean; + method?: string; + rel?: string; + title?: string; + type?: StacLinkTypeOutput; +} + +// @public +export type StacLinkType = string; + +// @public +export type StacLinkTypeOutput = string; + +// @public +export interface StacMosaic { + cql: Record[]; + description?: string; + id: string; + name: string; +} + +// @public +export interface StacMosaicConfigurationOutput { + defaultCustomQuery?: Record; + defaultLocation?: DefaultLocationOutput; + mosaics: Array; + renderOptions: Array; +} + +// @public +export interface StacMosaicOutput { + cql: Record[]; + description?: string; + id: string; + name: string; +} + +// @public +export interface StacProvider { + description?: string; + name: string; + roles?: string[]; + url?: string; +} + +// @public +export interface StacProviderOutput { + description?: string; + name: string; + roles?: string[]; + url?: string; +} + +// @public +export interface StacQueryable { + create_index?: boolean; + data_type?: StacQueryableDefinitionDataType; + definition: Record; + name: string; +} + +// @public +export type StacQueryableDefinitionDataType = string; + +// @public +export type StacQueryableDefinitionDataTypeOutput = string; + +// @public +export interface StacQueryableOutput { + create_index?: boolean; + data_type?: StacQueryableDefinitionDataTypeOutput; + definition: Record; + name: string; +} + +// @public +export interface StacQueryablesCreate201Response extends HttpResponse { + // (undocumented) + body: Array; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacQueryablesCreateBodyParam { + body: Array; +} + +// @public (undocumented) +export interface StacQueryablesCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacQueryablesCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacQueryablesCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacQueryablesCreateOrReplace200Response extends HttpResponse { + // (undocumented) + body: StacQueryableOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacQueryablesCreateOrReplace201Response extends HttpResponse { + // (undocumented) + body: StacQueryableOutput; + // (undocumented) + status: "201"; +} + +// @public (undocumented) +export interface StacQueryablesCreateOrReplaceBodyParam { + body: StacQueryable; +} + +// @public (undocumented) +export interface StacQueryablesCreateOrReplaceDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacQueryablesCreateOrReplaceDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacQueryablesCreateOrReplaceDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacQueryablesCreateOrReplaceParameters = StacQueryablesCreateOrReplaceBodyParam & RequestParameters; + +// @public (undocumented) +export type StacQueryablesCreateParameters = StacQueryablesCreateBodyParam & RequestParameters; + +// @public (undocumented) +export interface StacQueryablesDelete { + delete(options?: StacQueryablesDeleteParameters): StreamableMethod; + put(options: StacQueryablesCreateOrReplaceParameters): StreamableMethod; +} + +// @public +export interface StacQueryablesDelete200Response extends HttpResponse { + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacQueryablesDeleteDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacQueryablesDeleteDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacQueryablesDeleteDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacQueryablesDeleteParameters = RequestParameters; + +// @public (undocumented) +export interface StacQueryablesGetAll { + get(options?: StacQueryablesGetAllParameters): StreamableMethod; +} + +// @public +export interface StacQueryablesGetAll200Response extends HttpResponse { + // (undocumented) + body: Record; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacQueryablesGetAllByCollection { + get(options?: StacQueryablesGetAllByCollectionParameters): StreamableMethod; + post(options: StacQueryablesCreateParameters): StreamableMethod; +} + +// @public +export interface StacQueryablesGetAllByCollection200Response extends HttpResponse { + // (undocumented) + body: Record; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacQueryablesGetAllByCollectionDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacQueryablesGetAllByCollectionDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacQueryablesGetAllByCollectionDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacQueryablesGetAllByCollectionParameters = RequestParameters; + +// @public (undocumented) +export interface StacQueryablesGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacQueryablesGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacQueryablesGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacQueryablesGetAllParameters = RequestParameters; + +// @public +export interface StacSearchCreate200Response extends HttpResponse { + // (undocumented) + body: StacItemCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface StacSearchCreateBodyParam { + body: StacSearchParameters; +} + +// @public (undocumented) +export interface StacSearchCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacSearchCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacSearchCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type StacSearchCreateParameters = StacSearchCreateBodyParam & RequestParameters; + +// @public (undocumented) +export interface StacSearchGet { + get(options?: StacSearchGetParameters): StreamableMethod; + post(options: StacSearchCreateParameters): StreamableMethod; +} + +// @public +export interface StacSearchGet200Response extends HttpResponse { + // (undocumented) + body: StacItemCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface StacSearchGetBboxQueryParam { + explode: false; + style: "form"; + value: number[]; +} + +// @public +export interface StacSearchGetCollectionsQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface StacSearchGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface StacSearchGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & StacSearchGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public +export interface StacSearchGetIdsQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export type StacSearchGetParameters = StacSearchGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface StacSearchGetQueryParam { + // (undocumented) + queryParameters?: StacSearchGetQueryParamProperties; +} + +// @public (undocumented) +export interface StacSearchGetQueryParamProperties { + bbox?: number[] | StacSearchGetBboxQueryParam; + collections?: string[] | StacSearchGetCollectionsQueryParam; + datetime?: string; + duration?: number; + fields?: string; + filter?: string; + ids?: string[] | StacSearchGetIdsQueryParam; + intersects?: string; + limit?: number; + query?: string; + sign?: StacAssetUrlSigningMode; + sortby?: string; + token?: string; +} + +// @public +export interface StacSearchParameters { + "filter-crs"?: string; + "filter-lang"?: FilterLanguage; + bbox?: number[]; + collections?: string[]; + conf?: Record; + datetime?: string; + duration?: number; + fields?: Array; + filter?: Record; + ids?: string[]; + intersects?: Geometry; + limit?: number; + query?: Record; + sign?: StacAssetUrlSigningMode; + sortby?: Array; + token?: string; +} + +// @public +export type StacSearchSortingDirection = string; + +// @public +export interface StacSortExtension { + direction: StacSearchSortingDirection; + field: string; +} + +// @public +export interface StatisticsResponseOutput extends Record { +} + +// @public +export type TerrainAlgorithm = string; + +// @public +export type TileAddressingSchemeOutput = string; + +// @public +export interface TileJsonMetaDataOutput { + attribution?: string; + bounds?: number[]; + center?: number[]; + data?: string[]; + description?: string; + grids?: string[]; + legend?: string; + maxzoom?: number; + minzoom?: number; + name?: string; + scheme?: TileAddressingSchemeOutput; + template?: string; + tilejson?: string; + tiles: string[]; + version?: string; +} + +// @public +export type TileMatrixCornerOfOriginOutput = string; + +// @public (undocumented) +export interface TileMatrixDefinitionsGet { + get(options?: TileMatrixDefinitionsGetParameters): StreamableMethod; +} + +// @public +export interface TileMatrixDefinitionsGet200Response extends HttpResponse { + // (undocumented) + body: TileMatrixSetOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface TileMatrixDefinitionsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TileMatrixDefinitionsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TileMatrixDefinitionsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TileMatrixDefinitionsGetParameters = RequestParameters; + +// @public (undocumented) +export interface TileMatrixListGet { + get(options?: TileMatrixListGetParameters): StreamableMethod; +} + +// @public +export interface TileMatrixListGet200Response extends HttpResponse { + // (undocumented) + body: string[]; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface TileMatrixListGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TileMatrixListGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TileMatrixListGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TileMatrixListGetParameters = RequestParameters; + +// @public +export interface TileMatrixOutput { + cellSize: number; + cornerOfOrigin?: TileMatrixCornerOfOriginOutput; + description?: string; + id: string; + keywords?: string[]; + matrixHeight: number; + matrixWidth: number; + pointOfOrigin: number[]; + scaleDenominator: number; + tileHeight: number; + tileWidth: number; + title?: string; + variableMatrixWidths?: Array; +} + +// @public +export interface TileMatrixSetBoundingBoxOutput { + crs?: string; + lowerLeft: string[]; + orderedAxes?: string[]; + upperRight: string[]; +} + +// @public +export type TileMatrixSetId = string; + +// @public +export interface TileMatrixSetOutput { + boundingBox?: TileMatrixSetBoundingBoxOutput; + crs: string; + description?: string; + id?: string; + keywords?: string[]; + orderedAxes?: string[]; + tileMatrices: Array; + title?: string; + uri?: string; + wellKnownScaleSet?: string; +} + +// @public (undocumented) +export interface TilerAssetStatisticsGetAll { + get(options?: TilerAssetStatisticsGetAllParameters): StreamableMethod; +} + +// @public +export interface TilerAssetStatisticsGetAll200Response extends HttpResponse { + // (undocumented) + body: StacAssetStatisticsOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerAssetStatisticsGetAllAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerAssetStatisticsGetAllAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface TilerAssetStatisticsGetAllCQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerAssetStatisticsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerAssetStatisticsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerAssetStatisticsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerAssetStatisticsGetAllParameters = TilerAssetStatisticsGetAllQueryParam & RequestParameters; + +// @public +export interface TilerAssetStatisticsGetAllPQueryParam { + explode: false; + style: "form"; + value: number[]; +} + +// @public (undocumented) +export interface TilerAssetStatisticsGetAllQueryParam { + // (undocumented) + queryParameters?: TilerAssetStatisticsGetAllQueryParamProperties; +} + +// @public (undocumented) +export interface TilerAssetStatisticsGetAllQueryParamProperties { + asset_as_band?: boolean; + asset_bidx?: string[] | TilerAssetStatisticsGetAllAssetBidxQueryParam; + assets?: TilerAssetStatisticsGetAllAssetsQueryParam; + c?: string[] | TilerAssetStatisticsGetAllCQueryParam; + categorical?: boolean; + expression?: string; + histogram_bins?: string; + histogram_range?: string; + max_size?: number; + nodata?: number; + p?: number[] | TilerAssetStatisticsGetAllPQueryParam; + resampling?: Resampling; + unscale?: boolean; +} + +// @public (undocumented) +export interface TilerAvailableAssetsGetAll { + get(options?: TilerAvailableAssetsGetAllParameters): StreamableMethod; +} + +// @public +export interface TilerAvailableAssetsGetAll200Response extends HttpResponse { + // (undocumented) + body: string[]; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface TilerAvailableAssetsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerAvailableAssetsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerAvailableAssetsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerAvailableAssetsGetAllParameters = RequestParameters; + +// @public (undocumented) +export interface TilerBoundGetAll { + get(options?: TilerBoundGetAllParameters): StreamableMethod; +} + +// @public +export interface TilerBoundGetAll200Response extends HttpResponse { + // (undocumented) + body: StacItemBoundsOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface TilerBoundGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerBoundGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerBoundGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerBoundGetAllParameters = RequestParameters; + +// @public +export interface TilerCoreModelsResponsesPointOutput { + band_names: string[]; + coordinates: number[]; + values: number[]; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropFormat { + post(options: TilerGeoJsonsCropFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerGeoJsonsCropFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerGeoJsonsCropFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerGeoJsonsCropFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerGeoJsonsCropFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropFormatBodyParam { + body: StacItem; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerGeoJsonsCropFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerGeoJsonsCropFormatParameters = TilerGeoJsonsCropFormatQueryParam & TilerGeoJsonsCropFormatBodyParam & RequestParameters; + +// @public (undocumented) +export interface TilerGeoJsonsCropFormatQueryParam { + // (undocumented) + queryParameters?: TilerGeoJsonsCropFormatQueryParamProperties; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropFormatQueryParamProperties { + "coord-crs"?: string; + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerGeoJsonsCropFormatAssetBidxQueryParam; + assets?: TilerGeoJsonsCropFormatAssetsQueryParam; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + height?: number; + max_size?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerGeoJsonsCropFormatRescaleQueryParam; + return_mask?: boolean; + unscale?: boolean; + width?: number; +} + +// @public +export interface TilerGeoJsonsCropFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormat { + post(options: TilerGeoJsonsCropWidthByHeightFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerGeoJsonsCropWidthByHeightFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerGeoJsonsCropWidthByHeightFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerGeoJsonsCropWidthByHeightFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerGeoJsonsCropWidthByHeightFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormatBodyParam { + body: StacItem; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerGeoJsonsCropWidthByHeightFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerGeoJsonsCropWidthByHeightFormatParameters = TilerGeoJsonsCropWidthByHeightFormatQueryParam & TilerGeoJsonsCropWidthByHeightFormatBodyParam & RequestParameters; + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormatQueryParam { + // (undocumented) + queryParameters?: TilerGeoJsonsCropWidthByHeightFormatQueryParamProperties; +} + +// @public (undocumented) +export interface TilerGeoJsonsCropWidthByHeightFormatQueryParamProperties { + "coord-crs"?: string; + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerGeoJsonsCropWidthByHeightFormatAssetBidxQueryParam; + assets?: TilerGeoJsonsCropWidthByHeightFormatAssetsQueryParam; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + max_size?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerGeoJsonsCropWidthByHeightFormatRescaleQueryParam; + return_mask?: boolean; + unscale?: boolean; +} + +// @public +export interface TilerGeoJsonsCropWidthByHeightFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerGeoJsonStatisticsGetAll { + get(options?: TilerStatisticsGetAllParameters): StreamableMethod; + post(options: TilerGeoJsonStatisticsGetAllParameters): StreamableMethod; +} + +// @public +export interface TilerGeoJsonStatisticsGetAll200Response extends HttpResponse { + // (undocumented) + body: GeoJsonStatisticsForStacItemCollectionOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerGeoJsonStatisticsGetAllAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerGeoJsonStatisticsGetAllAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerGeoJsonStatisticsGetAllBodyParam { + body: StacItemCollection; +} + +// @public +export interface TilerGeoJsonStatisticsGetAllCQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerGeoJsonStatisticsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerGeoJsonStatisticsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerGeoJsonStatisticsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerGeoJsonStatisticsGetAllParameters = TilerGeoJsonStatisticsGetAllQueryParam & TilerGeoJsonStatisticsGetAllBodyParam & RequestParameters; + +// @public +export interface TilerGeoJsonStatisticsGetAllPQueryParam { + explode: false; + style: "form"; + value: number[]; +} + +// @public (undocumented) +export interface TilerGeoJsonStatisticsGetAllQueryParam { + // (undocumented) + queryParameters?: TilerGeoJsonStatisticsGetAllQueryParamProperties; +} + +// @public (undocumented) +export interface TilerGeoJsonStatisticsGetAllQueryParamProperties { + "coord-crs"?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerGeoJsonStatisticsGetAllAssetBidxQueryParam; + assets?: TilerGeoJsonStatisticsGetAllAssetsQueryParam; + c?: string[] | TilerGeoJsonStatisticsGetAllCQueryParam; + categorical?: boolean; + expression?: string; + histogram_bins?: string; + histogram_range?: string; + max_size?: number; + nodata?: number; + p?: number[] | TilerGeoJsonStatisticsGetAllPQueryParam; + resampling?: Resampling; + unscale?: boolean; +} + +// @public +export type TilerImageFormat = string; + +// @public +export interface TilerInfoGeoJsonFeatureOutput { + bbox?: number; + geometry: GeometryOutput; + id?: string; + properties: Record; + type: FeatureTypeOutput; +} + +// @public (undocumented) +export interface TilerInfoGeoJsonOperationsGet { + get(options?: TilerInfoGeoJsonOperationsGetParameters): StreamableMethod; +} + +// @public +export interface TilerInfoGeoJsonOperationsGet200Response extends HttpResponse { + // (undocumented) + body: TilerInfoGeoJsonFeatureOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerInfoGeoJsonOperationsGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerInfoGeoJsonOperationsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerInfoGeoJsonOperationsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerInfoGeoJsonOperationsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerInfoGeoJsonOperationsGetParameters = TilerInfoGeoJsonOperationsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerInfoGeoJsonOperationsGetQueryParam { + // (undocumented) + queryParameters?: TilerInfoGeoJsonOperationsGetQueryParamProperties; +} + +// @public (undocumented) +export interface TilerInfoGeoJsonOperationsGetQueryParamProperties { + assets?: TilerInfoGeoJsonOperationsGetAssetsQueryParam; +} + +// @public (undocumented) +export interface TilerInfoOperationsGet { + get(options?: TilerInfoOperationsGetParameters): StreamableMethod; +} + +// @public +export interface TilerInfoOperationsGet200Response extends HttpResponse { + // (undocumented) + body: InfoOperationResponseOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerInfoOperationsGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerInfoOperationsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerInfoOperationsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerInfoOperationsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerInfoOperationsGetParameters = TilerInfoOperationsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerInfoOperationsGetQueryParam { + // (undocumented) + queryParameters?: TilerInfoOperationsGetQueryParamProperties; +} + +// @public (undocumented) +export interface TilerInfoOperationsGetQueryParamProperties { + assets?: TilerInfoOperationsGetAssetsQueryParam; +} + +// @public +export interface TilerInfoOutput { + band_descriptions?: string[][]; + band_metadata?: Array[]; + bounds: number[]; + colorinterp?: string[]; + colormap?: Record; + count?: number; + driver?: string; + dtype: string; + height?: number; + maxzoom?: number; + minzoom?: number; + nodata_type?: NoDataTypeOutput; + offsets?: number[]; + overviews?: string[]; + scales?: number[]; + width?: number; +} + +// @public +export interface TilerMosaicSearchRegistrationResponseOutput { + links?: Array; + searchid: string; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBox { + get(options?: TilerPartsGetCroppedToBoundingBoxParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBox200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBox200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBox200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBoxDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerPartsGetCroppedToBoundingBoxParameters = TilerPartsGetCroppedToBoundingBoxQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxQueryParam { + // (undocumented) + queryParameters?: TilerPartsGetCroppedToBoundingBoxQueryParamProperties; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxQueryParamProperties { + "coord-crs"?: string; + "dst-crs"?: string; + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerPartsGetCroppedToBoundingBoxAssetBidxQueryParam; + assets?: TilerPartsGetCroppedToBoundingBoxAssetsQueryParam; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + height?: number; + max_size?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerPartsGetCroppedToBoundingBoxRescaleQueryParam; + return_mask?: boolean; + unscale?: boolean; + width?: number; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeight { + get(options?: TilerPartsGetCroppedToBoundingBoxWidthByHeightParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeight200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBoxWidthByHeight200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerPartsGetCroppedToBoundingBoxWidthByHeightParameters = TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParam { + // (undocumented) + queryParameters?: TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParamProperties; +} + +// @public (undocumented) +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParamProperties { + "coord-crs"?: string; + "dst-crs"?: string; + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetBidxQueryParam; + assets?: TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetsQueryParam; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + max_size?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerPartsGetCroppedToBoundingBoxWidthByHeightRescaleQueryParam; + return_mask?: boolean; + unscale?: boolean; +} + +// @public +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPointsGetPoint { + get(options?: TilerPointsGetPointParameters): StreamableMethod; +} + +// @public +export interface TilerPointsGetPoint200Response extends HttpResponse { + // (undocumented) + body: TilerCoreModelsResponsesPointOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerPointsGetPointAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerPointsGetPointAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPointsGetPointDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerPointsGetPointDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerPointsGetPointDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerPointsGetPointParameters = TilerPointsGetPointQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerPointsGetPointQueryParam { + // (undocumented) + queryParameters?: TilerPointsGetPointQueryParamProperties; +} + +// @public (undocumented) +export interface TilerPointsGetPointQueryParamProperties { + "coord-crs"?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerPointsGetPointAssetBidxQueryParam; + assets?: TilerPointsGetPointAssetsQueryParam; + expression?: string; + nodata?: number; + resampling?: Resampling; + unscale?: boolean; +} + +// @public (undocumented) +export interface TilerPreviewsGet { + get(options?: TilerPreviewsGetParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerPreviewsGet200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerPreviewsGet200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerPreviewsGet200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerPreviewsGetAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerPreviewsGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPreviewsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerPreviewsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerPreviewsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export interface TilerPreviewsGetFormat { + get(options?: TilerPreviewsGetFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerPreviewsGetFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerPreviewsGetFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerPreviewsGetFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerPreviewsGetFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerPreviewsGetFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerPreviewsGetFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerPreviewsGetFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerPreviewsGetFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerPreviewsGetFormatParameters = TilerPreviewsGetFormatQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerPreviewsGetFormatQueryParam { + // (undocumented) + queryParameters?: TilerPreviewsGetFormatQueryParamProperties; +} + +// @public (undocumented) +export interface TilerPreviewsGetFormatQueryParamProperties { + "dst-crs"?: string; + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerPreviewsGetFormatAssetBidxQueryParam; + assets?: TilerPreviewsGetFormatAssetsQueryParam; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + height?: number; + max_size?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerPreviewsGetFormatRescaleQueryParam; + return_mask?: boolean; + unscale?: boolean; + width?: number; +} + +// @public +export interface TilerPreviewsGetFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export type TilerPreviewsGetParameters = TilerPreviewsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerPreviewsGetQueryParam { + // (undocumented) + queryParameters?: TilerPreviewsGetQueryParamProperties; +} + +// @public (undocumented) +export interface TilerPreviewsGetQueryParamProperties { + "dst-crs"?: string; + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerPreviewsGetAssetBidxQueryParam; + assets?: TilerPreviewsGetAssetsQueryParam; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + format?: TilerImageFormat; + height?: number; + max_size?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerPreviewsGetRescaleQueryParam; + return_mask?: boolean; + unscale?: boolean; + width?: number; +} + +// @public +export interface TilerPreviewsGetRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface TilerStacSearchDefinitionOutput { + hash: string; + lastused: string; + metadata: MosaicMetadataOutput; + orderby: string; + search: Record; + usecount: number; + _where: string; +} + +// @public +export interface TilerStacSearchRegistrationOutput { + links?: Array; + search: TilerStacSearchDefinitionOutput; +} + +// @public (undocumented) +export interface TilerStaticImagesCreate { + post(options: TilerStaticImagesCreateParameters): StreamableMethod; +} + +// @public +export interface TilerStaticImagesCreate200Response extends HttpResponse { + // (undocumented) + body: ImageResponseOutput; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface TilerStaticImagesCreateBodyParam { + body: ImageRequest; +} + +// @public (undocumented) +export interface TilerStaticImagesCreateDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerStaticImagesCreateDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerStaticImagesCreateDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerStaticImagesCreateParameters = TilerStaticImagesCreateBodyParam & RequestParameters; + +// @public (undocumented) +export interface TilerStaticImagesGet { + get(options?: TilerStaticImagesGetParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerStaticImagesGet200Headers { + "content-type": "image/png"; +} + +// @public +export interface TilerStaticImagesGet200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerStaticImagesGet200Headers; + // (undocumented) + status: "200"; +} + +// @public (undocumented) +export interface TilerStaticImagesGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerStaticImagesGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerStaticImagesGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerStaticImagesGetParameters = RequestParameters; + +// @public +export interface TilerStatisticsGetAll200Response extends HttpResponse { + // (undocumented) + body: StatisticsResponseOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerStatisticsGetAllAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerStatisticsGetAllAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface TilerStatisticsGetAllCQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerStatisticsGetAllDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerStatisticsGetAllDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerStatisticsGetAllDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerStatisticsGetAllParameters = TilerStatisticsGetAllQueryParam & RequestParameters; + +// @public +export interface TilerStatisticsGetAllPQueryParam { + explode: false; + style: "form"; + value: number[]; +} + +// @public (undocumented) +export interface TilerStatisticsGetAllQueryParam { + // (undocumented) + queryParameters?: TilerStatisticsGetAllQueryParamProperties; +} + +// @public (undocumented) +export interface TilerStatisticsGetAllQueryParamProperties { + asset_as_band?: boolean; + asset_bidx?: string[] | TilerStatisticsGetAllAssetBidxQueryParam; + assets?: TilerStatisticsGetAllAssetsQueryParam; + c?: string[] | TilerStatisticsGetAllCQueryParam; + categorical?: boolean; + expression?: string; + histogram_bins?: string; + histogram_range?: string; + max_size?: number; + nodata?: number; + p?: number[] | TilerStatisticsGetAllPQueryParam; + resampling?: Resampling; + unscale?: boolean; +} + +// @public (undocumented) +export interface TilerTileJsonOperationsGet { + get(options?: TilerTileJsonOperationsGetParameters): StreamableMethod; +} + +// @public +export interface TilerTileJsonOperationsGet200Response extends HttpResponse { + // (undocumented) + body: TileJsonMetaDataOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerTileJsonOperationsGetAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerTileJsonOperationsGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTileJsonOperationsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerTileJsonOperationsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerTileJsonOperationsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerTileJsonOperationsGetParameters = TilerTileJsonOperationsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerTileJsonOperationsGetQueryParam { + // (undocumented) + queryParameters?: TilerTileJsonOperationsGetQueryParamProperties; +} + +// @public (undocumented) +export interface TilerTileJsonOperationsGetQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerTileJsonOperationsGetAssetBidxQueryParam; + assets?: TilerTileJsonOperationsGetAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + maxzoom?: number; + minzoom?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerTileJsonOperationsGetRescaleQueryParam; + return_mask?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + tileMatrixSetId?: TileMatrixSetId; + unscale?: boolean; +} + +// @public +export interface TilerTileJsonOperationsGetRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTileJsonTileMatrixSetsGet { + get(options?: TilerTileJsonTileMatrixSetsGetParameters): StreamableMethod; +} + +// @public +export interface TilerTileJsonTileMatrixSetsGet200Response extends HttpResponse { + // (undocumented) + body: TileJsonMetaDataOutput; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerTileJsonTileMatrixSetsGetAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerTileJsonTileMatrixSetsGetAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTileJsonTileMatrixSetsGetDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerTileJsonTileMatrixSetsGetDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerTileJsonTileMatrixSetsGetDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerTileJsonTileMatrixSetsGetParameters = TilerTileJsonTileMatrixSetsGetQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerTileJsonTileMatrixSetsGetQueryParam { + // (undocumented) + queryParameters?: TilerTileJsonTileMatrixSetsGetQueryParamProperties; +} + +// @public (undocumented) +export interface TilerTileJsonTileMatrixSetsGetQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerTileJsonTileMatrixSetsGetAssetBidxQueryParam; + assets?: TilerTileJsonTileMatrixSetsGetAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + maxzoom?: number; + minzoom?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerTileJsonTileMatrixSetsGetRescaleQueryParam; + return_mask?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + unscale?: boolean; +} + +// @public +export interface TilerTileJsonTileMatrixSetsGetRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTileMatrixSetsGetZxyScaleByFormat { + get(options?: TilerTileMatrixSetsGetZxyScaleByFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerTileMatrixSetsGetZxyScaleByFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerTileMatrixSetsGetZxyScaleByFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerTileMatrixSetsGetZxyScaleByFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTileMatrixSetsGetZxyScaleByFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerTileMatrixSetsGetZxyScaleByFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerTileMatrixSetsGetZxyScaleByFormatParameters = TilerTileMatrixSetsGetZxyScaleByFormatQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerTileMatrixSetsGetZxyScaleByFormatQueryParam { + // (undocumented) + queryParameters?: TilerTileMatrixSetsGetZxyScaleByFormatQueryParamProperties; +} + +// @public (undocumented) +export interface TilerTileMatrixSetsGetZxyScaleByFormatQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam; + assets?: TilerTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + nodata?: number; + resampling?: Resampling; + rescale?: TilerTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam; + return_mask?: boolean; + subdataset_bands?: string[] | TilerTileMatrixSetsGetZxyScaleByFormatSubdatasetBandsQueryParam; + subdataset_name?: string; + unscale?: boolean; +} + +// @public +export interface TilerTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface TilerTileMatrixSetsGetZxyScaleByFormatSubdatasetBandsQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTilesGetZxyScaleByFormat { + get(options?: TilerTilesGetZxyScaleByFormatParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerTilesGetZxyScaleByFormat200Headers { + "content-type": "application/x-binary"; +} + +// @public +export interface TilerTilesGetZxyScaleByFormat200Response extends HttpResponse { + body: Uint8Array; + // (undocumented) + headers: RawHttpHeaders & TilerTilesGetZxyScaleByFormat200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerTilesGetZxyScaleByFormatAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerTilesGetZxyScaleByFormatAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerTilesGetZxyScaleByFormatDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerTilesGetZxyScaleByFormatDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerTilesGetZxyScaleByFormatDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerTilesGetZxyScaleByFormatParameters = TilerTilesGetZxyScaleByFormatQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerTilesGetZxyScaleByFormatQueryParam { + // (undocumented) + queryParameters?: TilerTilesGetZxyScaleByFormatQueryParamProperties; +} + +// @public (undocumented) +export interface TilerTilesGetZxyScaleByFormatQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerTilesGetZxyScaleByFormatAssetBidxQueryParam; + assets?: TilerTilesGetZxyScaleByFormatAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + nodata?: number; + resampling?: Resampling; + rescale?: TilerTilesGetZxyScaleByFormatRescaleQueryParam; + return_mask?: boolean; + subdataset_bands?: string[] | TilerTilesGetZxyScaleByFormatSubdatasetBandsQueryParam; + subdataset_name?: string; + tileMatrixSetId?: TileMatrixSetId; + unscale?: boolean; +} + +// @public +export interface TilerTilesGetZxyScaleByFormatRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface TilerTilesGetZxyScaleByFormatSubdatasetBandsQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerWmtsGetCapabilitiesXml { + get(options?: TilerWmtsGetCapabilitiesXmlParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerWmtsGetCapabilitiesXml200Headers { + "content-type": "application/xml"; +} + +// @public +export interface TilerWmtsGetCapabilitiesXml200Response extends HttpResponse { + // (undocumented) + body: string; + // (undocumented) + headers: RawHttpHeaders & TilerWmtsGetCapabilitiesXml200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerWmtsGetCapabilitiesXmlAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerWmtsGetCapabilitiesXmlAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerWmtsGetCapabilitiesXmlDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerWmtsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerWmtsGetCapabilitiesXmlDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerWmtsGetCapabilitiesXmlParameters = TilerWmtsGetCapabilitiesXmlQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerWmtsGetCapabilitiesXmlQueryParam { + // (undocumented) + queryParameters?: TilerWmtsGetCapabilitiesXmlQueryParamProperties; +} + +// @public (undocumented) +export interface TilerWmtsGetCapabilitiesXmlQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerWmtsGetCapabilitiesXmlAssetBidxQueryParam; + assets?: TilerWmtsGetCapabilitiesXmlAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + maxzoom?: number; + minzoom?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerWmtsGetCapabilitiesXmlRescaleQueryParam; + return_mask?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + tileMatrixSetId?: TileMatrixSetId; + unscale?: boolean; +} + +// @public +export interface TilerWmtsGetCapabilitiesXmlRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXml { + get(options?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlParameters): StreamableMethod; +} + +// @public (undocumented) +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXml200Headers { + "content-type": "application/xml"; +} + +// @public +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response extends HttpResponse { + // (undocumented) + body: string; + // (undocumented) + headers: RawHttpHeaders & TilerWmtsTileMatrixSetsGetCapabilitiesXml200Headers; + // (undocumented) + status: "200"; +} + +// @public +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam { + explode: false; + style: "form"; + value: string[]; +} + +// @public +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public (undocumented) +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders { + "x-ms-error-code"?: string; +} + +// @public (undocumented) +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + // (undocumented) + body: ErrorResponse; + // (undocumented) + headers: RawHttpHeaders & TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders; + // (undocumented) + status: string; +} + +// @public (undocumented) +export type TilerWmtsTileMatrixSetsGetCapabilitiesXmlParameters = TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParam & RequestParameters; + +// @public (undocumented) +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParam { + // (undocumented) + queryParameters?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties; +} + +// @public (undocumented) +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties { + algorithm?: TerrainAlgorithm; + algorithm_params?: string; + asset_as_band?: boolean; + asset_bidx?: string[] | TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam; + assets?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam; + buffer?: string; + color_formula?: string; + colormap?: string; + colormap_name?: ColorMapNames; + expression?: string; + maxzoom?: number; + minzoom?: number; + nodata?: number; + resampling?: Resampling; + rescale?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam; + return_mask?: boolean; + tile_format?: TilerImageFormat; + tile_scale?: number; + unscale?: boolean; +} + +// @public +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam { + explode: true; + style: "form"; + value: string[]; +} + +// @public +export interface TileSettings { + defaultLocation?: DefaultLocation; + maxItemsPerTile: number; + minZoom: number; +} + +// @public +export interface TileSettingsOutput { + defaultLocation?: DefaultLocationOutput; + maxItemsPerTile: number; + minZoom: number; +} + +// @public +export interface UserCollectionSettingsOutput { + mosaicInfo: StacMosaicConfigurationOutput; + tileSettings: TileSettingsOutput; +} + +// @public +export interface VariableMatrixWidthOutput { + coalesce: number; + maxTileRow: number; + minTileRow: number; +} + +// (No @packageDocumentation comment for this package) + +``` diff --git a/sdk/planetarycomputer/planetarycomputer/src/clientDefinitions.ts b/sdk/planetarycomputer/planetarycomputer/src/clientDefinitions.ts new file mode 100644 index 000000000000..62c10b9d90fe --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/clientDefinitions.ts @@ -0,0 +1,1529 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { + IngestionOperationsListParameters, + IngestionOperationsDeleteAllParameters, + IngestionOperationsGetParameters, + IngestionOperationsDeleteParameters, + IngestionRunsListParameters, + IngestionRunsCreateParameters, + IngestionRunsGetParameters, + IngestionsListParameters, + IngestionsCreateParameters, + IngestionsGetParameters, + IngestionsUpdateParameters, + IngestionsDeleteParameters, + IngestionSourcesListParameters, + IngestionSourcesCreateParameters, + IngestionSourcesGetParameters, + IngestionSourcesCreateOrReplaceParameters, + IngestionSourcesDeleteParameters, + IngestionSourcesListManagedIdentitiesParameters, + StacCollectionAssetsCreateParameters, + StacCollectionAssetsCreateOrReplaceParameters, + StacCollectionAssetsDeleteParameters, + StacCollectionConfigGetParameters, + StacCollectionMosaicsGetAllParameters, + StacCollectionMosaicsAddParameters, + StacCollectionMosaicsGetParameters, + StacCollectionMosaicsCreateOrReplaceParameters, + StacCollectionMosaicsDeleteParameters, + StacCollectionsGetAllParameters, + StacCollectionsCreateParameters, + StacCollectionsGetParameters, + StacCollectionsCreateOrReplaceParameters, + StacCollectionsDeleteParameters, + StacCollectionPartitionTypesGetParameters, + StacCollectionPartitionTypesReplaceParameters, + StacCollectionRenderOptionsGetAllParameters, + StacCollectionRenderOptionsCreateParameters, + StacCollectionRenderOptionsGetParameters, + StacCollectionRenderOptionsCreateOrReplaceParameters, + StacCollectionRenderOptionsDeleteParameters, + StacCollectionThumbnailsGetParameters, + StacCollectionTileSettingsGetParameters, + StacCollectionTileSettingsReplaceParameters, + StacConformanceClassGetParameters, + StacItemsGetFeaturesParameters, + StacItemsCreateParameters, + StacItemsGetParameters, + StacItemsCreateOrReplaceParameters, + StacItemsUpdateParameters, + StacItemsDeleteParameters, + StacLandingPagesGetParameters, + StacQueryablesGetAllParameters, + StacQueryablesDeleteParameters, + StacQueryablesCreateOrReplaceParameters, + StacQueryablesGetAllByCollectionParameters, + StacQueryablesCreateParameters, + StacSearchGetParameters, + StacSearchCreateParameters, + TileMatrixDefinitionsGetParameters, + TileMatrixListGetParameters, + TilerAssetStatisticsGetAllParameters, + TilerAvailableAssetsGetAllParameters, + TilerBoundGetAllParameters, + TilerGeoJsonsCropWidthByHeightFormatParameters, + TilerGeoJsonsCropFormatParameters, + TilerGeoJsonStatisticsGetAllParameters, + TilerStatisticsGetAllParameters, + TilerInfoGeoJsonOperationsGetParameters, + TilerInfoOperationsGetParameters, + TilerPartsGetCroppedToBoundingBoxWidthByHeightParameters, + TilerPartsGetCroppedToBoundingBoxParameters, + TilerPointsGetPointParameters, + TilerPreviewsGetFormatParameters, + TilerPreviewsGetParameters, + TilerStaticImagesCreateParameters, + TilerStaticImagesGetParameters, + TilerTileJsonTileMatrixSetsGetParameters, + TilerTileMatrixSetsGetZxyScaleByFormatParameters, + TilerWmtsTileMatrixSetsGetCapabilitiesXmlParameters, + MapsClassMapLegendsGetParameters, + MapsIntervalLegendsGetByClassMapNameParameters, + MapsLegendsGetParameters, + MosaicsAssetsForPointsGetPointAssetsParameters, + MosaicsAssetsForTileMatrixSetsGetZxyAssetsParameters, + MosaicsInfoSearchGetParameters, + MosaicsRegisterSearchRegisterParameters, + MosaicsTileMatrixSetsTileJsonGetParameters, + MosaicsTileMatrixSetsGetZxyScaleByFormatParameters, + MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlParameters, + SasGetTokenParameters, + SasRevokeTokenParameters, + SasGetSignParameters, + TilerTilesGetZxyScaleByFormatParameters, + TilerTileJsonOperationsGetParameters, + TilerWmtsGetCapabilitiesXmlParameters, + MosaicsTilesGetZxyScaleByFormatParameters, + MosaicsTileJsonOperationsGetParameters, + MosaicsWmtsMosaicsGetCapabilitiesXmlParameters, + MosaicsAssetsForTilesGetZxyAssetsParameters, +} from "./parameters.js"; +import type { + IngestionOperationsList200Response, + IngestionOperationsListDefaultResponse, + IngestionOperationsDeleteAll204Response, + IngestionOperationsDeleteAllDefaultResponse, + IngestionOperationsGet200Response, + IngestionOperationsGetDefaultResponse, + IngestionOperationsDelete204Response, + IngestionOperationsDeleteDefaultResponse, + IngestionRunsList200Response, + IngestionRunsListDefaultResponse, + IngestionRunsCreate201Response, + IngestionRunsCreateDefaultResponse, + IngestionRunsGet200Response, + IngestionRunsGetDefaultResponse, + IngestionsList200Response, + IngestionsListDefaultResponse, + IngestionsCreate201Response, + IngestionsCreateDefaultResponse, + IngestionsGet200Response, + IngestionsGetDefaultResponse, + IngestionsUpdate200Response, + IngestionsUpdateDefaultResponse, + IngestionsDelete202Response, + IngestionsDeleteDefaultResponse, + IngestionSourcesList200Response, + IngestionSourcesListDefaultResponse, + IngestionSourcesCreate201Response, + IngestionSourcesCreateDefaultResponse, + IngestionSourcesGet200Response, + IngestionSourcesGetDefaultResponse, + IngestionSourcesCreateOrReplace200Response, + IngestionSourcesCreateOrReplace201Response, + IngestionSourcesCreateOrReplaceDefaultResponse, + IngestionSourcesDelete204Response, + IngestionSourcesDeleteDefaultResponse, + IngestionSourcesListManagedIdentities200Response, + IngestionSourcesListManagedIdentitiesDefaultResponse, + StacCollectionAssetsCreate200Response, + StacCollectionAssetsCreate201Response, + StacCollectionAssetsCreateDefaultResponse, + StacCollectionAssetsCreateOrReplace200Response, + StacCollectionAssetsCreateOrReplace201Response, + StacCollectionAssetsCreateOrReplaceDefaultResponse, + StacCollectionAssetsDelete200Response, + StacCollectionAssetsDeleteDefaultResponse, + StacCollectionConfigGet200Response, + StacCollectionConfigGetDefaultResponse, + StacCollectionMosaicsGetAll200Response, + StacCollectionMosaicsGetAllDefaultResponse, + StacCollectionMosaicsAdd200Response, + StacCollectionMosaicsAdd201Response, + StacCollectionMosaicsAddDefaultResponse, + StacCollectionMosaicsGet200Response, + StacCollectionMosaicsGetDefaultResponse, + StacCollectionMosaicsCreateOrReplace200Response, + StacCollectionMosaicsCreateOrReplace201Response, + StacCollectionMosaicsCreateOrReplaceDefaultResponse, + StacCollectionMosaicsDelete200Response, + StacCollectionMosaicsDeleteDefaultResponse, + StacCollectionsGetAll200Response, + StacCollectionsGetAllDefaultResponse, + StacCollectionsCreate202Response, + StacCollectionsCreateDefaultResponse, + StacCollectionsGet200Response, + StacCollectionsGetDefaultResponse, + StacCollectionsCreateOrReplace200Response, + StacCollectionsCreateOrReplaceDefaultResponse, + StacCollectionsDelete202Response, + StacCollectionsDeleteDefaultResponse, + StacCollectionPartitionTypesGet200Response, + StacCollectionPartitionTypesGetDefaultResponse, + StacCollectionPartitionTypesReplace200Response, + StacCollectionPartitionTypesReplace404Response, + StacCollectionPartitionTypesReplaceDefaultResponse, + StacCollectionRenderOptionsGetAll200Response, + StacCollectionRenderOptionsGetAllDefaultResponse, + StacCollectionRenderOptionsCreate200Response, + StacCollectionRenderOptionsCreate201Response, + StacCollectionRenderOptionsCreateDefaultResponse, + StacCollectionRenderOptionsGet200Response, + StacCollectionRenderOptionsGetDefaultResponse, + StacCollectionRenderOptionsCreateOrReplace200Response, + StacCollectionRenderOptionsCreateOrReplace201Response, + StacCollectionRenderOptionsCreateOrReplaceDefaultResponse, + StacCollectionRenderOptionsDelete200Response, + StacCollectionRenderOptionsDeleteDefaultResponse, + StacCollectionThumbnailsGet200Response, + StacCollectionThumbnailsGetDefaultResponse, + StacCollectionTileSettingsGet200Response, + StacCollectionTileSettingsGetDefaultResponse, + StacCollectionTileSettingsReplace200Response, + StacCollectionTileSettingsReplaceDefaultResponse, + StacConformanceClassGet200Response, + StacConformanceClassGetDefaultResponse, + StacItemsGetFeatures200Response, + StacItemsGetFeaturesDefaultResponse, + StacItemsCreate202Response, + StacItemsCreateDefaultResponse, + StacItemsGet200Response, + StacItemsGetDefaultResponse, + StacItemsCreateOrReplace202Response, + StacItemsCreateOrReplaceDefaultResponse, + StacItemsUpdate202Response, + StacItemsUpdateDefaultResponse, + StacItemsDelete202Response, + StacItemsDeleteDefaultResponse, + StacLandingPagesGet200Response, + StacLandingPagesGetDefaultResponse, + StacQueryablesGetAll200Response, + StacQueryablesGetAllDefaultResponse, + StacQueryablesDelete200Response, + StacQueryablesDeleteDefaultResponse, + StacQueryablesCreateOrReplace200Response, + StacQueryablesCreateOrReplace201Response, + StacQueryablesCreateOrReplaceDefaultResponse, + StacQueryablesGetAllByCollection200Response, + StacQueryablesGetAllByCollectionDefaultResponse, + StacQueryablesCreate201Response, + StacQueryablesCreateDefaultResponse, + StacSearchGet200Response, + StacSearchGetDefaultResponse, + StacSearchCreate200Response, + StacSearchCreateDefaultResponse, + TileMatrixDefinitionsGet200Response, + TileMatrixDefinitionsGetDefaultResponse, + TileMatrixListGet200Response, + TileMatrixListGetDefaultResponse, + TilerAssetStatisticsGetAll200Response, + TilerAssetStatisticsGetAllDefaultResponse, + TilerAvailableAssetsGetAll200Response, + TilerAvailableAssetsGetAllDefaultResponse, + TilerBoundGetAll200Response, + TilerBoundGetAllDefaultResponse, + TilerGeoJsonsCropWidthByHeightFormat200Response, + TilerGeoJsonsCropWidthByHeightFormatDefaultResponse, + TilerGeoJsonsCropFormat200Response, + TilerGeoJsonsCropFormatDefaultResponse, + TilerGeoJsonStatisticsGetAll200Response, + TilerGeoJsonStatisticsGetAllDefaultResponse, + TilerStatisticsGetAll200Response, + TilerStatisticsGetAllDefaultResponse, + TilerInfoGeoJsonOperationsGet200Response, + TilerInfoGeoJsonOperationsGetDefaultResponse, + TilerInfoOperationsGet200Response, + TilerInfoOperationsGetDefaultResponse, + TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response, + TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse, + TilerPartsGetCroppedToBoundingBox200Response, + TilerPartsGetCroppedToBoundingBoxDefaultResponse, + TilerPointsGetPoint200Response, + TilerPointsGetPointDefaultResponse, + TilerPreviewsGetFormat200Response, + TilerPreviewsGetFormatDefaultResponse, + TilerPreviewsGet200Response, + TilerPreviewsGetDefaultResponse, + TilerStaticImagesCreate200Response, + TilerStaticImagesCreateDefaultResponse, + TilerStaticImagesGet200Response, + TilerStaticImagesGetDefaultResponse, + TilerTileJsonTileMatrixSetsGet200Response, + TilerTileJsonTileMatrixSetsGetDefaultResponse, + TilerTileMatrixSetsGetZxyScaleByFormat200Response, + TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse, + TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response, + TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse, + MapsClassMapLegendsGet200Response, + MapsClassMapLegendsGetDefaultResponse, + MapsIntervalLegendsGetByClassMapName200Response, + MapsIntervalLegendsGetByClassMapNameDefaultResponse, + MapsLegendsGet200Response, + MapsLegendsGetDefaultResponse, + MosaicsAssetsForPointsGetPointAssets200Response, + MosaicsAssetsForPointsGetPointAssetsDefaultResponse, + MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response, + MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse, + MosaicsInfoSearchGet200Response, + MosaicsInfoSearchGetDefaultResponse, + MosaicsRegisterSearchRegister200Response, + MosaicsRegisterSearchRegisterDefaultResponse, + MosaicsTileMatrixSetsTileJsonGet200Response, + MosaicsTileMatrixSetsTileJsonGetDefaultResponse, + MosaicsTileMatrixSetsGetZxyScaleByFormat200Response, + MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse, + MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response, + MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse, + SasGetToken200Response, + SasGetTokenDefaultResponse, + SasRevokeToken200Response, + SasRevokeTokenDefaultResponse, + SasGetSign200Response, + SasGetSignDefaultResponse, + TilerTilesGetZxyScaleByFormat200Response, + TilerTilesGetZxyScaleByFormatDefaultResponse, + TilerTileJsonOperationsGet200Response, + TilerTileJsonOperationsGetDefaultResponse, + TilerWmtsGetCapabilitiesXml200Response, + TilerWmtsGetCapabilitiesXmlDefaultResponse, + MosaicsTilesGetZxyScaleByFormat200Response, + MosaicsTilesGetZxyScaleByFormatDefaultResponse, + MosaicsTileJsonOperationsGet200Response, + MosaicsTileJsonOperationsGetDefaultResponse, + MosaicsWmtsMosaicsGetCapabilitiesXml200Response, + MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse, + MosaicsAssetsForTilesGetZxyAssets200Response, + MosaicsAssetsForTilesGetZxyAssetsDefaultResponse, +} from "./responses.js"; +import type { Client, StreamableMethod } from "@azure-rest/core-client"; + +export interface IngestionOperationsList { + /** Get operations of a geo-catalog collection */ + get( + options?: IngestionOperationsListParameters, + ): StreamableMethod; + /** Cancel all running operations of a geo-catalog collection */ + delete( + options?: IngestionOperationsDeleteAllParameters, + ): StreamableMethod< + IngestionOperationsDeleteAll204Response | IngestionOperationsDeleteAllDefaultResponse + >; +} + +export interface IngestionOperationsGet { + /** Get an operation of a geo-catalog collection */ + get( + options?: IngestionOperationsGetParameters, + ): StreamableMethod; + /** Cancel a running operation of a geo-catalog collection */ + delete( + options?: IngestionOperationsDeleteParameters, + ): StreamableMethod< + IngestionOperationsDelete204Response | IngestionOperationsDeleteDefaultResponse + >; +} + +export interface IngestionRunsList { + /** Get the runs of an ingestion */ + get( + options?: IngestionRunsListParameters, + ): StreamableMethod; + /** Create a new run of an ingestion */ + post( + options?: IngestionRunsCreateParameters, + ): StreamableMethod; +} + +export interface IngestionRunsGet { + /** Get a run of an ingestion */ + get( + options?: IngestionRunsGetParameters, + ): StreamableMethod; +} + +export interface IngestionsList { + /** Get ingestions of a catalog */ + get( + options?: IngestionsListParameters, + ): StreamableMethod; + /** Create a new ingestion */ + post( + options: IngestionsCreateParameters, + ): StreamableMethod; +} + +export interface IngestionsGet { + /** Get the definition of an ingestion */ + get( + options?: IngestionsGetParameters, + ): StreamableMethod; + /** Update an existing ingestion */ + patch( + options: IngestionsUpdateParameters, + ): StreamableMethod; + /** Delete an ingestion from a catalog. All runs of the ingestion will be deleted. Ingestion must not have any runs in progress or queued. */ + delete( + options?: IngestionsDeleteParameters, + ): StreamableMethod; +} + +export interface IngestionSourcesList { + /** Get ingestion sources in a geo-catalog */ + get( + options?: IngestionSourcesListParameters, + ): StreamableMethod; + /** Create a new ingestion source in a geo-catalog */ + post( + options: IngestionSourcesCreateParameters, + ): StreamableMethod; +} + +export interface IngestionSourcesGet { + /** Get an ingestion source in a geo-catalog */ + get( + options?: IngestionSourcesGetParameters, + ): StreamableMethod; + /** Update an existing ingestion source in a geo-catalog */ + put( + options: IngestionSourcesCreateOrReplaceParameters, + ): StreamableMethod< + | IngestionSourcesCreateOrReplace200Response + | IngestionSourcesCreateOrReplace201Response + | IngestionSourcesCreateOrReplaceDefaultResponse + >; + /** Delete an ingestion source from a geo-catalog */ + delete( + options?: IngestionSourcesDeleteParameters, + ): StreamableMethod; +} + +export interface IngestionSourcesListManagedIdentities { + /** Get all managed identities with access to storage accounts configured for a geo-catalog */ + get( + options?: IngestionSourcesListManagedIdentitiesParameters, + ): StreamableMethod< + | IngestionSourcesListManagedIdentities200Response + | IngestionSourcesListManagedIdentitiesDefaultResponse + >; +} + +export interface StacCollectionAssetsCreate { + /** + * Create a new asset in the Collection metadata and write the associated + * file to managed storage. + * + * Args: + * request: The incoming request. + * asset: The Asset object to write, without a valid href to the asset. + * file: The file to write. + * collection_id: The ID of the collection to write the asset to. + * content_type: The content type of the request. + * + * Returns: + * A Response object containing the newly created asset. + */ + post( + options: StacCollectionAssetsCreateParameters, + ): StreamableMethod< + | StacCollectionAssetsCreate200Response + | StacCollectionAssetsCreate201Response + | StacCollectionAssetsCreateDefaultResponse + >; +} + +export interface StacCollectionAssetsCreateOrReplace { + /** + * Update an existing asset in a given collection. + * + * Args: + * request: The incoming request. + * asset: The Asset object to update. + * file: The file to update (optional). + * collection_id: The ID of the collection to update the asset in. + * asset_id: The ID of the asset to update. + * content_type: The content type of the request. + * + * Returns: + * A Response object containing the updated asset. + */ + put( + options: StacCollectionAssetsCreateOrReplaceParameters, + ): StreamableMethod< + | StacCollectionAssetsCreateOrReplace200Response + | StacCollectionAssetsCreateOrReplace201Response + | StacCollectionAssetsCreateOrReplaceDefaultResponse + >; + /** + * Delete an asset from a given collection. + * + * Args: + * request: The incoming request. + * collection_id: The ID of the collection to delete the asset from. + * asset_id: The ID of the asset to delete. + * + * Returns: + * A Response object indicating the success of the deletion. + */ + delete( + options?: StacCollectionAssetsDeleteParameters, + ): StreamableMethod< + StacCollectionAssetsDelete200Response | StacCollectionAssetsDeleteDefaultResponse + >; +} + +export interface StacCollectionConfigGet { + /** Get the complete user configuration for a given collection */ + get( + options?: StacCollectionConfigGetParameters, + ): StreamableMethod; +} + +export interface StacCollectionMosaicsGetAll { + /** Get the mosaic definitions for a given collection */ + get( + options?: StacCollectionMosaicsGetAllParameters, + ): StreamableMethod< + StacCollectionMosaicsGetAll200Response | StacCollectionMosaicsGetAllDefaultResponse + >; + /** Add a mosaic definition to a given collection */ + post( + options: StacCollectionMosaicsAddParameters, + ): StreamableMethod< + | StacCollectionMosaicsAdd200Response + | StacCollectionMosaicsAdd201Response + | StacCollectionMosaicsAddDefaultResponse + >; +} + +export interface StacCollectionMosaicsGet { + /** Get a mosaic definition from a given collection */ + get( + options?: StacCollectionMosaicsGetParameters, + ): StreamableMethod< + StacCollectionMosaicsGet200Response | StacCollectionMosaicsGetDefaultResponse + >; + /** Update a mosaic definition from a given collection */ + put( + options: StacCollectionMosaicsCreateOrReplaceParameters, + ): StreamableMethod< + | StacCollectionMosaicsCreateOrReplace200Response + | StacCollectionMosaicsCreateOrReplace201Response + | StacCollectionMosaicsCreateOrReplaceDefaultResponse + >; + /** Delete a mosaic definition from a given collection */ + delete( + options?: StacCollectionMosaicsDeleteParameters, + ): StreamableMethod< + StacCollectionMosaicsDelete200Response | StacCollectionMosaicsDeleteDefaultResponse + >; +} + +export interface StacCollectionsGetAll { + /** Endpoint. */ + get( + options?: StacCollectionsGetAllParameters, + ): StreamableMethod; + /** Create a new collection in the GeoCatalog instance */ + post( + options: StacCollectionsCreateParameters, + ): StreamableMethod; +} + +export interface StacCollectionsGet { + /** Get a collection in the GeoCatalog instance */ + get( + options?: StacCollectionsGetParameters, + ): StreamableMethod; + /** Create or replace a collection in the GeoCatalog instance */ + put( + options: StacCollectionsCreateOrReplaceParameters, + ): StreamableMethod< + StacCollectionsCreateOrReplace200Response | StacCollectionsCreateOrReplaceDefaultResponse + >; + /** Delete a collection in the GeoCatalog instance */ + delete( + options?: StacCollectionsDeleteParameters, + ): StreamableMethod; +} + +export interface StacCollectionPartitionTypesGet { + /** + * Get the partitiontype for a GeoCatalog Collection. + * + * Args: + * collection_id: the collection id to get the partitiontype for. + * + * Returns: + * The partitiontype for the collection. + */ + get( + options?: StacCollectionPartitionTypesGetParameters, + ): StreamableMethod< + StacCollectionPartitionTypesGet200Response | StacCollectionPartitionTypesGetDefaultResponse + >; + /** + * Updates partition type for a GeoCatalog Collection. This will + * determine the partitioning scheme for items within the database, + * and can only be set before any items are loaded. + * + * Ideal partitioning schemes result in partitions of roughly 100k items each. + * + * The default partitioning scheme is "none" which does not partition items. + * + * Args: + * collection_id: the collection id to add the partitiontype to. + * partitiontype: the partitiontype to add. + * + * Returns: + * None + */ + put( + options: StacCollectionPartitionTypesReplaceParameters, + ): StreamableMethod< + | StacCollectionPartitionTypesReplace200Response + | StacCollectionPartitionTypesReplace404Response + | StacCollectionPartitionTypesReplaceDefaultResponse + >; +} + +export interface StacCollectionRenderOptionsGetAll { + /** Get all render options for a given collection */ + get( + options?: StacCollectionRenderOptionsGetAllParameters, + ): StreamableMethod< + StacCollectionRenderOptionsGetAll200Response | StacCollectionRenderOptionsGetAllDefaultResponse + >; + /** Add a render option for a given collection */ + post( + options: StacCollectionRenderOptionsCreateParameters, + ): StreamableMethod< + | StacCollectionRenderOptionsCreate200Response + | StacCollectionRenderOptionsCreate201Response + | StacCollectionRenderOptionsCreateDefaultResponse + >; +} + +export interface StacCollectionRenderOptionsGet { + /** Get a render option for a given collection */ + get( + options?: StacCollectionRenderOptionsGetParameters, + ): StreamableMethod< + StacCollectionRenderOptionsGet200Response | StacCollectionRenderOptionsGetDefaultResponse + >; + /** Update a render option for a given collection */ + put( + options: StacCollectionRenderOptionsCreateOrReplaceParameters, + ): StreamableMethod< + | StacCollectionRenderOptionsCreateOrReplace200Response + | StacCollectionRenderOptionsCreateOrReplace201Response + | StacCollectionRenderOptionsCreateOrReplaceDefaultResponse + >; + /** Delete a render option for a given collection */ + delete( + options?: StacCollectionRenderOptionsDeleteParameters, + ): StreamableMethod< + StacCollectionRenderOptionsDelete200Response | StacCollectionRenderOptionsDeleteDefaultResponse + >; +} + +export interface StacCollectionThumbnailsGet { + /** + * Get thumbnail for given collection. + * + * Args: + * request: The incoming request. + * collection_id: The ID of the collection to retrieve assets for. + * + * Returns: + * thumbnail image + */ + get( + options?: StacCollectionThumbnailsGetParameters, + ): StreamableMethod< + StacCollectionThumbnailsGet200Response | StacCollectionThumbnailsGetDefaultResponse + >; +} + +export interface StacCollectionTileSettingsGet { + /** Get the tile settings for a given collection */ + get( + options?: StacCollectionTileSettingsGetParameters, + ): StreamableMethod< + StacCollectionTileSettingsGet200Response | StacCollectionTileSettingsGetDefaultResponse + >; + /** Update the tile settings for a given collection */ + put( + options: StacCollectionTileSettingsReplaceParameters, + ): StreamableMethod< + StacCollectionTileSettingsReplace200Response | StacCollectionTileSettingsReplaceDefaultResponse + >; +} + +export interface StacConformanceClassGet { + /** Endpoint. */ + get( + options?: StacConformanceClassGetParameters, + ): StreamableMethod; +} + +export interface StacItemsGetFeatures { + /** + * Fetch features of the feature collection with id `collectionId`. + * + * Every feature in a dataset belongs to a collection. A dataset may + * consist of multiple feature collections. A feature collection is often a + * collection of features of a similar type, based on a common schema.") + */ + get( + options?: StacItemsGetFeaturesParameters, + ): StreamableMethod; + /** Create a new STAC item or a set of items in a collection */ + post( + options: StacItemsCreateParameters, + ): StreamableMethod; +} + +export interface StacItemsGet { + /** Fetch a single STAC Item */ + get( + options?: StacItemsGetParameters, + ): StreamableMethod; + /** Create or replace a STAC item in a collection */ + put( + options: StacItemsCreateOrReplaceParameters, + ): StreamableMethod< + StacItemsCreateOrReplace202Response | StacItemsCreateOrReplaceDefaultResponse + >; + /** Update a STAC item in a collection */ + patch( + options: StacItemsUpdateParameters, + ): StreamableMethod; + /** Delete a STAC item from a collection */ + delete( + options?: StacItemsDeleteParameters, + ): StreamableMethod; +} + +export interface StacLandingPagesGet { + /** Endpoint. */ + get( + options?: StacLandingPagesGetParameters, + ): StreamableMethod; +} + +export interface StacQueryablesGetAll { + /** Endpoint. */ + get( + options?: StacQueryablesGetAllParameters, + ): StreamableMethod; +} + +export interface StacQueryablesDelete { + /** Delete queryables by name for specified collection. */ + delete( + options?: StacQueryablesDeleteParameters, + ): StreamableMethod; + /** + * Updates a queryable given a queryable definition and + * corresponding collection id. + */ + put( + options: StacQueryablesCreateOrReplaceParameters, + ): StreamableMethod< + | StacQueryablesCreateOrReplace200Response + | StacQueryablesCreateOrReplace201Response + | StacQueryablesCreateOrReplaceDefaultResponse + >; +} + +export interface StacQueryablesGetAllByCollection { + /** Endpoint. */ + get( + options?: StacQueryablesGetAllByCollectionParameters, + ): StreamableMethod< + StacQueryablesGetAllByCollection200Response | StacQueryablesGetAllByCollectionDefaultResponse + >; + /** Set queryables for a collection given a list of queryable definitions */ + post( + options: StacQueryablesCreateParameters, + ): StreamableMethod; +} + +export interface StacSearchGet { + /** Endpoint. */ + get( + options?: StacSearchGetParameters, + ): StreamableMethod; + /** Endpoint. */ + post( + options: StacSearchCreateParameters, + ): StreamableMethod; +} + +export interface TileMatrixDefinitionsGet { + /** Return Matrix Definition */ + get( + options?: TileMatrixDefinitionsGetParameters, + ): StreamableMethod< + TileMatrixDefinitionsGet200Response | TileMatrixDefinitionsGetDefaultResponse + >; +} + +export interface TileMatrixListGet { + /** Return Matrix List */ + get( + options?: TileMatrixListGetParameters, + ): StreamableMethod; +} + +export interface TilerAssetStatisticsGetAll { + /** Per Asset statistics */ + get( + options?: TilerAssetStatisticsGetAllParameters, + ): StreamableMethod< + TilerAssetStatisticsGetAll200Response | TilerAssetStatisticsGetAllDefaultResponse + >; +} + +export interface TilerAvailableAssetsGetAll { + /** Return a list of supported assets. */ + get( + options?: TilerAvailableAssetsGetAllParameters, + ): StreamableMethod< + TilerAvailableAssetsGetAll200Response | TilerAvailableAssetsGetAllDefaultResponse + >; +} + +export interface TilerBoundGetAll { + /** Return all Bounds */ + get( + options?: TilerBoundGetAllParameters, + ): StreamableMethod; +} + +export interface TilerGeoJsonsCropWidthByHeightFormat { + /** Create image from a geojson feature. */ + post( + options: TilerGeoJsonsCropWidthByHeightFormatParameters, + ): StreamableMethod< + | TilerGeoJsonsCropWidthByHeightFormat200Response + | TilerGeoJsonsCropWidthByHeightFormatDefaultResponse + >; +} + +export interface TilerGeoJsonsCropFormat { + /** Create image from a geojson feature. */ + post( + options: TilerGeoJsonsCropFormatParameters, + ): StreamableMethod; +} + +export interface TilerGeoJsonStatisticsGetAll { + /** Get Statistics from a geojson feature or featureCollection. */ + post( + options: TilerGeoJsonStatisticsGetAllParameters, + ): StreamableMethod< + TilerGeoJsonStatisticsGetAll200Response | TilerGeoJsonStatisticsGetAllDefaultResponse + >; + /** Merged assets statistics. */ + get( + options?: TilerStatisticsGetAllParameters, + ): StreamableMethod; +} + +export interface TilerInfoGeoJsonOperationsGet { + /** Return Info Geojson */ + get( + options?: TilerInfoGeoJsonOperationsGetParameters, + ): StreamableMethod< + TilerInfoGeoJsonOperationsGet200Response | TilerInfoGeoJsonOperationsGetDefaultResponse + >; +} + +export interface TilerInfoOperationsGet { + /** Return dataset's basic info. */ + get( + options?: TilerInfoOperationsGetParameters, + ): StreamableMethod; +} + +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeight { + /** Create image from part of a dataset. */ + get( + options?: TilerPartsGetCroppedToBoundingBoxWidthByHeightParameters, + ): StreamableMethod< + | TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response + | TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse + >; +} + +export interface TilerPartsGetCroppedToBoundingBox { + /** Create image from part of a dataset. */ + get( + options?: TilerPartsGetCroppedToBoundingBoxParameters, + ): StreamableMethod< + TilerPartsGetCroppedToBoundingBox200Response | TilerPartsGetCroppedToBoundingBoxDefaultResponse + >; +} + +export interface TilerPointsGetPoint { + /** Get Point value for a dataset. */ + get( + options?: TilerPointsGetPointParameters, + ): StreamableMethod; +} + +export interface TilerPreviewsGetFormat { + /** Create preview of a dataset. */ + get( + options?: TilerPreviewsGetFormatParameters, + ): StreamableMethod; +} + +export interface TilerPreviewsGet { + /** Create preview of a dataset. */ + get( + options?: TilerPreviewsGetParameters, + ): StreamableMethod; +} + +export interface TilerStaticImagesCreate { + /** Create a new image export. */ + post( + options: TilerStaticImagesCreateParameters, + ): StreamableMethod; +} + +export interface TilerStaticImagesGet { + /** Fetch an existing image export by ID */ + get( + options?: TilerStaticImagesGetParameters, + ): StreamableMethod; +} + +export interface TilerTileJsonTileMatrixSetsGet { + /** Return the TileJson Tilematrixsetid As a path */ + get( + options?: TilerTileJsonTileMatrixSetsGetParameters, + ): StreamableMethod< + TilerTileJsonTileMatrixSetsGet200Response | TilerTileJsonTileMatrixSetsGetDefaultResponse + >; +} + +export interface TilerTileMatrixSetsGetZxyScaleByFormat { + /** Create map tile from a dataset. */ + get( + options?: TilerTileMatrixSetsGetZxyScaleByFormatParameters, + ): StreamableMethod< + | TilerTileMatrixSetsGetZxyScaleByFormat200Response + | TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse + >; +} + +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXml { + /** OGC WMTS endpoint. */ + get( + options?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlParameters, + ): StreamableMethod< + | TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response + | TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + >; +} + +export interface MapsClassMapLegendsGet { + /** + * Generate values and color swatches mapping for a given classmap. + * + * Args: + * trim_start (int, optional): Number of items to trim + * from the start of the cmap + * trim_end (int, optional): Number of items to trim from the end of the cmap + */ + get( + options?: MapsClassMapLegendsGetParameters, + ): StreamableMethod; +} + +export interface MapsIntervalLegendsGetByClassMapName { + /** + * Generate values and color swatches mapping for a given interval classmap. + * + * Args: + * trim_start (int, optional): Number of items to trim from + * the start of the cmap + * trim_end (int, optional): Number of items to trim from the end of the cmap + */ + get( + options?: MapsIntervalLegendsGetByClassMapNameParameters, + ): StreamableMethod< + | MapsIntervalLegendsGetByClassMapName200Response + | MapsIntervalLegendsGetByClassMapNameDefaultResponse + >; +} + +export interface MapsLegendsGet { + /** + * Generate a legend image for a given colormap. + * + * If the colormap has non-contiguous values at the beginning or end, + * which aren't desired in the output image, they can be trimmed by specifying + * the number of values to trim. + * + * Args: + * cmap_name (string): The name of the registered colormap to generate + * a legend for + * height (float, optional): The output height of the legend image + * width (float, optional): The output width of the legend image + * trim_start (int, optional): Number of items to trim from + * the start of the cmap + * trim_end (int, optional): Number of items to trim from the end of the cmap + * + * Returns: + * HTTP response with jpeg encoded image data + */ + get( + options?: MapsLegendsGetParameters, + ): StreamableMethod; +} + +export interface MosaicsAssetsForPointsGetPointAssets { + /** Return a list of assets for a given point. */ + get( + options?: MosaicsAssetsForPointsGetPointAssetsParameters, + ): StreamableMethod< + | MosaicsAssetsForPointsGetPointAssets200Response + | MosaicsAssetsForPointsGetPointAssetsDefaultResponse + >; +} + +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssets { + /** Return a list of assets which overlap a given tile */ + get( + options?: MosaicsAssetsForTileMatrixSetsGetZxyAssetsParameters, + ): StreamableMethod< + | MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response + | MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse + >; +} + +export interface MosaicsInfoSearchGet { + /** Get Search query metadata. */ + get( + options?: MosaicsInfoSearchGetParameters, + ): StreamableMethod; +} + +export interface MosaicsRegisterSearchRegister { + /** Register a Search query */ + post( + options: MosaicsRegisterSearchRegisterParameters, + ): StreamableMethod< + MosaicsRegisterSearchRegister200Response | MosaicsRegisterSearchRegisterDefaultResponse + >; +} + +export interface MosaicsTileMatrixSetsTileJsonGet { + /** Return TileJSON document for a searchId. */ + get( + options?: MosaicsTileMatrixSetsTileJsonGetParameters, + ): StreamableMethod< + MosaicsTileMatrixSetsTileJsonGet200Response | MosaicsTileMatrixSetsTileJsonGetDefaultResponse + >; +} + +export interface MosaicsTileMatrixSetsGetZxyScaleByFormat { + /** Create map tile. */ + get( + options?: MosaicsTileMatrixSetsGetZxyScaleByFormatParameters, + ): StreamableMethod< + | MosaicsTileMatrixSetsGetZxyScaleByFormat200Response + | MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse + >; +} + +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml { + /** OGC WMTS endpoint. */ + get( + options?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlParameters, + ): StreamableMethod< + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + >; +} + +export interface SasGetToken { + /** + * Generate a [SAS Token](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview#how-a-shared-access-signature-works) + * for the given storage account and container. The storage account and container + * must be associated with a Planetary Computer dataset indexed by the STAC API. + */ + get( + options?: SasGetTokenParameters, + ): StreamableMethod; +} + +export interface SasRevokeToken { + /** + * Revoke a [SAS Token](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview#how-a-shared-access-signature-works) + * for managed storage account of this GeoCatalog. + */ + post( + options?: SasRevokeTokenParameters, + ): StreamableMethod; +} + +export interface SasGetSign { + /** + * Signs a HREF (a link URL) by appending a [SAS Token](https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview#how-a-shared-access-signature-works). + * If the HREF is not a Azure Blob Storage HREF, then pass back the HREF unsigned. + */ + get( + options: SasGetSignParameters, + ): StreamableMethod; +} + +export interface TilerTilesGetZxyScaleByFormat { + /** Create map tile from a dataset. */ + get( + options?: TilerTilesGetZxyScaleByFormatParameters, + ): StreamableMethod< + TilerTilesGetZxyScaleByFormat200Response | TilerTilesGetZxyScaleByFormatDefaultResponse + >; +} + +export interface TilerTileJsonOperationsGet { + /** Return TileJson */ + get( + options?: TilerTileJsonOperationsGetParameters, + ): StreamableMethod< + TilerTileJsonOperationsGet200Response | TilerTileJsonOperationsGetDefaultResponse + >; +} + +export interface TilerWmtsGetCapabilitiesXml { + /** OGC WMTS endpoint. */ + get( + options?: TilerWmtsGetCapabilitiesXmlParameters, + ): StreamableMethod< + TilerWmtsGetCapabilitiesXml200Response | TilerWmtsGetCapabilitiesXmlDefaultResponse + >; +} + +export interface MosaicsTilesGetZxyScaleByFormat { + /** Create map tile. */ + get( + options?: MosaicsTilesGetZxyScaleByFormatParameters, + ): StreamableMethod< + MosaicsTilesGetZxyScaleByFormat200Response | MosaicsTilesGetZxyScaleByFormatDefaultResponse + >; +} + +export interface MosaicsTileJsonOperationsGet { + /** Return TileJSON document for a searchId. */ + get( + options?: MosaicsTileJsonOperationsGetParameters, + ): StreamableMethod< + MosaicsTileJsonOperationsGet200Response | MosaicsTileJsonOperationsGetDefaultResponse + >; +} + +export interface MosaicsWmtsMosaicsGetCapabilitiesXml { + /** OGC WMTS endpoint. */ + get( + options?: MosaicsWmtsMosaicsGetCapabilitiesXmlParameters, + ): StreamableMethod< + | MosaicsWmtsMosaicsGetCapabilitiesXml200Response + | MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse + >; +} + +export interface MosaicsAssetsForTilesGetZxyAssets { + /** Return a list of assets which overlap a given tile */ + get( + options?: MosaicsAssetsForTilesGetZxyAssetsParameters, + ): StreamableMethod< + MosaicsAssetsForTilesGetZxyAssets200Response | MosaicsAssetsForTilesGetZxyAssetsDefaultResponse + >; +} + +export interface Routes { + /** Resource for '/inma/operations' has methods for the following verbs: get, delete */ + (path: "/inma/operations"): IngestionOperationsList; + /** Resource for '/inma/operations/\{operationId\}' has methods for the following verbs: get, delete */ + (path: "/inma/operations/{operationId}", operationId: string): IngestionOperationsGet; + /** Resource for '/inma/collections/\{collectionId\}/ingestions/\{ingestionId\}/runs' has methods for the following verbs: get, post */ + ( + path: "/inma/collections/{collectionId}/ingestions/{ingestionId}/runs", + collectionId: string, + ingestionId: string, + ): IngestionRunsList; + /** Resource for '/inma/collections/\{collectionId\}/ingestions/\{ingestionId\}/runs/\{runId\}' has methods for the following verbs: get */ + ( + path: "/inma/collections/{collectionId}/ingestions/{ingestionId}/runs/{runId}", + collectionId: string, + ingestionId: string, + runId: string, + ): IngestionRunsGet; + /** Resource for '/inma/collections/\{collectionId\}/ingestions' has methods for the following verbs: get, post */ + (path: "/inma/collections/{collectionId}/ingestions", collectionId: string): IngestionsList; + /** Resource for '/inma/collections/\{collectionId\}/ingestions/\{ingestionId\}' has methods for the following verbs: get, patch, delete */ + ( + path: "/inma/collections/{collectionId}/ingestions/{ingestionId}", + collectionId: string, + ingestionId: string, + ): IngestionsGet; + /** Resource for '/inma/ingestion-sources' has methods for the following verbs: get, post */ + (path: "/inma/ingestion-sources"): IngestionSourcesList; + /** Resource for '/inma/ingestion-sources/\{id\}' has methods for the following verbs: get, put, delete */ + (path: "/inma/ingestion-sources/{id}", id: string): IngestionSourcesGet; + /** Resource for '/inma/ingestion-sources/managed-identities' has methods for the following verbs: get */ + (path: "/inma/ingestion-sources/managed-identities"): IngestionSourcesListManagedIdentities; + /** Resource for '/stac/collections/\{collectionId\}/assets' has methods for the following verbs: post */ + ( + path: "/stac/collections/{collectionId}/assets", + collectionId: string, + ): StacCollectionAssetsCreate; + /** Resource for '/stac/collections/\{collectionId\}/assets/\{assetId\}' has methods for the following verbs: put, delete */ + ( + path: "/stac/collections/{collectionId}/assets/{assetId}", + collectionId: string, + assetId: string, + ): StacCollectionAssetsCreateOrReplace; + /** Resource for '/stac/collections/\{collectionId\}/configurations' has methods for the following verbs: get */ + ( + path: "/stac/collections/{collectionId}/configurations", + collectionId: string, + ): StacCollectionConfigGet; + /** Resource for '/stac/collections/\{collectionId\}/configurations/mosaics' has methods for the following verbs: get, post */ + ( + path: "/stac/collections/{collectionId}/configurations/mosaics", + collectionId: string, + ): StacCollectionMosaicsGetAll; + /** Resource for '/stac/collections/\{collectionId\}/configurations/mosaics/\{mosaicId\}' has methods for the following verbs: get, put, delete */ + ( + path: "/stac/collections/{collectionId}/configurations/mosaics/{mosaicId}", + collectionId: string, + mosaicId: string, + ): StacCollectionMosaicsGet; + /** Resource for '/stac/collections' has methods for the following verbs: get, post */ + (path: "/stac/collections"): StacCollectionsGetAll; + /** Resource for '/stac/collections/\{collectionId\}' has methods for the following verbs: get, put, delete */ + (path: "/stac/collections/{collectionId}", collectionId: string): StacCollectionsGet; + /** Resource for '/stac/collections/\{collectionId\}/configurations/partition-type' has methods for the following verbs: get, put */ + ( + path: "/stac/collections/{collectionId}/configurations/partition-type", + collectionId: string, + ): StacCollectionPartitionTypesGet; + /** Resource for '/stac/collections/\{collectionId\}/configurations/render-options' has methods for the following verbs: get, post */ + ( + path: "/stac/collections/{collectionId}/configurations/render-options", + collectionId: string, + ): StacCollectionRenderOptionsGetAll; + /** Resource for '/stac/collections/\{collectionId\}/configurations/render-options/\{renderOptionId\}' has methods for the following verbs: get, put, delete */ + ( + path: "/stac/collections/{collectionId}/configurations/render-options/{renderOptionId}", + collectionId: string, + renderOptionId: string, + ): StacCollectionRenderOptionsGet; + /** Resource for '/stac/collections/\{collectionId\}/thumbnail' has methods for the following verbs: get */ + ( + path: "/stac/collections/{collectionId}/thumbnail", + collectionId: string, + ): StacCollectionThumbnailsGet; + /** Resource for '/stac/collections/\{collectionId\}/configurations/tile-settings' has methods for the following verbs: get, put */ + ( + path: "/stac/collections/{collectionId}/configurations/tile-settings", + collectionId: string, + ): StacCollectionTileSettingsGet; + /** Resource for '/stac/conformance' has methods for the following verbs: get */ + (path: "/stac/conformance"): StacConformanceClassGet; + /** Resource for '/stac/collections/\{collectionId\}/items' has methods for the following verbs: get, post */ + (path: "/stac/collections/{collectionId}/items", collectionId: string): StacItemsGetFeatures; + /** Resource for '/stac/collections/\{collectionId\}/items/\{itemId\}' has methods for the following verbs: get, put, patch, delete */ + ( + path: "/stac/collections/{collectionId}/items/{itemId}", + collectionId: string, + itemId: string, + ): StacItemsGet; + /** Resource for '/stac' has methods for the following verbs: get */ + (path: "/stac"): StacLandingPagesGet; + /** Resource for '/stac/queryables' has methods for the following verbs: get */ + (path: "/stac/queryables"): StacQueryablesGetAll; + /** Resource for '/stac/collections/\{collectionId\}/queryables/\{queryableName\}' has methods for the following verbs: delete, put */ + ( + path: "/stac/collections/{collectionId}/queryables/{queryableName}", + collectionId: string, + queryableName: string, + ): StacQueryablesDelete; + /** Resource for '/stac/collections/\{collectionId\}/queryables' has methods for the following verbs: get, post */ + ( + path: "/stac/collections/{collectionId}/queryables", + collectionId: string, + ): StacQueryablesGetAllByCollection; + /** Resource for '/stac/search' has methods for the following verbs: get, post */ + (path: "/stac/search"): StacSearchGet; + /** Resource for '/data/tile-matrix-sets/\{tileMatrixSetId\}' has methods for the following verbs: get */ + ( + path: "/data/tile-matrix-sets/{tileMatrixSetId}", + tileMatrixSetId: string, + ): TileMatrixDefinitionsGet; + /** Resource for '/data/tile-matrix-sets' has methods for the following verbs: get */ + (path: "/data/tile-matrix-sets"): TileMatrixListGet; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/asset_statistics' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/asset_statistics", + collectionId: string, + itemId: string, + ): TilerAssetStatisticsGetAll; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/assets' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/assets", + collectionId: string, + itemId: string, + ): TilerAvailableAssetsGetAll; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/bounds' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/bounds", + collectionId: string, + itemId: string, + ): TilerBoundGetAll; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/crop/\{width\}x\{height\}.\{format\}' has methods for the following verbs: post */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/crop/{width}x{height}.{format}", + collectionId: string, + itemId: string, + width: number, + height: number, + format: string, + ): TilerGeoJsonsCropWidthByHeightFormat; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/crop.\{format\}' has methods for the following verbs: post */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/crop.{format}", + collectionId: string, + itemId: string, + format: string, + ): TilerGeoJsonsCropFormat; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/statistics' has methods for the following verbs: post, get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/statistics", + collectionId: string, + itemId: string, + ): TilerGeoJsonStatisticsGetAll; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/info.geojson' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/info.geojson", + collectionId: string, + itemId: string, + ): TilerInfoGeoJsonOperationsGet; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/info' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/info", + collectionId: string, + itemId: string, + ): TilerInfoOperationsGet; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/crop/\{minx\},\{miny\},\{maxx\},\{maxy\}/\{width\}x\{height\}.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}", + collectionId: string, + itemId: string, + minx: number, + miny: number, + maxx: number, + maxy: number, + width: number, + height: number, + format: string, + ): TilerPartsGetCroppedToBoundingBoxWidthByHeight; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/crop/\{minx\},\{miny\},\{maxx\},\{maxy\}.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}.{format}", + collectionId: string, + itemId: string, + minx: number, + miny: number, + maxx: number, + maxy: number, + format: string, + ): TilerPartsGetCroppedToBoundingBox; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/point/\{longitude\},\{latitude\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}", + collectionId: string, + itemId: string, + longitude: number, + latitude: number, + ): TilerPointsGetPoint; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/preview.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/preview.{format}", + collectionId: string, + itemId: string, + format: string, + ): TilerPreviewsGetFormat; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/preview' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/preview", + collectionId: string, + itemId: string, + ): TilerPreviewsGet; + /** Resource for '/data/collections/\{collectionId\}/image/static' has methods for the following verbs: post */ + ( + path: "/data/collections/{collectionId}/image/static", + collectionId: string, + ): TilerStaticImagesCreate; + /** Resource for '/data/collections/\{collectionId\}/image/static/\{id\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/image/static/{id}", + collectionId: string, + id: string, + ): TilerStaticImagesGet; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/\{tileMatrixSetId\}/tilejson.json' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json", + collectionId: string, + itemId: string, + tileMatrixSetId: string, + ): TilerTileJsonTileMatrixSetsGet; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/tiles/\{tileMatrixSetId\}/\{z\}/\{x\}/\{y\}@\{scale\}x.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}", + collectionId: string, + itemId: string, + tileMatrixSetId: string, + z: number, + x: number, + y: number, + scale: number, + format: string, + ): TilerTileMatrixSetsGetZxyScaleByFormat; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/\{tileMatrixSetId\}/WMTSCapabilities.xml' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml", + collectionId: string, + itemId: string, + tileMatrixSetId: string, + ): TilerWmtsTileMatrixSetsGetCapabilitiesXml; + /** Resource for '/data/legend/classmap/\{classmapName\}' has methods for the following verbs: get */ + (path: "/data/legend/classmap/{classmapName}", classmapName: string): MapsClassMapLegendsGet; + /** Resource for '/data/legend/interval/\{classmapName\}' has methods for the following verbs: get */ + ( + path: "/data/legend/interval/{classmapName}", + classmapName: string, + ): MapsIntervalLegendsGetByClassMapName; + /** Resource for '/data/legend/colormap/\{colorMapName\}' has methods for the following verbs: get */ + (path: "/data/legend/colormap/{colorMapName}", colorMapName: string): MapsLegendsGet; + /** Resource for '/data/mosaic/\{searchId\}/\{longitude\},\{latitude\}/assets' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/{longitude},{latitude}/assets", + searchId: string, + longitude: number, + latitude: number, + ): MosaicsAssetsForPointsGetPointAssets; + /** Resource for '/data/mosaic/\{searchId\}/tiles/\{tileMatrixSetId\}/\{z\}/\{x\}/\{y\}/assets' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets", + searchId: string, + tileMatrixSetId: string, + z: number, + x: number, + y: number, + ): MosaicsAssetsForTileMatrixSetsGetZxyAssets; + /** Resource for '/data/mosaic/\{searchId\}/info' has methods for the following verbs: get */ + (path: "/data/mosaic/{searchId}/info", searchId: string): MosaicsInfoSearchGet; + /** Resource for '/data/mosaic/register' has methods for the following verbs: post */ + (path: "/data/mosaic/register"): MosaicsRegisterSearchRegister; + /** Resource for '/data/mosaic/\{searchId\}/\{tileMatrixSetId\}/tilejson.json' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/{tileMatrixSetId}/tilejson.json", + searchId: string, + tileMatrixSetId: string, + ): MosaicsTileMatrixSetsTileJsonGet; + /** Resource for '/data/mosaic/\{searchId\}/tiles/\{tileMatrixSetId\}/\{z\}/\{x\}/\{y\}@\{scale\}x.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}", + searchId: string, + tileMatrixSetId: string, + z: number, + x: number, + y: number, + scale: number, + format: string, + ): MosaicsTileMatrixSetsGetZxyScaleByFormat; + /** Resource for '/data/mosaic/\{searchId\}/\{tileMatrixSetId\}/WMTSCapabilities.xml' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml", + searchId: string, + tileMatrixSetId: string, + ): MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml; + /** Resource for '/sas/token/\{collectionId\}' has methods for the following verbs: get */ + (path: "/sas/token/{collectionId}", collectionId: string): SasGetToken; + /** Resource for '/sas/token/revoke' has methods for the following verbs: post */ + (path: "/sas/token/revoke"): SasRevokeToken; + /** Resource for '/sas/sign' has methods for the following verbs: get */ + (path: "/sas/sign"): SasGetSign; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/tiles/\{z\}/\{x\}/\{y\}@\{scale\}x.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x.{format}", + collectionId: string, + itemId: string, + z: number, + x: number, + y: number, + scale: number, + format: string, + ): TilerTilesGetZxyScaleByFormat; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/tilejson.json' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/tilejson.json", + collectionId: string, + itemId: string, + ): TilerTileJsonOperationsGet; + /** Resource for '/data/collections/\{collectionId\}/items/\{itemId\}/WMTSCapabilities.xml' has methods for the following verbs: get */ + ( + path: "/data/collections/{collectionId}/items/{itemId}/WMTSCapabilities.xml", + collectionId: string, + itemId: string, + ): TilerWmtsGetCapabilitiesXml; + /** Resource for '/data/mosaic/\{searchId\}/tiles/\{z\}/\{x\}/\{y\}@\{scale\}x.\{format\}' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/tiles/{z}/{x}/{y}@{scale}x.{format}", + searchId: string, + z: number, + x: number, + y: number, + scale: number, + format: string, + ): MosaicsTilesGetZxyScaleByFormat; + /** Resource for '/data/mosaic/\{searchId\}/tilejson.json' has methods for the following verbs: get */ + (path: "/data/mosaic/{searchId}/tilejson.json", searchId: string): MosaicsTileJsonOperationsGet; + /** Resource for '/data/mosaic/\{searchId\}/WMTSCapabilities.xml' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/WMTSCapabilities.xml", + searchId: string, + ): MosaicsWmtsMosaicsGetCapabilitiesXml; + /** Resource for '/data/mosaic/\{searchId\}/tiles/\{z\}/\{x\}/\{y\}/assets' has methods for the following verbs: get */ + ( + path: "/data/mosaic/{searchId}/tiles/{z}/{x}/{y}/assets", + searchId: string, + z: number, + x: number, + y: number, + ): MosaicsAssetsForTilesGetZxyAssets; +} + +export type PlanetaryComputerClient = Client & { + path: Routes; +}; diff --git a/sdk/planetarycomputer/planetarycomputer/src/index.ts b/sdk/planetarycomputer/planetarycomputer/src/index.ts new file mode 100644 index 000000000000..b8047717e897 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/index.ts @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import PlanetaryComputerClient from "./planetaryComputerClient.js"; + +export * from "./planetaryComputerClient.js"; +export * from "./parameters.js"; +export * from "./responses.js"; +export * from "./clientDefinitions.js"; +export * from "./isUnexpected.js"; +export * from "./models.js"; +export * from "./outputModels.js"; +export * from "./pollingHelper.js"; + +export default PlanetaryComputerClient; diff --git a/sdk/planetarycomputer/planetarycomputer/src/isUnexpected.ts b/sdk/planetarycomputer/planetarycomputer/src/isUnexpected.ts new file mode 100644 index 000000000000..7c4d8eb53648 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/isUnexpected.ts @@ -0,0 +1,1109 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { + IngestionOperationsList200Response, + IngestionOperationsListDefaultResponse, + IngestionOperationsDeleteAll204Response, + IngestionOperationsDeleteAllDefaultResponse, + IngestionOperationsGet200Response, + IngestionOperationsGetDefaultResponse, + IngestionOperationsDelete204Response, + IngestionOperationsDeleteDefaultResponse, + IngestionRunsList200Response, + IngestionRunsListDefaultResponse, + IngestionRunsCreate201Response, + IngestionRunsCreateDefaultResponse, + IngestionRunsGet200Response, + IngestionRunsGetDefaultResponse, + IngestionsList200Response, + IngestionsListDefaultResponse, + IngestionsCreate201Response, + IngestionsCreateDefaultResponse, + IngestionsGet200Response, + IngestionsGetDefaultResponse, + IngestionsUpdate200Response, + IngestionsUpdateDefaultResponse, + IngestionsDelete202Response, + IngestionsDeleteLogicalResponse, + IngestionsDeleteDefaultResponse, + IngestionSourcesList200Response, + IngestionSourcesListDefaultResponse, + IngestionSourcesCreate201Response, + IngestionSourcesCreateDefaultResponse, + IngestionSourcesGet200Response, + IngestionSourcesGetDefaultResponse, + IngestionSourcesCreateOrReplace200Response, + IngestionSourcesCreateOrReplace201Response, + IngestionSourcesCreateOrReplaceDefaultResponse, + IngestionSourcesDelete204Response, + IngestionSourcesDeleteDefaultResponse, + IngestionSourcesListManagedIdentities200Response, + IngestionSourcesListManagedIdentitiesDefaultResponse, + StacCollectionAssetsCreate200Response, + StacCollectionAssetsCreate201Response, + StacCollectionAssetsCreateDefaultResponse, + StacCollectionAssetsCreateOrReplace200Response, + StacCollectionAssetsCreateOrReplace201Response, + StacCollectionAssetsCreateOrReplaceDefaultResponse, + StacCollectionAssetsDelete200Response, + StacCollectionAssetsDeleteDefaultResponse, + StacCollectionConfigGet200Response, + StacCollectionConfigGetDefaultResponse, + StacCollectionMosaicsGetAll200Response, + StacCollectionMosaicsGetAllDefaultResponse, + StacCollectionMosaicsAdd200Response, + StacCollectionMosaicsAdd201Response, + StacCollectionMosaicsAddDefaultResponse, + StacCollectionMosaicsGet200Response, + StacCollectionMosaicsGetDefaultResponse, + StacCollectionMosaicsCreateOrReplace200Response, + StacCollectionMosaicsCreateOrReplace201Response, + StacCollectionMosaicsCreateOrReplaceDefaultResponse, + StacCollectionMosaicsDelete200Response, + StacCollectionMosaicsDeleteDefaultResponse, + StacCollectionsGetAll200Response, + StacCollectionsGetAllDefaultResponse, + StacCollectionsCreate202Response, + StacCollectionsCreateLogicalResponse, + StacCollectionsCreateDefaultResponse, + StacCollectionsGet200Response, + StacCollectionsGetDefaultResponse, + StacCollectionsCreateOrReplace200Response, + StacCollectionsCreateOrReplaceLogicalResponse, + StacCollectionsCreateOrReplaceDefaultResponse, + StacCollectionsDelete202Response, + StacCollectionsDeleteLogicalResponse, + StacCollectionsDeleteDefaultResponse, + StacCollectionPartitionTypesGet200Response, + StacCollectionPartitionTypesGetDefaultResponse, + StacCollectionPartitionTypesReplace200Response, + StacCollectionPartitionTypesReplace404Response, + StacCollectionPartitionTypesReplaceDefaultResponse, + StacCollectionRenderOptionsGetAll200Response, + StacCollectionRenderOptionsGetAllDefaultResponse, + StacCollectionRenderOptionsCreate200Response, + StacCollectionRenderOptionsCreate201Response, + StacCollectionRenderOptionsCreateDefaultResponse, + StacCollectionRenderOptionsGet200Response, + StacCollectionRenderOptionsGetDefaultResponse, + StacCollectionRenderOptionsCreateOrReplace200Response, + StacCollectionRenderOptionsCreateOrReplace201Response, + StacCollectionRenderOptionsCreateOrReplaceDefaultResponse, + StacCollectionRenderOptionsDelete200Response, + StacCollectionRenderOptionsDeleteDefaultResponse, + StacCollectionThumbnailsGet200Response, + StacCollectionThumbnailsGetDefaultResponse, + StacCollectionTileSettingsGet200Response, + StacCollectionTileSettingsGetDefaultResponse, + StacCollectionTileSettingsReplace200Response, + StacCollectionTileSettingsReplaceDefaultResponse, + StacConformanceClassGet200Response, + StacConformanceClassGetDefaultResponse, + StacItemsGetFeatures200Response, + StacItemsGetFeaturesDefaultResponse, + StacItemsCreate202Response, + StacItemsCreateLogicalResponse, + StacItemsCreateDefaultResponse, + StacItemsGet200Response, + StacItemsGetDefaultResponse, + StacItemsCreateOrReplace202Response, + StacItemsCreateOrReplaceLogicalResponse, + StacItemsCreateOrReplaceDefaultResponse, + StacItemsUpdate202Response, + StacItemsUpdateLogicalResponse, + StacItemsUpdateDefaultResponse, + StacItemsDelete202Response, + StacItemsDeleteLogicalResponse, + StacItemsDeleteDefaultResponse, + StacLandingPagesGet200Response, + StacLandingPagesGetDefaultResponse, + StacQueryablesGetAll200Response, + StacQueryablesGetAllDefaultResponse, + StacQueryablesDelete200Response, + StacQueryablesDeleteDefaultResponse, + StacQueryablesCreateOrReplace200Response, + StacQueryablesCreateOrReplace201Response, + StacQueryablesCreateOrReplaceDefaultResponse, + StacQueryablesGetAllByCollection200Response, + StacQueryablesGetAllByCollectionDefaultResponse, + StacQueryablesCreate201Response, + StacQueryablesCreateDefaultResponse, + StacSearchGet200Response, + StacSearchGetDefaultResponse, + StacSearchCreate200Response, + StacSearchCreateDefaultResponse, + TileMatrixDefinitionsGet200Response, + TileMatrixDefinitionsGetDefaultResponse, + TileMatrixListGet200Response, + TileMatrixListGetDefaultResponse, + TilerAssetStatisticsGetAll200Response, + TilerAssetStatisticsGetAllDefaultResponse, + TilerAvailableAssetsGetAll200Response, + TilerAvailableAssetsGetAllDefaultResponse, + TilerBoundGetAll200Response, + TilerBoundGetAllDefaultResponse, + TilerGeoJsonsCropWidthByHeightFormat200Response, + TilerGeoJsonsCropWidthByHeightFormatDefaultResponse, + TilerGeoJsonsCropFormat200Response, + TilerGeoJsonsCropFormatDefaultResponse, + TilerGeoJsonStatisticsGetAll200Response, + TilerGeoJsonStatisticsGetAllDefaultResponse, + TilerStatisticsGetAll200Response, + TilerStatisticsGetAllDefaultResponse, + TilerInfoGeoJsonOperationsGet200Response, + TilerInfoGeoJsonOperationsGetDefaultResponse, + TilerInfoOperationsGet200Response, + TilerInfoOperationsGetDefaultResponse, + TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response, + TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse, + TilerPartsGetCroppedToBoundingBox200Response, + TilerPartsGetCroppedToBoundingBoxDefaultResponse, + TilerPointsGetPoint200Response, + TilerPointsGetPointDefaultResponse, + TilerPreviewsGetFormat200Response, + TilerPreviewsGetFormatDefaultResponse, + TilerPreviewsGet200Response, + TilerPreviewsGetDefaultResponse, + TilerStaticImagesCreate200Response, + TilerStaticImagesCreateDefaultResponse, + TilerStaticImagesGet200Response, + TilerStaticImagesGetDefaultResponse, + TilerTileJsonTileMatrixSetsGet200Response, + TilerTileJsonTileMatrixSetsGetDefaultResponse, + TilerTileMatrixSetsGetZxyScaleByFormat200Response, + TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse, + TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response, + TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse, + MapsClassMapLegendsGet200Response, + MapsClassMapLegendsGetDefaultResponse, + MapsIntervalLegendsGetByClassMapName200Response, + MapsIntervalLegendsGetByClassMapNameDefaultResponse, + MapsLegendsGet200Response, + MapsLegendsGetDefaultResponse, + MosaicsAssetsForPointsGetPointAssets200Response, + MosaicsAssetsForPointsGetPointAssetsDefaultResponse, + MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response, + MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse, + MosaicsInfoSearchGet200Response, + MosaicsInfoSearchGetDefaultResponse, + MosaicsRegisterSearchRegister200Response, + MosaicsRegisterSearchRegisterDefaultResponse, + MosaicsTileMatrixSetsTileJsonGet200Response, + MosaicsTileMatrixSetsTileJsonGetDefaultResponse, + MosaicsTileMatrixSetsGetZxyScaleByFormat200Response, + MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse, + MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response, + MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse, + SasGetToken200Response, + SasGetTokenDefaultResponse, + SasRevokeToken200Response, + SasRevokeTokenDefaultResponse, + SasGetSign200Response, + SasGetSignDefaultResponse, + TilerTilesGetZxyScaleByFormat200Response, + TilerTilesGetZxyScaleByFormatDefaultResponse, + TilerTileJsonOperationsGet200Response, + TilerTileJsonOperationsGetDefaultResponse, + TilerWmtsGetCapabilitiesXml200Response, + TilerWmtsGetCapabilitiesXmlDefaultResponse, + MosaicsTilesGetZxyScaleByFormat200Response, + MosaicsTilesGetZxyScaleByFormatDefaultResponse, + MosaicsTileJsonOperationsGet200Response, + MosaicsTileJsonOperationsGetDefaultResponse, + MosaicsWmtsMosaicsGetCapabilitiesXml200Response, + MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse, + MosaicsAssetsForTilesGetZxyAssets200Response, + MosaicsAssetsForTilesGetZxyAssetsDefaultResponse, +} from "./responses.js"; + +const responseMap: Record = { + "GET /inma/operations": ["200"], + "DELETE /inma/operations": ["204"], + "GET /inma/operations/{operationId}": ["200"], + "DELETE /inma/operations/{operationId}": ["204"], + "GET /inma/collections/{collectionId}/ingestions/{ingestionId}/runs": ["200"], + "POST /inma/collections/{collectionId}/ingestions/{ingestionId}/runs": ["201"], + "GET /inma/collections/{collectionId}/ingestions/{ingestionId}/runs/{runId}": ["200"], + "GET /inma/collections/{collectionId}/ingestions": ["200"], + "POST /inma/collections/{collectionId}/ingestions": ["201"], + "GET /inma/collections/{collectionId}/ingestions/{ingestionId}": ["200"], + "PATCH /inma/collections/{collectionId}/ingestions/{ingestionId}": ["200"], + "DELETE /inma/collections/{collectionId}/ingestions/{ingestionId}": ["202"], + "GET /inma/ingestion-sources": ["200"], + "POST /inma/ingestion-sources": ["201"], + "GET /inma/ingestion-sources/{id}": ["200"], + "PUT /inma/ingestion-sources/{id}": ["200", "201"], + "DELETE /inma/ingestion-sources/{id}": ["204"], + "GET /inma/ingestion-sources/managed-identities": ["200"], + "POST /stac/collections/{collectionId}/assets": ["200", "201"], + "PUT /stac/collections/{collectionId}/assets/{assetId}": ["200", "201"], + "DELETE /stac/collections/{collectionId}/assets/{assetId}": ["200"], + "GET /stac/collections/{collectionId}/configurations": ["200"], + "GET /stac/collections/{collectionId}/configurations/mosaics": ["200"], + "POST /stac/collections/{collectionId}/configurations/mosaics": ["200", "201"], + "GET /stac/collections/{collectionId}/configurations/mosaics/{mosaicId}": ["200"], + "PUT /stac/collections/{collectionId}/configurations/mosaics/{mosaicId}": ["200", "201"], + "DELETE /stac/collections/{collectionId}/configurations/mosaics/{mosaicId}": ["200"], + "GET /stac/collections": ["200"], + "POST /stac/collections": ["202"], + "GET /stac/collections/{collectionId}": ["200"], + "PUT /stac/collections/{collectionId}": ["200"], + "DELETE /stac/collections/{collectionId}": ["202"], + "GET /stac/collections/{collectionId}/configurations/partition-type": ["200"], + "PUT /stac/collections/{collectionId}/configurations/partition-type": ["200", "404"], + "GET /stac/collections/{collectionId}/configurations/render-options": ["200"], + "POST /stac/collections/{collectionId}/configurations/render-options": ["200", "201"], + "GET /stac/collections/{collectionId}/configurations/render-options/{renderOptionId}": ["200"], + "PUT /stac/collections/{collectionId}/configurations/render-options/{renderOptionId}": [ + "200", + "201", + ], + "DELETE /stac/collections/{collectionId}/configurations/render-options/{renderOptionId}": ["200"], + "GET /stac/collections/{collectionId}/thumbnail": ["200"], + "GET /stac/collections/{collectionId}/configurations/tile-settings": ["200"], + "PUT /stac/collections/{collectionId}/configurations/tile-settings": ["200"], + "GET /stac/conformance": ["200"], + "GET /stac/collections/{collectionId}/items": ["200"], + "POST /stac/collections/{collectionId}/items": ["202"], + "GET /stac/collections/{collectionId}/items/{itemId}": ["200"], + "PUT /stac/collections/{collectionId}/items/{itemId}": ["202"], + "PATCH /stac/collections/{collectionId}/items/{itemId}": ["202"], + "DELETE /stac/collections/{collectionId}/items/{itemId}": ["202"], + "GET /stac": ["200"], + "GET /stac/queryables": ["200"], + "DELETE /stac/collections/{collectionId}/queryables/{queryableName}": ["200"], + "PUT /stac/collections/{collectionId}/queryables/{queryableName}": ["200", "201"], + "GET /stac/collections/{collectionId}/queryables": ["200"], + "POST /stac/collections/{collectionId}/queryables": ["201"], + "GET /stac/search": ["200"], + "POST /stac/search": ["200"], + "GET /data/tile-matrix-sets/{tileMatrixSetId}": ["200"], + "GET /data/tile-matrix-sets": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/asset_statistics": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/assets": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/bounds": ["200"], + "POST /data/collections/{collectionId}/items/{itemId}/crop/{width}x{height}.{format}": ["200"], + "POST /data/collections/{collectionId}/items/{itemId}/crop.{format}": ["200"], + "POST /data/collections/{collectionId}/items/{itemId}/statistics": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/statistics": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/info.geojson": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/info": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}/{width}x{height}.{format}": + ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/crop/{minx},{miny},{maxx},{maxy}.{format}": [ + "200", + ], + "GET /data/collections/{collectionId}/items/{itemId}/point/{longitude},{latitude}": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/preview.{format}": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/preview": ["200"], + "POST /data/collections/{collectionId}/image/static": ["200"], + "GET /data/collections/{collectionId}/image/static/{id}": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/tilejson.json": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}": + ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/{tileMatrixSetId}/WMTSCapabilities.xml": [ + "200", + ], + "GET /data/legend/classmap/{classmapName}": ["200"], + "GET /data/legend/interval/{classmapName}": ["200"], + "GET /data/legend/colormap/{colorMapName}": ["200"], + "GET /data/mosaic/{searchId}/{longitude},{latitude}/assets": ["200"], + "GET /data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}/assets": ["200"], + "GET /data/mosaic/{searchId}/info": ["200"], + "POST /data/mosaic/register": ["200"], + "GET /data/mosaic/{searchId}/{tileMatrixSetId}/tilejson.json": ["200"], + "GET /data/mosaic/{searchId}/tiles/{tileMatrixSetId}/{z}/{x}/{y}@{scale}x.{format}": ["200"], + "GET /data/mosaic/{searchId}/{tileMatrixSetId}/WMTSCapabilities.xml": ["200"], + "GET /sas/token/{collectionId}": ["200"], + "POST /sas/token/revoke": ["200"], + "GET /sas/sign": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/tiles/{z}/{x}/{y}@{scale}x.{format}": [ + "200", + ], + "GET /data/collections/{collectionId}/items/{itemId}/tilejson.json": ["200"], + "GET /data/collections/{collectionId}/items/{itemId}/WMTSCapabilities.xml": ["200"], + "GET /data/mosaic/{searchId}/tiles/{z}/{x}/{y}@{scale}x.{format}": ["200"], + "GET /data/mosaic/{searchId}/tilejson.json": ["200"], + "GET /data/mosaic/{searchId}/WMTSCapabilities.xml": ["200"], + "GET /data/mosaic/{searchId}/tiles/{z}/{x}/{y}/assets": ["200"], +}; + +export function isUnexpected( + response: IngestionOperationsList200Response | IngestionOperationsListDefaultResponse, +): response is IngestionOperationsListDefaultResponse; +export function isUnexpected( + response: IngestionOperationsDeleteAll204Response | IngestionOperationsDeleteAllDefaultResponse, +): response is IngestionOperationsDeleteAllDefaultResponse; +export function isUnexpected( + response: IngestionOperationsGet200Response | IngestionOperationsGetDefaultResponse, +): response is IngestionOperationsGetDefaultResponse; +export function isUnexpected( + response: IngestionOperationsDelete204Response | IngestionOperationsDeleteDefaultResponse, +): response is IngestionOperationsDeleteDefaultResponse; +export function isUnexpected( + response: IngestionRunsList200Response | IngestionRunsListDefaultResponse, +): response is IngestionRunsListDefaultResponse; +export function isUnexpected( + response: IngestionRunsCreate201Response | IngestionRunsCreateDefaultResponse, +): response is IngestionRunsCreateDefaultResponse; +export function isUnexpected( + response: IngestionRunsGet200Response | IngestionRunsGetDefaultResponse, +): response is IngestionRunsGetDefaultResponse; +export function isUnexpected( + response: IngestionsList200Response | IngestionsListDefaultResponse, +): response is IngestionsListDefaultResponse; +export function isUnexpected( + response: IngestionsCreate201Response | IngestionsCreateDefaultResponse, +): response is IngestionsCreateDefaultResponse; +export function isUnexpected( + response: IngestionsGet200Response | IngestionsGetDefaultResponse, +): response is IngestionsGetDefaultResponse; +export function isUnexpected( + response: IngestionsUpdate200Response | IngestionsUpdateDefaultResponse, +): response is IngestionsUpdateDefaultResponse; +export function isUnexpected( + response: + | IngestionsDelete202Response + | IngestionsDeleteLogicalResponse + | IngestionsDeleteDefaultResponse, +): response is IngestionsDeleteDefaultResponse; +export function isUnexpected( + response: IngestionSourcesList200Response | IngestionSourcesListDefaultResponse, +): response is IngestionSourcesListDefaultResponse; +export function isUnexpected( + response: IngestionSourcesCreate201Response | IngestionSourcesCreateDefaultResponse, +): response is IngestionSourcesCreateDefaultResponse; +export function isUnexpected( + response: IngestionSourcesGet200Response | IngestionSourcesGetDefaultResponse, +): response is IngestionSourcesGetDefaultResponse; +export function isUnexpected( + response: + | IngestionSourcesCreateOrReplace200Response + | IngestionSourcesCreateOrReplace201Response + | IngestionSourcesCreateOrReplaceDefaultResponse, +): response is IngestionSourcesCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: IngestionSourcesDelete204Response | IngestionSourcesDeleteDefaultResponse, +): response is IngestionSourcesDeleteDefaultResponse; +export function isUnexpected( + response: + | IngestionSourcesListManagedIdentities200Response + | IngestionSourcesListManagedIdentitiesDefaultResponse, +): response is IngestionSourcesListManagedIdentitiesDefaultResponse; +export function isUnexpected( + response: + | StacCollectionAssetsCreate200Response + | StacCollectionAssetsCreate201Response + | StacCollectionAssetsCreateDefaultResponse, +): response is StacCollectionAssetsCreateDefaultResponse; +export function isUnexpected( + response: + | StacCollectionAssetsCreateOrReplace200Response + | StacCollectionAssetsCreateOrReplace201Response + | StacCollectionAssetsCreateOrReplaceDefaultResponse, +): response is StacCollectionAssetsCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: StacCollectionAssetsDelete200Response | StacCollectionAssetsDeleteDefaultResponse, +): response is StacCollectionAssetsDeleteDefaultResponse; +export function isUnexpected( + response: StacCollectionConfigGet200Response | StacCollectionConfigGetDefaultResponse, +): response is StacCollectionConfigGetDefaultResponse; +export function isUnexpected( + response: StacCollectionMosaicsGetAll200Response | StacCollectionMosaicsGetAllDefaultResponse, +): response is StacCollectionMosaicsGetAllDefaultResponse; +export function isUnexpected( + response: + | StacCollectionMosaicsAdd200Response + | StacCollectionMosaicsAdd201Response + | StacCollectionMosaicsAddDefaultResponse, +): response is StacCollectionMosaicsAddDefaultResponse; +export function isUnexpected( + response: StacCollectionMosaicsGet200Response | StacCollectionMosaicsGetDefaultResponse, +): response is StacCollectionMosaicsGetDefaultResponse; +export function isUnexpected( + response: + | StacCollectionMosaicsCreateOrReplace200Response + | StacCollectionMosaicsCreateOrReplace201Response + | StacCollectionMosaicsCreateOrReplaceDefaultResponse, +): response is StacCollectionMosaicsCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: StacCollectionMosaicsDelete200Response | StacCollectionMosaicsDeleteDefaultResponse, +): response is StacCollectionMosaicsDeleteDefaultResponse; +export function isUnexpected( + response: StacCollectionsGetAll200Response | StacCollectionsGetAllDefaultResponse, +): response is StacCollectionsGetAllDefaultResponse; +export function isUnexpected( + response: + | StacCollectionsCreate202Response + | StacCollectionsCreateLogicalResponse + | StacCollectionsCreateDefaultResponse, +): response is StacCollectionsCreateDefaultResponse; +export function isUnexpected( + response: StacCollectionsGet200Response | StacCollectionsGetDefaultResponse, +): response is StacCollectionsGetDefaultResponse; +export function isUnexpected( + response: + | StacCollectionsCreateOrReplace200Response + | StacCollectionsCreateOrReplaceLogicalResponse + | StacCollectionsCreateOrReplaceDefaultResponse, +): response is StacCollectionsCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: + | StacCollectionsDelete202Response + | StacCollectionsDeleteLogicalResponse + | StacCollectionsDeleteDefaultResponse, +): response is StacCollectionsDeleteDefaultResponse; +export function isUnexpected( + response: + | StacCollectionPartitionTypesGet200Response + | StacCollectionPartitionTypesGetDefaultResponse, +): response is StacCollectionPartitionTypesGetDefaultResponse; +export function isUnexpected( + response: + | StacCollectionPartitionTypesReplace200Response + | StacCollectionPartitionTypesReplace404Response + | StacCollectionPartitionTypesReplaceDefaultResponse, +): response is StacCollectionPartitionTypesReplaceDefaultResponse; +export function isUnexpected( + response: + | StacCollectionRenderOptionsGetAll200Response + | StacCollectionRenderOptionsGetAllDefaultResponse, +): response is StacCollectionRenderOptionsGetAllDefaultResponse; +export function isUnexpected( + response: + | StacCollectionRenderOptionsCreate200Response + | StacCollectionRenderOptionsCreate201Response + | StacCollectionRenderOptionsCreateDefaultResponse, +): response is StacCollectionRenderOptionsCreateDefaultResponse; +export function isUnexpected( + response: + | StacCollectionRenderOptionsGet200Response + | StacCollectionRenderOptionsGetDefaultResponse, +): response is StacCollectionRenderOptionsGetDefaultResponse; +export function isUnexpected( + response: + | StacCollectionRenderOptionsCreateOrReplace200Response + | StacCollectionRenderOptionsCreateOrReplace201Response + | StacCollectionRenderOptionsCreateOrReplaceDefaultResponse, +): response is StacCollectionRenderOptionsCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: + | StacCollectionRenderOptionsDelete200Response + | StacCollectionRenderOptionsDeleteDefaultResponse, +): response is StacCollectionRenderOptionsDeleteDefaultResponse; +export function isUnexpected( + response: StacCollectionThumbnailsGet200Response | StacCollectionThumbnailsGetDefaultResponse, +): response is StacCollectionThumbnailsGetDefaultResponse; +export function isUnexpected( + response: StacCollectionTileSettingsGet200Response | StacCollectionTileSettingsGetDefaultResponse, +): response is StacCollectionTileSettingsGetDefaultResponse; +export function isUnexpected( + response: + | StacCollectionTileSettingsReplace200Response + | StacCollectionTileSettingsReplaceDefaultResponse, +): response is StacCollectionTileSettingsReplaceDefaultResponse; +export function isUnexpected( + response: StacConformanceClassGet200Response | StacConformanceClassGetDefaultResponse, +): response is StacConformanceClassGetDefaultResponse; +export function isUnexpected( + response: StacItemsGetFeatures200Response | StacItemsGetFeaturesDefaultResponse, +): response is StacItemsGetFeaturesDefaultResponse; +export function isUnexpected( + response: + | StacItemsCreate202Response + | StacItemsCreateLogicalResponse + | StacItemsCreateDefaultResponse, +): response is StacItemsCreateDefaultResponse; +export function isUnexpected( + response: StacItemsGet200Response | StacItemsGetDefaultResponse, +): response is StacItemsGetDefaultResponse; +export function isUnexpected( + response: + | StacItemsCreateOrReplace202Response + | StacItemsCreateOrReplaceLogicalResponse + | StacItemsCreateOrReplaceDefaultResponse, +): response is StacItemsCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: + | StacItemsUpdate202Response + | StacItemsUpdateLogicalResponse + | StacItemsUpdateDefaultResponse, +): response is StacItemsUpdateDefaultResponse; +export function isUnexpected( + response: + | StacItemsDelete202Response + | StacItemsDeleteLogicalResponse + | StacItemsDeleteDefaultResponse, +): response is StacItemsDeleteDefaultResponse; +export function isUnexpected( + response: StacLandingPagesGet200Response | StacLandingPagesGetDefaultResponse, +): response is StacLandingPagesGetDefaultResponse; +export function isUnexpected( + response: StacQueryablesGetAll200Response | StacQueryablesGetAllDefaultResponse, +): response is StacQueryablesGetAllDefaultResponse; +export function isUnexpected( + response: StacQueryablesDelete200Response | StacQueryablesDeleteDefaultResponse, +): response is StacQueryablesDeleteDefaultResponse; +export function isUnexpected( + response: + | StacQueryablesCreateOrReplace200Response + | StacQueryablesCreateOrReplace201Response + | StacQueryablesCreateOrReplaceDefaultResponse, +): response is StacQueryablesCreateOrReplaceDefaultResponse; +export function isUnexpected( + response: + | StacQueryablesGetAllByCollection200Response + | StacQueryablesGetAllByCollectionDefaultResponse, +): response is StacQueryablesGetAllByCollectionDefaultResponse; +export function isUnexpected( + response: StacQueryablesCreate201Response | StacQueryablesCreateDefaultResponse, +): response is StacQueryablesCreateDefaultResponse; +export function isUnexpected( + response: StacSearchGet200Response | StacSearchGetDefaultResponse, +): response is StacSearchGetDefaultResponse; +export function isUnexpected( + response: StacSearchCreate200Response | StacSearchCreateDefaultResponse, +): response is StacSearchCreateDefaultResponse; +export function isUnexpected( + response: TileMatrixDefinitionsGet200Response | TileMatrixDefinitionsGetDefaultResponse, +): response is TileMatrixDefinitionsGetDefaultResponse; +export function isUnexpected( + response: TileMatrixListGet200Response | TileMatrixListGetDefaultResponse, +): response is TileMatrixListGetDefaultResponse; +export function isUnexpected( + response: TilerAssetStatisticsGetAll200Response | TilerAssetStatisticsGetAllDefaultResponse, +): response is TilerAssetStatisticsGetAllDefaultResponse; +export function isUnexpected( + response: TilerAvailableAssetsGetAll200Response | TilerAvailableAssetsGetAllDefaultResponse, +): response is TilerAvailableAssetsGetAllDefaultResponse; +export function isUnexpected( + response: TilerBoundGetAll200Response | TilerBoundGetAllDefaultResponse, +): response is TilerBoundGetAllDefaultResponse; +export function isUnexpected( + response: + | TilerGeoJsonsCropWidthByHeightFormat200Response + | TilerGeoJsonsCropWidthByHeightFormatDefaultResponse, +): response is TilerGeoJsonsCropWidthByHeightFormatDefaultResponse; +export function isUnexpected( + response: TilerGeoJsonsCropFormat200Response | TilerGeoJsonsCropFormatDefaultResponse, +): response is TilerGeoJsonsCropFormatDefaultResponse; +export function isUnexpected( + response: TilerGeoJsonStatisticsGetAll200Response | TilerGeoJsonStatisticsGetAllDefaultResponse, +): response is TilerGeoJsonStatisticsGetAllDefaultResponse; +export function isUnexpected( + response: TilerStatisticsGetAll200Response | TilerStatisticsGetAllDefaultResponse, +): response is TilerStatisticsGetAllDefaultResponse; +export function isUnexpected( + response: TilerInfoGeoJsonOperationsGet200Response | TilerInfoGeoJsonOperationsGetDefaultResponse, +): response is TilerInfoGeoJsonOperationsGetDefaultResponse; +export function isUnexpected( + response: TilerInfoOperationsGet200Response | TilerInfoOperationsGetDefaultResponse, +): response is TilerInfoOperationsGetDefaultResponse; +export function isUnexpected( + response: + | TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response + | TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse, +): response is TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse; +export function isUnexpected( + response: + | TilerPartsGetCroppedToBoundingBox200Response + | TilerPartsGetCroppedToBoundingBoxDefaultResponse, +): response is TilerPartsGetCroppedToBoundingBoxDefaultResponse; +export function isUnexpected( + response: TilerPointsGetPoint200Response | TilerPointsGetPointDefaultResponse, +): response is TilerPointsGetPointDefaultResponse; +export function isUnexpected( + response: TilerPreviewsGetFormat200Response | TilerPreviewsGetFormatDefaultResponse, +): response is TilerPreviewsGetFormatDefaultResponse; +export function isUnexpected( + response: TilerPreviewsGet200Response | TilerPreviewsGetDefaultResponse, +): response is TilerPreviewsGetDefaultResponse; +export function isUnexpected( + response: TilerStaticImagesCreate200Response | TilerStaticImagesCreateDefaultResponse, +): response is TilerStaticImagesCreateDefaultResponse; +export function isUnexpected( + response: TilerStaticImagesGet200Response | TilerStaticImagesGetDefaultResponse, +): response is TilerStaticImagesGetDefaultResponse; +export function isUnexpected( + response: + | TilerTileJsonTileMatrixSetsGet200Response + | TilerTileJsonTileMatrixSetsGetDefaultResponse, +): response is TilerTileJsonTileMatrixSetsGetDefaultResponse; +export function isUnexpected( + response: + | TilerTileMatrixSetsGetZxyScaleByFormat200Response + | TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse, +): response is TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse; +export function isUnexpected( + response: + | TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response + | TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse, +): response is TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse; +export function isUnexpected( + response: MapsClassMapLegendsGet200Response | MapsClassMapLegendsGetDefaultResponse, +): response is MapsClassMapLegendsGetDefaultResponse; +export function isUnexpected( + response: + | MapsIntervalLegendsGetByClassMapName200Response + | MapsIntervalLegendsGetByClassMapNameDefaultResponse, +): response is MapsIntervalLegendsGetByClassMapNameDefaultResponse; +export function isUnexpected( + response: MapsLegendsGet200Response | MapsLegendsGetDefaultResponse, +): response is MapsLegendsGetDefaultResponse; +export function isUnexpected( + response: + | MosaicsAssetsForPointsGetPointAssets200Response + | MosaicsAssetsForPointsGetPointAssetsDefaultResponse, +): response is MosaicsAssetsForPointsGetPointAssetsDefaultResponse; +export function isUnexpected( + response: + | MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response + | MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse, +): response is MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse; +export function isUnexpected( + response: MosaicsInfoSearchGet200Response | MosaicsInfoSearchGetDefaultResponse, +): response is MosaicsInfoSearchGetDefaultResponse; +export function isUnexpected( + response: MosaicsRegisterSearchRegister200Response | MosaicsRegisterSearchRegisterDefaultResponse, +): response is MosaicsRegisterSearchRegisterDefaultResponse; +export function isUnexpected( + response: + | MosaicsTileMatrixSetsTileJsonGet200Response + | MosaicsTileMatrixSetsTileJsonGetDefaultResponse, +): response is MosaicsTileMatrixSetsTileJsonGetDefaultResponse; +export function isUnexpected( + response: + | MosaicsTileMatrixSetsGetZxyScaleByFormat200Response + | MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse, +): response is MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse; +export function isUnexpected( + response: + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse, +): response is MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse; +export function isUnexpected( + response: SasGetToken200Response | SasGetTokenDefaultResponse, +): response is SasGetTokenDefaultResponse; +export function isUnexpected( + response: SasRevokeToken200Response | SasRevokeTokenDefaultResponse, +): response is SasRevokeTokenDefaultResponse; +export function isUnexpected( + response: SasGetSign200Response | SasGetSignDefaultResponse, +): response is SasGetSignDefaultResponse; +export function isUnexpected( + response: TilerTilesGetZxyScaleByFormat200Response | TilerTilesGetZxyScaleByFormatDefaultResponse, +): response is TilerTilesGetZxyScaleByFormatDefaultResponse; +export function isUnexpected( + response: TilerTileJsonOperationsGet200Response | TilerTileJsonOperationsGetDefaultResponse, +): response is TilerTileJsonOperationsGetDefaultResponse; +export function isUnexpected( + response: TilerWmtsGetCapabilitiesXml200Response | TilerWmtsGetCapabilitiesXmlDefaultResponse, +): response is TilerWmtsGetCapabilitiesXmlDefaultResponse; +export function isUnexpected( + response: + | MosaicsTilesGetZxyScaleByFormat200Response + | MosaicsTilesGetZxyScaleByFormatDefaultResponse, +): response is MosaicsTilesGetZxyScaleByFormatDefaultResponse; +export function isUnexpected( + response: MosaicsTileJsonOperationsGet200Response | MosaicsTileJsonOperationsGetDefaultResponse, +): response is MosaicsTileJsonOperationsGetDefaultResponse; +export function isUnexpected( + response: + | MosaicsWmtsMosaicsGetCapabilitiesXml200Response + | MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse, +): response is MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse; +export function isUnexpected( + response: + | MosaicsAssetsForTilesGetZxyAssets200Response + | MosaicsAssetsForTilesGetZxyAssetsDefaultResponse, +): response is MosaicsAssetsForTilesGetZxyAssetsDefaultResponse; +export function isUnexpected( + response: + | IngestionOperationsList200Response + | IngestionOperationsListDefaultResponse + | IngestionOperationsDeleteAll204Response + | IngestionOperationsDeleteAllDefaultResponse + | IngestionOperationsGet200Response + | IngestionOperationsGetDefaultResponse + | IngestionOperationsDelete204Response + | IngestionOperationsDeleteDefaultResponse + | IngestionRunsList200Response + | IngestionRunsListDefaultResponse + | IngestionRunsCreate201Response + | IngestionRunsCreateDefaultResponse + | IngestionRunsGet200Response + | IngestionRunsGetDefaultResponse + | IngestionsList200Response + | IngestionsListDefaultResponse + | IngestionsCreate201Response + | IngestionsCreateDefaultResponse + | IngestionsGet200Response + | IngestionsGetDefaultResponse + | IngestionsUpdate200Response + | IngestionsUpdateDefaultResponse + | IngestionsDelete202Response + | IngestionsDeleteLogicalResponse + | IngestionsDeleteDefaultResponse + | IngestionSourcesList200Response + | IngestionSourcesListDefaultResponse + | IngestionSourcesCreate201Response + | IngestionSourcesCreateDefaultResponse + | IngestionSourcesGet200Response + | IngestionSourcesGetDefaultResponse + | IngestionSourcesCreateOrReplace200Response + | IngestionSourcesCreateOrReplace201Response + | IngestionSourcesCreateOrReplaceDefaultResponse + | IngestionSourcesDelete204Response + | IngestionSourcesDeleteDefaultResponse + | IngestionSourcesListManagedIdentities200Response + | IngestionSourcesListManagedIdentitiesDefaultResponse + | StacCollectionAssetsCreate200Response + | StacCollectionAssetsCreate201Response + | StacCollectionAssetsCreateDefaultResponse + | StacCollectionAssetsCreateOrReplace200Response + | StacCollectionAssetsCreateOrReplace201Response + | StacCollectionAssetsCreateOrReplaceDefaultResponse + | StacCollectionAssetsDelete200Response + | StacCollectionAssetsDeleteDefaultResponse + | StacCollectionConfigGet200Response + | StacCollectionConfigGetDefaultResponse + | StacCollectionMosaicsGetAll200Response + | StacCollectionMosaicsGetAllDefaultResponse + | StacCollectionMosaicsAdd200Response + | StacCollectionMosaicsAdd201Response + | StacCollectionMosaicsAddDefaultResponse + | StacCollectionMosaicsGet200Response + | StacCollectionMosaicsGetDefaultResponse + | StacCollectionMosaicsCreateOrReplace200Response + | StacCollectionMosaicsCreateOrReplace201Response + | StacCollectionMosaicsCreateOrReplaceDefaultResponse + | StacCollectionMosaicsDelete200Response + | StacCollectionMosaicsDeleteDefaultResponse + | StacCollectionsGetAll200Response + | StacCollectionsGetAllDefaultResponse + | StacCollectionsCreate202Response + | StacCollectionsCreateLogicalResponse + | StacCollectionsCreateDefaultResponse + | StacCollectionsGet200Response + | StacCollectionsGetDefaultResponse + | StacCollectionsCreateOrReplace200Response + | StacCollectionsCreateOrReplaceLogicalResponse + | StacCollectionsCreateOrReplaceDefaultResponse + | StacCollectionsDelete202Response + | StacCollectionsDeleteLogicalResponse + | StacCollectionsDeleteDefaultResponse + | StacCollectionPartitionTypesGet200Response + | StacCollectionPartitionTypesGetDefaultResponse + | StacCollectionPartitionTypesReplace200Response + | StacCollectionPartitionTypesReplace404Response + | StacCollectionPartitionTypesReplaceDefaultResponse + | StacCollectionRenderOptionsGetAll200Response + | StacCollectionRenderOptionsGetAllDefaultResponse + | StacCollectionRenderOptionsCreate200Response + | StacCollectionRenderOptionsCreate201Response + | StacCollectionRenderOptionsCreateDefaultResponse + | StacCollectionRenderOptionsGet200Response + | StacCollectionRenderOptionsGetDefaultResponse + | StacCollectionRenderOptionsCreateOrReplace200Response + | StacCollectionRenderOptionsCreateOrReplace201Response + | StacCollectionRenderOptionsCreateOrReplaceDefaultResponse + | StacCollectionRenderOptionsDelete200Response + | StacCollectionRenderOptionsDeleteDefaultResponse + | StacCollectionThumbnailsGet200Response + | StacCollectionThumbnailsGetDefaultResponse + | StacCollectionTileSettingsGet200Response + | StacCollectionTileSettingsGetDefaultResponse + | StacCollectionTileSettingsReplace200Response + | StacCollectionTileSettingsReplaceDefaultResponse + | StacConformanceClassGet200Response + | StacConformanceClassGetDefaultResponse + | StacItemsGetFeatures200Response + | StacItemsGetFeaturesDefaultResponse + | StacItemsCreate202Response + | StacItemsCreateLogicalResponse + | StacItemsCreateDefaultResponse + | StacItemsGet200Response + | StacItemsGetDefaultResponse + | StacItemsCreateOrReplace202Response + | StacItemsCreateOrReplaceLogicalResponse + | StacItemsCreateOrReplaceDefaultResponse + | StacItemsUpdate202Response + | StacItemsUpdateLogicalResponse + | StacItemsUpdateDefaultResponse + | StacItemsDelete202Response + | StacItemsDeleteLogicalResponse + | StacItemsDeleteDefaultResponse + | StacLandingPagesGet200Response + | StacLandingPagesGetDefaultResponse + | StacQueryablesGetAll200Response + | StacQueryablesGetAllDefaultResponse + | StacQueryablesDelete200Response + | StacQueryablesDeleteDefaultResponse + | StacQueryablesCreateOrReplace200Response + | StacQueryablesCreateOrReplace201Response + | StacQueryablesCreateOrReplaceDefaultResponse + | StacQueryablesGetAllByCollection200Response + | StacQueryablesGetAllByCollectionDefaultResponse + | StacQueryablesCreate201Response + | StacQueryablesCreateDefaultResponse + | StacSearchGet200Response + | StacSearchGetDefaultResponse + | StacSearchCreate200Response + | StacSearchCreateDefaultResponse + | TileMatrixDefinitionsGet200Response + | TileMatrixDefinitionsGetDefaultResponse + | TileMatrixListGet200Response + | TileMatrixListGetDefaultResponse + | TilerAssetStatisticsGetAll200Response + | TilerAssetStatisticsGetAllDefaultResponse + | TilerAvailableAssetsGetAll200Response + | TilerAvailableAssetsGetAllDefaultResponse + | TilerBoundGetAll200Response + | TilerBoundGetAllDefaultResponse + | TilerGeoJsonsCropWidthByHeightFormat200Response + | TilerGeoJsonsCropWidthByHeightFormatDefaultResponse + | TilerGeoJsonsCropFormat200Response + | TilerGeoJsonsCropFormatDefaultResponse + | TilerGeoJsonStatisticsGetAll200Response + | TilerGeoJsonStatisticsGetAllDefaultResponse + | TilerStatisticsGetAll200Response + | TilerStatisticsGetAllDefaultResponse + | TilerInfoGeoJsonOperationsGet200Response + | TilerInfoGeoJsonOperationsGetDefaultResponse + | TilerInfoOperationsGet200Response + | TilerInfoOperationsGetDefaultResponse + | TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response + | TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse + | TilerPartsGetCroppedToBoundingBox200Response + | TilerPartsGetCroppedToBoundingBoxDefaultResponse + | TilerPointsGetPoint200Response + | TilerPointsGetPointDefaultResponse + | TilerPreviewsGetFormat200Response + | TilerPreviewsGetFormatDefaultResponse + | TilerPreviewsGet200Response + | TilerPreviewsGetDefaultResponse + | TilerStaticImagesCreate200Response + | TilerStaticImagesCreateDefaultResponse + | TilerStaticImagesGet200Response + | TilerStaticImagesGetDefaultResponse + | TilerTileJsonTileMatrixSetsGet200Response + | TilerTileJsonTileMatrixSetsGetDefaultResponse + | TilerTileMatrixSetsGetZxyScaleByFormat200Response + | TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse + | TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response + | TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + | MapsClassMapLegendsGet200Response + | MapsClassMapLegendsGetDefaultResponse + | MapsIntervalLegendsGetByClassMapName200Response + | MapsIntervalLegendsGetByClassMapNameDefaultResponse + | MapsLegendsGet200Response + | MapsLegendsGetDefaultResponse + | MosaicsAssetsForPointsGetPointAssets200Response + | MosaicsAssetsForPointsGetPointAssetsDefaultResponse + | MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response + | MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse + | MosaicsInfoSearchGet200Response + | MosaicsInfoSearchGetDefaultResponse + | MosaicsRegisterSearchRegister200Response + | MosaicsRegisterSearchRegisterDefaultResponse + | MosaicsTileMatrixSetsTileJsonGet200Response + | MosaicsTileMatrixSetsTileJsonGetDefaultResponse + | MosaicsTileMatrixSetsGetZxyScaleByFormat200Response + | MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + | SasGetToken200Response + | SasGetTokenDefaultResponse + | SasRevokeToken200Response + | SasRevokeTokenDefaultResponse + | SasGetSign200Response + | SasGetSignDefaultResponse + | TilerTilesGetZxyScaleByFormat200Response + | TilerTilesGetZxyScaleByFormatDefaultResponse + | TilerTileJsonOperationsGet200Response + | TilerTileJsonOperationsGetDefaultResponse + | TilerWmtsGetCapabilitiesXml200Response + | TilerWmtsGetCapabilitiesXmlDefaultResponse + | MosaicsTilesGetZxyScaleByFormat200Response + | MosaicsTilesGetZxyScaleByFormatDefaultResponse + | MosaicsTileJsonOperationsGet200Response + | MosaicsTileJsonOperationsGetDefaultResponse + | MosaicsWmtsMosaicsGetCapabilitiesXml200Response + | MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse + | MosaicsAssetsForTilesGetZxyAssets200Response + | MosaicsAssetsForTilesGetZxyAssetsDefaultResponse, +): response is + | IngestionOperationsListDefaultResponse + | IngestionOperationsDeleteAllDefaultResponse + | IngestionOperationsGetDefaultResponse + | IngestionOperationsDeleteDefaultResponse + | IngestionRunsListDefaultResponse + | IngestionRunsCreateDefaultResponse + | IngestionRunsGetDefaultResponse + | IngestionsListDefaultResponse + | IngestionsCreateDefaultResponse + | IngestionsGetDefaultResponse + | IngestionsUpdateDefaultResponse + | IngestionsDeleteDefaultResponse + | IngestionSourcesListDefaultResponse + | IngestionSourcesCreateDefaultResponse + | IngestionSourcesGetDefaultResponse + | IngestionSourcesCreateOrReplaceDefaultResponse + | IngestionSourcesDeleteDefaultResponse + | IngestionSourcesListManagedIdentitiesDefaultResponse + | StacCollectionAssetsCreateDefaultResponse + | StacCollectionAssetsCreateOrReplaceDefaultResponse + | StacCollectionAssetsDeleteDefaultResponse + | StacCollectionConfigGetDefaultResponse + | StacCollectionMosaicsGetAllDefaultResponse + | StacCollectionMosaicsAddDefaultResponse + | StacCollectionMosaicsGetDefaultResponse + | StacCollectionMosaicsCreateOrReplaceDefaultResponse + | StacCollectionMosaicsDeleteDefaultResponse + | StacCollectionsGetAllDefaultResponse + | StacCollectionsCreateDefaultResponse + | StacCollectionsGetDefaultResponse + | StacCollectionsCreateOrReplaceDefaultResponse + | StacCollectionsDeleteDefaultResponse + | StacCollectionPartitionTypesGetDefaultResponse + | StacCollectionPartitionTypesReplaceDefaultResponse + | StacCollectionRenderOptionsGetAllDefaultResponse + | StacCollectionRenderOptionsCreateDefaultResponse + | StacCollectionRenderOptionsGetDefaultResponse + | StacCollectionRenderOptionsCreateOrReplaceDefaultResponse + | StacCollectionRenderOptionsDeleteDefaultResponse + | StacCollectionThumbnailsGetDefaultResponse + | StacCollectionTileSettingsGetDefaultResponse + | StacCollectionTileSettingsReplaceDefaultResponse + | StacConformanceClassGetDefaultResponse + | StacItemsGetFeaturesDefaultResponse + | StacItemsCreateDefaultResponse + | StacItemsGetDefaultResponse + | StacItemsCreateOrReplaceDefaultResponse + | StacItemsUpdateDefaultResponse + | StacItemsDeleteDefaultResponse + | StacLandingPagesGetDefaultResponse + | StacQueryablesGetAllDefaultResponse + | StacQueryablesDeleteDefaultResponse + | StacQueryablesCreateOrReplaceDefaultResponse + | StacQueryablesGetAllByCollectionDefaultResponse + | StacQueryablesCreateDefaultResponse + | StacSearchGetDefaultResponse + | StacSearchCreateDefaultResponse + | TileMatrixDefinitionsGetDefaultResponse + | TileMatrixListGetDefaultResponse + | TilerAssetStatisticsGetAllDefaultResponse + | TilerAvailableAssetsGetAllDefaultResponse + | TilerBoundGetAllDefaultResponse + | TilerGeoJsonsCropWidthByHeightFormatDefaultResponse + | TilerGeoJsonsCropFormatDefaultResponse + | TilerGeoJsonStatisticsGetAllDefaultResponse + | TilerStatisticsGetAllDefaultResponse + | TilerInfoGeoJsonOperationsGetDefaultResponse + | TilerInfoOperationsGetDefaultResponse + | TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse + | TilerPartsGetCroppedToBoundingBoxDefaultResponse + | TilerPointsGetPointDefaultResponse + | TilerPreviewsGetFormatDefaultResponse + | TilerPreviewsGetDefaultResponse + | TilerStaticImagesCreateDefaultResponse + | TilerStaticImagesGetDefaultResponse + | TilerTileJsonTileMatrixSetsGetDefaultResponse + | TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse + | TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + | MapsClassMapLegendsGetDefaultResponse + | MapsIntervalLegendsGetByClassMapNameDefaultResponse + | MapsLegendsGetDefaultResponse + | MosaicsAssetsForPointsGetPointAssetsDefaultResponse + | MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse + | MosaicsInfoSearchGetDefaultResponse + | MosaicsRegisterSearchRegisterDefaultResponse + | MosaicsTileMatrixSetsTileJsonGetDefaultResponse + | MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse + | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + | SasGetTokenDefaultResponse + | SasRevokeTokenDefaultResponse + | SasGetSignDefaultResponse + | TilerTilesGetZxyScaleByFormatDefaultResponse + | TilerTileJsonOperationsGetDefaultResponse + | TilerWmtsGetCapabilitiesXmlDefaultResponse + | MosaicsTilesGetZxyScaleByFormatDefaultResponse + | MosaicsTileJsonOperationsGetDefaultResponse + | MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse + | MosaicsAssetsForTilesGetZxyAssetsDefaultResponse { + const lroOriginal = response.headers["x-ms-original-url"]; + const url = new URL(lroOriginal ?? response.request.url); + const method = response.request.method; + let pathDetails = responseMap[`${method} ${url.pathname}`]; + if (!pathDetails) { + pathDetails = getParametrizedPathSuccess(method, url.pathname); + } + return !pathDetails.includes(response.status); +} + +function getParametrizedPathSuccess(method: string, path: string): string[] { + const pathParts = path.split("/"); + + // Traverse list to match the longest candidate + // matchedLen: the length of candidate path + // matchedValue: the matched status code array + let matchedLen = -1, + matchedValue: string[] = []; + + // Iterate the responseMap to find a match + for (const [key, value] of Object.entries(responseMap)) { + // Extracting the path from the map key which is in format + // GET /path/foo + if (!key.startsWith(method)) { + continue; + } + const candidatePath = getPathFromMapKey(key); + // Get each part of the url path + const candidateParts = candidatePath.split("/"); + + // track if we have found a match to return the values found. + let found = true; + for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) { + if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) { + const start = candidateParts[i]!.indexOf("}") + 1, + end = candidateParts[i]?.length; + // If the current part of the candidate is a "template" part + // Try to use the suffix of pattern to match the path + // {guid} ==> $ + // {guid}:export ==> :export$ + const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test( + pathParts[j] || "", + ); + + if (!isMatched) { + found = false; + break; + } + continue; + } + + // If the candidate part is not a template and + // the parts don't match mark the candidate as not found + // to move on with the next candidate path. + if (candidateParts[i] !== pathParts[j]) { + found = false; + break; + } + } + + // We finished evaluating the current candidate parts + // Update the matched value if and only if we found the longer pattern + if (found && candidatePath.length > matchedLen) { + matchedLen = candidatePath.length; + matchedValue = value; + } + } + + return matchedValue; +} + +function getPathFromMapKey(mapKey: string): string { + const pathStart = mapKey.indexOf("/"); + return mapKey.slice(pathStart); +} diff --git a/sdk/planetarycomputer/planetarycomputer/src/logger.ts b/sdk/planetarycomputer/planetarycomputer/src/logger.ts new file mode 100644 index 000000000000..b0dcee5eac69 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/logger.ts @@ -0,0 +1,5 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { createClientLogger } from "@azure/logger"; +export const logger = createClientLogger("planetarycomputer"); diff --git a/sdk/planetarycomputer/planetarycomputer/src/models.ts b/sdk/planetarycomputer/planetarycomputer/src/models.ts new file mode 100644 index 000000000000..cefb5292091e --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/models.ts @@ -0,0 +1,831 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +/** Microsoft Planetary Computer Pro geo-catalog ingestion creation model */ +export interface Ingestion { + /** + * Ingestion type + * + * Possible values: "StaticCatalog" + */ + importType: IngestionType; + /** Ingestion name */ + displayName?: string; + /** Source catalog URL. Required for StaticCatalog ingestion type */ + sourceCatalogUrl?: string; + /** Skip processing existing items in the catalog */ + skipExistingItems?: boolean; + /** Keep original source assets */ + keepOriginalAssets?: boolean; +} + +/** Ingestion Source */ +export interface IngestionSourceParent { + /** Ingestion source id */ + id: string; + kind: IngestionSourceType; +} + +/** SAS Token ingestion source */ +export interface SharedAccessSignatureTokenIngestionSource extends IngestionSourceParent { + kind: "SasToken"; + /** SAS token connection information */ + connectionInfo: SharedAccessSignatureTokenConnection; +} + +/** SAS Token connection information */ +export interface SharedAccessSignatureTokenConnection { + /** Azure Blob Storage container URL */ + containerUrl: string; + /** SAS token */ + sasToken?: string; +} + +/** Managed Identity ingestion source */ +export interface ManagedIdentityIngestionSource extends IngestionSourceParent { + kind: "BlobManagedIdentity"; + /** Managed identity connection information */ + connectionInfo: ManagedIdentityConnection; +} + +/** Managed Identity connection information */ +export interface ManagedIdentityConnection { + /** Azure Blob Storage container URL */ + containerUrl: string; + /** Azure Managed Identity configured in the Geo-Catalog with access to the container */ + objectId: string; +} + +export interface FormContentDataPartDescriptor { + name: "data"; + body: AssetMetadata; +} + +export interface FormContentFilePartDescriptor { + name: "file"; + body: string | Uint8Array | ReadableStream | NodeJS.ReadableStream | File; + filename?: string; + contentType?: string; +} + +/** Asset metadata model. */ +export interface AssetMetadata { + /** The key of the asset. */ + key: string; + /** The type of the asset. */ + type: string; + /** The roles of the asset. */ + roles: string[]; + /** The title of the asset. */ + title: string; + /** The description of the asset. */ + description: string; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md + * + * Represents a STAC collection. + */ +export interface StacCollection { + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + "msft:short_description"?: string; + /** URLs to STAC extensions implemented by this STAC resource. */ + stac_extensions?: string[]; + /** Unique identifier for the collection. */ + id: string; + /** Detailed description of the collection. */ + description: string; + /** Stac Version */ + stac_version?: string; + /** Links to related resources and endpoints. */ + links: Array; + /** Human-readable title for the collection. */ + title?: string; + /** Type */ + type?: string; + /** Assets */ + assets?: Record; + /** License identifier for the collection data. */ + license: string; + /** Spatial and temporal extent of the collection. */ + extent: StacExtensionExtent; + /** Keywords describing the collection. */ + keywords?: string[]; + /** Organizations or individuals who provide the collection data. */ + providers?: Array; + /** + * Summaries + * + * See the [STAC Collection Spec](https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object). + */ + summaries?: Record; +} + +/** + * Link model. + * + * Ref: + * http://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml + * + * Represents a link. + */ +export interface StacLink { + /** The relationship type of the link. */ + rel?: string; + /** The title of the link. */ + title?: string; + /** + * The MIME type of the linked resource. + * + * Possible values: "image/tiff; application=geotiff", "image/jp2", "image/png", "image/jpeg", "image/jpg", "image/webp", "application/x-binary", "application/xml", "application/json", "application/geo+json", "text/html", "text/plain", "application/x-protobuf" + */ + type?: StacLinkType; + /** The URL of the link. */ + href: string; + /** The language of the linked resource. */ + hreflang?: string; + /** The length of the linked resource. */ + length?: number; + /** + * Specifies the HTTP method that the resource expects. + * Default: GET. + */ + method?: string; + /** + * Object key-value pairs that map to headers. + * Example: { "Accept": "application/json" }. + */ + headers?: Record; + /** For POST requests, the resource can specify the HTTP body as a JSON object. */ + body?: Record; + /** + * Indicates whether the client is expected to merge the body value into the current request body before following the link. + * This is only valid when the server is responding to a POST request. + * Default: false. + */ + merge?: boolean; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/item-spec.md#asset-object + * + * Represents a STAC asset, which is a file or resource associated with a STAC item. + */ +export interface StacAsset extends Record { + /** Platform that acquired the data. */ + platform?: string; + /** Instruments that acquired the data. */ + instruments?: string[]; + /** Constellation of satellites that acquired the data. */ + constellation?: string; + /** Mission associated with the data. */ + mission?: string; + /** Organizations or individuals who provide the data. */ + providers?: Array; + /** Ground sample distance in meters. */ + gsd?: number; + /** Creation timestamp of the data. */ + created?: Date | string; + /** Last update timestamp of the data. */ + updated?: Date | string; + /** Human-readable title for the asset. */ + title?: string; + /** Detailed description of the asset. */ + description?: string; + /** URL to the asset file. */ + href: string; + /** Media type of the asset. */ + type?: string; + /** Roles of the asset within the item. */ + roles?: string[]; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#provider-object + * + * Represents information about a data provider for STAC collections and items. + */ +export interface StacProvider { + /** Name of the provider organization or individual. */ + name: string; + /** Description of the provider. */ + description?: string; + /** Roles played by the provider (e.g., producer, processor, host). */ + roles?: string[]; + /** URL to the provider's website. */ + url?: string; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#extent-object + * + * Represents the spatial and temporal extent of a STAC collection. + */ +export interface StacExtensionExtent { + /** + * Spatial extent defined by bounding boxes. + * + * See the [STAC Collection Spec](https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object). + */ + spatial: StacExtensionSpatialExtent; + /** + * Temporal extent defined by time intervals. + * + * See the [STAC Collection Spec](https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object). + */ + temporal: StacCollectionTemporalExtent; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object + * + * Represents the spatial extent of a STAC collection with bounding boxes. + */ +export interface StacExtensionSpatialExtent { + /** Array of bounding boxes defining the spatial extent, in format [[west, south, east, north]]. */ + bbox?: number[][]; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#temporal-extent-object + * + * Represents the temporal extent of a STAC collection with time intervals. + */ +export interface StacCollectionTemporalExtent { + /** Array of time intervals in format [[start_datetime, end_datetime]]. */ + interval: string[][]; +} + +/** Configuration for map tile visualization. */ +export interface TileSettings { + /** + * The minimum zoom level that can be requested for this collection. Provides a + * hard limit for the tile servers to ensure they don't get requests for low zoom + * levels, which would cause many files to be fetched and the tile servers to + * hang. + */ + minZoom: number; + /** Maximum number of items to include in a single tile. */ + maxItemsPerTile: number; + /** Default map location when displaying this collection. */ + defaultLocation?: DefaultLocation; +} + +/** Defines a default geographic location for map visualization. */ +export interface DefaultLocation { + /** Default zoom level for the map. */ + zoom: number; + /** Default center coordinates [latitude, longitude] for the map. */ + coordinates: number[]; +} + +/** Defines a named mosaic with filtering criteria. */ +export interface StacMosaic { + /** Unique identifier for the mosaic. */ + id: string; + /** Short descriptive name for the mosaic. */ + name: string; + /** Detailed description of the mosaic. */ + description?: string; + /** A list of valid CQL2-JSON expressions used to filter the collection to moasic. */ + cql: Record[]; +} + +/** Defines visualization parameters for rendering data on a map. */ +export interface RenderOption { + /** Unique identifier for the render option. */ + id: string; + /** Short descriptive name for the render option. */ + name: string; + /** + * A longer description of the render option that can be used to explain its + * content. + */ + description?: string; + /** + * The type of rendering to apply (raster or vector). + * + * Possible values: "raster-tile", "vt-polygon", "vt-line" + */ + type?: RenderOptionType; + /** + * A URL query-string encoded string of TiTiler rendering options. Valid only for + * `raster-tile` types. + * + * See [Query Parameters](https://developmentseed.org/titiler/endpoints/cog/#description). + */ + options?: string; + /** + * Options for rendering vector tiles. Valid only for `vt-polygon` and `vt-line` + * types. + */ + vectorOptions?: RenderOptionVectorOptions; + /** Minimum zoom level at which to display this layer. */ + minZoom?: number; + /** Legend configuration for this render option. */ + legend?: RenderOptionLegend; + /** + * A list of property/value conditions that must be in the active mosaic CQL for + * this render option to be enabled + */ + conditions?: Array; +} + +/** Defines parameters for vector tile rendering. */ +export interface RenderOptionVectorOptions { + /** Asset key containing the TileJSON URL. */ + tilejsonKey: string; + /** Name of the source layer in the vector tiles. */ + sourceLayer: string; + /** Fill color for polygon features. */ + fillColor?: string; + /** Stroke color for line features. */ + strokeColor?: string; + /** Width of line strokes in pixels. */ + strokeWidth?: number; + /** MapBox GL filter expression to filter features. */ + filter?: string[]; +} + +/** Configuration for generating a data legend. */ +export interface RenderOptionLegend { + /** + * Legend type to make, + * one of: `continuous`, + * `classmap`, + * `interval` or `none` + * (note, `none` is a string literal). + * + * Possible values: "continuous", "classmap", "interval", "none" + */ + type?: LegendConfigType; + /** Text labels to display on the legend. */ + labels?: string[]; + /** + * The number of items to trim from the start of the legend definition. Used if + * there are values important for rendering (e.g. nodata) that aren't desirable in + * the legend. + */ + trimStart?: number; + /** Number of items to trim from the end of the legend. */ + trimEnd?: number; + /** + * A factor to multiply interval legend labels by. Useful for scaled rasters whose + * colormap definitions map to unscaled values, effectively showing legend labels + * as scaled values. + */ + scaleFactor?: number; +} + +/** Defines a condition for enabling a render option. */ +export interface RenderOptionCondition { + /** Property name to check in the active CQL filter. */ + property: string; + /** Value that the property must equal. */ + value?: string; +} + +/** Defines how data is partitioned for efficient storage and retrieval. */ +export interface PartitionType { + /** + * Partitioning scheme to use for data organization. + * + * Possible values: "year", "month", "none" + */ + scheme?: PartitionTypeScheme; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/itemcollection-spec.md + * + * Represents a collection of STAC Items as a GeoJSON FeatureCollection. + */ +export interface StacItemCollection extends StacItemOrStacItemCollectionParent { + /** GeoJSON FeatureCollection type. */ + type: "FeatureCollection"; + /** Array of STAC Items in the collection. */ + features: Array; + /** Bounding box of all items in format [west, south, east, north]. */ + bbox?: number[]; + /** Context information for the search response. */ + context?: StacContextExtension; +} + +/** Represents a STAC Item, which is a GeoJSON Feature with additional metadata. */ +export interface StacItem extends StacItemOrStacItemCollectionParent { + /** Geometry object defining the feature's shape */ + geometry: Geometry; + /** Bounding box coordinates for the feature */ + bbox: number[]; + /** Unique identifier for the feature */ + id: string; + /** GeoJSON type identifier for Feature */ + type: "Feature"; + /** ID of the STAC collection this item belongs to. */ + collection?: string; + /** Attributes associated with the feature */ + properties: StacItemProperties; + /** Assets */ + assets: Record; + /** MSFT Timestamp */ + "_msft:ts"?: string; + /** MSFT ETag */ + "_msft:etag"?: string; +} + +/** + * Represents a GeoJSON geometry object as defined by RFC 7946. + * + * Supported geometry types include: + * - **Point**: A single geographic coordinate. + * - **LineString**: A sequence of geographic coordinates forming a line. + * - **Polygon**: A closed shape defined by linear rings. + * - **MultiPoint**: A collection of Points. + * - **MultiLineString**: A collection of LineStrings. + * - **MultiPolygon**: A collection of Polygons. + * + * Used for spatial filtering in STAC. + */ +export interface GeometryParent { + /** Optional bounding box of the geometry. */ + bbox?: number[]; + type: string; +} + +/** Represents a GeoJSON Point geometry. */ +export interface Point extends GeometryParent { + /** The geometry type, always "Point" for Point geometries. */ + type: "Point"; + /** The coordinates of the point as [longitude, latitude]. */ + coordinates: string; +} + +/** Represents a Polygon. */ +export interface Polygon extends GeometryParent { + /** The coordinates of the polygon. */ + coordinates: number[][][]; + /** The type of the polygon. */ + type: "Polygon"; +} + +/** Represents a MultiPolygon. */ +export interface MultiPolygon extends GeometryParent { + /** The coordinates of the multipolygon. */ + coordinates: number[][][]; + /** The type of the multipolygon. */ + type: "MultiPolygon"; +} + +/** Represents a MultiLineString. */ +export interface MultiLineString extends GeometryParent { + /** The type of the multilinestring. */ + type: "MultiLineString"; + /** The coordinates of the multilinestring. */ + coordinates: number[][]; +} + +/** Represents a LineString. */ +export interface LineString extends GeometryParent { + /** The type of the linestring. */ + type: "LineString"; + /** The coordinates of the linestring. */ + coordinates: number[]; +} + +/** Represents a MultiPoint. */ +export interface MultiPoint extends GeometryParent { + /** The type of the multipoint. */ + type: "MultiPoint"; + /** The coordinates of the multipoint. */ + coordinates: number[]; +} + +/** + * Properties of a STAC Item containing metadata about the asset. + * + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/item-spec.md#properties-object + */ +export interface StacItemProperties extends Record { + /** Platform that acquired the data. */ + platform?: string; + /** Instruments that acquired the data. */ + instruments?: string[]; + /** Constellation of satellites that acquired the data. */ + constellation?: string; + /** Mission associated with the data. */ + mission?: string; + /** Organizations or individuals who provide the data. */ + providers?: Array; + /** Ground sample distance in meters. */ + gsd?: number; + /** Creation timestamp of the data. */ + created?: Date | string; + /** Last update timestamp of the data. */ + updated?: Date | string; + /** Human-readable title for the item. */ + title?: string; + /** Detailed description of the item. */ + description?: string; + /** Datetime the asset represents in RFC 3339 format. */ + datetime: string; + /** Start time of the item observation period. */ + start_datetime?: Date | string; + /** End time of the item observation period. */ + end_datetime?: Date | string; +} + +/** Base type for STAC items and collections with discriminator. */ +export interface StacItemOrStacItemCollectionParent { + /** Stac Version */ + stac_version?: string; + /** Links to related resources and endpoints. */ + links?: Array; + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + "msft:short_description"?: string; + /** URLs to STAC extensions implemented by this STAC resource. */ + stac_extensions?: string[]; + type: string; +} + +/** + * https://github.com/radiantearth/stac-api-spec/tree/master/extensions/context#context-extension-specification + * + * Context information for a search response including pagination details. + */ +export interface StacContextExtension { + /** Number of items returned in the response. */ + returned: number; + /** Maximum number of items requested. */ + limit?: number; + /** Total number of items matching the query. */ + matched?: number; +} + +/** Definition of a queryable field for STAC API filtering. */ +export interface StacQueryable { + /** Name of the queryable field. */ + name: string; + /** Metadata for the queryable field. */ + definition: Record; + /** Whether to create a database index for this field. */ + create_index?: boolean; + /** + * Data type of the queryable field. + * + * Possible values: "string", "number", "boolean", "timestamp", "date" + */ + data_type?: StacQueryableDefinitionDataType; +} + +/** + * Search model. + * * + * Defines parameters for a STAC search POST request. + */ +export interface StacSearchParameters { + /** List of collection IDs to search within. */ + collections?: string[]; + /** List of specific item IDs to return. */ + ids?: string[]; + /** Bounding box for spatial filtering in format [west, south, east, north]. */ + bbox?: number[]; + /** GeoJSON geometry for spatial filtering. */ + intersects?: Geometry; + /** Temporal filter in RFC 3339 format, can be a single time or range. */ + datetime?: string; + /** Maximum number of results to return. */ + limit?: number; + /** + * Conf + * + * Overrides datetime validation from the base request model. + */ + conf?: Record; + /** + * Whether to sign asset URLs in the response. + * + * Possible values: "true", "false" + */ + sign?: StacAssetUrlSigningMode; + /** URL signature duration in minutes. */ + duration?: number; + /** + * STAC Query + * + * See the [STAC Query Extension](https://github.com/stac-api-extensions/query). + */ + query?: Record; + /** + * Sort criteria for the search results. + * + * See the [STAC Sort Extension](https://github.com/stac-api-extensions/sort). + */ + sortby?: Array; + /** + * Specifies which fields to include or exclude in the STAC search results. + * + * See the [STAC Fields Extension](https://github.com/stac-api-extensions/fields). + */ + fields?: Array; + /** + * CQL2 Filter + * + * See the [STAC Filter Extension](https://github.com/stac-api-extensions/filter). + */ + filter?: Record; + /** Coordinate reference system for the filter. */ + "filter-crs"?: string; + /** + * Filter language to use for the filter expression. + * + * Possible values: "cql-json", "cql2-json", "cql2-text" + */ + "filter-lang"?: FilterLanguage; + /** Pagination token for fetching the next set of results. */ + token?: string; +} + +/** + * https://github.com/radiantearth/stac-api-spec/tree/master/extensions/sort#sort-api-extension + * + * Represents a sort specification for STAC API queries. + */ +export interface StacSortExtension { + /** The field name to sort by. */ + field: string; + /** + * The sort direction (ascending or descending). + * + * Possible values: "asc", "desc" + */ + direction: StacSearchSortingDirection; +} + +/** + * FieldsExtension. + * + * Attributes: + * include: set of fields to include. + * exclude: set of fields to exclude. + * + * Controls which fields to include or exclude from the response. + */ +export interface SearchOptionsFields { + /** Array of field names to include in the response. */ + include?: string[]; + /** Array of field names to exclude from the response. */ + exclude?: string[]; +} + +/** Parameters for requesting a rendered image from a collection */ +export interface ImageRequest { + /** Cql */ + cql: Record; + /** Zoom */ + zoom?: number; + /** Geometry */ + geometry?: Geometry; + /** JSON-encoded visualization parameters */ + render_params: string; + /** Width of the output image in pixels */ + cols: number; + /** Height of the output image in pixels */ + rows: number; + /** Whether to include branding on the output image */ + showBranding?: boolean; + /** Image size */ + imageSize?: string; +} + +/** Metadata information for mosaic or search results */ +export interface MosaicMetadata { + /** + * Type of metadata resource + * + * Possible values: "mosaic", "search" + */ + type?: MosaicMetadataType; + /** Geographic bounding box in [west, south, east, north] format */ + bounds?: string; + /** Minimum zoom level supported */ + minzoom?: number; + /** Maximum zoom level supported */ + maxzoom?: number; + /** Human-readable name for the resource */ + name?: string; + /** List of asset identifiers included in the resource */ + assets?: string[]; + /** Defaults */ + defaults?: Record; +} + +/** Input parameters for registering a new mosaic of STAC items */ +export interface RegisterMosaic { + /** List of STAC collection IDs to include in the mosaic */ + collections?: string[]; + /** List of specific STAC item IDs to include in the mosaic */ + ids?: string[]; + /** Geographic bounding box to filter items [west, south, east, north] */ + bbox?: number; + /** GeoJSON geometry to spatially filter items by intersection */ + intersects?: Geometry; + /** Query */ + query?: Record; + /** Filter */ + filter?: Record; + /** Temporal filter in RFC 3339 format or interval */ + datetime?: string; + /** Criteria for ordering items in the mosaic */ + sortby?: Array; + /** + * Query language format used in the filter parameter + * + * Possible values: "cql-json", "cql2-json", "cql2-text" + */ + "filter-lang"?: FilterLanguage; + /** Additional metadata to associate with the mosaic */ + metadata?: MosaicMetadata; +} + +/** Ingestion Source */ +export type IngestionSource = + | IngestionSourceParent + | SharedAccessSignatureTokenIngestionSource + | ManagedIdentityIngestionSource; +/** + * Represents a GeoJSON geometry object as defined by RFC 7946. + * + * Supported geometry types include: + * - **Point**: A single geographic coordinate. + * - **LineString**: A sequence of geographic coordinates forming a line. + * - **Polygon**: A closed shape defined by linear rings. + * - **MultiPoint**: A collection of Points. + * - **MultiLineString**: A collection of LineStrings. + * - **MultiPolygon**: A collection of Polygons. + * + * Used for spatial filtering in STAC. + */ +export type Geometry = + | GeometryParent + | Point + | Polygon + | MultiPolygon + | MultiLineString + | LineString + | MultiPoint; +/** Base type for STAC items and collections with discriminator. */ +export type StacItemOrStacItemCollection = + | StacItemOrStacItemCollectionParent + | StacItemCollection + | StacItem; +/** Alias for OperationStatus */ +export type OperationStatus = string; +/** Alias for IngestionType */ +export type IngestionType = string; +/** Alias for IngestionStatus */ +export type IngestionStatus = string; +/** Alias for IngestionSourceType */ +export type IngestionSourceType = string; +/** FormContent model for file upload. */ +export type FormContent = + | FormData + | Array; +/** Alias for StacLinkType */ +export type StacLinkType = string; +/** Alias for RenderOptionType */ +export type RenderOptionType = string; +/** Alias for LegendConfigType */ +export type LegendConfigType = string; +/** Alias for StacAssetUrlSigningMode */ +export type StacAssetUrlSigningMode = string; +/** Alias for PartitionTypeScheme */ +export type PartitionTypeScheme = string; +/** Alias for StacQueryableDefinitionDataType */ +export type StacQueryableDefinitionDataType = string; +/** Alias for StacSearchSortingDirection */ +export type StacSearchSortingDirection = string; +/** Alias for FilterLanguage */ +export type FilterLanguage = string; +/** Alias for Resampling */ +export type Resampling = string; +/** Alias for TerrainAlgorithm */ +export type TerrainAlgorithm = string; +/** Alias for ColorMapNames */ +export type ColorMapNames = string; +/** Alias for TilerImageFormat */ +export type TilerImageFormat = string; +/** Alias for MosaicMetadataType */ +export type MosaicMetadataType = string; +/** Alias for PixelSelection */ +export type PixelSelection = string; +/** Alias for TileMatrixSetId */ +export type TileMatrixSetId = string; diff --git a/sdk/planetarycomputer/planetarycomputer/src/outputModels.ts b/sdk/planetarycomputer/planetarycomputer/src/outputModels.ts new file mode 100644 index 000000000000..ccd4968ea777 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/outputModels.ts @@ -0,0 +1,1319 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { ErrorModel } from "@azure-rest/core-client"; + +/** Generic paged response model */ +export interface PageOperationOutput { + /** The items on the page */ + value: Array; + /** Link to the next page of results */ + nextLink?: string; +} + +/** Microsoft Planetary Computer Pro geo-catalog operation */ +export interface OperationOutput { + /** Operation id */ + id: string; + /** + * Operation status + * + * Possible values: "Pending", "Running", "Succeeded", "Canceled", "Canceling", "Failed" + */ + status: OperationStatusOutput; + /** Operation type */ + type: string; + /** The UTC time at which the operation was created */ + creationTime: string; + /** Collection ID */ + collectionId?: string; + /** The history of the operation status in time */ + statusHistory: Array; + /** The UTC time at which the operation was started */ + startTime?: string; + /** The UTC time at which the operation finished its execution */ + finishTime?: string; + /** Additional information elements about the particular operation type */ + additionalInformation?: Record; + /** Error information */ + error?: ErrorModel; +} + +/** Operation status history item */ +export interface OperationStatusHistoryItemOutput { + /** The UTC time at which the status was set */ + timestamp: string; + /** + * The status of the operation + * + * Possible values: "Pending", "Running", "Succeeded", "Canceled", "Canceling", "Failed" + */ + status: OperationStatusOutput; + /** If the status is failed, the error code */ + errorCode?: string; + /** If the status is failed, the error message */ + errorMessage?: string; +} + +/** Generic paged response model */ +export interface PageIngestionRunOutput { + /** The items on the page */ + value: Array; + /** Link to the next page of results */ + nextLink?: string; +} + +/** Microsoft Planetary Computer Pro geo-catalog ingestion run */ +export interface IngestionRunOutput { + /** Run id */ + id: string; + /** Run id which this run is associated to because it has been retried or rerun */ + parentRunId?: string; + /** Operation */ + operation: IngestionRunOperationOutput; + /** Creation time */ + creationTime: string; + /** URL of the source catalog */ + sourceCatalogUrl?: string; + /** Skip any item that already exist in the GeoCatalog */ + skipExistingItems?: boolean; + /** Keep original source assets */ + keepOriginalAssets?: boolean; +} + +/** Microsoft Planetary Computer Pro geo-catalog ingestion run operation */ +export interface IngestionRunOperationOutput { + /** Operation id */ + id: string; + /** + * Operation status + * + * Possible values: "Pending", "Running", "Succeeded", "Canceled", "Canceling", "Failed" + */ + status: OperationStatusOutput; + /** The UTC time at which the operation was created */ + creationTime: string; + /** The history of the operation status in time */ + statusHistory: Array; + /** The UTC time at which the operation was started */ + startTime?: string; + /** The UTC time at which the operation finished its execution */ + finishTime?: string; + /** The number of total items to be processed */ + totalItems: number; + /** The number of items pending to be processed */ + totalPendingItems: number; + /** The number of items successfully processed */ + totalSuccessfulItems: number; + /** The number of items that have failed to be processed */ + totalFailedItems: number; +} + +/** Generic paged response model */ +export interface PageIngestionOutput { + /** The items on the page */ + value: Array; + /** Link to the next page of results */ + nextLink?: string; +} + +/** Microsoft Planetary Computer Pro geo-catalog ingestion creation model */ +export interface IngestionOutput { + /** Ingestion id */ + readonly id: string; + /** + * Ingestion type + * + * Possible values: "StaticCatalog" + */ + importType: IngestionTypeOutput; + /** Ingestion name */ + displayName?: string; + /** Source catalog URL. Required for StaticCatalog ingestion type */ + sourceCatalogUrl?: string; + /** Skip processing existing items in the catalog */ + skipExistingItems?: boolean; + /** Keep original source assets */ + keepOriginalAssets?: boolean; + /** Ingestion creation time */ + readonly creationTime: string; + /** + * Ingestion status + * + * Possible values: "Ready", "Deleting" + */ + readonly status: IngestionStatusOutput; +} + +/** Generic paged response model */ +export interface PageIngestionSourceSummaryOutput { + /** The items on the page */ + value: Array; + /** Link to the next page of results */ + nextLink?: string; +} + +/** Ingestion source summary */ +export interface IngestionSourceSummaryOutput { + /** Ingestion source id */ + id: string; + /** + * Ingestion source type + * + * Possible values: "SasToken", "BlobManagedIdentity" + */ + kind: IngestionSourceTypeOutput; + /** Created time in UTC format */ + created: string; +} + +/** Ingestion Source */ +export interface IngestionSourceOutputParent { + /** Ingestion source id */ + id: string; + /** Created time in UTC format */ + readonly created: string; + kind: IngestionSourceTypeOutput; +} + +/** SAS Token ingestion source */ +export interface SharedAccessSignatureTokenIngestionSourceOutput + extends IngestionSourceOutputParent { + kind: "SasToken"; + /** SAS token connection information */ + connectionInfo: SharedAccessSignatureTokenConnectionOutput; +} + +/** SAS Token connection information */ +export interface SharedAccessSignatureTokenConnectionOutput { + /** Azure Blob Storage container URL */ + containerUrl: string; + /** SAS token */ + sasToken?: string; + /** Azure Blob Storage SAS token expiration in UTC format */ + readonly expiration?: string; +} + +/** Managed Identity ingestion source */ +export interface ManagedIdentityIngestionSourceOutput extends IngestionSourceOutputParent { + kind: "BlobManagedIdentity"; + /** Managed identity connection information */ + connectionInfo: ManagedIdentityConnectionOutput; +} + +/** Managed Identity connection information */ +export interface ManagedIdentityConnectionOutput { + /** Azure Blob Storage container URL */ + containerUrl: string; + /** Azure Managed Identity configured in the Geo-Catalog with access to the container */ + objectId: string; +} + +/** Generic paged response model */ +export interface PageManagedIdentityMetadataOutput { + /** The items on the page */ + value: Array; + /** Link to the next page of results */ + nextLink?: string; +} + +/** Managed Identity metadata */ +export interface ManagedIdentityMetadataOutput { + /** Object id of the managed identity */ + objectId: string; + /** ARM path or resource id of the managed identity */ + resourceId: string; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md + * + * Represents a STAC collection. + */ +export interface StacCollectionOutput { + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + "msft:short_description"?: string; + /** URLs to STAC extensions implemented by this STAC resource. */ + stac_extensions?: string[]; + /** Unique identifier for the collection. */ + id: string; + /** Detailed description of the collection. */ + description: string; + /** Stac Version */ + stac_version?: string; + /** Links to related resources and endpoints. */ + links: Array; + /** Human-readable title for the collection. */ + title?: string; + /** Type */ + type?: string; + /** Assets */ + assets?: Record; + /** License identifier for the collection data. */ + license: string; + /** Spatial and temporal extent of the collection. */ + extent: StacExtensionExtentOutput; + /** Keywords describing the collection. */ + keywords?: string[]; + /** Organizations or individuals who provide the collection data. */ + providers?: Array; + /** + * Summaries + * + * See the [STAC Collection Spec](https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object). + */ + summaries?: Record; +} + +/** + * Link model. + * + * Ref: + * http://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/schemas/link.yaml + * + * Represents a link. + */ +export interface StacLinkOutput { + /** The relationship type of the link. */ + rel?: string; + /** The title of the link. */ + title?: string; + /** + * The MIME type of the linked resource. + * + * Possible values: "image/tiff; application=geotiff", "image/jp2", "image/png", "image/jpeg", "image/jpg", "image/webp", "application/x-binary", "application/xml", "application/json", "application/geo+json", "text/html", "text/plain", "application/x-protobuf" + */ + type?: StacLinkTypeOutput; + /** The URL of the link. */ + href: string; + /** The language of the linked resource. */ + hreflang?: string; + /** The length of the linked resource. */ + length?: number; + /** + * Specifies the HTTP method that the resource expects. + * Default: GET. + */ + method?: string; + /** + * Object key-value pairs that map to headers. + * Example: { "Accept": "application/json" }. + */ + headers?: Record; + /** For POST requests, the resource can specify the HTTP body as a JSON object. */ + body?: Record; + /** + * Indicates whether the client is expected to merge the body value into the current request body before following the link. + * This is only valid when the server is responding to a POST request. + * Default: false. + */ + merge?: boolean; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/item-spec.md#asset-object + * + * Represents a STAC asset, which is a file or resource associated with a STAC item. + */ +export interface StacAssetOutput extends Record { + /** Platform that acquired the data. */ + platform?: string; + /** Instruments that acquired the data. */ + instruments?: string[]; + /** Constellation of satellites that acquired the data. */ + constellation?: string; + /** Mission associated with the data. */ + mission?: string; + /** Organizations or individuals who provide the data. */ + providers?: Array; + /** Ground sample distance in meters. */ + gsd?: number; + /** Creation timestamp of the data. */ + created?: string; + /** Last update timestamp of the data. */ + updated?: string; + /** Human-readable title for the asset. */ + title?: string; + /** Detailed description of the asset. */ + description?: string; + /** URL to the asset file. */ + href: string; + /** Media type of the asset. */ + type?: string; + /** Roles of the asset within the item. */ + roles?: string[]; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#provider-object + * + * Represents information about a data provider for STAC collections and items. + */ +export interface StacProviderOutput { + /** Name of the provider organization or individual. */ + name: string; + /** Description of the provider. */ + description?: string; + /** Roles played by the provider (e.g., producer, processor, host). */ + roles?: string[]; + /** URL to the provider's website. */ + url?: string; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#extent-object + * + * Represents the spatial and temporal extent of a STAC collection. + */ +export interface StacExtensionExtentOutput { + /** + * Spatial extent defined by bounding boxes. + * + * See the [STAC Collection Spec](https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object). + */ + spatial: StacExtensionSpatialExtentOutput; + /** + * Temporal extent defined by time intervals. + * + * See the [STAC Collection Spec](https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object). + */ + temporal: StacCollectionTemporalExtentOutput; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#spatial-extent-object + * + * Represents the spatial extent of a STAC collection with bounding boxes. + */ +export interface StacExtensionSpatialExtentOutput { + /** Array of bounding boxes defining the spatial extent, in format [[west, south, east, north]]. */ + bbox?: number[][]; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#temporal-extent-object + * + * Represents the temporal extent of a STAC collection with time intervals. + */ +export interface StacCollectionTemporalExtentOutput { + /** Array of time intervals in format [[start_datetime, end_datetime]]. */ + interval: string[][]; +} + +/** User-specific collection settings for visualization. */ +export interface UserCollectionSettingsOutput { + /** Settings for map tile visualization. */ + tileSettings: TileSettingsOutput; + /** Settings for data mosaic visualization. */ + mosaicInfo: StacMosaicConfigurationOutput; +} + +/** Configuration for map tile visualization. */ +export interface TileSettingsOutput { + /** + * The minimum zoom level that can be requested for this collection. Provides a + * hard limit for the tile servers to ensure they don't get requests for low zoom + * levels, which would cause many files to be fetched and the tile servers to + * hang. + */ + minZoom: number; + /** Maximum number of items to include in a single tile. */ + maxItemsPerTile: number; + /** Default map location when displaying this collection. */ + defaultLocation?: DefaultLocationOutput; +} + +/** Defines a default geographic location for map visualization. */ +export interface DefaultLocationOutput { + /** Default zoom level for the map. */ + zoom: number; + /** Default center coordinates [latitude, longitude] for the map. */ + coordinates: number[]; +} + +/** Configuration for data mosaic visualization. */ +export interface StacMosaicConfigurationOutput { + /** Predefined data mosaics available for this collection. */ + mosaics: Array; + /** Available render options for visualizing the data. */ + renderOptions: Array; + /** Default map location when displaying this collection. */ + defaultLocation?: DefaultLocationOutput; + /** A list of CQL-JSON expressions to use as the default for this collection. */ + defaultCustomQuery?: Record; +} + +/** Defines a named mosaic with filtering criteria. */ +export interface StacMosaicOutput { + /** Unique identifier for the mosaic. */ + id: string; + /** Short descriptive name for the mosaic. */ + name: string; + /** Detailed description of the mosaic. */ + description?: string; + /** A list of valid CQL2-JSON expressions used to filter the collection to moasic. */ + cql: Record[]; +} + +/** Defines visualization parameters for rendering data on a map. */ +export interface RenderOptionOutput { + /** Unique identifier for the render option. */ + id: string; + /** Short descriptive name for the render option. */ + name: string; + /** + * A longer description of the render option that can be used to explain its + * content. + */ + description?: string; + /** + * The type of rendering to apply (raster or vector). + * + * Possible values: "raster-tile", "vt-polygon", "vt-line" + */ + type?: RenderOptionTypeOutput; + /** + * A URL query-string encoded string of TiTiler rendering options. Valid only for + * `raster-tile` types. + * + * See [Query Parameters](https://developmentseed.org/titiler/endpoints/cog/#description). + */ + options?: string; + /** + * Options for rendering vector tiles. Valid only for `vt-polygon` and `vt-line` + * types. + */ + vectorOptions?: RenderOptionVectorOptionsOutput; + /** Minimum zoom level at which to display this layer. */ + minZoom?: number; + /** Legend configuration for this render option. */ + legend?: RenderOptionLegendOutput; + /** + * A list of property/value conditions that must be in the active mosaic CQL for + * this render option to be enabled + */ + conditions?: Array; +} + +/** Defines parameters for vector tile rendering. */ +export interface RenderOptionVectorOptionsOutput { + /** Asset key containing the TileJSON URL. */ + tilejsonKey: string; + /** Name of the source layer in the vector tiles. */ + sourceLayer: string; + /** Fill color for polygon features. */ + fillColor?: string; + /** Stroke color for line features. */ + strokeColor?: string; + /** Width of line strokes in pixels. */ + strokeWidth?: number; + /** MapBox GL filter expression to filter features. */ + filter?: string[]; +} + +/** Configuration for generating a data legend. */ +export interface RenderOptionLegendOutput { + /** + * Legend type to make, + * one of: `continuous`, + * `classmap`, + * `interval` or `none` + * (note, `none` is a string literal). + * + * Possible values: "continuous", "classmap", "interval", "none" + */ + type?: LegendConfigTypeOutput; + /** Text labels to display on the legend. */ + labels?: string[]; + /** + * The number of items to trim from the start of the legend definition. Used if + * there are values important for rendering (e.g. nodata) that aren't desirable in + * the legend. + */ + trimStart?: number; + /** Number of items to trim from the end of the legend. */ + trimEnd?: number; + /** + * A factor to multiply interval legend labels by. Useful for scaled rasters whose + * colormap definitions map to unscaled values, effectively showing legend labels + * as scaled values. + */ + scaleFactor?: number; +} + +/** Defines a condition for enabling a render option. */ +export interface RenderOptionConditionOutput { + /** Property name to check in the active CQL filter. */ + property: string; + /** Value that the property must equal. */ + value?: string; +} + +/** + * http://docs.opengeospatial.org/is/17-069r3/17-069r3.html#_feature_collections_rootcollections + * + * Represents a collection of STAC collections with links. + */ +export interface StacCatalogCollectionsOutput { + /** Links to related resources and endpoints. */ + links: Array; + /** Array of STAC collections available in the catalog. */ + collections: Array; +} + +/** Defines how data is partitioned for efficient storage and retrieval. */ +export interface PartitionTypeOutput { + /** + * Partitioning scheme to use for data organization. + * + * Possible values: "year", "month", "none" + */ + scheme?: PartitionTypeSchemeOutput; +} + +/** + * https://github.com/radiantearth/stac-api-spec/blob/master/api-spec.md#ogc-api---features-endpoints + * + * Represents the OGC API conformance declaration. + */ +export interface StacConformanceClassesOutput { + /** List of OGC API conformance classes implemented by this API. */ + conformsTo: string[]; +} + +/** + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/itemcollection-spec.md + * + * Represents a collection of STAC Items as a GeoJSON FeatureCollection. + */ +export interface StacItemCollectionOutput extends StacItemOrStacItemCollectionOutputParent { + /** GeoJSON FeatureCollection type. */ + type: "FeatureCollection"; + /** Array of STAC Items in the collection. */ + features: Array; + /** Bounding box of all items in format [west, south, east, north]. */ + bbox?: number[]; + /** Context information for the search response. */ + context?: StacContextExtensionOutput; +} + +/** Represents a STAC Item, which is a GeoJSON Feature with additional metadata. */ +export interface StacItemOutput extends StacItemOrStacItemCollectionOutputParent { + /** Geometry object defining the feature's shape */ + geometry: GeometryOutput; + /** Bounding box coordinates for the feature */ + bbox: number[]; + /** Unique identifier for the feature */ + id: string; + /** GeoJSON type identifier for Feature */ + type: "Feature"; + /** ID of the STAC collection this item belongs to. */ + collection?: string; + /** Attributes associated with the feature */ + properties: StacItemPropertiesOutput; + /** Assets */ + assets: Record; + /** MSFT Timestamp */ + "_msft:ts"?: string; + /** MSFT ETag */ + "_msft:etag"?: string; +} + +/** + * Represents a GeoJSON geometry object as defined by RFC 7946. + * + * Supported geometry types include: + * - **Point**: A single geographic coordinate. + * - **LineString**: A sequence of geographic coordinates forming a line. + * - **Polygon**: A closed shape defined by linear rings. + * - **MultiPoint**: A collection of Points. + * - **MultiLineString**: A collection of LineStrings. + * - **MultiPolygon**: A collection of Polygons. + * + * Used for spatial filtering in STAC. + */ +export interface GeometryOutputParent { + /** Optional bounding box of the geometry. */ + bbox?: number[]; + type: string; +} + +/** Represents a GeoJSON Point geometry. */ +export interface PointOutput extends GeometryOutputParent { + /** The geometry type, always "Point" for Point geometries. */ + type: "Point"; + /** The coordinates of the point as [longitude, latitude]. */ + coordinates: string; +} + +/** Represents a Polygon. */ +export interface PolygonOutput extends GeometryOutputParent { + /** The coordinates of the polygon. */ + coordinates: number[][][]; + /** The type of the polygon. */ + type: "Polygon"; +} + +/** Represents a MultiPolygon. */ +export interface MultiPolygonOutput extends GeometryOutputParent { + /** The coordinates of the multipolygon. */ + coordinates: number[][][]; + /** The type of the multipolygon. */ + type: "MultiPolygon"; +} + +/** Represents a MultiLineString. */ +export interface MultiLineStringOutput extends GeometryOutputParent { + /** The type of the multilinestring. */ + type: "MultiLineString"; + /** The coordinates of the multilinestring. */ + coordinates: number[][]; +} + +/** Represents a LineString. */ +export interface LineStringOutput extends GeometryOutputParent { + /** The type of the linestring. */ + type: "LineString"; + /** The coordinates of the linestring. */ + coordinates: number[]; +} + +/** Represents a MultiPoint. */ +export interface MultiPointOutput extends GeometryOutputParent { + /** The type of the multipoint. */ + type: "MultiPoint"; + /** The coordinates of the multipoint. */ + coordinates: number[]; +} + +/** + * Properties of a STAC Item containing metadata about the asset. + * + * https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/item-spec.md#properties-object + */ +export interface StacItemPropertiesOutput extends Record { + /** Platform that acquired the data. */ + platform?: string; + /** Instruments that acquired the data. */ + instruments?: string[]; + /** Constellation of satellites that acquired the data. */ + constellation?: string; + /** Mission associated with the data. */ + mission?: string; + /** Organizations or individuals who provide the data. */ + providers?: Array; + /** Ground sample distance in meters. */ + gsd?: number; + /** Creation timestamp of the data. */ + created?: string; + /** Last update timestamp of the data. */ + updated?: string; + /** Human-readable title for the item. */ + title?: string; + /** Detailed description of the item. */ + description?: string; + /** Datetime the asset represents in RFC 3339 format. */ + datetime: string; + /** Start time of the item observation period. */ + start_datetime?: string; + /** End time of the item observation period. */ + end_datetime?: string; +} + +/** Base type for STAC items and collections with discriminator. */ +export interface StacItemOrStacItemCollectionOutputParent { + /** Stac Version */ + stac_version?: string; + /** Links to related resources and endpoints. */ + links?: Array; + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + "msft:short_description"?: string; + /** URLs to STAC extensions implemented by this STAC resource. */ + stac_extensions?: string[]; + type: string; +} + +/** + * https://github.com/radiantearth/stac-api-spec/tree/master/extensions/context#context-extension-specification + * + * Context information for a search response including pagination details. + */ +export interface StacContextExtensionOutput { + /** Number of items returned in the response. */ + returned: number; + /** Maximum number of items requested. */ + limit?: number; + /** Total number of items matching the query. */ + matched?: number; +} + +/** + * https://github.com/radiantearth/stac-api-spec/blob/master/api-spec.md#ogc-api---features-endpoints + * + * Represents the STAC API landing page with links to available resources. + */ +export interface StacLandingPageOutput { + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + "msft:short_description"?: string; + /** URLs to STAC extensions implemented by this STAC resource. */ + stac_extensions?: string[]; + /** Unique identifier for the STAC catalog. */ + id: string; + /** Detailed description of the STAC catalog. */ + description: string; + /** Human-readable title for the STAC catalog. */ + title?: string; + /** Stac Version */ + stac_version?: string; + /** List of OGC API conformance classes implemented by this API. */ + conformsTo: string[]; + /** Links to related resources and endpoints. */ + links: Array; + /** Type */ + type?: string; +} + +/** Definition of a queryable field for STAC API filtering. */ +export interface StacQueryableOutput { + /** Name of the queryable field. */ + name: string; + /** Metadata for the queryable field. */ + definition: Record; + /** Whether to create a database index for this field. */ + create_index?: boolean; + /** + * Data type of the queryable field. + * + * Possible values: "string", "number", "boolean", "timestamp", "date" + */ + data_type?: StacQueryableDefinitionDataTypeOutput; +} + +/** + * https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrixSet.json + * + * A definition of a tile matrix set following the Tile Matrix Set standard. + * For tileset metadata, such a description (in `tileMatrixSet` property) is only + * required for offline use, + * as an alternative to a link with a + * `http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme` relation type. + */ +export interface TileMatrixSetOutput { + /** Human-readable title of the tile matrix set */ + title?: string; + /** + * Brief narrative description of this tile matrix set, normally available for + * display to a human + */ + description?: string; + /** + * Unordered list of one or more commonly used or formalized word(s) or phrase(s) + * used to describe this tile matrix set + */ + keywords?: string[]; + /** Unique identifier for the tile matrix set */ + id?: string; + /** URI reference to the official definition */ + uri?: string; + /** Names of the coordinate axes in order */ + orderedAxes?: string[]; + /** Coordinate reference system identifier */ + crs: string; + /** URL reference to a standardized scale set */ + wellKnownScaleSet?: string; + /** Geographic extent of the tile matrix set */ + boundingBox?: TileMatrixSetBoundingBoxOutput; + /** Array of tile matrices at different zoom levels */ + tileMatrices: Array; +} + +/** Geographic extent of the tile matrix set expressed in the specified coordinate reference system */ +export interface TileMatrixSetBoundingBoxOutput { + /** Lower-left corner coordinates [x, y] of bounding box */ + lowerLeft: string[]; + /** Upper-right corner coordinates [x, y] of bounding box */ + upperRight: string[]; + /** Coordinate reference system identifier */ + crs?: string; + /** Explicit axis order for the CRS coordinates (e.g., ['x', 'y']) */ + orderedAxes?: string[]; +} + +/** + * Tile Matrix Definition + * + * A tile matrix, usually corresponding to a particular zoom level of a + * TileMatrixSet. + * + * ref: + * https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/tileMatrix.json + * + * Definition of a tile matrix at a specific zoom level within a tile matrix set + */ +export interface TileMatrixOutput { + /** Human-readable title of the tile matrix level */ + title?: string; + /** Human-readable description of this tile matrix level */ + description?: string; + /** + * Unordered list of one or more commonly used or formalized word(s) or phrase(s) + * used to describe this dataset + */ + keywords?: string[]; + /** Unique identifier for this tile matrix level, often the zoom level */ + id: string; + /** Scale denominator representing the scale of this tile matrix level */ + scaleDenominator: number; + /** Size of a pixel in map units at this tile matrix level */ + cellSize: number; + /** + * The corner of the tile matrix (_topLeft_ or _bottomLeft_) used as the origin + * for numbering tile rows and columns. This corner is also a corner of the (0, 0) + * tile. + * + * Possible values: "topLeft", "bottomLeft" + */ + cornerOfOrigin?: TileMatrixCornerOfOriginOutput; + /** + * Precise position in CRS coordinates of the corner of origin (e.g. the top-left + * corner) for this tile matrix. This position is also a corner of the (0, 0) + * tile. In previous version, this was 'topLeftCorner' and 'cornerOfOrigin' did + * not exist. + */ + pointOfOrigin: number[]; + /** Pixel width of each tile at this level */ + tileWidth: number; + /** Pixel height of each tile at this level */ + tileHeight: number; + /** Number of tiles horizontally at this matrix level */ + matrixWidth: number; + /** Number of tiles vertically at this matrix level */ + matrixHeight: number; + /** + * Describes the rows that has variable matrix width + * + * ref: https://github.com/opengeospatial/2D-Tile-Matrix-Set/blob/master/schemas/tms/2.0/json/variableMatrixWidth.json + */ + variableMatrixWidths?: Array; +} + +/** Model for variableMatrixWidth */ +export interface VariableMatrixWidthOutput { + /** Number of tiles in width that coalesce in a single tile for these rows */ + coalesce: number; + /** First tile row where the coalescence factor applies for this tilematrix */ + minTileRow: number; + /** Last tile row where the coalescence factor applies for this tilematrix */ + maxTileRow: number; +} + +/** Return dataset's statistics. */ +export interface StacAssetStatisticsOutput { + /** Response Asset Statistics Api Collections Collection Id Items Item Id Asset Statistics Get */ + data: Record; +} + +/** Statistical information about a data band. */ +export interface BandStatisticsOutput { + /** Minimum value in the band. */ + min: number; + /** Maximum value in the band. */ + max: number; + /** Mean value of the band. */ + mean: number; + /** Count of pixels in the band. */ + count: number; + /** Sum of all pixel values in the band. */ + sum: number; + /** Standard deviation of pixel values in the band. */ + std: number; + /** Median value of the band. */ + median: number; + /** Most common value in the band. */ + majority: number; + /** Least common value in the band. */ + minority: number; + /** Count of unique values in the band. */ + unique: number; + /** Histogram of pixel values in the band. */ + histogram: number[][]; + /** Percentage of valid (non-masked) pixels. */ + valid_percent: number; + /** Count of masked pixels in the band. */ + masked_pixels: number; + /** Count of valid (non-masked) pixels in the band. */ + valid_pixels: number; + /** + * Percentile 2 + * The 2nd percentile value. + */ + percentile_2: number; + /** + * Percentile 98 + * The 98th percentile value. + */ + percentile_98: number; +} + +/** Geographic extent of a dataset expressed as a bounding box */ +export interface StacItemBoundsOutput { + /** Array of coordinates defining the bounding box [west, south, east, north] */ + bounds: number[]; +} + +/** https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/itemcollection-spec.mdCollection of STAC items with statistical information */ +export interface GeoJsonStatisticsForStacItemCollectionOutput { + /** + * GeoJSON type identifier for StacItemCollection + * + * Possible values: "FeatureCollection" + */ + type: StacItemCollectionTypeOutput; + /** Array of STAC items with statistics */ + features: Array; + /** Bounding box coordinates [west, south, east, north] */ + bbox?: number[]; + /** Stac Version */ + stac_version?: string; + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + short_description?: string; + /** List of STAC extension URLs used by this item collection */ + stac_extensions?: string[]; + /** Related links for the item collection */ + links?: Array; + /** + * Pagination context for the response + * + * See the [STAC Context Extension](https://github.com/radiantearth/stac-api-spec/tree/master/extensions/context#context-extension-specification) + */ + context?: StacContextExtensionOutput; +} + +/** STAC Item representing a spatiotemporal asset with statistical information */ +export interface GeoJsonStatisticsItemResponseOutput { + /** Geometry object defining the feature's shape */ + geometry: GeometryOutput; + /** Bounding box coordinates for the feature */ + bbox: number[]; + /** Unique identifier for the feature */ + id: string; + /** + * GeoJSON type identifier for Feature + * + * Possible values: "Feature" + */ + type: FeatureTypeOutput; + /** MSFT Created */ + "msft:_created"?: string; + /** MSFT Updated */ + "msft:_updated"?: string; + /** MSFT Short Description */ + "msft:short_description"?: string; + /** Stac Version */ + stac_version?: string; + /** ID of the STAC collection this item belongs to */ + collection?: string; + /** Properties */ + properties: StacItemPropertiesOutput; + /** MSFT Timestamp */ + "_msft:ts"?: string; + /** MSFT ETag */ + "_msft:etag"?: string; + /** List of STAC extension URLs used by this item */ + stac_extensions?: string[]; +} + +/** GeoJSON Feature object containing rio-tiler model information */ +export interface TilerInfoGeoJsonFeatureOutput { + /** + * GeoJSON type identifier + * + * Possible values: "Feature" + */ + type: FeatureTypeOutput; + /** Geometry object defining the feature's shape */ + geometry: GeometryOutput; + /** Properties */ + properties: Record; + /** Unique identifier for the feature */ + id?: string; + /** Bounding box coordinates for the feature */ + bbox?: number; +} + +/** Dataset Info. */ +export interface TilerInfoOutput { + /** Bounds */ + bounds: number[]; + /** Band Metadata */ + band_metadata?: Array[]; + /** Band Descriptions */ + band_descriptions?: string[][]; + /** Data type */ + dtype: string; + /** + * NoData Type + * + * Possible values: "Alpha", "Mask", "Internal", "Nodata", "None" + */ + nodata_type?: NoDataTypeOutput; + /** Color interpretation */ + colorinterp?: string[]; + /** Driver */ + driver?: string; + /** Count */ + count?: number; + /** Width */ + width?: number; + /** Height */ + height?: number; + /** Overviews */ + overviews?: string[]; + /** Scales */ + scales?: number[]; + /** Offsets */ + offsets?: number[]; + /** Colormap */ + colormap?: Record; + /** Minzoom */ + minzoom?: number; + /** Maxzoom */ + maxzoom?: number; +} + +/** Return dataset's basic info or the list of available assets. */ +export interface InfoOperationResponseOutput { + /** body for info operation response */ + data: TilerInfoOutput; +} + +/** + * Point model. + * + * response model for `/point` endpointsResponse model for point query operations providing values at a specific location + */ +export interface TilerCoreModelsResponsesPointOutput { + /** Geographic coordinates [longitude, latitude] of the queried point */ + coordinates: number[]; + /** Array of pixel values at the queried point for each band */ + values: number[]; + /** Names of each band in the raster data */ + band_names: string[]; +} + +/** Response model for image exports */ +export interface ImageResponseOutput { + /** URL of the exported image */ + url: string; +} + +/** Return dataset's statistics. */ +export interface StatisticsResponseOutput extends Record {} + +/** + * TileJSON model. + * + * Based on https://github.com/mapbox/tilejson-spec/tree/master/2.2.0TileJSON metadata describing a tile set according to the TileJSON specification + */ +export interface TileJsonMetaDataOutput { + /** TileJson */ + tilejson?: string; + /** Human-readable name of the tile set */ + name?: string; + /** Human-readable description of the tile set */ + description?: string; + /** Version */ + version?: string; + /** Attribution text for the data sources */ + attribution?: string; + /** URL template for feature info queries */ + template?: string; + /** URL to legend content for the tile set */ + legend?: string; + /** + * Tile addressing scheme (xyz or tms) + * + * Possible values: "xyz", "tms" + */ + scheme?: TileAddressingSchemeOutput; + /** Array of tile URL templates */ + tiles: string[]; + /** Array of UTFGrid URL templates */ + grids?: string[]; + /** Array of data file URL templates */ + data?: string[]; + /** Minimum zoom level available in the tile set */ + minzoom?: number; + /** Maximum zoom level available in the tile set */ + maxzoom?: number; + /** Bounds */ + bounds?: number[]; + /** Default center point [longitude, latitude, zoom] for the tile set */ + center?: number[]; +} + +/** Information about a registered STAC search query */ +export interface TilerStacSearchRegistrationOutput { + /** + * Details of the saved search query + * + * See the [PgSTAC Search table definition](https://github.com/stac-utils/pgstac/blob/3499daa2bfa700ae7bb07503795c169bf2ebafc7/sql/004_search.sql#L907-L915). + */ + search: TilerStacSearchDefinitionOutput; + /** Related links for the search query */ + links?: Array; +} + +/** + * PgSTAC Search entry. + * + * ref: + * https://github.com/stac-utils/pgstac/blob/3499daa2bfa700ae7bb07503795c169bf2ebafc7/sql/004_search.sql#L907-L915Stored search query in the PgSTAC database + */ +export interface TilerStacSearchDefinitionOutput { + /** Unique hash identifier for the search query */ + hash: string; + /** Search */ + search: Record; + /** SQL WHERE clause representing the search filters */ + _where: string; + /** SQL ORDER BY clause for sorting results */ + orderby: string; + /** Timestamp when the search was last accessed */ + lastused: string; + /** Number of times the search has been accessed */ + usecount: number; + /** Additional metadata associated with the search */ + metadata: MosaicMetadataOutput; +} + +/** Metadata information for mosaic or search results */ +export interface MosaicMetadataOutput { + /** + * Type of metadata resource + * + * Possible values: "mosaic", "search" + */ + type?: MosaicMetadataTypeOutput; + /** Geographic bounding box in [west, south, east, north] format */ + bounds?: string; + /** Minimum zoom level supported */ + minzoom?: number; + /** Maximum zoom level supported */ + maxzoom?: number; + /** Human-readable name for the resource */ + name?: string; + /** List of asset identifiers included in the resource */ + assets?: string[]; + /** Defaults */ + defaults?: Record; +} + +/** Response from a successful mosaic registration with search ID and related links */ +export interface TilerMosaicSearchRegistrationResponseOutput { + /** Unique identifier for the registered search */ + searchid: string; + /** Related links for the registered mosaic */ + links?: Array; +} + +/** Represents a Shared Access Signature (SAS) token response for accessing Azure Blob Storage. */ +export interface SharedAccessSignatureTokenOutput { + /** The expiration date and time of the SAS token in UTC. */ + "msft:expiry": string; + /** The SAS token string used for authentication. */ + token: string; +} + +/** + * Represents a link that has not been signed with a SAS token. + * The expiry field will be null for unsigned links. + */ +export interface SignedLinkOutput { + /** The expiry date of the signed link. This indicates when the link will no longer be valid. */ + "msft:expiry"?: string; + /** The URL of the unsigned link. */ + href: string; +} + +/** Ingestion Source */ +export type IngestionSourceOutput = + | IngestionSourceOutputParent + | SharedAccessSignatureTokenIngestionSourceOutput + | ManagedIdentityIngestionSourceOutput; +/** + * Represents a GeoJSON geometry object as defined by RFC 7946. + * + * Supported geometry types include: + * - **Point**: A single geographic coordinate. + * - **LineString**: A sequence of geographic coordinates forming a line. + * - **Polygon**: A closed shape defined by linear rings. + * - **MultiPoint**: A collection of Points. + * - **MultiLineString**: A collection of LineStrings. + * - **MultiPolygon**: A collection of Polygons. + * + * Used for spatial filtering in STAC. + */ +export type GeometryOutput = + | GeometryOutputParent + | PointOutput + | PolygonOutput + | MultiPolygonOutput + | MultiLineStringOutput + | LineStringOutput + | MultiPointOutput; +/** Base type for STAC items and collections with discriminator. */ +export type StacItemOrStacItemCollectionOutput = + | StacItemOrStacItemCollectionOutputParent + | StacItemCollectionOutput + | StacItemOutput; +/** Alias for OperationStatusOutput */ +export type OperationStatusOutput = string; +/** Alias for IngestionTypeOutput */ +export type IngestionTypeOutput = string; +/** Alias for IngestionStatusOutput */ +export type IngestionStatusOutput = string; +/** Alias for IngestionSourceTypeOutput */ +export type IngestionSourceTypeOutput = string; +/** Alias for StacLinkTypeOutput */ +export type StacLinkTypeOutput = string; +/** Alias for RenderOptionTypeOutput */ +export type RenderOptionTypeOutput = string; +/** Alias for LegendConfigTypeOutput */ +export type LegendConfigTypeOutput = string; +/** Alias for PartitionTypeSchemeOutput */ +export type PartitionTypeSchemeOutput = string; +/** Alias for StacQueryableDefinitionDataTypeOutput */ +export type StacQueryableDefinitionDataTypeOutput = string; +/** Alias for TileMatrixCornerOfOriginOutput */ +export type TileMatrixCornerOfOriginOutput = string; +/** Alias for StacItemCollectionTypeOutput */ +export type StacItemCollectionTypeOutput = string; +/** Alias for FeatureTypeOutput */ +export type FeatureTypeOutput = string; +/** Alias for BandMetadataElementOutput */ +export type BandMetadataElementOutput = string | Record; +/** Alias for NoDataTypeOutput */ +export type NoDataTypeOutput = string; +/** Alias for TileAddressingSchemeOutput */ +export type TileAddressingSchemeOutput = string; +/** Alias for IntervalLegendsElementOutput */ +export type IntervalLegendsElementOutput = number[] | Record; +/** Alias for MosaicMetadataTypeOutput */ +export type MosaicMetadataTypeOutput = string; diff --git a/sdk/planetarycomputer/planetarycomputer/src/parameters.ts b/sdk/planetarycomputer/planetarycomputer/src/parameters.ts new file mode 100644 index 000000000000..63a42e1701c4 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/parameters.ts @@ -0,0 +1,2895 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { RequestParameters } from "@azure-rest/core-client"; +import type { + OperationStatus, + Ingestion, + IngestionSource, + FormContent, + StacMosaic, + StacAssetUrlSigningMode, + StacCollection, + PartitionType, + RenderOption, + TileSettings, + StacItemOrStacItemCollection, + StacItem, + StacQueryable, + StacSearchParameters, + Resampling, + TerrainAlgorithm, + ColorMapNames, + StacItemCollection, + TilerImageFormat, + ImageRequest, + RegisterMosaic, + PixelSelection, + TileMatrixSetId, +} from "./models.js"; + +export interface IngestionOperationsListQueryParamProperties { + /** The number of items to return */ + $top?: number; + /** The number of items to skip */ + $skip?: number; + /** Operation id used to filter the results */ + collectionId?: string; + /** + * Operation status used to filter the results + * + * Possible values: "Pending", "Running", "Succeeded", "Canceled", "Canceling", "Failed" + */ + status?: OperationStatus; +} + +export interface IngestionOperationsListQueryParam { + queryParameters?: IngestionOperationsListQueryParamProperties; +} + +export type IngestionOperationsListParameters = IngestionOperationsListQueryParam & + RequestParameters; +export type IngestionOperationsGetParameters = RequestParameters; +export type IngestionOperationsDeleteParameters = RequestParameters; +export type IngestionOperationsDeleteAllParameters = RequestParameters; + +export interface IngestionRunsListQueryParamProperties { + /** The number of items to return */ + $top?: number; + /** The number of items to skip */ + $skip?: number; +} + +export interface IngestionRunsListQueryParam { + queryParameters?: IngestionRunsListQueryParamProperties; +} + +export type IngestionRunsListParameters = IngestionRunsListQueryParam & RequestParameters; +export type IngestionRunsGetParameters = RequestParameters; +export type IngestionRunsCreateParameters = RequestParameters; + +export interface IngestionsListQueryParamProperties { + /** The number of items to return */ + $top?: number; + /** The number of items to skip */ + $skip?: number; +} + +export interface IngestionsListQueryParam { + queryParameters?: IngestionsListQueryParamProperties; +} + +export type IngestionsListParameters = IngestionsListQueryParam & RequestParameters; +export type IngestionsGetParameters = RequestParameters; + +export interface IngestionsCreateBodyParam { + /** Definition of the ingestion */ + body: Ingestion; +} + +export type IngestionsCreateParameters = IngestionsCreateBodyParam & RequestParameters; +/** Ingestion properties to update */ +export type IngestionResourceMergeAndPatch = Partial; + +export interface IngestionsUpdateBodyParam { + /** Ingestion properties to update */ + body: IngestionResourceMergeAndPatch; +} + +export interface IngestionsUpdateMediaTypesParam { + /** Content type for PATCH request */ + contentType: "application/merge-patch+json"; +} + +export type IngestionsUpdateParameters = IngestionsUpdateMediaTypesParam & + IngestionsUpdateBodyParam & + RequestParameters; +export type IngestionsDeleteParameters = RequestParameters; + +export interface IngestionSourcesListQueryParamProperties { + /** The number of items to return */ + $top?: number; + /** The number of items to skip */ + $skip?: number; +} + +export interface IngestionSourcesListQueryParam { + queryParameters?: IngestionSourcesListQueryParamProperties; +} + +export type IngestionSourcesListParameters = IngestionSourcesListQueryParam & RequestParameters; +export type IngestionSourcesGetParameters = RequestParameters; + +export interface IngestionSourcesCreateBodyParam { + /** Definition of the ingestion source */ + body: IngestionSource; +} + +export type IngestionSourcesCreateParameters = IngestionSourcesCreateBodyParam & RequestParameters; + +export interface IngestionSourcesCreateOrReplaceBodyParam { + /** Definition of the ingestion source */ + body: IngestionSource; +} + +export type IngestionSourcesCreateOrReplaceParameters = IngestionSourcesCreateOrReplaceBodyParam & + RequestParameters; +export type IngestionSourcesDeleteParameters = RequestParameters; +export type IngestionSourcesListManagedIdentitiesParameters = RequestParameters; + +export interface StacCollectionAssetsCreateBodyParam { + /** Multi-part form data */ + body: FormContent; +} + +export interface StacCollectionAssetsCreateMediaTypesParam { + /** Content type of the multipart form data request. */ + contentType: "multipart/form-data"; +} + +export type StacCollectionAssetsCreateParameters = StacCollectionAssetsCreateMediaTypesParam & + StacCollectionAssetsCreateBodyParam & + RequestParameters; + +export interface StacCollectionAssetsCreateOrReplaceBodyParam { + /** Multi-part form data */ + body: FormContent; +} + +export interface StacCollectionAssetsCreateOrReplaceMediaTypesParam { + /** Content type of the multipart form data request. */ + contentType: "multipart/form-data"; +} + +export type StacCollectionAssetsCreateOrReplaceParameters = + StacCollectionAssetsCreateOrReplaceMediaTypesParam & + StacCollectionAssetsCreateOrReplaceBodyParam & + RequestParameters; +export type StacCollectionAssetsDeleteParameters = RequestParameters; +export type StacCollectionConfigGetParameters = RequestParameters; +export type StacCollectionMosaicsGetAllParameters = RequestParameters; + +export interface StacCollectionMosaicsAddBodyParam { + /** Mosaic definition to be created or updated. */ + body: StacMosaic; +} + +export type StacCollectionMosaicsAddParameters = StacCollectionMosaicsAddBodyParam & + RequestParameters; +export type StacCollectionMosaicsGetParameters = RequestParameters; + +export interface StacCollectionMosaicsCreateOrReplaceBodyParam { + /** Mosaic definition to be created or updated. */ + body: StacMosaic; +} + +export type StacCollectionMosaicsCreateOrReplaceParameters = + StacCollectionMosaicsCreateOrReplaceBodyParam & RequestParameters; +export type StacCollectionMosaicsDeleteParameters = RequestParameters; + +export interface StacCollectionsGetAllQueryParamProperties { + /** + * Whether to sign asset URLs in the response. + * + * Possible values: "true", "false" + */ + sign?: StacAssetUrlSigningMode; + /** URL signature duration in minutes. */ + duration?: number; +} + +export interface StacCollectionsGetAllQueryParam { + queryParameters?: StacCollectionsGetAllQueryParamProperties; +} + +export type StacCollectionsGetAllParameters = StacCollectionsGetAllQueryParam & RequestParameters; + +export interface StacCollectionsCreateBodyParam { + /** Request collection body */ + body: StacCollection; +} + +export type StacCollectionsCreateParameters = StacCollectionsCreateBodyParam & RequestParameters; + +export interface StacCollectionsGetQueryParamProperties { + /** + * Whether to sign asset URLs in the response. + * + * Possible values: "true", "false" + */ + sign?: StacAssetUrlSigningMode; + /** URL signature duration in minutes. */ + duration?: number; +} + +export interface StacCollectionsGetQueryParam { + queryParameters?: StacCollectionsGetQueryParamProperties; +} + +export type StacCollectionsGetParameters = StacCollectionsGetQueryParam & RequestParameters; + +export interface StacCollectionsCreateOrReplaceBodyParam { + /** Request collection body */ + body: StacCollection; +} + +export type StacCollectionsCreateOrReplaceParameters = StacCollectionsCreateOrReplaceBodyParam & + RequestParameters; +export type StacCollectionsDeleteParameters = RequestParameters; +export type StacCollectionPartitionTypesGetParameters = RequestParameters; + +export interface StacCollectionPartitionTypesReplaceBodyParam { + /** Partition type configuration determining how items are partitioned in storage. */ + body: PartitionType; +} + +export type StacCollectionPartitionTypesReplaceParameters = + StacCollectionPartitionTypesReplaceBodyParam & RequestParameters; +export type StacCollectionRenderOptionsGetAllParameters = RequestParameters; + +export interface StacCollectionRenderOptionsCreateBodyParam { + /** Render option configuration to be created or updated. */ + body: RenderOption; +} + +export type StacCollectionRenderOptionsCreateParameters = + StacCollectionRenderOptionsCreateBodyParam & RequestParameters; +export type StacCollectionRenderOptionsGetParameters = RequestParameters; + +export interface StacCollectionRenderOptionsCreateOrReplaceBodyParam { + /** Render option configuration to be created or updated. */ + body: RenderOption; +} + +export type StacCollectionRenderOptionsCreateOrReplaceParameters = + StacCollectionRenderOptionsCreateOrReplaceBodyParam & RequestParameters; +export type StacCollectionRenderOptionsDeleteParameters = RequestParameters; +export type StacCollectionThumbnailsGetParameters = RequestParameters; +export type StacCollectionTileSettingsGetParameters = RequestParameters; + +export interface StacCollectionTileSettingsReplaceBodyParam { + /** Tile settings configuration to be updated. */ + body: TileSettings; +} + +export type StacCollectionTileSettingsReplaceParameters = + StacCollectionTileSettingsReplaceBodyParam & RequestParameters; +export type StacConformanceClassGetParameters = RequestParameters; + +/** This is the wrapper object for the parameter `bbox` with explode set to false and style set to form. */ +export interface StacItemsGetFeaturesBboxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +export interface StacItemsGetFeaturesQueryParamProperties { + /** + * The optional limit parameter recommends the number of items that should be present in the response document. + * + * If the limit parameter value is greater than advertised limit maximum, the server must return the + * maximum possible number of items, rather than responding with an error. + * + * Only items are counted that are on the first level of the collection in the response document. + * Nested objects contained within the explicitly requested items must not be counted. + * + * Minimum = 1. Maximum = 10000. Default = 10. + */ + limit?: number; + /** + * Only features that have a geometry that intersects the bounding box are selected. + * The bounding box is provided as four or six numbers, depending on whether the + * coordinate reference system includes a vertical axis (height or depth): + * + * - Lower left corner, coordinate axis 1 + * - Lower left corner, coordinate axis 2 + * - Minimum value, coordinate axis 3 (optional) + * - Upper right corner, coordinate axis 1 + * - Upper right corner, coordinate axis 2 + * - Maximum value, coordinate axis 3 (optional) + * + * The coordinate reference system of the values is WGS 84 longitude/latitude + * (http://www.opengis.net/def/crs/OGC/1.3/CRS84). + * + * For WGS 84 longitude/latitude the values are in most cases the sequence of + * minimum longitude, minimum latitude, maximum longitude and maximum latitude. + * However, in cases where the box spans the antimeridian the first value + * (west-most box edge) is larger than the third value (east-most box edge). + * + * If the vertical axis is included, the third and the sixth number are + * the bottom and the top of the 3-dimensional bounding box. + * + * If a feature has multiple spatial geometry properties, it is the decision of the + * server whether only a single spatial geometry property is used to determine + * the extent or all relevant geometries. + */ + bbox?: string[] | StacItemsGetFeaturesBboxQueryParam; + /** + * Either a date-time or an interval, open or closed. Date and time expressions + * adhere to RFC 3339. Open intervals are expressed using double-dots. + * + * Examples: + * + * - A date-time: "2018-02-12T23:20:50Z" + * - A closed interval: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" + * - Open intervals: "2018-02-12T00:00:00Z/.." or "../2018-03-18T12:31:12Z" + * + * Only features that have a temporal property that intersects the value of + * `datetime` are selected. + * + * If a feature has multiple temporal properties, it is the decision of the + * server whether only a single temporal property is used to determine + * the extent or all relevant temporal properties. + */ + datetime?: string; +} + +export interface StacItemsGetFeaturesQueryParam { + queryParameters?: StacItemsGetFeaturesQueryParamProperties; +} + +export type StacItemsGetFeaturesParameters = StacItemsGetFeaturesQueryParam & RequestParameters; +export type StacItemsGetParameters = RequestParameters; + +export interface StacItemsCreateBodyParam { + /** + * STAC Item or StacItemCollection + * + * Represents a STAC Item or StacItemCollection as defined by the STAC 1.0.0 standard. + * + * **Item**: A GeoJSON Feature that represents a single spatiotemporal asset. + * It includes metadata such as geometry, datetime, and links to related assets. + * Example: A satellite image with its metadata. + * + * **StacItemCollection**: A GeoJSON FeatureCollection that contains multiple Items. + * It is used to group multiple related Items together, such as a collection of satellite images. + * + * This union allows the request body to accept either a single Item or a collection of Items. + */ + body: StacItemOrStacItemCollection; +} + +export type StacItemsCreateParameters = StacItemsCreateBodyParam & RequestParameters; + +export interface StacItemsCreateOrReplaceBodyParam { + /** STAC Item */ + body: StacItem; +} + +export type StacItemsCreateOrReplaceParameters = StacItemsCreateOrReplaceBodyParam & + RequestParameters; +/** STAC Item */ +export type StacItemResourceMergeAndPatch = Partial; + +export interface StacItemsUpdateBodyParam { + /** STAC Item */ + body: StacItemResourceMergeAndPatch; +} + +export interface StacItemsUpdateMediaTypesParam { + /** Content type for PATCH request */ + contentType: "application/merge-patch+json"; +} + +export type StacItemsUpdateParameters = StacItemsUpdateMediaTypesParam & + StacItemsUpdateBodyParam & + RequestParameters; +export type StacItemsDeleteParameters = RequestParameters; +export type StacLandingPagesGetParameters = RequestParameters; +export type StacQueryablesGetAllParameters = RequestParameters; +export type StacQueryablesDeleteParameters = RequestParameters; +export type StacQueryablesGetAllByCollectionParameters = RequestParameters; + +export interface StacQueryablesCreateBodyParam { + /** Request queryable definition body */ + body: Array; +} + +export type StacQueryablesCreateParameters = StacQueryablesCreateBodyParam & RequestParameters; + +export interface StacQueryablesCreateOrReplaceBodyParam { + /** Request queryable definition body */ + body: StacQueryable; +} + +export type StacQueryablesCreateOrReplaceParameters = StacQueryablesCreateOrReplaceBodyParam & + RequestParameters; + +/** This is the wrapper object for the parameter `collections` with explode set to false and style set to form. */ +export interface StacSearchGetCollectionsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `ids` with explode set to false and style set to form. */ +export interface StacSearchGetIdsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `bbox` with explode set to false and style set to form. */ +export interface StacSearchGetBboxQueryParam { + /** Value of the parameter */ + value: number[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +export interface StacSearchGetQueryParamProperties { + /** List of Collection IDs to include in the search. Only items in these collections will be searched. */ + collections?: string[] | StacSearchGetCollectionsQueryParam; + /** Array of Item IDs to return specific items. */ + ids?: string[] | StacSearchGetIdsQueryParam; + /** Bounding box for spatial filtering in format [west, south, east, north]. */ + bbox?: number[] | StacSearchGetBboxQueryParam; + /** GeoJSON geometry for spatial filtering. */ + intersects?: string; + /** Temporal filter in RFC 3339 format, can be a single time or range. */ + datetime?: string; + /** Maximum number of results to return. */ + limit?: number; + /** + * Whether to sign asset URLs in the response. + * + * Possible values: "true", "false" + */ + sign?: StacAssetUrlSigningMode; + /** URL signature duration in minutes. */ + duration?: number; + /** Property-based filtering expressed as a JSON object. */ + query?: string; + /** Sort order for items. Format is property name prefixed with "+" for ascending or "-" for descending. */ + sortby?: string; + /** Determines which fields to include in the response. Format is comma-separated field names with "-" prefix to exclude fields. */ + fields?: string; + /** CQL filter expression for advanced filtering of items. */ + filter?: string; + /** Pagination token for fetching the next set of results. */ + token?: string; +} + +export interface StacSearchGetQueryParam { + queryParameters?: StacSearchGetQueryParamProperties; +} + +export type StacSearchGetParameters = StacSearchGetQueryParam & RequestParameters; + +export interface StacSearchCreateBodyParam { + /** Request body */ + body: StacSearchParameters; +} + +export type StacSearchCreateParameters = StacSearchCreateBodyParam & RequestParameters; +export type TileMatrixDefinitionsGetParameters = RequestParameters; +export type TileMatrixListGetParameters = RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerAssetStatisticsGetAllAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `c` with explode set to false and style set to form. */ +export interface TilerAssetStatisticsGetAllCQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `p` with explode set to false and style set to form. */ +export interface TilerAssetStatisticsGetAllPQueryParam { + /** Value of the parameter */ + value: number[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerAssetStatisticsGetAllAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerAssetStatisticsGetAllQueryParamProperties { + /** Asset's names. */ + assets?: TilerAssetStatisticsGetAllAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerAssetStatisticsGetAllAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Maximum dimension in pixels for the source data used to calculate statistics */ + max_size?: number; + /** Return statistics for categorical dataset. */ + categorical?: boolean; + /** List of pixel categorical values for which to report counts. */ + c?: string[] | TilerAssetStatisticsGetAllCQueryParam; + /** List of percentile values (default to [2, 98]). */ + p?: number[] | TilerAssetStatisticsGetAllPQueryParam; + /** + * Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + */ + histogram_bins?: string; + /** + * Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + */ + histogram_range?: string; +} + +export interface TilerAssetStatisticsGetAllQueryParam { + queryParameters?: TilerAssetStatisticsGetAllQueryParamProperties; +} + +export type TilerAssetStatisticsGetAllParameters = TilerAssetStatisticsGetAllQueryParam & + RequestParameters; +export type TilerAvailableAssetsGetAllParameters = RequestParameters; +export type TilerBoundGetAllParameters = RequestParameters; + +export interface TilerGeoJsonsCropWidthByHeightFormatBodyParam { + /** Request GeoJson body. */ + body: StacItem; +} + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerGeoJsonsCropWidthByHeightFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerGeoJsonsCropWidthByHeightFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerGeoJsonsCropWidthByHeightFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerGeoJsonsCropWidthByHeightFormatQueryParamProperties { + /** Asset's names. */ + assets?: TilerGeoJsonsCropWidthByHeightFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerGeoJsonsCropWidthByHeightFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Image output size limit if width and height limits are not set. */ + max_size?: number; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerGeoJsonsCropWidthByHeightFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerGeoJsonsCropWidthByHeightFormatQueryParam { + queryParameters?: TilerGeoJsonsCropWidthByHeightFormatQueryParamProperties; +} + +export type TilerGeoJsonsCropWidthByHeightFormatParameters = + TilerGeoJsonsCropWidthByHeightFormatQueryParam & + TilerGeoJsonsCropWidthByHeightFormatBodyParam & + RequestParameters; + +export interface TilerGeoJsonsCropFormatBodyParam { + /** Request GeoJson body. */ + body: StacItem; +} + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerGeoJsonsCropFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerGeoJsonsCropFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerGeoJsonsCropFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerGeoJsonsCropFormatQueryParamProperties { + /** Asset's names. */ + assets?: TilerGeoJsonsCropFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerGeoJsonsCropFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Image output size limit if width and height limits are not set. */ + max_size?: number; + /** Height in pixels for the output image */ + height?: number; + /** Width in pixels for the output image */ + width?: number; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerGeoJsonsCropFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerGeoJsonsCropFormatQueryParam { + queryParameters?: TilerGeoJsonsCropFormatQueryParamProperties; +} + +export type TilerGeoJsonsCropFormatParameters = TilerGeoJsonsCropFormatQueryParam & + TilerGeoJsonsCropFormatBodyParam & + RequestParameters; + +export interface TilerGeoJsonStatisticsGetAllBodyParam { + /** Request GeoJson body */ + body: StacItemCollection; +} + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerGeoJsonStatisticsGetAllAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `c` with explode set to false and style set to form. */ +export interface TilerGeoJsonStatisticsGetAllCQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `p` with explode set to false and style set to form. */ +export interface TilerGeoJsonStatisticsGetAllPQueryParam { + /** Value of the parameter */ + value: number[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerGeoJsonStatisticsGetAllAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerGeoJsonStatisticsGetAllQueryParamProperties { + /** Asset's names. */ + assets?: TilerGeoJsonStatisticsGetAllAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerGeoJsonStatisticsGetAllAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Maximum dimension in pixels for the source data used to calculate statistics */ + max_size?: number; + /** Return statistics for categorical dataset. */ + categorical?: boolean; + /** List of pixel categorical values for which to report counts. */ + c?: string[] | TilerGeoJsonStatisticsGetAllCQueryParam; + /** List of percentile values (default to [2, 98]). */ + p?: number[] | TilerGeoJsonStatisticsGetAllPQueryParam; + /** + * Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + */ + histogram_bins?: string; + /** + * Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + */ + histogram_range?: string; +} + +export interface TilerGeoJsonStatisticsGetAllQueryParam { + queryParameters?: TilerGeoJsonStatisticsGetAllQueryParamProperties; +} + +export type TilerGeoJsonStatisticsGetAllParameters = TilerGeoJsonStatisticsGetAllQueryParam & + TilerGeoJsonStatisticsGetAllBodyParam & + RequestParameters; + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerInfoGeoJsonOperationsGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerInfoGeoJsonOperationsGetQueryParamProperties { + /** Asset's names. */ + assets?: TilerInfoGeoJsonOperationsGetAssetsQueryParam; +} + +export interface TilerInfoGeoJsonOperationsGetQueryParam { + queryParameters?: TilerInfoGeoJsonOperationsGetQueryParamProperties; +} + +export type TilerInfoGeoJsonOperationsGetParameters = TilerInfoGeoJsonOperationsGetQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerInfoOperationsGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerInfoOperationsGetQueryParamProperties { + /** Asset's names. */ + assets?: TilerInfoOperationsGetAssetsQueryParam; +} + +export interface TilerInfoOperationsGetQueryParam { + queryParameters?: TilerInfoOperationsGetQueryParamProperties; +} + +export type TilerInfoOperationsGetParameters = TilerInfoOperationsGetQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParamProperties { + /** Asset's names. */ + assets?: TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerPartsGetCroppedToBoundingBoxWidthByHeightAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** Output Coordinate Reference System. */ + "dst-crs"?: string; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Image output size limit if width and height limits are not set. */ + max_size?: number; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerPartsGetCroppedToBoundingBoxWidthByHeightRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParam { + queryParameters?: TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParamProperties; +} + +export type TilerPartsGetCroppedToBoundingBoxWidthByHeightParameters = + TilerPartsGetCroppedToBoundingBoxWidthByHeightQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerPartsGetCroppedToBoundingBoxAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerPartsGetCroppedToBoundingBoxAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerPartsGetCroppedToBoundingBoxRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerPartsGetCroppedToBoundingBoxQueryParamProperties { + /** Asset's names. */ + assets?: TilerPartsGetCroppedToBoundingBoxAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerPartsGetCroppedToBoundingBoxAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** Output Coordinate Reference System. */ + "dst-crs"?: string; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Image output size limit if width and height limits are not set. */ + max_size?: number; + /** Height in pixels for the output image */ + height?: number; + /** Width in pixels for the output image */ + width?: number; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerPartsGetCroppedToBoundingBoxRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerPartsGetCroppedToBoundingBoxQueryParam { + queryParameters?: TilerPartsGetCroppedToBoundingBoxQueryParamProperties; +} + +export type TilerPartsGetCroppedToBoundingBoxParameters = + TilerPartsGetCroppedToBoundingBoxQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerPointsGetPointAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerPointsGetPointAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerPointsGetPointQueryParamProperties { + /** Asset's names. */ + assets?: TilerPointsGetPointAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerPointsGetPointAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; +} + +export interface TilerPointsGetPointQueryParam { + queryParameters?: TilerPointsGetPointQueryParamProperties; +} + +export type TilerPointsGetPointParameters = TilerPointsGetPointQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerPreviewsGetFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerPreviewsGetFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerPreviewsGetFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerPreviewsGetFormatQueryParamProperties { + /** Asset's names. */ + assets?: TilerPreviewsGetFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerPreviewsGetFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** Output Coordinate Reference System. */ + "dst-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Image output size limit if width and height limits are not set. */ + max_size?: number; + /** Height in pixels for the output image */ + height?: number; + /** Width in pixels for the output image */ + width?: number; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerPreviewsGetFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerPreviewsGetFormatQueryParam { + queryParameters?: TilerPreviewsGetFormatQueryParamProperties; +} + +export type TilerPreviewsGetFormatParameters = TilerPreviewsGetFormatQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerPreviewsGetAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerPreviewsGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerPreviewsGetRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerPreviewsGetQueryParamProperties { + /** Asset's names. */ + assets?: TilerPreviewsGetAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerPreviewsGetAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Output format for the tile or image (e.g., png, jpeg, webp). + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + format?: TilerImageFormat; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** Output Coordinate Reference System. */ + "dst-crs"?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Image output size limit if width and height limits are not set. */ + max_size?: number; + /** Height in pixels for the output image */ + height?: number; + /** Width in pixels for the output image */ + width?: number; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerPreviewsGetRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerPreviewsGetQueryParam { + queryParameters?: TilerPreviewsGetQueryParamProperties; +} + +export type TilerPreviewsGetParameters = TilerPreviewsGetQueryParam & RequestParameters; + +export interface TilerStaticImagesCreateBodyParam { + /** Image request body */ + body: ImageRequest; +} + +export type TilerStaticImagesCreateParameters = TilerStaticImagesCreateBodyParam & + RequestParameters; +export type TilerStaticImagesGetParameters = RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerStatisticsGetAllAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `c` with explode set to false and style set to form. */ +export interface TilerStatisticsGetAllCQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `p` with explode set to false and style set to form. */ +export interface TilerStatisticsGetAllPQueryParam { + /** Value of the parameter */ + value: number[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerStatisticsGetAllAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerStatisticsGetAllQueryParamProperties { + /** Asset's names. */ + assets?: TilerStatisticsGetAllAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerStatisticsGetAllAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** Maximum dimension in pixels for the source data used to calculate statistics */ + max_size?: number; + /** Return statistics for categorical dataset. */ + categorical?: boolean; + /** List of pixel categorical values for which to report counts. */ + c?: string[] | TilerStatisticsGetAllCQueryParam; + /** List of percentile values (default to [2, 98]). */ + p?: number[] | TilerStatisticsGetAllPQueryParam; + /** + * Defines the number of equal-width bins in the given range (10, by default). + * + * If bins is a sequence (comma `,` delimited values), it defines a monotonically + * increasing array of bin edges, including the rightmost edge, allowing for + * non-uniform bin widths. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + */ + histogram_bins?: string; + /** + * Comma `,` delimited range of the bins. + * + * The lower and upper range of the bins. If not provided, range is simply + * (a.min(), a.max()). + * + * Values outside the range are ignored. The first element of the range must be + * less than or equal to the second. + * range affects the automatic bin computation as well. + * + * link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html + */ + histogram_range?: string; +} + +export interface TilerStatisticsGetAllQueryParam { + queryParameters?: TilerStatisticsGetAllQueryParamProperties; +} + +export type TilerStatisticsGetAllParameters = TilerStatisticsGetAllQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerTileJsonTileMatrixSetsGetAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerTileJsonTileMatrixSetsGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerTileJsonTileMatrixSetsGetRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerTileJsonTileMatrixSetsGetQueryParamProperties { + /** Asset's names. */ + assets?: TilerTileJsonTileMatrixSetsGetAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerTileJsonTileMatrixSetsGetAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerTileJsonTileMatrixSetsGetRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerTileJsonTileMatrixSetsGetQueryParam { + queryParameters?: TilerTileJsonTileMatrixSetsGetQueryParamProperties; +} + +export type TilerTileJsonTileMatrixSetsGetParameters = TilerTileJsonTileMatrixSetsGetQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `subdataset_bands` with explode set to false and style set to form. */ +export interface TilerTileMatrixSetsGetZxyScaleByFormatSubdatasetBandsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerTileMatrixSetsGetZxyScaleByFormatQueryParamProperties { + /** Asset's names. */ + assets?: TilerTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; + /** The name of a subdataset within the asset. */ + subdataset_name?: string; + /** The index of a subdataset band within the asset. */ + subdataset_bands?: string[] | TilerTileMatrixSetsGetZxyScaleByFormatSubdatasetBandsQueryParam; +} + +export interface TilerTileMatrixSetsGetZxyScaleByFormatQueryParam { + queryParameters?: TilerTileMatrixSetsGetZxyScaleByFormatQueryParamProperties; +} + +export type TilerTileMatrixSetsGetZxyScaleByFormatParameters = + TilerTileMatrixSetsGetZxyScaleByFormatQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties { + /** Asset's names. */ + assets?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerWmtsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Output image type. Default is png. + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParam { + queryParameters?: TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties; +} + +export type TilerWmtsTileMatrixSetsGetCapabilitiesXmlParameters = + TilerWmtsTileMatrixSetsGetCapabilitiesXmlQueryParam & RequestParameters; + +export interface MapsClassMapLegendsGetQueryParamProperties { + /** Number of items to trim from the start of the cmap */ + trim_start?: number; + /** Number of items to trim from the end of the cmap */ + trim_end?: number; +} + +export interface MapsClassMapLegendsGetQueryParam { + queryParameters?: MapsClassMapLegendsGetQueryParamProperties; +} + +export type MapsClassMapLegendsGetParameters = MapsClassMapLegendsGetQueryParam & RequestParameters; + +export interface MapsIntervalLegendsGetByClassMapNameQueryParamProperties { + /** Number of items to trim from the start of the cmap */ + trim_start?: number; + /** Number of items to trim from the end of the cmap */ + trim_end?: number; +} + +export interface MapsIntervalLegendsGetByClassMapNameQueryParam { + queryParameters?: MapsIntervalLegendsGetByClassMapNameQueryParamProperties; +} + +export type MapsIntervalLegendsGetByClassMapNameParameters = + MapsIntervalLegendsGetByClassMapNameQueryParam & RequestParameters; + +export interface MapsLegendsGetQueryParamProperties { + /** The output height of the legend image */ + height?: number; + /** The output width of the legend image */ + width?: number; + /** Number of items to trim from the start of the cmap */ + trim_start?: number; + /** Number of items to trim from the end of the cmap */ + trim_end?: number; +} + +export interface MapsLegendsGetQueryParam { + queryParameters?: MapsLegendsGetQueryParamProperties; +} + +export type MapsLegendsGetParameters = MapsLegendsGetQueryParam & RequestParameters; + +export interface MosaicsAssetsForPointsGetPointAssetsQueryParamProperties { + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; + /** Coordinate Reference System of the input coords. Default to `epsg:4326`. */ + "coord-crs"?: string; +} + +export interface MosaicsAssetsForPointsGetPointAssetsQueryParam { + queryParameters?: MosaicsAssetsForPointsGetPointAssetsQueryParamProperties; +} + +export type MosaicsAssetsForPointsGetPointAssetsParameters = + MosaicsAssetsForPointsGetPointAssetsQueryParam & RequestParameters; + +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParamProperties { + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; +} + +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParam { + queryParameters?: MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParamProperties; +} + +export type MosaicsAssetsForTileMatrixSetsGetZxyAssetsParameters = + MosaicsAssetsForTileMatrixSetsGetZxyAssetsQueryParam & RequestParameters; +export type MosaicsInfoSearchGetParameters = RequestParameters; + +export interface MosaicsRegisterSearchRegisterBodyParam { + body: RegisterMosaic; +} + +export type MosaicsRegisterSearchRegisterParameters = MosaicsRegisterSearchRegisterBodyParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface MosaicsTileMatrixSetsTileJsonGetAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface MosaicsTileMatrixSetsTileJsonGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface MosaicsTileMatrixSetsTileJsonGetRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface MosaicsTileMatrixSetsTileJsonGetQueryParamProperties { + /** Asset's names. */ + assets?: MosaicsTileMatrixSetsTileJsonGetAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | MosaicsTileMatrixSetsTileJsonGetAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** STAC Collection ID */ + collection?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** + * Pixel selection method. + * + * Possible values: "first", "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhight" + */ + pixel_selection?: PixelSelection; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: MosaicsTileMatrixSetsTileJsonGetRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface MosaicsTileMatrixSetsTileJsonGetQueryParam { + queryParameters?: MosaicsTileMatrixSetsTileJsonGetQueryParamProperties; +} + +export type MosaicsTileMatrixSetsTileJsonGetParameters = + MosaicsTileMatrixSetsTileJsonGetQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParamProperties { + /** Asset's names. */ + assets?: MosaicsTileMatrixSetsGetZxyScaleByFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | MosaicsTileMatrixSetsGetZxyScaleByFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** STAC Collection ID */ + collection?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** + * Pixel selection method. + * + * Possible values: "first", "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhight" + */ + pixel_selection?: PixelSelection; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: MosaicsTileMatrixSetsGetZxyScaleByFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParam { + queryParameters?: MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParamProperties; +} + +export type MosaicsTileMatrixSetsGetZxyScaleByFormatParameters = + MosaicsTileMatrixSetsGetZxyScaleByFormatQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties { + /** Asset's names. */ + assets?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Output image type. Default is png. + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParam { + queryParameters?: MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParamProperties; +} + +export type MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlParameters = + MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlQueryParam & RequestParameters; + +export interface SasGetTokenQueryParamProperties { + /** The duration, in minutes, that the SAS token will be valid. Only valid for approved users. */ + duration?: number; +} + +export interface SasGetTokenQueryParam { + queryParameters?: SasGetTokenQueryParamProperties; +} + +export type SasGetTokenParameters = SasGetTokenQueryParam & RequestParameters; + +export interface SasRevokeTokenQueryParamProperties { + /** The duration, in minutes, that the SAS token will be valid. Only valid for approved users. */ + duration?: number; +} + +export interface SasRevokeTokenQueryParam { + queryParameters?: SasRevokeTokenQueryParamProperties; +} + +export type SasRevokeTokenParameters = SasRevokeTokenQueryParam & RequestParameters; + +export interface SasGetSignQueryParamProperties { + /** HREF (URL) to sign */ + href: string; + /** The duration, in minutes, that the SAS token will be valid. Only valid for approved users. */ + duration?: number; +} + +export interface SasGetSignQueryParam { + queryParameters: SasGetSignQueryParamProperties; +} + +export type SasGetSignParameters = SasGetSignQueryParam & RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerTilesGetZxyScaleByFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `subdataset_bands` with explode set to false and style set to form. */ +export interface TilerTilesGetZxyScaleByFormatSubdatasetBandsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerTilesGetZxyScaleByFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerTilesGetZxyScaleByFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerTilesGetZxyScaleByFormatQueryParamProperties { + /** Asset's names. */ + assets?: TilerTilesGetZxyScaleByFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerTilesGetZxyScaleByFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad') + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerTilesGetZxyScaleByFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; + /** The name of a subdataset within the asset. */ + subdataset_name?: string; + /** The index of a subdataset band within the asset. */ + subdataset_bands?: string[] | TilerTilesGetZxyScaleByFormatSubdatasetBandsQueryParam; +} + +export interface TilerTilesGetZxyScaleByFormatQueryParam { + queryParameters?: TilerTilesGetZxyScaleByFormatQueryParamProperties; +} + +export type TilerTilesGetZxyScaleByFormatParameters = TilerTilesGetZxyScaleByFormatQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerTileJsonOperationsGetAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerTileJsonOperationsGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerTileJsonOperationsGetRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerTileJsonOperationsGetQueryParamProperties { + /** Asset's names. */ + assets?: TilerTileJsonOperationsGetAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerTileJsonOperationsGetAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad') + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; + /** + * Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerTileJsonOperationsGetRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerTileJsonOperationsGetQueryParam { + queryParameters?: TilerTileJsonOperationsGetQueryParamProperties; +} + +export type TilerTileJsonOperationsGetParameters = TilerTileJsonOperationsGetQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface TilerWmtsGetCapabilitiesXmlAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface TilerWmtsGetCapabilitiesXmlAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface TilerWmtsGetCapabilitiesXmlRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface TilerWmtsGetCapabilitiesXmlQueryParamProperties { + /** Asset's names. */ + assets?: TilerWmtsGetCapabilitiesXmlAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | TilerWmtsGetCapabilitiesXmlAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad') + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; + /** + * Output image type. Default is png. + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: TilerWmtsGetCapabilitiesXmlRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface TilerWmtsGetCapabilitiesXmlQueryParam { + queryParameters?: TilerWmtsGetCapabilitiesXmlQueryParamProperties; +} + +export type TilerWmtsGetCapabilitiesXmlParameters = TilerWmtsGetCapabilitiesXmlQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface MosaicsTilesGetZxyScaleByFormatAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface MosaicsTilesGetZxyScaleByFormatAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface MosaicsTilesGetZxyScaleByFormatRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface MosaicsTilesGetZxyScaleByFormatQueryParamProperties { + /** Asset's names. */ + assets?: MosaicsTilesGetZxyScaleByFormatAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | MosaicsTilesGetZxyScaleByFormatAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad') + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** STAC Collection ID */ + collection?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** + * Pixel selection method. + * + * Possible values: "first", "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhight" + */ + pixel_selection?: PixelSelection; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: MosaicsTilesGetZxyScaleByFormatRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface MosaicsTilesGetZxyScaleByFormatQueryParam { + queryParameters?: MosaicsTilesGetZxyScaleByFormatQueryParamProperties; +} + +export type MosaicsTilesGetZxyScaleByFormatParameters = MosaicsTilesGetZxyScaleByFormatQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface MosaicsTileJsonOperationsGetAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface MosaicsTileJsonOperationsGetAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface MosaicsTileJsonOperationsGetRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface MosaicsTileJsonOperationsGetQueryParamProperties { + /** Asset's names. */ + assets?: MosaicsTileJsonOperationsGetAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | MosaicsTileJsonOperationsGetAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: 'WebMercatorQuad'). + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; + /** + * Default will be automatically defined if the output image needs a mask (png) or + * not (jpeg). + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: number; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** STAC Collection ID */ + collection?: string; + /** + * Resampling method + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** + * Pixel selection method. + * + * Possible values: "first", "highest", "lowest", "mean", "median", "stdev", "lastbandlow", "lastbandhight" + */ + pixel_selection?: PixelSelection; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: MosaicsTileJsonOperationsGetRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface MosaicsTileJsonOperationsGetQueryParam { + queryParameters?: MosaicsTileJsonOperationsGetQueryParamProperties; +} + +export type MosaicsTileJsonOperationsGetParameters = MosaicsTileJsonOperationsGetQueryParam & + RequestParameters; + +/** This is the wrapper object for the parameter `asset_bidx` with explode set to false and style set to form. */ +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlAssetBidxQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: false; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `assets` with explode set to true and style set to form. */ +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlAssetsQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +/** This is the wrapper object for the parameter `rescale` with explode set to true and style set to form. */ +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlRescaleQueryParam { + /** Value of the parameter */ + value: string[]; + /** Should we explode the value? */ + explode: true; + /** Style of the value */ + style: "form"; +} + +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParamProperties { + /** Asset's names. */ + assets?: MosaicsWmtsMosaicsGetCapabilitiesXmlAssetsQueryParam; + /** Band math expression between assets */ + expression?: string; + /** Per asset band indexes (coma separated indexes) */ + asset_bidx?: string[] | MosaicsWmtsMosaicsGetCapabilitiesXmlAssetBidxQueryParam; + /** Asset as Band */ + asset_as_band?: boolean; + /** Overwrite internal Nodata value */ + nodata?: number; + /** Apply internal Scale or Offset */ + unscale?: boolean; + /** + * Terrain algorithm name + * + * Possible values: "hillshade", "contours", "normalizedIndex", "terrarium", "terrainrgb" + */ + algorithm?: TerrainAlgorithm; + /** Terrain algorithm parameters */ + algorithm_params?: string; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad') + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; + /** + * Output image type. Default is png. + * + * Possible values: "png", "npy", "tif", "jpeg", "jpg", "jp2", "webp", "pngraw" + */ + tile_format?: TilerImageFormat; + /** Tile scale factor affecting output size. Values > 1 produce larger tiles (e.g., 1=256x256, 2=512x512). */ + tile_scale?: number; + /** Overwrite default minzoom. */ + minzoom?: number; + /** Overwrite default maxzoom. */ + maxzoom?: number; + /** + * Buffer on each side of the given tile. It must be a multiple of `0.5`. Output + * **tilesize** will be expanded to `tilesize + 2 * buffer` (e.g 0.5 = 257x257, + * 1.0 = 258x258). + */ + buffer?: string; + /** rio-color formula (info: https://github.com/mapbox/rio-color) */ + color_formula?: string; + /** + * Resampling method. + * + * Possible values: "nearest", "bilinear", "cubic", "cubic_spline", "lanczos", "average", "mode", "gauss", "rms" + */ + resampling?: Resampling; + /** comma (',') delimited Min,Max range. Can set multiple time for multiple bands. */ + rescale?: MosaicsWmtsMosaicsGetCapabilitiesXmlRescaleQueryParam; + /** + * Colormap name + * + * Possible values: "accent", "accent_r", "afmhot", "afmhot_r", "ai4g-lulc", "alos-fnf", "alos-palsar-mask", "autumn", "autumn_r", "binary", "binary_r", "blues", "blues_r", "bone", "bone_r", "brbg", "brbg_r", "brg", "brg_r", "bugn", "bugn_r", "bupu", "bupu_r", "bwr", "bwr_r", "c-cap", "cfastie", "chesapeake-lc-13", "chesapeake-lc-7", "chesapeake-lu", "chloris-biomass", "cividis", "cividis_r", "cmrmap", "cmrmap_r", "cool", "cool_r", "coolwarm", "coolwarm_r", "copper", "copper_r", "cubehelix", "cubehelix_r", "dark2", "dark2_r", "drcog-lulc", "esa-cci-lc", "esa-worldcover", "flag", "flag_r", "gap-lulc", "gist_earth", "gist_earth_r", "gist_gray", "gist_gray_r", "gist_heat", "gist_heat_r", "gist_ncar", "gist_ncar_r", "gist_rainbow", "gist_rainbow_r", "gist_stern", "gist_stern_r", "gist_yarg", "gist_yarg_r", "gnbu", "gnbu_r", "gnuplot", "gnuplot2", "gnuplot2_r", "gnuplot_r", "gray", "gray_r", "greens", "greens_r", "greys", "greys_r", "hot", "hot_r", "hsv", "hsv_r", "inferno", "inferno_r", "io-bii", "io-lulc", "io-lulc-9-class", "jet", "jet_r", "jrc-change", "jrc-extent", "jrc-occurrence", "jrc-recurrence", "jrc-seasonality", "jrc-transitions", "lidar-classification", "lidar-hag", "lidar-hag-alternative", "lidar-intensity", "lidar-returns", "magma", "magma_r", "modis-10A1", "modis-10A2", "modis-13A1|Q1", "modis-14A1|A2", "modis-15A2H|A3H", "modis-16A3GF-ET", "modis-16A3GF-PET", "modis-17A2H|A2HGF", "modis-17A3HGF", "modis-64A1", "mtbs-severity", "nipy_spectral", "nipy_spectral_r", "nrcan-lulc", "ocean", "ocean_r", "oranges", "oranges_r", "orrd", "orrd_r", "paired", "paired_r", "pastel1", "pastel1_r", "pastel2", "pastel2_r", "pink", "pink_r", "piyg", "piyg_r", "plasma", "plasma_r", "prgn", "prgn_r", "prism", "prism_r", "pubu", "pubu_r", "pubugn", "pubugn_r", "puor", "puor_r", "purd", "purd_r", "purples", "purples_r", "qpe", "rainbow", "rainbow_r", "rdbu", "rdbu_r", "rdgy", "rdgy_r", "rdpu", "rdpu_r", "rdylbu", "rdylbu_r", "rdylgn", "rdylgn_r", "reds", "reds_r", "rplumbo", "schwarzwald", "seismic", "seismic_r", "set1", "set1_r", "set2", "set2_r", "set3", "set3_r", "spectral", "spectral_r", "spring", "spring_r", "summer", "summer_r", "tab10", "tab10_r", "tab20", "tab20_r", "tab20b", "tab20b_r", "tab20c", "tab20c_r", "terrain", "terrain_r", "twilight", "twilight_r", "twilight_shifted", "twilight_shifted_r", "usda-cdl", "usda-cdl-corn", "usda-cdl-cotton", "usda-cdl-soybeans", "usda-cdl-wheat", "usgs-lcmap", "viirs-10a1", "viirs-13a1", "viirs-14a1", "viirs-15a2H", "viridis", "viridis_r", "winter", "winter_r", "wistia", "wistia_r", "ylgn", "ylgn_r", "ylgnbu", "ylgnbu_r", "ylorbr", "ylorbr_r", "ylorrd", "ylorrd_r" + */ + colormap_name?: ColorMapNames; + /** JSON encoded custom Colormap */ + colormap?: string; + /** Add mask to the output data. */ + return_mask?: boolean; +} + +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParam { + queryParameters?: MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParamProperties; +} + +export type MosaicsWmtsMosaicsGetCapabilitiesXmlParameters = + MosaicsWmtsMosaicsGetCapabilitiesXmlQueryParam & RequestParameters; + +export interface MosaicsAssetsForTilesGetZxyAssetsQueryParamProperties { + /** Return as soon as we scan N items (defaults to 10000 in PgSTAC). */ + scan_limit?: number; + /** Return as soon as we have N items per geometry (defaults to 100 in PgSTAC). */ + items_limit?: number; + /** Return after N seconds to avoid long requests (defaults to 5 in PgSTAC). */ + time_limit?: number; + /** Return as soon as the geometry is fully covered (defaults to True in PgSTAC). */ + exitwhenfull?: boolean; + /** + * Skip any items that would show up completely under the previous items (defaults + * to True in PgSTAC). + */ + skipcovered?: boolean; + /** + * Identifier selecting one of the TileMatrixSetId supported (default: + * 'WebMercatorQuad') + * + * Possible values: "CanadianNAD83_LCC", "EuropeanETRS89_LAEAQuad", "LINZAntarticaMapTilegrid", "NZTM2000Quad", "UPSAntarcticWGS84Quad", "UPSArcticWGS84Quad", "UTM31WGS84Quad", "WGS1984Quad", "WebMercatorQuad", "WorldCRS84Quad", "WorldMercatorWGS84Quad" + */ + tileMatrixSetId?: TileMatrixSetId; +} + +export interface MosaicsAssetsForTilesGetZxyAssetsQueryParam { + queryParameters?: MosaicsAssetsForTilesGetZxyAssetsQueryParamProperties; +} + +export type MosaicsAssetsForTilesGetZxyAssetsParameters = + MosaicsAssetsForTilesGetZxyAssetsQueryParam & RequestParameters; diff --git a/sdk/planetarycomputer/planetarycomputer/src/planetaryComputerClient.ts b/sdk/planetarycomputer/planetarycomputer/src/planetaryComputerClient.ts new file mode 100644 index 000000000000..1bc48c235ae7 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/planetaryComputerClient.ts @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { ClientOptions } from "@azure-rest/core-client"; +import { getClient } from "@azure-rest/core-client"; +import { logger } from "./logger.js"; +import type { TokenCredential } from "@azure/core-auth"; +import type { PlanetaryComputerClient } from "./clientDefinitions.js"; + +/** The optional parameters for the client */ +export interface PlanetaryComputerClientOptions extends ClientOptions { + /** The api version option of the client */ + apiVersion?: string; +} + +/** + * Initialize a new instance of `PlanetaryComputerClient` + * @param endpointParam - The parameter endpointParam + * @param credentials - uniquely identify client credential + * @param options - the parameter for all optional parameters + */ +export default function createClient( + endpointParam: string, + credentials: TokenCredential, + { apiVersion = "2025-04-30-preview", ...options }: PlanetaryComputerClientOptions = {}, +): PlanetaryComputerClient { + const endpointUrl = options.endpoint ?? `${endpointParam}`; + const userAgentInfo = `azsdk-js-planetarycomputer-rest/1.0.0-beta.1`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` + : `${userAgentInfo}`; + options = { + ...options, + userAgentOptions: { + userAgentPrefix, + }, + loggingOptions: { + logger: options.loggingOptions?.logger ?? logger.info, + }, + credentials: { + scopes: options.credentials?.scopes ?? ["https://geocatalog.spatio.azure.com/.default"], + }, + }; + const client = getClient(endpointUrl, credentials, options) as PlanetaryComputerClient; + + client.pipeline.removePolicy({ name: "ApiVersionPolicy" }); + client.pipeline.addPolicy({ + name: "ClientApiVersionPolicy", + sendRequest: (req, next) => { + // Use the apiVersion defined in request url directly + // Append one if there is no apiVersion and we have one at client options + const url = new URL(req.url); + if (!url.searchParams.get("api-version") && apiVersion) { + req.url = `${req.url}${ + Array.from(url.searchParams.keys()).length > 0 ? "&" : "?" + }api-version=${apiVersion}`; + } + + return next(req); + }, + }); + + return client; +} diff --git a/sdk/planetarycomputer/planetarycomputer/src/pollingHelper.ts b/sdk/planetarycomputer/planetarycomputer/src/pollingHelper.ts new file mode 100644 index 000000000000..2d13385b34bb --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/pollingHelper.ts @@ -0,0 +1,280 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { Client, HttpResponse } from "@azure-rest/core-client"; +import type { AbortSignalLike } from "@azure/abort-controller"; +import type { + CancelOnProgress, + CreateHttpPollerOptions, + RunningOperation, + OperationResponse, + OperationState, +} from "@azure/core-lro"; +import { createHttpPoller } from "@azure/core-lro"; +import type { + IngestionsDelete202Response, + IngestionsDeleteDefaultResponse, + IngestionsDeleteLogicalResponse, + StacCollectionsCreate202Response, + StacCollectionsCreateDefaultResponse, + StacCollectionsCreateLogicalResponse, + StacCollectionsCreateOrReplace200Response, + StacCollectionsCreateOrReplaceDefaultResponse, + StacCollectionsCreateOrReplaceLogicalResponse, + StacCollectionsDelete202Response, + StacCollectionsDeleteDefaultResponse, + StacCollectionsDeleteLogicalResponse, + StacItemsCreate202Response, + StacItemsCreateDefaultResponse, + StacItemsCreateLogicalResponse, + StacItemsCreateOrReplace202Response, + StacItemsCreateOrReplaceDefaultResponse, + StacItemsCreateOrReplaceLogicalResponse, + StacItemsUpdate202Response, + StacItemsUpdateDefaultResponse, + StacItemsUpdateLogicalResponse, + StacItemsDelete202Response, + StacItemsDeleteDefaultResponse, + StacItemsDeleteLogicalResponse, +} from "./responses.js"; + +/** + * A simple poller that can be used to poll a long running operation. + */ +export interface SimplePollerLike, TResult> { + /** + * Returns true if the poller has finished polling. + */ + isDone(): boolean; + /** + * Returns the state of the operation. + */ + getOperationState(): TState; + /** + * Returns the result value of the operation, + * regardless of the state of the poller. + * It can return undefined or an incomplete form of the final TResult value + * depending on the implementation. + */ + getResult(): TResult | undefined; + /** + * Returns a promise that will resolve once a single polling request finishes. + * It does this by calling the update method of the Poller's operation. + */ + poll(options?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Returns a promise that will resolve once the underlying operation is completed. + */ + pollUntilDone(pollOptions?: { abortSignal?: AbortSignalLike }): Promise; + /** + * Invokes the provided callback after each polling is completed, + * sending the current state of the poller's operation. + * + * It returns a method that can be used to stop receiving updates on the given callback function. + */ + onProgress(callback: (state: TState) => void): CancelOnProgress; + + /** + * Returns a promise that could be used for serialized version of the poller's operation + * by invoking the operation's serialize method. + */ + serialize(): Promise; + + /** + * Wait the poller to be submitted. + */ + submitted(): Promise; + + /** + * Returns a string representation of the poller's operation. Similar to serialize but returns a string. + * @deprecated Use serialize() instead. + */ + toString(): string; + + /** + * Stops the poller from continuing to poll. Please note this will only stop the client-side polling + * @deprecated Use abortSignal to stop polling instead. + */ + stopPolling(): void; + + /** + * Returns true if the poller is stopped. + * @deprecated Use abortSignal status to track this instead. + */ + isStopped(): boolean; +} + +/** + * Helper function that builds a Poller object to help polling a long running operation. + * @param client - Client to use for sending the request to get additional pages. + * @param initialResponse - The initial response. + * @param options - Options to set a resume state or custom polling interval. + * @returns - A poller object to poll for operation state updates and eventually get the final response. + */ +export async function getLongRunningPoller< + TResult extends IngestionsDeleteLogicalResponse | IngestionsDeleteDefaultResponse, +>( + client: Client, + initialResponse: IngestionsDelete202Response | IngestionsDeleteDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends StacCollectionsCreateLogicalResponse | StacCollectionsCreateDefaultResponse, +>( + client: Client, + initialResponse: StacCollectionsCreate202Response | StacCollectionsCreateDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends + | StacCollectionsCreateOrReplaceLogicalResponse + | StacCollectionsCreateOrReplaceDefaultResponse, +>( + client: Client, + initialResponse: + | StacCollectionsCreateOrReplace200Response + | StacCollectionsCreateOrReplaceDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends StacCollectionsDeleteLogicalResponse | StacCollectionsDeleteDefaultResponse, +>( + client: Client, + initialResponse: StacCollectionsDelete202Response | StacCollectionsDeleteDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends StacItemsCreateLogicalResponse | StacItemsCreateDefaultResponse, +>( + client: Client, + initialResponse: StacItemsCreate202Response | StacItemsCreateDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends StacItemsCreateOrReplaceLogicalResponse | StacItemsCreateOrReplaceDefaultResponse, +>( + client: Client, + initialResponse: StacItemsCreateOrReplace202Response | StacItemsCreateOrReplaceDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends StacItemsUpdateLogicalResponse | StacItemsUpdateDefaultResponse, +>( + client: Client, + initialResponse: StacItemsUpdate202Response | StacItemsUpdateDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller< + TResult extends StacItemsDeleteLogicalResponse | StacItemsDeleteDefaultResponse, +>( + client: Client, + initialResponse: StacItemsDelete202Response | StacItemsDeleteDefaultResponse, + options?: CreateHttpPollerOptions>, +): Promise, TResult>>; +export async function getLongRunningPoller( + client: Client, + initialResponse: TResult, + options: CreateHttpPollerOptions> = {}, +): Promise, TResult>> { + const abortController = new AbortController(); + const poller: RunningOperation = { + sendInitialRequest: async () => { + // In the case of Rest Clients we are building the LRO poller object from a response that's the reason + // we are not triggering the initial request here, just extracting the information from the + // response we were provided. + return getLroResponse(initialResponse); + }, + sendPollRequest: async (path: string, pollOptions?: { abortSignal?: AbortSignalLike }) => { + // This is the callback that is going to be called to poll the service + // to get the latest status. We use the client provided and the polling path + // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location + // depending on the lro pattern that the service implements. If non is provided we default to the initial path. + function abortListener(): void { + abortController.abort(); + } + const inputAbortSignal = pollOptions?.abortSignal; + const abortSignal = abortController.signal; + if (inputAbortSignal?.aborted) { + abortController.abort(); + } else if (!abortSignal.aborted) { + inputAbortSignal?.addEventListener("abort", abortListener, { + once: true, + }); + } + let response; + try { + response = await client + .pathUnchecked(path ?? initialResponse.request.url) + .get({ abortSignal }); + } finally { + inputAbortSignal?.removeEventListener("abort", abortListener); + } + const lroResponse = getLroResponse(response as TResult); + lroResponse.rawResponse.headers["x-ms-original-url"] = initialResponse.request.url; + return lroResponse; + }, + }; + + options.resolveOnUnsuccessful = options.resolveOnUnsuccessful ?? true; + const httpPoller = createHttpPoller(poller, options); + const simplePoller: SimplePollerLike, TResult> = { + isDone() { + return httpPoller.isDone; + }, + isStopped() { + return abortController.signal.aborted; + }, + getOperationState() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return httpPoller.operationState; + }, + getResult() { + return httpPoller.result; + }, + toString() { + if (!httpPoller.operationState) { + throw new Error( + "Operation state is not available. The poller may not have been started and you could await submitted() before calling getOperationState().", + ); + } + return JSON.stringify({ + state: httpPoller.operationState, + }); + }, + stopPolling() { + abortController.abort(); + }, + onProgress: httpPoller.onProgress, + poll: httpPoller.poll, + pollUntilDone: httpPoller.pollUntilDone, + serialize: httpPoller.serialize, + submitted: httpPoller.submitted, + }; + return simplePoller; +} + +/** + * Converts a Rest Client response to a response that the LRO implementation understands + * @param response - a rest client http response + * @returns - An LRO response that the LRO implementation understands + */ +function getLroResponse( + response: TResult, +): OperationResponse { + if (Number.isNaN(response.status)) { + throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); + } + + return { + flatResponse: response, + rawResponse: { + ...response, + statusCode: Number.parseInt(response.status), + body: response.body, + }, + }; +} diff --git a/sdk/planetarycomputer/planetarycomputer/src/responses.ts b/sdk/planetarycomputer/planetarycomputer/src/responses.ts new file mode 100644 index 000000000000..a426e038d913 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/src/responses.ts @@ -0,0 +1,2045 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { RawHttpHeaders } from "@azure/core-rest-pipeline"; +import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client"; +import type { + PageOperationOutput, + OperationOutput, + PageIngestionRunOutput, + IngestionRunOutput, + PageIngestionOutput, + IngestionOutput, + PageIngestionSourceSummaryOutput, + IngestionSourceOutput, + PageManagedIdentityMetadataOutput, + StacCollectionOutput, + UserCollectionSettingsOutput, + StacMosaicOutput, + StacCatalogCollectionsOutput, + PartitionTypeOutput, + RenderOptionOutput, + TileSettingsOutput, + StacConformanceClassesOutput, + StacItemCollectionOutput, + StacItemOutput, + StacLandingPageOutput, + StacQueryableOutput, + TileMatrixSetOutput, + StacAssetStatisticsOutput, + StacItemBoundsOutput, + GeoJsonStatisticsForStacItemCollectionOutput, + TilerInfoGeoJsonFeatureOutput, + InfoOperationResponseOutput, + TilerCoreModelsResponsesPointOutput, + ImageResponseOutput, + StatisticsResponseOutput, + TileJsonMetaDataOutput, + IntervalLegendsElementOutput, + StacAssetOutput, + TilerStacSearchRegistrationOutput, + TilerMosaicSearchRegistrationResponseOutput, + SharedAccessSignatureTokenOutput, + SignedLinkOutput, +} from "./outputModels.js"; + +/** The request has succeeded. */ +export interface IngestionOperationsList200Response extends HttpResponse { + status: "200"; + body: PageOperationOutput; +} + +export interface IngestionOperationsListDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionOperationsListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionOperationsListDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionOperationsGet200Response extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +export interface IngestionOperationsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionOperationsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionOperationsGetDefaultHeaders; +} + +/** There is no content to send for this request, but the headers may be useful. */ +export interface IngestionOperationsDelete204Response extends HttpResponse { + status: "204"; +} + +export interface IngestionOperationsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionOperationsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionOperationsDeleteDefaultHeaders; +} + +/** There is no content to send for this request, but the headers may be useful. */ +export interface IngestionOperationsDeleteAll204Response extends HttpResponse { + status: "204"; +} + +export interface IngestionOperationsDeleteAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionOperationsDeleteAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionOperationsDeleteAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionRunsList200Response extends HttpResponse { + status: "200"; + body: PageIngestionRunOutput; +} + +export interface IngestionRunsListDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionRunsListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionRunsListDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionRunsGet200Response extends HttpResponse { + status: "200"; + body: IngestionRunOutput; +} + +export interface IngestionRunsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionRunsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionRunsGetDefaultHeaders; +} + +export interface IngestionRunsCreate201Headers { + /** Url of the created ingestion run */ + location: string; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface IngestionRunsCreate201Response extends HttpResponse { + status: "201"; + body: IngestionRunOutput; + headers: RawHttpHeaders & IngestionRunsCreate201Headers; +} + +export interface IngestionRunsCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionRunsCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionRunsCreateDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionsList200Response extends HttpResponse { + status: "200"; + body: PageIngestionOutput; +} + +export interface IngestionsListDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionsListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionsListDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionsGet200Response extends HttpResponse { + status: "200"; + body: IngestionOutput; +} + +export interface IngestionsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionsGetDefaultHeaders; +} + +export interface IngestionsCreate201Headers { + /** Url of the created ingestion */ + location: string; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface IngestionsCreate201Response extends HttpResponse { + status: "201"; + body: IngestionOutput; + headers: RawHttpHeaders & IngestionsCreate201Headers; +} + +export interface IngestionsCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionsCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionsCreateDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionsUpdate200Response extends HttpResponse { + status: "200"; + body: IngestionOutput; +} + +export interface IngestionsUpdateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionsUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionsUpdateDefaultHeaders; +} + +export interface IngestionsDelete202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface IngestionsDelete202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & IngestionsDelete202Headers; +} + +export interface IngestionsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionsDeleteDefaultHeaders; +} + +/** The final response for long-running delete operation */ +export interface IngestionsDeleteLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +/** The request has succeeded. */ +export interface IngestionSourcesList200Response extends HttpResponse { + status: "200"; + body: PageIngestionSourceSummaryOutput; +} + +export interface IngestionSourcesListDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionSourcesListDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionSourcesListDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionSourcesGet200Response extends HttpResponse { + status: "200"; + body: IngestionSourceOutput; +} + +export interface IngestionSourcesGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionSourcesGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionSourcesGetDefaultHeaders; +} + +export interface IngestionSourcesCreate201Headers { + /** Url of the created ingestion source */ + location: string; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface IngestionSourcesCreate201Response extends HttpResponse { + status: "201"; + body: IngestionSourceOutput; + headers: RawHttpHeaders & IngestionSourcesCreate201Headers; +} + +export interface IngestionSourcesCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionSourcesCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionSourcesCreateDefaultHeaders; +} + +export interface IngestionSourcesCreateOrReplace200Headers { + /** Url of the created ingestion source */ + location: string; +} + +/** The request has succeeded. */ +export interface IngestionSourcesCreateOrReplace200Response extends HttpResponse { + status: "200"; + body: IngestionSourceOutput; + headers: RawHttpHeaders & IngestionSourcesCreateOrReplace200Headers; +} + +export interface IngestionSourcesCreateOrReplace201Headers { + /** Url of the created ingestion source */ + location: string; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface IngestionSourcesCreateOrReplace201Response extends HttpResponse { + status: "201"; + body: IngestionSourceOutput; + headers: RawHttpHeaders & IngestionSourcesCreateOrReplace201Headers; +} + +export interface IngestionSourcesCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionSourcesCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionSourcesCreateOrReplaceDefaultHeaders; +} + +/** There is no content to send for this request, but the headers may be useful. */ +export interface IngestionSourcesDelete204Response extends HttpResponse { + status: "204"; +} + +export interface IngestionSourcesDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionSourcesDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionSourcesDeleteDefaultHeaders; +} + +/** The request has succeeded. */ +export interface IngestionSourcesListManagedIdentities200Response extends HttpResponse { + status: "200"; + body: PageManagedIdentityMetadataOutput; +} + +export interface IngestionSourcesListManagedIdentitiesDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface IngestionSourcesListManagedIdentitiesDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & IngestionSourcesListManagedIdentitiesDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionAssetsCreate200Response extends HttpResponse { + status: "200"; + body: StacCollectionOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacCollectionAssetsCreate201Response extends HttpResponse { + status: "201"; + body: StacCollectionOutput; +} + +export interface StacCollectionAssetsCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionAssetsCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionAssetsCreateDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionAssetsCreateOrReplace200Response extends HttpResponse { + status: "200"; + body: StacCollectionOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacCollectionAssetsCreateOrReplace201Response extends HttpResponse { + status: "201"; + body: StacCollectionOutput; +} + +export interface StacCollectionAssetsCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionAssetsCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionAssetsCreateOrReplaceDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionAssetsDelete200Response extends HttpResponse { + status: "200"; +} + +export interface StacCollectionAssetsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionAssetsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionAssetsDeleteDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionConfigGet200Response extends HttpResponse { + status: "200"; + body: UserCollectionSettingsOutput; +} + +export interface StacCollectionConfigGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionConfigGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionConfigGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionMosaicsGetAll200Response extends HttpResponse { + status: "200"; + body: Array; +} + +export interface StacCollectionMosaicsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionMosaicsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionMosaicsGetAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionMosaicsAdd200Response extends HttpResponse { + status: "200"; + body: StacMosaicOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacCollectionMosaicsAdd201Response extends HttpResponse { + status: "201"; + body: StacMosaicOutput; +} + +export interface StacCollectionMosaicsAddDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionMosaicsAddDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionMosaicsAddDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionMosaicsGet200Response extends HttpResponse { + status: "200"; + body: StacMosaicOutput; +} + +export interface StacCollectionMosaicsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionMosaicsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionMosaicsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionMosaicsCreateOrReplace200Response extends HttpResponse { + status: "200"; + body: StacMosaicOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacCollectionMosaicsCreateOrReplace201Response extends HttpResponse { + status: "201"; + body: StacMosaicOutput; +} + +export interface StacCollectionMosaicsCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionMosaicsCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionMosaicsCreateOrReplaceDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionMosaicsDelete200Response extends HttpResponse { + status: "200"; +} + +export interface StacCollectionMosaicsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionMosaicsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionMosaicsDeleteDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionsGetAll200Response extends HttpResponse { + status: "200"; + body: StacCatalogCollectionsOutput; +} + +export interface StacCollectionsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionsGetAllDefaultHeaders; +} + +export interface StacCollectionsCreate202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface StacCollectionsCreate202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & StacCollectionsCreate202Headers; +} + +export interface StacCollectionsCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionsCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionsCreateDefaultHeaders; +} + +/** The final response for long-running create operation */ +export interface StacCollectionsCreateLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +/** The request has succeeded. */ +export interface StacCollectionsGet200Response extends HttpResponse { + status: "200"; + body: StacCollectionOutput; +} + +export interface StacCollectionsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionsGetDefaultHeaders; +} + +export interface StacCollectionsCreateOrReplace200Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has succeeded. */ +export interface StacCollectionsCreateOrReplace200Response extends HttpResponse { + status: "200"; + body: OperationOutput; + headers: RawHttpHeaders & StacCollectionsCreateOrReplace200Headers; +} + +export interface StacCollectionsCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionsCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionsCreateOrReplaceDefaultHeaders; +} + +/** The final response for long-running createOrReplace operation */ +export interface StacCollectionsCreateOrReplaceLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +export interface StacCollectionsDelete202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface StacCollectionsDelete202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & StacCollectionsDelete202Headers; +} + +export interface StacCollectionsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionsDeleteDefaultHeaders; +} + +/** The final response for long-running delete operation */ +export interface StacCollectionsDeleteLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +/** The request has succeeded. */ +export interface StacCollectionPartitionTypesGet200Response extends HttpResponse { + status: "200"; + body: PartitionTypeOutput; +} + +export interface StacCollectionPartitionTypesGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionPartitionTypesGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionPartitionTypesGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionPartitionTypesReplace200Response extends HttpResponse { + status: "200"; +} + +/** The server cannot find the requested resource. */ +export interface StacCollectionPartitionTypesReplace404Response extends HttpResponse { + status: "404"; +} + +export interface StacCollectionPartitionTypesReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionPartitionTypesReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionPartitionTypesReplaceDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionRenderOptionsGetAll200Response extends HttpResponse { + status: "200"; + body: Array; +} + +export interface StacCollectionRenderOptionsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionRenderOptionsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionRenderOptionsGetAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionRenderOptionsCreate200Response extends HttpResponse { + status: "200"; + body: RenderOptionOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacCollectionRenderOptionsCreate201Response extends HttpResponse { + status: "201"; + body: RenderOptionOutput; +} + +export interface StacCollectionRenderOptionsCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionRenderOptionsCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionRenderOptionsCreateDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionRenderOptionsGet200Response extends HttpResponse { + status: "200"; + body: RenderOptionOutput; +} + +export interface StacCollectionRenderOptionsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionRenderOptionsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionRenderOptionsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionRenderOptionsCreateOrReplace200Response extends HttpResponse { + status: "200"; + body: RenderOptionOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacCollectionRenderOptionsCreateOrReplace201Response extends HttpResponse { + status: "201"; + body: RenderOptionOutput; +} + +export interface StacCollectionRenderOptionsCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionRenderOptionsCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionRenderOptionsCreateOrReplaceDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionRenderOptionsDelete200Response extends HttpResponse { + status: "200"; +} + +export interface StacCollectionRenderOptionsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionRenderOptionsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionRenderOptionsDeleteDefaultHeaders; +} + +export interface StacCollectionThumbnailsGet200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface StacCollectionThumbnailsGet200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & StacCollectionThumbnailsGet200Headers; +} + +export interface StacCollectionThumbnailsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionThumbnailsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionThumbnailsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionTileSettingsGet200Response extends HttpResponse { + status: "200"; + body: TileSettingsOutput; +} + +export interface StacCollectionTileSettingsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionTileSettingsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionTileSettingsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacCollectionTileSettingsReplace200Response extends HttpResponse { + status: "200"; + body: TileSettingsOutput; +} + +export interface StacCollectionTileSettingsReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacCollectionTileSettingsReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacCollectionTileSettingsReplaceDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacConformanceClassGet200Response extends HttpResponse { + status: "200"; + body: StacConformanceClassesOutput; +} + +export interface StacConformanceClassGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacConformanceClassGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacConformanceClassGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacItemsGetFeatures200Response extends HttpResponse { + status: "200"; + body: StacItemCollectionOutput; +} + +export interface StacItemsGetFeaturesDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacItemsGetFeaturesDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacItemsGetFeaturesDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacItemsGet200Response extends HttpResponse { + status: "200"; + body: StacItemOutput; +} + +export interface StacItemsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacItemsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacItemsGetDefaultHeaders; +} + +export interface StacItemsCreate202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface StacItemsCreate202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & StacItemsCreate202Headers; +} + +export interface StacItemsCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacItemsCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacItemsCreateDefaultHeaders; +} + +/** The final response for long-running create operation */ +export interface StacItemsCreateLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +export interface StacItemsCreateOrReplace202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface StacItemsCreateOrReplace202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & StacItemsCreateOrReplace202Headers; +} + +export interface StacItemsCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacItemsCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacItemsCreateOrReplaceDefaultHeaders; +} + +/** The final response for long-running createOrReplace operation */ +export interface StacItemsCreateOrReplaceLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +export interface StacItemsUpdate202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface StacItemsUpdate202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & StacItemsUpdate202Headers; +} + +export interface StacItemsUpdateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacItemsUpdateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacItemsUpdateDefaultHeaders; +} + +/** The final response for long-running update operation */ +export interface StacItemsUpdateLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +export interface StacItemsDelete202Headers { + /** Url used to monitor the background operation */ + location: string; + /** Url used to monitor the background operation */ + "operation-location": string; +} + +/** The request has been accepted for processing, but processing has not yet completed. */ +export interface StacItemsDelete202Response extends HttpResponse { + status: "202"; + body: OperationOutput; + headers: RawHttpHeaders & StacItemsDelete202Headers; +} + +export interface StacItemsDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacItemsDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacItemsDeleteDefaultHeaders; +} + +/** The final response for long-running delete operation */ +export interface StacItemsDeleteLogicalResponse extends HttpResponse { + status: "200"; + body: OperationOutput; +} + +/** The request has succeeded. */ +export interface StacLandingPagesGet200Response extends HttpResponse { + status: "200"; + body: StacLandingPageOutput; +} + +export interface StacLandingPagesGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacLandingPagesGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacLandingPagesGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacQueryablesGetAll200Response extends HttpResponse { + status: "200"; + body: Record; +} + +export interface StacQueryablesGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacQueryablesGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacQueryablesGetAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacQueryablesDelete200Response extends HttpResponse { + status: "200"; +} + +export interface StacQueryablesDeleteDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacQueryablesDeleteDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacQueryablesDeleteDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacQueryablesGetAllByCollection200Response extends HttpResponse { + status: "200"; + body: Record; +} + +export interface StacQueryablesGetAllByCollectionDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacQueryablesGetAllByCollectionDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacQueryablesGetAllByCollectionDefaultHeaders; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacQueryablesCreate201Response extends HttpResponse { + status: "201"; + body: Array; +} + +export interface StacQueryablesCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacQueryablesCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacQueryablesCreateDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacQueryablesCreateOrReplace200Response extends HttpResponse { + status: "200"; + body: StacQueryableOutput; +} + +/** The request has succeeded and a new resource has been created as a result. */ +export interface StacQueryablesCreateOrReplace201Response extends HttpResponse { + status: "201"; + body: StacQueryableOutput; +} + +export interface StacQueryablesCreateOrReplaceDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacQueryablesCreateOrReplaceDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacQueryablesCreateOrReplaceDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacSearchGet200Response extends HttpResponse { + status: "200"; + body: StacItemCollectionOutput; +} + +export interface StacSearchGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacSearchGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacSearchGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface StacSearchCreate200Response extends HttpResponse { + status: "200"; + body: StacItemCollectionOutput; +} + +export interface StacSearchCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface StacSearchCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & StacSearchCreateDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TileMatrixDefinitionsGet200Response extends HttpResponse { + status: "200"; + body: TileMatrixSetOutput; +} + +export interface TileMatrixDefinitionsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TileMatrixDefinitionsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TileMatrixDefinitionsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TileMatrixListGet200Response extends HttpResponse { + status: "200"; + body: string[]; +} + +export interface TileMatrixListGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TileMatrixListGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TileMatrixListGetDefaultHeaders; +} + +/** Return dataset's statistics. */ +export interface TilerAssetStatisticsGetAll200Response extends HttpResponse { + status: "200"; + body: StacAssetStatisticsOutput; +} + +export interface TilerAssetStatisticsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerAssetStatisticsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerAssetStatisticsGetAllDefaultHeaders; +} + +/** Return a list of supported assets. */ +export interface TilerAvailableAssetsGetAll200Response extends HttpResponse { + status: "200"; + body: string[]; +} + +export interface TilerAvailableAssetsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerAvailableAssetsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerAvailableAssetsGetAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerBoundGetAll200Response extends HttpResponse { + status: "200"; + body: StacItemBoundsOutput; +} + +export interface TilerBoundGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerBoundGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerBoundGetAllDefaultHeaders; +} + +export interface TilerGeoJsonsCropWidthByHeightFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerGeoJsonsCropWidthByHeightFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerGeoJsonsCropWidthByHeightFormat200Headers; +} + +export interface TilerGeoJsonsCropWidthByHeightFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerGeoJsonsCropWidthByHeightFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerGeoJsonsCropWidthByHeightFormatDefaultHeaders; +} + +export interface TilerGeoJsonsCropFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerGeoJsonsCropFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerGeoJsonsCropFormat200Headers; +} + +export interface TilerGeoJsonsCropFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerGeoJsonsCropFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerGeoJsonsCropFormatDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerGeoJsonStatisticsGetAll200Response extends HttpResponse { + status: "200"; + body: GeoJsonStatisticsForStacItemCollectionOutput; +} + +export interface TilerGeoJsonStatisticsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerGeoJsonStatisticsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerGeoJsonStatisticsGetAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerInfoGeoJsonOperationsGet200Response extends HttpResponse { + status: "200"; + body: TilerInfoGeoJsonFeatureOutput; +} + +export interface TilerInfoGeoJsonOperationsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerInfoGeoJsonOperationsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerInfoGeoJsonOperationsGetDefaultHeaders; +} + +/** Return dataset's basic info or the list of available assets. */ +export interface TilerInfoOperationsGet200Response extends HttpResponse { + status: "200"; + body: InfoOperationResponseOutput; +} + +export interface TilerInfoOperationsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerInfoOperationsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerInfoOperationsGetDefaultHeaders; +} + +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeight200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeight200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBoxWidthByHeight200Headers; +} + +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBoxWidthByHeightDefaultHeaders; +} + +export interface TilerPartsGetCroppedToBoundingBox200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerPartsGetCroppedToBoundingBox200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBox200Headers; +} + +export interface TilerPartsGetCroppedToBoundingBoxDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerPartsGetCroppedToBoundingBoxDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerPartsGetCroppedToBoundingBoxDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerPointsGetPoint200Response extends HttpResponse { + status: "200"; + body: TilerCoreModelsResponsesPointOutput; +} + +export interface TilerPointsGetPointDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerPointsGetPointDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerPointsGetPointDefaultHeaders; +} + +export interface TilerPreviewsGetFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerPreviewsGetFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerPreviewsGetFormat200Headers; +} + +export interface TilerPreviewsGetFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerPreviewsGetFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerPreviewsGetFormatDefaultHeaders; +} + +export interface TilerPreviewsGet200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerPreviewsGet200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerPreviewsGet200Headers; +} + +export interface TilerPreviewsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerPreviewsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerPreviewsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerStaticImagesCreate200Response extends HttpResponse { + status: "200"; + body: ImageResponseOutput; +} + +export interface TilerStaticImagesCreateDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerStaticImagesCreateDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerStaticImagesCreateDefaultHeaders; +} + +export interface TilerStaticImagesGet200Headers { + /** content type */ + "content-type": "image/png"; +} + +/** Return an image. */ +export interface TilerStaticImagesGet200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerStaticImagesGet200Headers; +} + +export interface TilerStaticImagesGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerStaticImagesGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerStaticImagesGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerStatisticsGetAll200Response extends HttpResponse { + status: "200"; + body: StatisticsResponseOutput; +} + +export interface TilerStatisticsGetAllDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerStatisticsGetAllDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerStatisticsGetAllDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerTileJsonTileMatrixSetsGet200Response extends HttpResponse { + status: "200"; + body: TileJsonMetaDataOutput; +} + +export interface TilerTileJsonTileMatrixSetsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerTileJsonTileMatrixSetsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerTileJsonTileMatrixSetsGetDefaultHeaders; +} + +export interface TilerTileMatrixSetsGetZxyScaleByFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerTileMatrixSetsGetZxyScaleByFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerTileMatrixSetsGetZxyScaleByFormat200Headers; +} + +export interface TilerTileMatrixSetsGetZxyScaleByFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerTileMatrixSetsGetZxyScaleByFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerTileMatrixSetsGetZxyScaleByFormatDefaultHeaders; +} + +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXml200Headers { + /** content type for WMTSCapabilitiesXmlResponse */ + "content-type": "application/xml"; +} + +/** Successful Response */ +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXml200Response extends HttpResponse { + status: "200"; + body: string; + headers: RawHttpHeaders & TilerWmtsTileMatrixSetsGetCapabilitiesXml200Headers; +} + +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerWmtsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders; +} + +/** The request has succeeded. */ +export interface MapsClassMapLegendsGet200Response extends HttpResponse { + status: "200"; + body: Record; +} + +export interface MapsClassMapLegendsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MapsClassMapLegendsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MapsClassMapLegendsGetDefaultHeaders; +} + +export interface MapsIntervalLegendsGetByClassMapName200Headers { + /** content type */ + "content-type": "application/json"; +} + +/** + * Interval legend response model. + * + * Represents a color map for intervals, where each interval is defined by: + * - A numeric range `[min, max]` representing the interval boundaries. + * - An RGBA color `[red, green, blue, alpha]` associated with the interval. + * + * The response is a 2D array of interval definitions, where each element is a pair: + * - The first element is an array of two numbers `[min, max]` defining the interval. + * - The second element is an array of four numbers `[red, green, blue, alpha]` defining the RGBA color. + * + * Example: + * ```json + * [ + * [ + * [-2, 0], [0, 0, 0, 0] + * ], + * [ + * [1, 32], [255, 255, 178, 255] + * ] + * ] + * ``` + * This example defines two intervals: + * - The interval `[-2, 0]` is mapped to the color `[0, 0, 0, 0]` (transparent black). + * - The interval `[1, 32]` is mapped to the color `[255, 255, 178, 255]` (opaque yellow). + */ +export interface MapsIntervalLegendsGetByClassMapName200Response extends HttpResponse { + status: "200"; + body: Array[]; + headers: RawHttpHeaders & MapsIntervalLegendsGetByClassMapName200Headers; +} + +export interface MapsIntervalLegendsGetByClassMapNameDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MapsIntervalLegendsGetByClassMapNameDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MapsIntervalLegendsGetByClassMapNameDefaultHeaders; +} + +export interface MapsLegendsGet200Headers { + /** content type */ + "content-type": "image/png"; +} + +/** Return an image. */ +export interface MapsLegendsGet200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & MapsLegendsGet200Headers; +} + +export interface MapsLegendsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MapsLegendsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MapsLegendsGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface MosaicsAssetsForPointsGetPointAssets200Response extends HttpResponse { + status: "200"; + body: Array; +} + +export interface MosaicsAssetsForPointsGetPointAssetsDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsAssetsForPointsGetPointAssetsDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsAssetsForPointsGetPointAssetsDefaultHeaders; +} + +/** Return list of assets */ +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssets200Response extends HttpResponse { + status: "200"; + body: any[]; +} + +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsAssetsForTileMatrixSetsGetZxyAssetsDefaultHeaders; +} + +/** The request has succeeded. */ +export interface MosaicsInfoSearchGet200Response extends HttpResponse { + status: "200"; + body: TilerStacSearchRegistrationOutput; +} + +export interface MosaicsInfoSearchGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsInfoSearchGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsInfoSearchGetDefaultHeaders; +} + +/** The request has succeeded. */ +export interface MosaicsRegisterSearchRegister200Response extends HttpResponse { + status: "200"; + body: TilerMosaicSearchRegistrationResponseOutput; +} + +export interface MosaicsRegisterSearchRegisterDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsRegisterSearchRegisterDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsRegisterSearchRegisterDefaultHeaders; +} + +/** The request has succeeded. */ +export interface MosaicsTileMatrixSetsTileJsonGet200Response extends HttpResponse { + status: "200"; + body: TileJsonMetaDataOutput; +} + +export interface MosaicsTileMatrixSetsTileJsonGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsTileMatrixSetsTileJsonGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsTileMatrixSetsTileJsonGetDefaultHeaders; +} + +export interface MosaicsTileMatrixSetsGetZxyScaleByFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface MosaicsTileMatrixSetsGetZxyScaleByFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & MosaicsTileMatrixSetsGetZxyScaleByFormat200Headers; +} + +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsTileMatrixSetsGetZxyScaleByFormatDefaultHeaders; +} + +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Headers { + /** content type for WMTSCapabilitiesXmlResponse */ + "content-type": "application/xml"; +} + +/** Successful Response */ +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Response + extends HttpResponse { + status: "200"; + body: string; + headers: RawHttpHeaders & MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXml200Headers; +} + +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultResponse + extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsWmtsMosaicsTileMatrixSetsGetCapabilitiesXmlDefaultHeaders; +} + +/** Successful Response */ +export interface SasGetToken200Response extends HttpResponse { + status: "200"; + body: SharedAccessSignatureTokenOutput; +} + +export interface SasGetTokenDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface SasGetTokenDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & SasGetTokenDefaultHeaders; +} + +/** The request has succeeded. */ +export interface SasRevokeToken200Response extends HttpResponse { + status: "200"; +} + +export interface SasRevokeTokenDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface SasRevokeTokenDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & SasRevokeTokenDefaultHeaders; +} + +/** Successful Response */ +export interface SasGetSign200Response extends HttpResponse { + status: "200"; + body: SignedLinkOutput; +} + +export interface SasGetSignDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface SasGetSignDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & SasGetSignDefaultHeaders; +} + +export interface TilerTilesGetZxyScaleByFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface TilerTilesGetZxyScaleByFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & TilerTilesGetZxyScaleByFormat200Headers; +} + +export interface TilerTilesGetZxyScaleByFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerTilesGetZxyScaleByFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerTilesGetZxyScaleByFormatDefaultHeaders; +} + +/** The request has succeeded. */ +export interface TilerTileJsonOperationsGet200Response extends HttpResponse { + status: "200"; + body: TileJsonMetaDataOutput; +} + +export interface TilerTileJsonOperationsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerTileJsonOperationsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerTileJsonOperationsGetDefaultHeaders; +} + +export interface TilerWmtsGetCapabilitiesXml200Headers { + /** content type for wmts capabilities */ + "content-type": "application/xml"; +} + +/** Successful Response */ +export interface TilerWmtsGetCapabilitiesXml200Response extends HttpResponse { + status: "200"; + body: string; + headers: RawHttpHeaders & TilerWmtsGetCapabilitiesXml200Headers; +} + +export interface TilerWmtsGetCapabilitiesXmlDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface TilerWmtsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & TilerWmtsGetCapabilitiesXmlDefaultHeaders; +} + +export interface MosaicsTilesGetZxyScaleByFormat200Headers { + /** content type */ + "content-type": "application/x-binary"; +} + +/** Return an image. */ +export interface MosaicsTilesGetZxyScaleByFormat200Response extends HttpResponse { + status: "200"; + /** Value may contain any sequence of octets */ + body: Uint8Array; + headers: RawHttpHeaders & MosaicsTilesGetZxyScaleByFormat200Headers; +} + +export interface MosaicsTilesGetZxyScaleByFormatDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsTilesGetZxyScaleByFormatDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsTilesGetZxyScaleByFormatDefaultHeaders; +} + +/** The request has succeeded. */ +export interface MosaicsTileJsonOperationsGet200Response extends HttpResponse { + status: "200"; + body: TileJsonMetaDataOutput; +} + +export interface MosaicsTileJsonOperationsGetDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsTileJsonOperationsGetDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsTileJsonOperationsGetDefaultHeaders; +} + +export interface MosaicsWmtsMosaicsGetCapabilitiesXml200Headers { + /** content type for WMTSCapabilitiesXmlResponse */ + "content-type": "application/xml"; +} + +/** Successful Response */ +export interface MosaicsWmtsMosaicsGetCapabilitiesXml200Response extends HttpResponse { + status: "200"; + body: string; + headers: RawHttpHeaders & MosaicsWmtsMosaicsGetCapabilitiesXml200Headers; +} + +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsWmtsMosaicsGetCapabilitiesXmlDefaultHeaders; +} + +/** Return list of assets */ +export interface MosaicsAssetsForTilesGetZxyAssets200Response extends HttpResponse { + status: "200"; + body: any[]; +} + +export interface MosaicsAssetsForTilesGetZxyAssetsDefaultHeaders { + /** String error code indicating what went wrong. */ + "x-ms-error-code"?: string; +} + +export interface MosaicsAssetsForTilesGetZxyAssetsDefaultResponse extends HttpResponse { + status: string; + body: ErrorResponse; + headers: RawHttpHeaders & MosaicsAssetsForTilesGetZxyAssetsDefaultHeaders; +} diff --git a/sdk/planetarycomputer/planetarycomputer/test/public/sampleTest.spec.ts b/sdk/planetarycomputer/planetarycomputer/test/public/sampleTest.spec.ts new file mode 100644 index 000000000000..ba3fe0848315 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/test/public/sampleTest.spec.ts @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { Recorder } from "@azure-tools/test-recorder"; +import { createRecorder } from "./utils/recordedClient.js"; +import { assert, beforeEach, afterEach, it, describe } from "vitest"; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (ctx) { + recorder = await createRecorder(ctx); + }); + + afterEach(async function () { + await recorder.stop(); + }); + + it("sample test", async function () { + assert.equal(1, 1); + }); +}); diff --git a/sdk/planetarycomputer/planetarycomputer/test/public/utils/recordedClient.ts b/sdk/planetarycomputer/planetarycomputer/test/public/utils/recordedClient.ts new file mode 100644 index 000000000000..285e4643c45e --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/test/public/utils/recordedClient.ts @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import type { RecorderStartOptions, VitestTestContext } from "@azure-tools/test-recorder"; +import { Recorder } from "@azure-tools/test-recorder"; + +const replaceableVariables: Record = { + SUBSCRIPTION_ID: "azure_subscription_id", +}; + +const recorderEnvSetup: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +/** + * creates the recorder and reads the environment variables from the `.env` file. + * Should be called first in the test suite to make sure environment variables are + * read before they are being used. + */ +export async function createRecorder(context: VitestTestContext): Promise { + const recorder = new Recorder(context); + await recorder.start(recorderEnvSetup); + return recorder; +} diff --git a/sdk/planetarycomputer/planetarycomputer/test/snippets.spec.ts b/sdk/planetarycomputer/planetarycomputer/test/snippets.spec.ts new file mode 100644 index 000000000000..5d6136453264 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/test/snippets.spec.ts @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { setLogLevel } from "@azure/logger"; +import { describe, it } from "vitest"; + +describe("snippets", () => { + it("SetLogLevel", async () => { + setLogLevel("info"); + }); +}); diff --git a/sdk/planetarycomputer/planetarycomputer/tsconfig.browser.config.json b/sdk/planetarycomputer/planetarycomputer/tsconfig.browser.config.json new file mode 100644 index 000000000000..b0afd7a950d7 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/tsconfig.browser.config.json @@ -0,0 +1,10 @@ +{ + "extends": "../../../tsconfig.browser.base.json", + "compilerOptions": { + "paths": { + "@azure-rest/planetarycomputer": ["./dist/browser/index.d.ts"], + "@azure-rest/planetarycomputer/*": ["./dist/browser/*"], + "$internal/*": ["./dist/browser/*"] + } + } +} diff --git a/sdk/planetarycomputer/planetarycomputer/tsconfig.json b/sdk/planetarycomputer/planetarycomputer/tsconfig.json new file mode 100644 index 000000000000..a6c78ba925f3 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/tsconfig.json @@ -0,0 +1,13 @@ +{ + "references": [ + { + "path": "./tsconfig.src.json" + }, + { + "path": "./tsconfig.test.json" + }, + { + "path": "./tsconfig.snippets.json" + } + ] +} \ No newline at end of file diff --git a/sdk/planetarycomputer/planetarycomputer/tsconfig.snippets.json b/sdk/planetarycomputer/planetarycomputer/tsconfig.snippets.json new file mode 100644 index 000000000000..6f3148b5ed97 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/tsconfig.snippets.json @@ -0,0 +1,3 @@ +{ + "extends": ["../../../tsconfig.snippets.base.json"] +} diff --git a/sdk/planetarycomputer/planetarycomputer/tsconfig.src.json b/sdk/planetarycomputer/planetarycomputer/tsconfig.src.json new file mode 100644 index 000000000000..bae70752dd38 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/tsconfig.src.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tsconfig.lib.json" +} diff --git a/sdk/planetarycomputer/planetarycomputer/tsconfig.test.json b/sdk/planetarycomputer/planetarycomputer/tsconfig.test.json new file mode 100644 index 000000000000..290ca214aebc --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/tsconfig.test.json @@ -0,0 +1,3 @@ +{ + "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] +} diff --git a/sdk/planetarycomputer/planetarycomputer/tsp-location.yaml b/sdk/planetarycomputer/planetarycomputer/tsp-location.yaml new file mode 100644 index 000000000000..a10d90d19c6a --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/tsp-location.yaml @@ -0,0 +1,4 @@ +directory: specification/orbital/Microsoft.PlanetaryComputer +commit: 33a47b63b33458aa710ffd1f581b13e11b6e79e8 +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/planetarycomputer/planetarycomputer/vitest.browser.config.ts b/sdk/planetarycomputer/planetarycomputer/vitest.browser.config.ts new file mode 100644 index 000000000000..72964f281efe --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/vitest.browser.config.ts @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/planetarycomputer/planetarycomputer/vitest.config.ts b/sdk/planetarycomputer/planetarycomputer/vitest.config.ts new file mode 100644 index 000000000000..0dfa15cc4498 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/vitest.config.ts @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import viteConfig from "../../../vitest.shared.config.ts"; + +export default viteConfig; diff --git a/sdk/planetarycomputer/planetarycomputer/vitest.esm.config.ts b/sdk/planetarycomputer/planetarycomputer/vitest.esm.config.ts new file mode 100644 index 000000000000..5e9735e9b144 --- /dev/null +++ b/sdk/planetarycomputer/planetarycomputer/vitest.esm.config.ts @@ -0,0 +1,8 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { mergeConfig } from "vitest/config"; +import vitestConfig from "./vitest.config.ts"; +import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; + +export default mergeConfig(vitestConfig, vitestEsmConfig);