@geolens/sdk 1.4.13 → 1.5.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.
@@ -475,6 +475,127 @@ export type AlterColumnTypeRequest = {
475
475
  */
476
476
  new_type: string;
477
477
  };
478
+ /**
479
+ * AnalysisMaterializeRequest
480
+ *
481
+ * Parameters for materializing an analysis result as a new dataset.
482
+ */
483
+ export type AnalysisMaterializeRequest = {
484
+ /**
485
+ * By Field
486
+ *
487
+ * Optional group-by column for dissolve
488
+ */
489
+ by_field?: string | null;
490
+ /**
491
+ * Distance Meters
492
+ *
493
+ * Buffer distance in meters (buffer only)
494
+ */
495
+ distance_meters?: number | null;
496
+ /**
497
+ * Mask
498
+ *
499
+ * GeoJSON Polygon or MultiPolygon geometry in EPSG:4326 (clip only)
500
+ */
501
+ mask?: {
502
+ [key: string]: unknown;
503
+ } | null;
504
+ /**
505
+ * Mask Dataset Id
506
+ *
507
+ * Polygon dataset whose unioned features form the clip mask (clip only; alternative to mask)
508
+ */
509
+ mask_dataset_id?: string | null;
510
+ /**
511
+ * Operation
512
+ */
513
+ operation: 'buffer' | 'centroid' | 'clip' | 'dissolve';
514
+ /**
515
+ * Title
516
+ */
517
+ title: string;
518
+ };
519
+ /**
520
+ * AnalysisMaterializeResponse
521
+ *
522
+ * Async materialize job handle; poll GET /jobs/{job_id} for progress.
523
+ */
524
+ export type AnalysisMaterializeResponse = {
525
+ /**
526
+ * Job Id
527
+ */
528
+ job_id: string;
529
+ /**
530
+ * Status
531
+ */
532
+ status: string;
533
+ };
534
+ /**
535
+ * AnalysisPreviewRequest
536
+ *
537
+ * Parameters for a synchronous analysis preview.
538
+ *
539
+ * Deliberately flat (no discriminated union) so SDK generators keep the
540
+ * endpoint; per-operation requiredness is enforced by the validator.
541
+ */
542
+ export type AnalysisPreviewRequest = {
543
+ /**
544
+ * Distance Meters
545
+ *
546
+ * Buffer distance in meters (buffer only)
547
+ */
548
+ distance_meters?: number | null;
549
+ /**
550
+ * Mask
551
+ *
552
+ * GeoJSON Polygon or MultiPolygon geometry in EPSG:4326 (clip only)
553
+ */
554
+ mask?: {
555
+ [key: string]: unknown;
556
+ } | null;
557
+ /**
558
+ * Mask Dataset Id
559
+ *
560
+ * Polygon dataset whose unioned features form the clip mask (clip only; alternative to mask)
561
+ */
562
+ mask_dataset_id?: string | null;
563
+ /**
564
+ * Operation
565
+ */
566
+ operation: 'buffer' | 'centroid' | 'clip';
567
+ };
568
+ /**
569
+ * AnalysisPreviewResponse
570
+ *
571
+ * GeoJSON FeatureCollection preview of an analysis operation.
572
+ */
573
+ export type AnalysisPreviewResponse = {
574
+ /**
575
+ * Bbox
576
+ */
577
+ bbox?: Array<number> | null;
578
+ /**
579
+ * Feature Count
580
+ */
581
+ feature_count: number;
582
+ /**
583
+ * Geojson
584
+ */
585
+ geojson: {
586
+ [key: string]: unknown;
587
+ };
588
+ /**
589
+ * Source Feature Count
590
+ *
591
+ * Total feature count of the source dataset (1:1 operations only; null when the operation filters rows, e.g. clip)
592
+ */
593
+ source_feature_count?: number | null;
594
+ /**
595
+ * Truncated
596
+ */
597
+ truncated: boolean;
598
+ };
478
599
  /**
479
600
  * ApiKeyCreateRequest
480
601
  */
@@ -1291,6 +1412,10 @@ export type ChatAction = {
1291
1412
  * Dataset Name
1292
1413
  */
1293
1414
  dataset_name?: string | null;
1415
+ /**
1416
+ * Distance Meters
1417
+ */
1418
+ distance_meters?: number | null;
1294
1419
  /**
1295
1420
  * Expression
1296
1421
  */
@@ -1310,6 +1435,10 @@ export type ChatAction = {
1310
1435
  * Opacity
1311
1436
  */
1312
1437
  opacity?: number | null;
1438
+ /**
1439
+ * Operation
1440
+ */
1441
+ operation?: string | null;
1313
1442
  /**
1314
1443
  * Paint
1315
1444
  */
@@ -4118,7 +4247,7 @@ export type JobStatusResponse = {
4118
4247
  /**
4119
4248
  * Current Step
4120
4249
  */
4121
- current_step?: 'validating' | 'ogr2ogr' | 'finalize' | 'complete' | 'cog_convert' | 'quicklook' | null;
4250
+ current_step?: 'queued' | 'validating' | 'ogr2ogr' | 'finalize' | 'complete' | 'cog_convert' | 'quicklook' | 'analyzing' | 'registering' | null;
4122
4251
  /**
4123
4252
  * Dataset Id
4124
4253
  */
@@ -13768,6 +13897,8 @@ export type GetCollectionItemsCollectionsDatasetIdItemsGetData = {
13768
13897
  query?: {
13769
13898
  /**
13770
13899
  * Limit
13900
+ *
13901
+ * Page size for bulk GeoJSON export. The maximum is an admin-configurable ceiling (default 1000; Network settings tab, `ogc_items_max_page_size`) rather than the 200 used by offset-paged list endpoints, because this route pages via the constant-time `after_gid` keyset cursor. Per OGC API Features Core /req/core/fc-limit-response-1(C) a value above the ceiling is clamped to it, not rejected.
13771
13902
  */
13772
13903
  limit?: number;
13773
13904
  /**
@@ -14912,6 +15043,120 @@ export type UpdateDatasetMetadataDatasetsDatasetIdPatchResponses = {
14912
15043
  200: DatasetResponse;
14913
15044
  };
14914
15045
  export type UpdateDatasetMetadataDatasetsDatasetIdPatchResponse = UpdateDatasetMetadataDatasetsDatasetIdPatchResponses[keyof UpdateDatasetMetadataDatasetsDatasetIdPatchResponses];
15046
+ export type AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostData = {
15047
+ body: AnalysisMaterializeRequest;
15048
+ path: {
15049
+ /**
15050
+ * Dataset Id
15051
+ */
15052
+ dataset_id: string;
15053
+ };
15054
+ query?: never;
15055
+ url: '/datasets/{dataset_id}/analysis/materialize/';
15056
+ };
15057
+ export type AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostErrors = {
15058
+ /**
15059
+ * Bad request — invalid payload
15060
+ */
15061
+ 400: ProblemDetail;
15062
+ /**
15063
+ * Unauthorized — missing or invalid credentials
15064
+ */
15065
+ 401: ProblemDetail;
15066
+ /**
15067
+ * Forbidden — caller lacks write access
15068
+ */
15069
+ 403: ProblemDetail;
15070
+ /**
15071
+ * Not found
15072
+ */
15073
+ 404: ProblemDetail;
15074
+ /**
15075
+ * Conflict — resource state prevents the operation
15076
+ */
15077
+ 409: ProblemDetail;
15078
+ /**
15079
+ * Validation error
15080
+ */
15081
+ 422: ProblemDetail;
15082
+ /**
15083
+ * Too many requests — retry after the advertised interval
15084
+ */
15085
+ 429: ProblemDetail;
15086
+ /**
15087
+ * Internal server error
15088
+ */
15089
+ 500: ProblemDetail;
15090
+ /**
15091
+ * Service unavailable — the database could not serve the request
15092
+ */
15093
+ 503: ProblemDetail;
15094
+ };
15095
+ export type AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostError = AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostErrors[keyof AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostErrors];
15096
+ export type AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostResponses = {
15097
+ /**
15098
+ * Successful Response
15099
+ */
15100
+ 200: AnalysisMaterializeResponse;
15101
+ };
15102
+ export type AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostResponse = AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostResponses[keyof AnalysisMaterializeEndpointDatasetsDatasetIdAnalysisMaterializePostResponses];
15103
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostData = {
15104
+ body: AnalysisPreviewRequest;
15105
+ path: {
15106
+ /**
15107
+ * Dataset Id
15108
+ */
15109
+ dataset_id: string;
15110
+ };
15111
+ query?: never;
15112
+ url: '/datasets/{dataset_id}/analysis/preview/';
15113
+ };
15114
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors = {
15115
+ /**
15116
+ * Bad request — invalid payload
15117
+ */
15118
+ 400: ProblemDetail;
15119
+ /**
15120
+ * Unauthorized — missing or invalid credentials
15121
+ */
15122
+ 401: ProblemDetail;
15123
+ /**
15124
+ * Forbidden — caller lacks write access
15125
+ */
15126
+ 403: ProblemDetail;
15127
+ /**
15128
+ * Not found
15129
+ */
15130
+ 404: ProblemDetail;
15131
+ /**
15132
+ * Conflict — resource state prevents the operation
15133
+ */
15134
+ 409: ProblemDetail;
15135
+ /**
15136
+ * Validation error
15137
+ */
15138
+ 422: ProblemDetail;
15139
+ /**
15140
+ * Too many requests — retry after the advertised interval
15141
+ */
15142
+ 429: ProblemDetail;
15143
+ /**
15144
+ * Internal server error
15145
+ */
15146
+ 500: ProblemDetail;
15147
+ /**
15148
+ * Service unavailable — the database could not serve the request
15149
+ */
15150
+ 503: ProblemDetail;
15151
+ };
15152
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostError = AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors[keyof AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostErrors];
15153
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses = {
15154
+ /**
15155
+ * Successful Response
15156
+ */
15157
+ 200: AnalysisPreviewResponse;
15158
+ };
15159
+ export type AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponse = AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses[keyof AnalysisPreviewEndpointDatasetsDatasetIdAnalysisPreviewPostResponses];
14915
15160
  export type ListAttributesEndpointDatasetsDatasetIdAttributesGetData = {
14916
15161
  body?: never;
14917
15162
  path: {