@smartspace/api-client 0.1.0-pr.1155.85bafe5 → 0.1.0-pr.1156.3ec3df1
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/generated/chat/models/enumsAccessType.d.ts +13 -3
- package/dist/generated/chat/models/enumsAccessType.js +15 -2
- package/dist/generated/chat/models/enumsAppPrincipalType.d.ts +15 -3
- package/dist/generated/chat/models/enumsAppPrincipalType.js +17 -2
- package/dist/generated/chat/models/enumsFlowTriggerType.d.ts +13 -3
- package/dist/generated/chat/models/enumsFlowTriggerType.js +15 -2
- package/dist/generated/chat/models/enumsFlowVariableAccess.d.ts +14 -3
- package/dist/generated/chat/models/enumsFlowVariableAccess.js +16 -2
- package/dist/generated/chat/models/enumsMessageValueType.d.ts +13 -3
- package/dist/generated/chat/models/enumsMessageValueType.js +15 -2
- package/dist/generated/chat/models/enumsModelDeploymentProviderType.d.ts +19 -3
- package/dist/generated/chat/models/enumsModelDeploymentProviderType.js +21 -2
- package/dist/generated/chat/models/enumsModelDeploymentStatus.d.ts +16 -3
- package/dist/generated/chat/models/enumsModelDeploymentStatus.js +18 -2
- package/dist/generated/chat/models/enumsModelDeploymentStepName.d.ts +16 -3
- package/dist/generated/chat/models/enumsModelDeploymentStepName.js +18 -2
- package/dist/generated/chat/models/enumsModelPropertyType.d.ts +14 -3
- package/dist/generated/chat/models/enumsModelPropertyType.js +16 -2
- package/dist/generated/chat/models/enumsModelPublisher.d.ts +24 -3
- package/dist/generated/chat/models/enumsModelPublisher.js +26 -2
- package/dist/generated/chat/models/enumsModelRole.d.ts +14 -3
- package/dist/generated/chat/models/enumsModelRole.js +16 -2
- package/dist/generated/chat/models/enumsNotificationType.d.ts +15 -3
- package/dist/generated/chat/models/enumsNotificationType.js +17 -2
- package/dist/generated/chat/models/enumsVirtualMachineServerType.d.ts +13 -3
- package/dist/generated/chat/models/enumsVirtualMachineServerType.js +15 -2
- package/dist/generated/chat/models/enumsWorkSpaceOrderBy.d.ts +14 -3
- package/dist/generated/chat/models/enumsWorkSpaceOrderBy.js +16 -2
- package/dist/generated/config/api.d.ts +2 -2
- package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.d.ts +16 -3
- package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.js +18 -2
- package/dist/generated/config/models/coreManagementInstallParameterType.d.ts +14 -3
- package/dist/generated/config/models/coreManagementInstallParameterType.js +16 -2
- package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.d.ts +12 -3
- package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.js +14 -2
- package/dist/generated/config/models/dataSourcesDataSourcePropertyType.d.ts +14 -3
- package/dist/generated/config/models/dataSourcesDataSourcePropertyType.js +16 -2
- package/dist/generated/config/models/enumsAccessType.d.ts +13 -3
- package/dist/generated/config/models/enumsAccessType.js +15 -2
- package/dist/generated/config/models/enumsActivityType.d.ts +17 -3
- package/dist/generated/config/models/enumsActivityType.js +19 -2
- package/dist/generated/config/models/enumsAppPrincipalType.d.ts +15 -3
- package/dist/generated/config/models/enumsAppPrincipalType.js +17 -2
- package/dist/generated/config/models/enumsBlockScope.d.ts +13 -3
- package/dist/generated/config/models/enumsBlockScope.js +15 -2
- package/dist/generated/config/models/enumsBlockType.d.ts +14 -3
- package/dist/generated/config/models/enumsBlockType.js +16 -2
- package/dist/generated/config/models/enumsDataSetScopingMode.d.ts +13 -3
- package/dist/generated/config/models/enumsDataSetScopingMode.js +15 -2
- package/dist/generated/config/models/enumsDataSourceCredentialType.d.ts +22 -3
- package/dist/generated/config/models/enumsDataSourceCredentialType.js +24 -2
- package/dist/generated/config/models/enumsFlowTriggerType.d.ts +13 -3
- package/dist/generated/config/models/enumsFlowTriggerType.js +15 -2
- package/dist/generated/config/models/enumsFlowVariableAccess.d.ts +14 -3
- package/dist/generated/config/models/enumsFlowVariableAccess.js +16 -2
- package/dist/generated/config/models/enumsIngestionStatus.d.ts +14 -3
- package/dist/generated/config/models/enumsIngestionStatus.js +16 -2
- package/dist/generated/config/models/enumsMessageValueType.d.ts +13 -3
- package/dist/generated/config/models/enumsMessageValueType.js +15 -2
- package/dist/generated/config/models/enumsModelDeploymentProviderType.d.ts +19 -3
- package/dist/generated/config/models/enumsModelDeploymentProviderType.js +21 -2
- package/dist/generated/config/models/enumsModelDeploymentStatus.d.ts +16 -3
- package/dist/generated/config/models/enumsModelDeploymentStatus.js +18 -2
- package/dist/generated/config/models/enumsModelDeploymentStepName.d.ts +16 -3
- package/dist/generated/config/models/enumsModelDeploymentStepName.js +18 -2
- package/dist/generated/config/models/enumsModelPropertyType.d.ts +14 -3
- package/dist/generated/config/models/enumsModelPropertyType.js +16 -2
- package/dist/generated/config/models/enumsModelPublisher.d.ts +24 -3
- package/dist/generated/config/models/enumsModelPublisher.js +26 -2
- package/dist/generated/config/models/enumsModelRole.d.ts +14 -3
- package/dist/generated/config/models/enumsModelRole.js +16 -2
- package/dist/generated/config/models/enumsNotificationType.d.ts +15 -3
- package/dist/generated/config/models/enumsNotificationType.js +17 -2
- package/dist/generated/config/models/enumsPermissions.d.ts +3 -3
- package/dist/generated/config/models/enumsPermissions.js +0 -6
- package/dist/generated/config/models/enumsPermissionsItem.d.ts +24 -0
- package/dist/generated/config/models/enumsPermissionsItem.js +28 -0
- package/dist/generated/config/models/enumsPinType.d.ts +14 -3
- package/dist/generated/config/models/enumsPinType.js +16 -2
- package/dist/generated/config/models/enumsPortType.d.ts +14 -3
- package/dist/generated/config/models/enumsPortType.js +16 -2
- package/dist/generated/config/models/enumsVirtualMachineServerType.d.ts +13 -3
- package/dist/generated/config/models/enumsVirtualMachineServerType.js +15 -2
- package/dist/generated/config/models/index.d.ts +1 -0
- package/dist/generated/config/models/index.js +1 -0
- package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.d.ts +14 -3
- package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.js +16 -2
- package/dist/generated/config/models/reportingDuration.d.ts +16 -3
- package/dist/generated/config/models/reportingDuration.js +18 -2
- package/dist/generated/config/models/reportingSplit.d.ts +14 -3
- package/dist/generated/config/models/reportingSplit.js +16 -2
- package/package.json +2 -2
|
@@ -0,0 +1,28 @@
|
|
|
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.EnumsPermissionsItem = void 0;
|
|
9
|
+
exports.isKnownEnumsPermissionsItem = isKnownEnumsPermissionsItem;
|
|
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. `EnumsPermissionsItem` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.EnumsPermissionsItem = {
|
|
16
|
+
WorkspaceCreate: 'WorkspaceCreate',
|
|
17
|
+
WorkspaceEdit: 'WorkspaceEdit',
|
|
18
|
+
WorkspaceDelete: 'WorkspaceDelete',
|
|
19
|
+
DataSpaceCreate: 'DataSpaceCreate',
|
|
20
|
+
DataSpaceEdit: 'DataSpaceEdit',
|
|
21
|
+
DataSpaceDelete: 'DataSpaceDelete',
|
|
22
|
+
ConnectorCreate: 'ConnectorCreate',
|
|
23
|
+
ConnectorEdit: 'ConnectorEdit',
|
|
24
|
+
ConnectorDelete: 'ConnectorDelete',
|
|
25
|
+
};
|
|
26
|
+
function isKnownEnumsPermissionsItem(value) {
|
|
27
|
+
return Object.values(exports.EnumsPermissionsItem).includes(value);
|
|
28
|
+
}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
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
|
-
|
|
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. `EnumsPinType` accepts any string and autocompletes these.
|
|
10
|
+
*/
|
|
11
|
+
export declare const EnumsPinType: {
|
|
12
|
+
readonly Single: "Single";
|
|
13
|
+
readonly List: "List";
|
|
14
|
+
readonly Dictionary: "Dictionary";
|
|
15
|
+
};
|
|
16
|
+
export type EnumsPinTypeKnown = (typeof EnumsPinType)[keyof typeof EnumsPinType];
|
|
17
|
+
export type EnumsPinType = EnumsPinTypeKnown | (string & {});
|
|
18
|
+
export declare function isKnownEnumsPinType(value: string): value is EnumsPinTypeKnown;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
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 });
|
|
8
|
+
exports.EnumsPinType = void 0;
|
|
9
|
+
exports.isKnownEnumsPinType = isKnownEnumsPinType;
|
|
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. `EnumsPinType` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.EnumsPinType = {
|
|
16
|
+
Single: 'Single',
|
|
17
|
+
List: 'List',
|
|
18
|
+
Dictionary: 'Dictionary',
|
|
19
|
+
};
|
|
20
|
+
function isKnownEnumsPinType(value) {
|
|
21
|
+
return Object.values(exports.EnumsPinType).includes(value);
|
|
22
|
+
}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
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
|
-
|
|
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. `EnumsPortType` accepts any string and autocompletes these.
|
|
10
|
+
*/
|
|
11
|
+
export declare const EnumsPortType: {
|
|
12
|
+
readonly Single: "Single";
|
|
13
|
+
readonly List: "List";
|
|
14
|
+
readonly Dictionary: "Dictionary";
|
|
15
|
+
};
|
|
16
|
+
export type EnumsPortTypeKnown = (typeof EnumsPortType)[keyof typeof EnumsPortType];
|
|
17
|
+
export type EnumsPortType = EnumsPortTypeKnown | (string & {});
|
|
18
|
+
export declare function isKnownEnumsPortType(value: string): value is EnumsPortTypeKnown;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
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 });
|
|
8
|
+
exports.EnumsPortType = void 0;
|
|
9
|
+
exports.isKnownEnumsPortType = isKnownEnumsPortType;
|
|
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. `EnumsPortType` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.EnumsPortType = {
|
|
16
|
+
Single: 'Single',
|
|
17
|
+
List: 'List',
|
|
18
|
+
Dictionary: 'Dictionary',
|
|
19
|
+
};
|
|
20
|
+
function isKnownEnumsPortType(value) {
|
|
21
|
+
return Object.values(exports.EnumsPortType).includes(value);
|
|
22
|
+
}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
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
|
-
|
|
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. `EnumsVirtualMachineServerType` accepts any string and autocompletes these.
|
|
10
|
+
*/
|
|
11
|
+
export declare const EnumsVirtualMachineServerType: {
|
|
12
|
+
readonly TextGenerationInference: "TextGenerationInference";
|
|
13
|
+
readonly VLlm: "VLlm";
|
|
14
|
+
};
|
|
15
|
+
export type EnumsVirtualMachineServerTypeKnown = (typeof EnumsVirtualMachineServerType)[keyof typeof EnumsVirtualMachineServerType];
|
|
16
|
+
export type EnumsVirtualMachineServerType = EnumsVirtualMachineServerTypeKnown | (string & {});
|
|
17
|
+
export declare function isKnownEnumsVirtualMachineServerType(value: string): value is EnumsVirtualMachineServerTypeKnown;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
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 });
|
|
8
|
+
exports.EnumsVirtualMachineServerType = void 0;
|
|
9
|
+
exports.isKnownEnumsVirtualMachineServerType = isKnownEnumsVirtualMachineServerType;
|
|
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. `EnumsVirtualMachineServerType` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.EnumsVirtualMachineServerType = {
|
|
16
|
+
TextGenerationInference: 'TextGenerationInference',
|
|
17
|
+
VLlm: 'VLlm',
|
|
18
|
+
};
|
|
19
|
+
function isKnownEnumsVirtualMachineServerType(value) {
|
|
20
|
+
return Object.values(exports.EnumsVirtualMachineServerType).includes(value);
|
|
21
|
+
}
|
|
@@ -356,3 +356,4 @@ __exportStar(require("./workSpacesWorkSpaceInputs"), exports);
|
|
|
356
356
|
__exportStar(require("./workSpacesWorkSpaceUser"), exports);
|
|
357
357
|
__exportStar(require("./workSpacesWorkSpaceVariables"), exports);
|
|
358
358
|
__exportStar(require("./workSpacesWorkspaceFilesBody"), exports);
|
|
359
|
+
__exportStar(require("./enumsPermissionsItem"), exports);
|
package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.d.ts
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
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
|
-
|
|
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. `MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus` accepts any string and autocompletes these.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus: {
|
|
12
|
+
readonly Unhealthy: "Unhealthy";
|
|
13
|
+
readonly Degraded: "Degraded";
|
|
14
|
+
readonly Healthy: "Healthy";
|
|
15
|
+
};
|
|
16
|
+
export type MicrosoftExtensionsDiagnosticsHealthChecksHealthStatusKnown = (typeof MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus)[keyof typeof MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus];
|
|
17
|
+
export type MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus = MicrosoftExtensionsDiagnosticsHealthChecksHealthStatusKnown | (string & {});
|
|
18
|
+
export declare function isKnownMicrosoftExtensionsDiagnosticsHealthChecksHealthStatus(value: string): value is MicrosoftExtensionsDiagnosticsHealthChecksHealthStatusKnown;
|
package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.js
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
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 });
|
|
8
|
+
exports.MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus = void 0;
|
|
9
|
+
exports.isKnownMicrosoftExtensionsDiagnosticsHealthChecksHealthStatus = isKnownMicrosoftExtensionsDiagnosticsHealthChecksHealthStatus;
|
|
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. `MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus = {
|
|
16
|
+
Unhealthy: 'Unhealthy',
|
|
17
|
+
Degraded: 'Degraded',
|
|
18
|
+
Healthy: 'Healthy',
|
|
19
|
+
};
|
|
20
|
+
function isKnownMicrosoftExtensionsDiagnosticsHealthChecksHealthStatus(value) {
|
|
21
|
+
return Object.values(exports.MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus).includes(value);
|
|
22
|
+
}
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
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
|
-
|
|
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. `ReportingDuration` accepts any string and autocompletes these.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ReportingDuration: {
|
|
12
|
+
readonly Second: "Second";
|
|
13
|
+
readonly Minute: "Minute";
|
|
14
|
+
readonly Hour: "Hour";
|
|
15
|
+
readonly Day: "Day";
|
|
16
|
+
readonly Month: "Month";
|
|
17
|
+
};
|
|
18
|
+
export type ReportingDurationKnown = (typeof ReportingDuration)[keyof typeof ReportingDuration];
|
|
19
|
+
export type ReportingDuration = ReportingDurationKnown | (string & {});
|
|
20
|
+
export declare function isKnownReportingDuration(value: string): value is ReportingDurationKnown;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
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 });
|
|
8
|
+
exports.ReportingDuration = void 0;
|
|
9
|
+
exports.isKnownReportingDuration = isKnownReportingDuration;
|
|
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. `ReportingDuration` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.ReportingDuration = {
|
|
16
|
+
Second: 'Second',
|
|
17
|
+
Minute: 'Minute',
|
|
18
|
+
Hour: 'Hour',
|
|
19
|
+
Day: 'Day',
|
|
20
|
+
Month: 'Month',
|
|
21
|
+
};
|
|
22
|
+
function isKnownReportingDuration(value) {
|
|
23
|
+
return Object.values(exports.ReportingDuration).includes(value);
|
|
24
|
+
}
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
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
|
-
|
|
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. `ReportingSplit` accepts any string and autocompletes these.
|
|
10
|
+
*/
|
|
11
|
+
export declare const ReportingSplit: {
|
|
12
|
+
readonly WorkSpace: "WorkSpace";
|
|
13
|
+
readonly Step: "Step";
|
|
14
|
+
readonly User: "User";
|
|
15
|
+
};
|
|
16
|
+
export type ReportingSplitKnown = (typeof ReportingSplit)[keyof typeof ReportingSplit];
|
|
17
|
+
export type ReportingSplit = ReportingSplitKnown | (string & {});
|
|
18
|
+
export declare function isKnownReportingSplit(value: string): value is ReportingSplitKnown;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
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 });
|
|
8
|
+
exports.ReportingSplit = void 0;
|
|
9
|
+
exports.isKnownReportingSplit = isKnownReportingSplit;
|
|
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. `ReportingSplit` accepts any string and autocompletes these.
|
|
14
|
+
*/
|
|
15
|
+
exports.ReportingSplit = {
|
|
16
|
+
WorkSpace: 'WorkSpace',
|
|
17
|
+
Step: 'Step',
|
|
18
|
+
User: 'User',
|
|
19
|
+
};
|
|
20
|
+
function isKnownReportingSplit(value) {
|
|
21
|
+
return Object.values(exports.ReportingSplit).includes(value);
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartspace/api-client",
|
|
3
|
-
"version": "0.1.0-pr.
|
|
3
|
+
"version": "0.1.0-pr.1156.3ec3df1",
|
|
4
4
|
"description": "Generated TypeScript client for SmartSpace APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"generate": "npm run generate:rest && npm run generate:signalr",
|
|
22
|
-
"generate:rest": "orval --config orval.config.ts",
|
|
22
|
+
"generate:rest": "orval --config orval.config.ts && node ./scripts/extensible-enums.js",
|
|
23
23
|
"generate:signalr": "dotnet tsrts --project ../../SmartSpace.App.Business/SmartSpace.App.Business.csproj --output src/generated/signalr --asm --enum Name",
|
|
24
24
|
"build": "tsc",
|
|
25
25
|
"prepublishOnly": "npm run generate && npm run build"
|