@uipath/admin-tool 1.205.0-preview.281 → 1.206.0-preview.279
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/{index-37jrt4wz.js → index-0tbanmrb.js} +79 -85
- package/dist/{index-3mgpezgw.js → index-h9t95d1v.js} +58 -64
- package/dist/{index-3v0kv44y.js → index-jd9v7pra.js} +207 -2986
- package/dist/{index-00ks13f2.js → index-s679w9k7.js} +2100 -40
- package/dist/{index-esy280as.js → index-x4997kvr.js} +2 -22
- package/dist/{index-6s9xyeev.js → index-x8zxgeh4.js} +22 -28
- package/dist/{jmespath-v0jttxep.js → jmespath-z30y456m.js} +1 -1
- package/dist/{js-yaml-qv0npwpc.js → js-yaml-cr6n3g9w.js} +1 -3
- package/dist/{tool-nwbftwhg.js → tool-1nnqcf86.js} +36 -21
- package/dist/{tool-x2rahref.js → tool-qqkhh98w.js} +36 -41
- package/dist/tool-vp6z9an2.js +867 -0
- package/dist/{tool-vwvd47vw.js → tool-y4t90j0d.js} +25 -33
- package/dist/{tool-2wtwtawb.js → tool-zg1at4tw.js} +1131 -594
- package/dist/tool.js +11 -13
- package/package.json +2 -2
- package/dist/tool-1yh8g550.js +0 -52
- package/dist/tool-hsqb6sve.js +0 -2859
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./tool-nwbftwhg.js";
|
|
4
|
-
import {
|
|
5
|
-
Option,
|
|
6
|
-
OutputFormatter,
|
|
7
|
-
RESULTS,
|
|
8
|
-
addSdkUserAgentHeader,
|
|
2
|
+
getFileSystem,
|
|
9
3
|
catchError,
|
|
10
4
|
extractErrorMessage,
|
|
11
|
-
|
|
5
|
+
RESULTS,
|
|
6
|
+
Option,
|
|
7
|
+
OutputFormatter,
|
|
8
|
+
processContext,
|
|
12
9
|
getSdkUserAgentToken,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./tool-
|
|
10
|
+
addSdkUserAgentHeader,
|
|
11
|
+
installSdkUserAgentHeader
|
|
12
|
+
} from "./tool-zg1at4tw.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./tool-
|
|
14
|
+
getAuthContext
|
|
15
|
+
} from "./tool-1nnqcf86.js";
|
|
19
16
|
|
|
20
17
|
// ../oms-sdk/generated/v1/src/runtime.ts
|
|
21
18
|
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
@@ -224,12 +221,6 @@ class RequiredError extends Error {
|
|
|
224
221
|
this.field = field;
|
|
225
222
|
}
|
|
226
223
|
}
|
|
227
|
-
var COLLECTION_FORMATS = {
|
|
228
|
-
csv: ",",
|
|
229
|
-
ssv: " ",
|
|
230
|
-
tsv: "\t",
|
|
231
|
-
pipes: "|"
|
|
232
|
-
};
|
|
233
224
|
function querystring(params, prefix = "") {
|
|
234
225
|
return Object.keys(params).map((key) => querystringSingleKey(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
|
|
235
226
|
}
|
|
@@ -251,10 +242,6 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
251
242
|
}
|
|
252
243
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
253
244
|
}
|
|
254
|
-
function exists(json, key) {
|
|
255
|
-
const value = json[key];
|
|
256
|
-
return value !== null && value !== undefined;
|
|
257
|
-
}
|
|
258
245
|
function mapValues(data, fn) {
|
|
259
246
|
const result = {};
|
|
260
247
|
for (const key of Object.keys(data)) {
|
|
@@ -262,15 +249,6 @@ function mapValues(data, fn) {
|
|
|
262
249
|
}
|
|
263
250
|
return result;
|
|
264
251
|
}
|
|
265
|
-
function canConsumeForm(consumes) {
|
|
266
|
-
for (const consume of consumes) {
|
|
267
|
-
if (consume.contentType === "multipart/form-data") {
|
|
268
|
-
return true;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
return false;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
252
|
class JSONApiResponse {
|
|
275
253
|
raw;
|
|
276
254
|
transformer;
|
|
@@ -293,26 +271,6 @@ class VoidApiResponse {
|
|
|
293
271
|
}
|
|
294
272
|
}
|
|
295
273
|
|
|
296
|
-
class BlobApiResponse {
|
|
297
|
-
raw;
|
|
298
|
-
constructor(raw) {
|
|
299
|
-
this.raw = raw;
|
|
300
|
-
}
|
|
301
|
-
async value() {
|
|
302
|
-
return await this.raw.blob();
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
class TextApiResponse {
|
|
307
|
-
raw;
|
|
308
|
-
constructor(raw) {
|
|
309
|
-
this.raw = raw;
|
|
310
|
-
}
|
|
311
|
-
async value() {
|
|
312
|
-
return await this.raw.text();
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
274
|
// ../oms-sdk/generated/v2/src/runtime.ts
|
|
317
275
|
var BASE_PATH2 = "http://localhost".replace(/\/+$/, "");
|
|
318
276
|
|
|
@@ -520,12 +478,6 @@ class RequiredError2 extends Error {
|
|
|
520
478
|
this.field = field;
|
|
521
479
|
}
|
|
522
480
|
}
|
|
523
|
-
var COLLECTION_FORMATS2 = {
|
|
524
|
-
csv: ",",
|
|
525
|
-
ssv: " ",
|
|
526
|
-
tsv: "\t",
|
|
527
|
-
pipes: "|"
|
|
528
|
-
};
|
|
529
481
|
function querystring2(params, prefix = "") {
|
|
530
482
|
return Object.keys(params).map((key) => querystringSingleKey2(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
|
|
531
483
|
}
|
|
@@ -547,38 +499,6 @@ function querystringSingleKey2(key, value, keyPrefix = "") {
|
|
|
547
499
|
}
|
|
548
500
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
549
501
|
}
|
|
550
|
-
function exists2(json, key) {
|
|
551
|
-
const value = json[key];
|
|
552
|
-
return value !== null && value !== undefined;
|
|
553
|
-
}
|
|
554
|
-
function mapValues2(data, fn) {
|
|
555
|
-
const result = {};
|
|
556
|
-
for (const key of Object.keys(data)) {
|
|
557
|
-
result[key] = fn(data[key]);
|
|
558
|
-
}
|
|
559
|
-
return result;
|
|
560
|
-
}
|
|
561
|
-
function canConsumeForm2(consumes) {
|
|
562
|
-
for (const consume of consumes) {
|
|
563
|
-
if (consume.contentType === "multipart/form-data") {
|
|
564
|
-
return true;
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
return false;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
class JSONApiResponse2 {
|
|
571
|
-
raw;
|
|
572
|
-
transformer;
|
|
573
|
-
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
574
|
-
this.raw = raw;
|
|
575
|
-
this.transformer = transformer;
|
|
576
|
-
}
|
|
577
|
-
async value() {
|
|
578
|
-
return this.transformer(await this.raw.json());
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
|
|
582
502
|
class VoidApiResponse2 {
|
|
583
503
|
raw;
|
|
584
504
|
constructor(raw) {
|
|
@@ -589,26 +509,6 @@ class VoidApiResponse2 {
|
|
|
589
509
|
}
|
|
590
510
|
}
|
|
591
511
|
|
|
592
|
-
class BlobApiResponse2 {
|
|
593
|
-
raw;
|
|
594
|
-
constructor(raw) {
|
|
595
|
-
this.raw = raw;
|
|
596
|
-
}
|
|
597
|
-
async value() {
|
|
598
|
-
return await this.raw.blob();
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
class TextApiResponse2 {
|
|
603
|
-
raw;
|
|
604
|
-
constructor(raw) {
|
|
605
|
-
this.raw = raw;
|
|
606
|
-
}
|
|
607
|
-
async value() {
|
|
608
|
-
return await this.raw.text();
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
|
|
612
512
|
// ../oms-sdk/generated/v2310/src/runtime.ts
|
|
613
513
|
var BASE_PATH3 = "http://localhost".replace(/\/+$/, "");
|
|
614
514
|
|
|
@@ -833,7 +733,7 @@ var package_default = {
|
|
|
833
733
|
name: "@uipath/oms-sdk",
|
|
834
734
|
author: "UiPath",
|
|
835
735
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
836
|
-
version: "1.
|
|
736
|
+
version: "1.206.0",
|
|
837
737
|
description: "SDK for the UiPath Organization Management Service API.",
|
|
838
738
|
repository: {
|
|
839
739
|
type: "git",
|
|
@@ -864,6 +764,7 @@ var package_default = {
|
|
|
864
764
|
private: true,
|
|
865
765
|
scripts: {
|
|
866
766
|
build: "bun build ./src/index.ts --outdir dist --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
767
|
+
typecheck: "tsc --noEmit",
|
|
867
768
|
generate: "bun run src/scripts/generate-sdk.ts",
|
|
868
769
|
lint: "biome check .",
|
|
869
770
|
test: "vitest run"
|
|
@@ -884,400 +785,15 @@ installSdkUserAgentHeader(BaseAPI, SDK_USER_AGENT);
|
|
|
884
785
|
installSdkUserAgentHeader(BaseAPI2, SDK_USER_AGENT);
|
|
885
786
|
installSdkUserAgentHeader(BaseAPI3, SDK_USER_AGENT);
|
|
886
787
|
|
|
887
|
-
// ../oms-sdk/generated/v1/src/index.ts
|
|
888
|
-
var exports_src = {};
|
|
889
|
-
__export(exports_src, {
|
|
890
|
-
ActionAfterFailure: () => ActionAfterFailure,
|
|
891
|
-
ActionAfterFailureFromJSON: () => ActionAfterFailureFromJSON,
|
|
892
|
-
ActionAfterFailureFromJSONTyped: () => ActionAfterFailureFromJSONTyped,
|
|
893
|
-
ActionAfterFailureToJSON: () => ActionAfterFailureToJSON,
|
|
894
|
-
ActionAfterFailureToJSONTyped: () => ActionAfterFailureToJSONTyped,
|
|
895
|
-
AddRemoveTenantServiceRequestDtoFromJSON: () => AddRemoveTenantServiceRequestDtoFromJSON,
|
|
896
|
-
AddRemoveTenantServiceRequestDtoFromJSONTyped: () => AddRemoveTenantServiceRequestDtoFromJSONTyped,
|
|
897
|
-
AddRemoveTenantServiceRequestDtoToJSON: () => AddRemoveTenantServiceRequestDtoToJSON,
|
|
898
|
-
AddRemoveTenantServiceRequestDtoToJSONTyped: () => AddRemoveTenantServiceRequestDtoToJSONTyped,
|
|
899
|
-
AllOrganizationInfoDtoFromJSON: () => AllOrganizationInfoDtoFromJSON,
|
|
900
|
-
AllOrganizationInfoDtoFromJSONTyped: () => AllOrganizationInfoDtoFromJSONTyped,
|
|
901
|
-
AllOrganizationInfoDtoToJSON: () => AllOrganizationInfoDtoToJSON,
|
|
902
|
-
AllOrganizationInfoDtoToJSONTyped: () => AllOrganizationInfoDtoToJSONTyped,
|
|
903
|
-
ApiKeyApi: () => ApiKeyApi,
|
|
904
|
-
ApiKeyDtoFromJSON: () => ApiKeyDtoFromJSON,
|
|
905
|
-
ApiKeyDtoFromJSONTyped: () => ApiKeyDtoFromJSONTyped,
|
|
906
|
-
ApiKeyDtoToJSON: () => ApiKeyDtoToJSON,
|
|
907
|
-
ApiKeyDtoToJSONTyped: () => ApiKeyDtoToJSONTyped,
|
|
908
|
-
ApiKeyType: () => ApiKeyType,
|
|
909
|
-
ApiKeyTypeFromJSON: () => ApiKeyTypeFromJSON,
|
|
910
|
-
ApiKeyTypeFromJSONTyped: () => ApiKeyTypeFromJSONTyped,
|
|
911
|
-
ApiKeyTypeToJSON: () => ApiKeyTypeToJSON,
|
|
912
|
-
ApiKeyTypeToJSONTyped: () => ApiKeyTypeToJSONTyped,
|
|
913
|
-
AuditDeleteApi: () => AuditDeleteApi,
|
|
914
|
-
AuditQueryApi: () => AuditQueryApi,
|
|
915
|
-
AuditQueryRecordDtoFromJSON: () => AuditQueryRecordDtoFromJSON,
|
|
916
|
-
AuditQueryRecordDtoFromJSONTyped: () => AuditQueryRecordDtoFromJSONTyped,
|
|
917
|
-
AuditQueryRecordDtoPagedResultFromJSON: () => AuditQueryRecordDtoPagedResultFromJSON,
|
|
918
|
-
AuditQueryRecordDtoPagedResultFromJSONTyped: () => AuditQueryRecordDtoPagedResultFromJSONTyped,
|
|
919
|
-
AuditQueryRecordDtoPagedResultToJSON: () => AuditQueryRecordDtoPagedResultToJSON,
|
|
920
|
-
AuditQueryRecordDtoPagedResultToJSONTyped: () => AuditQueryRecordDtoPagedResultToJSONTyped,
|
|
921
|
-
AuditQueryRecordDtoToJSON: () => AuditQueryRecordDtoToJSON,
|
|
922
|
-
AuditQueryRecordDtoToJSONTyped: () => AuditQueryRecordDtoToJSONTyped,
|
|
923
|
-
BASE_PATH: () => BASE_PATH,
|
|
924
|
-
BaseAPI: () => BaseAPI,
|
|
925
|
-
BatchProcessRequestFromJSON: () => BatchProcessRequestFromJSON,
|
|
926
|
-
BatchProcessRequestFromJSONTyped: () => BatchProcessRequestFromJSONTyped,
|
|
927
|
-
BatchProcessRequestToJSON: () => BatchProcessRequestToJSON,
|
|
928
|
-
BatchProcessRequestToJSONTyped: () => BatchProcessRequestToJSONTyped,
|
|
929
|
-
BatchProcessResponseFromJSON: () => BatchProcessResponseFromJSON,
|
|
930
|
-
BatchProcessResponseFromJSONTyped: () => BatchProcessResponseFromJSONTyped,
|
|
931
|
-
BatchProcessResponseToJSON: () => BatchProcessResponseToJSON,
|
|
932
|
-
BatchProcessResponseToJSONTyped: () => BatchProcessResponseToJSONTyped,
|
|
933
|
-
BlobApiResponse: () => BlobApiResponse,
|
|
934
|
-
COLLECTION_FORMATS: () => COLLECTION_FORMATS,
|
|
935
|
-
ChangeTenantServiceStatusRequestDtoFromJSON: () => ChangeTenantServiceStatusRequestDtoFromJSON,
|
|
936
|
-
ChangeTenantServiceStatusRequestDtoFromJSONTyped: () => ChangeTenantServiceStatusRequestDtoFromJSONTyped,
|
|
937
|
-
ChangeTenantServiceStatusRequestDtoToJSON: () => ChangeTenantServiceStatusRequestDtoToJSON,
|
|
938
|
-
ChangeTenantServiceStatusRequestDtoToJSONTyped: () => ChangeTenantServiceStatusRequestDtoToJSONTyped,
|
|
939
|
-
CommandDtoFromJSON: () => CommandDtoFromJSON,
|
|
940
|
-
CommandDtoFromJSONTyped: () => CommandDtoFromJSONTyped,
|
|
941
|
-
CommandDtoToJSON: () => CommandDtoToJSON,
|
|
942
|
-
CommandDtoToJSONTyped: () => CommandDtoToJSONTyped,
|
|
943
|
-
Configuration: () => Configuration,
|
|
944
|
-
CreateOrganizationCommandFromJSON: () => CreateOrganizationCommandFromJSON,
|
|
945
|
-
CreateOrganizationCommandFromJSONTyped: () => CreateOrganizationCommandFromJSONTyped,
|
|
946
|
-
CreateOrganizationCommandToJSON: () => CreateOrganizationCommandToJSON,
|
|
947
|
-
CreateOrganizationCommandToJSONTyped: () => CreateOrganizationCommandToJSONTyped,
|
|
948
|
-
CreateOrganizationOnPremCommandFromJSON: () => CreateOrganizationOnPremCommandFromJSON,
|
|
949
|
-
CreateOrganizationOnPremCommandFromJSONTyped: () => CreateOrganizationOnPremCommandFromJSONTyped,
|
|
950
|
-
CreateOrganizationOnPremCommandToJSON: () => CreateOrganizationOnPremCommandToJSON,
|
|
951
|
-
CreateOrganizationOnPremCommandToJSONTyped: () => CreateOrganizationOnPremCommandToJSONTyped,
|
|
952
|
-
CreateTenantRequestDtoFromJSON: () => CreateTenantRequestDtoFromJSON,
|
|
953
|
-
CreateTenantRequestDtoFromJSONTyped: () => CreateTenantRequestDtoFromJSONTyped,
|
|
954
|
-
CreateTenantRequestDtoToJSON: () => CreateTenantRequestDtoToJSON,
|
|
955
|
-
CreateTenantRequestDtoToJSONTyped: () => CreateTenantRequestDtoToJSONTyped,
|
|
956
|
-
DefaultConfig: () => DefaultConfig,
|
|
957
|
-
DeleteOrganizationResponseDtoFromJSON: () => DeleteOrganizationResponseDtoFromJSON,
|
|
958
|
-
DeleteOrganizationResponseDtoFromJSONTyped: () => DeleteOrganizationResponseDtoFromJSONTyped,
|
|
959
|
-
DeleteOrganizationResponseDtoToJSON: () => DeleteOrganizationResponseDtoToJSON,
|
|
960
|
-
DeleteOrganizationResponseDtoToJSONTyped: () => DeleteOrganizationResponseDtoToJSONTyped,
|
|
961
|
-
DiscoveryApi: () => DiscoveryApi,
|
|
962
|
-
DiscoveryDtoFromJSON: () => DiscoveryDtoFromJSON,
|
|
963
|
-
DiscoveryDtoFromJSONTyped: () => DiscoveryDtoFromJSONTyped,
|
|
964
|
-
DiscoveryDtoToJSON: () => DiscoveryDtoToJSON,
|
|
965
|
-
DiscoveryDtoToJSONTyped: () => DiscoveryDtoToJSONTyped,
|
|
966
|
-
EnvironmentTag: () => EnvironmentTag,
|
|
967
|
-
EnvironmentTagFromJSON: () => EnvironmentTagFromJSON,
|
|
968
|
-
EnvironmentTagFromJSONTyped: () => EnvironmentTagFromJSONTyped,
|
|
969
|
-
EnvironmentTagToJSON: () => EnvironmentTagToJSON,
|
|
970
|
-
EnvironmentTagToJSONTyped: () => EnvironmentTagToJSONTyped,
|
|
971
|
-
FetchError: () => FetchError,
|
|
972
|
-
FileApi: () => FileApi,
|
|
973
|
-
FileType: () => FileType,
|
|
974
|
-
FileTypeFromJSON: () => FileTypeFromJSON,
|
|
975
|
-
FileTypeFromJSONTyped: () => FileTypeFromJSONTyped,
|
|
976
|
-
FileTypeToJSON: () => FileTypeToJSON,
|
|
977
|
-
FileTypeToJSONTyped: () => FileTypeToJSONTyped,
|
|
978
|
-
FileUpsertFileToOrganizationRequestFromJSON: () => FileUpsertFileToOrganizationRequestFromJSON,
|
|
979
|
-
FileUpsertFileToOrganizationRequestFromJSONTyped: () => FileUpsertFileToOrganizationRequestFromJSONTyped,
|
|
980
|
-
FileUpsertFileToOrganizationRequestToJSON: () => FileUpsertFileToOrganizationRequestToJSON,
|
|
981
|
-
FileUpsertFileToOrganizationRequestToJSONTyped: () => FileUpsertFileToOrganizationRequestToJSONTyped,
|
|
982
|
-
GetAllOrgsPaginatedReponseDtoFromJSON: () => GetAllOrgsPaginatedReponseDtoFromJSON,
|
|
983
|
-
GetAllOrgsPaginatedReponseDtoFromJSONTyped: () => GetAllOrgsPaginatedReponseDtoFromJSONTyped,
|
|
984
|
-
GetAllOrgsPaginatedReponseDtoToJSON: () => GetAllOrgsPaginatedReponseDtoToJSON,
|
|
985
|
-
GetAllOrgsPaginatedReponseDtoToJSONTyped: () => GetAllOrgsPaginatedReponseDtoToJSONTyped,
|
|
986
|
-
JSONApiResponse: () => JSONApiResponse,
|
|
987
|
-
LeadsApi: () => LeadsApi,
|
|
988
|
-
LightweightServiceDtoFromJSON: () => LightweightServiceDtoFromJSON,
|
|
989
|
-
LightweightServiceDtoFromJSONTyped: () => LightweightServiceDtoFromJSONTyped,
|
|
990
|
-
LightweightServiceDtoToJSON: () => LightweightServiceDtoToJSON,
|
|
991
|
-
LightweightServiceDtoToJSONTyped: () => LightweightServiceDtoToJSONTyped,
|
|
992
|
-
MLServiceDetailsDtoFromJSON: () => MLServiceDetailsDtoFromJSON,
|
|
993
|
-
MLServiceDetailsDtoFromJSONTyped: () => MLServiceDetailsDtoFromJSONTyped,
|
|
994
|
-
MLServiceDetailsDtoToJSON: () => MLServiceDetailsDtoToJSON,
|
|
995
|
-
MLServiceDetailsDtoToJSONTyped: () => MLServiceDetailsDtoToJSONTyped,
|
|
996
|
-
OnPremBusinessTelemetryApi: () => OnPremBusinessTelemetryApi,
|
|
997
|
-
OnPremOrganizationApi: () => OnPremOrganizationApi,
|
|
998
|
-
OrganizationApi: () => OrganizationApi,
|
|
999
|
-
OrganizationDtoFromJSON: () => OrganizationDtoFromJSON,
|
|
1000
|
-
OrganizationDtoFromJSONTyped: () => OrganizationDtoFromJSONTyped,
|
|
1001
|
-
OrganizationDtoToJSON: () => OrganizationDtoToJSON,
|
|
1002
|
-
OrganizationDtoToJSONTyped: () => OrganizationDtoToJSONTyped,
|
|
1003
|
-
OrganizationFromJSON: () => OrganizationFromJSON,
|
|
1004
|
-
OrganizationFromJSONTyped: () => OrganizationFromJSONTyped2,
|
|
1005
|
-
OrganizationPropertiesFromJSON: () => OrganizationPropertiesFromJSON,
|
|
1006
|
-
OrganizationPropertiesFromJSONTyped: () => OrganizationPropertiesFromJSONTyped,
|
|
1007
|
-
OrganizationPropertiesToJSON: () => OrganizationPropertiesToJSON,
|
|
1008
|
-
OrganizationPropertiesToJSONTyped: () => OrganizationPropertiesToJSONTyped,
|
|
1009
|
-
OrganizationServiceApi: () => OrganizationServiceApi,
|
|
1010
|
-
OrganizationServiceInstanceDtoFromJSON: () => OrganizationServiceInstanceDtoFromJSON,
|
|
1011
|
-
OrganizationServiceInstanceDtoFromJSONTyped: () => OrganizationServiceInstanceDtoFromJSONTyped,
|
|
1012
|
-
OrganizationServiceInstanceDtoToJSON: () => OrganizationServiceInstanceDtoToJSON,
|
|
1013
|
-
OrganizationServiceInstanceDtoToJSONTyped: () => OrganizationServiceInstanceDtoToJSONTyped,
|
|
1014
|
-
OrganizationServiceInstanceFromJSON: () => OrganizationServiceInstanceFromJSON,
|
|
1015
|
-
OrganizationServiceInstanceFromJSONTyped: () => OrganizationServiceInstanceFromJSONTyped,
|
|
1016
|
-
OrganizationServiceInstanceToJSON: () => OrganizationServiceInstanceToJSON,
|
|
1017
|
-
OrganizationServiceInstanceToJSONTyped: () => OrganizationServiceInstanceToJSONTyped,
|
|
1018
|
-
OrganizationStatus: () => OrganizationStatus,
|
|
1019
|
-
OrganizationStatusFromJSON: () => OrganizationStatusFromJSON,
|
|
1020
|
-
OrganizationStatusFromJSONTyped: () => OrganizationStatusFromJSONTyped,
|
|
1021
|
-
OrganizationStatusToJSON: () => OrganizationStatusToJSON,
|
|
1022
|
-
OrganizationStatusToJSONTyped: () => OrganizationStatusToJSONTyped,
|
|
1023
|
-
OrganizationToJSON: () => OrganizationToJSON,
|
|
1024
|
-
OrganizationToJSONTyped: () => OrganizationToJSONTyped2,
|
|
1025
|
-
ProductCodeStatus: () => ProductCodeStatus,
|
|
1026
|
-
ProductCodeStatusFromJSON: () => ProductCodeStatusFromJSON,
|
|
1027
|
-
ProductCodeStatusFromJSONTyped: () => ProductCodeStatusFromJSONTyped,
|
|
1028
|
-
ProductCodeStatusToJSON: () => ProductCodeStatusToJSON,
|
|
1029
|
-
ProductCodeStatusToJSONTyped: () => ProductCodeStatusToJSONTyped,
|
|
1030
|
-
ProductRequestedFromJSON: () => ProductRequestedFromJSON,
|
|
1031
|
-
ProductRequestedFromJSONTyped: () => ProductRequestedFromJSONTyped,
|
|
1032
|
-
ProductRequestedToJSON: () => ProductRequestedToJSON,
|
|
1033
|
-
ProductRequestedToJSONTyped: () => ProductRequestedToJSONTyped,
|
|
1034
|
-
ProvisioningMode: () => ProvisioningMode,
|
|
1035
|
-
ProvisioningModeFromJSON: () => ProvisioningModeFromJSON,
|
|
1036
|
-
ProvisioningModeFromJSONTyped: () => ProvisioningModeFromJSONTyped,
|
|
1037
|
-
ProvisioningModeToJSON: () => ProvisioningModeToJSON,
|
|
1038
|
-
ProvisioningModeToJSONTyped: () => ProvisioningModeToJSONTyped,
|
|
1039
|
-
Region: () => Region,
|
|
1040
|
-
RegionDtoFromJSON: () => RegionDtoFromJSON,
|
|
1041
|
-
RegionDtoFromJSONTyped: () => RegionDtoFromJSONTyped,
|
|
1042
|
-
RegionDtoToJSON: () => RegionDtoToJSON,
|
|
1043
|
-
RegionDtoToJSONTyped: () => RegionDtoToJSONTyped,
|
|
1044
|
-
RegionFromJSON: () => RegionFromJSON,
|
|
1045
|
-
RegionFromJSONTyped: () => RegionFromJSONTyped,
|
|
1046
|
-
RegionToJSON: () => RegionToJSON,
|
|
1047
|
-
RegionToJSONTyped: () => RegionToJSONTyped,
|
|
1048
|
-
RequestType: () => RequestType,
|
|
1049
|
-
RequestTypeFromJSON: () => RequestTypeFromJSON,
|
|
1050
|
-
RequestTypeFromJSONTyped: () => RequestTypeFromJSONTyped,
|
|
1051
|
-
RequestTypeToJSON: () => RequestTypeToJSON,
|
|
1052
|
-
RequestTypeToJSONTyped: () => RequestTypeToJSONTyped,
|
|
1053
|
-
RequiredError: () => RequiredError,
|
|
1054
|
-
ResponseError: () => ResponseError,
|
|
1055
|
-
SAPTenantCALMInfoDtoFromJSON: () => SAPTenantCALMInfoDtoFromJSON,
|
|
1056
|
-
SAPTenantCALMInfoDtoFromJSONTyped: () => SAPTenantCALMInfoDtoFromJSONTyped,
|
|
1057
|
-
SAPTenantCALMInfoDtoToJSON: () => SAPTenantCALMInfoDtoToJSON,
|
|
1058
|
-
SAPTenantCALMInfoDtoToJSONTyped: () => SAPTenantCALMInfoDtoToJSONTyped,
|
|
1059
|
-
ScaleUnitDtoFromJSON: () => ScaleUnitDtoFromJSON,
|
|
1060
|
-
ScaleUnitDtoFromJSONTyped: () => ScaleUnitDtoFromJSONTyped,
|
|
1061
|
-
ScaleUnitDtoToJSON: () => ScaleUnitDtoToJSON,
|
|
1062
|
-
ScaleUnitDtoToJSONTyped: () => ScaleUnitDtoToJSONTyped,
|
|
1063
|
-
Scope: () => Scope,
|
|
1064
|
-
ScopeFromJSON: () => ScopeFromJSON,
|
|
1065
|
-
ScopeFromJSONTyped: () => ScopeFromJSONTyped,
|
|
1066
|
-
ScopeToJSON: () => ScopeToJSON,
|
|
1067
|
-
ScopeToJSONTyped: () => ScopeToJSONTyped,
|
|
1068
|
-
ServiceBackFillApi: () => ServiceBackFillApi,
|
|
1069
|
-
ServiceBackFillRequestDtoFromJSON: () => ServiceBackFillRequestDtoFromJSON,
|
|
1070
|
-
ServiceBackFillRequestDtoFromJSONTyped: () => ServiceBackFillRequestDtoFromJSONTyped,
|
|
1071
|
-
ServiceBackFillRequestDtoToJSON: () => ServiceBackFillRequestDtoToJSON,
|
|
1072
|
-
ServiceBackFillRequestDtoToJSONTyped: () => ServiceBackFillRequestDtoToJSONTyped,
|
|
1073
|
-
ServiceDtoStatus: () => ServiceDtoStatus,
|
|
1074
|
-
ServiceDtoStatusFromJSON: () => ServiceDtoStatusFromJSON,
|
|
1075
|
-
ServiceDtoStatusFromJSONTyped: () => ServiceDtoStatusFromJSONTyped,
|
|
1076
|
-
ServiceDtoStatusToJSON: () => ServiceDtoStatusToJSON,
|
|
1077
|
-
ServiceDtoStatusToJSONTyped: () => ServiceDtoStatusToJSONTyped,
|
|
1078
|
-
ServiceInstanceForDiscoveryDtoFromJSON: () => ServiceInstanceForDiscoveryDtoFromJSON,
|
|
1079
|
-
ServiceInstanceForDiscoveryDtoFromJSONTyped: () => ServiceInstanceForDiscoveryDtoFromJSONTyped,
|
|
1080
|
-
ServiceInstanceForDiscoveryDtoToJSON: () => ServiceInstanceForDiscoveryDtoToJSON,
|
|
1081
|
-
ServiceInstanceForDiscoveryDtoToJSONTyped: () => ServiceInstanceForDiscoveryDtoToJSONTyped,
|
|
1082
|
-
ServiceInstanceStatus: () => ServiceInstanceStatus,
|
|
1083
|
-
ServiceInstanceStatusFromJSON: () => ServiceInstanceStatusFromJSON,
|
|
1084
|
-
ServiceInstanceStatusFromJSONTyped: () => ServiceInstanceStatusFromJSONTyped,
|
|
1085
|
-
ServiceInstanceStatusToJSON: () => ServiceInstanceStatusToJSON,
|
|
1086
|
-
ServiceInstanceStatusToJSONTyped: () => ServiceInstanceStatusToJSONTyped,
|
|
1087
|
-
ServiceInstanceUpdateDtoFromJSON: () => ServiceInstanceUpdateDtoFromJSON,
|
|
1088
|
-
ServiceInstanceUpdateDtoFromJSONTyped: () => ServiceInstanceUpdateDtoFromJSONTyped,
|
|
1089
|
-
ServiceInstanceUpdateDtoToJSON: () => ServiceInstanceUpdateDtoToJSON,
|
|
1090
|
-
ServiceInstanceUpdateDtoToJSONTyped: () => ServiceInstanceUpdateDtoToJSONTyped,
|
|
1091
|
-
ServiceMetadataDtoFromJSON: () => ServiceMetadataDtoFromJSON,
|
|
1092
|
-
ServiceMetadataDtoFromJSONTyped: () => ServiceMetadataDtoFromJSONTyped,
|
|
1093
|
-
ServiceMetadataDtoToJSON: () => ServiceMetadataDtoToJSON,
|
|
1094
|
-
ServiceMetadataDtoToJSONTyped: () => ServiceMetadataDtoToJSONTyped,
|
|
1095
|
-
ServiceStatus: () => ServiceStatus,
|
|
1096
|
-
ServiceStatusFromJSON: () => ServiceStatusFromJSON,
|
|
1097
|
-
ServiceStatusFromJSONTyped: () => ServiceStatusFromJSONTyped,
|
|
1098
|
-
ServiceStatusToJSON: () => ServiceStatusToJSON,
|
|
1099
|
-
ServiceStatusToJSONTyped: () => ServiceStatusToJSONTyped,
|
|
1100
|
-
ServiceStatusUpdateDtoFromJSON: () => ServiceStatusUpdateDtoFromJSON,
|
|
1101
|
-
ServiceStatusUpdateDtoFromJSONTyped: () => ServiceStatusUpdateDtoFromJSONTyped,
|
|
1102
|
-
ServiceStatusUpdateDtoToJSON: () => ServiceStatusUpdateDtoToJSON,
|
|
1103
|
-
ServiceStatusUpdateDtoToJSONTyped: () => ServiceStatusUpdateDtoToJSONTyped,
|
|
1104
|
-
SetTenantMaintenanceDtoFromJSON: () => SetTenantMaintenanceDtoFromJSON,
|
|
1105
|
-
SetTenantMaintenanceDtoFromJSONTyped: () => SetTenantMaintenanceDtoFromJSONTyped,
|
|
1106
|
-
SetTenantMaintenanceDtoToJSON: () => SetTenantMaintenanceDtoToJSON,
|
|
1107
|
-
SetTenantMaintenanceDtoToJSONTyped: () => SetTenantMaintenanceDtoToJSONTyped,
|
|
1108
|
-
SortOrder: () => SortOrder,
|
|
1109
|
-
SortOrderFromJSON: () => SortOrderFromJSON,
|
|
1110
|
-
SortOrderFromJSONTyped: () => SortOrderFromJSONTyped,
|
|
1111
|
-
SortOrderToJSON: () => SortOrderToJSON,
|
|
1112
|
-
SortOrderToJSONTyped: () => SortOrderToJSONTyped,
|
|
1113
|
-
Status: () => Status,
|
|
1114
|
-
StatusFromJSON: () => StatusFromJSON,
|
|
1115
|
-
StatusFromJSONTyped: () => StatusFromJSONTyped,
|
|
1116
|
-
StatusToJSON: () => StatusToJSON,
|
|
1117
|
-
StatusToJSONTyped: () => StatusToJSONTyped,
|
|
1118
|
-
StudioDownloadedDtoFromJSON: () => StudioDownloadedDtoFromJSON,
|
|
1119
|
-
StudioDownloadedDtoFromJSONTyped: () => StudioDownloadedDtoFromJSONTyped,
|
|
1120
|
-
StudioDownloadedDtoToJSON: () => StudioDownloadedDtoToJSON,
|
|
1121
|
-
StudioDownloadedDtoToJSONTyped: () => StudioDownloadedDtoToJSONTyped,
|
|
1122
|
-
SubscriptionType: () => SubscriptionType,
|
|
1123
|
-
SubscriptionTypeFromJSON: () => SubscriptionTypeFromJSON,
|
|
1124
|
-
SubscriptionTypeFromJSONTyped: () => SubscriptionTypeFromJSONTyped,
|
|
1125
|
-
SubscriptionTypeToJSON: () => SubscriptionTypeToJSON,
|
|
1126
|
-
SubscriptionTypeToJSONTyped: () => SubscriptionTypeToJSONTyped,
|
|
1127
|
-
TenantApi: () => TenantApi,
|
|
1128
|
-
TenantDtoFromJSON: () => TenantDtoFromJSON,
|
|
1129
|
-
TenantDtoFromJSONTyped: () => TenantDtoFromJSONTyped,
|
|
1130
|
-
TenantDtoToJSON: () => TenantDtoToJSON,
|
|
1131
|
-
TenantDtoToJSONTyped: () => TenantDtoToJSONTyped,
|
|
1132
|
-
TenantForDiscoveryDtoFromJSON: () => TenantForDiscoveryDtoFromJSON,
|
|
1133
|
-
TenantForDiscoveryDtoFromJSONTyped: () => TenantForDiscoveryDtoFromJSONTyped,
|
|
1134
|
-
TenantForDiscoveryDtoToJSON: () => TenantForDiscoveryDtoToJSON,
|
|
1135
|
-
TenantForDiscoveryDtoToJSONTyped: () => TenantForDiscoveryDtoToJSONTyped,
|
|
1136
|
-
TenantServiceApi: () => TenantServiceApi,
|
|
1137
|
-
TenantUpdateDtoFromJSON: () => TenantUpdateDtoFromJSON,
|
|
1138
|
-
TenantUpdateDtoFromJSONTyped: () => TenantUpdateDtoFromJSONTyped,
|
|
1139
|
-
TenantUpdateDtoToJSON: () => TenantUpdateDtoToJSON,
|
|
1140
|
-
TenantUpdateDtoToJSONTyped: () => TenantUpdateDtoToJSONTyped,
|
|
1141
|
-
TextApiResponse: () => TextApiResponse,
|
|
1142
|
-
UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandFromJSON: () => UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandFromJSON,
|
|
1143
|
-
UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandFromJSONTyped: () => UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandFromJSONTyped,
|
|
1144
|
-
UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSON: () => UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSON,
|
|
1145
|
-
UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSONTyped: () => UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSONTyped,
|
|
1146
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSON: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSON,
|
|
1147
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSONTyped: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSONTyped,
|
|
1148
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSON: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSON,
|
|
1149
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSONTyped: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSONTyped,
|
|
1150
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSON: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSON,
|
|
1151
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSONTyped: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSONTyped,
|
|
1152
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSON: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSON,
|
|
1153
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSONTyped: () => UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSONTyped,
|
|
1154
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoFromJSON: () => UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoFromJSON,
|
|
1155
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoFromJSONTyped: () => UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoFromJSONTyped,
|
|
1156
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSON: () => UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSON,
|
|
1157
|
-
UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSONTyped: () => UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSONTyped,
|
|
1158
|
-
UpdateOrganizationCommandFromJSON: () => UpdateOrganizationCommandFromJSON,
|
|
1159
|
-
UpdateOrganizationCommandFromJSONTyped: () => UpdateOrganizationCommandFromJSONTyped,
|
|
1160
|
-
UpdateOrganizationCommandToJSON: () => UpdateOrganizationCommandToJSON,
|
|
1161
|
-
UpdateOrganizationCommandToJSONTyped: () => UpdateOrganizationCommandToJSONTyped,
|
|
1162
|
-
UpdateOrganizationRegionDtoFromJSON: () => UpdateOrganizationRegionDtoFromJSON,
|
|
1163
|
-
UpdateOrganizationRegionDtoFromJSONTyped: () => UpdateOrganizationRegionDtoFromJSONTyped,
|
|
1164
|
-
UpdateOrganizationRegionDtoToJSON: () => UpdateOrganizationRegionDtoToJSON,
|
|
1165
|
-
UpdateOrganizationRegionDtoToJSONTyped: () => UpdateOrganizationRegionDtoToJSONTyped,
|
|
1166
|
-
UpdateTenantRegionDtoFromJSON: () => UpdateTenantRegionDtoFromJSON,
|
|
1167
|
-
UpdateTenantRegionDtoFromJSONTyped: () => UpdateTenantRegionDtoFromJSONTyped,
|
|
1168
|
-
UpdateTenantRegionDtoToJSON: () => UpdateTenantRegionDtoToJSON,
|
|
1169
|
-
UpdateTenantRegionDtoToJSONTyped: () => UpdateTenantRegionDtoToJSONTyped,
|
|
1170
|
-
VoidApiResponse: () => VoidApiResponse,
|
|
1171
|
-
canConsumeForm: () => canConsumeForm,
|
|
1172
|
-
exists: () => exists,
|
|
1173
|
-
instanceOfActionAfterFailure: () => instanceOfActionAfterFailure,
|
|
1174
|
-
instanceOfAddRemoveTenantServiceRequestDto: () => instanceOfAddRemoveTenantServiceRequestDto,
|
|
1175
|
-
instanceOfAllOrganizationInfoDto: () => instanceOfAllOrganizationInfoDto,
|
|
1176
|
-
instanceOfApiKeyDto: () => instanceOfApiKeyDto,
|
|
1177
|
-
instanceOfApiKeyType: () => instanceOfApiKeyType,
|
|
1178
|
-
instanceOfAuditQueryRecordDto: () => instanceOfAuditQueryRecordDto,
|
|
1179
|
-
instanceOfAuditQueryRecordDtoPagedResult: () => instanceOfAuditQueryRecordDtoPagedResult,
|
|
1180
|
-
instanceOfBatchProcessRequest: () => instanceOfBatchProcessRequest,
|
|
1181
|
-
instanceOfBatchProcessResponse: () => instanceOfBatchProcessResponse,
|
|
1182
|
-
instanceOfChangeTenantServiceStatusRequestDto: () => instanceOfChangeTenantServiceStatusRequestDto,
|
|
1183
|
-
instanceOfCommandDto: () => instanceOfCommandDto,
|
|
1184
|
-
instanceOfCreateOrganizationCommand: () => instanceOfCreateOrganizationCommand,
|
|
1185
|
-
instanceOfCreateOrganizationOnPremCommand: () => instanceOfCreateOrganizationOnPremCommand,
|
|
1186
|
-
instanceOfCreateTenantRequestDto: () => instanceOfCreateTenantRequestDto,
|
|
1187
|
-
instanceOfDeleteOrganizationResponseDto: () => instanceOfDeleteOrganizationResponseDto,
|
|
1188
|
-
instanceOfDiscoveryDto: () => instanceOfDiscoveryDto,
|
|
1189
|
-
instanceOfEnvironmentTag: () => instanceOfEnvironmentTag,
|
|
1190
|
-
instanceOfFileType: () => instanceOfFileType,
|
|
1191
|
-
instanceOfFileUpsertFileToOrganizationRequest: () => instanceOfFileUpsertFileToOrganizationRequest,
|
|
1192
|
-
instanceOfGetAllOrgsPaginatedReponseDto: () => instanceOfGetAllOrgsPaginatedReponseDto,
|
|
1193
|
-
instanceOfLightweightServiceDto: () => instanceOfLightweightServiceDto,
|
|
1194
|
-
instanceOfMLServiceDetailsDto: () => instanceOfMLServiceDetailsDto,
|
|
1195
|
-
instanceOfOrganization: () => instanceOfOrganization,
|
|
1196
|
-
instanceOfOrganizationDto: () => instanceOfOrganizationDto,
|
|
1197
|
-
instanceOfOrganizationProperties: () => instanceOfOrganizationProperties,
|
|
1198
|
-
instanceOfOrganizationServiceInstance: () => instanceOfOrganizationServiceInstance,
|
|
1199
|
-
instanceOfOrganizationServiceInstanceDto: () => instanceOfOrganizationServiceInstanceDto,
|
|
1200
|
-
instanceOfOrganizationStatus: () => instanceOfOrganizationStatus,
|
|
1201
|
-
instanceOfProductCodeStatus: () => instanceOfProductCodeStatus,
|
|
1202
|
-
instanceOfProductRequested: () => instanceOfProductRequested,
|
|
1203
|
-
instanceOfProvisioningMode: () => instanceOfProvisioningMode,
|
|
1204
|
-
instanceOfRegion: () => instanceOfRegion,
|
|
1205
|
-
instanceOfRegionDto: () => instanceOfRegionDto,
|
|
1206
|
-
instanceOfRequestType: () => instanceOfRequestType,
|
|
1207
|
-
instanceOfSAPTenantCALMInfoDto: () => instanceOfSAPTenantCALMInfoDto,
|
|
1208
|
-
instanceOfScaleUnitDto: () => instanceOfScaleUnitDto,
|
|
1209
|
-
instanceOfScope: () => instanceOfScope,
|
|
1210
|
-
instanceOfServiceBackFillRequestDto: () => instanceOfServiceBackFillRequestDto,
|
|
1211
|
-
instanceOfServiceDtoStatus: () => instanceOfServiceDtoStatus,
|
|
1212
|
-
instanceOfServiceInstanceForDiscoveryDto: () => instanceOfServiceInstanceForDiscoveryDto,
|
|
1213
|
-
instanceOfServiceInstanceStatus: () => instanceOfServiceInstanceStatus,
|
|
1214
|
-
instanceOfServiceInstanceUpdateDto: () => instanceOfServiceInstanceUpdateDto,
|
|
1215
|
-
instanceOfServiceMetadataDto: () => instanceOfServiceMetadataDto,
|
|
1216
|
-
instanceOfServiceStatus: () => instanceOfServiceStatus,
|
|
1217
|
-
instanceOfServiceStatusUpdateDto: () => instanceOfServiceStatusUpdateDto,
|
|
1218
|
-
instanceOfSetTenantMaintenanceDto: () => instanceOfSetTenantMaintenanceDto,
|
|
1219
|
-
instanceOfSortOrder: () => instanceOfSortOrder,
|
|
1220
|
-
instanceOfStatus: () => instanceOfStatus,
|
|
1221
|
-
instanceOfStudioDownloadedDto: () => instanceOfStudioDownloadedDto,
|
|
1222
|
-
instanceOfSubscriptionType: () => instanceOfSubscriptionType,
|
|
1223
|
-
instanceOfTenantDto: () => instanceOfTenantDto,
|
|
1224
|
-
instanceOfTenantForDiscoveryDto: () => instanceOfTenantForDiscoveryDto,
|
|
1225
|
-
instanceOfTenantUpdateDto: () => instanceOfTenantUpdateDto,
|
|
1226
|
-
instanceOfUiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommand: () => instanceOfUiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommand,
|
|
1227
|
-
instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommand: () => instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommand,
|
|
1228
|
-
instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDto: () => instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDto,
|
|
1229
|
-
instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDto: () => instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDto,
|
|
1230
|
-
instanceOfUpdateOrganizationCommand: () => instanceOfUpdateOrganizationCommand,
|
|
1231
|
-
instanceOfUpdateOrganizationRegionDto: () => instanceOfUpdateOrganizationRegionDto,
|
|
1232
|
-
instanceOfUpdateTenantRegionDto: () => instanceOfUpdateTenantRegionDto,
|
|
1233
|
-
mapValues: () => mapValues,
|
|
1234
|
-
querystring: () => querystring
|
|
1235
|
-
});
|
|
1236
|
-
|
|
1237
788
|
// ../oms-sdk/generated/v1/src/models/ActionAfterFailure.ts
|
|
1238
|
-
var ActionAfterFailure = {
|
|
1239
|
-
Stop: "Stop",
|
|
1240
|
-
Continue: "Continue",
|
|
1241
|
-
Retry: "Retry"
|
|
1242
|
-
};
|
|
1243
|
-
function instanceOfActionAfterFailure(value) {
|
|
1244
|
-
for (const key in ActionAfterFailure) {
|
|
1245
|
-
if (Object.prototype.hasOwnProperty.call(ActionAfterFailure, key)) {
|
|
1246
|
-
if (ActionAfterFailure[key] === value) {
|
|
1247
|
-
return true;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
return false;
|
|
1252
|
-
}
|
|
1253
789
|
function ActionAfterFailureFromJSON(json) {
|
|
1254
790
|
return ActionAfterFailureFromJSONTyped(json, false);
|
|
1255
791
|
}
|
|
1256
792
|
function ActionAfterFailureFromJSONTyped(json, ignoreDiscriminator) {
|
|
1257
793
|
return json;
|
|
1258
794
|
}
|
|
1259
|
-
function ActionAfterFailureToJSON(value) {
|
|
1260
|
-
return value;
|
|
1261
|
-
}
|
|
1262
|
-
function ActionAfterFailureToJSONTyped(value, ignoreDiscriminator) {
|
|
1263
|
-
return value;
|
|
1264
|
-
}
|
|
1265
795
|
|
|
1266
796
|
// ../oms-sdk/generated/v1/src/models/AddRemoveTenantServiceRequestDto.ts
|
|
1267
|
-
function instanceOfAddRemoveTenantServiceRequestDto(value) {
|
|
1268
|
-
return true;
|
|
1269
|
-
}
|
|
1270
|
-
function AddRemoveTenantServiceRequestDtoFromJSON(json) {
|
|
1271
|
-
return AddRemoveTenantServiceRequestDtoFromJSONTyped(json, false);
|
|
1272
|
-
}
|
|
1273
|
-
function AddRemoveTenantServiceRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1274
|
-
if (json == null) {
|
|
1275
|
-
return json;
|
|
1276
|
-
}
|
|
1277
|
-
return {
|
|
1278
|
-
services: json["services"] == null ? undefined : json["services"]
|
|
1279
|
-
};
|
|
1280
|
-
}
|
|
1281
797
|
function AddRemoveTenantServiceRequestDtoToJSON(json) {
|
|
1282
798
|
return AddRemoveTenantServiceRequestDtoToJSONTyped(json, false);
|
|
1283
799
|
}
|
|
@@ -1291,62 +807,20 @@ function AddRemoveTenantServiceRequestDtoToJSONTyped(value, ignoreDiscriminator
|
|
|
1291
807
|
}
|
|
1292
808
|
|
|
1293
809
|
// ../oms-sdk/generated/v1/src/models/ProvisioningMode.ts
|
|
1294
|
-
var ProvisioningMode = {
|
|
1295
|
-
Unknown: "Unknown",
|
|
1296
|
-
Implicit: "Implicit",
|
|
1297
|
-
Explicit: "Explicit"
|
|
1298
|
-
};
|
|
1299
|
-
function instanceOfProvisioningMode(value) {
|
|
1300
|
-
for (const key in ProvisioningMode) {
|
|
1301
|
-
if (Object.prototype.hasOwnProperty.call(ProvisioningMode, key)) {
|
|
1302
|
-
if (ProvisioningMode[key] === value) {
|
|
1303
|
-
return true;
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
return false;
|
|
1308
|
-
}
|
|
1309
810
|
function ProvisioningModeFromJSON(json) {
|
|
1310
811
|
return ProvisioningModeFromJSONTyped(json, false);
|
|
1311
812
|
}
|
|
1312
813
|
function ProvisioningModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
1313
814
|
return json;
|
|
1314
815
|
}
|
|
1315
|
-
function ProvisioningModeToJSON(value) {
|
|
1316
|
-
return value;
|
|
1317
|
-
}
|
|
1318
|
-
function ProvisioningModeToJSONTyped(value, ignoreDiscriminator) {
|
|
1319
|
-
return value;
|
|
1320
|
-
}
|
|
1321
816
|
|
|
1322
817
|
// ../oms-sdk/generated/v1/src/models/ProductCodeStatus.ts
|
|
1323
|
-
var ProductCodeStatus = {
|
|
1324
|
-
_0: "_0",
|
|
1325
|
-
_1: "_1",
|
|
1326
|
-
_2: "_2"
|
|
1327
|
-
};
|
|
1328
|
-
function instanceOfProductCodeStatus(value) {
|
|
1329
|
-
for (const key in ProductCodeStatus) {
|
|
1330
|
-
if (Object.prototype.hasOwnProperty.call(ProductCodeStatus, key)) {
|
|
1331
|
-
if (ProductCodeStatus[key] === value) {
|
|
1332
|
-
return true;
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
return false;
|
|
1337
|
-
}
|
|
1338
818
|
function ProductCodeStatusFromJSON(json) {
|
|
1339
819
|
return ProductCodeStatusFromJSONTyped(json, false);
|
|
1340
820
|
}
|
|
1341
821
|
function ProductCodeStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
1342
822
|
return json;
|
|
1343
823
|
}
|
|
1344
|
-
function ProductCodeStatusToJSON(value) {
|
|
1345
|
-
return value;
|
|
1346
|
-
}
|
|
1347
|
-
function ProductCodeStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
1348
|
-
return value;
|
|
1349
|
-
}
|
|
1350
824
|
|
|
1351
825
|
// ../oms-sdk/generated/v1/src/models/Region.ts
|
|
1352
826
|
var Region = {
|
|
@@ -1367,16 +841,6 @@ var Region = {
|
|
|
1367
841
|
SouthKorea: "SouthKorea",
|
|
1368
842
|
Unknown: "Unknown"
|
|
1369
843
|
};
|
|
1370
|
-
function instanceOfRegion(value) {
|
|
1371
|
-
for (const key in Region) {
|
|
1372
|
-
if (Object.prototype.hasOwnProperty.call(Region, key)) {
|
|
1373
|
-
if (Region[key] === value) {
|
|
1374
|
-
return true;
|
|
1375
|
-
}
|
|
1376
|
-
}
|
|
1377
|
-
}
|
|
1378
|
-
return false;
|
|
1379
|
-
}
|
|
1380
844
|
function RegionFromJSON(json) {
|
|
1381
845
|
return RegionFromJSONTyped(json, false);
|
|
1382
846
|
}
|
|
@@ -1386,14 +850,8 @@ function RegionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1386
850
|
function RegionToJSON(value) {
|
|
1387
851
|
return value;
|
|
1388
852
|
}
|
|
1389
|
-
function RegionToJSONTyped(value, ignoreDiscriminator) {
|
|
1390
|
-
return value;
|
|
1391
|
-
}
|
|
1392
853
|
|
|
1393
854
|
// ../oms-sdk/generated/v1/src/models/ServiceMetadataDto.ts
|
|
1394
|
-
function instanceOfServiceMetadataDto(value) {
|
|
1395
|
-
return true;
|
|
1396
|
-
}
|
|
1397
855
|
function ServiceMetadataDtoFromJSON(json) {
|
|
1398
856
|
return ServiceMetadataDtoFromJSONTyped(json, false);
|
|
1399
857
|
}
|
|
@@ -1413,45 +871,8 @@ function ServiceMetadataDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1413
871
|
isAlwaysProvision: json["isAlwaysProvision"] == null ? undefined : json["isAlwaysProvision"]
|
|
1414
872
|
};
|
|
1415
873
|
}
|
|
1416
|
-
function ServiceMetadataDtoToJSON(json) {
|
|
1417
|
-
return ServiceMetadataDtoToJSONTyped(json, false);
|
|
1418
|
-
}
|
|
1419
|
-
function ServiceMetadataDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1420
|
-
if (value == null) {
|
|
1421
|
-
return value;
|
|
1422
|
-
}
|
|
1423
|
-
return {
|
|
1424
|
-
id: value["id"],
|
|
1425
|
-
name: value["name"],
|
|
1426
|
-
serviceLicenseStatus: ProductCodeStatusToJSON(value["serviceLicenseStatus"]),
|
|
1427
|
-
provisioningMode: ProvisioningModeToJSON(value["provisioningMode"]),
|
|
1428
|
-
supportedRegions: value["supportedRegions"] == null ? undefined : value["supportedRegions"].map(RegionToJSON),
|
|
1429
|
-
defaultRegion: RegionToJSON(value["defaultRegion"]),
|
|
1430
|
-
entitlement: value["entitlement"],
|
|
1431
|
-
isVisible: value["isVisible"],
|
|
1432
|
-
isAlwaysProvision: value["isAlwaysProvision"]
|
|
1433
|
-
};
|
|
1434
|
-
}
|
|
1435
874
|
|
|
1436
875
|
// ../oms-sdk/generated/v1/src/models/ServiceDtoStatus.ts
|
|
1437
|
-
var ServiceDtoStatus = {
|
|
1438
|
-
Enabled: "Enabled",
|
|
1439
|
-
Disabled: "Disabled",
|
|
1440
|
-
Updating: "Updating",
|
|
1441
|
-
Failed: "Failed",
|
|
1442
|
-
Maintenance: "Maintenance",
|
|
1443
|
-
Deleted: "Deleted"
|
|
1444
|
-
};
|
|
1445
|
-
function instanceOfServiceDtoStatus(value) {
|
|
1446
|
-
for (const key in ServiceDtoStatus) {
|
|
1447
|
-
if (Object.prototype.hasOwnProperty.call(ServiceDtoStatus, key)) {
|
|
1448
|
-
if (ServiceDtoStatus[key] === value) {
|
|
1449
|
-
return true;
|
|
1450
|
-
}
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
return false;
|
|
1454
|
-
}
|
|
1455
876
|
function ServiceDtoStatusFromJSON(json) {
|
|
1456
877
|
return ServiceDtoStatusFromJSONTyped(json, false);
|
|
1457
878
|
}
|
|
@@ -1461,14 +882,8 @@ function ServiceDtoStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1461
882
|
function ServiceDtoStatusToJSON(value) {
|
|
1462
883
|
return value;
|
|
1463
884
|
}
|
|
1464
|
-
function ServiceDtoStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
1465
|
-
return value;
|
|
1466
|
-
}
|
|
1467
885
|
|
|
1468
886
|
// ../oms-sdk/generated/v1/src/models/UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDto.ts
|
|
1469
|
-
function instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDto(value) {
|
|
1470
|
-
return true;
|
|
1471
|
-
}
|
|
1472
887
|
function UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoFromJSON(json) {
|
|
1473
888
|
return UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoFromJSONTyped(json, false);
|
|
1474
889
|
}
|
|
@@ -1488,43 +903,8 @@ function UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenant
|
|
|
1488
903
|
isVisible: json["isVisible"] == null ? undefined : json["isVisible"]
|
|
1489
904
|
};
|
|
1490
905
|
}
|
|
1491
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSON(json) {
|
|
1492
|
-
return UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSONTyped(json, false);
|
|
1493
|
-
}
|
|
1494
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1495
|
-
if (value == null) {
|
|
1496
|
-
return value;
|
|
1497
|
-
}
|
|
1498
|
-
return {
|
|
1499
|
-
region: RegionToJSON(value["region"]),
|
|
1500
|
-
isCrossRegionService: value["isCrossRegionService"],
|
|
1501
|
-
serviceType: value["serviceType"],
|
|
1502
|
-
url: value["url"],
|
|
1503
|
-
uri: value["uri"],
|
|
1504
|
-
status: ServiceDtoStatusToJSON(value["status"]),
|
|
1505
|
-
friendlyUrl: value["friendlyUrl"],
|
|
1506
|
-
id: value["id"],
|
|
1507
|
-
isVisible: value["isVisible"]
|
|
1508
|
-
};
|
|
1509
|
-
}
|
|
1510
906
|
|
|
1511
907
|
// ../oms-sdk/generated/v1/src/models/EnvironmentTag.ts
|
|
1512
|
-
var EnvironmentTag = {
|
|
1513
|
-
Production: "Production",
|
|
1514
|
-
NonProduction: "NonProduction",
|
|
1515
|
-
Development: "Development",
|
|
1516
|
-
Invalid: "Invalid"
|
|
1517
|
-
};
|
|
1518
|
-
function instanceOfEnvironmentTag(value) {
|
|
1519
|
-
for (const key in EnvironmentTag) {
|
|
1520
|
-
if (Object.prototype.hasOwnProperty.call(EnvironmentTag, key)) {
|
|
1521
|
-
if (EnvironmentTag[key] === value) {
|
|
1522
|
-
return true;
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
}
|
|
1526
|
-
return false;
|
|
1527
|
-
}
|
|
1528
908
|
function EnvironmentTagFromJSON(json) {
|
|
1529
909
|
return EnvironmentTagFromJSONTyped(json, false);
|
|
1530
910
|
}
|
|
@@ -1534,14 +914,8 @@ function EnvironmentTagFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1534
914
|
function EnvironmentTagToJSON(value) {
|
|
1535
915
|
return value;
|
|
1536
916
|
}
|
|
1537
|
-
function EnvironmentTagToJSONTyped(value, ignoreDiscriminator) {
|
|
1538
|
-
return value;
|
|
1539
|
-
}
|
|
1540
917
|
|
|
1541
918
|
// ../oms-sdk/generated/v1/src/models/TenantDto.ts
|
|
1542
|
-
function instanceOfTenantDto(value) {
|
|
1543
|
-
return true;
|
|
1544
|
-
}
|
|
1545
919
|
function TenantDtoFromJSON(json) {
|
|
1546
920
|
return TenantDtoFromJSONTyped(json, false);
|
|
1547
921
|
}
|
|
@@ -1566,64 +940,16 @@ function TenantDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1566
940
|
operationId: json["operationId"] == null ? undefined : json["operationId"]
|
|
1567
941
|
};
|
|
1568
942
|
}
|
|
1569
|
-
function TenantDtoToJSON(json) {
|
|
1570
|
-
return TenantDtoToJSONTyped(json, false);
|
|
1571
|
-
}
|
|
1572
|
-
function TenantDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1573
|
-
if (value == null) {
|
|
1574
|
-
return value;
|
|
1575
|
-
}
|
|
1576
|
-
return {
|
|
1577
|
-
name: value["name"],
|
|
1578
|
-
id: value["id"],
|
|
1579
|
-
color: value["color"],
|
|
1580
|
-
region: RegionToJSON(value["region"]),
|
|
1581
|
-
tenantServiceInstances: value["tenantServiceInstances"] == null ? undefined : value["tenantServiceInstances"].map(UiPathPlatformOrganizationManagementServiceApplicationDtoResponseTenantServiceInstanceDtoToJSON),
|
|
1582
|
-
status: ServiceDtoStatusToJSON(value["status"]),
|
|
1583
|
-
tenantUrl: value["tenantUrl"],
|
|
1584
|
-
createdBy: value["createdBy"],
|
|
1585
|
-
createdOn: value["createdOn"] == null ? value["createdOn"] : value["createdOn"].toISOString(),
|
|
1586
|
-
updatedBy: value["updatedBy"],
|
|
1587
|
-
updatedOn: value["updatedOn"] == null ? value["updatedOn"] : value["updatedOn"].toISOString(),
|
|
1588
|
-
isCanaryTenant: value["isCanaryTenant"],
|
|
1589
|
-
environment: EnvironmentTagToJSON(value["environment"]),
|
|
1590
|
-
operationId: value["operationId"]
|
|
1591
|
-
};
|
|
1592
|
-
}
|
|
1593
943
|
|
|
1594
944
|
// ../oms-sdk/generated/v1/src/models/OrganizationStatus.ts
|
|
1595
|
-
var OrganizationStatus = {
|
|
1596
|
-
Provisioning: "Provisioning",
|
|
1597
|
-
Active: "Active",
|
|
1598
|
-
Deleted: "Deleted"
|
|
1599
|
-
};
|
|
1600
|
-
function instanceOfOrganizationStatus(value) {
|
|
1601
|
-
for (const key in OrganizationStatus) {
|
|
1602
|
-
if (Object.prototype.hasOwnProperty.call(OrganizationStatus, key)) {
|
|
1603
|
-
if (OrganizationStatus[key] === value) {
|
|
1604
|
-
return true;
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
return false;
|
|
1609
|
-
}
|
|
1610
945
|
function OrganizationStatusFromJSON(json) {
|
|
1611
946
|
return OrganizationStatusFromJSONTyped(json, false);
|
|
1612
947
|
}
|
|
1613
948
|
function OrganizationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
1614
949
|
return json;
|
|
1615
950
|
}
|
|
1616
|
-
function OrganizationStatusToJSON(value) {
|
|
1617
|
-
return value;
|
|
1618
|
-
}
|
|
1619
|
-
function OrganizationStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
1620
|
-
return value;
|
|
1621
|
-
}
|
|
1622
951
|
|
|
1623
952
|
// ../oms-sdk/generated/v1/src/models/OrganizationServiceInstanceDto.ts
|
|
1624
|
-
function instanceOfOrganizationServiceInstanceDto(value) {
|
|
1625
|
-
return true;
|
|
1626
|
-
}
|
|
1627
953
|
function OrganizationServiceInstanceDtoFromJSON(json) {
|
|
1628
954
|
return OrganizationServiceInstanceDtoFromJSONTyped(json, false);
|
|
1629
955
|
}
|
|
@@ -1664,9 +990,6 @@ function OrganizationServiceInstanceDtoToJSONTyped(value, ignoreDiscriminator =
|
|
|
1664
990
|
}
|
|
1665
991
|
|
|
1666
992
|
// ../oms-sdk/generated/v1/src/models/OrganizationDto.ts
|
|
1667
|
-
function instanceOfOrganizationDto(value) {
|
|
1668
|
-
return true;
|
|
1669
|
-
}
|
|
1670
993
|
function OrganizationDtoFromJSON(json) {
|
|
1671
994
|
return OrganizationDtoFromJSONTyped(json, false);
|
|
1672
995
|
}
|
|
@@ -1688,32 +1011,8 @@ function OrganizationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1688
1011
|
operationId: json["operationId"] == null ? undefined : json["operationId"]
|
|
1689
1012
|
};
|
|
1690
1013
|
}
|
|
1691
|
-
function OrganizationDtoToJSON(json) {
|
|
1692
|
-
return OrganizationDtoToJSONTyped(json, false);
|
|
1693
|
-
}
|
|
1694
|
-
function OrganizationDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1695
|
-
if (value == null) {
|
|
1696
|
-
return value;
|
|
1697
|
-
}
|
|
1698
|
-
return {
|
|
1699
|
-
name: value["name"],
|
|
1700
|
-
logicalName: value["logicalName"],
|
|
1701
|
-
id: value["id"],
|
|
1702
|
-
country: value["country"],
|
|
1703
|
-
region: RegionToJSON(value["region"]),
|
|
1704
|
-
status: OrganizationStatusToJSON(value["status"]),
|
|
1705
|
-
tenantsUrl: value["tenantsUrl"],
|
|
1706
|
-
createdOn: value["createdOn"] == null ? value["createdOn"] : value["createdOn"].toISOString(),
|
|
1707
|
-
language: value["language"],
|
|
1708
|
-
organizationServiceInstances: value["organizationServiceInstances"] == null ? undefined : value["organizationServiceInstances"].map(OrganizationServiceInstanceDtoToJSON),
|
|
1709
|
-
operationId: value["operationId"]
|
|
1710
|
-
};
|
|
1711
|
-
}
|
|
1712
1014
|
|
|
1713
1015
|
// ../oms-sdk/generated/v1/src/models/AllOrganizationInfoDto.ts
|
|
1714
|
-
function instanceOfAllOrganizationInfoDto(value) {
|
|
1715
|
-
return true;
|
|
1716
|
-
}
|
|
1717
1016
|
function AllOrganizationInfoDtoFromJSON(json) {
|
|
1718
1017
|
return AllOrganizationInfoDtoFromJSONTyped(json, false);
|
|
1719
1018
|
}
|
|
@@ -1728,254 +1027,47 @@ function AllOrganizationInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1728
1027
|
logos: json["logos"] == null ? undefined : json["logos"]
|
|
1729
1028
|
};
|
|
1730
1029
|
}
|
|
1731
|
-
|
|
1732
|
-
|
|
1030
|
+
|
|
1031
|
+
// ../oms-sdk/generated/v1/src/models/BatchProcessRequest.ts
|
|
1032
|
+
function BatchProcessRequestToJSON(json) {
|
|
1033
|
+
return BatchProcessRequestToJSONTyped(json, false);
|
|
1733
1034
|
}
|
|
1734
|
-
function
|
|
1035
|
+
function BatchProcessRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1735
1036
|
if (value == null) {
|
|
1736
1037
|
return value;
|
|
1737
1038
|
}
|
|
1738
1039
|
return {
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1040
|
+
batch: value["batch"],
|
|
1041
|
+
callbackUrl: value["callbackUrl"],
|
|
1042
|
+
correlationId: value["correlationId"],
|
|
1043
|
+
genericParameter: value["genericParameter"],
|
|
1044
|
+
ifDryRun: value["ifDryRun"]
|
|
1743
1045
|
};
|
|
1744
1046
|
}
|
|
1745
1047
|
|
|
1746
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
MlserviceTiemodel: "MLSERVICE_TIEMODEL",
|
|
1750
|
-
MlserviceTremodel: "MLSERVICE_TREMODEL"
|
|
1751
|
-
};
|
|
1752
|
-
function instanceOfApiKeyType(value) {
|
|
1753
|
-
for (const key in ApiKeyType) {
|
|
1754
|
-
if (Object.prototype.hasOwnProperty.call(ApiKeyType, key)) {
|
|
1755
|
-
if (ApiKeyType[key] === value) {
|
|
1756
|
-
return true;
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
return false;
|
|
1761
|
-
}
|
|
1762
|
-
function ApiKeyTypeFromJSON(json) {
|
|
1763
|
-
return ApiKeyTypeFromJSONTyped(json, false);
|
|
1048
|
+
// ../oms-sdk/generated/v1/src/models/Status.ts
|
|
1049
|
+
function StatusFromJSON(json) {
|
|
1050
|
+
return StatusFromJSONTyped(json, false);
|
|
1764
1051
|
}
|
|
1765
|
-
function
|
|
1052
|
+
function StatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
1766
1053
|
return json;
|
|
1767
1054
|
}
|
|
1768
|
-
function ApiKeyTypeToJSON(value) {
|
|
1769
|
-
return value;
|
|
1770
|
-
}
|
|
1771
|
-
function ApiKeyTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
1772
|
-
return value;
|
|
1773
|
-
}
|
|
1774
1055
|
|
|
1775
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
1776
|
-
function
|
|
1777
|
-
|
|
1778
|
-
return false;
|
|
1779
|
-
if (!("type" in value) || value["type"] === undefined)
|
|
1780
|
-
return false;
|
|
1781
|
-
return true;
|
|
1782
|
-
}
|
|
1783
|
-
function ApiKeyDtoFromJSON(json) {
|
|
1784
|
-
return ApiKeyDtoFromJSONTyped(json, false);
|
|
1056
|
+
// ../oms-sdk/generated/v1/src/models/BatchProcessResponse.ts
|
|
1057
|
+
function BatchProcessResponseFromJSON(json) {
|
|
1058
|
+
return BatchProcessResponseFromJSONTyped(json, false);
|
|
1785
1059
|
}
|
|
1786
|
-
function
|
|
1060
|
+
function BatchProcessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1787
1061
|
if (json == null) {
|
|
1788
1062
|
return json;
|
|
1789
1063
|
}
|
|
1790
1064
|
return {
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
return ApiKeyDtoToJSONTyped(json, false);
|
|
1798
|
-
}
|
|
1799
|
-
function ApiKeyDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1800
|
-
if (value == null) {
|
|
1801
|
-
return value;
|
|
1802
|
-
}
|
|
1803
|
-
return {
|
|
1804
|
-
organizationId: value["organizationId"],
|
|
1805
|
-
value: value["value"],
|
|
1806
|
-
type: ApiKeyTypeToJSON(value["type"])
|
|
1807
|
-
};
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
// ../oms-sdk/generated/v1/src/models/AuditQueryRecordDto.ts
|
|
1811
|
-
function instanceOfAuditQueryRecordDto(value) {
|
|
1812
|
-
return true;
|
|
1813
|
-
}
|
|
1814
|
-
function AuditQueryRecordDtoFromJSON(json) {
|
|
1815
|
-
return AuditQueryRecordDtoFromJSONTyped(json, false);
|
|
1816
|
-
}
|
|
1817
|
-
function AuditQueryRecordDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1818
|
-
if (json == null) {
|
|
1819
|
-
return json;
|
|
1820
|
-
}
|
|
1821
|
-
return {
|
|
1822
|
-
createdOn: json["createdOn"] == null ? undefined : new Date(json["createdOn"]),
|
|
1823
|
-
category: json["category"] == null ? undefined : json["category"],
|
|
1824
|
-
action: json["action"] == null ? undefined : json["action"],
|
|
1825
|
-
auditLogDetails: json["auditLogDetails"] == null ? undefined : json["auditLogDetails"],
|
|
1826
|
-
userName: json["userName"] == null ? undefined : json["userName"],
|
|
1827
|
-
email: json["email"] == null ? undefined : json["email"],
|
|
1828
|
-
message: json["message"] == null ? undefined : json["message"],
|
|
1829
|
-
detailsVersion: json["detailsVersion"] == null ? undefined : json["detailsVersion"],
|
|
1830
|
-
source: json["source"] == null ? undefined : json["source"]
|
|
1831
|
-
};
|
|
1832
|
-
}
|
|
1833
|
-
function AuditQueryRecordDtoToJSON(json) {
|
|
1834
|
-
return AuditQueryRecordDtoToJSONTyped(json, false);
|
|
1835
|
-
}
|
|
1836
|
-
function AuditQueryRecordDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1837
|
-
if (value == null) {
|
|
1838
|
-
return value;
|
|
1839
|
-
}
|
|
1840
|
-
return {
|
|
1841
|
-
createdOn: value["createdOn"] == null ? value["createdOn"] : value["createdOn"].toISOString(),
|
|
1842
|
-
category: value["category"],
|
|
1843
|
-
action: value["action"],
|
|
1844
|
-
auditLogDetails: value["auditLogDetails"],
|
|
1845
|
-
userName: value["userName"],
|
|
1846
|
-
email: value["email"],
|
|
1847
|
-
message: value["message"],
|
|
1848
|
-
detailsVersion: value["detailsVersion"],
|
|
1849
|
-
source: value["source"]
|
|
1850
|
-
};
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
// ../oms-sdk/generated/v1/src/models/AuditQueryRecordDtoPagedResult.ts
|
|
1854
|
-
function instanceOfAuditQueryRecordDtoPagedResult(value) {
|
|
1855
|
-
return true;
|
|
1856
|
-
}
|
|
1857
|
-
function AuditQueryRecordDtoPagedResultFromJSON(json) {
|
|
1858
|
-
return AuditQueryRecordDtoPagedResultFromJSONTyped(json, false);
|
|
1859
|
-
}
|
|
1860
|
-
function AuditQueryRecordDtoPagedResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
1861
|
-
if (json == null) {
|
|
1862
|
-
return json;
|
|
1863
|
-
}
|
|
1864
|
-
return {
|
|
1865
|
-
totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
|
|
1866
|
-
results: json["results"] == null ? undefined : json["results"].map(AuditQueryRecordDtoFromJSON)
|
|
1867
|
-
};
|
|
1868
|
-
}
|
|
1869
|
-
function AuditQueryRecordDtoPagedResultToJSON(json) {
|
|
1870
|
-
return AuditQueryRecordDtoPagedResultToJSONTyped(json, false);
|
|
1871
|
-
}
|
|
1872
|
-
function AuditQueryRecordDtoPagedResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1873
|
-
if (value == null) {
|
|
1874
|
-
return value;
|
|
1875
|
-
}
|
|
1876
|
-
return {
|
|
1877
|
-
totalCount: value["totalCount"],
|
|
1878
|
-
results: value["results"] == null ? undefined : value["results"].map(AuditQueryRecordDtoToJSON)
|
|
1879
|
-
};
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
// ../oms-sdk/generated/v1/src/models/BatchProcessRequest.ts
|
|
1883
|
-
function instanceOfBatchProcessRequest(value) {
|
|
1884
|
-
return true;
|
|
1885
|
-
}
|
|
1886
|
-
function BatchProcessRequestFromJSON(json) {
|
|
1887
|
-
return BatchProcessRequestFromJSONTyped(json, false);
|
|
1888
|
-
}
|
|
1889
|
-
function BatchProcessRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
1890
|
-
if (json == null) {
|
|
1891
|
-
return json;
|
|
1892
|
-
}
|
|
1893
|
-
return {
|
|
1894
|
-
batch: json["batch"] == null ? undefined : json["batch"],
|
|
1895
|
-
callbackUrl: json["callbackUrl"] == null ? undefined : json["callbackUrl"],
|
|
1896
|
-
correlationId: json["correlationId"] == null ? undefined : json["correlationId"],
|
|
1897
|
-
genericParameter: json["genericParameter"] == null ? undefined : json["genericParameter"],
|
|
1898
|
-
ifDryRun: json["ifDryRun"] == null ? undefined : json["ifDryRun"]
|
|
1899
|
-
};
|
|
1900
|
-
}
|
|
1901
|
-
function BatchProcessRequestToJSON(json) {
|
|
1902
|
-
return BatchProcessRequestToJSONTyped(json, false);
|
|
1903
|
-
}
|
|
1904
|
-
function BatchProcessRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1905
|
-
if (value == null) {
|
|
1906
|
-
return value;
|
|
1907
|
-
}
|
|
1908
|
-
return {
|
|
1909
|
-
batch: value["batch"],
|
|
1910
|
-
callbackUrl: value["callbackUrl"],
|
|
1911
|
-
correlationId: value["correlationId"],
|
|
1912
|
-
genericParameter: value["genericParameter"],
|
|
1913
|
-
ifDryRun: value["ifDryRun"]
|
|
1914
|
-
};
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
// ../oms-sdk/generated/v1/src/models/Status.ts
|
|
1918
|
-
var Status = {
|
|
1919
|
-
Scheduled: "Scheduled",
|
|
1920
|
-
Completed: "Completed"
|
|
1921
|
-
};
|
|
1922
|
-
function instanceOfStatus(value) {
|
|
1923
|
-
for (const key in Status) {
|
|
1924
|
-
if (Object.prototype.hasOwnProperty.call(Status, key)) {
|
|
1925
|
-
if (Status[key] === value) {
|
|
1926
|
-
return true;
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
return false;
|
|
1931
|
-
}
|
|
1932
|
-
function StatusFromJSON(json) {
|
|
1933
|
-
return StatusFromJSONTyped(json, false);
|
|
1934
|
-
}
|
|
1935
|
-
function StatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
1936
|
-
return json;
|
|
1937
|
-
}
|
|
1938
|
-
function StatusToJSON(value) {
|
|
1939
|
-
return value;
|
|
1940
|
-
}
|
|
1941
|
-
function StatusToJSONTyped(value, ignoreDiscriminator) {
|
|
1942
|
-
return value;
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
// ../oms-sdk/generated/v1/src/models/BatchProcessResponse.ts
|
|
1946
|
-
function instanceOfBatchProcessResponse(value) {
|
|
1947
|
-
return true;
|
|
1948
|
-
}
|
|
1949
|
-
function BatchProcessResponseFromJSON(json) {
|
|
1950
|
-
return BatchProcessResponseFromJSONTyped(json, false);
|
|
1951
|
-
}
|
|
1952
|
-
function BatchProcessResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1953
|
-
if (json == null) {
|
|
1954
|
-
return json;
|
|
1955
|
-
}
|
|
1956
|
-
return {
|
|
1957
|
-
status: json["status"] == null ? undefined : StatusFromJSON(json["status"]),
|
|
1958
|
-
success: json["success"] == null ? undefined : json["success"],
|
|
1959
|
-
reason: json["reason"] == null ? undefined : json["reason"],
|
|
1960
|
-
actionAfterFailure: json["actionAfterFailure"] == null ? undefined : ActionAfterFailureFromJSON(json["actionAfterFailure"]),
|
|
1961
|
-
detail: json["detail"] == null ? undefined : json["detail"],
|
|
1962
|
-
batchToRetry: json["batchToRetry"] == null ? undefined : json["batchToRetry"]
|
|
1963
|
-
};
|
|
1964
|
-
}
|
|
1965
|
-
function BatchProcessResponseToJSON(json) {
|
|
1966
|
-
return BatchProcessResponseToJSONTyped(json, false);
|
|
1967
|
-
}
|
|
1968
|
-
function BatchProcessResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1969
|
-
if (value == null) {
|
|
1970
|
-
return value;
|
|
1971
|
-
}
|
|
1972
|
-
return {
|
|
1973
|
-
status: StatusToJSON(value["status"]),
|
|
1974
|
-
success: value["success"],
|
|
1975
|
-
reason: value["reason"],
|
|
1976
|
-
actionAfterFailure: ActionAfterFailureToJSON(value["actionAfterFailure"]),
|
|
1977
|
-
detail: value["detail"],
|
|
1978
|
-
batchToRetry: value["batchToRetry"]
|
|
1065
|
+
status: json["status"] == null ? undefined : StatusFromJSON(json["status"]),
|
|
1066
|
+
success: json["success"] == null ? undefined : json["success"],
|
|
1067
|
+
reason: json["reason"] == null ? undefined : json["reason"],
|
|
1068
|
+
actionAfterFailure: json["actionAfterFailure"] == null ? undefined : ActionAfterFailureFromJSON(json["actionAfterFailure"]),
|
|
1069
|
+
detail: json["detail"] == null ? undefined : json["detail"],
|
|
1070
|
+
batchToRetry: json["batchToRetry"] == null ? undefined : json["batchToRetry"]
|
|
1979
1071
|
};
|
|
1980
1072
|
}
|
|
1981
1073
|
|
|
@@ -1992,44 +1084,11 @@ var ServiceStatus = {
|
|
|
1992
1084
|
Error: "Error",
|
|
1993
1085
|
Maintenance: "Maintenance"
|
|
1994
1086
|
};
|
|
1995
|
-
function instanceOfServiceStatus(value) {
|
|
1996
|
-
for (const key in ServiceStatus) {
|
|
1997
|
-
if (Object.prototype.hasOwnProperty.call(ServiceStatus, key)) {
|
|
1998
|
-
if (ServiceStatus[key] === value) {
|
|
1999
|
-
return true;
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
return false;
|
|
2004
|
-
}
|
|
2005
|
-
function ServiceStatusFromJSON(json) {
|
|
2006
|
-
return ServiceStatusFromJSONTyped(json, false);
|
|
2007
|
-
}
|
|
2008
|
-
function ServiceStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
2009
|
-
return json;
|
|
2010
|
-
}
|
|
2011
1087
|
function ServiceStatusToJSON(value) {
|
|
2012
1088
|
return value;
|
|
2013
1089
|
}
|
|
2014
|
-
function ServiceStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
2015
|
-
return value;
|
|
2016
|
-
}
|
|
2017
1090
|
|
|
2018
1091
|
// ../oms-sdk/generated/v1/src/models/ChangeTenantServiceStatusRequestDto.ts
|
|
2019
|
-
function instanceOfChangeTenantServiceStatusRequestDto(value) {
|
|
2020
|
-
return true;
|
|
2021
|
-
}
|
|
2022
|
-
function ChangeTenantServiceStatusRequestDtoFromJSON(json) {
|
|
2023
|
-
return ChangeTenantServiceStatusRequestDtoFromJSONTyped(json, false);
|
|
2024
|
-
}
|
|
2025
|
-
function ChangeTenantServiceStatusRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2026
|
-
if (json == null) {
|
|
2027
|
-
return json;
|
|
2028
|
-
}
|
|
2029
|
-
return {
|
|
2030
|
-
serviceTypeServiceStatusMap: json["serviceTypeServiceStatusMap"] == null ? undefined : mapValues(json["serviceTypeServiceStatusMap"], ServiceStatusFromJSON)
|
|
2031
|
-
};
|
|
2032
|
-
}
|
|
2033
1092
|
function ChangeTenantServiceStatusRequestDtoToJSON(json) {
|
|
2034
1093
|
return ChangeTenantServiceStatusRequestDtoToJSONTyped(json, false);
|
|
2035
1094
|
}
|
|
@@ -2043,9 +1102,6 @@ function ChangeTenantServiceStatusRequestDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
2043
1102
|
}
|
|
2044
1103
|
|
|
2045
1104
|
// ../oms-sdk/generated/v1/src/models/CommandDto.ts
|
|
2046
|
-
function instanceOfCommandDto(value) {
|
|
2047
|
-
return true;
|
|
2048
|
-
}
|
|
2049
1105
|
function CommandDtoFromJSON(json) {
|
|
2050
1106
|
return CommandDtoFromJSONTyped(json, false);
|
|
2051
1107
|
}
|
|
@@ -2064,95 +1120,13 @@ function CommandDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2064
1120
|
customData: json["customData"] == null ? undefined : json["customData"]
|
|
2065
1121
|
};
|
|
2066
1122
|
}
|
|
2067
|
-
function CommandDtoToJSON(json) {
|
|
2068
|
-
return CommandDtoToJSONTyped(json, false);
|
|
2069
|
-
}
|
|
2070
|
-
function CommandDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2071
|
-
if (value == null) {
|
|
2072
|
-
return value;
|
|
2073
|
-
}
|
|
2074
|
-
return {
|
|
2075
|
-
id: value["id"],
|
|
2076
|
-
workflowInstanceId: value["workflowInstanceId"],
|
|
2077
|
-
entityType: value["entityType"],
|
|
2078
|
-
entityId: value["entityId"],
|
|
2079
|
-
operationStatus: value["operationStatus"],
|
|
2080
|
-
errorMessage: value["errorMessage"],
|
|
2081
|
-
errorTrace: value["errorTrace"],
|
|
2082
|
-
customData: value["customData"]
|
|
2083
|
-
};
|
|
2084
|
-
}
|
|
2085
1123
|
|
|
2086
1124
|
// ../oms-sdk/generated/v1/src/models/SubscriptionType.ts
|
|
2087
|
-
var SubscriptionType = {
|
|
2088
|
-
Free: "FREE",
|
|
2089
|
-
Business: "BUSINESS",
|
|
2090
|
-
Trial: "TRIAL",
|
|
2091
|
-
Freekit: "FREEKIT",
|
|
2092
|
-
Protrial: "PROTRIAL",
|
|
2093
|
-
Pro: "PRO",
|
|
2094
|
-
Stdtrial: "STDTRIAL",
|
|
2095
|
-
Testtrial: "TESTTRIAL"
|
|
2096
|
-
};
|
|
2097
|
-
function instanceOfSubscriptionType(value) {
|
|
2098
|
-
for (const key in SubscriptionType) {
|
|
2099
|
-
if (Object.prototype.hasOwnProperty.call(SubscriptionType, key)) {
|
|
2100
|
-
if (SubscriptionType[key] === value) {
|
|
2101
|
-
return true;
|
|
2102
|
-
}
|
|
2103
|
-
}
|
|
2104
|
-
}
|
|
2105
|
-
return false;
|
|
2106
|
-
}
|
|
2107
|
-
function SubscriptionTypeFromJSON(json) {
|
|
2108
|
-
return SubscriptionTypeFromJSONTyped(json, false);
|
|
2109
|
-
}
|
|
2110
|
-
function SubscriptionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
2111
|
-
return json;
|
|
2112
|
-
}
|
|
2113
1125
|
function SubscriptionTypeToJSON(value) {
|
|
2114
1126
|
return value;
|
|
2115
1127
|
}
|
|
2116
|
-
function SubscriptionTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
2117
|
-
return value;
|
|
2118
|
-
}
|
|
2119
1128
|
|
|
2120
1129
|
// ../oms-sdk/generated/v1/src/models/CreateOrganizationCommand.ts
|
|
2121
|
-
function instanceOfCreateOrganizationCommand(value) {
|
|
2122
|
-
return true;
|
|
2123
|
-
}
|
|
2124
|
-
function CreateOrganizationCommandFromJSON(json) {
|
|
2125
|
-
return CreateOrganizationCommandFromJSONTyped(json, false);
|
|
2126
|
-
}
|
|
2127
|
-
function CreateOrganizationCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
2128
|
-
if (json == null) {
|
|
2129
|
-
return json;
|
|
2130
|
-
}
|
|
2131
|
-
return {
|
|
2132
|
-
organizationName: json["organizationName"] == null ? undefined : json["organizationName"],
|
|
2133
|
-
companyEmail: json["companyEmail"] == null ? undefined : json["companyEmail"],
|
|
2134
|
-
ownerUserId: json["ownerUserId"] == null ? undefined : json["ownerUserId"],
|
|
2135
|
-
legacyOwnerUserId: json["legacyOwnerUserId"] == null ? undefined : json["legacyOwnerUserId"],
|
|
2136
|
-
country: json["country"] == null ? undefined : json["country"],
|
|
2137
|
-
language: json["language"] == null ? undefined : json["language"],
|
|
2138
|
-
termsAndConditionsAccepted: json["termsAndConditionsAccepted"] == null ? undefined : json["termsAndConditionsAccepted"],
|
|
2139
|
-
id: json["id"] == null ? undefined : json["id"],
|
|
2140
|
-
type: json["type"] == null ? undefined : SubscriptionTypeFromJSON(json["type"]),
|
|
2141
|
-
firstName: json["firstName"] == null ? undefined : json["firstName"],
|
|
2142
|
-
lastName: json["lastName"] == null ? undefined : json["lastName"],
|
|
2143
|
-
displayName: json["displayName"] == null ? undefined : json["displayName"],
|
|
2144
|
-
marketingConsent: json["marketingConsent"] == null ? undefined : json["marketingConsent"],
|
|
2145
|
-
jobTitle: json["jobTitle"] == null ? undefined : json["jobTitle"],
|
|
2146
|
-
state: json["state"] == null ? undefined : json["state"],
|
|
2147
|
-
useEmailAsUsername: json["useEmailAsUsername"] == null ? undefined : json["useEmailAsUsername"],
|
|
2148
|
-
activationData: json["activationData"] == null ? undefined : json["activationData"],
|
|
2149
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"]),
|
|
2150
|
-
isCreatorNonAdmin: json["isCreatorNonAdmin"] == null ? undefined : json["isCreatorNonAdmin"],
|
|
2151
|
-
isEmailVerified: json["isEmailVerified"] == null ? undefined : json["isEmailVerified"],
|
|
2152
|
-
licenseCode: json["licenseCode"] == null ? undefined : json["licenseCode"],
|
|
2153
|
-
customProperties: json["customProperties"] == null ? undefined : json["customProperties"]
|
|
2154
|
-
};
|
|
2155
|
-
}
|
|
2156
1130
|
function CreateOrganizationCommandToJSON(json) {
|
|
2157
1131
|
return CreateOrganizationCommandToJSONTyped(json, false);
|
|
2158
1132
|
}
|
|
@@ -2186,75 +1160,7 @@ function CreateOrganizationCommandToJSONTyped(value, ignoreDiscriminator = false
|
|
|
2186
1160
|
};
|
|
2187
1161
|
}
|
|
2188
1162
|
|
|
2189
|
-
// ../oms-sdk/generated/v1/src/models/CreateOrganizationOnPremCommand.ts
|
|
2190
|
-
function instanceOfCreateOrganizationOnPremCommand(value) {
|
|
2191
|
-
return true;
|
|
2192
|
-
}
|
|
2193
|
-
function CreateOrganizationOnPremCommandFromJSON(json) {
|
|
2194
|
-
return CreateOrganizationOnPremCommandFromJSONTyped(json, false);
|
|
2195
|
-
}
|
|
2196
|
-
function CreateOrganizationOnPremCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
2197
|
-
if (json == null) {
|
|
2198
|
-
return json;
|
|
2199
|
-
}
|
|
2200
|
-
return {
|
|
2201
|
-
id: json["id"] == null ? undefined : json["id"],
|
|
2202
|
-
organizationName: json["organizationName"] == null ? undefined : json["organizationName"],
|
|
2203
|
-
adminFirstName: json["adminFirstName"] == null ? undefined : json["adminFirstName"],
|
|
2204
|
-
adminLastName: json["adminLastName"] == null ? undefined : json["adminLastName"],
|
|
2205
|
-
adminEmail: json["adminEmail"] == null ? undefined : json["adminEmail"],
|
|
2206
|
-
adminUserId: json["adminUserId"] == null ? undefined : json["adminUserId"],
|
|
2207
|
-
adminUserName: json["adminUserName"] == null ? undefined : json["adminUserName"],
|
|
2208
|
-
adminPassword: json["adminPassword"] == null ? undefined : json["adminPassword"],
|
|
2209
|
-
language: json["language"] == null ? undefined : json["language"],
|
|
2210
|
-
customProperties: json["customProperties"] == null ? undefined : json["customProperties"],
|
|
2211
|
-
companyEmail: json["companyEmail"] == null ? undefined : json["companyEmail"]
|
|
2212
|
-
};
|
|
2213
|
-
}
|
|
2214
|
-
function CreateOrganizationOnPremCommandToJSON(json) {
|
|
2215
|
-
return CreateOrganizationOnPremCommandToJSONTyped(json, false);
|
|
2216
|
-
}
|
|
2217
|
-
function CreateOrganizationOnPremCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2218
|
-
if (value == null) {
|
|
2219
|
-
return value;
|
|
2220
|
-
}
|
|
2221
|
-
return {
|
|
2222
|
-
id: value["id"],
|
|
2223
|
-
organizationName: value["organizationName"],
|
|
2224
|
-
adminFirstName: value["adminFirstName"],
|
|
2225
|
-
adminLastName: value["adminLastName"],
|
|
2226
|
-
adminEmail: value["adminEmail"],
|
|
2227
|
-
adminUserId: value["adminUserId"],
|
|
2228
|
-
adminUserName: value["adminUserName"],
|
|
2229
|
-
adminPassword: value["adminPassword"],
|
|
2230
|
-
language: value["language"],
|
|
2231
|
-
customProperties: value["customProperties"],
|
|
2232
|
-
companyEmail: value["companyEmail"]
|
|
2233
|
-
};
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
1163
|
// ../oms-sdk/generated/v1/src/models/CreateTenantRequestDto.ts
|
|
2237
|
-
function instanceOfCreateTenantRequestDto(value) {
|
|
2238
|
-
return true;
|
|
2239
|
-
}
|
|
2240
|
-
function CreateTenantRequestDtoFromJSON(json) {
|
|
2241
|
-
return CreateTenantRequestDtoFromJSONTyped(json, false);
|
|
2242
|
-
}
|
|
2243
|
-
function CreateTenantRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2244
|
-
if (json == null) {
|
|
2245
|
-
return json;
|
|
2246
|
-
}
|
|
2247
|
-
return {
|
|
2248
|
-
id: json["id"] == null ? undefined : json["id"],
|
|
2249
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
2250
|
-
isDefaultTenant: json["isDefaultTenant"] == null ? undefined : json["isDefaultTenant"],
|
|
2251
|
-
color: json["color"] == null ? undefined : json["color"],
|
|
2252
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"]),
|
|
2253
|
-
services: json["services"] == null ? undefined : json["services"],
|
|
2254
|
-
customProperties: json["customProperties"] == null ? undefined : json["customProperties"],
|
|
2255
|
-
environment: json["environment"] == null ? undefined : EnvironmentTagFromJSON(json["environment"])
|
|
2256
|
-
};
|
|
2257
|
-
}
|
|
2258
1164
|
function CreateTenantRequestDtoToJSON(json) {
|
|
2259
1165
|
return CreateTenantRequestDtoToJSONTyped(json, false);
|
|
2260
1166
|
}
|
|
@@ -2274,1624 +1180,228 @@ function CreateTenantRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2274
1180
|
};
|
|
2275
1181
|
}
|
|
2276
1182
|
|
|
2277
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
2278
|
-
function
|
|
2279
|
-
return
|
|
2280
|
-
}
|
|
2281
|
-
function DeleteOrganizationResponseDtoFromJSON(json) {
|
|
2282
|
-
return DeleteOrganizationResponseDtoFromJSONTyped(json, false);
|
|
1183
|
+
// ../oms-sdk/generated/v1/src/models/LightweightServiceDto.ts
|
|
1184
|
+
function LightweightServiceDtoFromJSON(json) {
|
|
1185
|
+
return LightweightServiceDtoFromJSONTyped(json, false);
|
|
2283
1186
|
}
|
|
2284
|
-
function
|
|
1187
|
+
function LightweightServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2285
1188
|
if (json == null) {
|
|
2286
1189
|
return json;
|
|
2287
1190
|
}
|
|
2288
1191
|
return {
|
|
2289
|
-
isHardDelete: json["isHardDelete"] == null ? undefined : json["isHardDelete"],
|
|
2290
|
-
organizationId: json["organizationId"] == null ? undefined : json["organizationId"],
|
|
2291
1192
|
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
2292
|
-
|
|
1193
|
+
url: json["url"] == null ? undefined : json["url"],
|
|
1194
|
+
status: json["status"] == null ? undefined : ServiceDtoStatusFromJSON(json["status"])
|
|
2293
1195
|
};
|
|
2294
1196
|
}
|
|
2295
|
-
|
|
2296
|
-
|
|
1197
|
+
|
|
1198
|
+
// ../oms-sdk/generated/v1/src/models/ProductRequested.ts
|
|
1199
|
+
function ProductRequestedFromJSON(json) {
|
|
1200
|
+
return ProductRequestedFromJSONTyped(json, false);
|
|
2297
1201
|
}
|
|
2298
|
-
function
|
|
2299
|
-
if (
|
|
2300
|
-
return
|
|
1202
|
+
function ProductRequestedFromJSONTyped(json, ignoreDiscriminator) {
|
|
1203
|
+
if (json == null) {
|
|
1204
|
+
return json;
|
|
2301
1205
|
}
|
|
2302
1206
|
return {
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
serviceType: value["serviceType"],
|
|
2306
|
-
status: value["status"]
|
|
1207
|
+
code: json["code"] == null ? undefined : json["code"],
|
|
1208
|
+
quantity: json["quantity"] == null ? undefined : json["quantity"]
|
|
2307
1209
|
};
|
|
2308
1210
|
}
|
|
2309
1211
|
|
|
2310
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
2311
|
-
function
|
|
2312
|
-
return
|
|
2313
|
-
}
|
|
2314
|
-
function ServiceInstanceForDiscoveryDtoFromJSON(json) {
|
|
2315
|
-
return ServiceInstanceForDiscoveryDtoFromJSONTyped(json, false);
|
|
1212
|
+
// ../oms-sdk/generated/v1/src/models/RegionDto.ts
|
|
1213
|
+
function RegionDtoFromJSON(json) {
|
|
1214
|
+
return RegionDtoFromJSONTyped(json, false);
|
|
2316
1215
|
}
|
|
2317
|
-
function
|
|
1216
|
+
function RegionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2318
1217
|
if (json == null) {
|
|
2319
1218
|
return json;
|
|
2320
1219
|
}
|
|
2321
1220
|
return {
|
|
2322
|
-
|
|
2323
|
-
licenseProductsUrl: json["licenseProductsUrl"] == null ? undefined : json["licenseProductsUrl"],
|
|
2324
|
-
leaseUrl: json["leaseUrl"] == null ? undefined : json["leaseUrl"]
|
|
1221
|
+
region: json["region"] == null ? undefined : RegionFromJSON(json["region"])
|
|
2325
1222
|
};
|
|
2326
1223
|
}
|
|
2327
|
-
|
|
2328
|
-
|
|
1224
|
+
|
|
1225
|
+
// ../oms-sdk/generated/v1/src/models/SAPTenantCALMInfoDto.ts
|
|
1226
|
+
function SAPTenantCALMInfoDtoFromJSON(json) {
|
|
1227
|
+
return SAPTenantCALMInfoDtoFromJSONTyped(json, false);
|
|
2329
1228
|
}
|
|
2330
|
-
function
|
|
2331
|
-
if (
|
|
2332
|
-
return
|
|
1229
|
+
function SAPTenantCALMInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1230
|
+
if (json == null) {
|
|
1231
|
+
return json;
|
|
2333
1232
|
}
|
|
2334
1233
|
return {
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
1234
|
+
cALMAPIENDPOINT: json["CALM_API_ENDPOINT"] == null ? undefined : json["CALM_API_ENDPOINT"],
|
|
1235
|
+
cALMUAACLIENTID: json["CALM_UAA_CLIENTID"] == null ? undefined : json["CALM_UAA_CLIENTID"],
|
|
1236
|
+
cALMUAACLIENTSECRET: json["CALM_UAA_CLIENTSECRET"] == null ? undefined : json["CALM_UAA_CLIENTSECRET"],
|
|
1237
|
+
uIPATHLMSID: json["UIPATH_LMS_ID"] == null ? undefined : json["UIPATH_LMS_ID"],
|
|
1238
|
+
cALMUAAURL: json["CALM_UAA_URL"] == null ? undefined : json["CALM_UAA_URL"]
|
|
2338
1239
|
};
|
|
2339
1240
|
}
|
|
2340
1241
|
|
|
2341
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
2342
|
-
function
|
|
2343
|
-
return
|
|
2344
|
-
}
|
|
2345
|
-
function TenantForDiscoveryDtoFromJSON(json) {
|
|
2346
|
-
return TenantForDiscoveryDtoFromJSONTyped(json, false);
|
|
1242
|
+
// ../oms-sdk/generated/v1/src/models/ScaleUnitDto.ts
|
|
1243
|
+
function ScaleUnitDtoFromJSON(json) {
|
|
1244
|
+
return ScaleUnitDtoFromJSONTyped(json, false);
|
|
2347
1245
|
}
|
|
2348
|
-
function
|
|
1246
|
+
function ScaleUnitDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2349
1247
|
if (json == null) {
|
|
2350
1248
|
return json;
|
|
2351
1249
|
}
|
|
2352
1250
|
return {
|
|
2353
|
-
|
|
2354
|
-
|
|
1251
|
+
id: json["id"] == null ? undefined : json["id"],
|
|
1252
|
+
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
1253
|
+
region: json["region"] == null ? undefined : json["region"]
|
|
2355
1254
|
};
|
|
2356
1255
|
}
|
|
2357
|
-
|
|
2358
|
-
|
|
1256
|
+
|
|
1257
|
+
// ../oms-sdk/generated/v1/src/models/Scope.ts
|
|
1258
|
+
var Scope = {
|
|
1259
|
+
Unknown: "Unknown",
|
|
1260
|
+
Account: "Account",
|
|
1261
|
+
Tenant: "Tenant"
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
// ../oms-sdk/generated/v1/src/models/ServiceInstanceStatus.ts
|
|
1265
|
+
function ServiceInstanceStatusToJSON(value) {
|
|
1266
|
+
return value;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
// ../oms-sdk/generated/v1/src/models/ServiceInstanceUpdateDto.ts
|
|
1270
|
+
function ServiceInstanceUpdateDtoToJSON(json) {
|
|
1271
|
+
return ServiceInstanceUpdateDtoToJSONTyped(json, false);
|
|
2359
1272
|
}
|
|
2360
|
-
function
|
|
1273
|
+
function ServiceInstanceUpdateDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2361
1274
|
if (value == null) {
|
|
2362
1275
|
return value;
|
|
2363
1276
|
}
|
|
2364
1277
|
return {
|
|
2365
|
-
|
|
2366
|
-
|
|
1278
|
+
status: ServiceInstanceStatusToJSON(value["status"]),
|
|
1279
|
+
isHardDelete: value["isHardDelete"],
|
|
1280
|
+
routingAddressId: value["routingAddressId"],
|
|
1281
|
+
managementAddressId: value["managementAddressId"]
|
|
2367
1282
|
};
|
|
2368
1283
|
}
|
|
2369
1284
|
|
|
2370
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
2371
|
-
function
|
|
2372
|
-
return
|
|
2373
|
-
}
|
|
2374
|
-
function DiscoveryDtoFromJSON(json) {
|
|
2375
|
-
return DiscoveryDtoFromJSONTyped(json, false);
|
|
2376
|
-
}
|
|
2377
|
-
function DiscoveryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2378
|
-
if (json == null) {
|
|
2379
|
-
return json;
|
|
2380
|
-
}
|
|
2381
|
-
return {
|
|
2382
|
-
organizationUrl: json["organizationUrl"] == null ? undefined : json["organizationUrl"],
|
|
2383
|
-
tenantsUrl: json["tenantsUrl"] == null ? undefined : json["tenantsUrl"],
|
|
2384
|
-
tenants: json["tenants"] == null ? undefined : mapValues(json["tenants"], TenantForDiscoveryDtoFromJSON),
|
|
2385
|
-
userLicenseUrl: json["userLicenseUrl"] == null ? undefined : json["userLicenseUrl"]
|
|
2386
|
-
};
|
|
2387
|
-
}
|
|
2388
|
-
function DiscoveryDtoToJSON(json) {
|
|
2389
|
-
return DiscoveryDtoToJSONTyped(json, false);
|
|
1285
|
+
// ../oms-sdk/generated/v1/src/models/ServiceStatusUpdateDto.ts
|
|
1286
|
+
function ServiceStatusUpdateDtoToJSON(json) {
|
|
1287
|
+
return ServiceStatusUpdateDtoToJSONTyped(json, false);
|
|
2390
1288
|
}
|
|
2391
|
-
function
|
|
1289
|
+
function ServiceStatusUpdateDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2392
1290
|
if (value == null) {
|
|
2393
1291
|
return value;
|
|
2394
1292
|
}
|
|
2395
1293
|
return {
|
|
2396
|
-
organizationUrl: value["organizationUrl"],
|
|
2397
|
-
tenantsUrl: value["tenantsUrl"],
|
|
2398
|
-
tenants: value["tenants"] == null ? undefined : mapValues(value["tenants"], TenantForDiscoveryDtoToJSON),
|
|
2399
|
-
userLicenseUrl: value["userLicenseUrl"]
|
|
2400
|
-
};
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
// ../oms-sdk/generated/v1/src/models/FileType.ts
|
|
2404
|
-
var FileType = {
|
|
2405
|
-
Logo: "Logo"
|
|
2406
|
-
};
|
|
2407
|
-
function instanceOfFileType(value) {
|
|
2408
|
-
for (const key in FileType) {
|
|
2409
|
-
if (Object.prototype.hasOwnProperty.call(FileType, key)) {
|
|
2410
|
-
if (FileType[key] === value) {
|
|
2411
|
-
return true;
|
|
2412
|
-
}
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
|
-
return false;
|
|
2416
|
-
}
|
|
2417
|
-
function FileTypeFromJSON(json) {
|
|
2418
|
-
return FileTypeFromJSONTyped(json, false);
|
|
2419
|
-
}
|
|
2420
|
-
function FileTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
2421
|
-
return json;
|
|
2422
|
-
}
|
|
2423
|
-
function FileTypeToJSON(value) {
|
|
2424
|
-
return value;
|
|
2425
|
-
}
|
|
2426
|
-
function FileTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
2427
|
-
return value;
|
|
2428
|
-
}
|
|
2429
|
-
|
|
2430
|
-
// ../oms-sdk/generated/v1/src/models/FileUpsertFileToOrganizationRequest.ts
|
|
2431
|
-
function instanceOfFileUpsertFileToOrganizationRequest(value) {
|
|
2432
|
-
return true;
|
|
2433
|
-
}
|
|
2434
|
-
function FileUpsertFileToOrganizationRequestFromJSON(json) {
|
|
2435
|
-
return FileUpsertFileToOrganizationRequestFromJSONTyped(json, false);
|
|
2436
|
-
}
|
|
2437
|
-
function FileUpsertFileToOrganizationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
2438
|
-
if (json == null) {
|
|
2439
|
-
return json;
|
|
2440
|
-
}
|
|
2441
|
-
return {
|
|
2442
|
-
file: json["file"] == null ? undefined : json["file"]
|
|
2443
|
-
};
|
|
2444
|
-
}
|
|
2445
|
-
function FileUpsertFileToOrganizationRequestToJSON(json) {
|
|
2446
|
-
return FileUpsertFileToOrganizationRequestToJSONTyped(json, false);
|
|
2447
|
-
}
|
|
2448
|
-
function FileUpsertFileToOrganizationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2449
|
-
if (value == null) {
|
|
2450
|
-
return value;
|
|
2451
|
-
}
|
|
2452
|
-
return {
|
|
2453
|
-
file: value["file"]
|
|
2454
|
-
};
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
|
-
// ../oms-sdk/generated/v1/src/models/OrganizationServiceInstance.ts
|
|
2458
|
-
function instanceOfOrganizationServiceInstance(value) {
|
|
2459
|
-
if (!("id" in value) || value["id"] === undefined)
|
|
2460
|
-
return false;
|
|
2461
|
-
if (!("status" in value) || value["status"] === undefined)
|
|
2462
|
-
return false;
|
|
2463
|
-
if (!("serviceType" in value) || value["serviceType"] === undefined)
|
|
2464
|
-
return false;
|
|
2465
|
-
if (!("scaleUnitId" in value) || value["scaleUnitId"] === undefined)
|
|
2466
|
-
return false;
|
|
2467
|
-
if (!("organizationId" in value) || value["organizationId"] === undefined)
|
|
2468
|
-
return false;
|
|
2469
|
-
if (!("createdBy" in value) || value["createdBy"] === undefined)
|
|
2470
|
-
return false;
|
|
2471
|
-
if (!("createdOn" in value) || value["createdOn"] === undefined)
|
|
2472
|
-
return false;
|
|
2473
|
-
return true;
|
|
2474
|
-
}
|
|
2475
|
-
function OrganizationServiceInstanceFromJSON(json) {
|
|
2476
|
-
return OrganizationServiceInstanceFromJSONTyped(json, false);
|
|
2477
|
-
}
|
|
2478
|
-
function OrganizationServiceInstanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
2479
|
-
if (json == null) {
|
|
2480
|
-
return json;
|
|
2481
|
-
}
|
|
2482
|
-
return {
|
|
2483
|
-
uri: json["uri"] == null ? undefined : json["uri"],
|
|
2484
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"]),
|
|
2485
|
-
id: json["id"],
|
|
2486
|
-
sequenceId: json["sequenceId"] == null ? undefined : json["sequenceId"],
|
|
2487
|
-
status: ServiceStatusFromJSON(json["status"]),
|
|
2488
|
-
serviceType: json["serviceType"],
|
|
2489
|
-
scaleUnitId: json["scaleUnitId"],
|
|
2490
|
-
organizationId: json["organizationId"],
|
|
2491
|
-
organization: json["organization"] == null ? undefined : OrganizationFromJSON(json["organization"]),
|
|
2492
|
-
isVisible: json["isVisible"] == null ? undefined : json["isVisible"],
|
|
2493
|
-
createdBy: json["createdBy"],
|
|
2494
|
-
createdOn: new Date(json["createdOn"]),
|
|
2495
|
-
updatedBy: json["updatedBy"] == null ? undefined : json["updatedBy"],
|
|
2496
|
-
updatedOn: json["updatedOn"] == null ? undefined : new Date(json["updatedOn"])
|
|
2497
|
-
};
|
|
2498
|
-
}
|
|
2499
|
-
function OrganizationServiceInstanceToJSON(json) {
|
|
2500
|
-
return OrganizationServiceInstanceToJSONTyped(json, false);
|
|
2501
|
-
}
|
|
2502
|
-
function OrganizationServiceInstanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2503
|
-
if (value == null) {
|
|
2504
|
-
return value;
|
|
2505
|
-
}
|
|
2506
|
-
return {
|
|
2507
|
-
uri: value["uri"],
|
|
2508
|
-
region: RegionToJSON(value["region"]),
|
|
2509
|
-
id: value["id"],
|
|
2510
|
-
sequenceId: value["sequenceId"],
|
|
2511
|
-
status: ServiceStatusToJSON(value["status"]),
|
|
2512
1294
|
serviceType: value["serviceType"],
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
createdBy: value["createdBy"],
|
|
2518
|
-
createdOn: value["createdOn"].toISOString(),
|
|
2519
|
-
updatedBy: value["updatedBy"],
|
|
2520
|
-
updatedOn: value["updatedOn"] == null ? value["updatedOn"] : value["updatedOn"].toISOString()
|
|
1295
|
+
scope: value["scope"],
|
|
1296
|
+
targetStatus: value["targetStatus"],
|
|
1297
|
+
reason: value["reason"],
|
|
1298
|
+
operationId: value["operationId"]
|
|
2521
1299
|
};
|
|
2522
1300
|
}
|
|
2523
1301
|
|
|
2524
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
2525
|
-
function
|
|
2526
|
-
|
|
2527
|
-
return false;
|
|
2528
|
-
if (!("propertyKey" in value) || value["propertyKey"] === undefined)
|
|
2529
|
-
return false;
|
|
2530
|
-
if (!("propertyValue" in value) || value["propertyValue"] === undefined)
|
|
2531
|
-
return false;
|
|
2532
|
-
return true;
|
|
2533
|
-
}
|
|
2534
|
-
function OrganizationPropertiesFromJSON(json) {
|
|
2535
|
-
return OrganizationPropertiesFromJSONTyped(json, false);
|
|
2536
|
-
}
|
|
2537
|
-
function OrganizationPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
2538
|
-
if (json == null) {
|
|
2539
|
-
return json;
|
|
2540
|
-
}
|
|
2541
|
-
return {
|
|
2542
|
-
organizationId: json["organizationId"],
|
|
2543
|
-
propertyKey: json["propertyKey"],
|
|
2544
|
-
propertyValue: json["propertyValue"]
|
|
2545
|
-
};
|
|
2546
|
-
}
|
|
2547
|
-
function OrganizationPropertiesToJSON(json) {
|
|
2548
|
-
return OrganizationPropertiesToJSONTyped(json, false);
|
|
1302
|
+
// ../oms-sdk/generated/v1/src/models/SetTenantMaintenanceDto.ts
|
|
1303
|
+
function SetTenantMaintenanceDtoToJSON(json) {
|
|
1304
|
+
return SetTenantMaintenanceDtoToJSONTyped(json, false);
|
|
2549
1305
|
}
|
|
2550
|
-
function
|
|
1306
|
+
function SetTenantMaintenanceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2551
1307
|
if (value == null) {
|
|
2552
1308
|
return value;
|
|
2553
1309
|
}
|
|
2554
1310
|
return {
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
propertyValue: value["propertyValue"]
|
|
1311
|
+
isTenantInMaintenance: value["isTenantInMaintenance"],
|
|
1312
|
+
previousTenantStatus: value["previousTenantStatus"]
|
|
2558
1313
|
};
|
|
2559
1314
|
}
|
|
2560
1315
|
|
|
2561
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
2562
|
-
function
|
|
2563
|
-
|
|
2564
|
-
return false;
|
|
2565
|
-
return true;
|
|
2566
|
-
}
|
|
2567
|
-
function OrganizationFromJSON(json) {
|
|
2568
|
-
return OrganizationFromJSONTyped2(json, false);
|
|
2569
|
-
}
|
|
2570
|
-
function OrganizationFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2571
|
-
if (json == null) {
|
|
2572
|
-
return json;
|
|
2573
|
-
}
|
|
2574
|
-
return {
|
|
2575
|
-
id: json["id"],
|
|
2576
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
2577
|
-
status: json["status"] == null ? undefined : OrganizationStatusFromJSON(json["status"]),
|
|
2578
|
-
createdOn: json["createdOn"] == null ? undefined : new Date(json["createdOn"]),
|
|
2579
|
-
createdBy: json["createdBy"] == null ? undefined : json["createdBy"],
|
|
2580
|
-
companyEmail: json["companyEmail"] == null ? undefined : json["companyEmail"],
|
|
2581
|
-
country: json["country"] == null ? undefined : json["country"],
|
|
2582
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"]),
|
|
2583
|
-
language: json["language"] == null ? undefined : json["language"],
|
|
2584
|
-
updatedBy: json["updatedBy"] == null ? undefined : json["updatedBy"],
|
|
2585
|
-
updatedOn: json["updatedOn"] == null ? undefined : new Date(json["updatedOn"]),
|
|
2586
|
-
logicalName: json["logicalName"] == null ? undefined : json["logicalName"],
|
|
2587
|
-
tenantsUrl: json["tenantsUrl"] == null ? undefined : json["tenantsUrl"],
|
|
2588
|
-
organizationServiceInstances: json["organizationServiceInstances"] == null ? undefined : json["organizationServiceInstances"].map(OrganizationServiceInstanceFromJSON),
|
|
2589
|
-
organizationProperties: json["organizationProperties"] == null ? undefined : json["organizationProperties"].map(OrganizationPropertiesFromJSON)
|
|
2590
|
-
};
|
|
2591
|
-
}
|
|
2592
|
-
function OrganizationToJSON(json) {
|
|
2593
|
-
return OrganizationToJSONTyped2(json, false);
|
|
1316
|
+
// ../oms-sdk/generated/v1/src/models/TenantUpdateDto.ts
|
|
1317
|
+
function TenantUpdateDtoToJSON(json) {
|
|
1318
|
+
return TenantUpdateDtoToJSONTyped(json, false);
|
|
2594
1319
|
}
|
|
2595
|
-
function
|
|
1320
|
+
function TenantUpdateDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2596
1321
|
if (value == null) {
|
|
2597
1322
|
return value;
|
|
2598
1323
|
}
|
|
2599
1324
|
return {
|
|
2600
|
-
id: value["id"],
|
|
2601
1325
|
name: value["name"],
|
|
2602
|
-
|
|
2603
|
-
createdOn: value["createdOn"] == null ? value["createdOn"] : value["createdOn"].toISOString(),
|
|
2604
|
-
createdBy: value["createdBy"],
|
|
2605
|
-
companyEmail: value["companyEmail"],
|
|
2606
|
-
country: value["country"],
|
|
2607
|
-
region: RegionToJSON(value["region"]),
|
|
2608
|
-
language: value["language"],
|
|
2609
|
-
updatedBy: value["updatedBy"],
|
|
2610
|
-
updatedOn: value["updatedOn"] == null ? value["updatedOn"] : value["updatedOn"].toISOString(),
|
|
2611
|
-
logicalName: value["logicalName"],
|
|
2612
|
-
tenantsUrl: value["tenantsUrl"],
|
|
2613
|
-
organizationServiceInstances: value["organizationServiceInstances"] == null ? undefined : value["organizationServiceInstances"].map(OrganizationServiceInstanceToJSON),
|
|
2614
|
-
organizationProperties: value["organizationProperties"] == null ? undefined : value["organizationProperties"].map(OrganizationPropertiesToJSON)
|
|
2615
|
-
};
|
|
2616
|
-
}
|
|
2617
|
-
|
|
2618
|
-
// ../oms-sdk/generated/v1/src/models/GetAllOrgsPaginatedReponseDto.ts
|
|
2619
|
-
function instanceOfGetAllOrgsPaginatedReponseDto(value) {
|
|
2620
|
-
return true;
|
|
2621
|
-
}
|
|
2622
|
-
function GetAllOrgsPaginatedReponseDtoFromJSON(json) {
|
|
2623
|
-
return GetAllOrgsPaginatedReponseDtoFromJSONTyped(json, false);
|
|
2624
|
-
}
|
|
2625
|
-
function GetAllOrgsPaginatedReponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2626
|
-
if (json == null) {
|
|
2627
|
-
return json;
|
|
2628
|
-
}
|
|
2629
|
-
return {
|
|
2630
|
-
totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
|
|
2631
|
-
results: json["results"] == null ? undefined : json["results"].map(OrganizationFromJSON)
|
|
2632
|
-
};
|
|
2633
|
-
}
|
|
2634
|
-
function GetAllOrgsPaginatedReponseDtoToJSON(json) {
|
|
2635
|
-
return GetAllOrgsPaginatedReponseDtoToJSONTyped(json, false);
|
|
2636
|
-
}
|
|
2637
|
-
function GetAllOrgsPaginatedReponseDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2638
|
-
if (value == null) {
|
|
2639
|
-
return value;
|
|
2640
|
-
}
|
|
2641
|
-
return {
|
|
2642
|
-
totalCount: value["totalCount"],
|
|
2643
|
-
results: value["results"] == null ? undefined : value["results"].map(OrganizationToJSON)
|
|
2644
|
-
};
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2647
|
-
// ../oms-sdk/generated/v1/src/models/LightweightServiceDto.ts
|
|
2648
|
-
function instanceOfLightweightServiceDto(value) {
|
|
2649
|
-
return true;
|
|
2650
|
-
}
|
|
2651
|
-
function LightweightServiceDtoFromJSON(json) {
|
|
2652
|
-
return LightweightServiceDtoFromJSONTyped(json, false);
|
|
2653
|
-
}
|
|
2654
|
-
function LightweightServiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2655
|
-
if (json == null) {
|
|
2656
|
-
return json;
|
|
2657
|
-
}
|
|
2658
|
-
return {
|
|
2659
|
-
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
2660
|
-
url: json["url"] == null ? undefined : json["url"],
|
|
2661
|
-
status: json["status"] == null ? undefined : ServiceDtoStatusFromJSON(json["status"])
|
|
2662
|
-
};
|
|
2663
|
-
}
|
|
2664
|
-
function LightweightServiceDtoToJSON(json) {
|
|
2665
|
-
return LightweightServiceDtoToJSONTyped(json, false);
|
|
2666
|
-
}
|
|
2667
|
-
function LightweightServiceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2668
|
-
if (value == null) {
|
|
2669
|
-
return value;
|
|
2670
|
-
}
|
|
2671
|
-
return {
|
|
2672
|
-
serviceType: value["serviceType"],
|
|
2673
|
-
url: value["url"],
|
|
2674
|
-
status: ServiceDtoStatusToJSON(value["status"])
|
|
2675
|
-
};
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2678
|
-
// ../oms-sdk/generated/v1/src/models/MLServiceDetailsDto.ts
|
|
2679
|
-
function instanceOfMLServiceDetailsDto(value) {
|
|
2680
|
-
return true;
|
|
2681
|
-
}
|
|
2682
|
-
function MLServiceDetailsDtoFromJSON(json) {
|
|
2683
|
-
return MLServiceDetailsDtoFromJSONTyped(json, false);
|
|
2684
|
-
}
|
|
2685
|
-
function MLServiceDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2686
|
-
if (json == null) {
|
|
2687
|
-
return json;
|
|
2688
|
-
}
|
|
2689
|
-
return {
|
|
2690
|
-
accountId: json["accountId"] == null ? undefined : json["accountId"],
|
|
2691
|
-
accountGlobalId: json["accountGlobalId"] == null ? undefined : json["accountGlobalId"],
|
|
2692
|
-
licenseStatus: json["licenseStatus"] == null ? undefined : json["licenseStatus"],
|
|
2693
|
-
subscriptionPlan: json["subscriptionPlan"] == null ? undefined : json["subscriptionPlan"],
|
|
2694
|
-
licenseCount: json["licenseCount"] == null ? undefined : json["licenseCount"],
|
|
2695
|
-
licenseType: json["licenseType"] == null ? undefined : ApiKeyTypeFromJSON(json["licenseType"])
|
|
2696
|
-
};
|
|
2697
|
-
}
|
|
2698
|
-
function MLServiceDetailsDtoToJSON(json) {
|
|
2699
|
-
return MLServiceDetailsDtoToJSONTyped(json, false);
|
|
2700
|
-
}
|
|
2701
|
-
function MLServiceDetailsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2702
|
-
if (value == null) {
|
|
2703
|
-
return value;
|
|
2704
|
-
}
|
|
2705
|
-
return {
|
|
2706
|
-
accountId: value["accountId"],
|
|
2707
|
-
accountGlobalId: value["accountGlobalId"],
|
|
2708
|
-
licenseStatus: value["licenseStatus"],
|
|
2709
|
-
subscriptionPlan: value["subscriptionPlan"],
|
|
2710
|
-
licenseCount: value["licenseCount"],
|
|
2711
|
-
licenseType: ApiKeyTypeToJSON(value["licenseType"])
|
|
2712
|
-
};
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
|
-
// ../oms-sdk/generated/v1/src/models/ProductRequested.ts
|
|
2716
|
-
function instanceOfProductRequested(value) {
|
|
2717
|
-
return true;
|
|
2718
|
-
}
|
|
2719
|
-
function ProductRequestedFromJSON(json) {
|
|
2720
|
-
return ProductRequestedFromJSONTyped(json, false);
|
|
2721
|
-
}
|
|
2722
|
-
function ProductRequestedFromJSONTyped(json, ignoreDiscriminator) {
|
|
2723
|
-
if (json == null) {
|
|
2724
|
-
return json;
|
|
2725
|
-
}
|
|
2726
|
-
return {
|
|
2727
|
-
code: json["code"] == null ? undefined : json["code"],
|
|
2728
|
-
quantity: json["quantity"] == null ? undefined : json["quantity"]
|
|
2729
|
-
};
|
|
2730
|
-
}
|
|
2731
|
-
function ProductRequestedToJSON(json) {
|
|
2732
|
-
return ProductRequestedToJSONTyped(json, false);
|
|
2733
|
-
}
|
|
2734
|
-
function ProductRequestedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2735
|
-
if (value == null) {
|
|
2736
|
-
return value;
|
|
2737
|
-
}
|
|
2738
|
-
return {
|
|
2739
|
-
code: value["code"],
|
|
2740
|
-
quantity: value["quantity"]
|
|
2741
|
-
};
|
|
2742
|
-
}
|
|
2743
|
-
|
|
2744
|
-
// ../oms-sdk/generated/v1/src/models/RegionDto.ts
|
|
2745
|
-
function instanceOfRegionDto(value) {
|
|
2746
|
-
return true;
|
|
2747
|
-
}
|
|
2748
|
-
function RegionDtoFromJSON(json) {
|
|
2749
|
-
return RegionDtoFromJSONTyped(json, false);
|
|
2750
|
-
}
|
|
2751
|
-
function RegionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2752
|
-
if (json == null) {
|
|
2753
|
-
return json;
|
|
2754
|
-
}
|
|
2755
|
-
return {
|
|
2756
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"])
|
|
2757
|
-
};
|
|
2758
|
-
}
|
|
2759
|
-
function RegionDtoToJSON(json) {
|
|
2760
|
-
return RegionDtoToJSONTyped(json, false);
|
|
2761
|
-
}
|
|
2762
|
-
function RegionDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2763
|
-
if (value == null) {
|
|
2764
|
-
return value;
|
|
2765
|
-
}
|
|
2766
|
-
return {
|
|
2767
|
-
region: RegionToJSON(value["region"])
|
|
2768
|
-
};
|
|
2769
|
-
}
|
|
2770
|
-
|
|
2771
|
-
// ../oms-sdk/generated/v1/src/models/RequestType.ts
|
|
2772
|
-
var RequestType = {
|
|
2773
|
-
None: "None",
|
|
2774
|
-
Callback: "Callback"
|
|
2775
|
-
};
|
|
2776
|
-
function instanceOfRequestType(value) {
|
|
2777
|
-
for (const key in RequestType) {
|
|
2778
|
-
if (Object.prototype.hasOwnProperty.call(RequestType, key)) {
|
|
2779
|
-
if (RequestType[key] === value) {
|
|
2780
|
-
return true;
|
|
2781
|
-
}
|
|
2782
|
-
}
|
|
2783
|
-
}
|
|
2784
|
-
return false;
|
|
2785
|
-
}
|
|
2786
|
-
function RequestTypeFromJSON(json) {
|
|
2787
|
-
return RequestTypeFromJSONTyped(json, false);
|
|
2788
|
-
}
|
|
2789
|
-
function RequestTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
2790
|
-
return json;
|
|
2791
|
-
}
|
|
2792
|
-
function RequestTypeToJSON(value) {
|
|
2793
|
-
return value;
|
|
2794
|
-
}
|
|
2795
|
-
function RequestTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
2796
|
-
return value;
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
// ../oms-sdk/generated/v1/src/models/SAPTenantCALMInfoDto.ts
|
|
2800
|
-
function instanceOfSAPTenantCALMInfoDto(value) {
|
|
2801
|
-
return true;
|
|
2802
|
-
}
|
|
2803
|
-
function SAPTenantCALMInfoDtoFromJSON(json) {
|
|
2804
|
-
return SAPTenantCALMInfoDtoFromJSONTyped(json, false);
|
|
2805
|
-
}
|
|
2806
|
-
function SAPTenantCALMInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2807
|
-
if (json == null) {
|
|
2808
|
-
return json;
|
|
2809
|
-
}
|
|
2810
|
-
return {
|
|
2811
|
-
cALMAPIENDPOINT: json["CALM_API_ENDPOINT"] == null ? undefined : json["CALM_API_ENDPOINT"],
|
|
2812
|
-
cALMUAACLIENTID: json["CALM_UAA_CLIENTID"] == null ? undefined : json["CALM_UAA_CLIENTID"],
|
|
2813
|
-
cALMUAACLIENTSECRET: json["CALM_UAA_CLIENTSECRET"] == null ? undefined : json["CALM_UAA_CLIENTSECRET"],
|
|
2814
|
-
uIPATHLMSID: json["UIPATH_LMS_ID"] == null ? undefined : json["UIPATH_LMS_ID"],
|
|
2815
|
-
cALMUAAURL: json["CALM_UAA_URL"] == null ? undefined : json["CALM_UAA_URL"]
|
|
2816
|
-
};
|
|
2817
|
-
}
|
|
2818
|
-
function SAPTenantCALMInfoDtoToJSON(json) {
|
|
2819
|
-
return SAPTenantCALMInfoDtoToJSONTyped(json, false);
|
|
2820
|
-
}
|
|
2821
|
-
function SAPTenantCALMInfoDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2822
|
-
if (value == null) {
|
|
2823
|
-
return value;
|
|
2824
|
-
}
|
|
2825
|
-
return {
|
|
2826
|
-
CALM_API_ENDPOINT: value["cALMAPIENDPOINT"],
|
|
2827
|
-
CALM_UAA_CLIENTID: value["cALMUAACLIENTID"],
|
|
2828
|
-
CALM_UAA_CLIENTSECRET: value["cALMUAACLIENTSECRET"],
|
|
2829
|
-
UIPATH_LMS_ID: value["uIPATHLMSID"],
|
|
2830
|
-
CALM_UAA_URL: value["cALMUAAURL"]
|
|
2831
|
-
};
|
|
2832
|
-
}
|
|
2833
|
-
|
|
2834
|
-
// ../oms-sdk/generated/v1/src/models/ScaleUnitDto.ts
|
|
2835
|
-
function instanceOfScaleUnitDto(value) {
|
|
2836
|
-
return true;
|
|
2837
|
-
}
|
|
2838
|
-
function ScaleUnitDtoFromJSON(json) {
|
|
2839
|
-
return ScaleUnitDtoFromJSONTyped(json, false);
|
|
2840
|
-
}
|
|
2841
|
-
function ScaleUnitDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2842
|
-
if (json == null) {
|
|
2843
|
-
return json;
|
|
2844
|
-
}
|
|
2845
|
-
return {
|
|
2846
|
-
id: json["id"] == null ? undefined : json["id"],
|
|
2847
|
-
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
2848
|
-
region: json["region"] == null ? undefined : json["region"]
|
|
2849
|
-
};
|
|
2850
|
-
}
|
|
2851
|
-
function ScaleUnitDtoToJSON(json) {
|
|
2852
|
-
return ScaleUnitDtoToJSONTyped(json, false);
|
|
2853
|
-
}
|
|
2854
|
-
function ScaleUnitDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2855
|
-
if (value == null) {
|
|
2856
|
-
return value;
|
|
2857
|
-
}
|
|
2858
|
-
return {
|
|
2859
|
-
id: value["id"],
|
|
2860
|
-
serviceType: value["serviceType"],
|
|
2861
|
-
region: value["region"]
|
|
2862
|
-
};
|
|
2863
|
-
}
|
|
2864
|
-
|
|
2865
|
-
// ../oms-sdk/generated/v1/src/models/Scope.ts
|
|
2866
|
-
var Scope = {
|
|
2867
|
-
Unknown: "Unknown",
|
|
2868
|
-
Account: "Account",
|
|
2869
|
-
Tenant: "Tenant"
|
|
2870
|
-
};
|
|
2871
|
-
function instanceOfScope(value) {
|
|
2872
|
-
for (const key in Scope) {
|
|
2873
|
-
if (Object.prototype.hasOwnProperty.call(Scope, key)) {
|
|
2874
|
-
if (Scope[key] === value) {
|
|
2875
|
-
return true;
|
|
2876
|
-
}
|
|
2877
|
-
}
|
|
2878
|
-
}
|
|
2879
|
-
return false;
|
|
2880
|
-
}
|
|
2881
|
-
function ScopeFromJSON(json) {
|
|
2882
|
-
return ScopeFromJSONTyped(json, false);
|
|
2883
|
-
}
|
|
2884
|
-
function ScopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
2885
|
-
return json;
|
|
2886
|
-
}
|
|
2887
|
-
function ScopeToJSON(value) {
|
|
2888
|
-
return value;
|
|
2889
|
-
}
|
|
2890
|
-
function ScopeToJSONTyped(value, ignoreDiscriminator) {
|
|
2891
|
-
return value;
|
|
2892
|
-
}
|
|
2893
|
-
|
|
2894
|
-
// ../oms-sdk/generated/v1/src/models/ServiceBackFillRequestDto.ts
|
|
2895
|
-
function instanceOfServiceBackFillRequestDto(value) {
|
|
2896
|
-
return true;
|
|
2897
|
-
}
|
|
2898
|
-
function ServiceBackFillRequestDtoFromJSON(json) {
|
|
2899
|
-
return ServiceBackFillRequestDtoFromJSONTyped(json, false);
|
|
2900
|
-
}
|
|
2901
|
-
function ServiceBackFillRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2902
|
-
if (json == null) {
|
|
2903
|
-
return json;
|
|
2904
|
-
}
|
|
2905
|
-
return {
|
|
2906
|
-
serviceName: json["serviceName"] == null ? undefined : json["serviceName"],
|
|
2907
|
-
targetEntities: json["targetEntities"] == null ? undefined : json["targetEntities"],
|
|
2908
|
-
ifDryRun: json["ifDryRun"] == null ? undefined : json["ifDryRun"],
|
|
2909
|
-
minimumSubscriptionType: json["minimumSubscriptionType"] == null ? undefined : SubscriptionTypeFromJSON(json["minimumSubscriptionType"])
|
|
2910
|
-
};
|
|
2911
|
-
}
|
|
2912
|
-
function ServiceBackFillRequestDtoToJSON(json) {
|
|
2913
|
-
return ServiceBackFillRequestDtoToJSONTyped(json, false);
|
|
2914
|
-
}
|
|
2915
|
-
function ServiceBackFillRequestDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2916
|
-
if (value == null) {
|
|
2917
|
-
return value;
|
|
2918
|
-
}
|
|
2919
|
-
return {
|
|
2920
|
-
serviceName: value["serviceName"],
|
|
2921
|
-
targetEntities: value["targetEntities"],
|
|
2922
|
-
ifDryRun: value["ifDryRun"],
|
|
2923
|
-
minimumSubscriptionType: SubscriptionTypeToJSON(value["minimumSubscriptionType"])
|
|
2924
|
-
};
|
|
2925
|
-
}
|
|
2926
|
-
|
|
2927
|
-
// ../oms-sdk/generated/v1/src/models/ServiceInstanceStatus.ts
|
|
2928
|
-
var ServiceInstanceStatus = {
|
|
2929
|
-
Enabling: "Enabling",
|
|
2930
|
-
Enabled: "Enabled",
|
|
2931
|
-
Disabling: "Disabling",
|
|
2932
|
-
Disabled: "Disabled",
|
|
2933
|
-
Deleting: "Deleting",
|
|
2934
|
-
Deleted: "Deleted"
|
|
2935
|
-
};
|
|
2936
|
-
function instanceOfServiceInstanceStatus(value) {
|
|
2937
|
-
for (const key in ServiceInstanceStatus) {
|
|
2938
|
-
if (Object.prototype.hasOwnProperty.call(ServiceInstanceStatus, key)) {
|
|
2939
|
-
if (ServiceInstanceStatus[key] === value) {
|
|
2940
|
-
return true;
|
|
2941
|
-
}
|
|
2942
|
-
}
|
|
2943
|
-
}
|
|
2944
|
-
return false;
|
|
2945
|
-
}
|
|
2946
|
-
function ServiceInstanceStatusFromJSON(json) {
|
|
2947
|
-
return ServiceInstanceStatusFromJSONTyped(json, false);
|
|
2948
|
-
}
|
|
2949
|
-
function ServiceInstanceStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
2950
|
-
return json;
|
|
2951
|
-
}
|
|
2952
|
-
function ServiceInstanceStatusToJSON(value) {
|
|
2953
|
-
return value;
|
|
2954
|
-
}
|
|
2955
|
-
function ServiceInstanceStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
2956
|
-
return value;
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
// ../oms-sdk/generated/v1/src/models/ServiceInstanceUpdateDto.ts
|
|
2960
|
-
function instanceOfServiceInstanceUpdateDto(value) {
|
|
2961
|
-
return true;
|
|
2962
|
-
}
|
|
2963
|
-
function ServiceInstanceUpdateDtoFromJSON(json) {
|
|
2964
|
-
return ServiceInstanceUpdateDtoFromJSONTyped(json, false);
|
|
2965
|
-
}
|
|
2966
|
-
function ServiceInstanceUpdateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
2967
|
-
if (json == null) {
|
|
2968
|
-
return json;
|
|
2969
|
-
}
|
|
2970
|
-
return {
|
|
2971
|
-
status: json["status"] == null ? undefined : ServiceInstanceStatusFromJSON(json["status"]),
|
|
2972
|
-
isHardDelete: json["isHardDelete"] == null ? undefined : json["isHardDelete"],
|
|
2973
|
-
routingAddressId: json["routingAddressId"] == null ? undefined : json["routingAddressId"],
|
|
2974
|
-
managementAddressId: json["managementAddressId"] == null ? undefined : json["managementAddressId"]
|
|
2975
|
-
};
|
|
2976
|
-
}
|
|
2977
|
-
function ServiceInstanceUpdateDtoToJSON(json) {
|
|
2978
|
-
return ServiceInstanceUpdateDtoToJSONTyped(json, false);
|
|
2979
|
-
}
|
|
2980
|
-
function ServiceInstanceUpdateDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2981
|
-
if (value == null) {
|
|
2982
|
-
return value;
|
|
2983
|
-
}
|
|
2984
|
-
return {
|
|
2985
|
-
status: ServiceInstanceStatusToJSON(value["status"]),
|
|
2986
|
-
isHardDelete: value["isHardDelete"],
|
|
2987
|
-
routingAddressId: value["routingAddressId"],
|
|
2988
|
-
managementAddressId: value["managementAddressId"]
|
|
2989
|
-
};
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
// ../oms-sdk/generated/v1/src/models/ServiceStatusUpdateDto.ts
|
|
2993
|
-
function instanceOfServiceStatusUpdateDto(value) {
|
|
2994
|
-
return true;
|
|
2995
|
-
}
|
|
2996
|
-
function ServiceStatusUpdateDtoFromJSON(json) {
|
|
2997
|
-
return ServiceStatusUpdateDtoFromJSONTyped(json, false);
|
|
2998
|
-
}
|
|
2999
|
-
function ServiceStatusUpdateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3000
|
-
if (json == null) {
|
|
3001
|
-
return json;
|
|
3002
|
-
}
|
|
3003
|
-
return {
|
|
3004
|
-
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
3005
|
-
scope: json["scope"] == null ? undefined : json["scope"],
|
|
3006
|
-
targetStatus: json["targetStatus"] == null ? undefined : json["targetStatus"],
|
|
3007
|
-
reason: json["reason"] == null ? undefined : json["reason"],
|
|
3008
|
-
operationId: json["operationId"] == null ? undefined : json["operationId"]
|
|
3009
|
-
};
|
|
3010
|
-
}
|
|
3011
|
-
function ServiceStatusUpdateDtoToJSON(json) {
|
|
3012
|
-
return ServiceStatusUpdateDtoToJSONTyped(json, false);
|
|
3013
|
-
}
|
|
3014
|
-
function ServiceStatusUpdateDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3015
|
-
if (value == null) {
|
|
3016
|
-
return value;
|
|
3017
|
-
}
|
|
3018
|
-
return {
|
|
3019
|
-
serviceType: value["serviceType"],
|
|
3020
|
-
scope: value["scope"],
|
|
3021
|
-
targetStatus: value["targetStatus"],
|
|
3022
|
-
reason: value["reason"],
|
|
3023
|
-
operationId: value["operationId"]
|
|
3024
|
-
};
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
// ../oms-sdk/generated/v1/src/models/SetTenantMaintenanceDto.ts
|
|
3028
|
-
function instanceOfSetTenantMaintenanceDto(value) {
|
|
3029
|
-
return true;
|
|
3030
|
-
}
|
|
3031
|
-
function SetTenantMaintenanceDtoFromJSON(json) {
|
|
3032
|
-
return SetTenantMaintenanceDtoFromJSONTyped(json, false);
|
|
3033
|
-
}
|
|
3034
|
-
function SetTenantMaintenanceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3035
|
-
if (json == null) {
|
|
3036
|
-
return json;
|
|
3037
|
-
}
|
|
3038
|
-
return {
|
|
3039
|
-
isTenantInMaintenance: json["isTenantInMaintenance"] == null ? undefined : json["isTenantInMaintenance"],
|
|
3040
|
-
previousTenantStatus: json["previousTenantStatus"] == null ? undefined : json["previousTenantStatus"]
|
|
3041
|
-
};
|
|
3042
|
-
}
|
|
3043
|
-
function SetTenantMaintenanceDtoToJSON(json) {
|
|
3044
|
-
return SetTenantMaintenanceDtoToJSONTyped(json, false);
|
|
3045
|
-
}
|
|
3046
|
-
function SetTenantMaintenanceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3047
|
-
if (value == null) {
|
|
3048
|
-
return value;
|
|
3049
|
-
}
|
|
3050
|
-
return {
|
|
3051
|
-
isTenantInMaintenance: value["isTenantInMaintenance"],
|
|
3052
|
-
previousTenantStatus: value["previousTenantStatus"]
|
|
3053
|
-
};
|
|
3054
|
-
}
|
|
3055
|
-
|
|
3056
|
-
// ../oms-sdk/generated/v1/src/models/SortOrder.ts
|
|
3057
|
-
var SortOrder = {
|
|
3058
|
-
Asc: "Asc",
|
|
3059
|
-
Desc: "Desc"
|
|
3060
|
-
};
|
|
3061
|
-
function instanceOfSortOrder(value) {
|
|
3062
|
-
for (const key in SortOrder) {
|
|
3063
|
-
if (Object.prototype.hasOwnProperty.call(SortOrder, key)) {
|
|
3064
|
-
if (SortOrder[key] === value) {
|
|
3065
|
-
return true;
|
|
3066
|
-
}
|
|
3067
|
-
}
|
|
3068
|
-
}
|
|
3069
|
-
return false;
|
|
3070
|
-
}
|
|
3071
|
-
function SortOrderFromJSON(json) {
|
|
3072
|
-
return SortOrderFromJSONTyped(json, false);
|
|
3073
|
-
}
|
|
3074
|
-
function SortOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
3075
|
-
return json;
|
|
3076
|
-
}
|
|
3077
|
-
function SortOrderToJSON(value) {
|
|
3078
|
-
return value;
|
|
3079
|
-
}
|
|
3080
|
-
function SortOrderToJSONTyped(value, ignoreDiscriminator) {
|
|
3081
|
-
return value;
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
|
-
// ../oms-sdk/generated/v1/src/models/StudioDownloadedDto.ts
|
|
3085
|
-
function instanceOfStudioDownloadedDto(value) {
|
|
3086
|
-
return true;
|
|
3087
|
-
}
|
|
3088
|
-
function StudioDownloadedDtoFromJSON(json) {
|
|
3089
|
-
return StudioDownloadedDtoFromJSONTyped(json, false);
|
|
3090
|
-
}
|
|
3091
|
-
function StudioDownloadedDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3092
|
-
if (json == null) {
|
|
3093
|
-
return json;
|
|
3094
|
-
}
|
|
3095
|
-
return {
|
|
3096
|
-
userId: json["userId"] == null ? undefined : json["userId"],
|
|
3097
|
-
firstName: json["firstName"] == null ? undefined : json["firstName"],
|
|
3098
|
-
lastName: json["lastName"] == null ? undefined : json["lastName"],
|
|
3099
|
-
email: json["email"] == null ? undefined : json["email"],
|
|
3100
|
-
accountId: json["accountId"] == null ? undefined : json["accountId"],
|
|
3101
|
-
accountUrl: json["accountUrl"] == null ? undefined : json["accountUrl"],
|
|
3102
|
-
organizationName: json["organizationName"] == null ? undefined : json["organizationName"],
|
|
3103
|
-
edition: json["edition"] == null ? undefined : json["edition"],
|
|
3104
|
-
userLanguage: json["userLanguage"] == null ? undefined : json["userLanguage"],
|
|
3105
|
-
country: json["country"] == null ? undefined : json["country"]
|
|
3106
|
-
};
|
|
3107
|
-
}
|
|
3108
|
-
function StudioDownloadedDtoToJSON(json) {
|
|
3109
|
-
return StudioDownloadedDtoToJSONTyped(json, false);
|
|
3110
|
-
}
|
|
3111
|
-
function StudioDownloadedDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3112
|
-
if (value == null) {
|
|
3113
|
-
return value;
|
|
3114
|
-
}
|
|
3115
|
-
return {
|
|
3116
|
-
userId: value["userId"],
|
|
3117
|
-
firstName: value["firstName"],
|
|
3118
|
-
lastName: value["lastName"],
|
|
3119
|
-
email: value["email"],
|
|
3120
|
-
accountId: value["accountId"],
|
|
3121
|
-
accountUrl: value["accountUrl"],
|
|
3122
|
-
organizationName: value["organizationName"],
|
|
3123
|
-
edition: value["edition"],
|
|
3124
|
-
userLanguage: value["userLanguage"],
|
|
3125
|
-
country: value["country"]
|
|
3126
|
-
};
|
|
3127
|
-
}
|
|
3128
|
-
|
|
3129
|
-
// ../oms-sdk/generated/v1/src/models/TenantUpdateDto.ts
|
|
3130
|
-
function instanceOfTenantUpdateDto(value) {
|
|
3131
|
-
return true;
|
|
3132
|
-
}
|
|
3133
|
-
function TenantUpdateDtoFromJSON(json) {
|
|
3134
|
-
return TenantUpdateDtoFromJSONTyped(json, false);
|
|
3135
|
-
}
|
|
3136
|
-
function TenantUpdateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3137
|
-
if (json == null) {
|
|
3138
|
-
return json;
|
|
3139
|
-
}
|
|
3140
|
-
return {
|
|
3141
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
3142
|
-
color: json["color"] == null ? undefined : json["color"],
|
|
3143
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"]),
|
|
3144
|
-
services: json["services"] == null ? undefined : json["services"],
|
|
3145
|
-
customProperties: json["customProperties"] == null ? undefined : json["customProperties"],
|
|
3146
|
-
environment: json["environment"] == null ? undefined : EnvironmentTagFromJSON(json["environment"])
|
|
3147
|
-
};
|
|
3148
|
-
}
|
|
3149
|
-
function TenantUpdateDtoToJSON(json) {
|
|
3150
|
-
return TenantUpdateDtoToJSONTyped(json, false);
|
|
3151
|
-
}
|
|
3152
|
-
function TenantUpdateDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3153
|
-
if (value == null) {
|
|
3154
|
-
return value;
|
|
3155
|
-
}
|
|
3156
|
-
return {
|
|
3157
|
-
name: value["name"],
|
|
3158
|
-
color: value["color"],
|
|
1326
|
+
color: value["color"],
|
|
3159
1327
|
region: RegionToJSON(value["region"]),
|
|
3160
1328
|
services: value["services"],
|
|
3161
1329
|
customProperties: value["customProperties"],
|
|
3162
|
-
environment: EnvironmentTagToJSON(value["environment"])
|
|
3163
|
-
};
|
|
3164
|
-
}
|
|
3165
|
-
|
|
3166
|
-
// ../oms-sdk/generated/v1/src/models/
|
|
3167
|
-
function
|
|
3168
|
-
return
|
|
3169
|
-
}
|
|
3170
|
-
function
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
function UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
3174
|
-
if (json == null) {
|
|
3175
|
-
return json;
|
|
3176
|
-
}
|
|
3177
|
-
return {
|
|
3178
|
-
organizationId: json["organizationId"] == null ? undefined : json["organizationId"],
|
|
3179
|
-
deletionTime: json["deletionTime"] == null ? undefined : new Date(json["deletionTime"]),
|
|
3180
|
-
isHardDelete: json["isHardDelete"] == null ? undefined : json["isHardDelete"]
|
|
3181
|
-
};
|
|
3182
|
-
}
|
|
3183
|
-
function UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSON(json) {
|
|
3184
|
-
return UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSONTyped(json, false);
|
|
3185
|
-
}
|
|
3186
|
-
function UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3187
|
-
if (value == null) {
|
|
3188
|
-
return value;
|
|
3189
|
-
}
|
|
3190
|
-
return {
|
|
3191
|
-
organizationId: value["organizationId"],
|
|
3192
|
-
deletionTime: value["deletionTime"] == null ? value["deletionTime"] : value["deletionTime"].toISOString(),
|
|
3193
|
-
isHardDelete: value["isHardDelete"]
|
|
3194
|
-
};
|
|
3195
|
-
}
|
|
3196
|
-
|
|
3197
|
-
// ../oms-sdk/generated/v1/src/models/UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommand.ts
|
|
3198
|
-
function instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommand(value) {
|
|
3199
|
-
return true;
|
|
3200
|
-
}
|
|
3201
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSON(json) {
|
|
3202
|
-
return UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSONTyped(json, false);
|
|
3203
|
-
}
|
|
3204
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
3205
|
-
if (json == null) {
|
|
3206
|
-
return json;
|
|
3207
|
-
}
|
|
3208
|
-
return {
|
|
3209
|
-
isHardDelete: json["isHardDelete"] == null ? undefined : json["isHardDelete"],
|
|
3210
|
-
deletionQuestion: json["deletionQuestion"] == null ? undefined : json["deletionQuestion"]
|
|
3211
|
-
};
|
|
3212
|
-
}
|
|
3213
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSON(json) {
|
|
3214
|
-
return UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSONTyped(json, false);
|
|
3215
|
-
}
|
|
3216
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3217
|
-
if (value == null) {
|
|
3218
|
-
return value;
|
|
3219
|
-
}
|
|
3220
|
-
return {
|
|
3221
|
-
isHardDelete: value["isHardDelete"],
|
|
3222
|
-
deletionQuestion: value["deletionQuestion"]
|
|
3223
|
-
};
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
|
-
// ../oms-sdk/generated/v1/src/models/UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDto.ts
|
|
3227
|
-
function instanceOfUiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDto(value) {
|
|
3228
|
-
return true;
|
|
3229
|
-
}
|
|
3230
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSON(json) {
|
|
3231
|
-
return UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSONTyped(json, false);
|
|
3232
|
-
}
|
|
3233
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3234
|
-
if (json == null) {
|
|
3235
|
-
return json;
|
|
3236
|
-
}
|
|
3237
|
-
return {
|
|
3238
|
-
tenant: json["tenant"] == null ? undefined : TenantDtoFromJSON(json["tenant"]),
|
|
3239
|
-
serviceInstanceSettings: json["serviceInstanceSettings"] == null ? undefined : json["serviceInstanceSettings"],
|
|
3240
|
-
licenseList: json["licenseList"] == null ? undefined : json["licenseList"].map(ProductRequestedFromJSON),
|
|
3241
|
-
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
3242
|
-
organizationId: json["organizationId"] == null ? undefined : json["organizationId"],
|
|
3243
|
-
region: json["region"] == null ? undefined : json["region"]
|
|
3244
|
-
};
|
|
3245
|
-
}
|
|
3246
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSON(json) {
|
|
3247
|
-
return UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSONTyped(json, false);
|
|
3248
|
-
}
|
|
3249
|
-
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3250
|
-
if (value == null) {
|
|
3251
|
-
return value;
|
|
3252
|
-
}
|
|
3253
|
-
return {
|
|
3254
|
-
tenant: TenantDtoToJSON(value["tenant"]),
|
|
3255
|
-
serviceInstanceSettings: value["serviceInstanceSettings"],
|
|
3256
|
-
licenseList: value["licenseList"] == null ? undefined : value["licenseList"].map(ProductRequestedToJSON),
|
|
3257
|
-
serviceType: value["serviceType"],
|
|
3258
|
-
organizationId: value["organizationId"],
|
|
3259
|
-
region: value["region"]
|
|
3260
|
-
};
|
|
3261
|
-
}
|
|
3262
|
-
|
|
3263
|
-
// ../oms-sdk/generated/v1/src/models/UpdateOrganizationCommand.ts
|
|
3264
|
-
function instanceOfUpdateOrganizationCommand(value) {
|
|
3265
|
-
return true;
|
|
3266
|
-
}
|
|
3267
|
-
function UpdateOrganizationCommandFromJSON(json) {
|
|
3268
|
-
return UpdateOrganizationCommandFromJSONTyped(json, false);
|
|
3269
|
-
}
|
|
3270
|
-
function UpdateOrganizationCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
3271
|
-
if (json == null) {
|
|
3272
|
-
return json;
|
|
3273
|
-
}
|
|
3274
|
-
return {
|
|
3275
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
3276
|
-
logicalName: json["logicalName"] == null ? undefined : json["logicalName"],
|
|
3277
|
-
language: json["language"] == null ? undefined : json["language"]
|
|
3278
|
-
};
|
|
3279
|
-
}
|
|
3280
|
-
function UpdateOrganizationCommandToJSON(json) {
|
|
3281
|
-
return UpdateOrganizationCommandToJSONTyped(json, false);
|
|
3282
|
-
}
|
|
3283
|
-
function UpdateOrganizationCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3284
|
-
if (value == null) {
|
|
3285
|
-
return value;
|
|
3286
|
-
}
|
|
3287
|
-
return {
|
|
3288
|
-
name: value["name"],
|
|
3289
|
-
logicalName: value["logicalName"],
|
|
3290
|
-
language: value["language"]
|
|
3291
|
-
};
|
|
3292
|
-
}
|
|
3293
|
-
|
|
3294
|
-
// ../oms-sdk/generated/v1/src/models/UpdateOrganizationRegionDto.ts
|
|
3295
|
-
function instanceOfUpdateOrganizationRegionDto(value) {
|
|
3296
|
-
return true;
|
|
3297
|
-
}
|
|
3298
|
-
function UpdateOrganizationRegionDtoFromJSON(json) {
|
|
3299
|
-
return UpdateOrganizationRegionDtoFromJSONTyped(json, false);
|
|
3300
|
-
}
|
|
3301
|
-
function UpdateOrganizationRegionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3302
|
-
if (json == null) {
|
|
3303
|
-
return json;
|
|
3304
|
-
}
|
|
3305
|
-
return {
|
|
3306
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"])
|
|
3307
|
-
};
|
|
3308
|
-
}
|
|
3309
|
-
function UpdateOrganizationRegionDtoToJSON(json) {
|
|
3310
|
-
return UpdateOrganizationRegionDtoToJSONTyped(json, false);
|
|
3311
|
-
}
|
|
3312
|
-
function UpdateOrganizationRegionDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3313
|
-
if (value == null) {
|
|
3314
|
-
return value;
|
|
3315
|
-
}
|
|
3316
|
-
return {
|
|
3317
|
-
region: RegionToJSON(value["region"])
|
|
3318
|
-
};
|
|
3319
|
-
}
|
|
3320
|
-
|
|
3321
|
-
// ../oms-sdk/generated/v1/src/models/UpdateTenantRegionDto.ts
|
|
3322
|
-
function instanceOfUpdateTenantRegionDto(value) {
|
|
3323
|
-
return true;
|
|
3324
|
-
}
|
|
3325
|
-
function UpdateTenantRegionDtoFromJSON(json) {
|
|
3326
|
-
return UpdateTenantRegionDtoFromJSONTyped(json, false);
|
|
3327
|
-
}
|
|
3328
|
-
function UpdateTenantRegionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
3329
|
-
if (json == null) {
|
|
3330
|
-
return json;
|
|
3331
|
-
}
|
|
3332
|
-
return {
|
|
3333
|
-
region: json["region"] == null ? undefined : RegionFromJSON(json["region"])
|
|
3334
|
-
};
|
|
3335
|
-
}
|
|
3336
|
-
function UpdateTenantRegionDtoToJSON(json) {
|
|
3337
|
-
return UpdateTenantRegionDtoToJSONTyped(json, false);
|
|
3338
|
-
}
|
|
3339
|
-
function UpdateTenantRegionDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3340
|
-
if (value == null) {
|
|
3341
|
-
return value;
|
|
3342
|
-
}
|
|
3343
|
-
return {
|
|
3344
|
-
region: RegionToJSON(value["region"])
|
|
3345
|
-
};
|
|
3346
|
-
}
|
|
3347
|
-
|
|
3348
|
-
// ../oms-sdk/generated/v1/src/apis/ApiKeyApi.ts
|
|
3349
|
-
class ApiKeyApi extends BaseAPI {
|
|
3350
|
-
async apiKeyAddOrUpdateApiKeyRaw(requestParameters, initOverrides) {
|
|
3351
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3352
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling apiKeyAddOrUpdateApiKey().');
|
|
3353
|
-
}
|
|
3354
|
-
const queryParameters = {};
|
|
3355
|
-
const headerParameters = {};
|
|
3356
|
-
headerParameters["Content-Type"] = "application/json";
|
|
3357
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3358
|
-
const token = this.configuration.accessToken;
|
|
3359
|
-
const tokenString = await token("bearerAuth", []);
|
|
3360
|
-
if (tokenString) {
|
|
3361
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3362
|
-
}
|
|
3363
|
-
}
|
|
3364
|
-
let urlPath = `/api/organization/{organizationGuid}/apikey`;
|
|
3365
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3366
|
-
const response = await this.request({
|
|
3367
|
-
path: urlPath,
|
|
3368
|
-
method: "POST",
|
|
3369
|
-
headers: headerParameters,
|
|
3370
|
-
query: queryParameters,
|
|
3371
|
-
body: ApiKeyDtoToJSON(requestParameters["apiKeyDto"])
|
|
3372
|
-
}, initOverrides);
|
|
3373
|
-
return new JSONApiResponse(response, (jsonValue) => ApiKeyDtoFromJSON(jsonValue));
|
|
3374
|
-
}
|
|
3375
|
-
async apiKeyAddOrUpdateApiKey(requestParameters, initOverrides) {
|
|
3376
|
-
const response = await this.apiKeyAddOrUpdateApiKeyRaw(requestParameters, initOverrides);
|
|
3377
|
-
return await response.value();
|
|
3378
|
-
}
|
|
3379
|
-
async apiKeyGetApiKeysRaw(requestParameters, initOverrides) {
|
|
3380
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3381
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling apiKeyGetApiKeys().');
|
|
3382
|
-
}
|
|
3383
|
-
const queryParameters = {};
|
|
3384
|
-
const headerParameters = {};
|
|
3385
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3386
|
-
const token = this.configuration.accessToken;
|
|
3387
|
-
const tokenString = await token("bearerAuth", []);
|
|
3388
|
-
if (tokenString) {
|
|
3389
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3390
|
-
}
|
|
3391
|
-
}
|
|
3392
|
-
let urlPath = `/api/organization/{organizationGuid}/apikey`;
|
|
3393
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3394
|
-
const response = await this.request({
|
|
3395
|
-
path: urlPath,
|
|
3396
|
-
method: "GET",
|
|
3397
|
-
headers: headerParameters,
|
|
3398
|
-
query: queryParameters
|
|
3399
|
-
}, initOverrides);
|
|
3400
|
-
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(ApiKeyDtoFromJSON));
|
|
3401
|
-
}
|
|
3402
|
-
async apiKeyGetApiKeys(requestParameters, initOverrides) {
|
|
3403
|
-
const response = await this.apiKeyGetApiKeysRaw(requestParameters, initOverrides);
|
|
3404
|
-
return await response.value();
|
|
3405
|
-
}
|
|
3406
|
-
async apiKeyGetMLServiceDetailsRaw(requestParameters, initOverrides) {
|
|
3407
|
-
if (requestParameters["licenceType"] == null) {
|
|
3408
|
-
throw new RequiredError("licenceType", 'Required parameter "licenceType" was null or undefined when calling apiKeyGetMLServiceDetails().');
|
|
3409
|
-
}
|
|
3410
|
-
const queryParameters = {};
|
|
3411
|
-
if (requestParameters["mlServiceKey"] != null) {
|
|
3412
|
-
queryParameters["mlServiceKey"] = requestParameters["mlServiceKey"];
|
|
3413
|
-
}
|
|
3414
|
-
const headerParameters = {};
|
|
3415
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3416
|
-
const token = this.configuration.accessToken;
|
|
3417
|
-
const tokenString = await token("bearerAuth", []);
|
|
3418
|
-
if (tokenString) {
|
|
3419
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3420
|
-
}
|
|
3421
|
-
}
|
|
3422
|
-
let urlPath = `/api/mlservice/{licenceType}`;
|
|
3423
|
-
urlPath = urlPath.replace(`{${"licenceType"}}`, encodeURIComponent(String(requestParameters["licenceType"])));
|
|
3424
|
-
const response = await this.request({
|
|
3425
|
-
path: urlPath,
|
|
3426
|
-
method: "GET",
|
|
3427
|
-
headers: headerParameters,
|
|
3428
|
-
query: queryParameters
|
|
3429
|
-
}, initOverrides);
|
|
3430
|
-
return new JSONApiResponse(response, (jsonValue) => MLServiceDetailsDtoFromJSON(jsonValue));
|
|
3431
|
-
}
|
|
3432
|
-
async apiKeyGetMLServiceDetails(requestParameters, initOverrides) {
|
|
3433
|
-
const response = await this.apiKeyGetMLServiceDetailsRaw(requestParameters, initOverrides);
|
|
3434
|
-
return await response.value();
|
|
3435
|
-
}
|
|
3436
|
-
}
|
|
3437
|
-
|
|
3438
|
-
// ../oms-sdk/generated/v1/src/apis/AuditDeleteApi.ts
|
|
3439
|
-
class AuditDeleteApi extends BaseAPI {
|
|
3440
|
-
async auditDeleteDeleteAuditEventsRaw(requestParameters, initOverrides) {
|
|
3441
|
-
if (requestParameters["organizationId"] == null) {
|
|
3442
|
-
throw new RequiredError("organizationId", 'Required parameter "organizationId" was null or undefined when calling auditDeleteDeleteAuditEvents().');
|
|
3443
|
-
}
|
|
3444
|
-
const queryParameters = {};
|
|
3445
|
-
const headerParameters = {};
|
|
3446
|
-
headerParameters["Content-Type"] = "application/json";
|
|
3447
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3448
|
-
const token = this.configuration.accessToken;
|
|
3449
|
-
const tokenString = await token("bearerAuth", []);
|
|
3450
|
-
if (tokenString) {
|
|
3451
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3452
|
-
}
|
|
3453
|
-
}
|
|
3454
|
-
let urlPath = `/api/organization/{organizationId}/organizationserviceinstances/audit`;
|
|
3455
|
-
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters["organizationId"])));
|
|
3456
|
-
const response = await this.request({
|
|
3457
|
-
path: urlPath,
|
|
3458
|
-
method: "DELETE",
|
|
3459
|
-
headers: headerParameters,
|
|
3460
|
-
query: queryParameters,
|
|
3461
|
-
body: UiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommandToJSON(requestParameters["uiPathPlatformAuditClientDtosOrganizationDeleteOrganizationCommand"])
|
|
3462
|
-
}, initOverrides);
|
|
3463
|
-
return new JSONApiResponse(response, (jsonValue) => DeleteOrganizationResponseDtoFromJSON(jsonValue));
|
|
3464
|
-
}
|
|
3465
|
-
async auditDeleteDeleteAuditEvents(requestParameters, initOverrides) {
|
|
3466
|
-
const response = await this.auditDeleteDeleteAuditEventsRaw(requestParameters, initOverrides);
|
|
3467
|
-
return await response.value();
|
|
3468
|
-
}
|
|
3469
|
-
}
|
|
3470
|
-
|
|
3471
|
-
// ../oms-sdk/generated/v1/src/apis/AuditQueryApi.ts
|
|
3472
|
-
class AuditQueryApi extends BaseAPI {
|
|
3473
|
-
async auditQueryDownloadAuditEventsRaw(requestParameters, initOverrides) {
|
|
3474
|
-
if (requestParameters["organizationId"] == null) {
|
|
3475
|
-
throw new RequiredError("organizationId", 'Required parameter "organizationId" was null or undefined when calling auditQueryDownloadAuditEvents().');
|
|
3476
|
-
}
|
|
3477
|
-
const queryParameters = {};
|
|
3478
|
-
if (requestParameters["language"] != null) {
|
|
3479
|
-
queryParameters["language"] = requestParameters["language"];
|
|
3480
|
-
}
|
|
3481
|
-
if (requestParameters["size"] != null) {
|
|
3482
|
-
queryParameters["size"] = requestParameters["size"];
|
|
3483
|
-
}
|
|
3484
|
-
if (requestParameters["sanitize"] != null) {
|
|
3485
|
-
queryParameters["sanitize"] = requestParameters["sanitize"];
|
|
3486
|
-
}
|
|
3487
|
-
const headerParameters = {};
|
|
3488
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3489
|
-
const token = this.configuration.accessToken;
|
|
3490
|
-
const tokenString = await token("bearerAuth", []);
|
|
3491
|
-
if (tokenString) {
|
|
3492
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3493
|
-
}
|
|
3494
|
-
}
|
|
3495
|
-
let urlPath = `/api/AuditQuery/{organizationId}/download`;
|
|
3496
|
-
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters["organizationId"])));
|
|
3497
|
-
const response = await this.request({
|
|
3498
|
-
path: urlPath,
|
|
3499
|
-
method: "GET",
|
|
3500
|
-
headers: headerParameters,
|
|
3501
|
-
query: queryParameters
|
|
3502
|
-
}, initOverrides);
|
|
3503
|
-
return new VoidApiResponse(response);
|
|
3504
|
-
}
|
|
3505
|
-
async auditQueryDownloadAuditEvents(requestParameters, initOverrides) {
|
|
3506
|
-
await this.auditQueryDownloadAuditEventsRaw(requestParameters, initOverrides);
|
|
3507
|
-
}
|
|
3508
|
-
async auditQueryGetAuditEventsRaw(requestParameters, initOverrides) {
|
|
3509
|
-
if (requestParameters["organizationId"] == null) {
|
|
3510
|
-
throw new RequiredError("organizationId", 'Required parameter "organizationId" was null or undefined when calling auditQueryGetAuditEvents().');
|
|
3511
|
-
}
|
|
3512
|
-
const queryParameters = {};
|
|
3513
|
-
if (requestParameters["language"] != null) {
|
|
3514
|
-
queryParameters["language"] = requestParameters["language"];
|
|
3515
|
-
}
|
|
3516
|
-
if (requestParameters["top"] != null) {
|
|
3517
|
-
queryParameters["top"] = requestParameters["top"];
|
|
3518
|
-
}
|
|
3519
|
-
if (requestParameters["skip"] != null) {
|
|
3520
|
-
queryParameters["skip"] = requestParameters["skip"];
|
|
3521
|
-
}
|
|
3522
|
-
if (requestParameters["sortBy"] != null) {
|
|
3523
|
-
queryParameters["sortBy"] = requestParameters["sortBy"];
|
|
3524
|
-
}
|
|
3525
|
-
if (requestParameters["sortOrder"] != null) {
|
|
3526
|
-
queryParameters["sortOrder"] = requestParameters["sortOrder"];
|
|
3527
|
-
}
|
|
3528
|
-
const headerParameters = {};
|
|
3529
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3530
|
-
const token = this.configuration.accessToken;
|
|
3531
|
-
const tokenString = await token("bearerAuth", []);
|
|
3532
|
-
if (tokenString) {
|
|
3533
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3534
|
-
}
|
|
3535
|
-
}
|
|
3536
|
-
let urlPath = `/api/AuditQuery/{organizationId}`;
|
|
3537
|
-
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters["organizationId"])));
|
|
3538
|
-
const response = await this.request({
|
|
3539
|
-
path: urlPath,
|
|
3540
|
-
method: "GET",
|
|
3541
|
-
headers: headerParameters,
|
|
3542
|
-
query: queryParameters
|
|
3543
|
-
}, initOverrides);
|
|
3544
|
-
return new JSONApiResponse(response, (jsonValue) => AuditQueryRecordDtoPagedResultFromJSON(jsonValue));
|
|
3545
|
-
}
|
|
3546
|
-
async auditQueryGetAuditEvents(requestParameters, initOverrides) {
|
|
3547
|
-
const response = await this.auditQueryGetAuditEventsRaw(requestParameters, initOverrides);
|
|
3548
|
-
return await response.value();
|
|
3549
|
-
}
|
|
3550
|
-
}
|
|
3551
|
-
|
|
3552
|
-
// ../oms-sdk/generated/v1/src/apis/DiscoveryApi.ts
|
|
3553
|
-
class DiscoveryApi extends BaseAPI {
|
|
3554
|
-
async discoveryGetOrganizationUrlCatalogueRaw(initOverrides) {
|
|
3555
|
-
const queryParameters = {};
|
|
3556
|
-
const headerParameters = {};
|
|
3557
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3558
|
-
const token = this.configuration.accessToken;
|
|
3559
|
-
const tokenString = await token("bearerAuth", []);
|
|
3560
|
-
if (tokenString) {
|
|
3561
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3562
|
-
}
|
|
3563
|
-
}
|
|
3564
|
-
let urlPath = `/api/discovery`;
|
|
3565
|
-
const response = await this.request({
|
|
3566
|
-
path: urlPath,
|
|
3567
|
-
method: "GET",
|
|
3568
|
-
headers: headerParameters,
|
|
3569
|
-
query: queryParameters
|
|
3570
|
-
}, initOverrides);
|
|
3571
|
-
return new JSONApiResponse(response, (jsonValue) => DiscoveryDtoFromJSON(jsonValue));
|
|
3572
|
-
}
|
|
3573
|
-
async discoveryGetOrganizationUrlCatalogue(initOverrides) {
|
|
3574
|
-
const response = await this.discoveryGetOrganizationUrlCatalogueRaw(initOverrides);
|
|
3575
|
-
return await response.value();
|
|
3576
|
-
}
|
|
3577
|
-
}
|
|
3578
|
-
|
|
3579
|
-
// ../oms-sdk/generated/v1/src/apis/FileApi.ts
|
|
3580
|
-
class FileApi extends BaseAPI {
|
|
3581
|
-
async fileDeleteFileFromOrganizationRaw(requestParameters, initOverrides) {
|
|
3582
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3583
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling fileDeleteFileFromOrganization().');
|
|
3584
|
-
}
|
|
3585
|
-
const queryParameters = {};
|
|
3586
|
-
if (requestParameters["type"] != null) {
|
|
3587
|
-
queryParameters["type"] = requestParameters["type"];
|
|
3588
|
-
}
|
|
3589
|
-
if (requestParameters["label"] != null) {
|
|
3590
|
-
queryParameters["label"] = requestParameters["label"];
|
|
3591
|
-
}
|
|
3592
|
-
const headerParameters = {};
|
|
3593
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3594
|
-
const token = this.configuration.accessToken;
|
|
3595
|
-
const tokenString = await token("bearerAuth", []);
|
|
3596
|
-
if (tokenString) {
|
|
3597
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3598
|
-
}
|
|
3599
|
-
}
|
|
3600
|
-
let urlPath = `/api/organization/{organizationGuid}/file`;
|
|
3601
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3602
|
-
const response = await this.request({
|
|
3603
|
-
path: urlPath,
|
|
3604
|
-
method: "DELETE",
|
|
3605
|
-
headers: headerParameters,
|
|
3606
|
-
query: queryParameters
|
|
3607
|
-
}, initOverrides);
|
|
3608
|
-
return new VoidApiResponse(response);
|
|
3609
|
-
}
|
|
3610
|
-
async fileDeleteFileFromOrganization(requestParameters, initOverrides) {
|
|
3611
|
-
await this.fileDeleteFileFromOrganizationRaw(requestParameters, initOverrides);
|
|
3612
|
-
}
|
|
3613
|
-
async fileUpsertFileToOrganizationRaw(requestParameters, initOverrides) {
|
|
3614
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3615
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling fileUpsertFileToOrganization().');
|
|
3616
|
-
}
|
|
3617
|
-
const queryParameters = {};
|
|
3618
|
-
if (requestParameters["type"] != null) {
|
|
3619
|
-
queryParameters["type"] = requestParameters["type"];
|
|
3620
|
-
}
|
|
3621
|
-
if (requestParameters["label"] != null) {
|
|
3622
|
-
queryParameters["label"] = requestParameters["label"];
|
|
3623
|
-
}
|
|
3624
|
-
const headerParameters = {};
|
|
3625
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3626
|
-
const token = this.configuration.accessToken;
|
|
3627
|
-
const tokenString = await token("bearerAuth", []);
|
|
3628
|
-
if (tokenString) {
|
|
3629
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3630
|
-
}
|
|
3631
|
-
}
|
|
3632
|
-
const consumes = [
|
|
3633
|
-
{ contentType: "multipart/form-data" },
|
|
3634
|
-
{ contentType: "image/png" },
|
|
3635
|
-
{ contentType: "image/jpeg" },
|
|
3636
|
-
{ contentType: "image/svg+xml" }
|
|
3637
|
-
];
|
|
3638
|
-
const canConsumeForm3 = canConsumeForm(consumes);
|
|
3639
|
-
let formParams;
|
|
3640
|
-
let useForm = false;
|
|
3641
|
-
useForm = canConsumeForm3;
|
|
3642
|
-
if (useForm) {
|
|
3643
|
-
formParams = new FormData;
|
|
3644
|
-
} else {
|
|
3645
|
-
formParams = new URLSearchParams;
|
|
3646
|
-
}
|
|
3647
|
-
if (requestParameters["file"] != null) {
|
|
3648
|
-
formParams.append("file", requestParameters["file"]);
|
|
3649
|
-
}
|
|
3650
|
-
let urlPath = `/api/organization/{organizationGuid}/file`;
|
|
3651
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3652
|
-
const response = await this.request({
|
|
3653
|
-
path: urlPath,
|
|
3654
|
-
method: "POST",
|
|
3655
|
-
headers: headerParameters,
|
|
3656
|
-
query: queryParameters,
|
|
3657
|
-
body: formParams
|
|
3658
|
-
}, initOverrides);
|
|
3659
|
-
return new VoidApiResponse(response);
|
|
3660
|
-
}
|
|
3661
|
-
async fileUpsertFileToOrganization(requestParameters, initOverrides) {
|
|
3662
|
-
await this.fileUpsertFileToOrganizationRaw(requestParameters, initOverrides);
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
|
-
// ../oms-sdk/generated/v1/src/apis/LeadsApi.ts
|
|
3667
|
-
class LeadsApi extends BaseAPI {
|
|
3668
|
-
async leadsStudioDownloadedRaw(requestParameters, initOverrides) {
|
|
3669
|
-
if (requestParameters["accountId"] == null) {
|
|
3670
|
-
throw new RequiredError("accountId", 'Required parameter "accountId" was null or undefined when calling leadsStudioDownloaded().');
|
|
3671
|
-
}
|
|
3672
|
-
const queryParameters = {};
|
|
3673
|
-
const headerParameters = {};
|
|
3674
|
-
headerParameters["Content-Type"] = "application/json";
|
|
3675
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3676
|
-
const token = this.configuration.accessToken;
|
|
3677
|
-
const tokenString = await token("bearerAuth", []);
|
|
3678
|
-
if (tokenString) {
|
|
3679
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3680
|
-
}
|
|
3681
|
-
}
|
|
3682
|
-
let urlPath = `/api/leads/studio-downloaded/{accountId}`;
|
|
3683
|
-
urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters["accountId"])));
|
|
3684
|
-
const response = await this.request({
|
|
3685
|
-
path: urlPath,
|
|
3686
|
-
method: "PUT",
|
|
3687
|
-
headers: headerParameters,
|
|
3688
|
-
query: queryParameters,
|
|
3689
|
-
body: StudioDownloadedDtoToJSON(requestParameters["studioDownloadedDto"])
|
|
3690
|
-
}, initOverrides);
|
|
3691
|
-
return new VoidApiResponse(response);
|
|
3692
|
-
}
|
|
3693
|
-
async leadsStudioDownloaded(requestParameters, initOverrides) {
|
|
3694
|
-
await this.leadsStudioDownloadedRaw(requestParameters, initOverrides);
|
|
3695
|
-
}
|
|
3696
|
-
}
|
|
3697
|
-
|
|
3698
|
-
// ../oms-sdk/generated/v1/src/apis/OnPremBusinessTelemetryApi.ts
|
|
3699
|
-
class OnPremBusinessTelemetryApi extends BaseAPI {
|
|
3700
|
-
async onPremBusinessTelemetryEmitTelemetryEventsRaw(initOverrides) {
|
|
3701
|
-
const queryParameters = {};
|
|
3702
|
-
const headerParameters = {};
|
|
3703
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3704
|
-
const token = this.configuration.accessToken;
|
|
3705
|
-
const tokenString = await token("bearerAuth", []);
|
|
3706
|
-
if (tokenString) {
|
|
3707
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3708
|
-
}
|
|
3709
|
-
}
|
|
3710
|
-
let urlPath = `/api-internal/onprem/api/EmitBusinessTelemetry`;
|
|
3711
|
-
const response = await this.request({
|
|
3712
|
-
path: urlPath,
|
|
3713
|
-
method: "POST",
|
|
3714
|
-
headers: headerParameters,
|
|
3715
|
-
query: queryParameters
|
|
3716
|
-
}, initOverrides);
|
|
3717
|
-
return new VoidApiResponse(response);
|
|
3718
|
-
}
|
|
3719
|
-
async onPremBusinessTelemetryEmitTelemetryEvents(initOverrides) {
|
|
3720
|
-
await this.onPremBusinessTelemetryEmitTelemetryEventsRaw(initOverrides);
|
|
3721
|
-
}
|
|
3722
|
-
}
|
|
3723
|
-
|
|
3724
|
-
// ../oms-sdk/generated/v1/src/apis/OnPremOrganizationApi.ts
|
|
3725
|
-
class OnPremOrganizationApi extends BaseAPI {
|
|
3726
|
-
async onPremOrganizationCreateOrganizationOnPremRaw(requestParameters, initOverrides) {
|
|
3727
|
-
const queryParameters = {};
|
|
3728
|
-
const headerParameters = {};
|
|
3729
|
-
headerParameters["Content-Type"] = "application/json";
|
|
3730
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3731
|
-
const token = this.configuration.accessToken;
|
|
3732
|
-
const tokenString = await token("bearerAuth", []);
|
|
3733
|
-
if (tokenString) {
|
|
3734
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3735
|
-
}
|
|
3736
|
-
}
|
|
3737
|
-
let urlPath = `/onprem/api/organization`;
|
|
3738
|
-
const response = await this.request({
|
|
3739
|
-
path: urlPath,
|
|
3740
|
-
method: "POST",
|
|
3741
|
-
headers: headerParameters,
|
|
3742
|
-
query: queryParameters,
|
|
3743
|
-
body: CreateOrganizationOnPremCommandToJSON(requestParameters["createOrganizationOnPremCommand"])
|
|
3744
|
-
}, initOverrides);
|
|
3745
|
-
return new VoidApiResponse(response);
|
|
3746
|
-
}
|
|
3747
|
-
async onPremOrganizationCreateOrganizationOnPrem(requestParameters = {}, initOverrides) {
|
|
3748
|
-
await this.onPremOrganizationCreateOrganizationOnPremRaw(requestParameters, initOverrides);
|
|
3749
|
-
}
|
|
3750
|
-
async onPremOrganizationDeleteOrganizationOnPremRaw(requestParameters, initOverrides) {
|
|
3751
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3752
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling onPremOrganizationDeleteOrganizationOnPrem().');
|
|
3753
|
-
}
|
|
3754
|
-
const queryParameters = {};
|
|
3755
|
-
const headerParameters = {};
|
|
3756
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3757
|
-
const token = this.configuration.accessToken;
|
|
3758
|
-
const tokenString = await token("bearerAuth", []);
|
|
3759
|
-
if (tokenString) {
|
|
3760
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3761
|
-
}
|
|
3762
|
-
}
|
|
3763
|
-
let urlPath = `/onprem/api/organization/{organizationGuid}`;
|
|
3764
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3765
|
-
const response = await this.request({
|
|
3766
|
-
path: urlPath,
|
|
3767
|
-
method: "DELETE",
|
|
3768
|
-
headers: headerParameters,
|
|
3769
|
-
query: queryParameters
|
|
3770
|
-
}, initOverrides);
|
|
3771
|
-
return new VoidApiResponse(response);
|
|
3772
|
-
}
|
|
3773
|
-
async onPremOrganizationDeleteOrganizationOnPrem(requestParameters, initOverrides) {
|
|
3774
|
-
await this.onPremOrganizationDeleteOrganizationOnPremRaw(requestParameters, initOverrides);
|
|
3775
|
-
}
|
|
3776
|
-
async onPremOrganizationGetAllActiveOrganizationsOnPremRaw(requestParameters, initOverrides) {
|
|
3777
|
-
const queryParameters = {};
|
|
3778
|
-
if (requestParameters["searchTerm"] != null) {
|
|
3779
|
-
queryParameters["searchTerm"] = requestParameters["searchTerm"];
|
|
3780
|
-
}
|
|
3781
|
-
if (requestParameters["top"] != null) {
|
|
3782
|
-
queryParameters["top"] = requestParameters["top"];
|
|
3783
|
-
}
|
|
3784
|
-
if (requestParameters["skip"] != null) {
|
|
3785
|
-
queryParameters["skip"] = requestParameters["skip"];
|
|
3786
|
-
}
|
|
3787
|
-
const headerParameters = {};
|
|
3788
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3789
|
-
const token = this.configuration.accessToken;
|
|
3790
|
-
const tokenString = await token("bearerAuth", []);
|
|
3791
|
-
if (tokenString) {
|
|
3792
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
let urlPath = `/onprem/api/organization/getAllOrganizations`;
|
|
3796
|
-
const response = await this.request({
|
|
3797
|
-
path: urlPath,
|
|
3798
|
-
method: "GET",
|
|
3799
|
-
headers: headerParameters,
|
|
3800
|
-
query: queryParameters
|
|
3801
|
-
}, initOverrides);
|
|
3802
|
-
return new JSONApiResponse(response, (jsonValue) => GetAllOrgsPaginatedReponseDtoFromJSON(jsonValue));
|
|
3803
|
-
}
|
|
3804
|
-
async onPremOrganizationGetAllActiveOrganizationsOnPrem(requestParameters = {}, initOverrides) {
|
|
3805
|
-
const response = await this.onPremOrganizationGetAllActiveOrganizationsOnPremRaw(requestParameters, initOverrides);
|
|
3806
|
-
return await response.value();
|
|
3807
|
-
}
|
|
3808
|
-
async onPremOrganizationGetOperationDetailsOnPremRaw(requestParameters, initOverrides) {
|
|
3809
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3810
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling onPremOrganizationGetOperationDetailsOnPrem().');
|
|
3811
|
-
}
|
|
3812
|
-
if (requestParameters["operationId"] == null) {
|
|
3813
|
-
throw new RequiredError("operationId", 'Required parameter "operationId" was null or undefined when calling onPremOrganizationGetOperationDetailsOnPrem().');
|
|
3814
|
-
}
|
|
3815
|
-
const queryParameters = {};
|
|
3816
|
-
const headerParameters = {};
|
|
3817
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3818
|
-
const token = this.configuration.accessToken;
|
|
3819
|
-
const tokenString = await token("bearerAuth", []);
|
|
3820
|
-
if (tokenString) {
|
|
3821
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
let urlPath = `/onprem/api/organization/{organizationGuid}/operations/{operationId}`;
|
|
3825
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3826
|
-
urlPath = urlPath.replace(`{${"operationId"}}`, encodeURIComponent(String(requestParameters["operationId"])));
|
|
3827
|
-
const response = await this.request({
|
|
3828
|
-
path: urlPath,
|
|
3829
|
-
method: "GET",
|
|
3830
|
-
headers: headerParameters,
|
|
3831
|
-
query: queryParameters
|
|
3832
|
-
}, initOverrides);
|
|
3833
|
-
return new JSONApiResponse(response, (jsonValue) => CommandDtoFromJSON(jsonValue));
|
|
3834
|
-
}
|
|
3835
|
-
async onPremOrganizationGetOperationDetailsOnPrem(requestParameters, initOverrides) {
|
|
3836
|
-
const response = await this.onPremOrganizationGetOperationDetailsOnPremRaw(requestParameters, initOverrides);
|
|
3837
|
-
return await response.value();
|
|
3838
|
-
}
|
|
3839
|
-
async onPremOrganizationGetOrganizationOnPremRaw(requestParameters, initOverrides) {
|
|
3840
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
3841
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling onPremOrganizationGetOrganizationOnPrem().');
|
|
3842
|
-
}
|
|
3843
|
-
const queryParameters = {};
|
|
3844
|
-
const headerParameters = {};
|
|
3845
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
3846
|
-
const token = this.configuration.accessToken;
|
|
3847
|
-
const tokenString = await token("bearerAuth", []);
|
|
3848
|
-
if (tokenString) {
|
|
3849
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3850
|
-
}
|
|
3851
|
-
}
|
|
3852
|
-
let urlPath = `/onprem/api/organization/{organizationGuid}`;
|
|
3853
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
3854
|
-
const response = await this.request({
|
|
3855
|
-
path: urlPath,
|
|
3856
|
-
method: "GET",
|
|
3857
|
-
headers: headerParameters,
|
|
3858
|
-
query: queryParameters
|
|
3859
|
-
}, initOverrides);
|
|
3860
|
-
return new JSONApiResponse(response, (jsonValue) => OrganizationDtoFromJSON(jsonValue));
|
|
1330
|
+
environment: EnvironmentTagToJSON(value["environment"])
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
// ../oms-sdk/generated/v1/src/models/UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommand.ts
|
|
1335
|
+
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSON(json) {
|
|
1336
|
+
return UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSONTyped(json, false);
|
|
1337
|
+
}
|
|
1338
|
+
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestDeleteOrganizationCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1339
|
+
if (value == null) {
|
|
1340
|
+
return value;
|
|
3861
1341
|
}
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
1342
|
+
return {
|
|
1343
|
+
isHardDelete: value["isHardDelete"],
|
|
1344
|
+
deletionQuestion: value["deletionQuestion"]
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
// ../oms-sdk/generated/v1/src/models/UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDto.ts
|
|
1349
|
+
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSON(json) {
|
|
1350
|
+
return UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSONTyped(json, false);
|
|
1351
|
+
}
|
|
1352
|
+
function UiPathPlatformOrganizationManagementServiceApplicationDtoRequestTenantServiceInstanceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1353
|
+
if (json == null) {
|
|
1354
|
+
return json;
|
|
3865
1355
|
}
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
1356
|
+
return {
|
|
1357
|
+
tenant: json["tenant"] == null ? undefined : TenantDtoFromJSON(json["tenant"]),
|
|
1358
|
+
serviceInstanceSettings: json["serviceInstanceSettings"] == null ? undefined : json["serviceInstanceSettings"],
|
|
1359
|
+
licenseList: json["licenseList"] == null ? undefined : json["licenseList"].map(ProductRequestedFromJSON),
|
|
1360
|
+
serviceType: json["serviceType"] == null ? undefined : json["serviceType"],
|
|
1361
|
+
organizationId: json["organizationId"] == null ? undefined : json["organizationId"],
|
|
1362
|
+
region: json["region"] == null ? undefined : json["region"]
|
|
1363
|
+
};
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
// ../oms-sdk/generated/v1/src/models/UpdateOrganizationCommand.ts
|
|
1367
|
+
function UpdateOrganizationCommandToJSON(json) {
|
|
1368
|
+
return UpdateOrganizationCommandToJSONTyped(json, false);
|
|
1369
|
+
}
|
|
1370
|
+
function UpdateOrganizationCommandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1371
|
+
if (value == null) {
|
|
1372
|
+
return value;
|
|
1373
|
+
}
|
|
1374
|
+
return {
|
|
1375
|
+
name: value["name"],
|
|
1376
|
+
logicalName: value["logicalName"],
|
|
1377
|
+
language: value["language"]
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
// ../oms-sdk/generated/v1/src/models/UpdateOrganizationRegionDto.ts
|
|
1382
|
+
function UpdateOrganizationRegionDtoToJSON(json) {
|
|
1383
|
+
return UpdateOrganizationRegionDtoToJSONTyped(json, false);
|
|
1384
|
+
}
|
|
1385
|
+
function UpdateOrganizationRegionDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1386
|
+
if (value == null) {
|
|
1387
|
+
return value;
|
|
3891
1388
|
}
|
|
3892
|
-
|
|
3893
|
-
|
|
1389
|
+
return {
|
|
1390
|
+
region: RegionToJSON(value["region"])
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
// ../oms-sdk/generated/v1/src/models/UpdateTenantRegionDto.ts
|
|
1395
|
+
function UpdateTenantRegionDtoToJSON(json) {
|
|
1396
|
+
return UpdateTenantRegionDtoToJSONTyped(json, false);
|
|
1397
|
+
}
|
|
1398
|
+
function UpdateTenantRegionDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1399
|
+
if (value == null) {
|
|
1400
|
+
return value;
|
|
3894
1401
|
}
|
|
1402
|
+
return {
|
|
1403
|
+
region: RegionToJSON(value["region"])
|
|
1404
|
+
};
|
|
3895
1405
|
}
|
|
3896
1406
|
|
|
3897
1407
|
// ../oms-sdk/generated/v1/src/apis/OrganizationApi.ts
|
|
@@ -4377,134 +1887,6 @@ class OrganizationApi extends BaseAPI {
|
|
|
4377
1887
|
}
|
|
4378
1888
|
}
|
|
4379
1889
|
|
|
4380
|
-
// ../oms-sdk/generated/v1/src/apis/OrganizationServiceApi.ts
|
|
4381
|
-
class OrganizationServiceApi extends BaseAPI {
|
|
4382
|
-
async organizationServiceUpdateOrganizationServiceInstanceScaleUnitsRaw(requestParameters, initOverrides) {
|
|
4383
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
4384
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling organizationServiceUpdateOrganizationServiceInstanceScaleUnits().');
|
|
4385
|
-
}
|
|
4386
|
-
if (requestParameters["serviceType"] == null) {
|
|
4387
|
-
throw new RequiredError("serviceType", 'Required parameter "serviceType" was null or undefined when calling organizationServiceUpdateOrganizationServiceInstanceScaleUnits().');
|
|
4388
|
-
}
|
|
4389
|
-
const queryParameters = {};
|
|
4390
|
-
const headerParameters = {};
|
|
4391
|
-
headerParameters["Content-Type"] = "application/json";
|
|
4392
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4393
|
-
const token = this.configuration.accessToken;
|
|
4394
|
-
const tokenString = await token("bearerAuth", []);
|
|
4395
|
-
if (tokenString) {
|
|
4396
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4397
|
-
}
|
|
4398
|
-
}
|
|
4399
|
-
let urlPath = `/api/organization/{organizationGuid}/services/{serviceType}`;
|
|
4400
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
4401
|
-
urlPath = urlPath.replace(`{${"serviceType"}}`, encodeURIComponent(String(requestParameters["serviceType"])));
|
|
4402
|
-
const response = await this.request({
|
|
4403
|
-
path: urlPath,
|
|
4404
|
-
method: "PATCH",
|
|
4405
|
-
headers: headerParameters,
|
|
4406
|
-
query: queryParameters,
|
|
4407
|
-
body: ServiceInstanceUpdateDtoToJSON(requestParameters["serviceInstanceUpdateDto"])
|
|
4408
|
-
}, initOverrides);
|
|
4409
|
-
return new VoidApiResponse(response);
|
|
4410
|
-
}
|
|
4411
|
-
async organizationServiceUpdateOrganizationServiceInstanceScaleUnits(requestParameters, initOverrides) {
|
|
4412
|
-
await this.organizationServiceUpdateOrganizationServiceInstanceScaleUnitsRaw(requestParameters, initOverrides);
|
|
4413
|
-
}
|
|
4414
|
-
async organizationServiceUpdateOrganizationServiceInstanceStatusRaw(requestParameters, initOverrides) {
|
|
4415
|
-
if (requestParameters["organizationGuid"] == null) {
|
|
4416
|
-
throw new RequiredError("organizationGuid", 'Required parameter "organizationGuid" was null or undefined when calling organizationServiceUpdateOrganizationServiceInstanceStatus().');
|
|
4417
|
-
}
|
|
4418
|
-
if (requestParameters["serviceType"] == null) {
|
|
4419
|
-
throw new RequiredError("serviceType", 'Required parameter "serviceType" was null or undefined when calling organizationServiceUpdateOrganizationServiceInstanceStatus().');
|
|
4420
|
-
}
|
|
4421
|
-
if (requestParameters["serviceStatus"] == null) {
|
|
4422
|
-
throw new RequiredError("serviceStatus", 'Required parameter "serviceStatus" was null or undefined when calling organizationServiceUpdateOrganizationServiceInstanceStatus().');
|
|
4423
|
-
}
|
|
4424
|
-
const queryParameters = {};
|
|
4425
|
-
const headerParameters = {};
|
|
4426
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4427
|
-
const token = this.configuration.accessToken;
|
|
4428
|
-
const tokenString = await token("bearerAuth", []);
|
|
4429
|
-
if (tokenString) {
|
|
4430
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4431
|
-
}
|
|
4432
|
-
}
|
|
4433
|
-
let urlPath = `/api/organization/{organizationGuid}/services/{serviceType}/status/{serviceStatus}`;
|
|
4434
|
-
urlPath = urlPath.replace(`{${"organizationGuid"}}`, encodeURIComponent(String(requestParameters["organizationGuid"])));
|
|
4435
|
-
urlPath = urlPath.replace(`{${"serviceType"}}`, encodeURIComponent(String(requestParameters["serviceType"])));
|
|
4436
|
-
urlPath = urlPath.replace(`{${"serviceStatus"}}`, encodeURIComponent(String(requestParameters["serviceStatus"])));
|
|
4437
|
-
const response = await this.request({
|
|
4438
|
-
path: urlPath,
|
|
4439
|
-
method: "PATCH",
|
|
4440
|
-
headers: headerParameters,
|
|
4441
|
-
query: queryParameters
|
|
4442
|
-
}, initOverrides);
|
|
4443
|
-
return new VoidApiResponse(response);
|
|
4444
|
-
}
|
|
4445
|
-
async organizationServiceUpdateOrganizationServiceInstanceStatus(requestParameters, initOverrides) {
|
|
4446
|
-
await this.organizationServiceUpdateOrganizationServiceInstanceStatusRaw(requestParameters, initOverrides);
|
|
4447
|
-
}
|
|
4448
|
-
}
|
|
4449
|
-
|
|
4450
|
-
// ../oms-sdk/generated/v1/src/apis/ServiceBackFillApi.ts
|
|
4451
|
-
class ServiceBackFillApi extends BaseAPI {
|
|
4452
|
-
async serviceBackFillBatchBackFillRaw(requestParameters, initOverrides) {
|
|
4453
|
-
const queryParameters = {};
|
|
4454
|
-
const headerParameters = {};
|
|
4455
|
-
headerParameters["Content-Type"] = "application/json";
|
|
4456
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4457
|
-
const token = this.configuration.accessToken;
|
|
4458
|
-
const tokenString = await token("bearerAuth", []);
|
|
4459
|
-
if (tokenString) {
|
|
4460
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4461
|
-
}
|
|
4462
|
-
}
|
|
4463
|
-
let urlPath = `/api/backfill/batch`;
|
|
4464
|
-
const response = await this.request({
|
|
4465
|
-
path: urlPath,
|
|
4466
|
-
method: "POST",
|
|
4467
|
-
headers: headerParameters,
|
|
4468
|
-
query: queryParameters,
|
|
4469
|
-
body: BatchProcessRequestToJSON(requestParameters["batchProcessRequest"])
|
|
4470
|
-
}, initOverrides);
|
|
4471
|
-
return new JSONApiResponse(response, (jsonValue) => BatchProcessResponseFromJSON(jsonValue));
|
|
4472
|
-
}
|
|
4473
|
-
async serviceBackFillBatchBackFill(requestParameters = {}, initOverrides) {
|
|
4474
|
-
const response = await this.serviceBackFillBatchBackFillRaw(requestParameters, initOverrides);
|
|
4475
|
-
return await response.value();
|
|
4476
|
-
}
|
|
4477
|
-
async serviceBackFillScaleUnitBackFillRaw(requestParameters, initOverrides) {
|
|
4478
|
-
const queryParameters = {};
|
|
4479
|
-
const headerParameters = {};
|
|
4480
|
-
headerParameters["Content-Type"] = "application/json";
|
|
4481
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
4482
|
-
const token = this.configuration.accessToken;
|
|
4483
|
-
const tokenString = await token("bearerAuth", []);
|
|
4484
|
-
if (tokenString) {
|
|
4485
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4486
|
-
}
|
|
4487
|
-
}
|
|
4488
|
-
let urlPath = `/api/backfill/scaleunit`;
|
|
4489
|
-
const response = await this.request({
|
|
4490
|
-
path: urlPath,
|
|
4491
|
-
method: "POST",
|
|
4492
|
-
headers: headerParameters,
|
|
4493
|
-
query: queryParameters,
|
|
4494
|
-
body: ServiceBackFillRequestDtoToJSON(requestParameters["serviceBackFillRequestDto"])
|
|
4495
|
-
}, initOverrides);
|
|
4496
|
-
if (this.isJsonMime(response.headers.get("content-type"))) {
|
|
4497
|
-
return new JSONApiResponse(response);
|
|
4498
|
-
} else {
|
|
4499
|
-
return new TextApiResponse(response);
|
|
4500
|
-
}
|
|
4501
|
-
}
|
|
4502
|
-
async serviceBackFillScaleUnitBackFill(requestParameters = {}, initOverrides) {
|
|
4503
|
-
const response = await this.serviceBackFillScaleUnitBackFillRaw(requestParameters, initOverrides);
|
|
4504
|
-
return await response.value();
|
|
4505
|
-
}
|
|
4506
|
-
}
|
|
4507
|
-
|
|
4508
1890
|
// ../oms-sdk/generated/v1/src/apis/TenantApi.ts
|
|
4509
1891
|
class TenantApi extends BaseAPI {
|
|
4510
1892
|
async tenantChangeTenantStatusRaw(requestParameters, initOverrides) {
|
|
@@ -5047,89 +2429,7 @@ class TenantServiceApi extends BaseAPI {
|
|
|
5047
2429
|
await this.tenantServiceUpdateTenantServiceInstanceStatusRaw(requestParameters, initOverrides);
|
|
5048
2430
|
}
|
|
5049
2431
|
}
|
|
5050
|
-
// ../oms-sdk/generated/v2/src/index.ts
|
|
5051
|
-
var exports_src2 = {};
|
|
5052
|
-
__export(exports_src2, {
|
|
5053
|
-
ApiKeyApi: () => ApiKeyApi2,
|
|
5054
|
-
ApiKeyType: () => ApiKeyType2,
|
|
5055
|
-
ApiKeyTypeFromJSON: () => ApiKeyTypeFromJSON3,
|
|
5056
|
-
ApiKeyTypeFromJSONTyped: () => ApiKeyTypeFromJSONTyped4,
|
|
5057
|
-
ApiKeyTypeToJSON: () => ApiKeyTypeToJSON3,
|
|
5058
|
-
ApiKeyTypeToJSONTyped: () => ApiKeyTypeToJSONTyped4,
|
|
5059
|
-
BASE_PATH: () => BASE_PATH2,
|
|
5060
|
-
BaseAPI: () => BaseAPI2,
|
|
5061
|
-
BlobApiResponse: () => BlobApiResponse2,
|
|
5062
|
-
COLLECTION_FORMATS: () => COLLECTION_FORMATS2,
|
|
5063
|
-
ChangeTenantStatusDtoFromJSON: () => ChangeTenantStatusDtoFromJSON,
|
|
5064
|
-
ChangeTenantStatusDtoFromJSONTyped: () => ChangeTenantStatusDtoFromJSONTyped,
|
|
5065
|
-
ChangeTenantStatusDtoToJSON: () => ChangeTenantStatusDtoToJSON,
|
|
5066
|
-
ChangeTenantStatusDtoToJSONTyped: () => ChangeTenantStatusDtoToJSONTyped,
|
|
5067
|
-
Configuration: () => Configuration2,
|
|
5068
|
-
DefaultConfig: () => DefaultConfig2,
|
|
5069
|
-
FetchError: () => FetchError2,
|
|
5070
|
-
JSONApiResponse: () => JSONApiResponse2,
|
|
5071
|
-
MLServiceDetailsDtoFromJSON: () => MLServiceDetailsDtoFromJSON2,
|
|
5072
|
-
MLServiceDetailsDtoFromJSONTyped: () => MLServiceDetailsDtoFromJSONTyped2,
|
|
5073
|
-
MLServiceDetailsDtoToJSON: () => MLServiceDetailsDtoToJSON3,
|
|
5074
|
-
MLServiceDetailsDtoToJSONTyped: () => MLServiceDetailsDtoToJSONTyped2,
|
|
5075
|
-
RequiredError: () => RequiredError2,
|
|
5076
|
-
ResponseError: () => ResponseError2,
|
|
5077
|
-
TenantApi: () => TenantApi2,
|
|
5078
|
-
TextApiResponse: () => TextApiResponse2,
|
|
5079
|
-
VoidApiResponse: () => VoidApiResponse2,
|
|
5080
|
-
canConsumeForm: () => canConsumeForm2,
|
|
5081
|
-
exists: () => exists2,
|
|
5082
|
-
instanceOfApiKeyType: () => instanceOfApiKeyType2,
|
|
5083
|
-
instanceOfChangeTenantStatusDto: () => instanceOfChangeTenantStatusDto,
|
|
5084
|
-
instanceOfMLServiceDetailsDto: () => instanceOfMLServiceDetailsDto2,
|
|
5085
|
-
mapValues: () => mapValues2,
|
|
5086
|
-
querystring: () => querystring2
|
|
5087
|
-
});
|
|
5088
|
-
|
|
5089
|
-
// ../oms-sdk/generated/v2/src/models/ApiKeyType.ts
|
|
5090
|
-
var ApiKeyType2 = {
|
|
5091
|
-
MlserviceCvmodel: "MLSERVICE_CVMODEL",
|
|
5092
|
-
MlserviceTiemodel: "MLSERVICE_TIEMODEL",
|
|
5093
|
-
MlserviceTremodel: "MLSERVICE_TREMODEL"
|
|
5094
|
-
};
|
|
5095
|
-
function instanceOfApiKeyType2(value) {
|
|
5096
|
-
for (const key in ApiKeyType2) {
|
|
5097
|
-
if (Object.prototype.hasOwnProperty.call(ApiKeyType2, key)) {
|
|
5098
|
-
if (ApiKeyType2[key] === value) {
|
|
5099
|
-
return true;
|
|
5100
|
-
}
|
|
5101
|
-
}
|
|
5102
|
-
}
|
|
5103
|
-
return false;
|
|
5104
|
-
}
|
|
5105
|
-
function ApiKeyTypeFromJSON3(json) {
|
|
5106
|
-
return ApiKeyTypeFromJSONTyped4(json, false);
|
|
5107
|
-
}
|
|
5108
|
-
function ApiKeyTypeFromJSONTyped4(json, ignoreDiscriminator) {
|
|
5109
|
-
return json;
|
|
5110
|
-
}
|
|
5111
|
-
function ApiKeyTypeToJSON3(value) {
|
|
5112
|
-
return value;
|
|
5113
|
-
}
|
|
5114
|
-
function ApiKeyTypeToJSONTyped4(value, ignoreDiscriminator) {
|
|
5115
|
-
return value;
|
|
5116
|
-
}
|
|
5117
|
-
|
|
5118
2432
|
// ../oms-sdk/generated/v2/src/models/ChangeTenantStatusDto.ts
|
|
5119
|
-
function instanceOfChangeTenantStatusDto(value) {
|
|
5120
|
-
return true;
|
|
5121
|
-
}
|
|
5122
|
-
function ChangeTenantStatusDtoFromJSON(json) {
|
|
5123
|
-
return ChangeTenantStatusDtoFromJSONTyped(json, false);
|
|
5124
|
-
}
|
|
5125
|
-
function ChangeTenantStatusDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
5126
|
-
if (json == null) {
|
|
5127
|
-
return json;
|
|
5128
|
-
}
|
|
5129
|
-
return {
|
|
5130
|
-
reason: json["reason"] == null ? undefined : json["reason"]
|
|
5131
|
-
};
|
|
5132
|
-
}
|
|
5133
2433
|
function ChangeTenantStatusDtoToJSON(json) {
|
|
5134
2434
|
return ChangeTenantStatusDtoToJSONTyped(json, false);
|
|
5135
2435
|
}
|
|
@@ -5142,80 +2442,6 @@ function ChangeTenantStatusDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
5142
2442
|
};
|
|
5143
2443
|
}
|
|
5144
2444
|
|
|
5145
|
-
// ../oms-sdk/generated/v2/src/models/MLServiceDetailsDto.ts
|
|
5146
|
-
function instanceOfMLServiceDetailsDto2(value) {
|
|
5147
|
-
return true;
|
|
5148
|
-
}
|
|
5149
|
-
function MLServiceDetailsDtoFromJSON2(json) {
|
|
5150
|
-
return MLServiceDetailsDtoFromJSONTyped2(json, false);
|
|
5151
|
-
}
|
|
5152
|
-
function MLServiceDetailsDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
5153
|
-
if (json == null) {
|
|
5154
|
-
return json;
|
|
5155
|
-
}
|
|
5156
|
-
return {
|
|
5157
|
-
accountId: json["accountId"] == null ? undefined : json["accountId"],
|
|
5158
|
-
accountGlobalId: json["accountGlobalId"] == null ? undefined : json["accountGlobalId"],
|
|
5159
|
-
licenseStatus: json["licenseStatus"] == null ? undefined : json["licenseStatus"],
|
|
5160
|
-
subscriptionPlan: json["subscriptionPlan"] == null ? undefined : json["subscriptionPlan"],
|
|
5161
|
-
licenseCount: json["licenseCount"] == null ? undefined : json["licenseCount"],
|
|
5162
|
-
licenseType: json["licenseType"] == null ? undefined : ApiKeyTypeFromJSON3(json["licenseType"])
|
|
5163
|
-
};
|
|
5164
|
-
}
|
|
5165
|
-
function MLServiceDetailsDtoToJSON3(json) {
|
|
5166
|
-
return MLServiceDetailsDtoToJSONTyped2(json, false);
|
|
5167
|
-
}
|
|
5168
|
-
function MLServiceDetailsDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
5169
|
-
if (value == null) {
|
|
5170
|
-
return value;
|
|
5171
|
-
}
|
|
5172
|
-
return {
|
|
5173
|
-
accountId: value["accountId"],
|
|
5174
|
-
accountGlobalId: value["accountGlobalId"],
|
|
5175
|
-
licenseStatus: value["licenseStatus"],
|
|
5176
|
-
subscriptionPlan: value["subscriptionPlan"],
|
|
5177
|
-
licenseCount: value["licenseCount"],
|
|
5178
|
-
licenseType: ApiKeyTypeToJSON3(value["licenseType"])
|
|
5179
|
-
};
|
|
5180
|
-
}
|
|
5181
|
-
|
|
5182
|
-
// ../oms-sdk/generated/v2/src/apis/ApiKeyApi.ts
|
|
5183
|
-
class ApiKeyApi2 extends BaseAPI2 {
|
|
5184
|
-
async apiKeyGetMLServiceDetailsV2Raw(requestParameters, initOverrides) {
|
|
5185
|
-
if (requestParameters["licenceType"] == null) {
|
|
5186
|
-
throw new RequiredError2("licenceType", 'Required parameter "licenceType" was null or undefined when calling apiKeyGetMLServiceDetailsV2().');
|
|
5187
|
-
}
|
|
5188
|
-
const queryParameters = {};
|
|
5189
|
-
if (requestParameters["apiVersion"] != null) {
|
|
5190
|
-
queryParameters["api-version"] = requestParameters["apiVersion"];
|
|
5191
|
-
}
|
|
5192
|
-
const headerParameters = {};
|
|
5193
|
-
if (requestParameters["xUiPathInternalMLServiceKey"] != null) {
|
|
5194
|
-
headerParameters["x-UiPath-Internal-MLServiceKey"] = String(requestParameters["xUiPathInternalMLServiceKey"]);
|
|
5195
|
-
}
|
|
5196
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
5197
|
-
const token = this.configuration.accessToken;
|
|
5198
|
-
const tokenString = await token("bearerAuth", []);
|
|
5199
|
-
if (tokenString) {
|
|
5200
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
5201
|
-
}
|
|
5202
|
-
}
|
|
5203
|
-
let urlPath = `/api/mlservice/{licenceType}`;
|
|
5204
|
-
urlPath = urlPath.replace(`{${"licenceType"}}`, encodeURIComponent(String(requestParameters["licenceType"])));
|
|
5205
|
-
const response = await this.request({
|
|
5206
|
-
path: urlPath,
|
|
5207
|
-
method: "GET",
|
|
5208
|
-
headers: headerParameters,
|
|
5209
|
-
query: queryParameters
|
|
5210
|
-
}, initOverrides);
|
|
5211
|
-
return new JSONApiResponse2(response, (jsonValue) => MLServiceDetailsDtoFromJSON2(jsonValue));
|
|
5212
|
-
}
|
|
5213
|
-
async apiKeyGetMLServiceDetailsV2(requestParameters, initOverrides) {
|
|
5214
|
-
const response = await this.apiKeyGetMLServiceDetailsV2Raw(requestParameters, initOverrides);
|
|
5215
|
-
return await response.value();
|
|
5216
|
-
}
|
|
5217
|
-
}
|
|
5218
|
-
|
|
5219
2445
|
// ../oms-sdk/generated/v2/src/apis/TenantApi.ts
|
|
5220
2446
|
class TenantApi2 extends BaseAPI2 {
|
|
5221
2447
|
async tenantChangeTenantStatusV2Raw(requestParameters, initOverrides) {
|
|
@@ -5260,21 +2486,16 @@ class TenantApi2 extends BaseAPI2 {
|
|
|
5260
2486
|
}
|
|
5261
2487
|
// ../oms-sdk/src/client-factory.ts
|
|
5262
2488
|
async function resolveAuth(options) {
|
|
5263
|
-
const
|
|
5264
|
-
ensureTokenValidityMinutes: options?.loginValidity
|
|
2489
|
+
const auth = await getAuthContext({
|
|
2490
|
+
ensureTokenValidityMinutes: options?.loginValidity,
|
|
2491
|
+
requireOrganizationId: true
|
|
5265
2492
|
});
|
|
5266
|
-
if (status.loginStatus !== "Logged in" || !status.baseUrl || !status.accessToken) {
|
|
5267
|
-
throw new Error(status.hint ? `Not logged in. ${status.hint}` : "Not logged in. Run 'uip login' first.");
|
|
5268
|
-
}
|
|
5269
|
-
if (!status.organizationId) {
|
|
5270
|
-
throw new Error("Organization ID not available. Ensure you are logged in with an organization context.");
|
|
5271
|
-
}
|
|
5272
2493
|
return {
|
|
5273
|
-
basePath: `${
|
|
5274
|
-
bearerToken: options?.s2sToken ??
|
|
5275
|
-
organizationId:
|
|
5276
|
-
tenantId:
|
|
5277
|
-
tenantName:
|
|
2494
|
+
basePath: `${auth.baseUrl}/${encodeURIComponent(auth.organizationId)}/organization_`,
|
|
2495
|
+
bearerToken: options?.s2sToken ?? auth.accessToken,
|
|
2496
|
+
organizationId: auth.organizationId,
|
|
2497
|
+
tenantId: auth.tenantId,
|
|
2498
|
+
tenantName: auth.tenantName
|
|
5278
2499
|
};
|
|
5279
2500
|
}
|
|
5280
2501
|
async function createV1Client(ApiClass, options) {
|
|
@@ -5369,8 +2590,8 @@ async function extractResponseData(response) {
|
|
|
5369
2590
|
}
|
|
5370
2591
|
|
|
5371
2592
|
// ../oms-commands/src/commands/organizations.ts
|
|
5372
|
-
var SERVICE_STATUS_VALUES = Object.values(
|
|
5373
|
-
var REGION_VALUES = Object.values(
|
|
2593
|
+
var SERVICE_STATUS_VALUES = Object.values(ServiceStatus);
|
|
2594
|
+
var REGION_VALUES = Object.values(Region);
|
|
5374
2595
|
var ORG_GET_EXAMPLES = [
|
|
5375
2596
|
{
|
|
5376
2597
|
Description: "Fetch the caller's organization record",
|
|
@@ -5488,7 +2709,7 @@ var SVC_AVAILABLE_EXAMPLES = [
|
|
|
5488
2709
|
}
|
|
5489
2710
|
];
|
|
5490
2711
|
async function getOrgApi(options) {
|
|
5491
|
-
const [err, client] = await catchError(createV1Client(
|
|
2712
|
+
const [err, client] = await catchError(createV1Client(OrganizationApi, {
|
|
5492
2713
|
loginValidity: options.loginValidity
|
|
5493
2714
|
}));
|
|
5494
2715
|
if (err) {
|
|
@@ -5543,7 +2764,7 @@ var registerOrgServicesCommands = (organizations) => {
|
|
|
5543
2764
|
return;
|
|
5544
2765
|
const [error, result] = await catchError(client.api.organizationGetAllAvailableServices({
|
|
5545
2766
|
organizationGuid: client.organizationId,
|
|
5546
|
-
scope:
|
|
2767
|
+
scope: Scope.Account,
|
|
5547
2768
|
isCanaryTenant: false
|
|
5548
2769
|
}));
|
|
5549
2770
|
if (error) {
|
|
@@ -5688,7 +2909,7 @@ var registerOrganizationsCommands = (oms) => {
|
|
|
5688
2909
|
};
|
|
5689
2910
|
|
|
5690
2911
|
// ../oms-commands/src/commands/tenants.ts
|
|
5691
|
-
var REGION_VALUES2 = Object.values(
|
|
2912
|
+
var REGION_VALUES2 = Object.values(Region);
|
|
5692
2913
|
var TENANT_STATUS_VALUES = [
|
|
5693
2914
|
"Enabled",
|
|
5694
2915
|
"Disabled",
|
|
@@ -5887,7 +3108,7 @@ var TSVC_DISABLE_EXAMPLES = [
|
|
|
5887
3108
|
}
|
|
5888
3109
|
];
|
|
5889
3110
|
async function getTenantApi(options) {
|
|
5890
|
-
const [err, client] = await catchError(createV1Client(
|
|
3111
|
+
const [err, client] = await catchError(createV1Client(TenantApi, {
|
|
5891
3112
|
loginValidity: options.loginValidity
|
|
5892
3113
|
}));
|
|
5893
3114
|
if (err) {
|
|
@@ -5897,7 +3118,7 @@ async function getTenantApi(options) {
|
|
|
5897
3118
|
return client;
|
|
5898
3119
|
}
|
|
5899
3120
|
async function getTenantApiV2(options) {
|
|
5900
|
-
const [err, client] = await catchError(createV2Client(
|
|
3121
|
+
const [err, client] = await catchError(createV2Client(TenantApi2, {
|
|
5901
3122
|
loginValidity: options.loginValidity
|
|
5902
3123
|
}));
|
|
5903
3124
|
if (err) {
|
|
@@ -5907,7 +3128,7 @@ async function getTenantApiV2(options) {
|
|
|
5907
3128
|
return client;
|
|
5908
3129
|
}
|
|
5909
3130
|
async function getOrgApi2(options) {
|
|
5910
|
-
const [err, client] = await catchError(createV1Client(
|
|
3131
|
+
const [err, client] = await catchError(createV1Client(OrganizationApi, {
|
|
5911
3132
|
loginValidity: options.loginValidity
|
|
5912
3133
|
}));
|
|
5913
3134
|
if (err) {
|
|
@@ -5917,7 +3138,7 @@ async function getOrgApi2(options) {
|
|
|
5917
3138
|
return client;
|
|
5918
3139
|
}
|
|
5919
3140
|
async function getTenantServiceApi(options) {
|
|
5920
|
-
const [err, client] = await catchError(createV1Client(
|
|
3141
|
+
const [err, client] = await catchError(createV1Client(TenantServiceApi, {
|
|
5921
3142
|
loginValidity: options.loginValidity
|
|
5922
3143
|
}));
|
|
5923
3144
|
if (err) {
|
|
@@ -5984,7 +3205,7 @@ var registerTenantServicesCommands = (tenants) => {
|
|
|
5984
3205
|
return;
|
|
5985
3206
|
const [error, result] = await catchError(client.api.organizationGetAllAvailableServices({
|
|
5986
3207
|
organizationGuid: client.organizationId,
|
|
5987
|
-
scope:
|
|
3208
|
+
scope: Scope.Tenant,
|
|
5988
3209
|
region: options.region,
|
|
5989
3210
|
isCanaryTenant: false
|
|
5990
3211
|
}));
|
|
@@ -6158,7 +3379,7 @@ var registerTenantServicesCommands = (tenants) => {
|
|
|
6158
3379
|
tenantGuid: tenantId,
|
|
6159
3380
|
changeTenantServiceStatusRequestDto: {
|
|
6160
3381
|
serviceTypeServiceStatusMap: {
|
|
6161
|
-
[options.service]:
|
|
3382
|
+
[options.service]: ServiceStatus.Enabled
|
|
6162
3383
|
}
|
|
6163
3384
|
}
|
|
6164
3385
|
}));
|
|
@@ -6185,7 +3406,7 @@ var registerTenantServicesCommands = (tenants) => {
|
|
|
6185
3406
|
tenantGuid: tenantId,
|
|
6186
3407
|
changeTenantServiceStatusRequestDto: {
|
|
6187
3408
|
serviceTypeServiceStatusMap: {
|
|
6188
|
-
[options.service]:
|
|
3409
|
+
[options.service]: ServiceStatus.Disabled
|
|
6189
3410
|
}
|
|
6190
3411
|
}
|
|
6191
3412
|
}));
|
|
@@ -6498,4 +3719,4 @@ export {
|
|
|
6498
3719
|
registerCommands
|
|
6499
3720
|
};
|
|
6500
3721
|
|
|
6501
|
-
//# debugId=
|
|
3722
|
+
//# debugId=5BF8322E18C7660F64756E2164756E21
|