@smartspace/api-client 0.1.0-dev.aad7fc7 → 0.1.0-dev.ac1fa47

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 (122) hide show
  1. package/dist/generated/chat/api.d.ts +5 -1
  2. package/dist/generated/chat/api.js +60 -42
  3. package/dist/generated/chat/api.msw.d.ts +5 -1
  4. package/dist/generated/chat/api.msw.js +103 -119
  5. package/dist/generated/chat/models/enumsAccessType.d.ts +9 -3
  6. package/dist/generated/chat/models/enumsAccessType.js +10 -3
  7. package/dist/generated/chat/models/enumsAppPrincipalType.d.ts +9 -3
  8. package/dist/generated/chat/models/enumsAppPrincipalType.js +10 -3
  9. package/dist/generated/chat/models/enumsFlowTriggerType.d.ts +9 -3
  10. package/dist/generated/chat/models/enumsFlowTriggerType.js +10 -3
  11. package/dist/generated/chat/models/enumsFlowVariableAccess.d.ts +9 -3
  12. package/dist/generated/chat/models/enumsFlowVariableAccess.js +10 -3
  13. package/dist/generated/chat/models/enumsMessageValueType.d.ts +9 -3
  14. package/dist/generated/chat/models/enumsMessageValueType.js +10 -3
  15. package/dist/generated/chat/models/enumsModelDeploymentProviderType.d.ts +9 -3
  16. package/dist/generated/chat/models/enumsModelDeploymentProviderType.js +10 -3
  17. package/dist/generated/chat/models/enumsModelDeploymentStatus.d.ts +9 -3
  18. package/dist/generated/chat/models/enumsModelDeploymentStatus.js +10 -3
  19. package/dist/generated/chat/models/enumsModelDeploymentStepName.d.ts +9 -3
  20. package/dist/generated/chat/models/enumsModelDeploymentStepName.js +10 -3
  21. package/dist/generated/chat/models/enumsModelPropertyType.d.ts +9 -3
  22. package/dist/generated/chat/models/enumsModelPropertyType.js +10 -3
  23. package/dist/generated/chat/models/enumsModelPublisher.d.ts +9 -3
  24. package/dist/generated/chat/models/enumsModelPublisher.js +10 -3
  25. package/dist/generated/chat/models/enumsModelRole.d.ts +9 -3
  26. package/dist/generated/chat/models/enumsModelRole.js +10 -3
  27. package/dist/generated/chat/models/enumsNotificationType.d.ts +9 -3
  28. package/dist/generated/chat/models/enumsNotificationType.js +10 -3
  29. package/dist/generated/chat/models/enumsVirtualMachineServerType.d.ts +9 -3
  30. package/dist/generated/chat/models/enumsVirtualMachineServerType.js +10 -3
  31. package/dist/generated/chat/models/enumsWorkSpaceOrderBy.d.ts +9 -3
  32. package/dist/generated/chat/models/enumsWorkSpaceOrderBy.js +10 -3
  33. package/dist/generated/chat/models/index.d.ts +2 -0
  34. package/dist/generated/chat/models/index.js +2 -0
  35. package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
  36. package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.js +8 -0
  37. package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
  38. package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.js +8 -0
  39. package/dist/generated/chat/zod.d.ts +57 -256
  40. package/dist/generated/chat/zod.js +114 -95
  41. package/dist/generated/config/api.d.ts +13 -1
  42. package/dist/generated/config/api.js +274 -189
  43. package/dist/generated/config/api.msw.d.ts +11 -1
  44. package/dist/generated/config/api.msw.js +399 -513
  45. package/dist/generated/config/models/containerItem.d.ts +3 -0
  46. package/dist/generated/config/models/containerItem.js +0 -6
  47. package/dist/generated/config/models/containerItemIngestion.d.ts +34 -0
  48. package/dist/generated/config/models/containerItemIngestion.js +8 -0
  49. package/dist/generated/config/models/containersPostParams.d.ts +4 -0
  50. package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.d.ts +9 -3
  51. package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.js +10 -3
  52. package/dist/generated/config/models/coreManagementInstallParameterType.d.ts +9 -3
  53. package/dist/generated/config/models/coreManagementInstallParameterType.js +10 -3
  54. package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.d.ts +9 -3
  55. package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.js +10 -3
  56. package/dist/generated/config/models/dataSourcesDataSourcePropertyType.d.ts +9 -3
  57. package/dist/generated/config/models/dataSourcesDataSourcePropertyType.js +10 -3
  58. package/dist/generated/config/models/enumsAccessType.d.ts +9 -3
  59. package/dist/generated/config/models/enumsAccessType.js +10 -3
  60. package/dist/generated/config/models/enumsActivityType.d.ts +9 -3
  61. package/dist/generated/config/models/enumsActivityType.js +10 -3
  62. package/dist/generated/config/models/enumsAppPrincipalType.d.ts +9 -3
  63. package/dist/generated/config/models/enumsAppPrincipalType.js +10 -3
  64. package/dist/generated/config/models/enumsBlockScope.d.ts +9 -3
  65. package/dist/generated/config/models/enumsBlockScope.js +10 -3
  66. package/dist/generated/config/models/enumsBlockType.d.ts +9 -3
  67. package/dist/generated/config/models/enumsBlockType.js +10 -3
  68. package/dist/generated/config/models/enumsDataSetScopingMode.d.ts +9 -3
  69. package/dist/generated/config/models/enumsDataSetScopingMode.js +10 -3
  70. package/dist/generated/config/models/enumsDataSourceCredentialType.d.ts +9 -3
  71. package/dist/generated/config/models/enumsDataSourceCredentialType.js +10 -3
  72. package/dist/generated/config/models/enumsFlowTriggerType.d.ts +9 -3
  73. package/dist/generated/config/models/enumsFlowTriggerType.js +10 -3
  74. package/dist/generated/config/models/enumsFlowVariableAccess.d.ts +9 -3
  75. package/dist/generated/config/models/enumsFlowVariableAccess.js +10 -3
  76. package/dist/generated/config/models/enumsIngestionStatus.d.ts +9 -3
  77. package/dist/generated/config/models/enumsIngestionStatus.js +10 -3
  78. package/dist/generated/config/models/enumsMessageValueType.d.ts +9 -3
  79. package/dist/generated/config/models/enumsMessageValueType.js +10 -3
  80. package/dist/generated/config/models/enumsModelDeploymentProviderType.d.ts +9 -3
  81. package/dist/generated/config/models/enumsModelDeploymentProviderType.js +10 -3
  82. package/dist/generated/config/models/enumsModelDeploymentStatus.d.ts +9 -3
  83. package/dist/generated/config/models/enumsModelDeploymentStatus.js +10 -3
  84. package/dist/generated/config/models/enumsModelDeploymentStepName.d.ts +9 -3
  85. package/dist/generated/config/models/enumsModelDeploymentStepName.js +10 -3
  86. package/dist/generated/config/models/enumsModelPropertyType.d.ts +9 -3
  87. package/dist/generated/config/models/enumsModelPropertyType.js +10 -3
  88. package/dist/generated/config/models/enumsModelPublisher.d.ts +9 -3
  89. package/dist/generated/config/models/enumsModelPublisher.js +10 -3
  90. package/dist/generated/config/models/enumsModelRole.d.ts +9 -3
  91. package/dist/generated/config/models/enumsModelRole.js +10 -3
  92. package/dist/generated/config/models/enumsNotificationType.d.ts +9 -3
  93. package/dist/generated/config/models/enumsNotificationType.js +10 -3
  94. package/dist/generated/config/models/enumsPermissions.d.ts +1 -2
  95. package/dist/generated/config/models/enumsPermissionsItem.d.ts +9 -3
  96. package/dist/generated/config/models/enumsPermissionsItem.js +10 -3
  97. package/dist/generated/config/models/enumsPinType.d.ts +9 -3
  98. package/dist/generated/config/models/enumsPinType.js +10 -3
  99. package/dist/generated/config/models/enumsPortType.d.ts +9 -3
  100. package/dist/generated/config/models/enumsPortType.js +10 -3
  101. package/dist/generated/config/models/enumsVirtualMachineServerType.d.ts +9 -3
  102. package/dist/generated/config/models/enumsVirtualMachineServerType.js +10 -3
  103. package/dist/generated/config/models/index.d.ts +5 -1
  104. package/dist/generated/config/models/index.js +5 -1
  105. package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
  106. package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.js +8 -0
  107. package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
  108. package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.js +8 -0
  109. package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +4 -0
  110. package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +15 -0
  111. package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.d.ts +9 -3
  112. package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.js +10 -3
  113. package/dist/generated/config/models/reportingDuration.d.ts +9 -3
  114. package/dist/generated/config/models/reportingDuration.js +10 -3
  115. package/dist/generated/config/models/reportingSplit.d.ts +9 -3
  116. package/dist/generated/config/models/reportingSplit.js +10 -3
  117. package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
  118. package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
  119. package/dist/generated/config/models/syncsSync.d.ts +8 -0
  120. package/dist/generated/config/zod.d.ts +344 -874
  121. package/dist/generated/config/zod.js +508 -298
  122. package/package.json +2 -2
@@ -4,6 +4,7 @@
4
4
  * SmartSpace Admin API
5
5
  * OpenAPI spec version: v1
6
6
  */
7
+ import type { ContainerItemIngestion } from './containerItemIngestion';
7
8
  export interface ContainerItem {
8
9
  /** @nullable */
9
10
  blobUri?: string | null;
@@ -19,6 +20,8 @@ export interface ContainerItem {
19
20
  /** @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}$ */
20
21
  id: string;
21
22
  /** @nullable */
23
+ ingestion?: ContainerItemIngestion[] | null;
24
+ /** @nullable */
22
25
  isJson?: boolean | null;
23
26
  /** @nullable */
24
27
  name?: string | null;
@@ -1,8 +1,2 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
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 ContainerItemIngestion {
8
+ /** @nullable */
9
+ attempt?: number | null;
10
+ /** @nullable */
11
+ contentVersion?: string | null;
12
+ /** @nullable */
13
+ createdAt?: string | null;
14
+ /**
15
+ * @nullable
16
+ * @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}$
17
+ */
18
+ dataSetId?: string | null;
19
+ /**
20
+ * @nullable
21
+ * @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}$
22
+ */
23
+ dataSetVersion?: string | null;
24
+ /** @nullable */
25
+ reason?: string | null;
26
+ /** @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}$ */
27
+ recordId: string;
28
+ /** @nullable */
29
+ status?: string | null;
30
+ statusFromFlowRun: boolean;
31
+ trigger: string;
32
+ /** @nullable */
33
+ updatedAt?: string | null;
34
+ }
@@ -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 });
@@ -9,4 +9,8 @@ export type ContainersPostParams = {
9
9
  * @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}$
10
10
  */
11
11
  dataSetId?: string;
12
+ /**
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
+ */
15
+ runId?: string;
12
16
  };
@@ -1,10 +1,13 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type CoreDeploymentEnumsDeploymentStatus = typeof CoreDeploymentEnumsDeploymentStatus[keyof typeof CoreDeploymentEnumsDeploymentStatus];
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. `CoreDeploymentEnumsDeploymentStatus` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const CoreDeploymentEnumsDeploymentStatus: {
9
12
  readonly Unknown: "Unknown";
10
13
  readonly InProgress: "InProgress";
@@ -12,3 +15,6 @@ export declare const CoreDeploymentEnumsDeploymentStatus: {
12
15
  readonly Deleted: "Deleted";
13
16
  readonly Succeeded: "Succeeded";
14
17
  };
18
+ export type CoreDeploymentEnumsDeploymentStatusKnown = (typeof CoreDeploymentEnumsDeploymentStatus)[keyof typeof CoreDeploymentEnumsDeploymentStatus];
19
+ export type CoreDeploymentEnumsDeploymentStatus = CoreDeploymentEnumsDeploymentStatusKnown | (string & {});
20
+ export declare function isKnownCoreDeploymentEnumsDeploymentStatus(value: string): value is CoreDeploymentEnumsDeploymentStatusKnown;
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.CoreDeploymentEnumsDeploymentStatus = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownCoreDeploymentEnumsDeploymentStatus = isKnownCoreDeploymentEnumsDeploymentStatus;
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. `CoreDeploymentEnumsDeploymentStatus` accepts any string and autocompletes these.
14
+ */
11
15
  exports.CoreDeploymentEnumsDeploymentStatus = {
12
16
  Unknown: 'Unknown',
13
17
  InProgress: 'InProgress',
@@ -15,3 +19,6 @@ exports.CoreDeploymentEnumsDeploymentStatus = {
15
19
  Deleted: 'Deleted',
16
20
  Succeeded: 'Succeeded',
17
21
  };
22
+ function isKnownCoreDeploymentEnumsDeploymentStatus(value) {
23
+ return Object.values(exports.CoreDeploymentEnumsDeploymentStatus).includes(value);
24
+ }
@@ -1,12 +1,18 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type CoreManagementInstallParameterType = typeof CoreManagementInstallParameterType[keyof typeof CoreManagementInstallParameterType];
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. `CoreManagementInstallParameterType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const CoreManagementInstallParameterType: {
9
12
  readonly Boolean: "Boolean";
10
13
  readonly String: "String";
11
14
  readonly Number: "Number";
12
15
  };
16
+ export type CoreManagementInstallParameterTypeKnown = (typeof CoreManagementInstallParameterType)[keyof typeof CoreManagementInstallParameterType];
17
+ export type CoreManagementInstallParameterType = CoreManagementInstallParameterTypeKnown | (string & {});
18
+ export declare function isKnownCoreManagementInstallParameterType(value: string): value is CoreManagementInstallParameterTypeKnown;
@@ -1,15 +1,22 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.CoreManagementInstallParameterType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownCoreManagementInstallParameterType = isKnownCoreManagementInstallParameterType;
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. `CoreManagementInstallParameterType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.CoreManagementInstallParameterType = {
12
16
  Boolean: 'Boolean',
13
17
  String: 'String',
14
18
  Number: 'Number',
15
19
  };
20
+ function isKnownCoreManagementInstallParameterType(value) {
21
+ return Object.values(exports.CoreManagementInstallParameterType).includes(value);
22
+ }
@@ -1,10 +1,16 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type DataSourcesCredentialsCredentialsType = typeof DataSourcesCredentialsCredentialsType[keyof typeof DataSourcesCredentialsCredentialsType];
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. `DataSourcesCredentialsCredentialsType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const DataSourcesCredentialsCredentialsType: {
9
12
  readonly Dictionary: "Dictionary";
10
13
  };
14
+ export type DataSourcesCredentialsCredentialsTypeKnown = (typeof DataSourcesCredentialsCredentialsType)[keyof typeof DataSourcesCredentialsCredentialsType];
15
+ export type DataSourcesCredentialsCredentialsType = DataSourcesCredentialsCredentialsTypeKnown | (string & {});
16
+ export declare function isKnownDataSourcesCredentialsCredentialsType(value: string): value is DataSourcesCredentialsCredentialsTypeKnown;
@@ -1,13 +1,20 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.DataSourcesCredentialsCredentialsType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownDataSourcesCredentialsCredentialsType = isKnownDataSourcesCredentialsCredentialsType;
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. `DataSourcesCredentialsCredentialsType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.DataSourcesCredentialsCredentialsType = {
12
16
  Dictionary: 'Dictionary',
13
17
  };
18
+ function isKnownDataSourcesCredentialsCredentialsType(value) {
19
+ return Object.values(exports.DataSourcesCredentialsCredentialsType).includes(value);
20
+ }
@@ -1,12 +1,18 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type DataSourcesDataSourcePropertyType = typeof DataSourcesDataSourcePropertyType[keyof typeof DataSourcesDataSourcePropertyType];
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. `DataSourcesDataSourcePropertyType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const DataSourcesDataSourcePropertyType: {
9
12
  readonly String: "String";
10
13
  readonly Int: "Int";
11
14
  readonly Bool: "Bool";
12
15
  };
16
+ export type DataSourcesDataSourcePropertyTypeKnown = (typeof DataSourcesDataSourcePropertyType)[keyof typeof DataSourcesDataSourcePropertyType];
17
+ export type DataSourcesDataSourcePropertyType = DataSourcesDataSourcePropertyTypeKnown | (string & {});
18
+ export declare function isKnownDataSourcesDataSourcePropertyType(value: string): value is DataSourcesDataSourcePropertyTypeKnown;
@@ -1,15 +1,22 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.DataSourcesDataSourcePropertyType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownDataSourcesDataSourcePropertyType = isKnownDataSourcesDataSourcePropertyType;
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. `DataSourcesDataSourcePropertyType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.DataSourcesDataSourcePropertyType = {
12
16
  String: 'String',
13
17
  Int: 'Int',
14
18
  Bool: 'Bool',
15
19
  };
20
+ function isKnownDataSourcesDataSourcePropertyType(value) {
21
+ return Object.values(exports.DataSourcesDataSourcePropertyType).includes(value);
22
+ }
@@ -1,11 +1,17 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsAccessType = typeof EnumsAccessType[keyof typeof EnumsAccessType];
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. `EnumsAccessType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsAccessType: {
9
12
  readonly Principal: "Principal";
10
13
  readonly Group: "Group";
11
14
  };
15
+ export type EnumsAccessTypeKnown = (typeof EnumsAccessType)[keyof typeof EnumsAccessType];
16
+ export type EnumsAccessType = EnumsAccessTypeKnown | (string & {});
17
+ export declare function isKnownEnumsAccessType(value: string): value is EnumsAccessTypeKnown;
@@ -1,14 +1,21 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsAccessType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsAccessType = isKnownEnumsAccessType;
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. `EnumsAccessType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsAccessType = {
12
16
  Principal: 'Principal',
13
17
  Group: 'Group',
14
18
  };
19
+ function isKnownEnumsAccessType(value) {
20
+ return Object.values(exports.EnumsAccessType).includes(value);
21
+ }
@@ -1,10 +1,13 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsActivityType = typeof EnumsActivityType[keyof typeof EnumsActivityType];
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. `EnumsActivityType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsActivityType: {
9
12
  readonly Created: "Created";
10
13
  readonly Deleted: "Deleted";
@@ -13,3 +16,6 @@ export declare const EnumsActivityType: {
13
16
  readonly Chat: "Chat";
14
17
  readonly Resolved: "Resolved";
15
18
  };
19
+ export type EnumsActivityTypeKnown = (typeof EnumsActivityType)[keyof typeof EnumsActivityType];
20
+ export type EnumsActivityType = EnumsActivityTypeKnown | (string & {});
21
+ export declare function isKnownEnumsActivityType(value: string): value is EnumsActivityTypeKnown;
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsActivityType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsActivityType = isKnownEnumsActivityType;
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. `EnumsActivityType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsActivityType = {
12
16
  Created: 'Created',
13
17
  Deleted: 'Deleted',
@@ -16,3 +20,6 @@ exports.EnumsActivityType = {
16
20
  Chat: 'Chat',
17
21
  Resolved: 'Resolved',
18
22
  };
23
+ function isKnownEnumsActivityType(value) {
24
+ return Object.values(exports.EnumsActivityType).includes(value);
25
+ }
@@ -1,13 +1,19 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsAppPrincipalType = typeof EnumsAppPrincipalType[keyof typeof EnumsAppPrincipalType];
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. `EnumsAppPrincipalType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsAppPrincipalType: {
9
12
  readonly Unknown: "Unknown";
10
13
  readonly User: "User";
11
14
  readonly ServicePrincipal: "ServicePrincipal";
12
15
  readonly Internal: "Internal";
13
16
  };
17
+ export type EnumsAppPrincipalTypeKnown = (typeof EnumsAppPrincipalType)[keyof typeof EnumsAppPrincipalType];
18
+ export type EnumsAppPrincipalType = EnumsAppPrincipalTypeKnown | (string & {});
19
+ export declare function isKnownEnumsAppPrincipalType(value: string): value is EnumsAppPrincipalTypeKnown;
@@ -1,16 +1,23 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsAppPrincipalType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsAppPrincipalType = isKnownEnumsAppPrincipalType;
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. `EnumsAppPrincipalType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsAppPrincipalType = {
12
16
  Unknown: 'Unknown',
13
17
  User: 'User',
14
18
  ServicePrincipal: 'ServicePrincipal',
15
19
  Internal: 'Internal',
16
20
  };
21
+ function isKnownEnumsAppPrincipalType(value) {
22
+ return Object.values(exports.EnumsAppPrincipalType).includes(value);
23
+ }
@@ -1,11 +1,17 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsBlockScope = typeof EnumsBlockScope[keyof typeof EnumsBlockScope];
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. `EnumsBlockScope` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsBlockScope: {
9
12
  readonly WorkSpace: "WorkSpace";
10
13
  readonly DataSet: "DataSet";
11
14
  };
15
+ export type EnumsBlockScopeKnown = (typeof EnumsBlockScope)[keyof typeof EnumsBlockScope];
16
+ export type EnumsBlockScope = EnumsBlockScopeKnown | (string & {});
17
+ export declare function isKnownEnumsBlockScope(value: string): value is EnumsBlockScopeKnown;
@@ -1,14 +1,21 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsBlockScope = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsBlockScope = isKnownEnumsBlockScope;
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. `EnumsBlockScope` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsBlockScope = {
12
16
  WorkSpace: 'WorkSpace',
13
17
  DataSet: 'DataSet',
14
18
  };
19
+ function isKnownEnumsBlockScope(value) {
20
+ return Object.values(exports.EnumsBlockScope).includes(value);
21
+ }
@@ -1,12 +1,18 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsBlockType = typeof EnumsBlockType[keyof typeof EnumsBlockType];
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. `EnumsBlockType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsBlockType: {
9
12
  readonly Native: "Native";
10
13
  readonly Custom: "Custom";
11
14
  readonly Debug: "Debug";
12
15
  };
16
+ export type EnumsBlockTypeKnown = (typeof EnumsBlockType)[keyof typeof EnumsBlockType];
17
+ export type EnumsBlockType = EnumsBlockTypeKnown | (string & {});
18
+ export declare function isKnownEnumsBlockType(value: string): value is EnumsBlockTypeKnown;
@@ -1,15 +1,22 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsBlockType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsBlockType = isKnownEnumsBlockType;
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. `EnumsBlockType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsBlockType = {
12
16
  Native: 'Native',
13
17
  Custom: 'Custom',
14
18
  Debug: 'Debug',
15
19
  };
20
+ function isKnownEnumsBlockType(value) {
21
+ return Object.values(exports.EnumsBlockType).includes(value);
22
+ }
@@ -1,11 +1,17 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsDataSetScopingMode = typeof EnumsDataSetScopingMode[keyof typeof EnumsDataSetScopingMode];
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. `EnumsDataSetScopingMode` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsDataSetScopingMode: {
9
12
  readonly Unrestricted: "Unrestricted";
10
13
  readonly PerSubject: "PerSubject";
11
14
  };
15
+ export type EnumsDataSetScopingModeKnown = (typeof EnumsDataSetScopingMode)[keyof typeof EnumsDataSetScopingMode];
16
+ export type EnumsDataSetScopingMode = EnumsDataSetScopingModeKnown | (string & {});
17
+ export declare function isKnownEnumsDataSetScopingMode(value: string): value is EnumsDataSetScopingModeKnown;
@@ -1,14 +1,21 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsDataSetScopingMode = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsDataSetScopingMode = isKnownEnumsDataSetScopingMode;
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. `EnumsDataSetScopingMode` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsDataSetScopingMode = {
12
16
  Unrestricted: 'Unrestricted',
13
17
  PerSubject: 'PerSubject',
14
18
  };
19
+ function isKnownEnumsDataSetScopingMode(value) {
20
+ return Object.values(exports.EnumsDataSetScopingMode).includes(value);
21
+ }
@@ -1,10 +1,13 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsDataSourceCredentialType = typeof EnumsDataSourceCredentialType[keyof typeof EnumsDataSourceCredentialType];
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. `EnumsDataSourceCredentialType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsDataSourceCredentialType: {
9
12
  readonly BlobStorage: "BlobStorage";
10
13
  readonly SqlServer: "SqlServer";
@@ -18,3 +21,6 @@ export declare const EnumsDataSourceCredentialType: {
18
21
  readonly File: "File";
19
22
  readonly Sitemap: "Sitemap";
20
23
  };
24
+ export type EnumsDataSourceCredentialTypeKnown = (typeof EnumsDataSourceCredentialType)[keyof typeof EnumsDataSourceCredentialType];
25
+ export type EnumsDataSourceCredentialType = EnumsDataSourceCredentialTypeKnown | (string & {});
26
+ export declare function isKnownEnumsDataSourceCredentialType(value: string): value is EnumsDataSourceCredentialTypeKnown;
@@ -1,13 +1,17 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v7.13.2 🍺
3
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
4
4
  * Do not edit manually.
5
5
  * SmartSpace Admin API
6
- * OpenAPI spec version: v1
7
6
  */
8
7
  Object.defineProperty(exports, "__esModule", { value: true });
9
8
  exports.EnumsDataSourceCredentialType = void 0;
10
- // eslint-disable-next-line @typescript-eslint/no-redeclare
9
+ exports.isKnownEnumsDataSourceCredentialType = isKnownEnumsDataSourceCredentialType;
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. `EnumsDataSourceCredentialType` accepts any string and autocompletes these.
14
+ */
11
15
  exports.EnumsDataSourceCredentialType = {
12
16
  BlobStorage: 'BlobStorage',
13
17
  SqlServer: 'SqlServer',
@@ -21,3 +25,6 @@ exports.EnumsDataSourceCredentialType = {
21
25
  File: 'File',
22
26
  Sitemap: 'Sitemap',
23
27
  };
28
+ function isKnownEnumsDataSourceCredentialType(value) {
29
+ return Object.values(exports.EnumsDataSourceCredentialType).includes(value);
30
+ }
@@ -1,11 +1,17 @@
1
1
  /**
2
- * Generated by orval v7.13.2 🍺
2
+ * Generated from `x-extensible-enum` by scripts/extensible-enums.js
3
3
  * Do not edit manually.
4
4
  * SmartSpace Admin API
5
- * OpenAPI spec version: v1
6
5
  */
7
- export type EnumsFlowTriggerType = typeof EnumsFlowTriggerType[keyof typeof EnumsFlowTriggerType];
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. `EnumsFlowTriggerType` accepts any string and autocompletes these.
10
+ */
8
11
  export declare const EnumsFlowTriggerType: {
9
12
  readonly Periodic: "Periodic";
10
13
  readonly Container: "Container";
11
14
  };
15
+ export type EnumsFlowTriggerTypeKnown = (typeof EnumsFlowTriggerType)[keyof typeof EnumsFlowTriggerType];
16
+ export type EnumsFlowTriggerType = EnumsFlowTriggerTypeKnown | (string & {});
17
+ export declare function isKnownEnumsFlowTriggerType(value: string): value is EnumsFlowTriggerTypeKnown;