UNPKG

arlas-api

Version:
2,756 lines (2,755 loc) 543 kB
/** * ARLAS Server APIs * Explore the content of ARLAS collections * * OpenAPI spec version: 28.0.0 * Contact: contact@gisaia.com * * NOTE: This file is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the file manually. */ import { Configuration } from "./configuration.js"; /** * * @export */ export declare const COLLECTION_FORMATS: { csv: string; ssv: string; tsv: string; pipes: string; }; /** * * @export * @interface FetchAPI */ export interface FetchAPI { (url: string, init?: any): Promise<Response>; } /** * * @export * @interface FetchArgs */ export interface FetchArgs { url: string; options: any; } /** * * @export * @class BaseAPI */ export declare class BaseAPI { protected basePath: string; protected fetch: FetchAPI; protected configuration: Configuration; constructor(configuration?: Configuration, basePath?: string, fetch?: FetchAPI); } /** * * @export * @class RequiredError * @extends {Error} */ export declare class RequiredError extends Error { field: string; name: "RequiredError"; constructor(field: string, msg?: string); } /** * * @export * @interface Aggregation */ export interface Aggregation { /** * * @type {string} * @memberof Aggregation */ type?: Aggregation.TypeEnum; /** * * @type {string} * @memberof Aggregation */ field?: string; /** * * @type {Interval} * @memberof Aggregation */ interval?: Interval; /** * * @type {string} * @memberof Aggregation */ format?: string; /** * * @type {Array<Metric>} * @memberof Aggregation */ metrics?: Array<Metric>; /** * * @type {string} * @memberof Aggregation */ order?: Aggregation.OrderEnum; /** * * @type {string} * @memberof Aggregation */ on?: Aggregation.OnEnum; /** * * @type {string} * @memberof Aggregation */ size?: string; /** * * @type {string} * @memberof Aggregation */ include?: string; /** * * @type {Array<RawGeometry>} * @memberof Aggregation */ raw_geometries?: Array<RawGeometry>; /** * * @type {Array<string>} * @memberof Aggregation */ aggregated_geometries?: Array<Aggregation.AggregatedGeometriesEnum>; /** * * @type {HitsFetcher} * @memberof Aggregation */ fetch_hits?: HitsFetcher; } /** * @export * @namespace Aggregation */ export declare namespace Aggregation { /** * @export * @enum {string} */ enum TypeEnum { Datehistogram, Geohash, Geotile, Histogram, Term, Geohex } /** * @export * @enum {string} */ enum OrderEnum { Asc, Desc } /** * @export * @enum {string} */ enum OnEnum { Field, Count, Result } /** * @export * @enum {string} */ enum AggregatedGeometriesEnum { BBOX, CENTROID, CELL, CELLCENTER, GEOHASH, GEOHASHCENTER } } /** * * @export * @interface AggregationMetric */ export interface AggregationMetric { /** * * @type {string} * @memberof AggregationMetric */ type?: string; /** * * @type {string} * @memberof AggregationMetric */ field?: string; /** * * @type {any} * @memberof AggregationMetric */ value?: any; } /** * * @export * @interface AggregationResponse */ export interface AggregationResponse { /** * * @type {number} * @memberof AggregationResponse */ query_time?: number; /** * * @type {number} * @memberof AggregationResponse */ total_time?: number; /** * * @type {number} * @memberof AggregationResponse */ totalnb?: number; /** * * @type {string} * @memberof AggregationResponse */ name?: string; /** * * @type {number} * @memberof AggregationResponse */ count?: number; /** * * @type {number} * @memberof AggregationResponse */ sumotherdoccounts?: number; /** * * @type {any} * @memberof AggregationResponse */ key?: any; /** * * @type {any} * @memberof AggregationResponse */ key_as_string?: any; /** * * @type {Array<AggregationResponse>} * @memberof AggregationResponse */ elements?: Array<AggregationResponse>; /** * * @type {Array<AggregationMetric>} * @memberof AggregationResponse */ metrics?: Array<AggregationMetric>; /** * * @type {Array<any>} * @memberof AggregationResponse */ hits?: Array<any>; /** * * @type {Array<ReturnedGeometry>} * @memberof AggregationResponse */ geometries?: Array<ReturnedGeometry>; /** * * @type {{ [key: string]: any; }} * @memberof AggregationResponse */ flattened_elements?: { [key: string]: any; }; } /** * * @export * @interface AggregationsRequest */ export interface AggregationsRequest { /** * * @type {Array<Filter>} * @memberof AggregationsRequest */ partition_filter?: Array<Filter>; /** * * @type {Filter} * @memberof AggregationsRequest */ filter?: Filter; /** * * @type {Form} * @memberof AggregationsRequest */ form?: Form; /** * * @type {Array<Aggregation>} * @memberof AggregationsRequest */ aggregations?: Array<Aggregation>; } /** * * @export * @interface ArlasHit */ export interface ArlasHit { /** * * @type {MD} * @memberof ArlasHit */ md?: MD; /** * * @type {any} * @memberof ArlasHit */ data?: any; } /** * * @export * @interface Bbox */ export interface Bbox { /** * * @type {number} * @memberof Bbox */ north: number; /** * * @type {number} * @memberof Bbox */ south: number; /** * * @type {number} * @memberof Bbox */ east: number; /** * * @type {number} * @memberof Bbox */ west: number; } /** * * @export * @interface Collection */ export interface Collection { /** * * @type {string} * @memberof Collection */ stac_version: string; /** * * @type {Array<string>} * @memberof Collection */ stac_extensions?: Array<string>; /** * * @type {string} * @memberof Collection */ type: string; /** * identifier of the collection used, for example, in URIs * @type {string} * @memberof Collection */ id: string; /** * human readable title of the collection * @type {string} * @memberof Collection */ title?: string; /** * Detailed multi-line description to fully explain the catalog or collection. [CommonMark 0.29](http://commonmark.org/) syntax MAY be used for rich text representation. * @type {string} * @memberof Collection */ description: string; /** * * @type {Array<StacLink>} * @memberof Collection */ links: Array<StacLink>; /** * List of keywords describing the collection. * @type {Array<string>} * @memberof Collection */ keywords?: Array<string>; /** * List of crs describing the collection. * @type {Array<string>} * @memberof Collection */ crs?: Array<string>; /** * * @type {string} * @memberof Collection */ license: string; /** * * @type {Extent} * @memberof Collection */ extent: Extent; /** * * @type {Array<Provider>} * @memberof Collection */ providers?: Array<Provider>; /** * Summaries are either a unique set of all available values *or* statistics. Statistics by default only specify the range (minimum and maximum values), but can optionally be accompanied by additional statistical values. The range can specify the potential range of values, but it is recommended to be as precise as possible. The set of values must contain at least one element and it is strongly recommended to list all values. It is recommended to list as many properties as reasonable so that consumers get a full overview of the Collection. Properties that are covered by the Collection specification (e.g. `providers` and `license`) may not be repeated in the summaries. * @type {{ [key: string]: any; }} * @memberof Collection */ summaries?: { [key: string]: any; }; /** * This provides an optional mechanism to expose assets that don't make sense at the Item level. * @type {{ [key: string]: any; }} * @memberof Collection */ assets?: { [key: string]: any; }; } /** * * @export * @interface CollectionDisplayNames */ export interface CollectionDisplayNames { /** * * @type {string} * @memberof CollectionDisplayNames */ collection?: string; /** * * @type {{ [key: string]: string; }} * @memberof CollectionDisplayNames */ fields?: { [key: string]: string; }; /** * * @type {{ [key: string]: string; }} * @memberof CollectionDisplayNames */ shape_columns?: { [key: string]: string; }; } /** * * @export * @interface CollectionList */ export interface CollectionList { /** * * @type {Array<StacLink>} * @memberof CollectionList */ links: Array<StacLink>; /** * * @type {Array<Collection>} * @memberof CollectionList */ collections: Array<Collection>; } /** * * @export * @interface CollectionOrganisations */ export interface CollectionOrganisations { /** * * @type {string} * @memberof CollectionOrganisations */ owner?: string; /** * * @type {Array<string>} * @memberof CollectionOrganisations */ shared?: Array<string>; /** * * @type {boolean} * @memberof CollectionOrganisations */ _public?: boolean; } /** * * @export * @interface CollectionReference */ export interface CollectionReference { /** * * @type {string} * @memberof CollectionReference */ collection_name: string; /** * * @type {CollectionReferenceParameters} * @memberof CollectionReference */ params: CollectionReferenceParameters; } /** * * @export * @interface CollectionReferenceDescription */ export interface CollectionReferenceDescription { /** * * @type {{ [key: string]: CollectionReferenceDescriptionProperty; }} * @memberof CollectionReferenceDescription */ properties?: { [key: string]: CollectionReferenceDescriptionProperty; }; /** * * @type {string} * @memberof CollectionReferenceDescription */ collection_name: string; /** * * @type {CollectionReferenceParameters} * @memberof CollectionReferenceDescription */ params: CollectionReferenceParameters; } /** * * @export * @interface CollectionReferenceDescriptionProperty */ export interface CollectionReferenceDescriptionProperty { /** * * @type {string} * @memberof CollectionReferenceDescriptionProperty */ type?: CollectionReferenceDescriptionProperty.TypeEnum; /** * * @type {string} * @memberof CollectionReferenceDescriptionProperty */ format?: string; /** * * @type {string} * @memberof CollectionReferenceDescriptionProperty */ hash_field?: string; /** * * @type {{ [key: string]: CollectionReferenceDescriptionProperty; }} * @memberof CollectionReferenceDescriptionProperty */ properties?: { [key: string]: CollectionReferenceDescriptionProperty; }; /** * * @type {boolean} * @memberof CollectionReferenceDescriptionProperty */ taggable?: boolean; /** * * @type {boolean} * @memberof CollectionReferenceDescriptionProperty */ indexed?: boolean; } /** * @export * @namespace CollectionReferenceDescriptionProperty */ export declare namespace CollectionReferenceDescriptionProperty { /** * @export * @enum {string} */ enum TypeEnum { TEXT, KEYWORD, LONG, INTEGER, SHORT, BYTE, DOUBLE, FLOAT, DATE, BOOLEAN, BINARY, INTRANGE, FLOATRANGE, LONGRANGE, DOUBLERANGE, DATERANGE, OBJECT, NESTED, GEOPOINT, GEOSHAPE, IP, COMPLETION, TOKENCOUNT, MAPPERMURMUR3, UNKNOWN, VARCHAR, CHAR, CHARACTER, BIT, TINYINT, SMALLINT, INT, BIGINT, DECIMAL, NUMERIC, REAL, DOUBLEPRECISION, TIMESTAMP, TIME, INTERVAL, GEOMETRY, GEOGRAPHY, POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, GEOMETRYCOLLECTION, MURMUR3 } } /** * * @export * @interface CollectionReferenceParameters */ export interface CollectionReferenceParameters { /** * * @type {string} * @memberof CollectionReferenceParameters */ index_name: string; /** * * @type {string} * @memberof CollectionReferenceParameters */ id_path: string; /** * * @type {string} * @memberof CollectionReferenceParameters */ geometry_path: string; /** * * @type {string} * @memberof CollectionReferenceParameters */ centroid_path: string; /** * * @type {string} * @memberof CollectionReferenceParameters */ timestamp_path: string; /** * * @type {string} * @memberof CollectionReferenceParameters */ exclude_fields?: string; /** * * @type {number} * @memberof CollectionReferenceParameters */ update_max_hits?: number; /** * * @type {string} * @memberof CollectionReferenceParameters */ taggable_fields?: string; /** * * @type {string} * @memberof CollectionReferenceParameters */ exclude_wfs_fields?: string; /** * * @type {{ [key: string]: string; }} * @memberof CollectionReferenceParameters */ custom_params?: { [key: string]: string; }; /** * * @type {CollectionDisplayNames} * @memberof CollectionReferenceParameters */ display_names?: CollectionDisplayNames; /** * * @type {CollectionOrganisations} * @memberof CollectionReferenceParameters */ organisations?: CollectionOrganisations; /** * * @type {Feed} * @memberof CollectionReferenceParameters */ atom_feed?: Feed; /** * * @type {OpenSearch} * @memberof CollectionReferenceParameters */ open_search?: OpenSearch; /** * * @type {Inspire} * @memberof CollectionReferenceParameters */ inspire?: Inspire; /** * * @type {DublinCoreElementName} * @memberof CollectionReferenceParameters */ dublin_core_element_name?: DublinCoreElementName; /** * * @type {RasterTileURL} * @memberof CollectionReferenceParameters */ raster_tile_url?: RasterTileURL; /** * * @type {number} * @memberof CollectionReferenceParameters */ raster_tile_width?: number; /** * * @type {number} * @memberof CollectionReferenceParameters */ raster_tile_height?: number; /** * * @type {Filter} * @memberof CollectionReferenceParameters */ filter?: Filter; /** * * @type {string} * @memberof CollectionReferenceParameters */ license_name?: string; /** * * @type {Array<string>} * @memberof CollectionReferenceParameters */ license_urls?: Array<string>; /** * * @type {boolean} * @memberof CollectionReferenceParameters */ is_stac_model?: boolean; } /** * * @export * @interface CollectionReferenceUpdateOrg */ export interface CollectionReferenceUpdateOrg { /** * * @type {boolean} * @memberof CollectionReferenceUpdateOrg */ _public?: boolean; /** * * @type {Array<string>} * @memberof CollectionReferenceUpdateOrg */ shared?: Array<string>; } /** * * @export * @interface CollectionsImportBody */ export interface CollectionsImportBody { /** * * @type {FormDataContentDisposition} * @memberof CollectionsImportBody */ file?: FormDataContentDisposition; } /** * * @export * @interface ComputationRequest */ export interface ComputationRequest { /** * * @type {Array<Filter>} * @memberof ComputationRequest */ partition_filter?: Array<Filter>; /** * * @type {Filter} * @memberof ComputationRequest */ filter?: Filter; /** * * @type {Form} * @memberof ComputationRequest */ form?: Form; /** * * @type {string} * @memberof ComputationRequest */ field?: string; /** * * @type {string} * @memberof ComputationRequest */ metric?: ComputationRequest.MetricEnum; } /** * @export * @namespace ComputationRequest */ export declare namespace ComputationRequest { /** * @export * @enum {string} */ enum MetricEnum { AVG, MAX, MIN, SUM, CARDINALITY, SPANNING, GEOBBOX, GEOCENTROID } } /** * * @export * @interface ComputationResponse */ export interface ComputationResponse { /** * * @type {number} * @memberof ComputationResponse */ query_time?: number; /** * * @type {number} * @memberof ComputationResponse */ total_time?: number; /** * * @type {number} * @memberof ComputationResponse */ totalnb?: number; /** * * @type {string} * @memberof ComputationResponse */ field?: string; /** * * @type {string} * @memberof ComputationResponse */ metric?: ComputationResponse.MetricEnum; /** * * @type {number} * @memberof ComputationResponse */ value?: number; /** * * @type {GeoJsonObject} * @memberof ComputationResponse */ geometry?: GeoJsonObject; } /** * @export * @namespace ComputationResponse */ export declare namespace ComputationResponse { /** * @export * @enum {string} */ enum MetricEnum { AVG, MAX, MIN, SUM, CARDINALITY, SPANNING, GEOBBOX, GEOCENTROID } } /** * * @export * @interface ConformanceClasses */ export interface ConformanceClasses { /** * A list of all conformance classes implemented by the server. In addition to the STAC-specific conformance classes, all OGC-related conformance classes listed at `GET /conformances` must be listed here. This entry should mirror what `GET /conformances` returns, if implemented. * @type {Array<string>} * @memberof ConformanceClasses */ conforms_to: Array<string>; } /** * * @export * @interface Count */ export interface Count { /** * * @type {Array<Filter>} * @memberof Count */ partition_filter?: Array<Filter>; /** * * @type {Filter} * @memberof Count */ filter?: Filter; /** * * @type {Form} * @memberof Count */ form?: Form; } /** * * @export * @interface Crs */ export interface Crs { /** * * @type {string} * @memberof Crs */ type?: Crs.TypeEnum; /** * * @type {{ [key: string]: any; }} * @memberof Crs */ properties?: { [key: string]: any; }; } /** * @export * @namespace Crs */ export declare namespace Crs { /** * @export * @enum {string} */ enum TypeEnum { Name, Link } } /** * * @export * @interface DublinCoreElementName */ export interface DublinCoreElementName { /** * * @type {string} * @memberof DublinCoreElementName */ title?: string; /** * * @type {string} * @memberof DublinCoreElementName */ creator?: string; /** * * @type {string} * @memberof DublinCoreElementName */ subject?: string; /** * * @type {string} * @memberof DublinCoreElementName */ description?: string; /** * * @type {string} * @memberof DublinCoreElementName */ publisher?: string; /** * * @type {string} * @memberof DublinCoreElementName */ contributor?: string; /** * * @type {string} * @memberof DublinCoreElementName */ type?: string; /** * * @type {string} * @memberof DublinCoreElementName */ format?: string; /** * * @type {string} * @memberof DublinCoreElementName */ identifier?: string; /** * * @type {string} * @memberof DublinCoreElementName */ source?: string; /** * * @type {string} * @memberof DublinCoreElementName */ language?: string; /** * * @type {Bbox} * @memberof DublinCoreElementName */ bbox?: Bbox; /** * * @type {string} * @memberof DublinCoreElementName */ date?: string; /** * * @type {any} * @memberof DublinCoreElementName */ coverage?: any; /** * * @type {string} * @memberof DublinCoreElementName */ coverage_centroid?: string; } /** * * @export * @interface Expression */ export interface Expression { /** * * @type {string} * @memberof Expression */ field?: string; /** * * @type {string} * @memberof Expression */ op?: Expression.OpEnum; /** * * @type {string} * @memberof Expression */ value?: string; } /** * @export * @namespace Expression */ export declare namespace Expression { /** * @export * @enum {string} */ enum OpEnum { Eq, Gte, Gt, Lte, Lt, Like, Ne, Range, Within, Notwithin, Intersects, Notintersects } } /** * * @export * @interface Extent */ export interface Extent { /** * * @type {ExtentSpatial} * @memberof Extent */ spatial: ExtentSpatial; /** * * @type {ExtentTemporal} * @memberof Extent */ temporal: ExtentTemporal; } /** * * @export * @interface ExtentSpatial */ export interface ExtentSpatial { /** * One or more bounding boxes that describe the spatial extent of the dataset. The first bounding box describes the overall spatial extent of the data. All subsequent bounding boxes describe more precise bounding boxes, e.g., to identify clusters of data. Clients only interested in the overall spatial extent will only need to access the first item in each array. * @type {Array<Array<number>>} * @memberof ExtentSpatial */ bbox: Array<Array<number>>; /** * Coordinate reference system of the coordinates in the spatial extent (property `bbox`). The default reference system is WGS 84 longitude/latitude. In the Core this is the only supported coordinate reference system. Extensions may support additional coordinate reference systems and add additional enum values. * @type {string} * @memberof ExtentSpatial */ crs?: ExtentSpatial.CrsEnum; } /** * @export * @namespace ExtentSpatial */ export declare namespace ExtentSpatial { /** * @export * @enum {string} */ enum CrsEnum { HttpwwwOpengisNetdefcrsOGC13CRS84 } } /** * * @export * @interface ExtentTemporal */ export interface ExtentTemporal { /** * One or more time intervals that describe the temporal extent of the dataset. The first time interval describes the overall temporal extent of the data. All subsequent time intervals describe more precise time intervals, e.g., to identify clusters of data. Clients only interested in the overall extent will only need to access the first item in each array. * @type {Array<Array<string>>} * @memberof ExtentTemporal */ interval: Array<Array<string>>; /** * Coordinate reference system of the coordinates in the temporal extent (property `interval`). The default reference system is the Gregorian calendar. In the Core this is the only supported temporal reference system. Extensions may support additional temporal reference systems and add additional enum values. * @type {string} * @memberof ExtentTemporal */ trs?: ExtentTemporal.TrsEnum; } /** * @export * @namespace ExtentTemporal */ export declare namespace ExtentTemporal { /** * @export * @enum {string} */ enum TrsEnum { HttpwwwOpengisNetdefuomISO86010Gregorian } } /** * * @export * @interface Feature */ export interface Feature extends GeoJsonObject { /** * * @type {{ [key: string]: any; }} * @memberof Feature */ properties?: { [key: string]: any; }; /** * * @type {GeoJsonObject} * @memberof Feature */ geometry?: GeoJsonObject; /** * * @type {string} * @memberof Feature */ id?: string; } /** * * @export * @interface FeatureCollection */ export interface FeatureCollection extends GeoJsonObject { /** * * @type {Array<Feature>} * @memberof FeatureCollection */ features?: Array<Feature>; } /** * * @export * @interface Feed */ export interface Feed { /** * * @type {Person} * @memberof Feed */ author?: Person; /** * * @type {Person} * @memberof Feed */ contributor?: Person; /** * * @type {string} * @memberof Feed */ icon?: string; /** * * @type {string} * @memberof Feed */ logo?: string; /** * * @type {string} * @memberof Feed */ rights?: string; /** * * @type {string} * @memberof Feed */ subtitle?: string; /** * * @type {Generator} * @memberof Feed */ generator?: Generator; } /** * * @export * @interface Filter */ export interface Filter { /** * * @type {Array<Array<Expression>>} * @memberof Filter */ f?: Array<Array<Expression>>; /** * * @type {Array<Array<string>>} * @memberof Filter */ q?: Array<Array<string>>; /** * * @type {string} * @memberof Filter */ dateformat?: string; /** * * @type {boolean} * @memberof Filter */ righthand?: boolean; } /** * * @export * @interface Form */ export interface Form { /** * * @type {boolean} * @memberof Form */ pretty?: boolean; /** * * @type {boolean} * @memberof Form */ flat?: boolean; } /** * * @export * @interface FormDataContentDisposition */ export interface FormDataContentDisposition { /** * * @type {string} * @memberof FormDataContentDisposition */ type?: string; /** * * @type {{ [key: string]: string; }} * @memberof FormDataContentDisposition */ parameters?: { [key: string]: string; }; /** * * @type {string} * @memberof FormDataContentDisposition */ file_name?: string; /** * * @type {Date} * @memberof FormDataContentDisposition */ creation_date?: Date; /** * * @type {Date} * @memberof FormDataContentDisposition */ modification_date?: Date; /** * * @type {Date} * @memberof FormDataContentDisposition */ read_date?: Date; /** * * @type {number} * @memberof FormDataContentDisposition */ size?: number; /** * * @type {string} * @memberof FormDataContentDisposition */ name?: string; } /** * * @export * @interface Generator */ export interface Generator { /** * * @type {string} * @memberof Generator */ name?: string; /** * * @type {string} * @memberof Generator */ version?: string; /** * * @type {string} * @memberof Generator */ uri?: string; } /** * * @export * @interface Geo */ export interface Geo { /** * * @type {string} * @memberof Geo */ path?: string; /** * * @type {GeoJsonObject} * @memberof Geo */ geometry?: GeoJsonObject; } /** * * @export * @interface GeoJsonObject */ export interface GeoJsonObject { /** * * @type {Crs} * @memberof GeoJsonObject */ crs?: Crs; /** * * @type {Array<number>} * @memberof GeoJsonObject */ bbox?: Array<number>; /** * * @type {string} * @memberof GeoJsonObject */ type: string; } /** * * @export * @interface GeometryCollection */ export interface GeometryCollection extends GeoJsonObject { /** * * @type {Array<GeoJsonObject>} * @memberof GeometryCollection */ geometries?: Array<GeoJsonObject>; } /** * * @export * @interface Hits */ export interface Hits { /** * * @type {string} * @memberof Hits */ collection?: string; /** * * @type {Array<ArlasHit>} * @memberof Hits */ hits?: Array<ArlasHit>; /** * * @type {number} * @memberof Hits */ nbhits?: number; /** * * @type {number} * @memberof Hits */ totalnb?: number; /** * * @type {{ [key: string]: Link; }} * @memberof Hits */ links?: { [key: string]: Link; }; } /** * * @export * @interface HitsFetcher */ export interface HitsFetcher { /** * * @type {number} * @memberof HitsFetcher */ size?: number; /** * * @type {Array<string>} * @memberof HitsFetcher */ include?: Array<string>; } /** * * @export * @interface Inspire */ export interface Inspire { /** * * @type {Array<Keyword>} * @memberof Inspire */ keywords?: Array<Keyword>; /** * * @type {Array<string>} * @memberof Inspire */ topic_categories?: Array<string>; /** * * @type {string} * @memberof Inspire */ lineage?: string; /** * * @type {Array<string>} * @memberof Inspire */ languages?: Array<string>; /** * * @type {InspireSpatialResolution} * @memberof Inspire */ spatial_resolution?: InspireSpatialResolution; /** * * @type {InspireURI} * @memberof Inspire */ inspire_uri?: InspireURI; /** * * @type {InspireLimitationAccess} * @memberof Inspire */ inspire_limitation_access?: InspireLimitationAccess; /** * * @type {string} * @memberof Inspire */ inspire_use_conditions?: string; } /** * * @export * @interface InspireLimitationAccess */ export interface InspireLimitationAccess { /** * * @type {string} * @memberof InspireLimitationAccess */ access_constraints?: string; /** * * @type {string} * @memberof InspireLimitationAccess */ other_constraints?: string; /** * * @type {string} * @memberof InspireLimitationAccess */ classification?: string; } /** * * @export * @interface InspireSpatialResolution */ export interface InspireSpatialResolution { /** * * @type {number} * @memberof InspireSpatialResolution */ value?: number; /** * * @type {string} * @memberof InspireSpatialResolution */ unit_of_measure?: string; } /** * * @export * @interface InspireURI */ export interface InspireURI { /** * * @type {string} * @memberof InspireURI */ code?: string; /** * * @type {string} * @memberof InspireURI */ namespace?: string; } /** * * @export * @interface Interval */ export interface Interval { /** * * @type {number} * @memberof Interval */ value?: number; /** * * @type {string} * @memberof Interval */ unit?: Interval.UnitEnum; } /** * @export * @namespace Interval */ export declare namespace Interval { /** * @export * @enum {string} */ enum UnitEnum { Year, Quarter, Month, Week, Day, Hour, Minute, Second } } /** * * @export * @interface Item */ export interface Item { /** * * @type {Crs} * @memberof Item */ crs?: Crs; /** * * @type {Array<number>} * @memberof Item */ bbox?: Array<number>; /** * * @type {{ [key: string]: any; }} * @memberof Item */ properties?: { [key: string]: any; }; /** * * @type {GeoJsonObject} * @memberof Item */ geometry?: GeoJsonObject; /** * * @type {string} * @memberof Item */ id?: string; /** * * @type {string} * @memberof Item */ stac_version: string; /** * * @type {Array<string>} * @memberof Item */ stac_extensions?: Array<string>; /** * * @type {string} * @memberof Item */ type: string; /** * * @type {Array<StacLink>} * @memberof Item */ links: Array<StacLink>; /** * * @type {string} * @memberof Item */ collection?: string; /** * * @type {{ [key: string]: any; }} * @memberof Item */ assets: { [key: string]: any; }; /** * * @type {string} * @memberof Item */ catalog?: string; /** * * @type {Array<number>} * @memberof Item */ centroid?: Array<number>; } /** * * @export * @interface JSONObject */ export interface JSONObject { } /** * * @export * @interface Keyword */ export interface Keyword { /** * * @type {string} * @memberof Keyword */ value?: string; /** * * @type {string} * @memberof Keyword */ vocabulary?: string; /** * * @type {string} * @memberof Keyword */ date_of_publication?: string; } /** * * @export * @interface LandingPage */ export interface LandingPage { /** * * @type {string} * @memberof LandingPage */ stac_version: string; /** * * @type {Array<string>} * @memberof LandingPage */ stac_extensions?: Array<string>; /** * * @type {string} * @memberof LandingPage */ type: string; /** * * @type {string} * @memberof LandingPage */ id: string; /** * * @type {string} * @memberof LandingPage */ title?: string; /** * * @type {string} * @memberof LandingPage */ description: string; /** * * @type {Array<StacLink>} * @memberof LandingPage */ links: Array<StacLink>; /** * A list of all conformance classes implemented by the server. In addition to the STAC-specific conformance classes, all OGC-related conformance classes listed at `GET /conformances` must be listed here. This entry should mirror what `GET /conformances` returns, if implemented. * @type {Array<string>} * @memberof LandingPage */ conforms_to: Array<string>; } /** * * @export * @interface LineString */ export interface LineString extends GeoJsonObject { /** * * @type {Array<LngLatAlt>} * @memberof LineString */ coordinates?: Array<LngLatAlt>; } /** * * @export * @interface Link */ export interface Link { /** * * @type {string} * @memberof Link */ href: string; /** * * @type {string} * @memberof Link */ method: string; /** * * @type {any} * @memberof Link */ body?: any; } /** * * @export * @interface LngLatAlt */ export interface LngLatAlt { /** * * @type {number} * @memberof LngLatAlt */ longitude?: number; /** * * @type {number} * @memberof LngLatAlt */ latitude?: number; /** * * @type {number} * @memberof LngLatAlt */ altitude?: number; /** * * @type {Array<number>} * @memberof LngLatAlt */ additional_elements?: Array<number>; } /** * * @export * @interface MD */ export interface MD { /** * * @type {string} * @memberof MD */ id?: string; /** * * @type {number} * @memberof MD */ timestamp?: number; /** * * @type {GeoJsonObject} * @memberof MD */ geometry?: GeoJsonObject; /** * * @type {GeoJsonObject} * @memberof MD */ centroid?: GeoJsonObject; /** * * @type {Array<Geo>} * @memberof MD */ returned_geometries?: Array<Geo>; } /** * * @export * @interface Metric */ export interface Metric { /** * * @type {string} * @memberof Metric */ collect_field?: string; /** * * @type {string} * @memberof Metric */ collect_fct?: Metric.CollectFctEnum; } /** * @export * @namespace Metric */ export declare namespace Metric { /** * @export * @enum {string} */ enum CollectFctEnum { AVG, CARDINALITY, MAX, MIN, SUM, GEOCENTROID, GEOBBOX } } /** * * @export * @interface ModelError */ export interface ModelError { /** * * @type {number} * @memberof ModelError */ status?: number; /** * * @type {string} * @memberof ModelError */ message?: string; /** * * @type {string} * @memberof ModelError */ error?: string; } /** * * @export * @interface MultiLineString */ export interface MultiLineString extends GeoJsonObject { /** * * @type {Array<Array<LngLatAlt>>} * @memberof MultiLineString */ coordinates?: Array<Array<LngLatAlt>>; } /** * * @export * @interface MultiPoint */ export interface MultiPoint extends GeoJsonObject { /** * * @type {Array<LngLatAlt>} * @memberof MultiPoint */ coordinates?: Array<LngLatAlt>; } /** * * @export * @interface MultiPolygon */ export interface MultiPolygon extends GeoJsonObject { /** * * @type {Array<Array<Array<LngLatAlt>>>} * @memberof MultiPolygon */ coordinates?: Array<Array<Array<LngLatAlt>>>; } /** * * @export */ export type MultiValueFilterExpression = Array<Expression>; /** * * @export */ export type MultiValueFilterString = Array<string>; /** * * @export * @interface OpenSearch */ export interface OpenSearch { /** * * @type {string} * @memberof OpenSearch */ short_name?: string; /** * * @type {string} * @memberof OpenSearch */ description?: string; /** * * @type {string} * @memberof OpenSearch */ contact?: string; /** * * @type {string} * @memberof OpenSearch */ tags?: string; /** * * @type {string} * @memberof OpenSearch */ long_name?: string; /** * * @type {string} * @memberof OpenSearch */ image_height?: string; /** * * @type {string} * @memberof OpenSearch */ image_width?: string; /** * * @type {string} * @memberof OpenSearch */ image_type?: string; /** * * @type {string} * @memberof OpenSearch */ image_url?: string; /** * * @type {string} * @memberof OpenSearch */ developer?: string; /** * * @type {string} * @memberof OpenSearch */ attribution?: string; /** * * @type {string} * @memberof OpenSearch */ syndication_right?: string; /** * * @type {string} * @memberof OpenSearch */ adult_content?: string; /** * * @type {string} * @memberof OpenSearch */ language?: string; /** * * @type {string} * @memberof OpenSearch */ input_encoding?: string; /** * * @type {string} * @memberof OpenSearch */ output_encoding?: string; } /** * * @export * @interface Page */ export interface Page { /** * * @type {number} * @memberof Page */ size?: number; /** * * @type {number} * @memberof Page */ from?: number; /** * * @type {string} * @memberof Page */ sort?: string; /** * * @type {string} * @memberof Page */ after?: string; /** * * @type {string} * @memberof Page */ before?: string; } /** * * @export * @interface Person */ export interface Person { /** * * @type {string} * @memberof Person */ name?: string; /** * * @type {string} * @memberof Person */ email?: string; /** * * @type {string} * @memberof Person */ uri?: string; } /** * * @export * @interface Point */ export interface Point extends GeoJsonObject { /** * * @type {LngLatAlt} * @memberof Point */ coordinates?: LngLatAlt; } /** * * @export * @interface Polygon */ export interface Polygon extends GeoJsonObject { /** * * @type {Array<Array<LngLatAlt>>} * @memberof Polygon */ coordinates?: Array<Array<LngLatAlt>>; } /** * * @export * @interface Projection */ export interface Projection { /** * * @type {string} * @memberof Projection */ includes?: string; /** * * @type {string} * @memberof Projection */ excludes?: string; } /** * * @export * @interface Provider */ export interface Provider { /** * The name of the organization or the individual. * @type {string} * @memberof Provider */ name: string; /** * Multi-line description to add further provider information such as processing details for processors and producers, hosting details for hosts or basic contact information. [CommonMark 0.29](http://commonmark.org/) syntax MAY be used for rich text representation. * @type {string} * @memberof Provider */ description?: string; /** * Roles of the provider. The provider's role(s) can be one or more of the following elements: * licensor: The organization that is licensing the dataset under the license specified in the collection's license field. * producer: The producer of the data is the provider that initially captured and processed the source data, e.g. ESA for Sentinel-2 data. * processor: A processor is any provider who processed data to a derived product. * host: The host is the actual provider offering the data on their storage. There should be no more than one host, specified as last element of the list. * @type {Array<string>} * @memberof Provider */ roles?: Array<Provider.RolesEnum>; /** * Homepage on which the provider describes the dataset and publishes contact information. * @type {string} * @memberof Provider */ url?: string; } /** * @export * @namespace Provider */ export declare namespace Provider { /** * @export * @enum {string} */ enum RolesEnum { Producer, Licensor, Processor, Host } } /** * * @export * @interface RasterTileURL */ export interface RasterTileURL { /** * * @type {string} * @memberof RasterTileURL */ url: string; /** * * @type {string} * @memberof RasterTileURL */ id_path: string; /** * * @type {number} * @memberof RasterTileURL */ min_z?: number; /** * * @type {number} * @memberof RasterTileURL */ max_z?: number; /** * * @type {boolean} * @memberof RasterTileURL */ check_geometry?: boolean; } /** * * @export * @interface RawGeometry */ export interface RawGeometry { /** * * @type {string} * @memberof RawGeometry */ geometry?: string; /** * * @type {string} * @memberof RawGeometry */ sort?: string; /** * * @type {string} * @memberof RawGeometry */ signed_sort?: string; /** * * @type {Array<string>} * @memberof RawGeometry */ include?: Array<string>; } /** * * @export * @interface ReturnedGeometry */ export interface ReturnedGeometry { /** * * @type {string} * @memberof ReturnedGeometry */ reference?: string; /** * * @type {GeoJsonObject} * @memberof ReturnedGeometry */ geometry?: GeoJsonObject; /** * * @type {string} * @memberof ReturnedGeometry */ sort?: string; /** * * @type {boolean} * @memberof ReturnedGeometry */ is_raw?: boolean; } /** * * @export * @interface Search */ export interface Search { /** * * @type {Array<Filter>} * @memberof Search */ partition_filter?: Array<Filter>; /** * * @type {Filter} * @memberof Search */ filter?: Filter; /** * * @type {Form} * @memberof Search */ form?: Form; /** * * @type {Page} * @memberof Search */ page?: Page; /** * * @type {Projection} * @memberof Search */ projection?: Projection; /** * * @type {string} * @memberof Search */ returned_geometries?: string; } /** * * @export * @interface SearchBodyListSortBy */ export interface SearchBodyListSortBy { /** * * @type {Array<number>} * @memberof SearchBodyListSortBy */ bbox?: Array<number>; /** * * @type {string} * @memberof SearchBodyListSortBy */ datetime?: string; /** * * @type {GeoJsonObject} * @memberof SearchBodyListSortBy */ intersects?: GeoJsonObject; /** * * @type {Array<string>} * @memberof SearchBodyListSortBy */ collections?: Array<string>; /** * * @type {Array<string>} * @memberof SearchBodyListSortBy */ ids?: Array<string>; /** * * @type {number} * @memberof SearchBodyListSortBy */ limit?: number; /** * * @type {number} * @memberof SearchBodyListSortBy */ from?: number; /** * * @type {Array<SortBy>} * @memberof SearchBodyListSortBy */ sortby?: Array<SortBy>; /** * * @type {string} * @memberof SearchBodyListSortBy */ after?: string; /** * * @type {string} * @memberof SearchBodyListSortBy */ before?: string; } /** * * @export * @interface SortBy */ export interface SortBy { /** * * @type {string} * @memberof SortBy */ field: string; /** * * @type {string} * @memberof SortBy */ direction: string; } /** * * @export * @interface StacFeatureCollection */ export interface StacFeatureCollection { /** * * @type {string} * @memberof StacFeatureCollection */ stac_version: string; /** * * @type {Array<string>} * @memberof StacFeatureCollection */ stac_extensions?: Array<string>; /** * * @type {string} * @memberof StacFeatureCollection */ type: string; /** * * @type {Array<Item>} * @memberof StacFeatureCollection */ features: Array<Item>; /** * * @type {Array<StacLink>} * @memberof StacFeatureCollection */ links?: Array<StacLink>; /** * * @type {string} * @memberof StacFeatureCollection */ time_stamp?: string; /** * * @type {number} * @memberof StacFeatureCollection */ number_matched?: number; /** * * @type {number} * @memberof StacFeatureCollection */ number_returned?: number; /** * Augments lists of resources with the number of returned and matches resource and the given limit for the request. * @type {{ [key: string]: any; }} * @memberof StacFeatureCollection */ context?: { [key: string]: any; }; } /** * * @export * @interface StacLink */ export interface StacLink { /** * * @type {string} * @memberof StacLink */ href: string;