@geolens/sdk 1.4.0 → 1.4.1
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.
- package/dist/client/client/client.gen.d.ts +1 -1
- package/dist/client/client/client.gen.js +3 -3
- package/dist/client/client/index.d.ts +8 -8
- package/dist/client/client/index.js +5 -5
- package/dist/client/client/types.gen.d.ts +4 -4
- package/dist/client/client/utils.gen.d.ts +2 -2
- package/dist/client/client/utils.gen.js +4 -4
- package/dist/client/client.gen.d.ts +3 -3
- package/dist/client/client.gen.js +1 -1
- package/dist/client/core/bodySerializer.gen.d.ts +1 -1
- package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/client/core/types.gen.d.ts +2 -2
- package/dist/client/core/utils.gen.d.ts +1 -1
- package/dist/client/core/utils.gen.js +1 -1
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/sdk.gen.d.ts +263 -251
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/sdk.gen.js +18 -2
- package/dist/client/sdk.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +61 -5
- package/dist/client/types.gen.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
+
/**
|
|
5
|
+
* AIAvailabilityResponse
|
|
6
|
+
*
|
|
7
|
+
* Public-safe AI readiness signal (builder-audit #338 P1-11).
|
|
8
|
+
*
|
|
9
|
+
* Carries a single boolean and intentionally exposes NO provider name, model,
|
|
10
|
+
* or key detail — it is readable by any non-admin editor holding
|
|
11
|
+
* ``use_ai_chat`` so the builder can enable/disable chat without the
|
|
12
|
+
* admin-only ``/admin/ai-status`` endpoint (which leaks provider/key info).
|
|
13
|
+
*/
|
|
14
|
+
export type AiAvailabilityResponse = {
|
|
15
|
+
/**
|
|
16
|
+
* Available
|
|
17
|
+
*/
|
|
18
|
+
available: boolean;
|
|
19
|
+
};
|
|
4
20
|
/**
|
|
5
21
|
* AIStatusResponse
|
|
6
22
|
*/
|
|
@@ -335,15 +351,15 @@ export type AdminShareTokenResponse = {
|
|
|
335
351
|
/**
|
|
336
352
|
* Expires At
|
|
337
353
|
*/
|
|
338
|
-
expires_at
|
|
354
|
+
expires_at?: string | null;
|
|
339
355
|
/**
|
|
340
356
|
* Id
|
|
341
357
|
*/
|
|
342
|
-
id
|
|
358
|
+
id?: string | null;
|
|
343
359
|
/**
|
|
344
360
|
* Is Active
|
|
345
361
|
*/
|
|
346
|
-
is_active
|
|
362
|
+
is_active?: boolean | null;
|
|
347
363
|
/**
|
|
348
364
|
* Map Id
|
|
349
365
|
*/
|
|
@@ -355,7 +371,7 @@ export type AdminShareTokenResponse = {
|
|
|
355
371
|
/**
|
|
356
372
|
* Token
|
|
357
373
|
*/
|
|
358
|
-
token
|
|
374
|
+
token?: string | null;
|
|
359
375
|
};
|
|
360
376
|
/**
|
|
361
377
|
* AdminUserCreate
|
|
@@ -8320,7 +8336,7 @@ export type SublayerOverride = {
|
|
|
8320
8336
|
/**
|
|
8321
8337
|
* Opacity
|
|
8322
8338
|
*
|
|
8323
|
-
* Per-sublayer opacity (0-1), or null to use the basemap default.
|
|
8339
|
+
* Per-sublayer opacity (0-1), or null to use the basemap default. Composes on top of BasemapConfig.opacity (the whole-basemap master opacity): the rendered opacity is override.opacity * master_opacity (builder-audit #338 CORR-01). The UI opacity slider in BasemapSublayerEditorScene persists through this field: MapBuilderPage.handleSublayerOpacityChange -> setBasemapSublayerOpacity -> updateBasemapSublayerOverride writes config.sublayer_overrides[key].opacity.
|
|
8324
8340
|
*/
|
|
8325
8341
|
opacity?: number | null;
|
|
8326
8342
|
/**
|
|
@@ -10434,6 +10450,46 @@ export type RejectUserAdminUsersUserIdRejectPostResponses = {
|
|
|
10434
10450
|
204: void;
|
|
10435
10451
|
};
|
|
10436
10452
|
export type RejectUserAdminUsersUserIdRejectPostResponse = RejectUserAdminUsersUserIdRejectPostResponses[keyof RejectUserAdminUsersUserIdRejectPostResponses];
|
|
10453
|
+
export type AiAvailabilityEndpointAiAvailabilityGetData = {
|
|
10454
|
+
body?: never;
|
|
10455
|
+
path?: never;
|
|
10456
|
+
query?: never;
|
|
10457
|
+
url: '/ai/availability/';
|
|
10458
|
+
};
|
|
10459
|
+
export type AiAvailabilityEndpointAiAvailabilityGetErrors = {
|
|
10460
|
+
/**
|
|
10461
|
+
* Bad request — invalid query parameters or payload
|
|
10462
|
+
*/
|
|
10463
|
+
400: ProblemDetail;
|
|
10464
|
+
/**
|
|
10465
|
+
* Unauthorized — missing or invalid credentials
|
|
10466
|
+
*/
|
|
10467
|
+
401: ProblemDetail;
|
|
10468
|
+
/**
|
|
10469
|
+
* Forbidden — caller lacks access to this resource
|
|
10470
|
+
*/
|
|
10471
|
+
403: ProblemDetail;
|
|
10472
|
+
/**
|
|
10473
|
+
* Not found
|
|
10474
|
+
*/
|
|
10475
|
+
404: ProblemDetail;
|
|
10476
|
+
/**
|
|
10477
|
+
* Validation error
|
|
10478
|
+
*/
|
|
10479
|
+
422: ProblemDetail;
|
|
10480
|
+
/**
|
|
10481
|
+
* Internal server error
|
|
10482
|
+
*/
|
|
10483
|
+
500: ProblemDetail;
|
|
10484
|
+
};
|
|
10485
|
+
export type AiAvailabilityEndpointAiAvailabilityGetError = AiAvailabilityEndpointAiAvailabilityGetErrors[keyof AiAvailabilityEndpointAiAvailabilityGetErrors];
|
|
10486
|
+
export type AiAvailabilityEndpointAiAvailabilityGetResponses = {
|
|
10487
|
+
/**
|
|
10488
|
+
* Successful Response
|
|
10489
|
+
*/
|
|
10490
|
+
200: AiAvailabilityResponse;
|
|
10491
|
+
};
|
|
10492
|
+
export type AiAvailabilityEndpointAiAvailabilityGetResponse = AiAvailabilityEndpointAiAvailabilityGetResponses[keyof AiAvailabilityEndpointAiAvailabilityGetResponses];
|
|
10437
10493
|
export type ChatEndpointAiChatPostData = {
|
|
10438
10494
|
body: ChatRequest;
|
|
10439
10495
|
path?: never;
|