@smartspace/api-client 0.1.0-pr.1160.f55237a → 0.1.0-pr.1187.09e7c75

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.
Files changed (31) hide show
  1. package/dist/generated/config/api.d.ts +22 -10
  2. package/dist/generated/config/api.js +52 -1
  3. package/dist/generated/config/api.msw.d.ts +29 -10
  4. package/dist/generated/config/api.msw.js +135 -43
  5. package/dist/generated/config/models/coreManagementSmartSpaceBasePlan.d.ts +10 -0
  6. package/dist/generated/config/models/coreManagementSmartSpaceBasePlan.js +8 -0
  7. package/dist/generated/config/models/coreManagementSmartSpacePlan.d.ts +12 -0
  8. package/dist/generated/config/models/coreManagementSmartSpacePlan.js +2 -0
  9. package/dist/generated/config/models/coreManagementSmartSpaceUpgrade.d.ts +11 -0
  10. package/dist/generated/config/models/coreManagementSmartSpaceUpgrade.js +8 -0
  11. package/dist/generated/config/models/flowsFlowRunCancelResult.d.ts +9 -0
  12. package/dist/generated/config/models/flowsFlowRunCancelResult.js +8 -0
  13. package/dist/generated/config/models/index.d.ts +11 -0
  14. package/dist/generated/config/models/index.js +11 -0
  15. package/dist/generated/config/models/modelDeployableModel.d.ts +11 -0
  16. package/dist/generated/config/models/modelDeployableModel.js +2 -0
  17. package/dist/generated/config/models/modelDeployableModelProperty.d.ts +14 -0
  18. package/dist/generated/config/models/modelDeployableModelProperty.js +2 -0
  19. package/dist/generated/config/models/modelDeployableModelPropertyType.d.ts +19 -0
  20. package/dist/generated/config/models/modelDeployableModelPropertyType.js +23 -0
  21. package/dist/generated/config/models/modelModelDeploymentProvider.d.ts +19 -0
  22. package/dist/generated/config/models/modelModelDeploymentProvider.js +2 -0
  23. package/dist/generated/config/models/modelModelProviderType.d.ts +11 -0
  24. package/dist/generated/config/models/modelModelProviderType.js +2 -0
  25. package/dist/generated/config/models/reingestResult.d.ts +9 -0
  26. package/dist/generated/config/models/reingestResult.js +8 -0
  27. package/dist/generated/config/models/smartSpacePlanUsage.d.ts +11 -0
  28. package/dist/generated/config/models/smartSpacePlanUsage.js +8 -0
  29. package/dist/generated/config/zod.d.ts +156 -0
  30. package/dist/generated/config/zod.js +146 -16
  31. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { ModelDeployableModelPropertyType } from './modelDeployableModelPropertyType';
8
+ export interface ModelDeployableModelProperty {
9
+ /** @nullable */
10
+ defaultValue?: string | null;
11
+ name: string;
12
+ path: string;
13
+ type: ModelDeployableModelPropertyType;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ */
6
+ /**
7
+ * The values the API publishes today. The set can grow without a breaking
8
+ * change, so an unlisted value is data for the mapper to decide on, not an
9
+ * error. `ModelDeployableModelPropertyType` accepts any string and autocompletes these.
10
+ */
11
+ export declare const ModelDeployableModelPropertyType: {
12
+ readonly String: "String";
13
+ readonly SecretString: "SecretString";
14
+ readonly VirtualMachineConfig: "VirtualMachineConfig";
15
+ readonly JSON: "JSON";
16
+ };
17
+ export type ModelDeployableModelPropertyTypeKnown = (typeof ModelDeployableModelPropertyType)[keyof typeof ModelDeployableModelPropertyType];
18
+ export type ModelDeployableModelPropertyType = ModelDeployableModelPropertyTypeKnown | (string & {});
19
+ export declare function isKnownModelDeployableModelPropertyType(value: string): value is ModelDeployableModelPropertyTypeKnown;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /**
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ModelDeployableModelPropertyType = void 0;
9
+ exports.isKnownModelDeployableModelPropertyType = isKnownModelDeployableModelPropertyType;
10
+ /**
11
+ * The values the API publishes today. The set can grow without a breaking
12
+ * change, so an unlisted value is data for the mapper to decide on, not an
13
+ * error. `ModelDeployableModelPropertyType` accepts any string and autocompletes these.
14
+ */
15
+ exports.ModelDeployableModelPropertyType = {
16
+ String: 'String',
17
+ SecretString: 'SecretString',
18
+ VirtualMachineConfig: 'VirtualMachineConfig',
19
+ JSON: 'JSON',
20
+ };
21
+ function isKnownModelDeployableModelPropertyType(value) {
22
+ return Object.values(exports.ModelDeployableModelPropertyType).includes(value);
23
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { EnumsModelDeploymentProviderType } from './enumsModelDeploymentProviderType';
8
+ export interface ModelModelDeploymentProvider {
9
+ /** @nullable */
10
+ apiVersion?: string | null;
11
+ /** @nullable */
12
+ baseUrl?: string | null;
13
+ /** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
14
+ id: string;
15
+ /** @nullable */
16
+ location?: string | null;
17
+ name: string;
18
+ type?: EnumsModelDeploymentProviderType;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ import type { EnumsModelDeploymentProviderType } from './enumsModelDeploymentProviderType';
8
+ export interface ModelModelProviderType {
9
+ name: string;
10
+ type?: EnumsModelDeploymentProviderType;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface ReingestResult {
8
+ success: boolean;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Admin API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface SmartSpacePlanUsage {
8
+ currentWorkSpaces: number;
9
+ /** @nullable */
10
+ maxWorkSpaces?: number | null;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -539,6 +539,9 @@ export declare const containersReingestContainerItemPathContainerItemIdRegExp: R
539
539
  export declare const containersReingestContainerItemParams: zod.ZodObject<{
540
540
  containerItemId: zod.ZodString;
541
541
  }, zod.core.$strict>;
542
+ export declare const containersReingestContainerItemResponse: zod.ZodObject<{
543
+ success: zod.ZodBoolean;
544
+ }, zod.core.$strip>;
542
545
  export declare const containersPostPathContainerIdRegExp: RegExp;
543
546
  export declare const containersPostParams: zod.ZodObject<{
544
547
  containerId: zod.ZodString;
@@ -2522,6 +2525,66 @@ export declare const flowsSetActiveFlowDefinitionBody: zod.ZodObject<{
2522
2525
  schema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
2523
2526
  }, zod.core.$strict>>>>;
2524
2527
  }, zod.core.$strict>;
2528
+ /**
2529
+ * @summary Returns one entry per known key, each carrying both the currently-configured value
2530
+ (what's set in mgmt-api now) and the active value (what the install last confirmed it
2531
+ was running with). The frontend diffs these to show pending changes.
2532
+ */
2533
+ export declare const installParametersListResponseItem: zod.ZodObject<{
2534
+ activeValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2535
+ configuredValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2536
+ key: zod.ZodString;
2537
+ }, zod.core.$strip>;
2538
+ export declare const installParametersListResponse: zod.ZodArray<zod.ZodObject<{
2539
+ activeValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2540
+ configuredValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2541
+ key: zod.ZodString;
2542
+ }, zod.core.$strip>>;
2543
+ /**
2544
+ * @summary Returns the closed registry of known install-parameter keys. Each entry describes the
2545
+ key's type, default, and human-readable description so the frontend can render a typed
2546
+ input per key.
2547
+ */
2548
+ export declare const installParametersGetRegistryResponseItem: zod.ZodObject<{
2549
+ default: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2550
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2551
+ key: zod.ZodString;
2552
+ type: zod.ZodString;
2553
+ }, zod.core.$strip>;
2554
+ export declare const installParametersGetRegistryResponse: zod.ZodArray<zod.ZodObject<{
2555
+ default: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2556
+ description: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2557
+ key: zod.ZodString;
2558
+ type: zod.ZodString;
2559
+ }, zod.core.$strip>>;
2560
+ /**
2561
+ * @summary Clears the override for a parameter so it falls back to the registry's default on the
2562
+ next install update. Idempotent — deleting an already-absent key returns 204.
2563
+ */
2564
+ export declare const installParametersDeleteParams: zod.ZodObject<{
2565
+ key: zod.ZodString;
2566
+ }, zod.core.$strict>;
2567
+ /**
2568
+ * @summary Returns a single parameter by key. Returns 404 if the key is known but has no override set.
2569
+ */
2570
+ export declare const installParametersGetParams: zod.ZodObject<{
2571
+ key: zod.ZodString;
2572
+ }, zod.core.$strict>;
2573
+ export declare const installParametersGetResponse: zod.ZodObject<{
2574
+ activeValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2575
+ configuredValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
2576
+ key: zod.ZodString;
2577
+ }, zod.core.$strip>;
2578
+ /**
2579
+ * @summary Upserts the override value for a parameter. Type-checked against the registry: a
2580
+ boolean key requires a JSON boolean value, etc.
2581
+ */
2582
+ export declare const installParametersUpsertParams: zod.ZodObject<{
2583
+ key: zod.ZodString;
2584
+ }, zod.core.$strict>;
2585
+ export declare const installParametersUpsertBody: zod.ZodObject<{
2586
+ value: zod.ZodAny;
2587
+ }, zod.core.$strict>;
2525
2588
  /**
2526
2589
  * @summary Retrieves a list of model deployment providers.
2527
2590
  */
@@ -2531,6 +2594,23 @@ export declare const modelProvidersGetProvidersQueryParams: zod.ZodObject<{
2531
2594
  take: zod.ZodDefault<zod.ZodNumber>;
2532
2595
  skip: zod.ZodOptional<zod.ZodNumber>;
2533
2596
  }, zod.core.$strict>;
2597
+ export declare const modelProvidersGetProvidersResponseIdRegExp: RegExp;
2598
+ export declare const modelProvidersGetProvidersResponseItem: zod.ZodObject<{
2599
+ apiVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2600
+ baseUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2601
+ id: zod.ZodString;
2602
+ location: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2603
+ name: zod.ZodString;
2604
+ type: zod.ZodOptional<zod.ZodString>;
2605
+ }, zod.core.$strip>;
2606
+ export declare const modelProvidersGetProvidersResponse: zod.ZodArray<zod.ZodObject<{
2607
+ apiVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2608
+ baseUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2609
+ id: zod.ZodString;
2610
+ location: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2611
+ name: zod.ZodString;
2612
+ type: zod.ZodOptional<zod.ZodString>;
2613
+ }, zod.core.$strip>>;
2534
2614
  /**
2535
2615
  * @summary Creates a new model deployment provider.
2536
2616
  */
@@ -2545,16 +2625,54 @@ export declare const modelProvidersCreateProviderBody: zod.ZodObject<{
2545
2625
  name: zod.ZodString;
2546
2626
  type: zod.ZodString;
2547
2627
  }, zod.core.$strict>;
2628
+ /**
2629
+ * @summary Retrieves the deployable models for a model provider
2630
+ */
2631
+ export declare const modelProvidersGetModelProviderTypesResponseItem: zod.ZodObject<{
2632
+ name: zod.ZodString;
2633
+ type: zod.ZodOptional<zod.ZodString>;
2634
+ }, zod.core.$strip>;
2635
+ export declare const modelProvidersGetModelProviderTypesResponse: zod.ZodArray<zod.ZodObject<{
2636
+ name: zod.ZodString;
2637
+ type: zod.ZodOptional<zod.ZodString>;
2638
+ }, zod.core.$strip>>;
2548
2639
  /**
2549
2640
  * @summary Retrieves the deployable models for a model provider
2550
2641
  */
2551
2642
  export declare const modelProvidersGetModelProviderTypeDeployableModelsParams: zod.ZodObject<{
2552
2643
  providerType: zod.ZodString;
2553
2644
  }, zod.core.$strict>;
2645
+ export declare const modelProvidersGetModelProviderTypeDeployableModelsResponseItem: zod.ZodObject<{
2646
+ name: zod.ZodString;
2647
+ properties: zod.ZodArray<zod.ZodObject<{
2648
+ defaultValue: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2649
+ name: zod.ZodString;
2650
+ path: zod.ZodString;
2651
+ type: zod.ZodString;
2652
+ }, zod.core.$strip>>;
2653
+ }, zod.core.$strip>;
2654
+ export declare const modelProvidersGetModelProviderTypeDeployableModelsResponse: zod.ZodArray<zod.ZodObject<{
2655
+ name: zod.ZodString;
2656
+ properties: zod.ZodArray<zod.ZodObject<{
2657
+ defaultValue: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2658
+ name: zod.ZodString;
2659
+ path: zod.ZodString;
2660
+ type: zod.ZodString;
2661
+ }, zod.core.$strip>>;
2662
+ }, zod.core.$strip>>;
2554
2663
  export declare const modelProvidersGetProviderPathIdRegExp: RegExp;
2555
2664
  export declare const modelProvidersGetProviderParams: zod.ZodObject<{
2556
2665
  id: zod.ZodString;
2557
2666
  }, zod.core.$strict>;
2667
+ export declare const modelProvidersGetProviderResponseIdRegExp: RegExp;
2668
+ export declare const modelProvidersGetProviderResponse: zod.ZodObject<{
2669
+ apiVersion: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2670
+ baseUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2671
+ id: zod.ZodString;
2672
+ location: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
2673
+ name: zod.ZodString;
2674
+ type: zod.ZodOptional<zod.ZodString>;
2675
+ }, zod.core.$strip>;
2558
2676
  /**
2559
2677
  * @summary Updates or inserts a model deployment provider.
2560
2678
  */
@@ -2810,6 +2928,20 @@ export declare const notificationGetResponse: zod.ZodObject<{
2810
2928
  export declare const notificationPutUpdateBodyRegExpOne: RegExp;
2811
2929
  export declare const notificationPutUpdateBodyItem: zod.ZodString;
2812
2930
  export declare const notificationPutUpdateBody: zod.ZodArray<zod.ZodString>;
2931
+ /**
2932
+ * @summary Gets the current SmartSpace plan
2933
+ */
2934
+ export declare const planGetSmartSpacePlanResponse: zod.ZodObject<{
2935
+ base: zod.ZodObject<{
2936
+ cost: zod.ZodNumber;
2937
+ workSpaceQuota: zod.ZodNumber;
2938
+ }, zod.core.$strip>;
2939
+ upgrade: zod.ZodObject<{
2940
+ cost: zod.ZodNumber;
2941
+ discount: zod.ZodNumber;
2942
+ workSpaceQuota: zod.ZodNumber;
2943
+ }, zod.core.$strip>;
2944
+ }, zod.core.$strip>;
2813
2945
  /**
2814
2946
  * @summary Update the upgrade component of the smartspace plan
2815
2947
  */
@@ -2822,6 +2954,18 @@ export declare const planUpdateSmartSpaceUpgradeBody: zod.ZodObject<{
2822
2954
  export declare const planCalculateSmartSpaceUpgradeCostBody: zod.ZodObject<{
2823
2955
  workSpaceQuota: zod.ZodNumber;
2824
2956
  }, zod.core.$strict>;
2957
+ export declare const planCalculateSmartSpaceUpgradeCostResponse: zod.ZodObject<{
2958
+ cost: zod.ZodNumber;
2959
+ discount: zod.ZodNumber;
2960
+ workSpaceQuota: zod.ZodNumber;
2961
+ }, zod.core.$strip>;
2962
+ /**
2963
+ * @summary Gets usage information of the current SmartSpace plan
2964
+ */
2965
+ export declare const planGetSmartSpacePlanUsageResponse: zod.ZodObject<{
2966
+ currentWorkSpaces: zod.ZodNumber;
2967
+ maxWorkSpaces: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
2968
+ }, zod.core.$strip>;
2825
2969
  /**
2826
2970
  * @summary Gets the number of requests by a specified duration
2827
2971
  */
@@ -4284,6 +4428,18 @@ export declare const documentsGetDocumentSasQueryParams: zod.ZodObject<{
4284
4428
  export declare const documentsGetDocumentSasResponse: zod.ZodObject<{
4285
4429
  uri: zod.ZodURL;
4286
4430
  }, zod.core.$strip>;
4431
+ /**
4432
+ * @summary Returns a single public parameter by key. Returns 404 if the key is not in the public
4433
+ allowlist or has no override set.
4434
+ */
4435
+ export declare const publicInstallParametersGetParams: zod.ZodObject<{
4436
+ key: zod.ZodString;
4437
+ }, zod.core.$strict>;
4438
+ export declare const publicInstallParametersGetResponse: zod.ZodObject<{
4439
+ activeValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
4440
+ configuredValue: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
4441
+ key: zod.ZodString;
4442
+ }, zod.core.$strip>;
4287
4443
  /**
4288
4444
  * @summary Lists all managed secrets — names and audit metadata only, never values.
4289
4445
  */