@geolens/sdk 1.11.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2101,7 +2101,7 @@ export type CommitRequest = {
2101
2101
  /**
2102
2102
  * Srid Override
2103
2103
  *
2104
- * EPSG code to use when source CRS is missing or incorrect. Forces reprojection during ingestion.
2104
+ * EPSG code to use when the source CRS is missing or incorrect. Assigns (relabels) the CRS the source is read under rather than reprojecting from it: raster pixel values are unchanged, and vector geometries are reprojected to EPSG:4326 from the assigned CRS as usual.
2105
2105
  */
2106
2106
  srid_override?: number | null;
2107
2107
  /**
@@ -2938,7 +2938,7 @@ export type DatasetRefreshRunResponse = {
2938
2938
  /**
2939
2939
  * Origin Kind
2940
2940
  *
2941
- * upload, postgis, service, stac, or raster
2941
+ * The run's execution door, not the dataset's origin: upload, postgis, service, stac, or raster. The two can visibly diverge; for example a STAC-imported raster's pending or failed replace run is recorded 'upload' while the dataset's origin stays 'stac' until the replace succeeds. 'raster' itself is reserved for a future, distinct raster-replace door label, with today's raster-replace runs recorded 'upload'.
2942
2942
  */
2943
2943
  origin_kind: string;
2944
2944
  /**
@@ -8126,6 +8126,56 @@ export type SseToolStartEvent = {
8126
8126
  */
8127
8127
  label: string;
8128
8128
  };
8129
+ /**
8130
+ * SandboxQueryRequest
8131
+ *
8132
+ * One read-only SELECT plus its mandatory table scope.
8133
+ */
8134
+ export type SandboxQueryRequest = {
8135
+ /**
8136
+ * Sql
8137
+ *
8138
+ * A single SELECT statement over `data.*` tables.
8139
+ */
8140
+ sql: string;
8141
+ /**
8142
+ * Restrict Tables
8143
+ *
8144
+ * Table names (without the `data.` prefix) the query may touch. Required and non-empty; intersected with your access — it can only narrow what you already see, never widen it.
8145
+ */
8146
+ restrict_tables: Array<string>;
8147
+ /**
8148
+ * Row Limit
8149
+ *
8150
+ * Maximum rows to return.
8151
+ */
8152
+ row_limit?: number;
8153
+ };
8154
+ /**
8155
+ * SandboxResult
8156
+ *
8157
+ * Structured result from sandbox query execution.
8158
+ *
8159
+ * Uses list-of-lists for rows (not list-of-dicts) for serialization performance.
8160
+ */
8161
+ export type SandboxResult = {
8162
+ /**
8163
+ * Rows
8164
+ */
8165
+ rows: Array<Array<unknown>>;
8166
+ /**
8167
+ * Columns
8168
+ */
8169
+ columns: Array<string>;
8170
+ /**
8171
+ * Row Count
8172
+ */
8173
+ row_count: number;
8174
+ /**
8175
+ * Truncated
8176
+ */
8177
+ truncated: boolean;
8178
+ };
8129
8179
  /**
8130
8180
  * SavedSearchCreate
8131
8181
  *
@@ -9898,9 +9948,9 @@ export type TokenResponse = {
9898
9948
  /**
9899
9949
  * Refresh Token
9900
9950
  *
9901
- * Opaque token used to obtain a new access token
9951
+ * Opaque token used to obtain a new access token. Always present for programmatic callers (CLI, SDKs, CI). Null when the caller opted into the browser cookie flow with 'X-GeoLens-Auth-Mode: cookie', in which case the token is delivered as an httpOnly cookie instead (GH-1302).
9902
9952
  */
9903
- refresh_token: string;
9953
+ refresh_token: string | null;
9904
9954
  /**
9905
9955
  * Token Type
9906
9956
  */
@@ -13066,7 +13116,10 @@ export type LoginAuthLoginPostResponses = {
13066
13116
  };
13067
13117
  export type LoginAuthLoginPostResponse = LoginAuthLoginPostResponses[keyof LoginAuthLoginPostResponses];
13068
13118
  export type LogoutAuthLogoutPostData = {
13069
- body?: never;
13119
+ /**
13120
+ * Body
13121
+ */
13122
+ body?: RefreshRequest | null;
13070
13123
  path?: never;
13071
13124
  query?: never;
13072
13125
  url: '/auth/logout/';
@@ -13406,7 +13459,10 @@ export type OauthLoginAuthOauthProviderSlugLoginGetErrors = {
13406
13459
  };
13407
13460
  export type OauthLoginAuthOauthProviderSlugLoginGetError = OauthLoginAuthOauthProviderSlugLoginGetErrors[keyof OauthLoginAuthOauthProviderSlugLoginGetErrors];
13408
13461
  export type RefreshAuthRefreshPostData = {
13409
- body: RefreshRequest;
13462
+ /**
13463
+ * Body
13464
+ */
13465
+ body?: RefreshRequest | null;
13410
13466
  path?: never;
13411
13467
  query?: never;
13412
13468
  url: '/auth/refresh/';
@@ -13626,7 +13682,7 @@ export type ListCollectionsEndpointCatalogCollectionsGetErrors = {
13626
13682
  */
13627
13683
  401: ProblemDetail;
13628
13684
  /**
13629
- * Forbidden — caller lacks write access
13685
+ * Forbidden — caller lacks access to this resource
13630
13686
  */
13631
13687
  403: ProblemDetail;
13632
13688
  /**
@@ -13792,7 +13848,7 @@ export type GetCollectionEndpointCatalogCollectionsCollectionIdGetErrors = {
13792
13848
  */
13793
13849
  401: ProblemDetail;
13794
13850
  /**
13795
- * Forbidden — caller lacks write access
13851
+ * Forbidden — caller lacks access to this resource
13796
13852
  */
13797
13853
  403: ProblemDetail;
13798
13854
  /**
@@ -13915,7 +13971,7 @@ export type GetCollectionDatasetsEndpointCatalogCollectionsCollectionIdDatasetsG
13915
13971
  */
13916
13972
  401: ProblemDetail;
13917
13973
  /**
13918
- * Forbidden — caller lacks write access
13974
+ * Forbidden — caller lacks access to this resource
13919
13975
  */
13920
13976
  403: ProblemDetail;
13921
13977
  /**
@@ -15042,7 +15098,7 @@ export type ListAllDatasetsDatasetsGetErrors = {
15042
15098
  */
15043
15099
  401: ProblemDetail;
15044
15100
  /**
15045
- * Forbidden — caller lacks write access
15101
+ * Forbidden — caller lacks access to this resource
15046
15102
  */
15047
15103
  403: ProblemDetail;
15048
15104
  /**
@@ -15799,7 +15855,7 @@ export type ListAttributesEndpointDatasetsDatasetIdAttributesGetErrors = {
15799
15855
  */
15800
15856
  401: ProblemDetail;
15801
15857
  /**
15802
- * Forbidden — caller lacks write access
15858
+ * Forbidden — caller lacks access to this resource
15803
15859
  */
15804
15860
  403: ProblemDetail;
15805
15861
  /**
@@ -15860,7 +15916,7 @@ export type GetAttributeEndpointDatasetsDatasetIdAttributesAttributeIdGetErrors
15860
15916
  */
15861
15917
  401: ProblemDetail;
15862
15918
  /**
15863
- * Forbidden — caller lacks write access
15919
+ * Forbidden — caller lacks access to this resource
15864
15920
  */
15865
15921
  403: ProblemDetail;
15866
15922
  /**
@@ -16043,7 +16099,7 @@ export type GetColumnStatsEndpointDatasetsDatasetIdColumnsColumnNameStatsGetErro
16043
16099
  */
16044
16100
  401: ProblemDetail;
16045
16101
  /**
16046
- * Forbidden — caller lacks write access
16102
+ * Forbidden — caller lacks access to this resource
16047
16103
  */
16048
16104
  403: ProblemDetail;
16049
16105
  /**
@@ -16109,7 +16165,7 @@ export type GetColumnValuesDatasetsDatasetIdColumnsColumnNameValuesGetErrors = {
16109
16165
  */
16110
16166
  401: ProblemDetail;
16111
16167
  /**
16112
- * Forbidden — caller lacks write access
16168
+ * Forbidden — caller lacks access to this resource
16113
16169
  */
16114
16170
  403: ProblemDetail;
16115
16171
  /**
@@ -17173,7 +17229,7 @@ export type GetFeatureRelatedRecordsDatasetsDatasetIdFeaturesGidRelatedRelations
17173
17229
  */
17174
17230
  401: ProblemDetail;
17175
17231
  /**
17176
- * Forbidden — caller lacks write access
17232
+ * Forbidden — caller lacks access to this resource
17177
17233
  */
17178
17234
  403: ProblemDetail;
17179
17235
  /**
@@ -17385,7 +17441,7 @@ export type DatasetMapsDatasetsDatasetIdMapsGetErrors = {
17385
17441
  */
17386
17442
  401: ProblemDetail;
17387
17443
  /**
17388
- * Forbidden — caller lacks write access
17444
+ * Forbidden — caller lacks access to this resource
17389
17445
  */
17390
17446
  403: ProblemDetail;
17391
17447
  /**
@@ -17631,7 +17687,7 @@ export type ListRelatedDatasetsDatasetsDatasetIdRelatedGetErrors = {
17631
17687
  */
17632
17688
  401: ProblemDetail;
17633
17689
  /**
17634
- * Forbidden — caller lacks write access
17690
+ * Forbidden — caller lacks access to this resource
17635
17691
  */
17636
17692
  403: ProblemDetail;
17637
17693
  /**
@@ -17701,7 +17757,7 @@ export type ListDatasetRelationshipsDatasetsDatasetIdRelationshipsGetErrors = {
17701
17757
  */
17702
17758
  401: ProblemDetail;
17703
17759
  /**
17704
- * Forbidden — caller lacks write access
17760
+ * Forbidden — caller lacks access to this resource
17705
17761
  */
17706
17762
  403: ProblemDetail;
17707
17763
  /**
@@ -18205,7 +18261,7 @@ export type GetDatasetRowsEndpointDatasetsDatasetIdRowsGetErrors = {
18205
18261
  */
18206
18262
  401: ProblemDetail;
18207
18263
  /**
18208
- * Forbidden — caller lacks write access
18264
+ * Forbidden — caller lacks access to this resource
18209
18265
  */
18210
18266
  403: ProblemDetail;
18211
18267
  /**
@@ -18506,7 +18562,7 @@ export type GetDatasetVersionsEndpointDatasetsDatasetIdVersionsGetErrors = {
18506
18562
  */
18507
18563
  401: ProblemDetail;
18508
18564
  /**
18509
- * Forbidden — caller lacks write access
18565
+ * Forbidden — caller lacks access to this resource
18510
18566
  */
18511
18567
  403: ProblemDetail;
18512
18568
  /**
@@ -18563,7 +18619,7 @@ export type ListVrtSourcesDatasetsDatasetIdVrtSourcesGetErrors = {
18563
18619
  */
18564
18620
  401: ProblemDetail;
18565
18621
  /**
18566
- * Forbidden — caller lacks write access
18622
+ * Forbidden — caller lacks access to this resource
18567
18623
  */
18568
18624
  403: ProblemDetail;
18569
18625
  /**
@@ -18639,7 +18695,7 @@ export type ListVrtGenerationsDatasetsDatasetIdVrtGenerationsGetErrors = {
18639
18695
  */
18640
18696
  401: ProblemDetail;
18641
18697
  /**
18642
- * Forbidden — caller lacks write access
18698
+ * Forbidden — caller lacks access to this resource
18643
18699
  */
18644
18700
  403: ProblemDetail;
18645
18701
  /**
@@ -18753,7 +18809,7 @@ export type GetVrtStatusDatasetsDatasetIdVrtStatusGetErrors = {
18753
18809
  */
18754
18810
  401: ProblemDetail;
18755
18811
  /**
18756
- * Forbidden — caller lacks write access
18812
+ * Forbidden — caller lacks access to this resource
18757
18813
  */
18758
18814
  403: ProblemDetail;
18759
18815
  /**
@@ -19284,7 +19340,7 @@ export type GetUploadConfigIngestUploadConfigGetErrors = {
19284
19340
  */
19285
19341
  401: ProblemDetail;
19286
19342
  /**
19287
- * Forbidden — caller lacks write access
19343
+ * Forbidden — caller lacks access to this resource
19288
19344
  */
19289
19345
  403: ProblemDetail;
19290
19346
  /**
@@ -20222,7 +20278,7 @@ export type ListMapsEndpointMapsGetErrors = {
20222
20278
  */
20223
20279
  401: ProblemDetail;
20224
20280
  /**
20225
- * Forbidden — caller lacks write access
20281
+ * Forbidden — caller lacks access to this resource
20226
20282
  */
20227
20283
  403: ProblemDetail;
20228
20284
  /**
@@ -20435,7 +20491,7 @@ export type GetMapIconAssetEndpointMapsIconsIconIdAssetGetErrors = {
20435
20491
  */
20436
20492
  401: ProblemDetail;
20437
20493
  /**
20438
- * Forbidden — caller lacks write access
20494
+ * Forbidden — caller lacks access to this resource
20439
20495
  */
20440
20496
  403: ProblemDetail;
20441
20497
  /**
@@ -20551,7 +20607,7 @@ export type GetSharedMapEndpointMapsSharedTokenGetErrors = {
20551
20607
  */
20552
20608
  401: ProblemDetail;
20553
20609
  /**
20554
- * Forbidden — caller lacks write access
20610
+ * Forbidden — caller lacks access to this resource
20555
20611
  */
20556
20612
  403: ProblemDetail;
20557
20613
  /**
@@ -20599,25 +20655,13 @@ export type GetGeolensSpriteIndexEndpointMapsSpritesGeolensJsonGetData = {
20599
20655
  };
20600
20656
  export type GetGeolensSpriteIndexEndpointMapsSpritesGeolensJsonGetErrors = {
20601
20657
  /**
20602
- * Bad request — invalid payload
20658
+ * Bad request — invalid query parameters or payload
20603
20659
  */
20604
20660
  400: ProblemDetail;
20605
- /**
20606
- * Unauthorized — missing or invalid credentials
20607
- */
20608
- 401: ProblemDetail;
20609
- /**
20610
- * Forbidden — caller lacks write access
20611
- */
20612
- 403: ProblemDetail;
20613
20661
  /**
20614
20662
  * Not found
20615
20663
  */
20616
20664
  404: ProblemDetail;
20617
- /**
20618
- * Conflict — resource state prevents the operation
20619
- */
20620
- 409: ProblemDetail;
20621
20665
  /**
20622
20666
  * Validation error
20623
20667
  */
@@ -20644,7 +20688,7 @@ export type GetGeolensSpriteIndexEndpointMapsSpritesGeolensJsonGetResponses = {
20644
20688
  */
20645
20689
  200: {
20646
20690
  [key: string]: {
20647
- [key: string]: number | number;
20691
+ [key: string]: number | number | boolean;
20648
20692
  };
20649
20693
  };
20650
20694
  };
@@ -20657,25 +20701,13 @@ export type GetGeolensSpritePngEndpointMapsSpritesGeolensPngGetData = {
20657
20701
  };
20658
20702
  export type GetGeolensSpritePngEndpointMapsSpritesGeolensPngGetErrors = {
20659
20703
  /**
20660
- * Bad request — invalid payload
20704
+ * Bad request — invalid query parameters or payload
20661
20705
  */
20662
20706
  400: ProblemDetail;
20663
- /**
20664
- * Unauthorized — missing or invalid credentials
20665
- */
20666
- 401: ProblemDetail;
20667
- /**
20668
- * Forbidden — caller lacks write access
20669
- */
20670
- 403: ProblemDetail;
20671
20707
  /**
20672
20708
  * Not found
20673
20709
  */
20674
20710
  404: ProblemDetail;
20675
- /**
20676
- * Conflict — resource state prevents the operation
20677
- */
20678
- 409: ProblemDetail;
20679
20711
  /**
20680
20712
  * Validation error
20681
20713
  */
@@ -20778,7 +20810,7 @@ export type GetMapEndpointMapsMapIdGetErrors = {
20778
20810
  */
20779
20811
  401: ProblemDetail;
20780
20812
  /**
20781
- * Forbidden — caller lacks write access
20813
+ * Forbidden — caller lacks access to this resource
20782
20814
  */
20783
20815
  403: ProblemDetail;
20784
20816
  /**
@@ -20892,7 +20924,7 @@ export type GetMapAccessEndpointMapsMapIdAccessGetErrors = {
20892
20924
  */
20893
20925
  401: ProblemDetail;
20894
20926
  /**
20895
- * Forbidden — caller lacks write access
20927
+ * Forbidden — caller lacks access to this resource
20896
20928
  */
20897
20929
  403: ProblemDetail;
20898
20930
  /**
@@ -21540,7 +21572,7 @@ export type GetOgImageMapsMapIdOgImageGetErrors = {
21540
21572
  */
21541
21573
  401: ProblemDetail;
21542
21574
  /**
21543
- * Forbidden — caller lacks write access
21575
+ * Forbidden — caller lacks access to this resource
21544
21576
  */
21545
21577
  403: ProblemDetail;
21546
21578
  /**
@@ -21890,7 +21922,7 @@ export type ExportMapStyleEndpointMapsMapIdStyleJsonGetErrors = {
21890
21922
  */
21891
21923
  401: ProblemDetail;
21892
21924
  /**
21893
- * Forbidden — caller lacks write access
21925
+ * Forbidden — caller lacks access to this resource
21894
21926
  */
21895
21927
  403: ProblemDetail;
21896
21928
  /**
@@ -21946,7 +21978,7 @@ export type GetThumbnailMapsMapIdThumbnailGetErrors = {
21946
21978
  */
21947
21979
  401: ProblemDetail;
21948
21980
  /**
21949
- * Forbidden — caller lacks write access
21981
+ * Forbidden — caller lacks access to this resource
21950
21982
  */
21951
21983
  403: ProblemDetail;
21952
21984
  /**
@@ -22099,6 +22131,54 @@ export type VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponses = {
22099
22131
  200: VisibilityCheckResponse;
22100
22132
  };
22101
22133
  export type VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponse = VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponses[keyof VisibilityCheckEndpointMapsMapIdVisibilityCheckGetResponses];
22134
+ export type SandboxQueryEndpointQueryPostData = {
22135
+ body: SandboxQueryRequest;
22136
+ path?: never;
22137
+ query?: never;
22138
+ url: '/query/';
22139
+ };
22140
+ export type SandboxQueryEndpointQueryPostErrors = {
22141
+ /**
22142
+ * Bad request — invalid query parameters or payload
22143
+ */
22144
+ 400: ProblemDetail;
22145
+ /**
22146
+ * Unauthorized — missing or invalid credentials
22147
+ */
22148
+ 401: ProblemDetail;
22149
+ /**
22150
+ * Forbidden — caller lacks access to this resource
22151
+ */
22152
+ 403: ProblemDetail;
22153
+ /**
22154
+ * Not found
22155
+ */
22156
+ 404: ProblemDetail;
22157
+ /**
22158
+ * Validation error
22159
+ */
22160
+ 422: ProblemDetail;
22161
+ /**
22162
+ * Too many requests — retry after the advertised interval
22163
+ */
22164
+ 429: ProblemDetail;
22165
+ /**
22166
+ * Internal server error
22167
+ */
22168
+ 500: ProblemDetail;
22169
+ /**
22170
+ * Service unavailable — the database could not serve the request
22171
+ */
22172
+ 503: ProblemDetail;
22173
+ };
22174
+ export type SandboxQueryEndpointQueryPostError = SandboxQueryEndpointQueryPostErrors[keyof SandboxQueryEndpointQueryPostErrors];
22175
+ export type SandboxQueryEndpointQueryPostResponses = {
22176
+ /**
22177
+ * Successful Response
22178
+ */
22179
+ 200: SandboxResult;
22180
+ };
22181
+ export type SandboxQueryEndpointQueryPostResponse = SandboxQueryEndpointQueryPostResponses[keyof SandboxQueryEndpointQueryPostResponses];
22102
22182
  export type ListContactsEndpointRecordsRecordIdContactsGetData = {
22103
22183
  body?: never;
22104
22184
  path: {
@@ -22129,7 +22209,7 @@ export type ListContactsEndpointRecordsRecordIdContactsGetErrors = {
22129
22209
  */
22130
22210
  401: ProblemDetail;
22131
22211
  /**
22132
- * Forbidden — caller lacks write access
22212
+ * Forbidden — caller lacks access to this resource
22133
22213
  */
22134
22214
  403: ProblemDetail;
22135
22215
  /**
@@ -22374,7 +22454,7 @@ export type ListDistributionsEndpointRecordsRecordIdDistributionsGetErrors = {
22374
22454
  */
22375
22455
  401: ProblemDetail;
22376
22456
  /**
22377
- * Forbidden — caller lacks write access
22457
+ * Forbidden — caller lacks access to this resource
22378
22458
  */
22379
22459
  403: ProblemDetail;
22380
22460
  /**
@@ -22631,7 +22711,7 @@ export type ListKeywordsEndpointRecordsRecordIdKeywordsGetErrors = {
22631
22711
  */
22632
22712
  401: ProblemDetail;
22633
22713
  /**
22634
- * Forbidden — caller lacks write access
22714
+ * Forbidden — caller lacks access to this resource
22635
22715
  */
22636
22716
  403: ProblemDetail;
22637
22717
  /**
@@ -22806,7 +22886,7 @@ export type ListTranslationsEndpointRecordsRecordIdTranslationsGetErrors = {
22806
22886
  */
22807
22887
  401: ProblemDetail;
22808
22888
  /**
22809
- * Forbidden — caller lacks write access
22889
+ * Forbidden — caller lacks access to this resource
22810
22890
  */
22811
22891
  403: ProblemDetail;
22812
22892
  /**
@@ -24808,6 +24888,8 @@ export type GetCollectionItemsStacCollectionsCollectionIdItemsGetData = {
24808
24888
  datetime?: string | null;
24809
24889
  /**
24810
24890
  * Limit
24891
+ *
24892
+ * Maximum number of items returned. Values above 200 are clamped to 200, per the STAC Item Search spec's clamp-don't-reject recommendation.
24811
24893
  */
24812
24894
  limit?: number;
24813
24895
  /**