@uipath/solution-sdk 1.205.0-preview.277 → 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/deployment-search.js +49 -19
- package/dist/{embedded-file-reader-z4becc02.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/{index-y4vgqz1w.js → index-0b3srjv7.js} +98 -8
- package/dist/{index-78paj2kz.js → index-0drvtcm4.js} +12 -11
- package/dist/{index-hkexw5er.js → index-bpn15jyk.js} +35 -20
- package/dist/{index-gdtpsdn7.js → index-mm1x18d6.js} +223 -28
- package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-qq5t2dkg.js → index-t1e17c6h.js} +582 -577
- package/dist/{index-enc2hqq5.js → index-tdffhvfs.js} +931 -502
- package/dist/index-txd1grjc.js +541 -0
- package/dist/{index-cs3g624n.js → index-xnrbg4x3.js} +6 -7
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +1310 -669
- package/dist/{jmespath-231m3hyn.js → jmespath-x4na7sj8.js} +1 -1
- package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/package-search.js +18 -19
- package/dist/project-context.js +75 -0
- package/dist/resources/index.js +265 -237
- package/dist/scripts/generate-sdk.js +2 -2
- package/dist/solution-auth.js +6 -7
- package/dist/src/deployment-search.d.ts +30 -0
- package/dist/src/project-context.d.ts +9 -0
- package/dist/src/resources/providers/artefact-pair-binding-provider.d.ts +8 -2
- package/dist/src/resources/services/sync-resources-from-bindings.d.ts +14 -1
- package/package.json +6 -2
- package/dist/first-party-service-sd8yaf73.js +0 -27
- package/dist/index-1de529jm.js +0 -39
- package/dist/index-53w8skv5.js +0 -262
- package/dist/index-dqa169gp.js +0 -25
- package/dist/index-zmneg45c.js +0 -1184
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
installSdkUserAgentHeader
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-tdffhvfs.js";
|
|
5
5
|
|
|
6
6
|
// generated/src/runtime.ts
|
|
7
|
-
var
|
|
7
|
+
var BASE_PATH2 = "https://alpha.uipath.com/uipattycyrhx/abizon_1/automationsolutions_".replace(/\/+$/, "");
|
|
8
8
|
|
|
9
|
-
class
|
|
9
|
+
class Configuration3 {
|
|
10
10
|
configuration;
|
|
11
11
|
constructor(configuration = {}) {
|
|
12
12
|
this.configuration = configuration;
|
|
@@ -15,7 +15,7 @@ class Configuration {
|
|
|
15
15
|
this.configuration = configuration;
|
|
16
16
|
}
|
|
17
17
|
get basePath() {
|
|
18
|
-
return this.configuration.basePath != null ? this.configuration.basePath :
|
|
18
|
+
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH2;
|
|
19
19
|
}
|
|
20
20
|
get fetchApi() {
|
|
21
21
|
return this.configuration.fetchApi;
|
|
@@ -24,7 +24,7 @@ class Configuration {
|
|
|
24
24
|
return this.configuration.middleware || [];
|
|
25
25
|
}
|
|
26
26
|
get queryParamsStringify() {
|
|
27
|
-
return this.configuration.queryParamsStringify ||
|
|
27
|
+
return this.configuration.queryParamsStringify || querystring2;
|
|
28
28
|
}
|
|
29
29
|
get username() {
|
|
30
30
|
return this.configuration.username;
|
|
@@ -53,13 +53,13 @@ class Configuration {
|
|
|
53
53
|
return this.configuration.credentials;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var DefaultConfig2 = new Configuration3;
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class BaseAPI2 {
|
|
59
59
|
configuration;
|
|
60
60
|
static jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i");
|
|
61
61
|
middleware;
|
|
62
|
-
constructor(configuration =
|
|
62
|
+
constructor(configuration = DefaultConfig2) {
|
|
63
63
|
this.configuration = configuration;
|
|
64
64
|
this.middleware = configuration.middleware;
|
|
65
65
|
}
|
|
@@ -80,7 +80,7 @@ class BaseAPI {
|
|
|
80
80
|
if (!mime) {
|
|
81
81
|
return false;
|
|
82
82
|
}
|
|
83
|
-
return
|
|
83
|
+
return BaseAPI2.jsonRegex.test(mime);
|
|
84
84
|
}
|
|
85
85
|
async request(context, initOverrides) {
|
|
86
86
|
const { url, init } = await this.createFetchParams(context, initOverrides);
|
|
@@ -88,7 +88,7 @@ class BaseAPI {
|
|
|
88
88
|
if (response && (response.status >= 200 && response.status < 300)) {
|
|
89
89
|
return response;
|
|
90
90
|
}
|
|
91
|
-
throw new
|
|
91
|
+
throw new ResponseError2(response, "Response returned an error code");
|
|
92
92
|
}
|
|
93
93
|
async createFetchParams(context, initOverrides) {
|
|
94
94
|
let url = this.configuration.basePath + context.path;
|
|
@@ -152,7 +152,7 @@ class BaseAPI {
|
|
|
152
152
|
}
|
|
153
153
|
if (response === undefined) {
|
|
154
154
|
if (e instanceof Error) {
|
|
155
|
-
throw new
|
|
155
|
+
throw new FetchError2(e, "The request failed and the interceptors did not return an alternative response");
|
|
156
156
|
} else {
|
|
157
157
|
throw e;
|
|
158
158
|
}
|
|
@@ -184,7 +184,7 @@ function isFormData(value) {
|
|
|
184
184
|
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class ResponseError2 extends Error {
|
|
188
188
|
response;
|
|
189
189
|
name = "ResponseError";
|
|
190
190
|
constructor(response, msg) {
|
|
@@ -193,7 +193,7 @@ class ResponseError extends Error {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
class
|
|
196
|
+
class FetchError2 extends Error {
|
|
197
197
|
cause;
|
|
198
198
|
name = "FetchError";
|
|
199
199
|
constructor(cause, msg) {
|
|
@@ -202,7 +202,7 @@ class FetchError extends Error {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
class
|
|
205
|
+
class RequiredError2 extends Error {
|
|
206
206
|
field;
|
|
207
207
|
name = "RequiredError";
|
|
208
208
|
constructor(field, msg) {
|
|
@@ -210,13 +210,13 @@ class RequiredError extends Error {
|
|
|
210
210
|
this.field = field;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var COLLECTION_FORMATS2 = {
|
|
214
214
|
csv: ",",
|
|
215
215
|
ssv: " ",
|
|
216
216
|
tsv: "\t",
|
|
217
217
|
pipes: "|"
|
|
218
218
|
};
|
|
219
|
-
function
|
|
219
|
+
function querystring2(params, prefix = "") {
|
|
220
220
|
return Object.keys(params).map((key) => querystringSingleKey(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
|
|
221
221
|
}
|
|
222
222
|
function querystringSingleKey(key, value, keyPrefix = "") {
|
|
@@ -233,22 +233,22 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
233
233
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
|
|
234
234
|
}
|
|
235
235
|
if (value instanceof Object) {
|
|
236
|
-
return
|
|
236
|
+
return querystring2(value, fullKey);
|
|
237
237
|
}
|
|
238
238
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function exists2(json, key) {
|
|
241
241
|
const value = json[key];
|
|
242
242
|
return value !== null && value !== undefined;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function mapValues2(data, fn) {
|
|
245
245
|
const result = {};
|
|
246
246
|
for (const key of Object.keys(data)) {
|
|
247
247
|
result[key] = fn(data[key]);
|
|
248
248
|
}
|
|
249
249
|
return result;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function canConsumeForm2(consumes) {
|
|
252
252
|
for (const consume of consumes) {
|
|
253
253
|
if (consume.contentType === "multipart/form-data") {
|
|
254
254
|
return true;
|
|
@@ -257,7 +257,7 @@ function canConsumeForm(consumes) {
|
|
|
257
257
|
return false;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
class
|
|
260
|
+
class JSONApiResponse2 {
|
|
261
261
|
raw;
|
|
262
262
|
transformer;
|
|
263
263
|
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
@@ -269,7 +269,7 @@ class JSONApiResponse {
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
class
|
|
272
|
+
class VoidApiResponse2 {
|
|
273
273
|
raw;
|
|
274
274
|
constructor(raw) {
|
|
275
275
|
this.raw = raw;
|
|
@@ -279,7 +279,7 @@ class VoidApiResponse {
|
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
class
|
|
282
|
+
class BlobApiResponse2 {
|
|
283
283
|
raw;
|
|
284
284
|
constructor(raw) {
|
|
285
285
|
this.raw = raw;
|
|
@@ -289,7 +289,7 @@ class BlobApiResponse {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
class
|
|
292
|
+
class TextApiResponse2 {
|
|
293
293
|
raw;
|
|
294
294
|
constructor(raw) {
|
|
295
295
|
this.raw = raw;
|
|
@@ -303,7 +303,7 @@ var package_default = {
|
|
|
303
303
|
name: "@uipath/solution-sdk",
|
|
304
304
|
author: "UiPath",
|
|
305
305
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
306
|
-
version: "1.
|
|
306
|
+
version: "1.206.0-preview.279",
|
|
307
307
|
repository: {
|
|
308
308
|
type: "git",
|
|
309
309
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -340,6 +340,10 @@ var package_default = {
|
|
|
340
340
|
"./packages": {
|
|
341
341
|
types: "./dist/src/package-search.d.ts",
|
|
342
342
|
default: "./dist/package-search.js"
|
|
343
|
+
},
|
|
344
|
+
"./project-context": {
|
|
345
|
+
types: "./dist/src/project-context.d.ts",
|
|
346
|
+
default: "./dist/project-context.js"
|
|
343
347
|
}
|
|
344
348
|
},
|
|
345
349
|
bin: {
|
|
@@ -350,11 +354,12 @@ var package_default = {
|
|
|
350
354
|
],
|
|
351
355
|
private: false,
|
|
352
356
|
scripts: {
|
|
353
|
-
build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
357
|
+
build: "bun build ./src/index.ts ./src/resources/index.ts ./src/solution-auth.ts ./src/deployment-search.ts ./src/package-search.ts ./src/project-context.ts --outdir dist --format esm --target node --splitting --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
354
358
|
generate: "bun run src/scripts/generate-sdk.ts",
|
|
355
359
|
lint: "biome check .",
|
|
356
360
|
test: "vitest run",
|
|
357
|
-
"test:coverage": "vitest run --coverage"
|
|
361
|
+
"test:coverage": "vitest run --coverage",
|
|
362
|
+
typecheck: "tsc --noEmit"
|
|
358
363
|
},
|
|
359
364
|
devDependencies: {
|
|
360
365
|
"@openapitools/openapi-generator-cli": "^2.31.1",
|
|
@@ -374,17 +379,17 @@ var package_default = {
|
|
|
374
379
|
};
|
|
375
380
|
|
|
376
381
|
// src/user-agent.ts
|
|
377
|
-
var
|
|
378
|
-
installSdkUserAgentHeader(
|
|
382
|
+
var SDK_USER_AGENT2 = getSdkUserAgentToken(package_default);
|
|
383
|
+
installSdkUserAgentHeader(BaseAPI2, SDK_USER_AGENT2);
|
|
379
384
|
|
|
380
385
|
// generated/src/models/ResponseDictionaryDto.ts
|
|
381
|
-
function
|
|
386
|
+
function instanceOfResponseDictionaryDto2(value) {
|
|
382
387
|
return true;
|
|
383
388
|
}
|
|
384
|
-
function
|
|
385
|
-
return
|
|
389
|
+
function ResponseDictionaryDtoFromJSON2(json) {
|
|
390
|
+
return ResponseDictionaryDtoFromJSONTyped2(json, false);
|
|
386
391
|
}
|
|
387
|
-
function
|
|
392
|
+
function ResponseDictionaryDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
388
393
|
if (json == null) {
|
|
389
394
|
return json;
|
|
390
395
|
}
|
|
@@ -393,10 +398,10 @@ function ResponseDictionaryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
393
398
|
values: json["values"] == null ? undefined : json["values"]
|
|
394
399
|
};
|
|
395
400
|
}
|
|
396
|
-
function
|
|
397
|
-
return
|
|
401
|
+
function ResponseDictionaryDtoToJSON2(json) {
|
|
402
|
+
return ResponseDictionaryDtoToJSONTyped2(json, false);
|
|
398
403
|
}
|
|
399
|
-
function
|
|
404
|
+
function ResponseDictionaryDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
400
405
|
if (value == null) {
|
|
401
406
|
return value;
|
|
402
407
|
}
|
|
@@ -407,50 +412,50 @@ function ResponseDictionaryDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
407
412
|
}
|
|
408
413
|
|
|
409
414
|
// generated/src/models/BlobFileAccessDto.ts
|
|
410
|
-
function
|
|
415
|
+
function instanceOfBlobFileAccessDto2(value) {
|
|
411
416
|
if (!("uri" in value) || value["uri"] === undefined)
|
|
412
417
|
return false;
|
|
413
418
|
if (!("verb" in value) || value["verb"] === undefined)
|
|
414
419
|
return false;
|
|
415
420
|
return true;
|
|
416
421
|
}
|
|
417
|
-
function
|
|
418
|
-
return
|
|
422
|
+
function BlobFileAccessDtoFromJSON2(json) {
|
|
423
|
+
return BlobFileAccessDtoFromJSONTyped2(json, false);
|
|
419
424
|
}
|
|
420
|
-
function
|
|
425
|
+
function BlobFileAccessDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
421
426
|
if (json == null) {
|
|
422
427
|
return json;
|
|
423
428
|
}
|
|
424
429
|
return {
|
|
425
430
|
uri: json["uri"],
|
|
426
431
|
verb: json["verb"],
|
|
427
|
-
headers: json["headers"] == null ? undefined :
|
|
432
|
+
headers: json["headers"] == null ? undefined : ResponseDictionaryDtoFromJSON2(json["headers"])
|
|
428
433
|
};
|
|
429
434
|
}
|
|
430
|
-
function
|
|
431
|
-
return
|
|
435
|
+
function BlobFileAccessDtoToJSON2(json) {
|
|
436
|
+
return BlobFileAccessDtoToJSONTyped2(json, false);
|
|
432
437
|
}
|
|
433
|
-
function
|
|
438
|
+
function BlobFileAccessDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
434
439
|
if (value == null) {
|
|
435
440
|
return value;
|
|
436
441
|
}
|
|
437
442
|
return {
|
|
438
443
|
uri: value["uri"],
|
|
439
444
|
verb: value["verb"],
|
|
440
|
-
headers:
|
|
445
|
+
headers: ResponseDictionaryDtoToJSON2(value["headers"])
|
|
441
446
|
};
|
|
442
447
|
}
|
|
443
448
|
|
|
444
449
|
// generated/src/models/CreateConfigurationCommand.ts
|
|
445
|
-
function
|
|
450
|
+
function instanceOfCreateConfigurationCommand2(value) {
|
|
446
451
|
if (!("packageVersionKey" in value) || value["packageVersionKey"] === undefined)
|
|
447
452
|
return false;
|
|
448
453
|
return true;
|
|
449
454
|
}
|
|
450
|
-
function
|
|
451
|
-
return
|
|
455
|
+
function CreateConfigurationCommandFromJSON2(json) {
|
|
456
|
+
return CreateConfigurationCommandFromJSONTyped2(json, false);
|
|
452
457
|
}
|
|
453
|
-
function
|
|
458
|
+
function CreateConfigurationCommandFromJSONTyped2(json, ignoreDiscriminator) {
|
|
454
459
|
if (json == null) {
|
|
455
460
|
return json;
|
|
456
461
|
}
|
|
@@ -459,10 +464,10 @@ function CreateConfigurationCommandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
459
464
|
name: json["name"] == null ? undefined : json["name"]
|
|
460
465
|
};
|
|
461
466
|
}
|
|
462
|
-
function
|
|
463
|
-
return
|
|
467
|
+
function CreateConfigurationCommandToJSON2(json) {
|
|
468
|
+
return CreateConfigurationCommandToJSONTyped2(json, false);
|
|
464
469
|
}
|
|
465
|
-
function
|
|
470
|
+
function CreateConfigurationCommandToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
466
471
|
if (value == null) {
|
|
467
472
|
return value;
|
|
468
473
|
}
|
|
@@ -473,7 +478,7 @@ function CreateConfigurationCommandToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
473
478
|
}
|
|
474
479
|
|
|
475
480
|
// generated/src/models/DeploymentActivationStatus.ts
|
|
476
|
-
var
|
|
481
|
+
var DeploymentActivationStatus2 = {
|
|
477
482
|
None: "None",
|
|
478
483
|
Active: "Active",
|
|
479
484
|
Inactive: "Inactive",
|
|
@@ -482,59 +487,59 @@ var DeploymentActivationStatus = {
|
|
|
482
487
|
ReadyToActivate: "ReadyToActivate",
|
|
483
488
|
NeedsSetupToActivate: "NeedsSetupToActivate"
|
|
484
489
|
};
|
|
485
|
-
function
|
|
486
|
-
for (const key in
|
|
487
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
488
|
-
if (
|
|
490
|
+
function instanceOfDeploymentActivationStatus2(value) {
|
|
491
|
+
for (const key in DeploymentActivationStatus2) {
|
|
492
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentActivationStatus2, key)) {
|
|
493
|
+
if (DeploymentActivationStatus2[key] === value) {
|
|
489
494
|
return true;
|
|
490
495
|
}
|
|
491
496
|
}
|
|
492
497
|
}
|
|
493
498
|
return false;
|
|
494
499
|
}
|
|
495
|
-
function
|
|
496
|
-
return
|
|
500
|
+
function DeploymentActivationStatusFromJSON2(json) {
|
|
501
|
+
return DeploymentActivationStatusFromJSONTyped2(json, false);
|
|
497
502
|
}
|
|
498
|
-
function
|
|
503
|
+
function DeploymentActivationStatusFromJSONTyped2(json, ignoreDiscriminator) {
|
|
499
504
|
return json;
|
|
500
505
|
}
|
|
501
|
-
function
|
|
506
|
+
function DeploymentActivationStatusToJSON2(value) {
|
|
502
507
|
return value;
|
|
503
508
|
}
|
|
504
|
-
function
|
|
509
|
+
function DeploymentActivationStatusToJSONTyped2(value, ignoreDiscriminator) {
|
|
505
510
|
return value;
|
|
506
511
|
}
|
|
507
512
|
|
|
508
513
|
// generated/src/models/OverwriteType.ts
|
|
509
|
-
var
|
|
514
|
+
var OverwriteType2 = {
|
|
510
515
|
Install: "Install",
|
|
511
516
|
Reference: "Reference"
|
|
512
517
|
};
|
|
513
|
-
function
|
|
514
|
-
for (const key in
|
|
515
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
516
|
-
if (
|
|
518
|
+
function instanceOfOverwriteType2(value) {
|
|
519
|
+
for (const key in OverwriteType2) {
|
|
520
|
+
if (Object.prototype.hasOwnProperty.call(OverwriteType2, key)) {
|
|
521
|
+
if (OverwriteType2[key] === value) {
|
|
517
522
|
return true;
|
|
518
523
|
}
|
|
519
524
|
}
|
|
520
525
|
}
|
|
521
526
|
return false;
|
|
522
527
|
}
|
|
523
|
-
function
|
|
524
|
-
return
|
|
528
|
+
function OverwriteTypeFromJSON2(json) {
|
|
529
|
+
return OverwriteTypeFromJSONTyped2(json, false);
|
|
525
530
|
}
|
|
526
|
-
function
|
|
531
|
+
function OverwriteTypeFromJSONTyped2(json, ignoreDiscriminator) {
|
|
527
532
|
return json;
|
|
528
533
|
}
|
|
529
|
-
function
|
|
534
|
+
function OverwriteTypeToJSON2(value) {
|
|
530
535
|
return value;
|
|
531
536
|
}
|
|
532
|
-
function
|
|
537
|
+
function OverwriteTypeToJSONTyped2(value, ignoreDiscriminator) {
|
|
533
538
|
return value;
|
|
534
539
|
}
|
|
535
540
|
|
|
536
541
|
// generated/src/models/Overwrite.ts
|
|
537
|
-
function
|
|
542
|
+
function instanceOfOverwrite2(value) {
|
|
538
543
|
if (!("resourceKey" in value) || value["resourceKey"] === undefined)
|
|
539
544
|
return false;
|
|
540
545
|
if (!("resourceName" in value) || value["resourceName"] === undefined)
|
|
@@ -543,10 +548,10 @@ function instanceOfOverwrite(value) {
|
|
|
543
548
|
return false;
|
|
544
549
|
return true;
|
|
545
550
|
}
|
|
546
|
-
function
|
|
547
|
-
return
|
|
551
|
+
function OverwriteFromJSON2(json) {
|
|
552
|
+
return OverwriteFromJSONTyped2(json, false);
|
|
548
553
|
}
|
|
549
|
-
function
|
|
554
|
+
function OverwriteFromJSONTyped2(json, ignoreDiscriminator) {
|
|
550
555
|
if (json == null) {
|
|
551
556
|
return json;
|
|
552
557
|
}
|
|
@@ -556,13 +561,13 @@ function OverwriteFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
556
561
|
folderKey: json["folderKey"] == null ? undefined : json["folderKey"],
|
|
557
562
|
folderFullyQualifiedName: json["folderFullyQualifiedName"] == null ? undefined : json["folderFullyQualifiedName"],
|
|
558
563
|
folderPath: json["folderPath"] == null ? undefined : json["folderPath"],
|
|
559
|
-
type:
|
|
564
|
+
type: OverwriteTypeFromJSON2(json["type"])
|
|
560
565
|
};
|
|
561
566
|
}
|
|
562
|
-
function
|
|
563
|
-
return
|
|
567
|
+
function OverwriteToJSON2(json) {
|
|
568
|
+
return OverwriteToJSONTyped2(json, false);
|
|
564
569
|
}
|
|
565
|
-
function
|
|
570
|
+
function OverwriteToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
566
571
|
if (value == null) {
|
|
567
572
|
return value;
|
|
568
573
|
}
|
|
@@ -572,55 +577,55 @@ function OverwriteToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
572
577
|
folderKey: value["folderKey"],
|
|
573
578
|
folderFullyQualifiedName: value["folderFullyQualifiedName"],
|
|
574
579
|
folderPath: value["folderPath"],
|
|
575
|
-
type:
|
|
580
|
+
type: OverwriteTypeToJSON2(value["type"])
|
|
576
581
|
};
|
|
577
582
|
}
|
|
578
583
|
|
|
579
584
|
// generated/src/models/ResourceOverwrite.ts
|
|
580
|
-
function
|
|
585
|
+
function instanceOfResourceOverwrite2(value) {
|
|
581
586
|
if (!("solutionResourceKey" in value) || value["solutionResourceKey"] === undefined)
|
|
582
587
|
return false;
|
|
583
588
|
if (!("reprovisioningIndex" in value) || value["reprovisioningIndex"] === undefined)
|
|
584
589
|
return false;
|
|
585
590
|
return true;
|
|
586
591
|
}
|
|
587
|
-
function
|
|
588
|
-
return
|
|
592
|
+
function ResourceOverwriteFromJSON2(json) {
|
|
593
|
+
return ResourceOverwriteFromJSONTyped2(json, false);
|
|
589
594
|
}
|
|
590
|
-
function
|
|
595
|
+
function ResourceOverwriteFromJSONTyped2(json, ignoreDiscriminator) {
|
|
591
596
|
if (json == null) {
|
|
592
597
|
return json;
|
|
593
598
|
}
|
|
594
599
|
return {
|
|
595
600
|
solutionResourceKey: json["solutionResourceKey"],
|
|
596
601
|
reprovisioningIndex: json["reprovisioningIndex"],
|
|
597
|
-
overwrite: json["overwrite"] == null ? undefined :
|
|
602
|
+
overwrite: json["overwrite"] == null ? undefined : OverwriteFromJSON2(json["overwrite"])
|
|
598
603
|
};
|
|
599
604
|
}
|
|
600
|
-
function
|
|
601
|
-
return
|
|
605
|
+
function ResourceOverwriteToJSON2(json) {
|
|
606
|
+
return ResourceOverwriteToJSONTyped2(json, false);
|
|
602
607
|
}
|
|
603
|
-
function
|
|
608
|
+
function ResourceOverwriteToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
604
609
|
if (value == null) {
|
|
605
610
|
return value;
|
|
606
611
|
}
|
|
607
612
|
return {
|
|
608
613
|
solutionResourceKey: value["solutionResourceKey"],
|
|
609
614
|
reprovisioningIndex: value["reprovisioningIndex"],
|
|
610
|
-
overwrite:
|
|
615
|
+
overwrite: OverwriteToJSON2(value["overwrite"])
|
|
611
616
|
};
|
|
612
617
|
}
|
|
613
618
|
|
|
614
619
|
// generated/src/models/RuntimeSetup.ts
|
|
615
|
-
function
|
|
620
|
+
function instanceOfRuntimeSetup2(value) {
|
|
616
621
|
if (!("requireServerlessTemplate" in value) || value["requireServerlessTemplate"] === undefined)
|
|
617
622
|
return false;
|
|
618
623
|
return true;
|
|
619
624
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
625
|
+
function RuntimeSetupFromJSON2(json) {
|
|
626
|
+
return RuntimeSetupFromJSONTyped2(json, false);
|
|
622
627
|
}
|
|
623
|
-
function
|
|
628
|
+
function RuntimeSetupFromJSONTyped2(json, ignoreDiscriminator) {
|
|
624
629
|
if (json == null) {
|
|
625
630
|
return json;
|
|
626
631
|
}
|
|
@@ -628,10 +633,10 @@ function RuntimeSetupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
628
633
|
requireServerlessTemplate: json["requireServerlessTemplate"]
|
|
629
634
|
};
|
|
630
635
|
}
|
|
631
|
-
function
|
|
632
|
-
return
|
|
636
|
+
function RuntimeSetupToJSON2(json) {
|
|
637
|
+
return RuntimeSetupToJSONTyped2(json, false);
|
|
633
638
|
}
|
|
634
|
-
function
|
|
639
|
+
function RuntimeSetupToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
635
640
|
if (value == null) {
|
|
636
641
|
return value;
|
|
637
642
|
}
|
|
@@ -641,54 +646,54 @@ function RuntimeSetupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
641
646
|
}
|
|
642
647
|
|
|
643
648
|
// generated/src/models/DeploymentAutoRequest.ts
|
|
644
|
-
function
|
|
649
|
+
function instanceOfDeploymentAutoRequest2(value) {
|
|
645
650
|
if (!("packageVersionKey" in value) || value["packageVersionKey"] === undefined)
|
|
646
651
|
return false;
|
|
647
652
|
if (!("overwrites" in value) || value["overwrites"] === undefined)
|
|
648
653
|
return false;
|
|
649
654
|
return true;
|
|
650
655
|
}
|
|
651
|
-
function
|
|
652
|
-
return
|
|
656
|
+
function DeploymentAutoRequestFromJSON2(json) {
|
|
657
|
+
return DeploymentAutoRequestFromJSONTyped2(json, false);
|
|
653
658
|
}
|
|
654
|
-
function
|
|
659
|
+
function DeploymentAutoRequestFromJSONTyped2(json, ignoreDiscriminator) {
|
|
655
660
|
if (json == null) {
|
|
656
661
|
return json;
|
|
657
662
|
}
|
|
658
663
|
return {
|
|
659
664
|
packageVersionKey: json["packageVersionKey"],
|
|
660
665
|
folderFQN: json["folderFQN"] == null ? undefined : json["folderFQN"],
|
|
661
|
-
overwrites: json["overwrites"].map(
|
|
662
|
-
runtimeSetup: json["runtimeSetup"] == null ? undefined :
|
|
666
|
+
overwrites: json["overwrites"].map(ResourceOverwriteFromJSON2),
|
|
667
|
+
runtimeSetup: json["runtimeSetup"] == null ? undefined : RuntimeSetupFromJSON2(json["runtimeSetup"])
|
|
663
668
|
};
|
|
664
669
|
}
|
|
665
|
-
function
|
|
666
|
-
return
|
|
670
|
+
function DeploymentAutoRequestToJSON2(json) {
|
|
671
|
+
return DeploymentAutoRequestToJSONTyped2(json, false);
|
|
667
672
|
}
|
|
668
|
-
function
|
|
673
|
+
function DeploymentAutoRequestToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
669
674
|
if (value == null) {
|
|
670
675
|
return value;
|
|
671
676
|
}
|
|
672
677
|
return {
|
|
673
678
|
packageVersionKey: value["packageVersionKey"],
|
|
674
679
|
folderFQN: value["folderFQN"],
|
|
675
|
-
overwrites: value["overwrites"].map(
|
|
676
|
-
runtimeSetup:
|
|
680
|
+
overwrites: value["overwrites"].map(ResourceOverwriteToJSON2),
|
|
681
|
+
runtimeSetup: RuntimeSetupToJSON2(value["runtimeSetup"])
|
|
677
682
|
};
|
|
678
683
|
}
|
|
679
684
|
|
|
680
685
|
// generated/src/models/DeploymentDto.ts
|
|
681
|
-
function
|
|
686
|
+
function instanceOfDeploymentDto2(value) {
|
|
682
687
|
if (!("packageName" in value) || value["packageName"] === undefined)
|
|
683
688
|
return false;
|
|
684
689
|
if (!("deploymentName" in value) || value["deploymentName"] === undefined)
|
|
685
690
|
return false;
|
|
686
691
|
return true;
|
|
687
692
|
}
|
|
688
|
-
function
|
|
689
|
-
return
|
|
693
|
+
function DeploymentDtoFromJSON2(json) {
|
|
694
|
+
return DeploymentDtoFromJSONTyped2(json, false);
|
|
690
695
|
}
|
|
691
|
-
function
|
|
696
|
+
function DeploymentDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
692
697
|
if (json == null) {
|
|
693
698
|
return json;
|
|
694
699
|
}
|
|
@@ -697,10 +702,10 @@ function DeploymentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
697
702
|
deploymentName: json["deploymentName"]
|
|
698
703
|
};
|
|
699
704
|
}
|
|
700
|
-
function
|
|
701
|
-
return
|
|
705
|
+
function DeploymentDtoToJSON2(json) {
|
|
706
|
+
return DeploymentDtoToJSONTyped2(json, false);
|
|
702
707
|
}
|
|
703
|
-
function
|
|
708
|
+
function DeploymentDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
704
709
|
if (value == null) {
|
|
705
710
|
return value;
|
|
706
711
|
}
|
|
@@ -711,7 +716,7 @@ function DeploymentDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
711
716
|
}
|
|
712
717
|
|
|
713
718
|
// generated/src/models/WorkflowAction.ts
|
|
714
|
-
var
|
|
719
|
+
var WorkflowAction2 = {
|
|
715
720
|
Install: "Install",
|
|
716
721
|
Activate: "Activate",
|
|
717
722
|
Uninstall: "Uninstall",
|
|
@@ -719,31 +724,31 @@ var WorkflowAction = {
|
|
|
719
724
|
Delete: "Delete",
|
|
720
725
|
SetupActivation: "SetupActivation"
|
|
721
726
|
};
|
|
722
|
-
function
|
|
723
|
-
for (const key in
|
|
724
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
725
|
-
if (
|
|
727
|
+
function instanceOfWorkflowAction2(value) {
|
|
728
|
+
for (const key in WorkflowAction2) {
|
|
729
|
+
if (Object.prototype.hasOwnProperty.call(WorkflowAction2, key)) {
|
|
730
|
+
if (WorkflowAction2[key] === value) {
|
|
726
731
|
return true;
|
|
727
732
|
}
|
|
728
733
|
}
|
|
729
734
|
}
|
|
730
735
|
return false;
|
|
731
736
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
737
|
+
function WorkflowActionFromJSON2(json) {
|
|
738
|
+
return WorkflowActionFromJSONTyped2(json, false);
|
|
734
739
|
}
|
|
735
|
-
function
|
|
740
|
+
function WorkflowActionFromJSONTyped2(json, ignoreDiscriminator) {
|
|
736
741
|
return json;
|
|
737
742
|
}
|
|
738
|
-
function
|
|
743
|
+
function WorkflowActionToJSON2(value) {
|
|
739
744
|
return value;
|
|
740
745
|
}
|
|
741
|
-
function
|
|
746
|
+
function WorkflowActionToJSONTyped2(value, ignoreDiscriminator) {
|
|
742
747
|
return value;
|
|
743
748
|
}
|
|
744
749
|
|
|
745
750
|
// generated/src/models/DeploymentOperation.ts
|
|
746
|
-
var
|
|
751
|
+
var DeploymentOperation2 = {
|
|
747
752
|
Install: "Install",
|
|
748
753
|
Uninstall: "Uninstall",
|
|
749
754
|
VersionChange: "VersionChange",
|
|
@@ -751,122 +756,122 @@ var DeploymentOperation = {
|
|
|
751
756
|
Rollback: "Rollback",
|
|
752
757
|
ActivationSetup: "ActivationSetup"
|
|
753
758
|
};
|
|
754
|
-
function
|
|
755
|
-
for (const key in
|
|
756
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
757
|
-
if (
|
|
759
|
+
function instanceOfDeploymentOperation2(value) {
|
|
760
|
+
for (const key in DeploymentOperation2) {
|
|
761
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentOperation2, key)) {
|
|
762
|
+
if (DeploymentOperation2[key] === value) {
|
|
758
763
|
return true;
|
|
759
764
|
}
|
|
760
765
|
}
|
|
761
766
|
}
|
|
762
767
|
return false;
|
|
763
768
|
}
|
|
764
|
-
function
|
|
765
|
-
return
|
|
769
|
+
function DeploymentOperationFromJSON2(json) {
|
|
770
|
+
return DeploymentOperationFromJSONTyped2(json, false);
|
|
766
771
|
}
|
|
767
|
-
function
|
|
772
|
+
function DeploymentOperationFromJSONTyped2(json, ignoreDiscriminator) {
|
|
768
773
|
return json;
|
|
769
774
|
}
|
|
770
|
-
function
|
|
775
|
+
function DeploymentOperationToJSON2(value) {
|
|
771
776
|
return value;
|
|
772
777
|
}
|
|
773
|
-
function
|
|
778
|
+
function DeploymentOperationToJSONTyped2(value, ignoreDiscriminator) {
|
|
774
779
|
return value;
|
|
775
780
|
}
|
|
776
781
|
|
|
777
782
|
// generated/src/models/PackageVersionOrigin.ts
|
|
778
|
-
var
|
|
783
|
+
var PackageVersionOrigin2 = {
|
|
779
784
|
SolutionBuilder: "SolutionBuilder",
|
|
780
785
|
Accelerators: "Accelerators",
|
|
781
786
|
CiCd: "CiCd",
|
|
782
787
|
Studio: "Studio"
|
|
783
788
|
};
|
|
784
|
-
function
|
|
785
|
-
for (const key in
|
|
786
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
787
|
-
if (
|
|
789
|
+
function instanceOfPackageVersionOrigin2(value) {
|
|
790
|
+
for (const key in PackageVersionOrigin2) {
|
|
791
|
+
if (Object.prototype.hasOwnProperty.call(PackageVersionOrigin2, key)) {
|
|
792
|
+
if (PackageVersionOrigin2[key] === value) {
|
|
788
793
|
return true;
|
|
789
794
|
}
|
|
790
795
|
}
|
|
791
796
|
}
|
|
792
797
|
return false;
|
|
793
798
|
}
|
|
794
|
-
function
|
|
795
|
-
return
|
|
799
|
+
function PackageVersionOriginFromJSON2(json) {
|
|
800
|
+
return PackageVersionOriginFromJSONTyped2(json, false);
|
|
796
801
|
}
|
|
797
|
-
function
|
|
802
|
+
function PackageVersionOriginFromJSONTyped2(json, ignoreDiscriminator) {
|
|
798
803
|
return json;
|
|
799
804
|
}
|
|
800
|
-
function
|
|
805
|
+
function PackageVersionOriginToJSON2(value) {
|
|
801
806
|
return value;
|
|
802
807
|
}
|
|
803
|
-
function
|
|
808
|
+
function PackageVersionOriginToJSONTyped2(value, ignoreDiscriminator) {
|
|
804
809
|
return value;
|
|
805
810
|
}
|
|
806
811
|
|
|
807
812
|
// generated/src/models/DeploymentOperationStatus.ts
|
|
808
|
-
var
|
|
813
|
+
var DeploymentOperationStatus2 = {
|
|
809
814
|
Draft: "Draft",
|
|
810
815
|
Successful: "Successful",
|
|
811
816
|
Failed: "Failed",
|
|
812
817
|
InProgress: "InProgress",
|
|
813
818
|
FailedRollback: "FailedRollback"
|
|
814
819
|
};
|
|
815
|
-
function
|
|
816
|
-
for (const key in
|
|
817
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
818
|
-
if (
|
|
820
|
+
function instanceOfDeploymentOperationStatus2(value) {
|
|
821
|
+
for (const key in DeploymentOperationStatus2) {
|
|
822
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentOperationStatus2, key)) {
|
|
823
|
+
if (DeploymentOperationStatus2[key] === value) {
|
|
819
824
|
return true;
|
|
820
825
|
}
|
|
821
826
|
}
|
|
822
827
|
}
|
|
823
828
|
return false;
|
|
824
829
|
}
|
|
825
|
-
function
|
|
826
|
-
return
|
|
830
|
+
function DeploymentOperationStatusFromJSON2(json) {
|
|
831
|
+
return DeploymentOperationStatusFromJSONTyped2(json, false);
|
|
827
832
|
}
|
|
828
|
-
function
|
|
833
|
+
function DeploymentOperationStatusFromJSONTyped2(json, ignoreDiscriminator) {
|
|
829
834
|
return json;
|
|
830
835
|
}
|
|
831
|
-
function
|
|
836
|
+
function DeploymentOperationStatusToJSON2(value) {
|
|
832
837
|
return value;
|
|
833
838
|
}
|
|
834
|
-
function
|
|
839
|
+
function DeploymentOperationStatusToJSONTyped2(value, ignoreDiscriminator) {
|
|
835
840
|
return value;
|
|
836
841
|
}
|
|
837
842
|
|
|
838
843
|
// generated/src/models/DeploymentUpgradeType.ts
|
|
839
|
-
var
|
|
844
|
+
var DeploymentUpgradeType2 = {
|
|
840
845
|
ConfigChange: "ConfigChange",
|
|
841
846
|
VersionChange: "VersionChange",
|
|
842
847
|
UpgradeRollback: "UpgradeRollback",
|
|
843
848
|
ActivationSetup: "ActivationSetup"
|
|
844
849
|
};
|
|
845
|
-
function
|
|
846
|
-
for (const key in
|
|
847
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
848
|
-
if (
|
|
850
|
+
function instanceOfDeploymentUpgradeType2(value) {
|
|
851
|
+
for (const key in DeploymentUpgradeType2) {
|
|
852
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentUpgradeType2, key)) {
|
|
853
|
+
if (DeploymentUpgradeType2[key] === value) {
|
|
849
854
|
return true;
|
|
850
855
|
}
|
|
851
856
|
}
|
|
852
857
|
}
|
|
853
858
|
return false;
|
|
854
859
|
}
|
|
855
|
-
function
|
|
856
|
-
return
|
|
860
|
+
function DeploymentUpgradeTypeFromJSON2(json) {
|
|
861
|
+
return DeploymentUpgradeTypeFromJSONTyped2(json, false);
|
|
857
862
|
}
|
|
858
|
-
function
|
|
863
|
+
function DeploymentUpgradeTypeFromJSONTyped2(json, ignoreDiscriminator) {
|
|
859
864
|
return json;
|
|
860
865
|
}
|
|
861
|
-
function
|
|
866
|
+
function DeploymentUpgradeTypeToJSON2(value) {
|
|
862
867
|
return value;
|
|
863
868
|
}
|
|
864
|
-
function
|
|
869
|
+
function DeploymentUpgradeTypeToJSONTyped2(value, ignoreDiscriminator) {
|
|
865
870
|
return value;
|
|
866
871
|
}
|
|
867
872
|
|
|
868
873
|
// generated/src/models/DeploymentStatus.ts
|
|
869
|
-
var
|
|
874
|
+
var DeploymentStatus2 = {
|
|
870
875
|
SuccessfulInstall: "SuccessfulInstall",
|
|
871
876
|
SuccessfulUninstall: "SuccessfulUninstall",
|
|
872
877
|
InstallProgress: "InstallProgress",
|
|
@@ -878,31 +883,31 @@ var DeploymentStatus = {
|
|
|
878
883
|
FailedActivate: "FailedActivate",
|
|
879
884
|
ActivateProgress: "ActivateProgress"
|
|
880
885
|
};
|
|
881
|
-
function
|
|
882
|
-
for (const key in
|
|
883
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
884
|
-
if (
|
|
886
|
+
function instanceOfDeploymentStatus2(value) {
|
|
887
|
+
for (const key in DeploymentStatus2) {
|
|
888
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentStatus2, key)) {
|
|
889
|
+
if (DeploymentStatus2[key] === value) {
|
|
885
890
|
return true;
|
|
886
891
|
}
|
|
887
892
|
}
|
|
888
893
|
}
|
|
889
894
|
return false;
|
|
890
895
|
}
|
|
891
|
-
function
|
|
892
|
-
return
|
|
896
|
+
function DeploymentStatusFromJSON2(json) {
|
|
897
|
+
return DeploymentStatusFromJSONTyped2(json, false);
|
|
893
898
|
}
|
|
894
|
-
function
|
|
899
|
+
function DeploymentStatusFromJSONTyped2(json, ignoreDiscriminator) {
|
|
895
900
|
return json;
|
|
896
901
|
}
|
|
897
|
-
function
|
|
902
|
+
function DeploymentStatusToJSON2(value) {
|
|
898
903
|
return value;
|
|
899
904
|
}
|
|
900
|
-
function
|
|
905
|
+
function DeploymentStatusToJSONTyped2(value, ignoreDiscriminator) {
|
|
901
906
|
return value;
|
|
902
907
|
}
|
|
903
908
|
|
|
904
909
|
// generated/src/models/DeploymentItemDto.ts
|
|
905
|
-
function
|
|
910
|
+
function instanceOfDeploymentItemDto2(value) {
|
|
906
911
|
if (!("key" in value) || value["key"] === undefined)
|
|
907
912
|
return false;
|
|
908
913
|
if (!("installDeploymentKey" in value) || value["installDeploymentKey"] === undefined)
|
|
@@ -937,10 +942,10 @@ function instanceOfDeploymentItemDto(value) {
|
|
|
937
942
|
return false;
|
|
938
943
|
return true;
|
|
939
944
|
}
|
|
940
|
-
function
|
|
941
|
-
return
|
|
945
|
+
function DeploymentItemDtoFromJSON2(json) {
|
|
946
|
+
return DeploymentItemDtoFromJSONTyped2(json, false);
|
|
942
947
|
}
|
|
943
|
-
function
|
|
948
|
+
function DeploymentItemDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
944
949
|
if (json == null) {
|
|
945
950
|
return json;
|
|
946
951
|
}
|
|
@@ -958,29 +963,29 @@ function DeploymentItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
958
963
|
folderPath: json["folderPath"] == null ? undefined : json["folderPath"],
|
|
959
964
|
installedRootFolderKey: json["installedRootFolderKey"] == null ? undefined : json["installedRootFolderKey"],
|
|
960
965
|
installedRootFolderName: json["installedRootFolderName"] == null ? undefined : json["installedRootFolderName"],
|
|
961
|
-
packageVersionOrigin:
|
|
966
|
+
packageVersionOrigin: PackageVersionOriginFromJSON2(json["packageVersionOrigin"]),
|
|
962
967
|
deploymentCreationTime: new Date(json["deploymentCreationTime"]),
|
|
963
|
-
status:
|
|
968
|
+
status: DeploymentStatusFromJSON2(json["status"]),
|
|
964
969
|
startTime: json["startTime"] == null ? undefined : new Date(json["startTime"]),
|
|
965
970
|
endTime: json["endTime"] == null ? undefined : new Date(json["endTime"]),
|
|
966
|
-
upgradeType: json["upgradeType"] == null ? undefined :
|
|
967
|
-
operation:
|
|
968
|
-
operationStatus:
|
|
969
|
-
activationStatus:
|
|
971
|
+
upgradeType: json["upgradeType"] == null ? undefined : DeploymentUpgradeTypeFromJSON2(json["upgradeType"]),
|
|
972
|
+
operation: DeploymentOperationFromJSON2(json["operation"]),
|
|
973
|
+
operationStatus: DeploymentOperationStatusFromJSON2(json["operationStatus"]),
|
|
974
|
+
activationStatus: DeploymentActivationStatusFromJSON2(json["activationStatus"]),
|
|
970
975
|
instanceId: json["instanceId"] == null ? undefined : json["instanceId"],
|
|
971
976
|
newPackageVersionAvailable: json["newPackageVersionAvailable"] == null ? undefined : json["newPackageVersionAvailable"],
|
|
972
977
|
packageVersionDescription: json["packageVersionDescription"] == null ? undefined : json["packageVersionDescription"],
|
|
973
978
|
packageVersionReleaseNotes: json["packageVersionReleaseNotes"] == null ? undefined : json["packageVersionReleaseNotes"],
|
|
974
979
|
authorName: json["authorName"],
|
|
975
980
|
previousDeploymentKey: json["previousDeploymentKey"] == null ? undefined : json["previousDeploymentKey"],
|
|
976
|
-
runtimeSetup: json["runtimeSetup"] == null ? undefined :
|
|
977
|
-
actions: json["actions"].map(
|
|
981
|
+
runtimeSetup: json["runtimeSetup"] == null ? undefined : RuntimeSetupFromJSON2(json["runtimeSetup"]),
|
|
982
|
+
actions: json["actions"].map(WorkflowActionFromJSON2)
|
|
978
983
|
};
|
|
979
984
|
}
|
|
980
|
-
function
|
|
981
|
-
return
|
|
985
|
+
function DeploymentItemDtoToJSON2(json) {
|
|
986
|
+
return DeploymentItemDtoToJSONTyped2(json, false);
|
|
982
987
|
}
|
|
983
|
-
function
|
|
988
|
+
function DeploymentItemDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
984
989
|
if (value == null) {
|
|
985
990
|
return value;
|
|
986
991
|
}
|
|
@@ -998,38 +1003,38 @@ function DeploymentItemDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
998
1003
|
folderPath: value["folderPath"],
|
|
999
1004
|
installedRootFolderKey: value["installedRootFolderKey"],
|
|
1000
1005
|
installedRootFolderName: value["installedRootFolderName"],
|
|
1001
|
-
packageVersionOrigin:
|
|
1006
|
+
packageVersionOrigin: PackageVersionOriginToJSON2(value["packageVersionOrigin"]),
|
|
1002
1007
|
deploymentCreationTime: value["deploymentCreationTime"].toISOString(),
|
|
1003
|
-
status:
|
|
1008
|
+
status: DeploymentStatusToJSON2(value["status"]),
|
|
1004
1009
|
startTime: value["startTime"] == null ? value["startTime"] : value["startTime"].toISOString(),
|
|
1005
1010
|
endTime: value["endTime"] == null ? value["endTime"] : value["endTime"].toISOString(),
|
|
1006
|
-
upgradeType:
|
|
1007
|
-
operation:
|
|
1008
|
-
operationStatus:
|
|
1009
|
-
activationStatus:
|
|
1011
|
+
upgradeType: DeploymentUpgradeTypeToJSON2(value["upgradeType"]),
|
|
1012
|
+
operation: DeploymentOperationToJSON2(value["operation"]),
|
|
1013
|
+
operationStatus: DeploymentOperationStatusToJSON2(value["operationStatus"]),
|
|
1014
|
+
activationStatus: DeploymentActivationStatusToJSON2(value["activationStatus"]),
|
|
1010
1015
|
instanceId: value["instanceId"],
|
|
1011
1016
|
newPackageVersionAvailable: value["newPackageVersionAvailable"],
|
|
1012
1017
|
packageVersionDescription: value["packageVersionDescription"],
|
|
1013
1018
|
packageVersionReleaseNotes: value["packageVersionReleaseNotes"],
|
|
1014
1019
|
authorName: value["authorName"],
|
|
1015
1020
|
previousDeploymentKey: value["previousDeploymentKey"],
|
|
1016
|
-
runtimeSetup:
|
|
1017
|
-
actions: value["actions"].map(
|
|
1021
|
+
runtimeSetup: RuntimeSetupToJSON2(value["runtimeSetup"]),
|
|
1022
|
+
actions: value["actions"].map(WorkflowActionToJSON2)
|
|
1018
1023
|
};
|
|
1019
1024
|
}
|
|
1020
1025
|
|
|
1021
1026
|
// generated/src/models/DeploymentRequest.ts
|
|
1022
|
-
function
|
|
1027
|
+
function instanceOfDeploymentRequest2(value) {
|
|
1023
1028
|
if (!("configurationKey" in value) || value["configurationKey"] === undefined)
|
|
1024
1029
|
return false;
|
|
1025
1030
|
if (!("deploymentName" in value) || value["deploymentName"] === undefined)
|
|
1026
1031
|
return false;
|
|
1027
1032
|
return true;
|
|
1028
1033
|
}
|
|
1029
|
-
function
|
|
1030
|
-
return
|
|
1034
|
+
function DeploymentRequestFromJSON2(json) {
|
|
1035
|
+
return DeploymentRequestFromJSONTyped2(json, false);
|
|
1031
1036
|
}
|
|
1032
|
-
function
|
|
1037
|
+
function DeploymentRequestFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1033
1038
|
if (json == null) {
|
|
1034
1039
|
return json;
|
|
1035
1040
|
}
|
|
@@ -1040,13 +1045,13 @@ function DeploymentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1040
1045
|
pathFullyQualifiedName: json["pathFullyQualifiedName"] == null ? undefined : json["pathFullyQualifiedName"],
|
|
1041
1046
|
solutionRootFolderName: json["solutionRootFolderName"] == null ? undefined : json["solutionRootFolderName"],
|
|
1042
1047
|
forceActivate: json["forceActivate"] == null ? undefined : json["forceActivate"],
|
|
1043
|
-
runtimeSetup: json["runtimeSetup"] == null ? undefined :
|
|
1048
|
+
runtimeSetup: json["runtimeSetup"] == null ? undefined : RuntimeSetupFromJSON2(json["runtimeSetup"])
|
|
1044
1049
|
};
|
|
1045
1050
|
}
|
|
1046
|
-
function
|
|
1047
|
-
return
|
|
1051
|
+
function DeploymentRequestToJSON2(json) {
|
|
1052
|
+
return DeploymentRequestToJSONTyped2(json, false);
|
|
1048
1053
|
}
|
|
1049
|
-
function
|
|
1054
|
+
function DeploymentRequestToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1050
1055
|
if (value == null) {
|
|
1051
1056
|
return value;
|
|
1052
1057
|
}
|
|
@@ -1057,12 +1062,12 @@ function DeploymentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1057
1062
|
pathFullyQualifiedName: value["pathFullyQualifiedName"],
|
|
1058
1063
|
solutionRootFolderName: value["solutionRootFolderName"],
|
|
1059
1064
|
forceActivate: value["forceActivate"],
|
|
1060
|
-
runtimeSetup:
|
|
1065
|
+
runtimeSetup: RuntimeSetupToJSON2(value["runtimeSetup"])
|
|
1061
1066
|
};
|
|
1062
1067
|
}
|
|
1063
1068
|
|
|
1064
1069
|
// generated/src/models/DeploymentResourceValidationAction.ts
|
|
1065
|
-
var
|
|
1070
|
+
var DeploymentResourceValidationAction2 = {
|
|
1066
1071
|
RenameExisting: "RenameExisting",
|
|
1067
1072
|
RenameInSolution: "RenameInSolution",
|
|
1068
1073
|
UseExisting: "UseExisting",
|
|
@@ -1072,89 +1077,89 @@ var DeploymentResourceValidationAction = {
|
|
|
1072
1077
|
MergeConfiguration: "MergeConfiguration",
|
|
1073
1078
|
Replace: "Replace"
|
|
1074
1079
|
};
|
|
1075
|
-
function
|
|
1076
|
-
for (const key in
|
|
1077
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1078
|
-
if (
|
|
1080
|
+
function instanceOfDeploymentResourceValidationAction2(value) {
|
|
1081
|
+
for (const key in DeploymentResourceValidationAction2) {
|
|
1082
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentResourceValidationAction2, key)) {
|
|
1083
|
+
if (DeploymentResourceValidationAction2[key] === value) {
|
|
1079
1084
|
return true;
|
|
1080
1085
|
}
|
|
1081
1086
|
}
|
|
1082
1087
|
}
|
|
1083
1088
|
return false;
|
|
1084
1089
|
}
|
|
1085
|
-
function
|
|
1086
|
-
return
|
|
1090
|
+
function DeploymentResourceValidationActionFromJSON2(json) {
|
|
1091
|
+
return DeploymentResourceValidationActionFromJSONTyped2(json, false);
|
|
1087
1092
|
}
|
|
1088
|
-
function
|
|
1093
|
+
function DeploymentResourceValidationActionFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1089
1094
|
return json;
|
|
1090
1095
|
}
|
|
1091
|
-
function
|
|
1096
|
+
function DeploymentResourceValidationActionToJSON2(value) {
|
|
1092
1097
|
return value;
|
|
1093
1098
|
}
|
|
1094
|
-
function
|
|
1099
|
+
function DeploymentResourceValidationActionToJSONTyped2(value, ignoreDiscriminator) {
|
|
1095
1100
|
return value;
|
|
1096
1101
|
}
|
|
1097
1102
|
|
|
1098
1103
|
// generated/src/models/ResetConfigurationSource.ts
|
|
1099
|
-
var
|
|
1104
|
+
var ResetConfigurationSource2 = {
|
|
1100
1105
|
Package: "Package",
|
|
1101
1106
|
PreviousDeployment: "PreviousDeployment"
|
|
1102
1107
|
};
|
|
1103
|
-
function
|
|
1104
|
-
for (const key in
|
|
1105
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1106
|
-
if (
|
|
1108
|
+
function instanceOfResetConfigurationSource2(value) {
|
|
1109
|
+
for (const key in ResetConfigurationSource2) {
|
|
1110
|
+
if (Object.prototype.hasOwnProperty.call(ResetConfigurationSource2, key)) {
|
|
1111
|
+
if (ResetConfigurationSource2[key] === value) {
|
|
1107
1112
|
return true;
|
|
1108
1113
|
}
|
|
1109
1114
|
}
|
|
1110
1115
|
}
|
|
1111
1116
|
return false;
|
|
1112
1117
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return
|
|
1118
|
+
function ResetConfigurationSourceFromJSON2(json) {
|
|
1119
|
+
return ResetConfigurationSourceFromJSONTyped2(json, false);
|
|
1115
1120
|
}
|
|
1116
|
-
function
|
|
1121
|
+
function ResetConfigurationSourceFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1117
1122
|
return json;
|
|
1118
1123
|
}
|
|
1119
|
-
function
|
|
1124
|
+
function ResetConfigurationSourceToJSON2(value) {
|
|
1120
1125
|
return value;
|
|
1121
1126
|
}
|
|
1122
|
-
function
|
|
1127
|
+
function ResetConfigurationSourceToJSONTyped2(value, ignoreDiscriminator) {
|
|
1123
1128
|
return value;
|
|
1124
1129
|
}
|
|
1125
1130
|
|
|
1126
1131
|
// generated/src/models/DeploymentUpgradeState.ts
|
|
1127
|
-
var
|
|
1132
|
+
var DeploymentUpgradeState2 = {
|
|
1128
1133
|
Unchanged: "Unchanged",
|
|
1129
1134
|
Updated: "Updated",
|
|
1130
1135
|
New: "New",
|
|
1131
1136
|
Removed: "Removed"
|
|
1132
1137
|
};
|
|
1133
|
-
function
|
|
1134
|
-
for (const key in
|
|
1135
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1136
|
-
if (
|
|
1138
|
+
function instanceOfDeploymentUpgradeState2(value) {
|
|
1139
|
+
for (const key in DeploymentUpgradeState2) {
|
|
1140
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentUpgradeState2, key)) {
|
|
1141
|
+
if (DeploymentUpgradeState2[key] === value) {
|
|
1137
1142
|
return true;
|
|
1138
1143
|
}
|
|
1139
1144
|
}
|
|
1140
1145
|
}
|
|
1141
1146
|
return false;
|
|
1142
1147
|
}
|
|
1143
|
-
function
|
|
1144
|
-
return
|
|
1148
|
+
function DeploymentUpgradeStateFromJSON2(json) {
|
|
1149
|
+
return DeploymentUpgradeStateFromJSONTyped2(json, false);
|
|
1145
1150
|
}
|
|
1146
|
-
function
|
|
1151
|
+
function DeploymentUpgradeStateFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1147
1152
|
return json;
|
|
1148
1153
|
}
|
|
1149
|
-
function
|
|
1154
|
+
function DeploymentUpgradeStateToJSON2(value) {
|
|
1150
1155
|
return value;
|
|
1151
1156
|
}
|
|
1152
|
-
function
|
|
1157
|
+
function DeploymentUpgradeStateToJSONTyped2(value, ignoreDiscriminator) {
|
|
1153
1158
|
return value;
|
|
1154
1159
|
}
|
|
1155
1160
|
|
|
1156
1161
|
// generated/src/models/DeploymentResourceReplacementDto.ts
|
|
1157
|
-
function
|
|
1162
|
+
function instanceOfDeploymentResourceReplacementDto2(value) {
|
|
1158
1163
|
if (!("serviceResourceKey" in value) || value["serviceResourceKey"] === undefined)
|
|
1159
1164
|
return false;
|
|
1160
1165
|
if (!("serviceResourceName" in value) || value["serviceResourceName"] === undefined)
|
|
@@ -1163,10 +1168,10 @@ function instanceOfDeploymentResourceReplacementDto(value) {
|
|
|
1163
1168
|
return false;
|
|
1164
1169
|
return true;
|
|
1165
1170
|
}
|
|
1166
|
-
function
|
|
1167
|
-
return
|
|
1171
|
+
function DeploymentResourceReplacementDtoFromJSON2(json) {
|
|
1172
|
+
return DeploymentResourceReplacementDtoFromJSONTyped2(json, false);
|
|
1168
1173
|
}
|
|
1169
|
-
function
|
|
1174
|
+
function DeploymentResourceReplacementDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1170
1175
|
if (json == null) {
|
|
1171
1176
|
return json;
|
|
1172
1177
|
}
|
|
@@ -1177,10 +1182,10 @@ function DeploymentResourceReplacementDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
1177
1182
|
solutionResourceKey: json["solutionResourceKey"]
|
|
1178
1183
|
};
|
|
1179
1184
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return
|
|
1185
|
+
function DeploymentResourceReplacementDtoToJSON2(json) {
|
|
1186
|
+
return DeploymentResourceReplacementDtoToJSONTyped2(json, false);
|
|
1182
1187
|
}
|
|
1183
|
-
function
|
|
1188
|
+
function DeploymentResourceReplacementDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1184
1189
|
if (value == null) {
|
|
1185
1190
|
return value;
|
|
1186
1191
|
}
|
|
@@ -1193,15 +1198,15 @@ function DeploymentResourceReplacementDtoToJSONTyped(value, ignoreDiscriminator
|
|
|
1193
1198
|
}
|
|
1194
1199
|
|
|
1195
1200
|
// generated/src/models/FolderInfo.ts
|
|
1196
|
-
function
|
|
1201
|
+
function instanceOfFolderInfo2(value) {
|
|
1197
1202
|
if (!("fullyQualifiedName" in value) || value["fullyQualifiedName"] === undefined)
|
|
1198
1203
|
return false;
|
|
1199
1204
|
return true;
|
|
1200
1205
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return
|
|
1206
|
+
function FolderInfoFromJSON2(json) {
|
|
1207
|
+
return FolderInfoFromJSONTyped2(json, false);
|
|
1203
1208
|
}
|
|
1204
|
-
function
|
|
1209
|
+
function FolderInfoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1205
1210
|
if (json == null) {
|
|
1206
1211
|
return json;
|
|
1207
1212
|
}
|
|
@@ -1211,10 +1216,10 @@ function FolderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1211
1216
|
folderKey: json["folderKey"] == null ? undefined : json["folderKey"]
|
|
1212
1217
|
};
|
|
1213
1218
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return
|
|
1219
|
+
function FolderInfoToJSON2(json) {
|
|
1220
|
+
return FolderInfoToJSONTyped2(json, false);
|
|
1216
1221
|
}
|
|
1217
|
-
function
|
|
1222
|
+
function FolderInfoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1218
1223
|
if (value == null) {
|
|
1219
1224
|
return value;
|
|
1220
1225
|
}
|
|
@@ -1226,7 +1231,7 @@ function FolderInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1226
1231
|
}
|
|
1227
1232
|
|
|
1228
1233
|
// generated/src/models/DeploymentResourceInfo.ts
|
|
1229
|
-
function
|
|
1234
|
+
function instanceOfDeploymentResourceInfo2(value) {
|
|
1230
1235
|
if (!("key" in value) || value["key"] === undefined)
|
|
1231
1236
|
return false;
|
|
1232
1237
|
if (!("name" in value) || value["name"] === undefined)
|
|
@@ -1245,10 +1250,10 @@ function instanceOfDeploymentResourceInfo(value) {
|
|
|
1245
1250
|
return false;
|
|
1246
1251
|
return true;
|
|
1247
1252
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return
|
|
1253
|
+
function DeploymentResourceInfoFromJSON2(json) {
|
|
1254
|
+
return DeploymentResourceInfoFromJSONTyped2(json, false);
|
|
1250
1255
|
}
|
|
1251
|
-
function
|
|
1256
|
+
function DeploymentResourceInfoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1252
1257
|
if (json == null) {
|
|
1253
1258
|
return json;
|
|
1254
1259
|
}
|
|
@@ -1258,20 +1263,20 @@ function DeploymentResourceInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1258
1263
|
kind: json["kind"],
|
|
1259
1264
|
type: json["type"] == null ? undefined : json["type"],
|
|
1260
1265
|
apiVersion: json["apiVersion"],
|
|
1261
|
-
folders: json["folders"].map(
|
|
1266
|
+
folders: json["folders"].map(FolderInfoFromJSON2),
|
|
1262
1267
|
requiresConfiguration: json["requiresConfiguration"],
|
|
1263
1268
|
isOverridable: json["isOverridable"],
|
|
1264
1269
|
hasWarnings: json["hasWarnings"],
|
|
1265
|
-
upgradeState: json["upgradeState"] == null ? undefined :
|
|
1266
|
-
upgradeConfigurationSource: json["upgradeConfigurationSource"] == null ? undefined :
|
|
1267
|
-
resourceReplacement: json["resourceReplacement"] == null ? undefined :
|
|
1268
|
-
selectedAction: json["selectedAction"] == null ? undefined :
|
|
1270
|
+
upgradeState: json["upgradeState"] == null ? undefined : DeploymentUpgradeStateFromJSON2(json["upgradeState"]),
|
|
1271
|
+
upgradeConfigurationSource: json["upgradeConfigurationSource"] == null ? undefined : ResetConfigurationSourceFromJSON2(json["upgradeConfigurationSource"]),
|
|
1272
|
+
resourceReplacement: json["resourceReplacement"] == null ? undefined : DeploymentResourceReplacementDtoFromJSON2(json["resourceReplacement"]),
|
|
1273
|
+
selectedAction: json["selectedAction"] == null ? undefined : DeploymentResourceValidationActionFromJSON2(json["selectedAction"])
|
|
1269
1274
|
};
|
|
1270
1275
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return
|
|
1276
|
+
function DeploymentResourceInfoToJSON2(json) {
|
|
1277
|
+
return DeploymentResourceInfoToJSONTyped2(json, false);
|
|
1273
1278
|
}
|
|
1274
|
-
function
|
|
1279
|
+
function DeploymentResourceInfoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1275
1280
|
if (value == null) {
|
|
1276
1281
|
return value;
|
|
1277
1282
|
}
|
|
@@ -1281,104 +1286,104 @@ function DeploymentResourceInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1281
1286
|
kind: value["kind"],
|
|
1282
1287
|
type: value["type"],
|
|
1283
1288
|
apiVersion: value["apiVersion"],
|
|
1284
|
-
folders: value["folders"].map(
|
|
1289
|
+
folders: value["folders"].map(FolderInfoToJSON2),
|
|
1285
1290
|
requiresConfiguration: value["requiresConfiguration"],
|
|
1286
1291
|
isOverridable: value["isOverridable"],
|
|
1287
1292
|
hasWarnings: value["hasWarnings"],
|
|
1288
|
-
upgradeState:
|
|
1289
|
-
upgradeConfigurationSource:
|
|
1290
|
-
resourceReplacement:
|
|
1291
|
-
selectedAction:
|
|
1293
|
+
upgradeState: DeploymentUpgradeStateToJSON2(value["upgradeState"]),
|
|
1294
|
+
upgradeConfigurationSource: ResetConfigurationSourceToJSON2(value["upgradeConfigurationSource"]),
|
|
1295
|
+
resourceReplacement: DeploymentResourceReplacementDtoToJSON2(value["resourceReplacement"]),
|
|
1296
|
+
selectedAction: DeploymentResourceValidationActionToJSON2(value["selectedAction"])
|
|
1292
1297
|
};
|
|
1293
1298
|
}
|
|
1294
1299
|
|
|
1295
1300
|
// generated/src/models/DeploymentResourceValidationErrorKind.ts
|
|
1296
|
-
var
|
|
1301
|
+
var DeploymentResourceValidationErrorKind2 = {
|
|
1297
1302
|
Conflict: "Conflict",
|
|
1298
1303
|
ConfigurationError: "ConfigurationError"
|
|
1299
1304
|
};
|
|
1300
|
-
function
|
|
1301
|
-
for (const key in
|
|
1302
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1303
|
-
if (
|
|
1305
|
+
function instanceOfDeploymentResourceValidationErrorKind2(value) {
|
|
1306
|
+
for (const key in DeploymentResourceValidationErrorKind2) {
|
|
1307
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentResourceValidationErrorKind2, key)) {
|
|
1308
|
+
if (DeploymentResourceValidationErrorKind2[key] === value) {
|
|
1304
1309
|
return true;
|
|
1305
1310
|
}
|
|
1306
1311
|
}
|
|
1307
1312
|
}
|
|
1308
1313
|
return false;
|
|
1309
1314
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return
|
|
1315
|
+
function DeploymentResourceValidationErrorKindFromJSON2(json) {
|
|
1316
|
+
return DeploymentResourceValidationErrorKindFromJSONTyped2(json, false);
|
|
1312
1317
|
}
|
|
1313
|
-
function
|
|
1318
|
+
function DeploymentResourceValidationErrorKindFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1314
1319
|
return json;
|
|
1315
1320
|
}
|
|
1316
|
-
function
|
|
1321
|
+
function DeploymentResourceValidationErrorKindToJSON2(value) {
|
|
1317
1322
|
return value;
|
|
1318
1323
|
}
|
|
1319
|
-
function
|
|
1324
|
+
function DeploymentResourceValidationErrorKindToJSONTyped2(value, ignoreDiscriminator) {
|
|
1320
1325
|
return value;
|
|
1321
1326
|
}
|
|
1322
1327
|
|
|
1323
1328
|
// generated/src/models/DeploymentResourceValidationErrorLevel.ts
|
|
1324
|
-
var
|
|
1329
|
+
var DeploymentResourceValidationErrorLevel2 = {
|
|
1325
1330
|
Error: "Error",
|
|
1326
1331
|
Warning: "Warning",
|
|
1327
1332
|
Info: "Info"
|
|
1328
1333
|
};
|
|
1329
|
-
function
|
|
1330
|
-
for (const key in
|
|
1331
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1332
|
-
if (
|
|
1334
|
+
function instanceOfDeploymentResourceValidationErrorLevel2(value) {
|
|
1335
|
+
for (const key in DeploymentResourceValidationErrorLevel2) {
|
|
1336
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentResourceValidationErrorLevel2, key)) {
|
|
1337
|
+
if (DeploymentResourceValidationErrorLevel2[key] === value) {
|
|
1333
1338
|
return true;
|
|
1334
1339
|
}
|
|
1335
1340
|
}
|
|
1336
1341
|
}
|
|
1337
1342
|
return false;
|
|
1338
1343
|
}
|
|
1339
|
-
function
|
|
1340
|
-
return
|
|
1344
|
+
function DeploymentResourceValidationErrorLevelFromJSON2(json) {
|
|
1345
|
+
return DeploymentResourceValidationErrorLevelFromJSONTyped2(json, false);
|
|
1341
1346
|
}
|
|
1342
|
-
function
|
|
1347
|
+
function DeploymentResourceValidationErrorLevelFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1343
1348
|
return json;
|
|
1344
1349
|
}
|
|
1345
|
-
function
|
|
1350
|
+
function DeploymentResourceValidationErrorLevelToJSON2(value) {
|
|
1346
1351
|
return value;
|
|
1347
1352
|
}
|
|
1348
|
-
function
|
|
1353
|
+
function DeploymentResourceValidationErrorLevelToJSONTyped2(value, ignoreDiscriminator) {
|
|
1349
1354
|
return value;
|
|
1350
1355
|
}
|
|
1351
1356
|
|
|
1352
1357
|
// generated/src/models/DeploymentType.ts
|
|
1353
|
-
var
|
|
1358
|
+
var DeploymentType2 = {
|
|
1354
1359
|
Managed: "Managed",
|
|
1355
1360
|
Unmanaged: "Unmanaged"
|
|
1356
1361
|
};
|
|
1357
|
-
function
|
|
1358
|
-
for (const key in
|
|
1359
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1360
|
-
if (
|
|
1362
|
+
function instanceOfDeploymentType2(value) {
|
|
1363
|
+
for (const key in DeploymentType2) {
|
|
1364
|
+
if (Object.prototype.hasOwnProperty.call(DeploymentType2, key)) {
|
|
1365
|
+
if (DeploymentType2[key] === value) {
|
|
1361
1366
|
return true;
|
|
1362
1367
|
}
|
|
1363
1368
|
}
|
|
1364
1369
|
}
|
|
1365
1370
|
return false;
|
|
1366
1371
|
}
|
|
1367
|
-
function
|
|
1368
|
-
return
|
|
1372
|
+
function DeploymentTypeFromJSON2(json) {
|
|
1373
|
+
return DeploymentTypeFromJSONTyped2(json, false);
|
|
1369
1374
|
}
|
|
1370
|
-
function
|
|
1375
|
+
function DeploymentTypeFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1371
1376
|
return json;
|
|
1372
1377
|
}
|
|
1373
|
-
function
|
|
1378
|
+
function DeploymentTypeToJSON2(value) {
|
|
1374
1379
|
return value;
|
|
1375
1380
|
}
|
|
1376
|
-
function
|
|
1381
|
+
function DeploymentTypeToJSONTyped2(value, ignoreDiscriminator) {
|
|
1377
1382
|
return value;
|
|
1378
1383
|
}
|
|
1379
1384
|
|
|
1380
1385
|
// generated/src/models/DeploymentSearchItemDto2.ts
|
|
1381
|
-
function
|
|
1386
|
+
function instanceOfDeploymentSearchItemDto22(value) {
|
|
1382
1387
|
if (!("key" in value) || value["key"] === undefined)
|
|
1383
1388
|
return false;
|
|
1384
1389
|
if (!("installDeploymentKey" in value) || value["installDeploymentKey"] === undefined)
|
|
@@ -1413,10 +1418,10 @@ function instanceOfDeploymentSearchItemDto2(value) {
|
|
|
1413
1418
|
return false;
|
|
1414
1419
|
return true;
|
|
1415
1420
|
}
|
|
1416
|
-
function
|
|
1417
|
-
return
|
|
1421
|
+
function DeploymentSearchItemDto2FromJSON2(json) {
|
|
1422
|
+
return DeploymentSearchItemDto2FromJSONTyped2(json, false);
|
|
1418
1423
|
}
|
|
1419
|
-
function
|
|
1424
|
+
function DeploymentSearchItemDto2FromJSONTyped2(json, ignoreDiscriminator) {
|
|
1420
1425
|
if (json == null) {
|
|
1421
1426
|
return json;
|
|
1422
1427
|
}
|
|
@@ -1431,19 +1436,19 @@ function DeploymentSearchItemDto2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1431
1436
|
packageVersion: json["packageVersion"],
|
|
1432
1437
|
currentPackageVersion: json["currentPackageVersion"] == null ? undefined : json["currentPackageVersion"],
|
|
1433
1438
|
targetPackageVersion: json["targetPackageVersion"] == null ? undefined : json["targetPackageVersion"],
|
|
1434
|
-
packageVersionOrigin:
|
|
1439
|
+
packageVersionOrigin: PackageVersionOriginFromJSON2(json["packageVersionOrigin"]),
|
|
1435
1440
|
folderPath: json["folderPath"] == null ? undefined : json["folderPath"],
|
|
1436
1441
|
installedRootFolderKey: json["installedRootFolderKey"] == null ? undefined : json["installedRootFolderKey"],
|
|
1437
1442
|
installedRootFolderName: json["installedRootFolderName"] == null ? undefined : json["installedRootFolderName"],
|
|
1438
1443
|
deploymentCreationTime: new Date(json["deploymentCreationTime"]),
|
|
1439
1444
|
startTime: json["startTime"] == null ? undefined : new Date(json["startTime"]),
|
|
1440
1445
|
endTime: json["endTime"] == null ? undefined : new Date(json["endTime"]),
|
|
1441
|
-
actions: json["actions"].map(
|
|
1446
|
+
actions: json["actions"].map(WorkflowActionFromJSON2),
|
|
1442
1447
|
name: json["name"],
|
|
1443
|
-
type:
|
|
1444
|
-
operation:
|
|
1445
|
-
operationStatus:
|
|
1446
|
-
activationStatus:
|
|
1448
|
+
type: DeploymentTypeFromJSON2(json["type"]),
|
|
1449
|
+
operation: DeploymentOperationFromJSON2(json["operation"]),
|
|
1450
|
+
operationStatus: DeploymentOperationStatusFromJSON2(json["operationStatus"]),
|
|
1451
|
+
activationStatus: DeploymentActivationStatusFromJSON2(json["activationStatus"]),
|
|
1447
1452
|
newPackageVersionAvailable: json["newPackageVersionAvailable"] == null ? undefined : json["newPackageVersionAvailable"],
|
|
1448
1453
|
packageVersionDescription: json["packageVersionDescription"] == null ? undefined : json["packageVersionDescription"],
|
|
1449
1454
|
packageVersionReleaseNotes: json["packageVersionReleaseNotes"] == null ? undefined : json["packageVersionReleaseNotes"],
|
|
@@ -1452,10 +1457,10 @@ function DeploymentSearchItemDto2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1452
1457
|
previousInstanceId: json["previousInstanceId"] == null ? undefined : json["previousInstanceId"]
|
|
1453
1458
|
};
|
|
1454
1459
|
}
|
|
1455
|
-
function
|
|
1456
|
-
return
|
|
1460
|
+
function DeploymentSearchItemDto2ToJSON2(json) {
|
|
1461
|
+
return DeploymentSearchItemDto2ToJSONTyped2(json, false);
|
|
1457
1462
|
}
|
|
1458
|
-
function
|
|
1463
|
+
function DeploymentSearchItemDto2ToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1459
1464
|
if (value == null) {
|
|
1460
1465
|
return value;
|
|
1461
1466
|
}
|
|
@@ -1470,19 +1475,19 @@ function DeploymentSearchItemDto2ToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
1470
1475
|
packageVersion: value["packageVersion"],
|
|
1471
1476
|
currentPackageVersion: value["currentPackageVersion"],
|
|
1472
1477
|
targetPackageVersion: value["targetPackageVersion"],
|
|
1473
|
-
packageVersionOrigin:
|
|
1478
|
+
packageVersionOrigin: PackageVersionOriginToJSON2(value["packageVersionOrigin"]),
|
|
1474
1479
|
folderPath: value["folderPath"],
|
|
1475
1480
|
installedRootFolderKey: value["installedRootFolderKey"],
|
|
1476
1481
|
installedRootFolderName: value["installedRootFolderName"],
|
|
1477
1482
|
deploymentCreationTime: value["deploymentCreationTime"].toISOString(),
|
|
1478
1483
|
startTime: value["startTime"] == null ? value["startTime"] : value["startTime"].toISOString(),
|
|
1479
1484
|
endTime: value["endTime"] == null ? value["endTime"] : value["endTime"].toISOString(),
|
|
1480
|
-
actions: value["actions"].map(
|
|
1485
|
+
actions: value["actions"].map(WorkflowActionToJSON2),
|
|
1481
1486
|
name: value["name"],
|
|
1482
|
-
type:
|
|
1483
|
-
operation:
|
|
1484
|
-
operationStatus:
|
|
1485
|
-
activationStatus:
|
|
1487
|
+
type: DeploymentTypeToJSON2(value["type"]),
|
|
1488
|
+
operation: DeploymentOperationToJSON2(value["operation"]),
|
|
1489
|
+
operationStatus: DeploymentOperationStatusToJSON2(value["operationStatus"]),
|
|
1490
|
+
activationStatus: DeploymentActivationStatusToJSON2(value["activationStatus"]),
|
|
1486
1491
|
newPackageVersionAvailable: value["newPackageVersionAvailable"],
|
|
1487
1492
|
packageVersionDescription: value["packageVersionDescription"],
|
|
1488
1493
|
packageVersionReleaseNotes: value["packageVersionReleaseNotes"],
|
|
@@ -1493,7 +1498,7 @@ function DeploymentSearchItemDto2ToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
1493
1498
|
}
|
|
1494
1499
|
|
|
1495
1500
|
// generated/src/models/ServiceMessage.ts
|
|
1496
|
-
function
|
|
1501
|
+
function instanceOfServiceMessage2(value) {
|
|
1497
1502
|
if (!("resource" in value) || value["resource"] === undefined)
|
|
1498
1503
|
return false;
|
|
1499
1504
|
if (!("text" in value) || value["text"] === undefined)
|
|
@@ -1502,10 +1507,10 @@ function instanceOfServiceMessage(value) {
|
|
|
1502
1507
|
return false;
|
|
1503
1508
|
return true;
|
|
1504
1509
|
}
|
|
1505
|
-
function
|
|
1506
|
-
return
|
|
1510
|
+
function ServiceMessageFromJSON2(json) {
|
|
1511
|
+
return ServiceMessageFromJSONTyped2(json, false);
|
|
1507
1512
|
}
|
|
1508
|
-
function
|
|
1513
|
+
function ServiceMessageFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1509
1514
|
if (json == null) {
|
|
1510
1515
|
return json;
|
|
1511
1516
|
}
|
|
@@ -1516,10 +1521,10 @@ function ServiceMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1516
1521
|
errorCode: json["errorCode"] == null ? undefined : json["errorCode"]
|
|
1517
1522
|
};
|
|
1518
1523
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return
|
|
1524
|
+
function ServiceMessageToJSON2(json) {
|
|
1525
|
+
return ServiceMessageToJSONTyped2(json, false);
|
|
1521
1526
|
}
|
|
1522
|
-
function
|
|
1527
|
+
function ServiceMessageToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1523
1528
|
if (value == null) {
|
|
1524
1529
|
return value;
|
|
1525
1530
|
}
|
|
@@ -1532,7 +1537,7 @@ function ServiceMessageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1532
1537
|
}
|
|
1533
1538
|
|
|
1534
1539
|
// generated/src/models/ResourceValidationError.ts
|
|
1535
|
-
function
|
|
1540
|
+
function instanceOfResourceValidationError2(value) {
|
|
1536
1541
|
if (!("resource" in value) || value["resource"] === undefined)
|
|
1537
1542
|
return false;
|
|
1538
1543
|
if (!("text" in value) || value["text"] === undefined)
|
|
@@ -1547,10 +1552,10 @@ function instanceOfResourceValidationError(value) {
|
|
|
1547
1552
|
return false;
|
|
1548
1553
|
return true;
|
|
1549
1554
|
}
|
|
1550
|
-
function
|
|
1551
|
-
return
|
|
1555
|
+
function ResourceValidationErrorFromJSON2(json) {
|
|
1556
|
+
return ResourceValidationErrorFromJSONTyped2(json, false);
|
|
1552
1557
|
}
|
|
1553
|
-
function
|
|
1558
|
+
function ResourceValidationErrorFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1554
1559
|
if (json == null) {
|
|
1555
1560
|
return json;
|
|
1556
1561
|
}
|
|
@@ -1559,16 +1564,16 @@ function ResourceValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1559
1564
|
text: json["text"],
|
|
1560
1565
|
parameters: json["parameters"],
|
|
1561
1566
|
errorCode: json["errorCode"] == null ? undefined : json["errorCode"],
|
|
1562
|
-
kind:
|
|
1563
|
-
level:
|
|
1567
|
+
kind: DeploymentResourceValidationErrorKindFromJSON2(json["kind"]),
|
|
1568
|
+
level: DeploymentResourceValidationErrorLevelFromJSON2(json["level"]),
|
|
1564
1569
|
propertyName: json["propertyName"] == null ? undefined : json["propertyName"],
|
|
1565
|
-
allowedActions: json["allowedActions"].map(
|
|
1570
|
+
allowedActions: json["allowedActions"].map(DeploymentResourceValidationActionFromJSON2)
|
|
1566
1571
|
};
|
|
1567
1572
|
}
|
|
1568
|
-
function
|
|
1569
|
-
return
|
|
1573
|
+
function ResourceValidationErrorToJSON2(json) {
|
|
1574
|
+
return ResourceValidationErrorToJSONTyped2(json, false);
|
|
1570
1575
|
}
|
|
1571
|
-
function
|
|
1576
|
+
function ResourceValidationErrorToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1572
1577
|
if (value == null) {
|
|
1573
1578
|
return value;
|
|
1574
1579
|
}
|
|
@@ -1577,15 +1582,15 @@ function ResourceValidationErrorToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
1577
1582
|
text: value["text"],
|
|
1578
1583
|
parameters: value["parameters"],
|
|
1579
1584
|
errorCode: value["errorCode"],
|
|
1580
|
-
kind:
|
|
1581
|
-
level:
|
|
1585
|
+
kind: DeploymentResourceValidationErrorKindToJSON2(value["kind"]),
|
|
1586
|
+
level: DeploymentResourceValidationErrorLevelToJSON2(value["level"]),
|
|
1582
1587
|
propertyName: value["propertyName"],
|
|
1583
|
-
allowedActions: value["allowedActions"].map(
|
|
1588
|
+
allowedActions: value["allowedActions"].map(DeploymentResourceValidationActionToJSON2)
|
|
1584
1589
|
};
|
|
1585
1590
|
}
|
|
1586
1591
|
|
|
1587
1592
|
// generated/src/models/ResourceValidationDto.ts
|
|
1588
|
-
function
|
|
1593
|
+
function instanceOfResourceValidationDto2(value) {
|
|
1589
1594
|
if (!("key" in value) || value["key"] === undefined)
|
|
1590
1595
|
return false;
|
|
1591
1596
|
if (!("name" in value) || value["name"] === undefined)
|
|
@@ -1598,10 +1603,10 @@ function instanceOfResourceValidationDto(value) {
|
|
|
1598
1603
|
return false;
|
|
1599
1604
|
return true;
|
|
1600
1605
|
}
|
|
1601
|
-
function
|
|
1602
|
-
return
|
|
1606
|
+
function ResourceValidationDtoFromJSON2(json) {
|
|
1607
|
+
return ResourceValidationDtoFromJSONTyped2(json, false);
|
|
1603
1608
|
}
|
|
1604
|
-
function
|
|
1609
|
+
function ResourceValidationDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1605
1610
|
if (json == null) {
|
|
1606
1611
|
return json;
|
|
1607
1612
|
}
|
|
@@ -1611,13 +1616,13 @@ function ResourceValidationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1611
1616
|
kind: json["kind"],
|
|
1612
1617
|
serviceName: json["serviceName"],
|
|
1613
1618
|
type: json["type"] == null ? undefined : json["type"],
|
|
1614
|
-
errors: json["errors"].map(
|
|
1619
|
+
errors: json["errors"].map(ResourceValidationErrorFromJSON2)
|
|
1615
1620
|
};
|
|
1616
1621
|
}
|
|
1617
|
-
function
|
|
1618
|
-
return
|
|
1622
|
+
function ResourceValidationDtoToJSON2(json) {
|
|
1623
|
+
return ResourceValidationDtoToJSONTyped2(json, false);
|
|
1619
1624
|
}
|
|
1620
|
-
function
|
|
1625
|
+
function ResourceValidationDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1621
1626
|
if (value == null) {
|
|
1622
1627
|
return value;
|
|
1623
1628
|
}
|
|
@@ -1627,97 +1632,97 @@ function ResourceValidationDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1627
1632
|
kind: value["kind"],
|
|
1628
1633
|
serviceName: value["serviceName"],
|
|
1629
1634
|
type: value["type"],
|
|
1630
|
-
errors: value["errors"].map(
|
|
1635
|
+
errors: value["errors"].map(ResourceValidationErrorToJSON2)
|
|
1631
1636
|
};
|
|
1632
1637
|
}
|
|
1633
1638
|
|
|
1634
1639
|
// generated/src/models/DeploymentValidationResultDto.ts
|
|
1635
|
-
function
|
|
1640
|
+
function instanceOfDeploymentValidationResultDto2(value) {
|
|
1636
1641
|
if (!("validationErrors" in value) || value["validationErrors"] === undefined)
|
|
1637
1642
|
return false;
|
|
1638
1643
|
if (!("resourceValidationErrors" in value) || value["resourceValidationErrors"] === undefined)
|
|
1639
1644
|
return false;
|
|
1640
1645
|
return true;
|
|
1641
1646
|
}
|
|
1642
|
-
function
|
|
1643
|
-
return
|
|
1647
|
+
function DeploymentValidationResultDtoFromJSON2(json) {
|
|
1648
|
+
return DeploymentValidationResultDtoFromJSONTyped2(json, false);
|
|
1644
1649
|
}
|
|
1645
|
-
function
|
|
1650
|
+
function DeploymentValidationResultDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1646
1651
|
if (json == null) {
|
|
1647
1652
|
return json;
|
|
1648
1653
|
}
|
|
1649
1654
|
return {
|
|
1650
1655
|
success: json["success"] == null ? undefined : json["success"],
|
|
1651
|
-
validationErrors: json["validationErrors"].map(
|
|
1652
|
-
resourceValidationErrors: json["resourceValidationErrors"].map(
|
|
1656
|
+
validationErrors: json["validationErrors"].map(ServiceMessageFromJSON2),
|
|
1657
|
+
resourceValidationErrors: json["resourceValidationErrors"].map(ResourceValidationDtoFromJSON2)
|
|
1653
1658
|
};
|
|
1654
1659
|
}
|
|
1655
|
-
function
|
|
1656
|
-
return
|
|
1660
|
+
function DeploymentValidationResultDtoToJSON2(json) {
|
|
1661
|
+
return DeploymentValidationResultDtoToJSONTyped2(json, false);
|
|
1657
1662
|
}
|
|
1658
|
-
function
|
|
1663
|
+
function DeploymentValidationResultDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1659
1664
|
if (value == null) {
|
|
1660
1665
|
return value;
|
|
1661
1666
|
}
|
|
1662
1667
|
return {
|
|
1663
1668
|
success: value["success"],
|
|
1664
|
-
validationErrors: value["validationErrors"].map(
|
|
1665
|
-
resourceValidationErrors: value["resourceValidationErrors"].map(
|
|
1669
|
+
validationErrors: value["validationErrors"].map(ServiceMessageToJSON2),
|
|
1670
|
+
resourceValidationErrors: value["resourceValidationErrors"].map(ResourceValidationDtoToJSON2)
|
|
1666
1671
|
};
|
|
1667
1672
|
}
|
|
1668
1673
|
|
|
1669
1674
|
// generated/src/models/OrderByDirection.ts
|
|
1670
|
-
var
|
|
1675
|
+
var OrderByDirection2 = {
|
|
1671
1676
|
Ascending: "Ascending",
|
|
1672
1677
|
Descending: "Descending"
|
|
1673
1678
|
};
|
|
1674
|
-
function
|
|
1675
|
-
for (const key in
|
|
1676
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1677
|
-
if (
|
|
1679
|
+
function instanceOfOrderByDirection2(value) {
|
|
1680
|
+
for (const key in OrderByDirection2) {
|
|
1681
|
+
if (Object.prototype.hasOwnProperty.call(OrderByDirection2, key)) {
|
|
1682
|
+
if (OrderByDirection2[key] === value) {
|
|
1678
1683
|
return true;
|
|
1679
1684
|
}
|
|
1680
1685
|
}
|
|
1681
1686
|
}
|
|
1682
1687
|
return false;
|
|
1683
1688
|
}
|
|
1684
|
-
function
|
|
1685
|
-
return
|
|
1689
|
+
function OrderByDirectionFromJSON2(json) {
|
|
1690
|
+
return OrderByDirectionFromJSONTyped2(json, false);
|
|
1686
1691
|
}
|
|
1687
|
-
function
|
|
1692
|
+
function OrderByDirectionFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1688
1693
|
return json;
|
|
1689
1694
|
}
|
|
1690
|
-
function
|
|
1695
|
+
function OrderByDirectionToJSON2(value) {
|
|
1691
1696
|
return value;
|
|
1692
1697
|
}
|
|
1693
|
-
function
|
|
1698
|
+
function OrderByDirectionToJSONTyped2(value, ignoreDiscriminator) {
|
|
1694
1699
|
return value;
|
|
1695
1700
|
}
|
|
1696
1701
|
|
|
1697
1702
|
// generated/src/models/DeploymentsSearchRequest2.ts
|
|
1698
|
-
function
|
|
1703
|
+
function instanceOfDeploymentsSearchRequest22(value) {
|
|
1699
1704
|
if (!("operationStatuses" in value) || value["operationStatuses"] === undefined)
|
|
1700
1705
|
return false;
|
|
1701
1706
|
if (!("activationStatuses" in value) || value["activationStatuses"] === undefined)
|
|
1702
1707
|
return false;
|
|
1703
1708
|
return true;
|
|
1704
1709
|
}
|
|
1705
|
-
function
|
|
1706
|
-
return
|
|
1710
|
+
function DeploymentsSearchRequest2FromJSON2(json) {
|
|
1711
|
+
return DeploymentsSearchRequest2FromJSONTyped2(json, false);
|
|
1707
1712
|
}
|
|
1708
|
-
function
|
|
1713
|
+
function DeploymentsSearchRequest2FromJSONTyped2(json, ignoreDiscriminator) {
|
|
1709
1714
|
if (json == null) {
|
|
1710
1715
|
return json;
|
|
1711
1716
|
}
|
|
1712
1717
|
return {
|
|
1713
1718
|
orderByColumn: json["orderByColumn"] == null ? undefined : json["orderByColumn"],
|
|
1714
|
-
orderByDirection: json["orderByDirection"] == null ? undefined :
|
|
1719
|
+
orderByDirection: json["orderByDirection"] == null ? undefined : OrderByDirectionFromJSON2(json["orderByDirection"]),
|
|
1715
1720
|
searchTerm: json["searchTerm"] == null ? undefined : json["searchTerm"],
|
|
1716
1721
|
skip: json["skip"] == null ? undefined : json["skip"],
|
|
1717
1722
|
take: json["take"] == null ? undefined : json["take"],
|
|
1718
|
-
operationStatuses: json["operationStatuses"].map(
|
|
1719
|
-
operation: json["operation"] == null ? undefined :
|
|
1720
|
-
activationStatuses: json["activationStatuses"].map(
|
|
1723
|
+
operationStatuses: json["operationStatuses"].map(DeploymentOperationStatusFromJSON2),
|
|
1724
|
+
operation: json["operation"] == null ? undefined : DeploymentOperationFromJSON2(json["operation"]),
|
|
1725
|
+
activationStatuses: json["activationStatuses"].map(DeploymentActivationStatusFromJSON2),
|
|
1721
1726
|
packageName: json["packageName"] == null ? undefined : json["packageName"],
|
|
1722
1727
|
packageVersion: json["packageVersion"] == null ? undefined : json["packageVersion"],
|
|
1723
1728
|
currentPackageVersion: json["currentPackageVersion"] == null ? undefined : json["currentPackageVersion"],
|
|
@@ -1726,22 +1731,22 @@ function DeploymentsSearchRequest2FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1726
1731
|
packageVersionKey: json["packageVersionKey"] == null ? undefined : json["packageVersionKey"]
|
|
1727
1732
|
};
|
|
1728
1733
|
}
|
|
1729
|
-
function
|
|
1730
|
-
return
|
|
1734
|
+
function DeploymentsSearchRequest2ToJSON2(json) {
|
|
1735
|
+
return DeploymentsSearchRequest2ToJSONTyped2(json, false);
|
|
1731
1736
|
}
|
|
1732
|
-
function
|
|
1737
|
+
function DeploymentsSearchRequest2ToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1733
1738
|
if (value == null) {
|
|
1734
1739
|
return value;
|
|
1735
1740
|
}
|
|
1736
1741
|
return {
|
|
1737
1742
|
orderByColumn: value["orderByColumn"],
|
|
1738
|
-
orderByDirection:
|
|
1743
|
+
orderByDirection: OrderByDirectionToJSON2(value["orderByDirection"]),
|
|
1739
1744
|
searchTerm: value["searchTerm"],
|
|
1740
1745
|
skip: value["skip"],
|
|
1741
1746
|
take: value["take"],
|
|
1742
|
-
operationStatuses: value["operationStatuses"].map(
|
|
1743
|
-
operation:
|
|
1744
|
-
activationStatuses: value["activationStatuses"].map(
|
|
1747
|
+
operationStatuses: value["operationStatuses"].map(DeploymentOperationStatusToJSON2),
|
|
1748
|
+
operation: DeploymentOperationToJSON2(value["operation"]),
|
|
1749
|
+
activationStatuses: value["activationStatuses"].map(DeploymentActivationStatusToJSON2),
|
|
1745
1750
|
packageName: value["packageName"],
|
|
1746
1751
|
packageVersion: value["packageVersion"],
|
|
1747
1752
|
currentPackageVersion: value["currentPackageVersion"],
|
|
@@ -1752,37 +1757,37 @@ function DeploymentsSearchRequest2ToJSONTyped(value, ignoreDiscriminator = false
|
|
|
1752
1757
|
}
|
|
1753
1758
|
|
|
1754
1759
|
// generated/src/models/ExtendedPackageVersionState.ts
|
|
1755
|
-
var
|
|
1760
|
+
var ExtendedPackageVersionState2 = {
|
|
1756
1761
|
Pending: "Pending",
|
|
1757
1762
|
Ready: "Ready",
|
|
1758
1763
|
Failed: "Failed",
|
|
1759
1764
|
Active: "Active"
|
|
1760
1765
|
};
|
|
1761
|
-
function
|
|
1762
|
-
for (const key in
|
|
1763
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1764
|
-
if (
|
|
1766
|
+
function instanceOfExtendedPackageVersionState2(value) {
|
|
1767
|
+
for (const key in ExtendedPackageVersionState2) {
|
|
1768
|
+
if (Object.prototype.hasOwnProperty.call(ExtendedPackageVersionState2, key)) {
|
|
1769
|
+
if (ExtendedPackageVersionState2[key] === value) {
|
|
1765
1770
|
return true;
|
|
1766
1771
|
}
|
|
1767
1772
|
}
|
|
1768
1773
|
}
|
|
1769
1774
|
return false;
|
|
1770
1775
|
}
|
|
1771
|
-
function
|
|
1772
|
-
return
|
|
1776
|
+
function ExtendedPackageVersionStateFromJSON2(json) {
|
|
1777
|
+
return ExtendedPackageVersionStateFromJSONTyped2(json, false);
|
|
1773
1778
|
}
|
|
1774
|
-
function
|
|
1779
|
+
function ExtendedPackageVersionStateFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1775
1780
|
return json;
|
|
1776
1781
|
}
|
|
1777
|
-
function
|
|
1782
|
+
function ExtendedPackageVersionStateToJSON2(value) {
|
|
1778
1783
|
return value;
|
|
1779
1784
|
}
|
|
1780
|
-
function
|
|
1785
|
+
function ExtendedPackageVersionStateToJSONTyped2(value, ignoreDiscriminator) {
|
|
1781
1786
|
return value;
|
|
1782
1787
|
}
|
|
1783
1788
|
|
|
1784
1789
|
// generated/src/models/LocationDto.ts
|
|
1785
|
-
function
|
|
1790
|
+
function instanceOfLocationDto2(value) {
|
|
1786
1791
|
if (!("name" in value) || value["name"] === undefined)
|
|
1787
1792
|
return false;
|
|
1788
1793
|
if (!("key" in value) || value["key"] === undefined)
|
|
@@ -1791,10 +1796,10 @@ function instanceOfLocationDto(value) {
|
|
|
1791
1796
|
return false;
|
|
1792
1797
|
return true;
|
|
1793
1798
|
}
|
|
1794
|
-
function
|
|
1795
|
-
return
|
|
1799
|
+
function LocationDtoFromJSON2(json) {
|
|
1800
|
+
return LocationDtoFromJSONTyped2(json, false);
|
|
1796
1801
|
}
|
|
1797
|
-
function
|
|
1802
|
+
function LocationDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1798
1803
|
if (json == null) {
|
|
1799
1804
|
return json;
|
|
1800
1805
|
}
|
|
@@ -1804,10 +1809,10 @@ function LocationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1804
1809
|
isPersonalWorkspace: json["isPersonalWorkspace"]
|
|
1805
1810
|
};
|
|
1806
1811
|
}
|
|
1807
|
-
function
|
|
1808
|
-
return
|
|
1812
|
+
function LocationDtoToJSON2(json) {
|
|
1813
|
+
return LocationDtoToJSONTyped2(json, false);
|
|
1809
1814
|
}
|
|
1810
|
-
function
|
|
1815
|
+
function LocationDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1811
1816
|
if (value == null) {
|
|
1812
1817
|
return value;
|
|
1813
1818
|
}
|
|
@@ -1819,7 +1824,7 @@ function LocationDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1819
1824
|
}
|
|
1820
1825
|
|
|
1821
1826
|
// generated/src/models/PackageInfo.ts
|
|
1822
|
-
function
|
|
1827
|
+
function instanceOfPackageInfo2(value) {
|
|
1823
1828
|
if (!("key" in value) || value["key"] === undefined)
|
|
1824
1829
|
return false;
|
|
1825
1830
|
if (!("name" in value) || value["name"] === undefined)
|
|
@@ -1840,10 +1845,10 @@ function instanceOfPackageInfo(value) {
|
|
|
1840
1845
|
return false;
|
|
1841
1846
|
return true;
|
|
1842
1847
|
}
|
|
1843
|
-
function
|
|
1844
|
-
return
|
|
1848
|
+
function PackageInfoFromJSON2(json) {
|
|
1849
|
+
return PackageInfoFromJSONTyped2(json, false);
|
|
1845
1850
|
}
|
|
1846
|
-
function
|
|
1851
|
+
function PackageInfoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1847
1852
|
if (json == null) {
|
|
1848
1853
|
return json;
|
|
1849
1854
|
}
|
|
@@ -1857,15 +1862,15 @@ function PackageInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1857
1862
|
publishDate: new Date(json["publishDate"]),
|
|
1858
1863
|
description: json["description"] == null ? undefined : json["description"],
|
|
1859
1864
|
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
1860
|
-
state:
|
|
1865
|
+
state: ExtendedPackageVersionStateFromJSON2(json["state"]),
|
|
1861
1866
|
solutionRootFolderName: json["solutionRootFolderName"],
|
|
1862
1867
|
hasUpgradeableDeployments: json["hasUpgradeableDeployments"]
|
|
1863
1868
|
};
|
|
1864
1869
|
}
|
|
1865
|
-
function
|
|
1866
|
-
return
|
|
1870
|
+
function PackageInfoToJSON2(json) {
|
|
1871
|
+
return PackageInfoToJSONTyped2(json, false);
|
|
1867
1872
|
}
|
|
1868
|
-
function
|
|
1873
|
+
function PackageInfoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1869
1874
|
if (value == null) {
|
|
1870
1875
|
return value;
|
|
1871
1876
|
}
|
|
@@ -1879,14 +1884,14 @@ function PackageInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1879
1884
|
publishDate: value["publishDate"].toISOString(),
|
|
1880
1885
|
description: value["description"],
|
|
1881
1886
|
releaseNotes: value["releaseNotes"],
|
|
1882
|
-
state:
|
|
1887
|
+
state: ExtendedPackageVersionStateToJSON2(value["state"]),
|
|
1883
1888
|
solutionRootFolderName: value["solutionRootFolderName"],
|
|
1884
1889
|
hasUpgradeableDeployments: value["hasUpgradeableDeployments"]
|
|
1885
1890
|
};
|
|
1886
1891
|
}
|
|
1887
1892
|
|
|
1888
1893
|
// generated/src/models/ResourceStats.ts
|
|
1889
|
-
function
|
|
1894
|
+
function instanceOfResourceStats2(value) {
|
|
1890
1895
|
if (!("count" in value) || value["count"] === undefined)
|
|
1891
1896
|
return false;
|
|
1892
1897
|
if (!("kind" in value) || value["kind"] === undefined)
|
|
@@ -1895,10 +1900,10 @@ function instanceOfResourceStats(value) {
|
|
|
1895
1900
|
return false;
|
|
1896
1901
|
return true;
|
|
1897
1902
|
}
|
|
1898
|
-
function
|
|
1899
|
-
return
|
|
1903
|
+
function ResourceStatsFromJSON2(json) {
|
|
1904
|
+
return ResourceStatsFromJSONTyped2(json, false);
|
|
1900
1905
|
}
|
|
1901
|
-
function
|
|
1906
|
+
function ResourceStatsFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1902
1907
|
if (json == null) {
|
|
1903
1908
|
return json;
|
|
1904
1909
|
}
|
|
@@ -1908,10 +1913,10 @@ function ResourceStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1908
1913
|
serviceName: json["serviceName"]
|
|
1909
1914
|
};
|
|
1910
1915
|
}
|
|
1911
|
-
function
|
|
1912
|
-
return
|
|
1916
|
+
function ResourceStatsToJSON2(json) {
|
|
1917
|
+
return ResourceStatsToJSONTyped2(json, false);
|
|
1913
1918
|
}
|
|
1914
|
-
function
|
|
1919
|
+
function ResourceStatsToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1915
1920
|
if (value == null) {
|
|
1916
1921
|
return value;
|
|
1917
1922
|
}
|
|
@@ -1923,7 +1928,7 @@ function ResourceStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1923
1928
|
}
|
|
1924
1929
|
|
|
1925
1930
|
// generated/src/models/PackageVersionResourceDto.ts
|
|
1926
|
-
function
|
|
1931
|
+
function instanceOfPackageVersionResourceDto2(value) {
|
|
1927
1932
|
if (!("key" in value) || value["key"] === undefined)
|
|
1928
1933
|
return false;
|
|
1929
1934
|
if (!("name" in value) || value["name"] === undefined)
|
|
@@ -1936,10 +1941,10 @@ function instanceOfPackageVersionResourceDto(value) {
|
|
|
1936
1941
|
return false;
|
|
1937
1942
|
return true;
|
|
1938
1943
|
}
|
|
1939
|
-
function
|
|
1940
|
-
return
|
|
1944
|
+
function PackageVersionResourceDtoFromJSON2(json) {
|
|
1945
|
+
return PackageVersionResourceDtoFromJSONTyped2(json, false);
|
|
1941
1946
|
}
|
|
1942
|
-
function
|
|
1947
|
+
function PackageVersionResourceDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1943
1948
|
if (json == null) {
|
|
1944
1949
|
return json;
|
|
1945
1950
|
}
|
|
@@ -1949,13 +1954,13 @@ function PackageVersionResourceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1949
1954
|
kind: json["kind"],
|
|
1950
1955
|
type: json["type"] == null ? undefined : json["type"],
|
|
1951
1956
|
apiVersion: json["apiVersion"],
|
|
1952
|
-
folders: json["folders"].map(
|
|
1957
|
+
folders: json["folders"].map(FolderInfoFromJSON2)
|
|
1953
1958
|
};
|
|
1954
1959
|
}
|
|
1955
|
-
function
|
|
1956
|
-
return
|
|
1960
|
+
function PackageVersionResourceDtoToJSON2(json) {
|
|
1961
|
+
return PackageVersionResourceDtoToJSONTyped2(json, false);
|
|
1957
1962
|
}
|
|
1958
|
-
function
|
|
1963
|
+
function PackageVersionResourceDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1959
1964
|
if (value == null) {
|
|
1960
1965
|
return value;
|
|
1961
1966
|
}
|
|
@@ -1965,12 +1970,12 @@ function PackageVersionResourceDtoToJSONTyped(value, ignoreDiscriminator = false
|
|
|
1965
1970
|
kind: value["kind"],
|
|
1966
1971
|
type: value["type"],
|
|
1967
1972
|
apiVersion: value["apiVersion"],
|
|
1968
|
-
folders: value["folders"].map(
|
|
1973
|
+
folders: value["folders"].map(FolderInfoToJSON2)
|
|
1969
1974
|
};
|
|
1970
1975
|
}
|
|
1971
1976
|
|
|
1972
1977
|
// generated/src/models/PackageVersionComponentsDto.ts
|
|
1973
|
-
function
|
|
1978
|
+
function instanceOfPackageVersionComponentsDto2(value) {
|
|
1974
1979
|
if (!("count" in value) || value["count"] === undefined)
|
|
1975
1980
|
return false;
|
|
1976
1981
|
if (!("resources" in value) || value["resources"] === undefined)
|
|
@@ -1979,35 +1984,35 @@ function instanceOfPackageVersionComponentsDto(value) {
|
|
|
1979
1984
|
return false;
|
|
1980
1985
|
return true;
|
|
1981
1986
|
}
|
|
1982
|
-
function
|
|
1983
|
-
return
|
|
1987
|
+
function PackageVersionComponentsDtoFromJSON2(json) {
|
|
1988
|
+
return PackageVersionComponentsDtoFromJSONTyped2(json, false);
|
|
1984
1989
|
}
|
|
1985
|
-
function
|
|
1990
|
+
function PackageVersionComponentsDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
1986
1991
|
if (json == null) {
|
|
1987
1992
|
return json;
|
|
1988
1993
|
}
|
|
1989
1994
|
return {
|
|
1990
1995
|
count: json["count"],
|
|
1991
|
-
resources: json["resources"].map(
|
|
1992
|
-
stats: json["stats"].map(
|
|
1996
|
+
resources: json["resources"].map(PackageVersionResourceDtoFromJSON2),
|
|
1997
|
+
stats: json["stats"].map(ResourceStatsFromJSON2)
|
|
1993
1998
|
};
|
|
1994
1999
|
}
|
|
1995
|
-
function
|
|
1996
|
-
return
|
|
2000
|
+
function PackageVersionComponentsDtoToJSON2(json) {
|
|
2001
|
+
return PackageVersionComponentsDtoToJSONTyped2(json, false);
|
|
1997
2002
|
}
|
|
1998
|
-
function
|
|
2003
|
+
function PackageVersionComponentsDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
1999
2004
|
if (value == null) {
|
|
2000
2005
|
return value;
|
|
2001
2006
|
}
|
|
2002
2007
|
return {
|
|
2003
2008
|
count: value["count"],
|
|
2004
|
-
resources: value["resources"].map(
|
|
2005
|
-
stats: value["stats"].map(
|
|
2009
|
+
resources: value["resources"].map(PackageVersionResourceDtoToJSON2),
|
|
2010
|
+
stats: value["stats"].map(ResourceStatsToJSON2)
|
|
2006
2011
|
};
|
|
2007
2012
|
}
|
|
2008
2013
|
|
|
2009
2014
|
// generated/src/models/PackageVersionInfoDto.ts
|
|
2010
|
-
function
|
|
2015
|
+
function instanceOfPackageVersionInfoDto2(value) {
|
|
2011
2016
|
if (!("key" in value) || value["key"] === undefined)
|
|
2012
2017
|
return false;
|
|
2013
2018
|
if (!("packageName" in value) || value["packageName"] === undefined)
|
|
@@ -2024,10 +2029,10 @@ function instanceOfPackageVersionInfoDto(value) {
|
|
|
2024
2029
|
return false;
|
|
2025
2030
|
return true;
|
|
2026
2031
|
}
|
|
2027
|
-
function
|
|
2028
|
-
return
|
|
2032
|
+
function PackageVersionInfoDtoFromJSON2(json) {
|
|
2033
|
+
return PackageVersionInfoDtoFromJSONTyped2(json, false);
|
|
2029
2034
|
}
|
|
2030
|
-
function
|
|
2035
|
+
function PackageVersionInfoDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2031
2036
|
if (json == null) {
|
|
2032
2037
|
return json;
|
|
2033
2038
|
}
|
|
@@ -2040,16 +2045,16 @@ function PackageVersionInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2040
2045
|
authorEmail: json["authorEmail"] == null ? undefined : json["authorEmail"],
|
|
2041
2046
|
description: json["description"] == null ? undefined : json["description"],
|
|
2042
2047
|
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
2043
|
-
state:
|
|
2048
|
+
state: ExtendedPackageVersionStateFromJSON2(json["state"]),
|
|
2044
2049
|
solutionRootFolderName: json["solutionRootFolderName"],
|
|
2045
2050
|
locationKey: json["locationKey"] == null ? undefined : json["locationKey"],
|
|
2046
|
-
components: json["components"] == null ? undefined :
|
|
2051
|
+
components: json["components"] == null ? undefined : PackageVersionComponentsDtoFromJSON2(json["components"])
|
|
2047
2052
|
};
|
|
2048
2053
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return
|
|
2054
|
+
function PackageVersionInfoDtoToJSON2(json) {
|
|
2055
|
+
return PackageVersionInfoDtoToJSONTyped2(json, false);
|
|
2051
2056
|
}
|
|
2052
|
-
function
|
|
2057
|
+
function PackageVersionInfoDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2053
2058
|
if (value == null) {
|
|
2054
2059
|
return value;
|
|
2055
2060
|
}
|
|
@@ -2062,120 +2067,120 @@ function PackageVersionInfoDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2062
2067
|
authorEmail: value["authorEmail"],
|
|
2063
2068
|
description: value["description"],
|
|
2064
2069
|
releaseNotes: value["releaseNotes"],
|
|
2065
|
-
state:
|
|
2070
|
+
state: ExtendedPackageVersionStateToJSON2(value["state"]),
|
|
2066
2071
|
solutionRootFolderName: value["solutionRootFolderName"],
|
|
2067
2072
|
locationKey: value["locationKey"],
|
|
2068
|
-
components:
|
|
2073
|
+
components: PackageVersionComponentsDtoToJSON2(value["components"])
|
|
2069
2074
|
};
|
|
2070
2075
|
}
|
|
2071
2076
|
|
|
2072
2077
|
// generated/src/models/PageInfoDtoOfDeploymentResourceInfo.ts
|
|
2073
|
-
function
|
|
2078
|
+
function instanceOfPageInfoDtoOfDeploymentResourceInfo2(value) {
|
|
2074
2079
|
if (!("count" in value) || value["count"] === undefined)
|
|
2075
2080
|
return false;
|
|
2076
2081
|
if (!("values" in value) || value["values"] === undefined)
|
|
2077
2082
|
return false;
|
|
2078
2083
|
return true;
|
|
2079
2084
|
}
|
|
2080
|
-
function
|
|
2081
|
-
return
|
|
2085
|
+
function PageInfoDtoOfDeploymentResourceInfoFromJSON2(json) {
|
|
2086
|
+
return PageInfoDtoOfDeploymentResourceInfoFromJSONTyped2(json, false);
|
|
2082
2087
|
}
|
|
2083
|
-
function
|
|
2088
|
+
function PageInfoDtoOfDeploymentResourceInfoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2084
2089
|
if (json == null) {
|
|
2085
2090
|
return json;
|
|
2086
2091
|
}
|
|
2087
2092
|
return {
|
|
2088
2093
|
count: json["count"],
|
|
2089
|
-
values: json["values"].map(
|
|
2094
|
+
values: json["values"].map(DeploymentResourceInfoFromJSON2)
|
|
2090
2095
|
};
|
|
2091
2096
|
}
|
|
2092
|
-
function
|
|
2093
|
-
return
|
|
2097
|
+
function PageInfoDtoOfDeploymentResourceInfoToJSON2(json) {
|
|
2098
|
+
return PageInfoDtoOfDeploymentResourceInfoToJSONTyped2(json, false);
|
|
2094
2099
|
}
|
|
2095
|
-
function
|
|
2100
|
+
function PageInfoDtoOfDeploymentResourceInfoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2096
2101
|
if (value == null) {
|
|
2097
2102
|
return value;
|
|
2098
2103
|
}
|
|
2099
2104
|
return {
|
|
2100
2105
|
count: value["count"],
|
|
2101
|
-
values: value["values"].map(
|
|
2106
|
+
values: value["values"].map(DeploymentResourceInfoToJSON2)
|
|
2102
2107
|
};
|
|
2103
2108
|
}
|
|
2104
2109
|
|
|
2105
2110
|
// generated/src/models/PageInfoDtoOfDeploymentSearchItemDto2.ts
|
|
2106
|
-
function
|
|
2111
|
+
function instanceOfPageInfoDtoOfDeploymentSearchItemDto22(value) {
|
|
2107
2112
|
if (!("count" in value) || value["count"] === undefined)
|
|
2108
2113
|
return false;
|
|
2109
2114
|
if (!("values" in value) || value["values"] === undefined)
|
|
2110
2115
|
return false;
|
|
2111
2116
|
return true;
|
|
2112
2117
|
}
|
|
2113
|
-
function
|
|
2114
|
-
return
|
|
2118
|
+
function PageInfoDtoOfDeploymentSearchItemDto2FromJSON2(json) {
|
|
2119
|
+
return PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped2(json, false);
|
|
2115
2120
|
}
|
|
2116
|
-
function
|
|
2121
|
+
function PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped2(json, ignoreDiscriminator) {
|
|
2117
2122
|
if (json == null) {
|
|
2118
2123
|
return json;
|
|
2119
2124
|
}
|
|
2120
2125
|
return {
|
|
2121
2126
|
count: json["count"],
|
|
2122
|
-
values: json["values"].map(
|
|
2127
|
+
values: json["values"].map(DeploymentSearchItemDto2FromJSON2)
|
|
2123
2128
|
};
|
|
2124
2129
|
}
|
|
2125
|
-
function
|
|
2126
|
-
return
|
|
2130
|
+
function PageInfoDtoOfDeploymentSearchItemDto2ToJSON2(json) {
|
|
2131
|
+
return PageInfoDtoOfDeploymentSearchItemDto2ToJSONTyped2(json, false);
|
|
2127
2132
|
}
|
|
2128
|
-
function
|
|
2133
|
+
function PageInfoDtoOfDeploymentSearchItemDto2ToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2129
2134
|
if (value == null) {
|
|
2130
2135
|
return value;
|
|
2131
2136
|
}
|
|
2132
2137
|
return {
|
|
2133
2138
|
count: value["count"],
|
|
2134
|
-
values: value["values"].map(
|
|
2139
|
+
values: value["values"].map(DeploymentSearchItemDto2ToJSON2)
|
|
2135
2140
|
};
|
|
2136
2141
|
}
|
|
2137
2142
|
|
|
2138
2143
|
// generated/src/models/PageInfoDtoOfPackageInfo.ts
|
|
2139
|
-
function
|
|
2144
|
+
function instanceOfPageInfoDtoOfPackageInfo2(value) {
|
|
2140
2145
|
if (!("count" in value) || value["count"] === undefined)
|
|
2141
2146
|
return false;
|
|
2142
2147
|
if (!("values" in value) || value["values"] === undefined)
|
|
2143
2148
|
return false;
|
|
2144
2149
|
return true;
|
|
2145
2150
|
}
|
|
2146
|
-
function
|
|
2147
|
-
return
|
|
2151
|
+
function PageInfoDtoOfPackageInfoFromJSON2(json) {
|
|
2152
|
+
return PageInfoDtoOfPackageInfoFromJSONTyped2(json, false);
|
|
2148
2153
|
}
|
|
2149
|
-
function
|
|
2154
|
+
function PageInfoDtoOfPackageInfoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2150
2155
|
if (json == null) {
|
|
2151
2156
|
return json;
|
|
2152
2157
|
}
|
|
2153
2158
|
return {
|
|
2154
2159
|
count: json["count"],
|
|
2155
|
-
values: json["values"].map(
|
|
2160
|
+
values: json["values"].map(PackageInfoFromJSON2)
|
|
2156
2161
|
};
|
|
2157
2162
|
}
|
|
2158
|
-
function
|
|
2159
|
-
return
|
|
2163
|
+
function PageInfoDtoOfPackageInfoToJSON2(json) {
|
|
2164
|
+
return PageInfoDtoOfPackageInfoToJSONTyped2(json, false);
|
|
2160
2165
|
}
|
|
2161
|
-
function
|
|
2166
|
+
function PageInfoDtoOfPackageInfoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2162
2167
|
if (value == null) {
|
|
2163
2168
|
return value;
|
|
2164
2169
|
}
|
|
2165
2170
|
return {
|
|
2166
2171
|
count: value["count"],
|
|
2167
|
-
values: value["values"].map(
|
|
2172
|
+
values: value["values"].map(PackageInfoToJSON2)
|
|
2168
2173
|
};
|
|
2169
2174
|
}
|
|
2170
2175
|
|
|
2171
2176
|
// generated/src/models/ProblemDetails.ts
|
|
2172
|
-
function
|
|
2177
|
+
function instanceOfProblemDetails2(value) {
|
|
2173
2178
|
return true;
|
|
2174
2179
|
}
|
|
2175
|
-
function
|
|
2176
|
-
return
|
|
2180
|
+
function ProblemDetailsFromJSON2(json) {
|
|
2181
|
+
return ProblemDetailsFromJSONTyped2(json, false);
|
|
2177
2182
|
}
|
|
2178
|
-
function
|
|
2183
|
+
function ProblemDetailsFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2179
2184
|
if (json == null) {
|
|
2180
2185
|
return json;
|
|
2181
2186
|
}
|
|
@@ -2188,10 +2193,10 @@ function ProblemDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2188
2193
|
instance: json["instance"] == null ? undefined : json["instance"]
|
|
2189
2194
|
};
|
|
2190
2195
|
}
|
|
2191
|
-
function
|
|
2192
|
-
return
|
|
2196
|
+
function ProblemDetailsToJSON2(json) {
|
|
2197
|
+
return ProblemDetailsToJSONTyped2(json, false);
|
|
2193
2198
|
}
|
|
2194
|
-
function
|
|
2199
|
+
function ProblemDetailsToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2195
2200
|
if (value == null) {
|
|
2196
2201
|
return value;
|
|
2197
2202
|
}
|
|
@@ -2206,15 +2211,15 @@ function ProblemDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2206
2211
|
}
|
|
2207
2212
|
|
|
2208
2213
|
// generated/src/models/ProjectCreateRequest.ts
|
|
2209
|
-
function
|
|
2214
|
+
function instanceOfProjectCreateRequest2(value) {
|
|
2210
2215
|
if (!("name" in value) || value["name"] === undefined)
|
|
2211
2216
|
return false;
|
|
2212
2217
|
return true;
|
|
2213
2218
|
}
|
|
2214
|
-
function
|
|
2215
|
-
return
|
|
2219
|
+
function ProjectCreateRequestFromJSON2(json) {
|
|
2220
|
+
return ProjectCreateRequestFromJSONTyped2(json, false);
|
|
2216
2221
|
}
|
|
2217
|
-
function
|
|
2222
|
+
function ProjectCreateRequestFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2218
2223
|
if (json == null) {
|
|
2219
2224
|
return json;
|
|
2220
2225
|
}
|
|
@@ -2223,10 +2228,10 @@ function ProjectCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2223
2228
|
description: json["description"] == null ? undefined : json["description"]
|
|
2224
2229
|
};
|
|
2225
2230
|
}
|
|
2226
|
-
function
|
|
2227
|
-
return
|
|
2231
|
+
function ProjectCreateRequestToJSON2(json) {
|
|
2232
|
+
return ProjectCreateRequestToJSONTyped2(json, false);
|
|
2228
2233
|
}
|
|
2229
|
-
function
|
|
2234
|
+
function ProjectCreateRequestToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2230
2235
|
if (value == null) {
|
|
2231
2236
|
return value;
|
|
2232
2237
|
}
|
|
@@ -2237,37 +2242,37 @@ function ProjectCreateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2237
2242
|
}
|
|
2238
2243
|
|
|
2239
2244
|
// generated/src/models/ProjectImportStatus.ts
|
|
2240
|
-
var
|
|
2245
|
+
var ProjectImportStatus2 = {
|
|
2241
2246
|
InProgress: "InProgress",
|
|
2242
2247
|
Completed: "Completed",
|
|
2243
2248
|
Failed: "Failed",
|
|
2244
2249
|
NotApplicable: "NotApplicable"
|
|
2245
2250
|
};
|
|
2246
|
-
function
|
|
2247
|
-
for (const key in
|
|
2248
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2249
|
-
if (
|
|
2251
|
+
function instanceOfProjectImportStatus2(value) {
|
|
2252
|
+
for (const key in ProjectImportStatus2) {
|
|
2253
|
+
if (Object.prototype.hasOwnProperty.call(ProjectImportStatus2, key)) {
|
|
2254
|
+
if (ProjectImportStatus2[key] === value) {
|
|
2250
2255
|
return true;
|
|
2251
2256
|
}
|
|
2252
2257
|
}
|
|
2253
2258
|
}
|
|
2254
2259
|
return false;
|
|
2255
2260
|
}
|
|
2256
|
-
function
|
|
2257
|
-
return
|
|
2261
|
+
function ProjectImportStatusFromJSON2(json) {
|
|
2262
|
+
return ProjectImportStatusFromJSONTyped2(json, false);
|
|
2258
2263
|
}
|
|
2259
|
-
function
|
|
2264
|
+
function ProjectImportStatusFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2260
2265
|
return json;
|
|
2261
2266
|
}
|
|
2262
|
-
function
|
|
2267
|
+
function ProjectImportStatusToJSON2(value) {
|
|
2263
2268
|
return value;
|
|
2264
2269
|
}
|
|
2265
|
-
function
|
|
2270
|
+
function ProjectImportStatusToJSONTyped2(value, ignoreDiscriminator) {
|
|
2266
2271
|
return value;
|
|
2267
2272
|
}
|
|
2268
2273
|
|
|
2269
2274
|
// generated/src/models/ProjectDto.ts
|
|
2270
|
-
function
|
|
2275
|
+
function instanceOfProjectDto2(value) {
|
|
2271
2276
|
if (!("key" in value) || value["key"] === undefined)
|
|
2272
2277
|
return false;
|
|
2273
2278
|
if (!("name" in value) || value["name"] === undefined)
|
|
@@ -2278,10 +2283,10 @@ function instanceOfProjectDto(value) {
|
|
|
2278
2283
|
return false;
|
|
2279
2284
|
return true;
|
|
2280
2285
|
}
|
|
2281
|
-
function
|
|
2282
|
-
return
|
|
2286
|
+
function ProjectDtoFromJSON2(json) {
|
|
2287
|
+
return ProjectDtoFromJSONTyped2(json, false);
|
|
2283
2288
|
}
|
|
2284
|
-
function
|
|
2289
|
+
function ProjectDtoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2285
2290
|
if (json == null) {
|
|
2286
2291
|
return json;
|
|
2287
2292
|
}
|
|
@@ -2293,13 +2298,13 @@ function ProjectDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2293
2298
|
isEmpty: json["isEmpty"],
|
|
2294
2299
|
originatedPackageVersionKey: json["originatedPackageVersionKey"] == null ? undefined : json["originatedPackageVersionKey"],
|
|
2295
2300
|
latestPublishedPackageVersionKey: json["latestPublishedPackageVersionKey"] == null ? undefined : json["latestPublishedPackageVersionKey"],
|
|
2296
|
-
importStatus:
|
|
2301
|
+
importStatus: ProjectImportStatusFromJSON2(json["importStatus"])
|
|
2297
2302
|
};
|
|
2298
2303
|
}
|
|
2299
|
-
function
|
|
2300
|
-
return
|
|
2304
|
+
function ProjectDtoToJSON2(json) {
|
|
2305
|
+
return ProjectDtoToJSONTyped2(json, false);
|
|
2301
2306
|
}
|
|
2302
|
-
function
|
|
2307
|
+
function ProjectDtoToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2303
2308
|
if (value == null) {
|
|
2304
2309
|
return value;
|
|
2305
2310
|
}
|
|
@@ -2311,18 +2316,18 @@ function ProjectDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2311
2316
|
isEmpty: value["isEmpty"],
|
|
2312
2317
|
originatedPackageVersionKey: value["originatedPackageVersionKey"],
|
|
2313
2318
|
latestPublishedPackageVersionKey: value["latestPublishedPackageVersionKey"],
|
|
2314
|
-
importStatus:
|
|
2319
|
+
importStatus: ProjectImportStatusToJSON2(value["importStatus"])
|
|
2315
2320
|
};
|
|
2316
2321
|
}
|
|
2317
2322
|
|
|
2318
2323
|
// generated/src/models/SearchFilter.ts
|
|
2319
|
-
function
|
|
2324
|
+
function instanceOfSearchFilter2(value) {
|
|
2320
2325
|
return true;
|
|
2321
2326
|
}
|
|
2322
|
-
function
|
|
2323
|
-
return
|
|
2327
|
+
function SearchFilterFromJSON2(json) {
|
|
2328
|
+
return SearchFilterFromJSONTyped2(json, false);
|
|
2324
2329
|
}
|
|
2325
|
-
function
|
|
2330
|
+
function SearchFilterFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2326
2331
|
if (json == null) {
|
|
2327
2332
|
return json;
|
|
2328
2333
|
}
|
|
@@ -2330,14 +2335,14 @@ function SearchFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2330
2335
|
skip: json["skip"] == null ? undefined : json["skip"],
|
|
2331
2336
|
take: json["take"] == null ? undefined : json["take"],
|
|
2332
2337
|
orderByColumn: json["orderByColumn"] == null ? undefined : json["orderByColumn"],
|
|
2333
|
-
orderByDirection: json["orderByDirection"] == null ? undefined :
|
|
2338
|
+
orderByDirection: json["orderByDirection"] == null ? undefined : OrderByDirectionFromJSON2(json["orderByDirection"]),
|
|
2334
2339
|
searchTerm: json["searchTerm"] == null ? undefined : json["searchTerm"]
|
|
2335
2340
|
};
|
|
2336
2341
|
}
|
|
2337
|
-
function
|
|
2338
|
-
return
|
|
2342
|
+
function SearchFilterToJSON2(json) {
|
|
2343
|
+
return SearchFilterToJSONTyped2(json, false);
|
|
2339
2344
|
}
|
|
2340
|
-
function
|
|
2345
|
+
function SearchFilterToJSONTyped2(value, ignoreDiscriminator = false) {
|
|
2341
2346
|
if (value == null) {
|
|
2342
2347
|
return value;
|
|
2343
2348
|
}
|
|
@@ -2345,46 +2350,46 @@ function SearchFilterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2345
2350
|
skip: value["skip"],
|
|
2346
2351
|
take: value["take"],
|
|
2347
2352
|
orderByColumn: value["orderByColumn"],
|
|
2348
|
-
orderByDirection:
|
|
2353
|
+
orderByDirection: OrderByDirectionToJSON2(value["orderByDirection"]),
|
|
2349
2354
|
searchTerm: value["searchTerm"]
|
|
2350
2355
|
};
|
|
2351
2356
|
}
|
|
2352
2357
|
|
|
2353
2358
|
// generated/src/models/SolutionDeploymentAction.ts
|
|
2354
|
-
var
|
|
2359
|
+
var SolutionDeploymentAction2 = {
|
|
2355
2360
|
Install: "Install",
|
|
2356
2361
|
Uninstall: "Uninstall",
|
|
2357
2362
|
Upgrade: "Upgrade",
|
|
2358
2363
|
Rollback: "Rollback",
|
|
2359
2364
|
Activate: "Activate"
|
|
2360
2365
|
};
|
|
2361
|
-
function
|
|
2362
|
-
for (const key in
|
|
2363
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2364
|
-
if (
|
|
2366
|
+
function instanceOfSolutionDeploymentAction2(value) {
|
|
2367
|
+
for (const key in SolutionDeploymentAction2) {
|
|
2368
|
+
if (Object.prototype.hasOwnProperty.call(SolutionDeploymentAction2, key)) {
|
|
2369
|
+
if (SolutionDeploymentAction2[key] === value) {
|
|
2365
2370
|
return true;
|
|
2366
2371
|
}
|
|
2367
2372
|
}
|
|
2368
2373
|
}
|
|
2369
2374
|
return false;
|
|
2370
2375
|
}
|
|
2371
|
-
function
|
|
2372
|
-
return
|
|
2376
|
+
function SolutionDeploymentActionFromJSON2(json) {
|
|
2377
|
+
return SolutionDeploymentActionFromJSONTyped2(json, false);
|
|
2373
2378
|
}
|
|
2374
|
-
function
|
|
2379
|
+
function SolutionDeploymentActionFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2375
2380
|
return json;
|
|
2376
2381
|
}
|
|
2377
|
-
function
|
|
2382
|
+
function SolutionDeploymentActionToJSON2(value) {
|
|
2378
2383
|
return value;
|
|
2379
2384
|
}
|
|
2380
|
-
function
|
|
2385
|
+
function SolutionDeploymentActionToJSONTyped2(value, ignoreDiscriminator) {
|
|
2381
2386
|
return value;
|
|
2382
2387
|
}
|
|
2383
2388
|
// generated/src/apis/ConfigurationsApi.ts
|
|
2384
|
-
class
|
|
2389
|
+
class ConfigurationsApi2 extends BaseAPI2 {
|
|
2385
2390
|
async configurationsPostRaw(requestParameters, initOverrides) {
|
|
2386
2391
|
if (requestParameters["createConfigurationCommand"] == null) {
|
|
2387
|
-
throw new
|
|
2392
|
+
throw new RequiredError2("createConfigurationCommand", 'Required parameter "createConfigurationCommand" was null or undefined when calling configurationsPost().');
|
|
2388
2393
|
}
|
|
2389
2394
|
const queryParameters = {};
|
|
2390
2395
|
const headerParameters = {};
|
|
@@ -2405,12 +2410,12 @@ class ConfigurationsApi extends BaseAPI {
|
|
|
2405
2410
|
method: "POST",
|
|
2406
2411
|
headers: headerParameters,
|
|
2407
2412
|
query: queryParameters,
|
|
2408
|
-
body:
|
|
2413
|
+
body: CreateConfigurationCommandToJSON2(requestParameters["createConfigurationCommand"])
|
|
2409
2414
|
}, initOverrides);
|
|
2410
2415
|
if (this.isJsonMime(response.headers.get("content-type"))) {
|
|
2411
|
-
return new
|
|
2416
|
+
return new JSONApiResponse2(response);
|
|
2412
2417
|
} else {
|
|
2413
|
-
return new
|
|
2418
|
+
return new TextApiResponse2(response);
|
|
2414
2419
|
}
|
|
2415
2420
|
}
|
|
2416
2421
|
async configurationsPost(requestParameters, initOverrides) {
|
|
@@ -2420,10 +2425,10 @@ class ConfigurationsApi extends BaseAPI {
|
|
|
2420
2425
|
}
|
|
2421
2426
|
|
|
2422
2427
|
// generated/src/apis/DeploymentsApi.ts
|
|
2423
|
-
class
|
|
2428
|
+
class DeploymentsApi2 extends BaseAPI2 {
|
|
2424
2429
|
async deploymentsDeleteRaw(requestParameters, initOverrides) {
|
|
2425
2430
|
if (requestParameters["deploymentKey"] == null) {
|
|
2426
|
-
throw new
|
|
2431
|
+
throw new RequiredError2("deploymentKey", 'Required parameter "deploymentKey" was null or undefined when calling deploymentsDelete().');
|
|
2427
2432
|
}
|
|
2428
2433
|
const queryParameters = {};
|
|
2429
2434
|
const headerParameters = {};
|
|
@@ -2445,14 +2450,14 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2445
2450
|
headers: headerParameters,
|
|
2446
2451
|
query: queryParameters
|
|
2447
2452
|
}, initOverrides);
|
|
2448
|
-
return new
|
|
2453
|
+
return new VoidApiResponse2(response);
|
|
2449
2454
|
}
|
|
2450
2455
|
async deploymentsDelete(requestParameters, initOverrides) {
|
|
2451
2456
|
await this.deploymentsDeleteRaw(requestParameters, initOverrides);
|
|
2452
2457
|
}
|
|
2453
2458
|
async deploymentsDeployRaw(requestParameters, initOverrides) {
|
|
2454
2459
|
if (requestParameters["deploymentAutoRequest"] == null) {
|
|
2455
|
-
throw new
|
|
2460
|
+
throw new RequiredError2("deploymentAutoRequest", 'Required parameter "deploymentAutoRequest" was null or undefined when calling deploymentsDeploy().');
|
|
2456
2461
|
}
|
|
2457
2462
|
const queryParameters = {};
|
|
2458
2463
|
const headerParameters = {};
|
|
@@ -2476,9 +2481,9 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2476
2481
|
method: "POST",
|
|
2477
2482
|
headers: headerParameters,
|
|
2478
2483
|
query: queryParameters,
|
|
2479
|
-
body:
|
|
2484
|
+
body: DeploymentAutoRequestToJSON2(requestParameters["deploymentAutoRequest"])
|
|
2480
2485
|
}, initOverrides);
|
|
2481
|
-
return new
|
|
2486
|
+
return new JSONApiResponse2(response, (jsonValue) => DeploymentDtoFromJSON2(jsonValue));
|
|
2482
2487
|
}
|
|
2483
2488
|
async deploymentsDeploy(requestParameters, initOverrides) {
|
|
2484
2489
|
const response = await this.deploymentsDeployRaw(requestParameters, initOverrides);
|
|
@@ -2486,7 +2491,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2486
2491
|
}
|
|
2487
2492
|
async deploymentsGetByKeyRaw(requestParameters, initOverrides) {
|
|
2488
2493
|
if (requestParameters["deploymentKey"] == null) {
|
|
2489
|
-
throw new
|
|
2494
|
+
throw new RequiredError2("deploymentKey", 'Required parameter "deploymentKey" was null or undefined when calling deploymentsGetByKey().');
|
|
2490
2495
|
}
|
|
2491
2496
|
const queryParameters = {};
|
|
2492
2497
|
const headerParameters = {};
|
|
@@ -2508,7 +2513,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2508
2513
|
headers: headerParameters,
|
|
2509
2514
|
query: queryParameters
|
|
2510
2515
|
}, initOverrides);
|
|
2511
|
-
return new
|
|
2516
|
+
return new JSONApiResponse2(response, (jsonValue) => DeploymentItemDtoFromJSON2(jsonValue));
|
|
2512
2517
|
}
|
|
2513
2518
|
async deploymentsGetByKey(requestParameters, initOverrides) {
|
|
2514
2519
|
const response = await this.deploymentsGetByKeyRaw(requestParameters, initOverrides);
|
|
@@ -2516,7 +2521,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2516
2521
|
}
|
|
2517
2522
|
async deploymentsGetDeploymentResourcesRaw(requestParameters, initOverrides) {
|
|
2518
2523
|
if (requestParameters["deploymentKey"] == null) {
|
|
2519
|
-
throw new
|
|
2524
|
+
throw new RequiredError2("deploymentKey", 'Required parameter "deploymentKey" was null or undefined when calling deploymentsGetDeploymentResources().');
|
|
2520
2525
|
}
|
|
2521
2526
|
const queryParameters = {};
|
|
2522
2527
|
if (requestParameters["folderKey"] != null) {
|
|
@@ -2550,7 +2555,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2550
2555
|
headers: headerParameters,
|
|
2551
2556
|
query: queryParameters
|
|
2552
2557
|
}, initOverrides);
|
|
2553
|
-
return new
|
|
2558
|
+
return new JSONApiResponse2(response, (jsonValue) => PageInfoDtoOfDeploymentResourceInfoFromJSON2(jsonValue));
|
|
2554
2559
|
}
|
|
2555
2560
|
async deploymentsGetDeploymentResources(requestParameters, initOverrides) {
|
|
2556
2561
|
const response = await this.deploymentsGetDeploymentResourcesRaw(requestParameters, initOverrides);
|
|
@@ -2558,7 +2563,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2558
2563
|
}
|
|
2559
2564
|
async deploymentsGetValidationResultRaw(requestParameters, initOverrides) {
|
|
2560
2565
|
if (requestParameters["deploymentKey"] == null) {
|
|
2561
|
-
throw new
|
|
2566
|
+
throw new RequiredError2("deploymentKey", 'Required parameter "deploymentKey" was null or undefined when calling deploymentsGetValidationResult().');
|
|
2562
2567
|
}
|
|
2563
2568
|
const queryParameters = {};
|
|
2564
2569
|
if (requestParameters["deploymentAction"] != null) {
|
|
@@ -2583,7 +2588,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2583
2588
|
headers: headerParameters,
|
|
2584
2589
|
query: queryParameters
|
|
2585
2590
|
}, initOverrides);
|
|
2586
|
-
return new
|
|
2591
|
+
return new JSONApiResponse2(response, (jsonValue) => DeploymentValidationResultDtoFromJSON2(jsonValue));
|
|
2587
2592
|
}
|
|
2588
2593
|
async deploymentsGetValidationResult(requestParameters, initOverrides) {
|
|
2589
2594
|
const response = await this.deploymentsGetValidationResultRaw(requestParameters, initOverrides);
|
|
@@ -2591,7 +2596,7 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2591
2596
|
}
|
|
2592
2597
|
async deploymentsPostRaw(requestParameters, initOverrides) {
|
|
2593
2598
|
if (requestParameters["deploymentRequest"] == null) {
|
|
2594
|
-
throw new
|
|
2599
|
+
throw new RequiredError2("deploymentRequest", 'Required parameter "deploymentRequest" was null or undefined when calling deploymentsPost().');
|
|
2595
2600
|
}
|
|
2596
2601
|
const queryParameters = {};
|
|
2597
2602
|
const headerParameters = {};
|
|
@@ -2612,9 +2617,9 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2612
2617
|
method: "POST",
|
|
2613
2618
|
headers: headerParameters,
|
|
2614
2619
|
query: queryParameters,
|
|
2615
|
-
body:
|
|
2620
|
+
body: DeploymentRequestToJSON2(requestParameters["deploymentRequest"])
|
|
2616
2621
|
}, initOverrides);
|
|
2617
|
-
return new
|
|
2622
|
+
return new JSONApiResponse2(response, (jsonValue) => DeploymentItemDtoFromJSON2(jsonValue));
|
|
2618
2623
|
}
|
|
2619
2624
|
async deploymentsPost(requestParameters, initOverrides) {
|
|
2620
2625
|
const response = await this.deploymentsPostRaw(requestParameters, initOverrides);
|
|
@@ -2623,10 +2628,10 @@ class DeploymentsApi extends BaseAPI {
|
|
|
2623
2628
|
}
|
|
2624
2629
|
|
|
2625
2630
|
// generated/src/apis/PackagesApi.ts
|
|
2626
|
-
class
|
|
2631
|
+
class PackagesApi2 extends BaseAPI2 {
|
|
2627
2632
|
async packagesDeletePackageRaw(requestParameters, initOverrides) {
|
|
2628
2633
|
if (requestParameters["packageKey"] == null) {
|
|
2629
|
-
throw new
|
|
2634
|
+
throw new RequiredError2("packageKey", 'Required parameter "packageKey" was null or undefined when calling packagesDeletePackage().');
|
|
2630
2635
|
}
|
|
2631
2636
|
const queryParameters = {};
|
|
2632
2637
|
const headerParameters = {};
|
|
@@ -2648,14 +2653,14 @@ class PackagesApi extends BaseAPI {
|
|
|
2648
2653
|
headers: headerParameters,
|
|
2649
2654
|
query: queryParameters
|
|
2650
2655
|
}, initOverrides);
|
|
2651
|
-
return new
|
|
2656
|
+
return new VoidApiResponse2(response);
|
|
2652
2657
|
}
|
|
2653
2658
|
async packagesDeletePackage(requestParameters, initOverrides) {
|
|
2654
2659
|
await this.packagesDeletePackageRaw(requestParameters, initOverrides);
|
|
2655
2660
|
}
|
|
2656
2661
|
async packagesDeleteVersionRaw(requestParameters, initOverrides) {
|
|
2657
2662
|
if (requestParameters["packageVersionKey"] == null) {
|
|
2658
|
-
throw new
|
|
2663
|
+
throw new RequiredError2("packageVersionKey", 'Required parameter "packageVersionKey" was null or undefined when calling packagesDeleteVersion().');
|
|
2659
2664
|
}
|
|
2660
2665
|
const queryParameters = {};
|
|
2661
2666
|
const headerParameters = {};
|
|
@@ -2677,14 +2682,14 @@ class PackagesApi extends BaseAPI {
|
|
|
2677
2682
|
headers: headerParameters,
|
|
2678
2683
|
query: queryParameters
|
|
2679
2684
|
}, initOverrides);
|
|
2680
|
-
return new
|
|
2685
|
+
return new VoidApiResponse2(response);
|
|
2681
2686
|
}
|
|
2682
2687
|
async packagesDeleteVersion(requestParameters, initOverrides) {
|
|
2683
2688
|
await this.packagesDeleteVersionRaw(requestParameters, initOverrides);
|
|
2684
2689
|
}
|
|
2685
2690
|
async packagesDownloadRaw(requestParameters, initOverrides) {
|
|
2686
2691
|
if (requestParameters["packageVersionKey"] == null) {
|
|
2687
|
-
throw new
|
|
2692
|
+
throw new RequiredError2("packageVersionKey", 'Required parameter "packageVersionKey" was null or undefined when calling packagesDownload().');
|
|
2688
2693
|
}
|
|
2689
2694
|
const queryParameters = {};
|
|
2690
2695
|
const headerParameters = {};
|
|
@@ -2706,7 +2711,7 @@ class PackagesApi extends BaseAPI {
|
|
|
2706
2711
|
headers: headerParameters,
|
|
2707
2712
|
query: queryParameters
|
|
2708
2713
|
}, initOverrides);
|
|
2709
|
-
return new
|
|
2714
|
+
return new JSONApiResponse2(response, (jsonValue) => BlobFileAccessDtoFromJSON2(jsonValue));
|
|
2710
2715
|
}
|
|
2711
2716
|
async packagesDownload(requestParameters, initOverrides) {
|
|
2712
2717
|
const response = await this.packagesDownloadRaw(requestParameters, initOverrides);
|
|
@@ -2714,7 +2719,7 @@ class PackagesApi extends BaseAPI {
|
|
|
2714
2719
|
}
|
|
2715
2720
|
async packagesGetPackageRaw(requestParameters, initOverrides) {
|
|
2716
2721
|
if (requestParameters["packageKey"] == null) {
|
|
2717
|
-
throw new
|
|
2722
|
+
throw new RequiredError2("packageKey", 'Required parameter "packageKey" was null or undefined when calling packagesGetPackage().');
|
|
2718
2723
|
}
|
|
2719
2724
|
const queryParameters = {};
|
|
2720
2725
|
const headerParameters = {};
|
|
@@ -2736,7 +2741,7 @@ class PackagesApi extends BaseAPI {
|
|
|
2736
2741
|
headers: headerParameters,
|
|
2737
2742
|
query: queryParameters
|
|
2738
2743
|
}, initOverrides);
|
|
2739
|
-
return new
|
|
2744
|
+
return new JSONApiResponse2(response, (jsonValue) => PackageInfoFromJSON2(jsonValue));
|
|
2740
2745
|
}
|
|
2741
2746
|
async packagesGetPackage(requestParameters, initOverrides) {
|
|
2742
2747
|
const response = await this.packagesGetPackageRaw(requestParameters, initOverrides);
|
|
@@ -2762,7 +2767,7 @@ class PackagesApi extends BaseAPI {
|
|
|
2762
2767
|
headers: headerParameters,
|
|
2763
2768
|
query: queryParameters
|
|
2764
2769
|
}, initOverrides);
|
|
2765
|
-
return new
|
|
2770
|
+
return new JSONApiResponse2(response, (jsonValue) => jsonValue.map(LocationDtoFromJSON2));
|
|
2766
2771
|
}
|
|
2767
2772
|
async packagesGetPublishLocations(requestParameters = {}, initOverrides) {
|
|
2768
2773
|
const response = await this.packagesGetPublishLocationsRaw(requestParameters, initOverrides);
|
|
@@ -2770,7 +2775,7 @@ class PackagesApi extends BaseAPI {
|
|
|
2770
2775
|
}
|
|
2771
2776
|
async packagesGetVersionRaw(requestParameters, initOverrides) {
|
|
2772
2777
|
if (requestParameters["packageVersionKey"] == null) {
|
|
2773
|
-
throw new
|
|
2778
|
+
throw new RequiredError2("packageVersionKey", 'Required parameter "packageVersionKey" was null or undefined when calling packagesGetVersion().');
|
|
2774
2779
|
}
|
|
2775
2780
|
const queryParameters = {};
|
|
2776
2781
|
const headerParameters = {};
|
|
@@ -2792,7 +2797,7 @@ class PackagesApi extends BaseAPI {
|
|
|
2792
2797
|
headers: headerParameters,
|
|
2793
2798
|
query: queryParameters
|
|
2794
2799
|
}, initOverrides);
|
|
2795
|
-
return new
|
|
2800
|
+
return new JSONApiResponse2(response, (jsonValue) => PackageVersionInfoDtoFromJSON2(jsonValue));
|
|
2796
2801
|
}
|
|
2797
2802
|
async packagesGetVersion(requestParameters, initOverrides) {
|
|
2798
2803
|
const response = await this.packagesGetVersionRaw(requestParameters, initOverrides);
|
|
@@ -2824,9 +2829,9 @@ class PackagesApi extends BaseAPI {
|
|
|
2824
2829
|
body: requestParameters["body"]
|
|
2825
2830
|
}, initOverrides);
|
|
2826
2831
|
if (this.isJsonMime(response.headers.get("content-type"))) {
|
|
2827
|
-
return new
|
|
2832
|
+
return new JSONApiResponse2(response);
|
|
2828
2833
|
} else {
|
|
2829
|
-
return new
|
|
2834
|
+
return new TextApiResponse2(response);
|
|
2830
2835
|
}
|
|
2831
2836
|
}
|
|
2832
2837
|
async packagesUpload(requestParameters = {}, initOverrides) {
|
|
@@ -2836,10 +2841,10 @@ class PackagesApi extends BaseAPI {
|
|
|
2836
2841
|
}
|
|
2837
2842
|
|
|
2838
2843
|
// generated/src/apis/ProjectsApi.ts
|
|
2839
|
-
class
|
|
2844
|
+
class ProjectsApi2 extends BaseAPI2 {
|
|
2840
2845
|
async projectsPostRaw(requestParameters, initOverrides) {
|
|
2841
2846
|
if (requestParameters["projectCreateRequest"] == null) {
|
|
2842
|
-
throw new
|
|
2847
|
+
throw new RequiredError2("projectCreateRequest", 'Required parameter "projectCreateRequest" was null or undefined when calling projectsPost().');
|
|
2843
2848
|
}
|
|
2844
2849
|
const queryParameters = {};
|
|
2845
2850
|
const headerParameters = {};
|
|
@@ -2857,9 +2862,9 @@ class ProjectsApi extends BaseAPI {
|
|
|
2857
2862
|
method: "POST",
|
|
2858
2863
|
headers: headerParameters,
|
|
2859
2864
|
query: queryParameters,
|
|
2860
|
-
body:
|
|
2865
|
+
body: ProjectCreateRequestToJSON2(requestParameters["projectCreateRequest"])
|
|
2861
2866
|
}, initOverrides);
|
|
2862
|
-
return new
|
|
2867
|
+
return new JSONApiResponse2(response, (jsonValue) => ProjectDtoFromJSON2(jsonValue));
|
|
2863
2868
|
}
|
|
2864
2869
|
async projectsPost(requestParameters, initOverrides) {
|
|
2865
2870
|
const response = await this.projectsPostRaw(requestParameters, initOverrides);
|
|
@@ -2867,7 +2872,7 @@ class ProjectsApi extends BaseAPI {
|
|
|
2867
2872
|
}
|
|
2868
2873
|
async projectsPost2Raw(requestParameters, initOverrides) {
|
|
2869
2874
|
if (requestParameters["projectCreateRequest"] == null) {
|
|
2870
|
-
throw new
|
|
2875
|
+
throw new RequiredError2("projectCreateRequest", 'Required parameter "projectCreateRequest" was null or undefined when calling projectsPost2().');
|
|
2871
2876
|
}
|
|
2872
2877
|
const queryParameters = {};
|
|
2873
2878
|
const headerParameters = {};
|
|
@@ -2888,9 +2893,9 @@ class ProjectsApi extends BaseAPI {
|
|
|
2888
2893
|
method: "POST",
|
|
2889
2894
|
headers: headerParameters,
|
|
2890
2895
|
query: queryParameters,
|
|
2891
|
-
body:
|
|
2896
|
+
body: ProjectCreateRequestToJSON2(requestParameters["projectCreateRequest"])
|
|
2892
2897
|
}, initOverrides);
|
|
2893
|
-
return new
|
|
2898
|
+
return new JSONApiResponse2(response, (jsonValue) => ProjectDtoFromJSON2(jsonValue));
|
|
2894
2899
|
}
|
|
2895
2900
|
async projectsPost2(requestParameters, initOverrides) {
|
|
2896
2901
|
const response = await this.projectsPost2Raw(requestParameters, initOverrides);
|
|
@@ -2899,10 +2904,10 @@ class ProjectsApi extends BaseAPI {
|
|
|
2899
2904
|
}
|
|
2900
2905
|
|
|
2901
2906
|
// generated/src/apis/SearchApi.ts
|
|
2902
|
-
class
|
|
2907
|
+
class SearchApi2 extends BaseAPI2 {
|
|
2903
2908
|
async searchSearchDeployments22Raw(requestParameters, initOverrides) {
|
|
2904
2909
|
if (requestParameters["deploymentsSearchRequest2"] == null) {
|
|
2905
|
-
throw new
|
|
2910
|
+
throw new RequiredError2("deploymentsSearchRequest2", 'Required parameter "deploymentsSearchRequest2" was null or undefined when calling searchSearchDeployments22().');
|
|
2906
2911
|
}
|
|
2907
2912
|
const queryParameters = {};
|
|
2908
2913
|
const headerParameters = {};
|
|
@@ -2923,9 +2928,9 @@ class SearchApi extends BaseAPI {
|
|
|
2923
2928
|
method: "POST",
|
|
2924
2929
|
headers: headerParameters,
|
|
2925
2930
|
query: queryParameters,
|
|
2926
|
-
body:
|
|
2931
|
+
body: DeploymentsSearchRequest2ToJSON2(requestParameters["deploymentsSearchRequest2"])
|
|
2927
2932
|
}, initOverrides);
|
|
2928
|
-
return new
|
|
2933
|
+
return new JSONApiResponse2(response, (jsonValue) => PageInfoDtoOfDeploymentSearchItemDto2FromJSON2(jsonValue));
|
|
2929
2934
|
}
|
|
2930
2935
|
async searchSearchDeployments22(requestParameters, initOverrides) {
|
|
2931
2936
|
const response = await this.searchSearchDeployments22Raw(requestParameters, initOverrides);
|
|
@@ -2933,7 +2938,7 @@ class SearchApi extends BaseAPI {
|
|
|
2933
2938
|
}
|
|
2934
2939
|
async searchSearchPackagesRaw(requestParameters, initOverrides) {
|
|
2935
2940
|
if (requestParameters["searchFilter"] == null) {
|
|
2936
|
-
throw new
|
|
2941
|
+
throw new RequiredError2("searchFilter", 'Required parameter "searchFilter" was null or undefined when calling searchSearchPackages().');
|
|
2937
2942
|
}
|
|
2938
2943
|
const queryParameters = {};
|
|
2939
2944
|
const headerParameters = {};
|
|
@@ -2954,9 +2959,9 @@ class SearchApi extends BaseAPI {
|
|
|
2954
2959
|
method: "POST",
|
|
2955
2960
|
headers: headerParameters,
|
|
2956
2961
|
query: queryParameters,
|
|
2957
|
-
body:
|
|
2962
|
+
body: SearchFilterToJSON2(requestParameters["searchFilter"])
|
|
2958
2963
|
}, initOverrides);
|
|
2959
|
-
return new
|
|
2964
|
+
return new JSONApiResponse2(response, (jsonValue) => PageInfoDtoOfPackageInfoFromJSON2(jsonValue));
|
|
2960
2965
|
}
|
|
2961
2966
|
async searchSearchPackages(requestParameters, initOverrides) {
|
|
2962
2967
|
const response = await this.searchSearchPackagesRaw(requestParameters, initOverrides);
|
|
@@ -2965,7 +2970,7 @@ class SearchApi extends BaseAPI {
|
|
|
2965
2970
|
}
|
|
2966
2971
|
|
|
2967
2972
|
// generated/src/apis/SettingsApi.ts
|
|
2968
|
-
class
|
|
2973
|
+
class SettingsApi2 extends BaseAPI2 {
|
|
2969
2974
|
async settingsGetSettingsRaw(requestParameters, initOverrides) {
|
|
2970
2975
|
const queryParameters = {};
|
|
2971
2976
|
if (requestParameters["nameSpace"] != null) {
|
|
@@ -2992,13 +2997,13 @@ class SettingsApi extends BaseAPI {
|
|
|
2992
2997
|
headers: headerParameters,
|
|
2993
2998
|
query: queryParameters
|
|
2994
2999
|
}, initOverrides);
|
|
2995
|
-
return new
|
|
3000
|
+
return new JSONApiResponse2(response);
|
|
2996
3001
|
}
|
|
2997
3002
|
async settingsGetSettings(requestParameters = {}, initOverrides) {
|
|
2998
3003
|
const response = await this.settingsGetSettingsRaw(requestParameters, initOverrides);
|
|
2999
3004
|
return await response.value();
|
|
3000
3005
|
}
|
|
3001
3006
|
}
|
|
3002
|
-
export {
|
|
3007
|
+
export { BASE_PATH2, Configuration3, DefaultConfig2, BaseAPI2, ResponseError2, FetchError2, RequiredError2, COLLECTION_FORMATS2, querystring2, exists2, mapValues2, canConsumeForm2, JSONApiResponse2, VoidApiResponse2, BlobApiResponse2, TextApiResponse2, SDK_USER_AGENT2, instanceOfResponseDictionaryDto2, ResponseDictionaryDtoFromJSON2, ResponseDictionaryDtoFromJSONTyped2, ResponseDictionaryDtoToJSON2, ResponseDictionaryDtoToJSONTyped2, instanceOfBlobFileAccessDto2, BlobFileAccessDtoFromJSON2, BlobFileAccessDtoFromJSONTyped2, BlobFileAccessDtoToJSON2, BlobFileAccessDtoToJSONTyped2, instanceOfCreateConfigurationCommand2, CreateConfigurationCommandFromJSON2, CreateConfigurationCommandFromJSONTyped2, CreateConfigurationCommandToJSON2, CreateConfigurationCommandToJSONTyped2, DeploymentActivationStatus2, instanceOfDeploymentActivationStatus2, DeploymentActivationStatusFromJSON2, DeploymentActivationStatusFromJSONTyped2, DeploymentActivationStatusToJSON2, DeploymentActivationStatusToJSONTyped2, OverwriteType2, instanceOfOverwriteType2, OverwriteTypeFromJSON2, OverwriteTypeFromJSONTyped2, OverwriteTypeToJSON2, OverwriteTypeToJSONTyped2, instanceOfOverwrite2, OverwriteFromJSON2, OverwriteFromJSONTyped2, OverwriteToJSON2, OverwriteToJSONTyped2, instanceOfResourceOverwrite2, ResourceOverwriteFromJSON2, ResourceOverwriteFromJSONTyped2, ResourceOverwriteToJSON2, ResourceOverwriteToJSONTyped2, instanceOfRuntimeSetup2, RuntimeSetupFromJSON2, RuntimeSetupFromJSONTyped2, RuntimeSetupToJSON2, RuntimeSetupToJSONTyped2, instanceOfDeploymentAutoRequest2, DeploymentAutoRequestFromJSON2, DeploymentAutoRequestFromJSONTyped2, DeploymentAutoRequestToJSON2, DeploymentAutoRequestToJSONTyped2, instanceOfDeploymentDto2, DeploymentDtoFromJSON2, DeploymentDtoFromJSONTyped2, DeploymentDtoToJSON2, DeploymentDtoToJSONTyped2, WorkflowAction2, instanceOfWorkflowAction2, WorkflowActionFromJSON2, WorkflowActionFromJSONTyped2, WorkflowActionToJSON2, WorkflowActionToJSONTyped2, DeploymentOperation2, instanceOfDeploymentOperation2, DeploymentOperationFromJSON2, DeploymentOperationFromJSONTyped2, DeploymentOperationToJSON2, DeploymentOperationToJSONTyped2, PackageVersionOrigin2, instanceOfPackageVersionOrigin2, PackageVersionOriginFromJSON2, PackageVersionOriginFromJSONTyped2, PackageVersionOriginToJSON2, PackageVersionOriginToJSONTyped2, DeploymentOperationStatus2, instanceOfDeploymentOperationStatus2, DeploymentOperationStatusFromJSON2, DeploymentOperationStatusFromJSONTyped2, DeploymentOperationStatusToJSON2, DeploymentOperationStatusToJSONTyped2, DeploymentUpgradeType2, instanceOfDeploymentUpgradeType2, DeploymentUpgradeTypeFromJSON2, DeploymentUpgradeTypeFromJSONTyped2, DeploymentUpgradeTypeToJSON2, DeploymentUpgradeTypeToJSONTyped2, DeploymentStatus2, instanceOfDeploymentStatus2, DeploymentStatusFromJSON2, DeploymentStatusFromJSONTyped2, DeploymentStatusToJSON2, DeploymentStatusToJSONTyped2, instanceOfDeploymentItemDto2, DeploymentItemDtoFromJSON2, DeploymentItemDtoFromJSONTyped2, DeploymentItemDtoToJSON2, DeploymentItemDtoToJSONTyped2, instanceOfDeploymentRequest2, DeploymentRequestFromJSON2, DeploymentRequestFromJSONTyped2, DeploymentRequestToJSON2, DeploymentRequestToJSONTyped2, DeploymentResourceValidationAction2, instanceOfDeploymentResourceValidationAction2, DeploymentResourceValidationActionFromJSON2, DeploymentResourceValidationActionFromJSONTyped2, DeploymentResourceValidationActionToJSON2, DeploymentResourceValidationActionToJSONTyped2, ResetConfigurationSource2, instanceOfResetConfigurationSource2, ResetConfigurationSourceFromJSON2, ResetConfigurationSourceFromJSONTyped2, ResetConfigurationSourceToJSON2, ResetConfigurationSourceToJSONTyped2, DeploymentUpgradeState2, instanceOfDeploymentUpgradeState2, DeploymentUpgradeStateFromJSON2, DeploymentUpgradeStateFromJSONTyped2, DeploymentUpgradeStateToJSON2, DeploymentUpgradeStateToJSONTyped2, instanceOfDeploymentResourceReplacementDto2, DeploymentResourceReplacementDtoFromJSON2, DeploymentResourceReplacementDtoFromJSONTyped2, DeploymentResourceReplacementDtoToJSON2, DeploymentResourceReplacementDtoToJSONTyped2, instanceOfFolderInfo2, FolderInfoFromJSON2, FolderInfoFromJSONTyped2, FolderInfoToJSON2, FolderInfoToJSONTyped2, instanceOfDeploymentResourceInfo2, DeploymentResourceInfoFromJSON2, DeploymentResourceInfoFromJSONTyped2, DeploymentResourceInfoToJSON2, DeploymentResourceInfoToJSONTyped2, DeploymentResourceValidationErrorKind2, instanceOfDeploymentResourceValidationErrorKind2, DeploymentResourceValidationErrorKindFromJSON2, DeploymentResourceValidationErrorKindFromJSONTyped2, DeploymentResourceValidationErrorKindToJSON2, DeploymentResourceValidationErrorKindToJSONTyped2, DeploymentResourceValidationErrorLevel2, instanceOfDeploymentResourceValidationErrorLevel2, DeploymentResourceValidationErrorLevelFromJSON2, DeploymentResourceValidationErrorLevelFromJSONTyped2, DeploymentResourceValidationErrorLevelToJSON2, DeploymentResourceValidationErrorLevelToJSONTyped2, DeploymentType2, instanceOfDeploymentType2, DeploymentTypeFromJSON2, DeploymentTypeFromJSONTyped2, DeploymentTypeToJSON2, DeploymentTypeToJSONTyped2, instanceOfDeploymentSearchItemDto22, DeploymentSearchItemDto2FromJSON2, DeploymentSearchItemDto2FromJSONTyped2, DeploymentSearchItemDto2ToJSON2, DeploymentSearchItemDto2ToJSONTyped2, instanceOfServiceMessage2, ServiceMessageFromJSON2, ServiceMessageFromJSONTyped2, ServiceMessageToJSON2, ServiceMessageToJSONTyped2, instanceOfResourceValidationError2, ResourceValidationErrorFromJSON2, ResourceValidationErrorFromJSONTyped2, ResourceValidationErrorToJSON2, ResourceValidationErrorToJSONTyped2, instanceOfResourceValidationDto2, ResourceValidationDtoFromJSON2, ResourceValidationDtoFromJSONTyped2, ResourceValidationDtoToJSON2, ResourceValidationDtoToJSONTyped2, instanceOfDeploymentValidationResultDto2, DeploymentValidationResultDtoFromJSON2, DeploymentValidationResultDtoFromJSONTyped2, DeploymentValidationResultDtoToJSON2, DeploymentValidationResultDtoToJSONTyped2, OrderByDirection2, instanceOfOrderByDirection2, OrderByDirectionFromJSON2, OrderByDirectionFromJSONTyped2, OrderByDirectionToJSON2, OrderByDirectionToJSONTyped2, instanceOfDeploymentsSearchRequest22, DeploymentsSearchRequest2FromJSON2, DeploymentsSearchRequest2FromJSONTyped2, DeploymentsSearchRequest2ToJSON2, DeploymentsSearchRequest2ToJSONTyped2, ExtendedPackageVersionState2, instanceOfExtendedPackageVersionState2, ExtendedPackageVersionStateFromJSON2, ExtendedPackageVersionStateFromJSONTyped2, ExtendedPackageVersionStateToJSON2, ExtendedPackageVersionStateToJSONTyped2, instanceOfLocationDto2, LocationDtoFromJSON2, LocationDtoFromJSONTyped2, LocationDtoToJSON2, LocationDtoToJSONTyped2, instanceOfPackageInfo2, PackageInfoFromJSON2, PackageInfoFromJSONTyped2, PackageInfoToJSON2, PackageInfoToJSONTyped2, instanceOfResourceStats2, ResourceStatsFromJSON2, ResourceStatsFromJSONTyped2, ResourceStatsToJSON2, ResourceStatsToJSONTyped2, instanceOfPackageVersionResourceDto2, PackageVersionResourceDtoFromJSON2, PackageVersionResourceDtoFromJSONTyped2, PackageVersionResourceDtoToJSON2, PackageVersionResourceDtoToJSONTyped2, instanceOfPackageVersionComponentsDto2, PackageVersionComponentsDtoFromJSON2, PackageVersionComponentsDtoFromJSONTyped2, PackageVersionComponentsDtoToJSON2, PackageVersionComponentsDtoToJSONTyped2, instanceOfPackageVersionInfoDto2, PackageVersionInfoDtoFromJSON2, PackageVersionInfoDtoFromJSONTyped2, PackageVersionInfoDtoToJSON2, PackageVersionInfoDtoToJSONTyped2, instanceOfPageInfoDtoOfDeploymentResourceInfo2, PageInfoDtoOfDeploymentResourceInfoFromJSON2, PageInfoDtoOfDeploymentResourceInfoFromJSONTyped2, PageInfoDtoOfDeploymentResourceInfoToJSON2, PageInfoDtoOfDeploymentResourceInfoToJSONTyped2, instanceOfPageInfoDtoOfDeploymentSearchItemDto22, PageInfoDtoOfDeploymentSearchItemDto2FromJSON2, PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped2, PageInfoDtoOfDeploymentSearchItemDto2ToJSON2, PageInfoDtoOfDeploymentSearchItemDto2ToJSONTyped2, instanceOfPageInfoDtoOfPackageInfo2, PageInfoDtoOfPackageInfoFromJSON2, PageInfoDtoOfPackageInfoFromJSONTyped2, PageInfoDtoOfPackageInfoToJSON2, PageInfoDtoOfPackageInfoToJSONTyped2, instanceOfProblemDetails2, ProblemDetailsFromJSON2, ProblemDetailsFromJSONTyped2, ProblemDetailsToJSON2, ProblemDetailsToJSONTyped2, instanceOfProjectCreateRequest2, ProjectCreateRequestFromJSON2, ProjectCreateRequestFromJSONTyped2, ProjectCreateRequestToJSON2, ProjectCreateRequestToJSONTyped2, ProjectImportStatus2, instanceOfProjectImportStatus2, ProjectImportStatusFromJSON2, ProjectImportStatusFromJSONTyped2, ProjectImportStatusToJSON2, ProjectImportStatusToJSONTyped2, instanceOfProjectDto2, ProjectDtoFromJSON2, ProjectDtoFromJSONTyped2, ProjectDtoToJSON2, ProjectDtoToJSONTyped2, instanceOfSearchFilter2, SearchFilterFromJSON2, SearchFilterFromJSONTyped2, SearchFilterToJSON2, SearchFilterToJSONTyped2, SolutionDeploymentAction2, instanceOfSolutionDeploymentAction2, SolutionDeploymentActionFromJSON2, SolutionDeploymentActionFromJSONTyped2, SolutionDeploymentActionToJSON2, SolutionDeploymentActionToJSONTyped2, ConfigurationsApi2, DeploymentsApi2, PackagesApi2, ProjectsApi2, SearchApi2, SettingsApi2 };
|
|
3003
3008
|
|
|
3004
|
-
//# debugId=
|
|
3009
|
+
//# debugId=897CBFDE0B46D19E64756E2164756E21
|