@uipath/vertical-solutions-tool 1.204.0 → 1.205.0-preview.258
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/README.md +80 -0
- package/dist/THIRD-PARTY-NOTICES.md +1617 -369
- package/dist/createSdk-2f9x47em.js +12 -0
- package/dist/deploy-jobs-3k87fkwz.js +23 -0
- package/dist/deploy-service-qaykt7er.js +1779 -0
- package/dist/deployment-search-arbm2z06.js +2649 -0
- package/dist/embedded-file-reader-r66242ey.js +114 -0
- package/dist/first-party-service-srxaftkn.js +27 -0
- package/dist/index-7a3eqtxv.js +3174 -0
- package/dist/index-8s9dxpj4.js +18812 -0
- package/dist/index-fyc0k5dd.js +51405 -0
- package/dist/index-h43sj8at.js +23075 -0
- package/dist/index-kmp9fmhb.js +25 -0
- package/dist/index-ngs0a2he.js +15 -0
- package/dist/index.js +14 -3
- package/dist/index.umd.min-fqefd9kn.js +7814 -0
- package/dist/job-commands-azgbrbdb.js +23 -0
- package/dist/job-output-t43hzj1f.js +36 -0
- package/dist/prompts-dtgt183n.js +260 -0
- package/dist/resume-service-mqfnnzb5.js +344 -0
- package/dist/seed-service-2d1f7zaz.js +2014 -0
- package/dist/seed-templates-sqqqratr.js +14 -0
- package/dist/service-errors-jzbq3z7p.js +22 -0
- package/dist/solution-auth-zq6gyxsv.js +11 -0
- package/dist/solution-deployments-m44fyb88.js +33 -0
- package/dist/templates-85yrztpk.js +15 -0
- package/dist/tool-342sz3hm.js +439 -0
- package/dist/tool-38ad77wd.js +1472 -0
- package/dist/tool-4z1dy1rn.js +260 -0
- package/dist/tool-53w8skv5.js +262 -0
- package/dist/tool-67587985.js +554 -0
- package/dist/tool-87e2ps7f.js +13 -0
- package/dist/tool-cag2z2d6.js +30 -0
- package/dist/tool-e4qgwf9h.js +2281 -0
- package/dist/tool-gdtpsdn7.js +342 -0
- package/dist/tool-gvmshnq9.js +555 -0
- package/dist/tool-h4f967yd.js +73 -0
- package/dist/tool-hdxtgckw.js +249 -0
- package/dist/tool-jjxbj28g.js +17067 -0
- package/dist/tool-keqjsxdx.js +28 -0
- package/dist/tool-maw0g02p.js +24 -0
- package/dist/tool-mn1wkbhw.js +113 -0
- package/dist/tool-n35nrs32.js +4949 -0
- package/dist/tool-p589v2r5.js +114 -0
- package/dist/tool-pz9qm3dv.js +6723 -0
- package/dist/tool-r1ewa0tf.js +5645 -0
- package/dist/tool-r2epw08s.js +164 -0
- package/dist/tool-rr9fensp.js +12 -0
- package/dist/tool-s04z9t80.js +19 -0
- package/dist/tool-s9qbxa2g.js +638 -0
- package/dist/tool-tjhwq0ez.js +261 -0
- package/dist/tool-v15vxc4x.js +183 -0
- package/dist/tool-vf2mgth0.js +14286 -0
- package/dist/tool-vp7rjr2q.js +22083 -0
- package/dist/tool-xd2ejt3h.js +103 -0
- package/dist/tool-yx29vb63.js +672 -0
- package/dist/tool.js +12 -2
- package/dist/watch-job-wh6m7xzq.js +31 -0
- package/package.json +3 -3
- package/dist/tool-xymb3dsq.js +0 -45085
|
@@ -0,0 +1,2649 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveSessionIdentity
|
|
3
|
+
} from "./tool-38ad77wd.js";
|
|
4
|
+
import {
|
|
5
|
+
catchError,
|
|
6
|
+
getSdkUserAgentToken,
|
|
7
|
+
httpStatusOf,
|
|
8
|
+
installSdkUserAgentHeader,
|
|
9
|
+
logger
|
|
10
|
+
} from "./tool-pz9qm3dv.js";
|
|
11
|
+
import"./tool-hdxtgckw.js";
|
|
12
|
+
import"./tool-1yh8g550.js";
|
|
13
|
+
|
|
14
|
+
// ../pipelines-sdk/generated/src/runtime.ts
|
|
15
|
+
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
16
|
+
|
|
17
|
+
class Configuration {
|
|
18
|
+
configuration;
|
|
19
|
+
constructor(configuration = {}) {
|
|
20
|
+
this.configuration = configuration;
|
|
21
|
+
}
|
|
22
|
+
set config(configuration) {
|
|
23
|
+
this.configuration = configuration;
|
|
24
|
+
}
|
|
25
|
+
get basePath() {
|
|
26
|
+
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
|
|
27
|
+
}
|
|
28
|
+
get fetchApi() {
|
|
29
|
+
return this.configuration.fetchApi;
|
|
30
|
+
}
|
|
31
|
+
get middleware() {
|
|
32
|
+
return this.configuration.middleware || [];
|
|
33
|
+
}
|
|
34
|
+
get queryParamsStringify() {
|
|
35
|
+
return this.configuration.queryParamsStringify || querystring;
|
|
36
|
+
}
|
|
37
|
+
get username() {
|
|
38
|
+
return this.configuration.username;
|
|
39
|
+
}
|
|
40
|
+
get password() {
|
|
41
|
+
return this.configuration.password;
|
|
42
|
+
}
|
|
43
|
+
get apiKey() {
|
|
44
|
+
const apiKey = this.configuration.apiKey;
|
|
45
|
+
if (apiKey) {
|
|
46
|
+
return typeof apiKey === "function" ? apiKey : () => apiKey;
|
|
47
|
+
}
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
get accessToken() {
|
|
51
|
+
const accessToken = this.configuration.accessToken;
|
|
52
|
+
if (accessToken) {
|
|
53
|
+
return typeof accessToken === "function" ? accessToken : async () => accessToken;
|
|
54
|
+
}
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
get headers() {
|
|
58
|
+
return this.configuration.headers;
|
|
59
|
+
}
|
|
60
|
+
get credentials() {
|
|
61
|
+
return this.configuration.credentials;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var DefaultConfig = new Configuration;
|
|
65
|
+
|
|
66
|
+
class BaseAPI {
|
|
67
|
+
configuration;
|
|
68
|
+
static jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i");
|
|
69
|
+
middleware;
|
|
70
|
+
constructor(configuration = DefaultConfig) {
|
|
71
|
+
this.configuration = configuration;
|
|
72
|
+
this.middleware = configuration.middleware;
|
|
73
|
+
}
|
|
74
|
+
withMiddleware(...middlewares) {
|
|
75
|
+
const next = this.clone();
|
|
76
|
+
next.middleware = next.middleware.concat(...middlewares);
|
|
77
|
+
return next;
|
|
78
|
+
}
|
|
79
|
+
withPreMiddleware(...preMiddlewares) {
|
|
80
|
+
const middlewares = preMiddlewares.map((pre) => ({ pre }));
|
|
81
|
+
return this.withMiddleware(...middlewares);
|
|
82
|
+
}
|
|
83
|
+
withPostMiddleware(...postMiddlewares) {
|
|
84
|
+
const middlewares = postMiddlewares.map((post) => ({ post }));
|
|
85
|
+
return this.withMiddleware(...middlewares);
|
|
86
|
+
}
|
|
87
|
+
isJsonMime(mime) {
|
|
88
|
+
if (!mime) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return BaseAPI.jsonRegex.test(mime);
|
|
92
|
+
}
|
|
93
|
+
async request(context, initOverrides) {
|
|
94
|
+
const { url, init } = await this.createFetchParams(context, initOverrides);
|
|
95
|
+
const response = await this.fetchApi(url, init);
|
|
96
|
+
if (response && (response.status >= 200 && response.status < 300)) {
|
|
97
|
+
return response;
|
|
98
|
+
}
|
|
99
|
+
throw new ResponseError(response, "Response returned an error code");
|
|
100
|
+
}
|
|
101
|
+
async createFetchParams(context, initOverrides) {
|
|
102
|
+
let url = this.configuration.basePath + context.path;
|
|
103
|
+
if (context.query !== undefined && Object.keys(context.query).length !== 0) {
|
|
104
|
+
url += "?" + this.configuration.queryParamsStringify(context.query);
|
|
105
|
+
}
|
|
106
|
+
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
107
|
+
Object.keys(headers).forEach((key) => headers[key] === undefined ? delete headers[key] : {});
|
|
108
|
+
const initOverrideFn = typeof initOverrides === "function" ? initOverrides : async () => initOverrides;
|
|
109
|
+
const initParams = {
|
|
110
|
+
method: context.method,
|
|
111
|
+
headers,
|
|
112
|
+
body: context.body,
|
|
113
|
+
credentials: this.configuration.credentials
|
|
114
|
+
};
|
|
115
|
+
const overriddenInit = {
|
|
116
|
+
...initParams,
|
|
117
|
+
...await initOverrideFn({
|
|
118
|
+
init: initParams,
|
|
119
|
+
context
|
|
120
|
+
})
|
|
121
|
+
};
|
|
122
|
+
let body;
|
|
123
|
+
if (isFormData(overriddenInit.body) || overriddenInit.body instanceof URLSearchParams || isBlob(overriddenInit.body)) {
|
|
124
|
+
body = overriddenInit.body;
|
|
125
|
+
} else if (this.isJsonMime(headers["Content-Type"])) {
|
|
126
|
+
body = JSON.stringify(overriddenInit.body);
|
|
127
|
+
} else {
|
|
128
|
+
body = overriddenInit.body;
|
|
129
|
+
}
|
|
130
|
+
const init = {
|
|
131
|
+
...overriddenInit,
|
|
132
|
+
body
|
|
133
|
+
};
|
|
134
|
+
return { url, init };
|
|
135
|
+
}
|
|
136
|
+
fetchApi = async (url, init) => {
|
|
137
|
+
let fetchParams = { url, init };
|
|
138
|
+
for (const middleware of this.middleware) {
|
|
139
|
+
if (middleware.pre) {
|
|
140
|
+
fetchParams = await middleware.pre({
|
|
141
|
+
fetch: this.fetchApi,
|
|
142
|
+
...fetchParams
|
|
143
|
+
}) || fetchParams;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
let response = undefined;
|
|
147
|
+
try {
|
|
148
|
+
response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
|
|
149
|
+
} catch (e) {
|
|
150
|
+
for (const middleware of this.middleware) {
|
|
151
|
+
if (middleware.onError) {
|
|
152
|
+
response = await middleware.onError({
|
|
153
|
+
fetch: this.fetchApi,
|
|
154
|
+
url: fetchParams.url,
|
|
155
|
+
init: fetchParams.init,
|
|
156
|
+
error: e,
|
|
157
|
+
response: response ? response.clone() : undefined
|
|
158
|
+
}) || response;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (response === undefined) {
|
|
162
|
+
if (e instanceof Error) {
|
|
163
|
+
throw new FetchError(e, "The request failed and the interceptors did not return an alternative response");
|
|
164
|
+
} else {
|
|
165
|
+
throw e;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
for (const middleware of this.middleware) {
|
|
170
|
+
if (middleware.post) {
|
|
171
|
+
response = await middleware.post({
|
|
172
|
+
fetch: this.fetchApi,
|
|
173
|
+
url: fetchParams.url,
|
|
174
|
+
init: fetchParams.init,
|
|
175
|
+
response: response.clone()
|
|
176
|
+
}) || response;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return response;
|
|
180
|
+
};
|
|
181
|
+
clone() {
|
|
182
|
+
const constructor = this.constructor;
|
|
183
|
+
const next = new constructor(this.configuration);
|
|
184
|
+
next.middleware = this.middleware.slice();
|
|
185
|
+
return next;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
function isBlob(value) {
|
|
189
|
+
return typeof Blob !== "undefined" && value instanceof Blob;
|
|
190
|
+
}
|
|
191
|
+
function isFormData(value) {
|
|
192
|
+
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
class ResponseError extends Error {
|
|
196
|
+
response;
|
|
197
|
+
name = "ResponseError";
|
|
198
|
+
constructor(response, msg) {
|
|
199
|
+
super(msg);
|
|
200
|
+
this.response = response;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
class FetchError extends Error {
|
|
205
|
+
cause;
|
|
206
|
+
name = "FetchError";
|
|
207
|
+
constructor(cause, msg) {
|
|
208
|
+
super(msg);
|
|
209
|
+
this.cause = cause;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
class RequiredError extends Error {
|
|
214
|
+
field;
|
|
215
|
+
name = "RequiredError";
|
|
216
|
+
constructor(field, msg) {
|
|
217
|
+
super(msg);
|
|
218
|
+
this.field = field;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function querystring(params, prefix = "") {
|
|
222
|
+
return Object.keys(params).map((key) => querystringSingleKey(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
|
|
223
|
+
}
|
|
224
|
+
function querystringSingleKey(key, value, keyPrefix = "") {
|
|
225
|
+
const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
|
|
226
|
+
if (value instanceof Array) {
|
|
227
|
+
const multiValue = value.map((singleValue) => encodeURIComponent(String(singleValue))).join(`&${encodeURIComponent(fullKey)}=`);
|
|
228
|
+
return `${encodeURIComponent(fullKey)}=${multiValue}`;
|
|
229
|
+
}
|
|
230
|
+
if (value instanceof Set) {
|
|
231
|
+
const valueAsArray = Array.from(value);
|
|
232
|
+
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
233
|
+
}
|
|
234
|
+
if (value instanceof Date) {
|
|
235
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
|
|
236
|
+
}
|
|
237
|
+
if (value instanceof Object) {
|
|
238
|
+
return querystring(value, fullKey);
|
|
239
|
+
}
|
|
240
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
241
|
+
}
|
|
242
|
+
class JSONApiResponse {
|
|
243
|
+
raw;
|
|
244
|
+
transformer;
|
|
245
|
+
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
246
|
+
this.raw = raw;
|
|
247
|
+
this.transformer = transformer;
|
|
248
|
+
}
|
|
249
|
+
async value() {
|
|
250
|
+
return this.transformer(await this.raw.json());
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
class VoidApiResponse {
|
|
255
|
+
raw;
|
|
256
|
+
constructor(raw) {
|
|
257
|
+
this.raw = raw;
|
|
258
|
+
}
|
|
259
|
+
async value() {
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
class BlobApiResponse {
|
|
265
|
+
raw;
|
|
266
|
+
constructor(raw) {
|
|
267
|
+
this.raw = raw;
|
|
268
|
+
}
|
|
269
|
+
async value() {
|
|
270
|
+
return await this.raw.blob();
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
class TextApiResponse {
|
|
275
|
+
raw;
|
|
276
|
+
constructor(raw) {
|
|
277
|
+
this.raw = raw;
|
|
278
|
+
}
|
|
279
|
+
async value() {
|
|
280
|
+
return await this.raw.text();
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
// ../pipelines-sdk/package.json
|
|
284
|
+
var package_default = {
|
|
285
|
+
name: "@uipath/pipelines-sdk",
|
|
286
|
+
author: "UiPath",
|
|
287
|
+
license: "SEE LICENSE IN LICENSE.txt",
|
|
288
|
+
version: "1.205.0",
|
|
289
|
+
description: "Generated TypeScript client for UiPath Pipelines API (CI/CD deployment lifecycle)",
|
|
290
|
+
repository: {
|
|
291
|
+
type: "git",
|
|
292
|
+
url: "https://github.com/UiPath/cli.git",
|
|
293
|
+
directory: "packages/pipelines-sdk"
|
|
294
|
+
},
|
|
295
|
+
publishConfig: {
|
|
296
|
+
registry: "https://npm.pkg.github.com/@uipath"
|
|
297
|
+
},
|
|
298
|
+
keywords: [
|
|
299
|
+
"uipath",
|
|
300
|
+
"pipelines",
|
|
301
|
+
"sdk"
|
|
302
|
+
],
|
|
303
|
+
type: "module",
|
|
304
|
+
main: "./dist/index.js",
|
|
305
|
+
types: "./dist/src/index.d.ts",
|
|
306
|
+
exports: {
|
|
307
|
+
".": {
|
|
308
|
+
types: "./dist/src/index.d.ts",
|
|
309
|
+
default: "./dist/index.js"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
bin: {
|
|
313
|
+
"generate-pipelines-sdk": "./dist/scripts/generate-sdk.js"
|
|
314
|
+
},
|
|
315
|
+
files: [
|
|
316
|
+
"dist"
|
|
317
|
+
],
|
|
318
|
+
private: true,
|
|
319
|
+
scripts: {
|
|
320
|
+
build: "bun build ./src/index.ts --outdir dist --format esm --target node --sourcemap=linked && bun build ./src/scripts/generate-sdk.ts --outdir dist/scripts --format esm --target node --sourcemap=linked && tsc -p tsconfig.build.json --noCheck",
|
|
321
|
+
generate: "bun run src/scripts/generate-sdk.ts",
|
|
322
|
+
lint: "biome check .",
|
|
323
|
+
test: "vitest run",
|
|
324
|
+
"test:coverage": "vitest run --coverage"
|
|
325
|
+
},
|
|
326
|
+
devDependencies: {
|
|
327
|
+
"@openapitools/openapi-generator-cli": "^2.31.1",
|
|
328
|
+
"@types/node": "^25.5.2",
|
|
329
|
+
"@uipath/common": "workspace:*",
|
|
330
|
+
typescript: "^7.0.2"
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
// ../pipelines-sdk/src/user-agent.ts
|
|
335
|
+
var SDK_USER_AGENT = getSdkUserAgentToken(package_default);
|
|
336
|
+
installSdkUserAgentHeader(BaseAPI, SDK_USER_AGENT);
|
|
337
|
+
// ../pipelines-sdk/generated/src/models/BaseResourceIdentifier.ts
|
|
338
|
+
function BaseResourceIdentifierFromJSON(json) {
|
|
339
|
+
return BaseResourceIdentifierFromJSONTyped(json, false);
|
|
340
|
+
}
|
|
341
|
+
function BaseResourceIdentifierFromJSONTyped(json, ignoreDiscriminator) {
|
|
342
|
+
if (json == null) {
|
|
343
|
+
return json;
|
|
344
|
+
}
|
|
345
|
+
return {
|
|
346
|
+
kind: json["kind"],
|
|
347
|
+
key: json["key"],
|
|
348
|
+
type: json["type"] == null ? undefined : json["type"]
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
// ../pipelines-sdk/generated/src/models/ResponseDictionaryDto.ts
|
|
352
|
+
function ResponseDictionaryDtoFromJSON(json) {
|
|
353
|
+
return ResponseDictionaryDtoFromJSONTyped(json, false);
|
|
354
|
+
}
|
|
355
|
+
function ResponseDictionaryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
356
|
+
if (json == null) {
|
|
357
|
+
return json;
|
|
358
|
+
}
|
|
359
|
+
return {
|
|
360
|
+
keys: json["keys"] == null ? undefined : json["keys"],
|
|
361
|
+
values: json["values"] == null ? undefined : json["values"]
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
// ../pipelines-sdk/generated/src/models/BlobFileAccessDto.ts
|
|
366
|
+
function BlobFileAccessDtoFromJSON(json) {
|
|
367
|
+
return BlobFileAccessDtoFromJSONTyped(json, false);
|
|
368
|
+
}
|
|
369
|
+
function BlobFileAccessDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
370
|
+
if (json == null) {
|
|
371
|
+
return json;
|
|
372
|
+
}
|
|
373
|
+
return {
|
|
374
|
+
uri: json["uri"],
|
|
375
|
+
verb: json["verb"],
|
|
376
|
+
headers: json["headers"] == null ? undefined : ResponseDictionaryDtoFromJSON(json["headers"])
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
// ../pipelines-sdk/generated/src/models/DeploymentActivateResponse.ts
|
|
380
|
+
function DeploymentActivateResponseFromJSON(json) {
|
|
381
|
+
return DeploymentActivateResponseFromJSONTyped(json, false);
|
|
382
|
+
}
|
|
383
|
+
function DeploymentActivateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
384
|
+
if (json == null) {
|
|
385
|
+
return json;
|
|
386
|
+
}
|
|
387
|
+
return {
|
|
388
|
+
instanceId: json["instanceId"] == null ? undefined : json["instanceId"]
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
// ../pipelines-sdk/generated/src/models/DeploymentActivationStatus.ts
|
|
392
|
+
function DeploymentActivationStatusFromJSON(json) {
|
|
393
|
+
return DeploymentActivationStatusFromJSONTyped(json, false);
|
|
394
|
+
}
|
|
395
|
+
function DeploymentActivationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
396
|
+
return json;
|
|
397
|
+
}
|
|
398
|
+
function DeploymentActivationStatusToJSON(value) {
|
|
399
|
+
return value;
|
|
400
|
+
}
|
|
401
|
+
// ../pipelines-sdk/generated/src/models/DeploymentOperation.ts
|
|
402
|
+
function DeploymentOperationFromJSON(json) {
|
|
403
|
+
return DeploymentOperationFromJSONTyped(json, false);
|
|
404
|
+
}
|
|
405
|
+
function DeploymentOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
406
|
+
return json;
|
|
407
|
+
}
|
|
408
|
+
function DeploymentOperationToJSON(value) {
|
|
409
|
+
return value;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
// ../pipelines-sdk/generated/src/models/DeploymentOperationStatus.ts
|
|
413
|
+
function DeploymentOperationStatusFromJSON(json) {
|
|
414
|
+
return DeploymentOperationStatusFromJSONTyped(json, false);
|
|
415
|
+
}
|
|
416
|
+
function DeploymentOperationStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
417
|
+
return json;
|
|
418
|
+
}
|
|
419
|
+
function DeploymentOperationStatusToJSON(value) {
|
|
420
|
+
return value;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// ../pipelines-sdk/generated/src/models/DeploymentStatus.ts
|
|
424
|
+
function DeploymentStatusFromJSON(json) {
|
|
425
|
+
return DeploymentStatusFromJSONTyped(json, false);
|
|
426
|
+
}
|
|
427
|
+
function DeploymentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
428
|
+
return json;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// ../pipelines-sdk/generated/src/models/DeploymentInfoDto.ts
|
|
432
|
+
function DeploymentInfoDtoFromJSON(json) {
|
|
433
|
+
return DeploymentInfoDtoFromJSONTyped(json, false);
|
|
434
|
+
}
|
|
435
|
+
function DeploymentInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
436
|
+
if (json == null) {
|
|
437
|
+
return json;
|
|
438
|
+
}
|
|
439
|
+
return {
|
|
440
|
+
deploymentKey: json["deploymentKey"],
|
|
441
|
+
installDeploymentKey: json["installDeploymentKey"],
|
|
442
|
+
deploymentName: json["deploymentName"],
|
|
443
|
+
packageName: json["packageName"],
|
|
444
|
+
packageVersion: json["packageVersion"] == null ? undefined : json["packageVersion"],
|
|
445
|
+
targetPackageVersion: json["targetPackageVersion"] == null ? undefined : json["targetPackageVersion"],
|
|
446
|
+
packageVersionKey: json["packageVersionKey"],
|
|
447
|
+
status: DeploymentStatusFromJSON(json["status"]),
|
|
448
|
+
operation: DeploymentOperationFromJSON(json["operation"]),
|
|
449
|
+
operationStatus: DeploymentOperationStatusFromJSON(json["operationStatus"]),
|
|
450
|
+
locationKey: json["locationKey"] == null ? undefined : json["locationKey"],
|
|
451
|
+
installedRootFolderKey: json["installedRootFolderKey"] == null ? undefined : json["installedRootFolderKey"]
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
// ../pipelines-sdk/generated/src/models/DeploymentPreActivateStepDto.ts
|
|
455
|
+
function DeploymentPreActivateStepDtoFromJSON(json) {
|
|
456
|
+
return DeploymentPreActivateStepDtoFromJSONTyped(json, false);
|
|
457
|
+
}
|
|
458
|
+
function DeploymentPreActivateStepDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
459
|
+
if (json == null) {
|
|
460
|
+
return json;
|
|
461
|
+
}
|
|
462
|
+
return {
|
|
463
|
+
serviceName: json["serviceName"],
|
|
464
|
+
step: json["step"],
|
|
465
|
+
description: json["description"],
|
|
466
|
+
link: json["link"],
|
|
467
|
+
stepCode: json["stepCode"] == null ? undefined : json["stepCode"],
|
|
468
|
+
resourceKey: json["resourceKey"] == null ? undefined : json["resourceKey"],
|
|
469
|
+
resourceName: json["resourceName"] == null ? undefined : json["resourceName"],
|
|
470
|
+
kind: json["kind"] == null ? undefined : json["kind"],
|
|
471
|
+
folderPaths: json["folderPaths"] == null ? undefined : json["folderPaths"]
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
// ../pipelines-sdk/generated/src/models/DeploymentPreActivateStepsDto.ts
|
|
475
|
+
function DeploymentPreActivateStepsDtoFromJSON(json) {
|
|
476
|
+
return DeploymentPreActivateStepsDtoFromJSONTyped(json, false);
|
|
477
|
+
}
|
|
478
|
+
function DeploymentPreActivateStepsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
479
|
+
if (json == null) {
|
|
480
|
+
return json;
|
|
481
|
+
}
|
|
482
|
+
return {
|
|
483
|
+
steps: json["steps"].map(DeploymentPreActivateStepDtoFromJSON)
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
// ../pipelines-sdk/generated/src/models/DeploymentResourceValidationAction.ts
|
|
487
|
+
function DeploymentResourceValidationActionFromJSON(json) {
|
|
488
|
+
return DeploymentResourceValidationActionFromJSONTyped(json, false);
|
|
489
|
+
}
|
|
490
|
+
function DeploymentResourceValidationActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
491
|
+
return json;
|
|
492
|
+
}
|
|
493
|
+
// ../pipelines-sdk/generated/src/models/DeploymentResourceValidationErrorKind.ts
|
|
494
|
+
function DeploymentResourceValidationErrorKindFromJSON(json) {
|
|
495
|
+
return DeploymentResourceValidationErrorKindFromJSONTyped(json, false);
|
|
496
|
+
}
|
|
497
|
+
function DeploymentResourceValidationErrorKindFromJSONTyped(json, ignoreDiscriminator) {
|
|
498
|
+
return json;
|
|
499
|
+
}
|
|
500
|
+
// ../pipelines-sdk/generated/src/models/DeploymentResourceValidationErrorLevel.ts
|
|
501
|
+
function DeploymentResourceValidationErrorLevelFromJSON(json) {
|
|
502
|
+
return DeploymentResourceValidationErrorLevelFromJSONTyped(json, false);
|
|
503
|
+
}
|
|
504
|
+
function DeploymentResourceValidationErrorLevelFromJSONTyped(json, ignoreDiscriminator) {
|
|
505
|
+
return json;
|
|
506
|
+
}
|
|
507
|
+
// ../pipelines-sdk/generated/src/models/ServiceMessage.ts
|
|
508
|
+
function ServiceMessageFromJSON(json) {
|
|
509
|
+
return ServiceMessageFromJSONTyped(json, false);
|
|
510
|
+
}
|
|
511
|
+
function ServiceMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
512
|
+
if (json == null) {
|
|
513
|
+
return json;
|
|
514
|
+
}
|
|
515
|
+
return {
|
|
516
|
+
resource: json["resource"],
|
|
517
|
+
text: json["text"],
|
|
518
|
+
parameters: json["parameters"],
|
|
519
|
+
errorCode: json["errorCode"] == null ? undefined : json["errorCode"]
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
// ../pipelines-sdk/generated/src/models/DeploymentRunResponse.ts
|
|
524
|
+
function DeploymentRunResponseFromJSON(json) {
|
|
525
|
+
return DeploymentRunResponseFromJSONTyped(json, false);
|
|
526
|
+
}
|
|
527
|
+
function DeploymentRunResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
528
|
+
if (json == null) {
|
|
529
|
+
return json;
|
|
530
|
+
}
|
|
531
|
+
return {
|
|
532
|
+
instanceId: json["instanceId"] == null ? undefined : json["instanceId"],
|
|
533
|
+
scheduled: json["scheduled"],
|
|
534
|
+
errors: json["errors"].map(ServiceMessageFromJSON),
|
|
535
|
+
complete: json["complete"]
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
// ../pipelines-sdk/generated/src/models/ResourceInstallError.ts
|
|
539
|
+
function ResourceInstallErrorFromJSON(json) {
|
|
540
|
+
return ResourceInstallErrorFromJSONTyped(json, false);
|
|
541
|
+
}
|
|
542
|
+
function ResourceInstallErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
543
|
+
if (json == null) {
|
|
544
|
+
return json;
|
|
545
|
+
}
|
|
546
|
+
return {
|
|
547
|
+
kind: json["kind"] == null ? undefined : json["kind"],
|
|
548
|
+
type: json["type"] == null ? undefined : json["type"],
|
|
549
|
+
key: json["key"] == null ? undefined : json["key"],
|
|
550
|
+
folderKey: json["folderKey"] == null ? undefined : json["folderKey"],
|
|
551
|
+
name: json["name"] == null ? undefined : json["name"],
|
|
552
|
+
text: json["text"]
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
// ../pipelines-sdk/generated/src/models/DeploymentRunServiceStatus.ts
|
|
557
|
+
function DeploymentRunServiceStatusFromJSON(json) {
|
|
558
|
+
return DeploymentRunServiceStatusFromJSONTyped(json, false);
|
|
559
|
+
}
|
|
560
|
+
function DeploymentRunServiceStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
561
|
+
if (json == null) {
|
|
562
|
+
return json;
|
|
563
|
+
}
|
|
564
|
+
return {
|
|
565
|
+
serviceName: json["serviceName"],
|
|
566
|
+
status: DeploymentStatusFromJSON(json["status"]),
|
|
567
|
+
updateDate: json["updateDate"] == null ? undefined : new Date(json["updateDate"]),
|
|
568
|
+
serviceErrorMessages: json["serviceErrorMessages"].map(ResourceInstallErrorFromJSON),
|
|
569
|
+
errorMessage: json["errorMessage"] == null ? undefined : json["errorMessage"],
|
|
570
|
+
activationStatus: json["activationStatus"] == null ? undefined : DeploymentActivationStatusFromJSON(json["activationStatus"])
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
// ../pipelines-sdk/generated/src/models/WorkflowAction.ts
|
|
574
|
+
function WorkflowActionFromJSON(json) {
|
|
575
|
+
return WorkflowActionFromJSONTyped(json, false);
|
|
576
|
+
}
|
|
577
|
+
function WorkflowActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
578
|
+
return json;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// ../pipelines-sdk/generated/src/models/WorkflowError.ts
|
|
582
|
+
function WorkflowErrorFromJSON(json) {
|
|
583
|
+
return WorkflowErrorFromJSONTyped(json, false);
|
|
584
|
+
}
|
|
585
|
+
function WorkflowErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
586
|
+
if (json == null) {
|
|
587
|
+
return json;
|
|
588
|
+
}
|
|
589
|
+
return {
|
|
590
|
+
errorMessage: json["errorMessage"],
|
|
591
|
+
serviceMessage: json["serviceMessage"] == null ? undefined : json["serviceMessage"],
|
|
592
|
+
exceptionTrace: json["exceptionTrace"] == null ? undefined : json["exceptionTrace"],
|
|
593
|
+
serviceName: json["serviceName"] == null ? undefined : json["serviceName"]
|
|
594
|
+
};
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// ../pipelines-sdk/generated/src/models/PackageVersionOrigin.ts
|
|
598
|
+
function PackageVersionOriginFromJSON(json) {
|
|
599
|
+
return PackageVersionOriginFromJSONTyped(json, false);
|
|
600
|
+
}
|
|
601
|
+
function PackageVersionOriginFromJSONTyped(json, ignoreDiscriminator) {
|
|
602
|
+
return json;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// ../pipelines-sdk/generated/src/models/DeploymentRunStatus.ts
|
|
606
|
+
function DeploymentRunStatusFromJSON(json) {
|
|
607
|
+
return DeploymentRunStatusFromJSONTyped(json, false);
|
|
608
|
+
}
|
|
609
|
+
function DeploymentRunStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
610
|
+
if (json == null) {
|
|
611
|
+
return json;
|
|
612
|
+
}
|
|
613
|
+
return {
|
|
614
|
+
deploymentKey: json["deploymentKey"],
|
|
615
|
+
installDeploymentKey: json["installDeploymentKey"],
|
|
616
|
+
deploymentName: json["deploymentName"],
|
|
617
|
+
configurationKey: json["configurationKey"],
|
|
618
|
+
installedRootFolderKey: json["installedRootFolderKey"] == null ? undefined : json["installedRootFolderKey"],
|
|
619
|
+
packageName: json["packageName"],
|
|
620
|
+
packageVersion: json["packageVersion"],
|
|
621
|
+
packageVersionOrigin: PackageVersionOriginFromJSON(json["packageVersionOrigin"]),
|
|
622
|
+
packageVersionKey: json["packageVersionKey"],
|
|
623
|
+
status: DeploymentStatusFromJSON(json["status"]),
|
|
624
|
+
authorName: json["authorName"],
|
|
625
|
+
startDate: new Date(json["startDate"]),
|
|
626
|
+
endDate: json["endDate"] == null ? undefined : new Date(json["endDate"]),
|
|
627
|
+
errorMessage: json["errorMessage"] == null ? undefined : json["errorMessage"].map(WorkflowErrorFromJSON),
|
|
628
|
+
actions: json["actions"].map(WorkflowActionFromJSON),
|
|
629
|
+
operation: DeploymentOperationFromJSON(json["operation"]),
|
|
630
|
+
services: json["services"].map(DeploymentRunServiceStatusFromJSON),
|
|
631
|
+
supportsAutomaticActivation: json["supportsAutomaticActivation"],
|
|
632
|
+
businessOwnerKey: json["businessOwnerKey"] == null ? undefined : json["businessOwnerKey"],
|
|
633
|
+
businessOwnerName: json["businessOwnerName"] == null ? undefined : json["businessOwnerName"],
|
|
634
|
+
activationStatus: json["activationStatus"] == null ? undefined : DeploymentActivationStatusFromJSON(json["activationStatus"]),
|
|
635
|
+
operationStatus: json["operationStatus"] == null ? undefined : DeploymentOperationStatusFromJSON(json["operationStatus"])
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
// ../pipelines-sdk/generated/src/models/DeploymentScheduleErrorDto.ts
|
|
639
|
+
function DeploymentScheduleErrorDtoFromJSON(json) {
|
|
640
|
+
return DeploymentScheduleErrorDtoFromJSONTyped(json, false);
|
|
641
|
+
}
|
|
642
|
+
function DeploymentScheduleErrorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
643
|
+
if (json == null) {
|
|
644
|
+
return json;
|
|
645
|
+
}
|
|
646
|
+
return {
|
|
647
|
+
errorText: json["errorText"],
|
|
648
|
+
errorCode: json["errorCode"] == null ? undefined : json["errorCode"]
|
|
649
|
+
};
|
|
650
|
+
}
|
|
651
|
+
// ../pipelines-sdk/generated/src/models/DeploymentType.ts
|
|
652
|
+
function DeploymentTypeFromJSON(json) {
|
|
653
|
+
return DeploymentTypeFromJSONTyped(json, false);
|
|
654
|
+
}
|
|
655
|
+
function DeploymentTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
656
|
+
return json;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
// ../pipelines-sdk/generated/src/models/DeploymentUpgradeType.ts
|
|
660
|
+
function DeploymentUpgradeTypeFromJSON(json) {
|
|
661
|
+
return DeploymentUpgradeTypeFromJSONTyped(json, false);
|
|
662
|
+
}
|
|
663
|
+
function DeploymentUpgradeTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
664
|
+
return json;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// ../pipelines-sdk/generated/src/models/RuntimeProfile.ts
|
|
668
|
+
function RuntimeProfileFromJSON(json) {
|
|
669
|
+
return RuntimeProfileFromJSONTyped(json, false);
|
|
670
|
+
}
|
|
671
|
+
function RuntimeProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
672
|
+
return json;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
// ../pipelines-sdk/generated/src/models/RuntimeSetup.ts
|
|
676
|
+
function RuntimeSetupFromJSON(json) {
|
|
677
|
+
return RuntimeSetupFromJSONTyped(json, false);
|
|
678
|
+
}
|
|
679
|
+
function RuntimeSetupFromJSONTyped(json, ignoreDiscriminator) {
|
|
680
|
+
if (json == null) {
|
|
681
|
+
return json;
|
|
682
|
+
}
|
|
683
|
+
return {
|
|
684
|
+
requireServerlessTemplate: json["requireServerlessTemplate"],
|
|
685
|
+
runtimeProfile: json["runtimeProfile"] == null ? undefined : RuntimeProfileFromJSON(json["runtimeProfile"])
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
// ../pipelines-sdk/generated/src/models/DeploymentSearchItemDto.ts
|
|
690
|
+
function DeploymentSearchItemDtoFromJSON(json) {
|
|
691
|
+
return DeploymentSearchItemDtoFromJSONTyped(json, false);
|
|
692
|
+
}
|
|
693
|
+
function DeploymentSearchItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
694
|
+
if (json == null) {
|
|
695
|
+
return json;
|
|
696
|
+
}
|
|
697
|
+
return {
|
|
698
|
+
key: json["key"],
|
|
699
|
+
installDeploymentKey: json["installDeploymentKey"],
|
|
700
|
+
instanceId: json["instanceId"] == null ? undefined : json["instanceId"],
|
|
701
|
+
configurationKey: json["configurationKey"],
|
|
702
|
+
packageVersionKey: json["packageVersionKey"],
|
|
703
|
+
packageKey: json["packageKey"],
|
|
704
|
+
packageName: json["packageName"],
|
|
705
|
+
packageVersion: json["packageVersion"],
|
|
706
|
+
currentPackageVersion: json["currentPackageVersion"] == null ? undefined : json["currentPackageVersion"],
|
|
707
|
+
targetPackageVersion: json["targetPackageVersion"] == null ? undefined : json["targetPackageVersion"],
|
|
708
|
+
packageVersionOrigin: PackageVersionOriginFromJSON(json["packageVersionOrigin"]),
|
|
709
|
+
folderPath: json["folderPath"] == null ? undefined : json["folderPath"],
|
|
710
|
+
installedRootFolderKey: json["installedRootFolderKey"] == null ? undefined : json["installedRootFolderKey"],
|
|
711
|
+
installedRootFolderName: json["installedRootFolderName"] == null ? undefined : json["installedRootFolderName"],
|
|
712
|
+
deploymentCreationTime: new Date(json["deploymentCreationTime"]),
|
|
713
|
+
startTime: json["startTime"] == null ? undefined : new Date(json["startTime"]),
|
|
714
|
+
endTime: json["endTime"] == null ? undefined : new Date(json["endTime"]),
|
|
715
|
+
actions: json["actions"].map(WorkflowActionFromJSON),
|
|
716
|
+
name: json["name"],
|
|
717
|
+
type: DeploymentTypeFromJSON(json["type"]),
|
|
718
|
+
operation: DeploymentOperationFromJSON(json["operation"]),
|
|
719
|
+
previousOperation: json["previousOperation"] == null ? undefined : DeploymentOperationFromJSON(json["previousOperation"]),
|
|
720
|
+
operationStatus: DeploymentOperationStatusFromJSON(json["operationStatus"]),
|
|
721
|
+
activationStatus: DeploymentActivationStatusFromJSON(json["activationStatus"]),
|
|
722
|
+
newPackageVersionAvailable: json["newPackageVersionAvailable"] == null ? undefined : json["newPackageVersionAvailable"],
|
|
723
|
+
packageVersionDescription: json["packageVersionDescription"] == null ? undefined : json["packageVersionDescription"],
|
|
724
|
+
packageVersionReleaseNotes: json["packageVersionReleaseNotes"] == null ? undefined : json["packageVersionReleaseNotes"],
|
|
725
|
+
authorName: json["authorName"],
|
|
726
|
+
upgradeType: json["upgradeType"] == null ? undefined : DeploymentUpgradeTypeFromJSON(json["upgradeType"]),
|
|
727
|
+
status: DeploymentStatusFromJSON(json["status"]),
|
|
728
|
+
runtimeSetup: json["runtimeSetup"] == null ? undefined : RuntimeSetupFromJSON(json["runtimeSetup"]),
|
|
729
|
+
packageAndDeploy: json["packageAndDeploy"],
|
|
730
|
+
hasMultipleVersions: json["hasMultipleVersions"] == null ? undefined : json["hasMultipleVersions"],
|
|
731
|
+
rootFolderKey: json["rootFolderKey"] == null ? undefined : json["rootFolderKey"],
|
|
732
|
+
businessOwnerKey: json["businessOwnerKey"] == null ? undefined : json["businessOwnerKey"],
|
|
733
|
+
businessOwnerName: json["businessOwnerName"] == null ? undefined : json["businessOwnerName"],
|
|
734
|
+
previousUpgradeType: json["previousUpgradeType"] == null ? undefined : DeploymentUpgradeTypeFromJSON(json["previousUpgradeType"]),
|
|
735
|
+
previousDeploymentKey: json["previousDeploymentKey"] == null ? undefined : json["previousDeploymentKey"],
|
|
736
|
+
previousInstanceId: json["previousInstanceId"] == null ? undefined : json["previousInstanceId"],
|
|
737
|
+
isActivationSetupOnSameSession: json["isActivationSetupOnSameSession"],
|
|
738
|
+
pauseBeforeRun: json["pauseBeforeRun"] == null ? undefined : json["pauseBeforeRun"],
|
|
739
|
+
autoActivate: json["autoActivate"] == null ? undefined : json["autoActivate"],
|
|
740
|
+
installationFolderKey: json["installationFolderKey"] == null ? undefined : json["installationFolderKey"]
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
// ../pipelines-sdk/generated/src/models/DeploymentValidationErrorType.ts
|
|
744
|
+
function DeploymentValidationErrorTypeFromJSON(json) {
|
|
745
|
+
return DeploymentValidationErrorTypeFromJSONTyped(json, false);
|
|
746
|
+
}
|
|
747
|
+
function DeploymentValidationErrorTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
748
|
+
return json;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
// ../pipelines-sdk/generated/src/models/DeploymentValidationErrorDto.ts
|
|
752
|
+
function DeploymentValidationErrorDtoFromJSON(json) {
|
|
753
|
+
return DeploymentValidationErrorDtoFromJSONTyped(json, false);
|
|
754
|
+
}
|
|
755
|
+
function DeploymentValidationErrorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
756
|
+
if (json == null) {
|
|
757
|
+
return json;
|
|
758
|
+
}
|
|
759
|
+
return {
|
|
760
|
+
errorType: DeploymentValidationErrorTypeFromJSON(json["errorType"]),
|
|
761
|
+
errorKind: json["errorKind"] == null ? undefined : DeploymentResourceValidationErrorKindFromJSON(json["errorKind"]),
|
|
762
|
+
text: json["text"] == null ? undefined : json["text"],
|
|
763
|
+
errorCode: json["errorCode"] == null ? undefined : json["errorCode"],
|
|
764
|
+
parameters: json["parameters"],
|
|
765
|
+
key: json["key"] == null ? undefined : json["key"],
|
|
766
|
+
resource: json["resource"] == null ? undefined : json["resource"],
|
|
767
|
+
name: json["name"] == null ? undefined : json["name"],
|
|
768
|
+
kind: json["kind"] == null ? undefined : json["kind"],
|
|
769
|
+
type: json["type"] == null ? undefined : json["type"],
|
|
770
|
+
serviceName: json["serviceName"] == null ? undefined : json["serviceName"],
|
|
771
|
+
level: DeploymentResourceValidationErrorLevelFromJSON(json["level"]),
|
|
772
|
+
propertyName: json["propertyName"] == null ? undefined : json["propertyName"],
|
|
773
|
+
folderPaths: json["folderPaths"] == null ? undefined : json["folderPaths"]
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
// ../pipelines-sdk/generated/src/models/ExtendedPackageVersionState.ts
|
|
777
|
+
function ExtendedPackageVersionStateFromJSON(json) {
|
|
778
|
+
return ExtendedPackageVersionStateFromJSONTyped(json, false);
|
|
779
|
+
}
|
|
780
|
+
function ExtendedPackageVersionStateFromJSONTyped(json, ignoreDiscriminator) {
|
|
781
|
+
return json;
|
|
782
|
+
}
|
|
783
|
+
// ../pipelines-sdk/generated/src/models/FolderInfo.ts
|
|
784
|
+
function FolderInfoFromJSON(json) {
|
|
785
|
+
return FolderInfoFromJSONTyped(json, false);
|
|
786
|
+
}
|
|
787
|
+
function FolderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
788
|
+
if (json == null) {
|
|
789
|
+
return json;
|
|
790
|
+
}
|
|
791
|
+
return {
|
|
792
|
+
fullyQualifiedName: json["fullyQualifiedName"],
|
|
793
|
+
path: json["path"] == null ? undefined : json["path"],
|
|
794
|
+
folderKey: json["folderKey"] == null ? undefined : json["folderKey"],
|
|
795
|
+
serviceFolderKey: json["serviceFolderKey"] == null ? undefined : json["serviceFolderKey"]
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
// ../pipelines-sdk/generated/src/models/OrderByDirection.ts
|
|
799
|
+
function OrderByDirectionToJSON(value) {
|
|
800
|
+
return value;
|
|
801
|
+
}
|
|
802
|
+
// ../pipelines-sdk/generated/src/models/PackageInfo.ts
|
|
803
|
+
function PackageInfoFromJSON(json) {
|
|
804
|
+
return PackageInfoFromJSONTyped(json, false);
|
|
805
|
+
}
|
|
806
|
+
function PackageInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
807
|
+
if (json == null) {
|
|
808
|
+
return json;
|
|
809
|
+
}
|
|
810
|
+
return {
|
|
811
|
+
key: json["key"],
|
|
812
|
+
name: json["name"],
|
|
813
|
+
latestVersion: json["latestVersion"],
|
|
814
|
+
packageVersionKey: json["packageVersionKey"],
|
|
815
|
+
authorName: json["authorName"],
|
|
816
|
+
authorEmail: json["authorEmail"] == null ? undefined : json["authorEmail"],
|
|
817
|
+
publishDate: new Date(json["publishDate"]),
|
|
818
|
+
description: json["description"] == null ? undefined : json["description"],
|
|
819
|
+
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
820
|
+
state: ExtendedPackageVersionStateFromJSON(json["state"]),
|
|
821
|
+
allowDownload: json["allowDownload"] == null ? undefined : json["allowDownload"],
|
|
822
|
+
solutionRootFolderName: json["solutionRootFolderName"],
|
|
823
|
+
hasUpgradeableDeployments: json["hasUpgradeableDeployments"],
|
|
824
|
+
hasMultipleVersions: json["hasMultipleVersions"] == null ? undefined : json["hasMultipleVersions"]
|
|
825
|
+
};
|
|
826
|
+
}
|
|
827
|
+
// ../pipelines-sdk/generated/src/models/ResourceTaskStatus.ts
|
|
828
|
+
function ResourceTaskStatusFromJSON(json) {
|
|
829
|
+
return ResourceTaskStatusFromJSONTyped(json, false);
|
|
830
|
+
}
|
|
831
|
+
function ResourceTaskStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
832
|
+
return json;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
// ../pipelines-sdk/generated/src/models/PackagePublishResult.ts
|
|
836
|
+
function PackagePublishResultFromJSON(json) {
|
|
837
|
+
return PackagePublishResultFromJSONTyped(json, false);
|
|
838
|
+
}
|
|
839
|
+
function PackagePublishResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
840
|
+
if (json == null) {
|
|
841
|
+
return json;
|
|
842
|
+
}
|
|
843
|
+
return {
|
|
844
|
+
status: ResourceTaskStatusFromJSON(json["status"]),
|
|
845
|
+
packageName: json["packageName"],
|
|
846
|
+
packageVersionKey: json["packageVersionKey"] == null ? undefined : json["packageVersionKey"]
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
// ../pipelines-sdk/generated/src/models/ResourceStats.ts
|
|
850
|
+
function ResourceStatsFromJSON(json) {
|
|
851
|
+
return ResourceStatsFromJSONTyped(json, false);
|
|
852
|
+
}
|
|
853
|
+
function ResourceStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
854
|
+
if (json == null) {
|
|
855
|
+
return json;
|
|
856
|
+
}
|
|
857
|
+
return {
|
|
858
|
+
count: json["count"],
|
|
859
|
+
kind: json["kind"],
|
|
860
|
+
serviceName: json["serviceName"]
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
// ../pipelines-sdk/generated/src/models/PackageVersionResourceDto.ts
|
|
865
|
+
function PackageVersionResourceDtoFromJSON(json) {
|
|
866
|
+
return PackageVersionResourceDtoFromJSONTyped(json, false);
|
|
867
|
+
}
|
|
868
|
+
function PackageVersionResourceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
869
|
+
if (json == null) {
|
|
870
|
+
return json;
|
|
871
|
+
}
|
|
872
|
+
return {
|
|
873
|
+
key: json["key"],
|
|
874
|
+
name: json["name"],
|
|
875
|
+
kind: json["kind"],
|
|
876
|
+
type: json["type"] == null ? undefined : json["type"],
|
|
877
|
+
apiVersion: json["apiVersion"],
|
|
878
|
+
folders: json["folders"].map(FolderInfoFromJSON)
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
// ../pipelines-sdk/generated/src/models/PackageVersionComponentsDto.ts
|
|
883
|
+
function PackageVersionComponentsDtoFromJSON(json) {
|
|
884
|
+
return PackageVersionComponentsDtoFromJSONTyped(json, false);
|
|
885
|
+
}
|
|
886
|
+
function PackageVersionComponentsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
887
|
+
if (json == null) {
|
|
888
|
+
return json;
|
|
889
|
+
}
|
|
890
|
+
return {
|
|
891
|
+
count: json["count"],
|
|
892
|
+
resources: json["resources"].map(PackageVersionResourceDtoFromJSON),
|
|
893
|
+
stats: json["stats"].map(ResourceStatsFromJSON)
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
// ../pipelines-sdk/generated/src/models/ResourceTagDto.ts
|
|
897
|
+
function ResourceTagDtoFromJSON(json) {
|
|
898
|
+
return ResourceTagDtoFromJSONTyped(json, false);
|
|
899
|
+
}
|
|
900
|
+
function ResourceTagDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
901
|
+
if (json == null) {
|
|
902
|
+
return json;
|
|
903
|
+
}
|
|
904
|
+
return {
|
|
905
|
+
name: json["name"],
|
|
906
|
+
value: json["value"] == null ? undefined : json["value"]
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
// ../pipelines-sdk/generated/src/models/PackageVersionInfoDto.ts
|
|
911
|
+
function PackageVersionInfoDtoFromJSON(json) {
|
|
912
|
+
return PackageVersionInfoDtoFromJSONTyped(json, false);
|
|
913
|
+
}
|
|
914
|
+
function PackageVersionInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
915
|
+
if (json == null) {
|
|
916
|
+
return json;
|
|
917
|
+
}
|
|
918
|
+
return {
|
|
919
|
+
key: json["key"],
|
|
920
|
+
packageName: json["packageName"],
|
|
921
|
+
packageVersion: json["packageVersion"],
|
|
922
|
+
publishDate: new Date(json["publishDate"]),
|
|
923
|
+
authorName: json["authorName"],
|
|
924
|
+
authorEmail: json["authorEmail"] == null ? undefined : json["authorEmail"],
|
|
925
|
+
description: json["description"] == null ? undefined : json["description"],
|
|
926
|
+
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
927
|
+
state: ExtendedPackageVersionStateFromJSON(json["state"]),
|
|
928
|
+
allowDownload: json["allowDownload"] == null ? undefined : json["allowDownload"],
|
|
929
|
+
solutionRootFolderName: json["solutionRootFolderName"],
|
|
930
|
+
locationKey: json["locationKey"] == null ? undefined : json["locationKey"],
|
|
931
|
+
components: json["components"] == null ? undefined : PackageVersionComponentsDtoFromJSON(json["components"]),
|
|
932
|
+
tags: json["tags"] == null ? undefined : json["tags"].map(ResourceTagDtoFromJSON)
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
// ../pipelines-sdk/generated/src/models/PackageVersionInfoExtendedDto.ts
|
|
936
|
+
function PackageVersionInfoExtendedDtoFromJSON(json) {
|
|
937
|
+
return PackageVersionInfoExtendedDtoFromJSONTyped(json, false);
|
|
938
|
+
}
|
|
939
|
+
function PackageVersionInfoExtendedDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
940
|
+
if (json == null) {
|
|
941
|
+
return json;
|
|
942
|
+
}
|
|
943
|
+
return {
|
|
944
|
+
key: json["key"],
|
|
945
|
+
packageName: json["packageName"],
|
|
946
|
+
packageVersion: json["packageVersion"],
|
|
947
|
+
publishDate: new Date(json["publishDate"]),
|
|
948
|
+
authorName: json["authorName"],
|
|
949
|
+
authorEmail: json["authorEmail"] == null ? undefined : json["authorEmail"],
|
|
950
|
+
description: json["description"] == null ? undefined : json["description"],
|
|
951
|
+
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
952
|
+
state: ExtendedPackageVersionStateFromJSON(json["state"]),
|
|
953
|
+
allowDownload: json["allowDownload"] == null ? undefined : json["allowDownload"],
|
|
954
|
+
solutionRootFolderName: json["solutionRootFolderName"],
|
|
955
|
+
locationKey: json["locationKey"] == null ? undefined : json["locationKey"],
|
|
956
|
+
components: json["components"] == null ? undefined : PackageVersionComponentsDtoFromJSON(json["components"]),
|
|
957
|
+
tags: json["tags"] == null ? undefined : json["tags"].map(ResourceTagDtoFromJSON),
|
|
958
|
+
lastOperation: DeploymentOperationFromJSON(json["lastOperation"]),
|
|
959
|
+
lastOperationStatus: DeploymentOperationStatusFromJSON(json["lastOperationStatus"]),
|
|
960
|
+
lastOperationInstanceId: json["lastOperationInstanceId"] == null ? undefined : json["lastOperationInstanceId"]
|
|
961
|
+
};
|
|
962
|
+
}
|
|
963
|
+
// ../pipelines-sdk/generated/src/models/PageInfoDtoOfDeploymentSearchItemDto.ts
|
|
964
|
+
function PageInfoDtoOfDeploymentSearchItemDtoFromJSON(json) {
|
|
965
|
+
return PageInfoDtoOfDeploymentSearchItemDtoFromJSONTyped(json, false);
|
|
966
|
+
}
|
|
967
|
+
function PageInfoDtoOfDeploymentSearchItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
968
|
+
if (json == null) {
|
|
969
|
+
return json;
|
|
970
|
+
}
|
|
971
|
+
return {
|
|
972
|
+
count: json["count"],
|
|
973
|
+
values: json["values"].map(DeploymentSearchItemDtoFromJSON)
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
// ../pipelines-sdk/generated/src/models/PageInfoDtoOfPackageInfo.ts
|
|
977
|
+
function PageInfoDtoOfPackageInfoFromJSON(json) {
|
|
978
|
+
return PageInfoDtoOfPackageInfoFromJSONTyped(json, false);
|
|
979
|
+
}
|
|
980
|
+
function PageInfoDtoOfPackageInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
981
|
+
if (json == null) {
|
|
982
|
+
return json;
|
|
983
|
+
}
|
|
984
|
+
return {
|
|
985
|
+
count: json["count"],
|
|
986
|
+
values: json["values"].map(PackageInfoFromJSON)
|
|
987
|
+
};
|
|
988
|
+
}
|
|
989
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentConflictErrorDto.ts
|
|
990
|
+
function PipelineDeploymentConflictErrorDtoFromJSON(json) {
|
|
991
|
+
return PipelineDeploymentConflictErrorDtoFromJSONTyped(json, false);
|
|
992
|
+
}
|
|
993
|
+
function PipelineDeploymentConflictErrorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
994
|
+
if (json == null) {
|
|
995
|
+
return json;
|
|
996
|
+
}
|
|
997
|
+
return {
|
|
998
|
+
kind: json["kind"],
|
|
999
|
+
name: json["name"],
|
|
1000
|
+
resourceKey: json["resourceKey"],
|
|
1001
|
+
errorType: json["errorType"] == null ? undefined : DeploymentValidationErrorTypeFromJSON(json["errorType"]),
|
|
1002
|
+
errorText: json["errorText"],
|
|
1003
|
+
errorCode: json["errorCode"] == null ? undefined : json["errorCode"],
|
|
1004
|
+
conflictFixingActions: json["conflictFixingActions"].map(DeploymentResourceValidationActionFromJSON)
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentValidationErrorDto.ts
|
|
1008
|
+
function PipelineDeploymentValidationErrorDtoFromJSON(json) {
|
|
1009
|
+
return PipelineDeploymentValidationErrorDtoFromJSONTyped(json, false);
|
|
1010
|
+
}
|
|
1011
|
+
function PipelineDeploymentValidationErrorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1012
|
+
if (json == null) {
|
|
1013
|
+
return json;
|
|
1014
|
+
}
|
|
1015
|
+
return {
|
|
1016
|
+
kind: json["kind"],
|
|
1017
|
+
name: json["name"],
|
|
1018
|
+
resourceKey: json["resourceKey"],
|
|
1019
|
+
errorType: json["errorType"] == null ? undefined : DeploymentValidationErrorTypeFromJSON(json["errorType"]),
|
|
1020
|
+
errorText: json["errorText"],
|
|
1021
|
+
errorCode: json["errorCode"] == null ? undefined : json["errorCode"]
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentValidationResultDto.ts
|
|
1026
|
+
function PipelineDeploymentValidationResultDtoFromJSON(json) {
|
|
1027
|
+
return PipelineDeploymentValidationResultDtoFromJSONTyped(json, false);
|
|
1028
|
+
}
|
|
1029
|
+
function PipelineDeploymentValidationResultDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1030
|
+
if (json == null) {
|
|
1031
|
+
return json;
|
|
1032
|
+
}
|
|
1033
|
+
return {
|
|
1034
|
+
success: json["success"] == null ? undefined : json["success"],
|
|
1035
|
+
validationErrors: json["validationErrors"].map(PipelineDeploymentValidationErrorDtoFromJSON),
|
|
1036
|
+
conflictErrors: json["conflictErrors"].map(PipelineDeploymentConflictErrorDtoFromJSON)
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentStatus.ts
|
|
1041
|
+
function PipelineDeploymentStatusFromJSON(json) {
|
|
1042
|
+
return PipelineDeploymentStatusFromJSONTyped(json, false);
|
|
1043
|
+
}
|
|
1044
|
+
function PipelineDeploymentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
1045
|
+
return json;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentResult.ts
|
|
1049
|
+
function PipelineDeploymentResultFromJSON(json) {
|
|
1050
|
+
return PipelineDeploymentResultFromJSONTyped(json, false);
|
|
1051
|
+
}
|
|
1052
|
+
function PipelineDeploymentResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
1053
|
+
if (json == null) {
|
|
1054
|
+
return json;
|
|
1055
|
+
}
|
|
1056
|
+
return {
|
|
1057
|
+
status: PipelineDeploymentStatusFromJSON(json["status"]),
|
|
1058
|
+
validationResult: PipelineDeploymentValidationResultDtoFromJSON(json["validationResult"]),
|
|
1059
|
+
deploymentResult: json["deploymentResult"] == null ? undefined : DeploymentRunStatusFromJSON(json["deploymentResult"]),
|
|
1060
|
+
deploymentKey: json["deploymentKey"],
|
|
1061
|
+
configurationKey: json["configurationKey"],
|
|
1062
|
+
instanceId: json["instanceId"] == null ? undefined : json["instanceId"],
|
|
1063
|
+
conflictFixingErrors: json["conflictFixingErrors"].map(PipelineDeploymentValidationErrorDtoFromJSON),
|
|
1064
|
+
deploymentScheduleErrors: json["deploymentScheduleErrors"].map(DeploymentScheduleErrorDtoFromJSON)
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentResultRef.ts
|
|
1068
|
+
function PipelineDeploymentResultRefFromJSON(json) {
|
|
1069
|
+
return PipelineDeploymentResultRefFromJSONTyped(json, false);
|
|
1070
|
+
}
|
|
1071
|
+
function PipelineDeploymentResultRefFromJSONTyped(json, ignoreDiscriminator) {
|
|
1072
|
+
if (json == null) {
|
|
1073
|
+
return json;
|
|
1074
|
+
}
|
|
1075
|
+
return {
|
|
1076
|
+
pipelineDeploymentId: json["pipelineDeploymentId"]
|
|
1077
|
+
};
|
|
1078
|
+
}
|
|
1079
|
+
// ../pipelines-sdk/generated/src/models/SolutionDeploymentAction.ts
|
|
1080
|
+
function SolutionDeploymentActionFromJSON(json) {
|
|
1081
|
+
return SolutionDeploymentActionFromJSONTyped(json, false);
|
|
1082
|
+
}
|
|
1083
|
+
function SolutionDeploymentActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
1084
|
+
return json;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentValidationResult.ts
|
|
1088
|
+
function PipelineDeploymentValidationResultFromJSON(json) {
|
|
1089
|
+
return PipelineDeploymentValidationResultFromJSONTyped(json, false);
|
|
1090
|
+
}
|
|
1091
|
+
function PipelineDeploymentValidationResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
1092
|
+
if (json == null) {
|
|
1093
|
+
return json;
|
|
1094
|
+
}
|
|
1095
|
+
return {
|
|
1096
|
+
deploymentAction: SolutionDeploymentActionFromJSON(json["deploymentAction"]),
|
|
1097
|
+
success: json["success"] == null ? undefined : json["success"],
|
|
1098
|
+
validationErrors: json["validationErrors"].map(DeploymentValidationErrorDtoFromJSON)
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
// ../pipelines-sdk/generated/src/models/PipelineDeploymentsSearchRequest.ts
|
|
1102
|
+
function PipelineDeploymentsSearchRequestToJSON(json) {
|
|
1103
|
+
return PipelineDeploymentsSearchRequestToJSONTyped(json, false);
|
|
1104
|
+
}
|
|
1105
|
+
function PipelineDeploymentsSearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1106
|
+
if (value == null) {
|
|
1107
|
+
return value;
|
|
1108
|
+
}
|
|
1109
|
+
return {
|
|
1110
|
+
orderByColumn: value["orderByColumn"],
|
|
1111
|
+
orderByDirection: OrderByDirectionToJSON(value["orderByDirection"]),
|
|
1112
|
+
searchTerm: value["searchTerm"],
|
|
1113
|
+
skip: value["skip"],
|
|
1114
|
+
take: value["take"],
|
|
1115
|
+
deploymentName: value["deploymentName"],
|
|
1116
|
+
operationStatuses: value["operationStatuses"] == null ? undefined : value["operationStatuses"].map(DeploymentOperationStatusToJSON),
|
|
1117
|
+
operation: DeploymentOperationToJSON(value["operation"]),
|
|
1118
|
+
activationStatuses: value["activationStatuses"] == null ? undefined : value["activationStatuses"].map(DeploymentActivationStatusToJSON),
|
|
1119
|
+
packageName: value["packageName"],
|
|
1120
|
+
packageVersion: value["packageVersion"],
|
|
1121
|
+
currentPackageVersion: value["currentPackageVersion"],
|
|
1122
|
+
targetPackageVersion: value["targetPackageVersion"],
|
|
1123
|
+
targetFolderName: value["targetFolderName"],
|
|
1124
|
+
packageVersionKey: value["packageVersionKey"],
|
|
1125
|
+
businessOwnerKey: value["businessOwnerKey"]
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
// ../pipelines-sdk/generated/src/models/PipelinePackagesSearchRequest.ts
|
|
1129
|
+
function PipelinePackagesSearchRequestToJSON(json) {
|
|
1130
|
+
return PipelinePackagesSearchRequestToJSONTyped(json, false);
|
|
1131
|
+
}
|
|
1132
|
+
function PipelinePackagesSearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1133
|
+
if (value == null) {
|
|
1134
|
+
return value;
|
|
1135
|
+
}
|
|
1136
|
+
return {
|
|
1137
|
+
orderByColumn: value["orderByColumn"],
|
|
1138
|
+
orderByDirection: OrderByDirectionToJSON(value["orderByDirection"]),
|
|
1139
|
+
searchTerm: value["searchTerm"],
|
|
1140
|
+
skip: value["skip"],
|
|
1141
|
+
take: value["take"]
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
// ../pipelines-sdk/generated/src/models/SolutionProjectSyncStatus.ts
|
|
1145
|
+
function SolutionProjectSyncStatusFromJSON(json) {
|
|
1146
|
+
return SolutionProjectSyncStatusFromJSONTyped(json, false);
|
|
1147
|
+
}
|
|
1148
|
+
function SolutionProjectSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
1149
|
+
return json;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
// ../pipelines-sdk/generated/src/models/SolutionProjectSyncErrorDto.ts
|
|
1153
|
+
function SolutionProjectSyncErrorDtoFromJSON(json) {
|
|
1154
|
+
return SolutionProjectSyncErrorDtoFromJSONTyped(json, false);
|
|
1155
|
+
}
|
|
1156
|
+
function SolutionProjectSyncErrorDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1157
|
+
if (json == null) {
|
|
1158
|
+
return json;
|
|
1159
|
+
}
|
|
1160
|
+
return {
|
|
1161
|
+
serviceName: json["serviceName"],
|
|
1162
|
+
resourceIdentifiers: json["resourceIdentifiers"].map(BaseResourceIdentifierFromJSON),
|
|
1163
|
+
errorMessage: json["errorMessage"]
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
// ../pipelines-sdk/generated/src/models/ProjectSynchronizationDto.ts
|
|
1168
|
+
function ProjectSynchronizationDtoFromJSON(json) {
|
|
1169
|
+
return ProjectSynchronizationDtoFromJSONTyped(json, false);
|
|
1170
|
+
}
|
|
1171
|
+
function ProjectSynchronizationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
1172
|
+
if (json == null) {
|
|
1173
|
+
return json;
|
|
1174
|
+
}
|
|
1175
|
+
return {
|
|
1176
|
+
projectName: json["projectName"],
|
|
1177
|
+
syncErrors: json["syncErrors"].map(SolutionProjectSyncErrorDtoFromJSON),
|
|
1178
|
+
status: SolutionProjectSyncStatusFromJSON(json["status"])
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
// ../pipelines-sdk/generated/src/models/PublishProjectRequest.ts
|
|
1182
|
+
function PublishProjectRequestToJSON(json) {
|
|
1183
|
+
return PublishProjectRequestToJSONTyped(json, false);
|
|
1184
|
+
}
|
|
1185
|
+
function PublishProjectRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1186
|
+
if (value == null) {
|
|
1187
|
+
return value;
|
|
1188
|
+
}
|
|
1189
|
+
return {
|
|
1190
|
+
packageName: value["packageName"],
|
|
1191
|
+
packageVersion: value["packageVersion"],
|
|
1192
|
+
description: value["description"],
|
|
1193
|
+
releaseNotes: value["releaseNotes"],
|
|
1194
|
+
solutionRootFolderName: value["solutionRootFolderName"]
|
|
1195
|
+
};
|
|
1196
|
+
}
|
|
1197
|
+
// ../pipelines-sdk/generated/src/models/SyncOption.ts
|
|
1198
|
+
function SyncOptionToJSON(value) {
|
|
1199
|
+
return value;
|
|
1200
|
+
}
|
|
1201
|
+
// ../pipelines-sdk/generated/src/models/SyncProjectOptions.ts
|
|
1202
|
+
function SyncProjectOptionsToJSON(json) {
|
|
1203
|
+
return SyncProjectOptionsToJSONTyped(json, false);
|
|
1204
|
+
}
|
|
1205
|
+
function SyncProjectOptionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1206
|
+
if (value == null) {
|
|
1207
|
+
return value;
|
|
1208
|
+
}
|
|
1209
|
+
return {
|
|
1210
|
+
syncOption: SyncOptionToJSON(value["syncOption"]),
|
|
1211
|
+
autoRemoveDeletedResources: value["autoRemoveDeletedResources"]
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
// ../pipelines-sdk/generated/src/apis/PipelinesApi.ts
|
|
1215
|
+
class PipelinesApi extends BaseAPI {
|
|
1216
|
+
async pipelinesAcknowledgeResourcePermanentDeletionRaw(requestParameters, initOverrides) {
|
|
1217
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1218
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesAcknowledgeResourcePermanentDeletion().');
|
|
1219
|
+
}
|
|
1220
|
+
if (requestParameters["resourceKey"] == null) {
|
|
1221
|
+
throw new RequiredError("resourceKey", 'Required parameter "resourceKey" was null or undefined when calling pipelinesAcknowledgeResourcePermanentDeletion().');
|
|
1222
|
+
}
|
|
1223
|
+
const queryParameters = {};
|
|
1224
|
+
if (requestParameters["acknowledged"] != null) {
|
|
1225
|
+
queryParameters["acknowledged"] = requestParameters["acknowledged"];
|
|
1226
|
+
}
|
|
1227
|
+
const headerParameters = {};
|
|
1228
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1229
|
+
const token = this.configuration.accessToken;
|
|
1230
|
+
const tokenString = await token("Bearer", []);
|
|
1231
|
+
if (tokenString) {
|
|
1232
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/resources/{resourceKey}/acknowledge-permanent-deletion`;
|
|
1236
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1237
|
+
urlPath = urlPath.replace(`{${"resourceKey"}}`, encodeURIComponent(String(requestParameters["resourceKey"])));
|
|
1238
|
+
const response = await this.request({
|
|
1239
|
+
path: urlPath,
|
|
1240
|
+
method: "PATCH",
|
|
1241
|
+
headers: headerParameters,
|
|
1242
|
+
query: queryParameters
|
|
1243
|
+
}, initOverrides);
|
|
1244
|
+
return new VoidApiResponse(response);
|
|
1245
|
+
}
|
|
1246
|
+
async pipelinesAcknowledgeResourcePermanentDeletion(requestParameters, initOverrides) {
|
|
1247
|
+
await this.pipelinesAcknowledgeResourcePermanentDeletionRaw(requestParameters, initOverrides);
|
|
1248
|
+
}
|
|
1249
|
+
async pipelinesActivateRaw(requestParameters, initOverrides) {
|
|
1250
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1251
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesActivate().');
|
|
1252
|
+
}
|
|
1253
|
+
const queryParameters = {};
|
|
1254
|
+
const headerParameters = {};
|
|
1255
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1256
|
+
const token = this.configuration.accessToken;
|
|
1257
|
+
const tokenString = await token("Bearer", []);
|
|
1258
|
+
if (tokenString) {
|
|
1259
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/activate`;
|
|
1263
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1264
|
+
const response = await this.request({
|
|
1265
|
+
path: urlPath,
|
|
1266
|
+
method: "POST",
|
|
1267
|
+
headers: headerParameters,
|
|
1268
|
+
query: queryParameters
|
|
1269
|
+
}, initOverrides);
|
|
1270
|
+
return new JSONApiResponse(response, (jsonValue) => DeploymentActivateResponseFromJSON(jsonValue));
|
|
1271
|
+
}
|
|
1272
|
+
async pipelinesActivate(requestParameters, initOverrides) {
|
|
1273
|
+
const response = await this.pipelinesActivateRaw(requestParameters, initOverrides);
|
|
1274
|
+
return await response.value();
|
|
1275
|
+
}
|
|
1276
|
+
async pipelinesDeleteDeploymentByKeyRaw(requestParameters, initOverrides) {
|
|
1277
|
+
if (requestParameters["deploymentKey"] == null) {
|
|
1278
|
+
throw new RequiredError("deploymentKey", 'Required parameter "deploymentKey" was null or undefined when calling pipelinesDeleteDeploymentByKey().');
|
|
1279
|
+
}
|
|
1280
|
+
const queryParameters = {};
|
|
1281
|
+
const headerParameters = {};
|
|
1282
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1283
|
+
const token = this.configuration.accessToken;
|
|
1284
|
+
const tokenString = await token("Bearer", []);
|
|
1285
|
+
if (tokenString) {
|
|
1286
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentKey}`;
|
|
1290
|
+
urlPath = urlPath.replace(`{${"deploymentKey"}}`, encodeURIComponent(String(requestParameters["deploymentKey"])));
|
|
1291
|
+
const response = await this.request({
|
|
1292
|
+
path: urlPath,
|
|
1293
|
+
method: "DELETE",
|
|
1294
|
+
headers: headerParameters,
|
|
1295
|
+
query: queryParameters
|
|
1296
|
+
}, initOverrides);
|
|
1297
|
+
return new VoidApiResponse(response);
|
|
1298
|
+
}
|
|
1299
|
+
async pipelinesDeleteDeploymentByKey(requestParameters, initOverrides) {
|
|
1300
|
+
await this.pipelinesDeleteDeploymentByKeyRaw(requestParameters, initOverrides);
|
|
1301
|
+
}
|
|
1302
|
+
async pipelinesGetDeploymentByKeyRaw(requestParameters, initOverrides) {
|
|
1303
|
+
if (requestParameters["key"] == null) {
|
|
1304
|
+
throw new RequiredError("key", 'Required parameter "key" was null or undefined when calling pipelinesGetDeploymentByKey().');
|
|
1305
|
+
}
|
|
1306
|
+
const queryParameters = {};
|
|
1307
|
+
const headerParameters = {};
|
|
1308
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1309
|
+
const token = this.configuration.accessToken;
|
|
1310
|
+
const tokenString = await token("Bearer", []);
|
|
1311
|
+
if (tokenString) {
|
|
1312
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
let urlPath = `/v1/pipelines/deployments/by-key/{key}`;
|
|
1316
|
+
urlPath = urlPath.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"])));
|
|
1317
|
+
const response = await this.request({
|
|
1318
|
+
path: urlPath,
|
|
1319
|
+
method: "GET",
|
|
1320
|
+
headers: headerParameters,
|
|
1321
|
+
query: queryParameters
|
|
1322
|
+
}, initOverrides);
|
|
1323
|
+
return new JSONApiResponse(response, (jsonValue) => DeploymentInfoDtoFromJSON(jsonValue));
|
|
1324
|
+
}
|
|
1325
|
+
async pipelinesGetDeploymentByKey(requestParameters, initOverrides) {
|
|
1326
|
+
const response = await this.pipelinesGetDeploymentByKeyRaw(requestParameters, initOverrides);
|
|
1327
|
+
return await response.value();
|
|
1328
|
+
}
|
|
1329
|
+
async pipelinesGetDeploymentInstanceStatusRaw(requestParameters, initOverrides) {
|
|
1330
|
+
if (requestParameters["instanceId"] == null) {
|
|
1331
|
+
throw new RequiredError("instanceId", 'Required parameter "instanceId" was null or undefined when calling pipelinesGetDeploymentInstanceStatus().');
|
|
1332
|
+
}
|
|
1333
|
+
const queryParameters = {};
|
|
1334
|
+
const headerParameters = {};
|
|
1335
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1336
|
+
const token = this.configuration.accessToken;
|
|
1337
|
+
const tokenString = await token("Bearer", []);
|
|
1338
|
+
if (tokenString) {
|
|
1339
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
let urlPath = `/v1/pipelines/deployments/{instanceId}/status`;
|
|
1343
|
+
urlPath = urlPath.replace(`{${"instanceId"}}`, encodeURIComponent(String(requestParameters["instanceId"])));
|
|
1344
|
+
const response = await this.request({
|
|
1345
|
+
path: urlPath,
|
|
1346
|
+
method: "GET",
|
|
1347
|
+
headers: headerParameters,
|
|
1348
|
+
query: queryParameters
|
|
1349
|
+
}, initOverrides);
|
|
1350
|
+
return new JSONApiResponse(response, (jsonValue) => DeploymentRunStatusFromJSON(jsonValue));
|
|
1351
|
+
}
|
|
1352
|
+
async pipelinesGetDeploymentInstanceStatus(requestParameters, initOverrides) {
|
|
1353
|
+
const response = await this.pipelinesGetDeploymentInstanceStatusRaw(requestParameters, initOverrides);
|
|
1354
|
+
return await response.value();
|
|
1355
|
+
}
|
|
1356
|
+
async pipelinesGetDeploymentValidationResultRaw(requestParameters, initOverrides) {
|
|
1357
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1358
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesGetDeploymentValidationResult().');
|
|
1359
|
+
}
|
|
1360
|
+
const queryParameters = {};
|
|
1361
|
+
if (requestParameters["deploymentAction"] != null) {
|
|
1362
|
+
queryParameters["deploymentAction"] = requestParameters["deploymentAction"];
|
|
1363
|
+
}
|
|
1364
|
+
if (requestParameters["errorKind"] != null) {
|
|
1365
|
+
queryParameters["errorKind"] = requestParameters["errorKind"];
|
|
1366
|
+
}
|
|
1367
|
+
const headerParameters = {};
|
|
1368
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1369
|
+
const token = this.configuration.accessToken;
|
|
1370
|
+
const tokenString = await token("Bearer", []);
|
|
1371
|
+
if (tokenString) {
|
|
1372
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/validation-result`;
|
|
1376
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1377
|
+
const response = await this.request({
|
|
1378
|
+
path: urlPath,
|
|
1379
|
+
method: "GET",
|
|
1380
|
+
headers: headerParameters,
|
|
1381
|
+
query: queryParameters
|
|
1382
|
+
}, initOverrides);
|
|
1383
|
+
return new JSONApiResponse(response, (jsonValue) => PipelineDeploymentValidationResultFromJSON(jsonValue));
|
|
1384
|
+
}
|
|
1385
|
+
async pipelinesGetDeploymentValidationResult(requestParameters, initOverrides) {
|
|
1386
|
+
const response = await this.pipelinesGetDeploymentValidationResultRaw(requestParameters, initOverrides);
|
|
1387
|
+
return await response.value();
|
|
1388
|
+
}
|
|
1389
|
+
async pipelinesGetPackagePublishStatusRaw(requestParameters, initOverrides) {
|
|
1390
|
+
if (requestParameters["packageName"] == null) {
|
|
1391
|
+
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesGetPackagePublishStatus().');
|
|
1392
|
+
}
|
|
1393
|
+
if (requestParameters["packageVersion"] == null) {
|
|
1394
|
+
throw new RequiredError("packageVersion", 'Required parameter "packageVersion" was null or undefined when calling pipelinesGetPackagePublishStatus().');
|
|
1395
|
+
}
|
|
1396
|
+
const queryParameters = {};
|
|
1397
|
+
const headerParameters = {};
|
|
1398
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1399
|
+
const token = this.configuration.accessToken;
|
|
1400
|
+
const tokenString = await token("Bearer", []);
|
|
1401
|
+
if (tokenString) {
|
|
1402
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
let urlPath = `/v1/pipelines/packages/{packageName}/publish-status/{packageVersion}`;
|
|
1406
|
+
urlPath = urlPath.replace(`{${"packageName"}}`, encodeURIComponent(String(requestParameters["packageName"])));
|
|
1407
|
+
urlPath = urlPath.replace(`{${"packageVersion"}}`, encodeURIComponent(String(requestParameters["packageVersion"])));
|
|
1408
|
+
const response = await this.request({
|
|
1409
|
+
path: urlPath,
|
|
1410
|
+
method: "GET",
|
|
1411
|
+
headers: headerParameters,
|
|
1412
|
+
query: queryParameters
|
|
1413
|
+
}, initOverrides);
|
|
1414
|
+
return new JSONApiResponse(response, (jsonValue) => PackagePublishResultFromJSON(jsonValue));
|
|
1415
|
+
}
|
|
1416
|
+
async pipelinesGetPackagePublishStatus(requestParameters, initOverrides) {
|
|
1417
|
+
const response = await this.pipelinesGetPackagePublishStatusRaw(requestParameters, initOverrides);
|
|
1418
|
+
return await response.value();
|
|
1419
|
+
}
|
|
1420
|
+
async pipelinesGetPackageVersionRaw(requestParameters, initOverrides) {
|
|
1421
|
+
if (requestParameters["packageName"] == null) {
|
|
1422
|
+
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesGetPackageVersion().');
|
|
1423
|
+
}
|
|
1424
|
+
const queryParameters = {};
|
|
1425
|
+
if (requestParameters["packageVersion"] != null) {
|
|
1426
|
+
queryParameters["packageVersion"] = requestParameters["packageVersion"];
|
|
1427
|
+
}
|
|
1428
|
+
const headerParameters = {};
|
|
1429
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1430
|
+
const token = this.configuration.accessToken;
|
|
1431
|
+
const tokenString = await token("Bearer", []);
|
|
1432
|
+
if (tokenString) {
|
|
1433
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
let urlPath = `/v1/pipelines/packages/{packageName}`;
|
|
1437
|
+
urlPath = urlPath.replace(`{${"packageName"}}`, encodeURIComponent(String(requestParameters["packageName"])));
|
|
1438
|
+
const response = await this.request({
|
|
1439
|
+
path: urlPath,
|
|
1440
|
+
method: "GET",
|
|
1441
|
+
headers: headerParameters,
|
|
1442
|
+
query: queryParameters
|
|
1443
|
+
}, initOverrides);
|
|
1444
|
+
return new JSONApiResponse(response, (jsonValue) => PackageVersionInfoExtendedDtoFromJSON(jsonValue));
|
|
1445
|
+
}
|
|
1446
|
+
async pipelinesGetPackageVersion(requestParameters, initOverrides) {
|
|
1447
|
+
const response = await this.pipelinesGetPackageVersionRaw(requestParameters, initOverrides);
|
|
1448
|
+
return await response.value();
|
|
1449
|
+
}
|
|
1450
|
+
async pipelinesGetPipelineDeploymentStatusRaw(requestParameters, initOverrides) {
|
|
1451
|
+
if (requestParameters["pipelineDeploymentId"] == null) {
|
|
1452
|
+
throw new RequiredError("pipelineDeploymentId", 'Required parameter "pipelineDeploymentId" was null or undefined when calling pipelinesGetPipelineDeploymentStatus().');
|
|
1453
|
+
}
|
|
1454
|
+
const queryParameters = {};
|
|
1455
|
+
const headerParameters = {};
|
|
1456
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1457
|
+
const token = this.configuration.accessToken;
|
|
1458
|
+
const tokenString = await token("Bearer", []);
|
|
1459
|
+
if (tokenString) {
|
|
1460
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
let urlPath = `/v1/pipelines/deployments/{pipelineDeploymentId}/deployment-status`;
|
|
1464
|
+
urlPath = urlPath.replace(`{${"pipelineDeploymentId"}}`, encodeURIComponent(String(requestParameters["pipelineDeploymentId"])));
|
|
1465
|
+
const response = await this.request({
|
|
1466
|
+
path: urlPath,
|
|
1467
|
+
method: "GET",
|
|
1468
|
+
headers: headerParameters,
|
|
1469
|
+
query: queryParameters
|
|
1470
|
+
}, initOverrides);
|
|
1471
|
+
return new JSONApiResponse(response, (jsonValue) => PipelineDeploymentResultFromJSON(jsonValue));
|
|
1472
|
+
}
|
|
1473
|
+
async pipelinesGetPipelineDeploymentStatus(requestParameters, initOverrides) {
|
|
1474
|
+
const response = await this.pipelinesGetPipelineDeploymentStatusRaw(requestParameters, initOverrides);
|
|
1475
|
+
return await response.value();
|
|
1476
|
+
}
|
|
1477
|
+
async pipelinesGetPreActivateStepsRaw(requestParameters, initOverrides) {
|
|
1478
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1479
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesGetPreActivateSteps().');
|
|
1480
|
+
}
|
|
1481
|
+
const queryParameters = {};
|
|
1482
|
+
const headerParameters = {};
|
|
1483
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1484
|
+
const token = this.configuration.accessToken;
|
|
1485
|
+
const tokenString = await token("Bearer", []);
|
|
1486
|
+
if (tokenString) {
|
|
1487
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/pre-activate-steps`;
|
|
1491
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1492
|
+
const response = await this.request({
|
|
1493
|
+
path: urlPath,
|
|
1494
|
+
method: "GET",
|
|
1495
|
+
headers: headerParameters,
|
|
1496
|
+
query: queryParameters
|
|
1497
|
+
}, initOverrides);
|
|
1498
|
+
return new JSONApiResponse(response, (jsonValue) => DeploymentPreActivateStepsDtoFromJSON(jsonValue));
|
|
1499
|
+
}
|
|
1500
|
+
async pipelinesGetPreActivateSteps(requestParameters, initOverrides) {
|
|
1501
|
+
const response = await this.pipelinesGetPreActivateStepsRaw(requestParameters, initOverrides);
|
|
1502
|
+
return await response.value();
|
|
1503
|
+
}
|
|
1504
|
+
async pipelinesGetProjectSyncStatusRaw(requestParameters, initOverrides) {
|
|
1505
|
+
if (requestParameters["projectName"] == null) {
|
|
1506
|
+
throw new RequiredError("projectName", 'Required parameter "projectName" was null or undefined when calling pipelinesGetProjectSyncStatus().');
|
|
1507
|
+
}
|
|
1508
|
+
const queryParameters = {};
|
|
1509
|
+
const headerParameters = {};
|
|
1510
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1511
|
+
const token = this.configuration.accessToken;
|
|
1512
|
+
const tokenString = await token("Bearer", []);
|
|
1513
|
+
if (tokenString) {
|
|
1514
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
let urlPath = `/v1/pipelines/projects/{projectName}/sync-status`;
|
|
1518
|
+
urlPath = urlPath.replace(`{${"projectName"}}`, encodeURIComponent(String(requestParameters["projectName"])));
|
|
1519
|
+
const response = await this.request({
|
|
1520
|
+
path: urlPath,
|
|
1521
|
+
method: "GET",
|
|
1522
|
+
headers: headerParameters,
|
|
1523
|
+
query: queryParameters
|
|
1524
|
+
}, initOverrides);
|
|
1525
|
+
return new JSONApiResponse(response, (jsonValue) => ProjectSynchronizationDtoFromJSON(jsonValue));
|
|
1526
|
+
}
|
|
1527
|
+
async pipelinesGetProjectSyncStatus(requestParameters, initOverrides) {
|
|
1528
|
+
const response = await this.pipelinesGetProjectSyncStatusRaw(requestParameters, initOverrides);
|
|
1529
|
+
return await response.value();
|
|
1530
|
+
}
|
|
1531
|
+
async pipelinesGetSolutionPackageConfigurationRaw(requestParameters, initOverrides) {
|
|
1532
|
+
if (requestParameters["packageName"] == null) {
|
|
1533
|
+
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesGetSolutionPackageConfiguration().');
|
|
1534
|
+
}
|
|
1535
|
+
if (requestParameters["format"] == null) {
|
|
1536
|
+
throw new RequiredError("format", 'Required parameter "format" was null or undefined when calling pipelinesGetSolutionPackageConfiguration().');
|
|
1537
|
+
}
|
|
1538
|
+
const queryParameters = {};
|
|
1539
|
+
if (requestParameters["packageVersion"] != null) {
|
|
1540
|
+
queryParameters["packageVersion"] = requestParameters["packageVersion"];
|
|
1541
|
+
}
|
|
1542
|
+
const headerParameters = {};
|
|
1543
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1544
|
+
const token = this.configuration.accessToken;
|
|
1545
|
+
const tokenString = await token("Bearer", []);
|
|
1546
|
+
if (tokenString) {
|
|
1547
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
let urlPath = `/v1/pipelines/packages/{packageName}/config.{format}`;
|
|
1551
|
+
urlPath = urlPath.replace(`{${"packageName"}}`, encodeURIComponent(String(requestParameters["packageName"])));
|
|
1552
|
+
urlPath = urlPath.replace(`{${"format"}}`, encodeURIComponent(String(requestParameters["format"])));
|
|
1553
|
+
const response = await this.request({
|
|
1554
|
+
path: urlPath,
|
|
1555
|
+
method: "GET",
|
|
1556
|
+
headers: headerParameters,
|
|
1557
|
+
query: queryParameters
|
|
1558
|
+
}, initOverrides);
|
|
1559
|
+
if (this.isJsonMime(response.headers.get("content-type"))) {
|
|
1560
|
+
return new JSONApiResponse(response);
|
|
1561
|
+
} else {
|
|
1562
|
+
return new TextApiResponse(response);
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
async pipelinesGetSolutionPackageConfiguration(requestParameters, initOverrides) {
|
|
1566
|
+
const response = await this.pipelinesGetSolutionPackageConfigurationRaw(requestParameters, initOverrides);
|
|
1567
|
+
return await response.value();
|
|
1568
|
+
}
|
|
1569
|
+
async pipelinesInstallRaw(requestParameters, initOverrides) {
|
|
1570
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1571
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesInstall().');
|
|
1572
|
+
}
|
|
1573
|
+
if (requestParameters["packageName"] == null) {
|
|
1574
|
+
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesInstall().');
|
|
1575
|
+
}
|
|
1576
|
+
if (requestParameters["packageVersion"] == null) {
|
|
1577
|
+
throw new RequiredError("packageVersion", 'Required parameter "packageVersion" was null or undefined when calling pipelinesInstall().');
|
|
1578
|
+
}
|
|
1579
|
+
if (requestParameters["solutionRootFolderName"] == null) {
|
|
1580
|
+
throw new RequiredError("solutionRootFolderName", 'Required parameter "solutionRootFolderName" was null or undefined when calling pipelinesInstall().');
|
|
1581
|
+
}
|
|
1582
|
+
const queryParameters = {};
|
|
1583
|
+
if (requestParameters["folderFullyQualifiedName"] != null) {
|
|
1584
|
+
queryParameters["folderFullyQualifiedName"] = requestParameters["folderFullyQualifiedName"];
|
|
1585
|
+
}
|
|
1586
|
+
const headerParameters = {};
|
|
1587
|
+
headerParameters["Content-Type"] = "application/json";
|
|
1588
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1589
|
+
const token = this.configuration.accessToken;
|
|
1590
|
+
const tokenString = await token("Bearer", []);
|
|
1591
|
+
if (tokenString) {
|
|
1592
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/deploy-from-package/{packageName}/{packageVersion}/to-folder/{solutionRootFolderName}`;
|
|
1596
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1597
|
+
urlPath = urlPath.replace(`{${"packageName"}}`, encodeURIComponent(String(requestParameters["packageName"])));
|
|
1598
|
+
urlPath = urlPath.replace(`{${"packageVersion"}}`, encodeURIComponent(String(requestParameters["packageVersion"])));
|
|
1599
|
+
urlPath = urlPath.replace(`{${"solutionRootFolderName"}}`, encodeURIComponent(String(requestParameters["solutionRootFolderName"])));
|
|
1600
|
+
const response = await this.request({
|
|
1601
|
+
path: urlPath,
|
|
1602
|
+
method: "POST",
|
|
1603
|
+
headers: headerParameters,
|
|
1604
|
+
query: queryParameters,
|
|
1605
|
+
body: requestParameters["body"]
|
|
1606
|
+
}, initOverrides);
|
|
1607
|
+
return new JSONApiResponse(response, (jsonValue) => PipelineDeploymentResultRefFromJSON(jsonValue));
|
|
1608
|
+
}
|
|
1609
|
+
async pipelinesInstall(requestParameters, initOverrides) {
|
|
1610
|
+
const response = await this.pipelinesInstallRaw(requestParameters, initOverrides);
|
|
1611
|
+
return await response.value();
|
|
1612
|
+
}
|
|
1613
|
+
async pipelinesPackageDeleteRaw(requestParameters, initOverrides) {
|
|
1614
|
+
if (requestParameters["packageName"] == null) {
|
|
1615
|
+
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesPackageDelete().');
|
|
1616
|
+
}
|
|
1617
|
+
if (requestParameters["packageVersion"] == null) {
|
|
1618
|
+
throw new RequiredError("packageVersion", 'Required parameter "packageVersion" was null or undefined when calling pipelinesPackageDelete().');
|
|
1619
|
+
}
|
|
1620
|
+
const queryParameters = {};
|
|
1621
|
+
const headerParameters = {};
|
|
1622
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1623
|
+
const token = this.configuration.accessToken;
|
|
1624
|
+
const tokenString = await token("Bearer", []);
|
|
1625
|
+
if (tokenString) {
|
|
1626
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
let urlPath = `/v1/pipelines/packages/{packageName}/{packageVersion}`;
|
|
1630
|
+
urlPath = urlPath.replace(`{${"packageName"}}`, encodeURIComponent(String(requestParameters["packageName"])));
|
|
1631
|
+
urlPath = urlPath.replace(`{${"packageVersion"}}`, encodeURIComponent(String(requestParameters["packageVersion"])));
|
|
1632
|
+
const response = await this.request({
|
|
1633
|
+
path: urlPath,
|
|
1634
|
+
method: "DELETE",
|
|
1635
|
+
headers: headerParameters,
|
|
1636
|
+
query: queryParameters
|
|
1637
|
+
}, initOverrides);
|
|
1638
|
+
return new VoidApiResponse(response);
|
|
1639
|
+
}
|
|
1640
|
+
async pipelinesPackageDelete(requestParameters, initOverrides) {
|
|
1641
|
+
await this.pipelinesPackageDeleteRaw(requestParameters, initOverrides);
|
|
1642
|
+
}
|
|
1643
|
+
async pipelinesPackageDownloadRaw(requestParameters, initOverrides) {
|
|
1644
|
+
if (requestParameters["packageName"] == null) {
|
|
1645
|
+
throw new RequiredError("packageName", 'Required parameter "packageName" was null or undefined when calling pipelinesPackageDownload().');
|
|
1646
|
+
}
|
|
1647
|
+
const queryParameters = {};
|
|
1648
|
+
if (requestParameters["packageVersion"] != null) {
|
|
1649
|
+
queryParameters["packageVersion"] = requestParameters["packageVersion"];
|
|
1650
|
+
}
|
|
1651
|
+
const headerParameters = {};
|
|
1652
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1653
|
+
const token = this.configuration.accessToken;
|
|
1654
|
+
const tokenString = await token("Bearer", []);
|
|
1655
|
+
if (tokenString) {
|
|
1656
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
let urlPath = `/v1/pipelines/packages/{packageName}/download`;
|
|
1660
|
+
urlPath = urlPath.replace(`{${"packageName"}}`, encodeURIComponent(String(requestParameters["packageName"])));
|
|
1661
|
+
const response = await this.request({
|
|
1662
|
+
path: urlPath,
|
|
1663
|
+
method: "GET",
|
|
1664
|
+
headers: headerParameters,
|
|
1665
|
+
query: queryParameters
|
|
1666
|
+
}, initOverrides);
|
|
1667
|
+
return new JSONApiResponse(response, (jsonValue) => BlobFileAccessDtoFromJSON(jsonValue));
|
|
1668
|
+
}
|
|
1669
|
+
async pipelinesPackageDownload(requestParameters, initOverrides) {
|
|
1670
|
+
const response = await this.pipelinesPackageDownloadRaw(requestParameters, initOverrides);
|
|
1671
|
+
return await response.value();
|
|
1672
|
+
}
|
|
1673
|
+
async pipelinesPackageUploadRaw(requestParameters, initOverrides) {
|
|
1674
|
+
const queryParameters = {};
|
|
1675
|
+
if (requestParameters["locationKey"] != null) {
|
|
1676
|
+
queryParameters["locationKey"] = requestParameters["locationKey"];
|
|
1677
|
+
}
|
|
1678
|
+
const headerParameters = {};
|
|
1679
|
+
headerParameters["Content-Type"] = "application/zip";
|
|
1680
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1681
|
+
const token = this.configuration.accessToken;
|
|
1682
|
+
const tokenString = await token("Bearer", []);
|
|
1683
|
+
if (tokenString) {
|
|
1684
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
let urlPath = `/v2/pipelines/packages`;
|
|
1688
|
+
const response = await this.request({
|
|
1689
|
+
path: urlPath,
|
|
1690
|
+
method: "POST",
|
|
1691
|
+
headers: headerParameters,
|
|
1692
|
+
query: queryParameters,
|
|
1693
|
+
body: requestParameters["body"]
|
|
1694
|
+
}, initOverrides);
|
|
1695
|
+
return new JSONApiResponse(response, (jsonValue) => PackageVersionInfoDtoFromJSON(jsonValue));
|
|
1696
|
+
}
|
|
1697
|
+
async pipelinesPackageUpload(requestParameters = {}, initOverrides) {
|
|
1698
|
+
const response = await this.pipelinesPackageUploadRaw(requestParameters, initOverrides);
|
|
1699
|
+
return await response.value();
|
|
1700
|
+
}
|
|
1701
|
+
async pipelinesPublishProjectRaw(requestParameters, initOverrides) {
|
|
1702
|
+
if (requestParameters["projectName"] == null) {
|
|
1703
|
+
throw new RequiredError("projectName", 'Required parameter "projectName" was null or undefined when calling pipelinesPublishProject().');
|
|
1704
|
+
}
|
|
1705
|
+
if (requestParameters["publishProjectRequest"] == null) {
|
|
1706
|
+
throw new RequiredError("publishProjectRequest", 'Required parameter "publishProjectRequest" was null or undefined when calling pipelinesPublishProject().');
|
|
1707
|
+
}
|
|
1708
|
+
const queryParameters = {};
|
|
1709
|
+
const headerParameters = {};
|
|
1710
|
+
headerParameters["Content-Type"] = "application/json";
|
|
1711
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1712
|
+
const token = this.configuration.accessToken;
|
|
1713
|
+
const tokenString = await token("Bearer", []);
|
|
1714
|
+
if (tokenString) {
|
|
1715
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
let urlPath = `/v1/pipelines/projects/{projectName}/publish`;
|
|
1719
|
+
urlPath = urlPath.replace(`{${"projectName"}}`, encodeURIComponent(String(requestParameters["projectName"])));
|
|
1720
|
+
const response = await this.request({
|
|
1721
|
+
path: urlPath,
|
|
1722
|
+
method: "POST",
|
|
1723
|
+
headers: headerParameters,
|
|
1724
|
+
query: queryParameters,
|
|
1725
|
+
body: PublishProjectRequestToJSON(requestParameters["publishProjectRequest"])
|
|
1726
|
+
}, initOverrides);
|
|
1727
|
+
return new BlobApiResponse(response);
|
|
1728
|
+
}
|
|
1729
|
+
async pipelinesPublishProject(requestParameters, initOverrides) {
|
|
1730
|
+
const response = await this.pipelinesPublishProjectRaw(requestParameters, initOverrides);
|
|
1731
|
+
return await response.value();
|
|
1732
|
+
}
|
|
1733
|
+
async pipelinesSearchDeploymentsRaw(requestParameters, initOverrides) {
|
|
1734
|
+
if (requestParameters["pipelineDeploymentsSearchRequest"] == null) {
|
|
1735
|
+
throw new RequiredError("pipelineDeploymentsSearchRequest", 'Required parameter "pipelineDeploymentsSearchRequest" was null or undefined when calling pipelinesSearchDeployments().');
|
|
1736
|
+
}
|
|
1737
|
+
const queryParameters = {};
|
|
1738
|
+
const headerParameters = {};
|
|
1739
|
+
headerParameters["Content-Type"] = "application/json";
|
|
1740
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1741
|
+
const token = this.configuration.accessToken;
|
|
1742
|
+
const tokenString = await token("Bearer", []);
|
|
1743
|
+
if (tokenString) {
|
|
1744
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
let urlPath = `/v1/pipelines/deployments/search`;
|
|
1748
|
+
const response = await this.request({
|
|
1749
|
+
path: urlPath,
|
|
1750
|
+
method: "POST",
|
|
1751
|
+
headers: headerParameters,
|
|
1752
|
+
query: queryParameters,
|
|
1753
|
+
body: PipelineDeploymentsSearchRequestToJSON(requestParameters["pipelineDeploymentsSearchRequest"])
|
|
1754
|
+
}, initOverrides);
|
|
1755
|
+
return new JSONApiResponse(response, (jsonValue) => PageInfoDtoOfDeploymentSearchItemDtoFromJSON(jsonValue));
|
|
1756
|
+
}
|
|
1757
|
+
async pipelinesSearchDeployments(requestParameters, initOverrides) {
|
|
1758
|
+
const response = await this.pipelinesSearchDeploymentsRaw(requestParameters, initOverrides);
|
|
1759
|
+
return await response.value();
|
|
1760
|
+
}
|
|
1761
|
+
async pipelinesSearchPackagesRaw(requestParameters, initOverrides) {
|
|
1762
|
+
if (requestParameters["pipelinePackagesSearchRequest"] == null) {
|
|
1763
|
+
throw new RequiredError("pipelinePackagesSearchRequest", 'Required parameter "pipelinePackagesSearchRequest" was null or undefined when calling pipelinesSearchPackages().');
|
|
1764
|
+
}
|
|
1765
|
+
const queryParameters = {};
|
|
1766
|
+
const headerParameters = {};
|
|
1767
|
+
headerParameters["Content-Type"] = "application/json";
|
|
1768
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1769
|
+
const token = this.configuration.accessToken;
|
|
1770
|
+
const tokenString = await token("Bearer", []);
|
|
1771
|
+
if (tokenString) {
|
|
1772
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
let urlPath = `/v1/pipelines/packages/search`;
|
|
1776
|
+
const response = await this.request({
|
|
1777
|
+
path: urlPath,
|
|
1778
|
+
method: "POST",
|
|
1779
|
+
headers: headerParameters,
|
|
1780
|
+
query: queryParameters,
|
|
1781
|
+
body: PipelinePackagesSearchRequestToJSON(requestParameters["pipelinePackagesSearchRequest"])
|
|
1782
|
+
}, initOverrides);
|
|
1783
|
+
return new JSONApiResponse(response, (jsonValue) => PageInfoDtoOfPackageInfoFromJSON(jsonValue));
|
|
1784
|
+
}
|
|
1785
|
+
async pipelinesSearchPackages(requestParameters, initOverrides) {
|
|
1786
|
+
const response = await this.pipelinesSearchPackagesRaw(requestParameters, initOverrides);
|
|
1787
|
+
return await response.value();
|
|
1788
|
+
}
|
|
1789
|
+
async pipelinesSyncProjectRaw(requestParameters, initOverrides) {
|
|
1790
|
+
if (requestParameters["projectName"] == null) {
|
|
1791
|
+
throw new RequiredError("projectName", 'Required parameter "projectName" was null or undefined when calling pipelinesSyncProject().');
|
|
1792
|
+
}
|
|
1793
|
+
if (requestParameters["syncProjectOptions"] == null) {
|
|
1794
|
+
throw new RequiredError("syncProjectOptions", 'Required parameter "syncProjectOptions" was null or undefined when calling pipelinesSyncProject().');
|
|
1795
|
+
}
|
|
1796
|
+
const queryParameters = {};
|
|
1797
|
+
const headerParameters = {};
|
|
1798
|
+
headerParameters["Content-Type"] = "application/json";
|
|
1799
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1800
|
+
const token = this.configuration.accessToken;
|
|
1801
|
+
const tokenString = await token("Bearer", []);
|
|
1802
|
+
if (tokenString) {
|
|
1803
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
let urlPath = `/v1/pipelines/projects/{projectName}/sync`;
|
|
1807
|
+
urlPath = urlPath.replace(`{${"projectName"}}`, encodeURIComponent(String(requestParameters["projectName"])));
|
|
1808
|
+
const response = await this.request({
|
|
1809
|
+
path: urlPath,
|
|
1810
|
+
method: "POST",
|
|
1811
|
+
headers: headerParameters,
|
|
1812
|
+
query: queryParameters,
|
|
1813
|
+
body: SyncProjectOptionsToJSON(requestParameters["syncProjectOptions"])
|
|
1814
|
+
}, initOverrides);
|
|
1815
|
+
return new BlobApiResponse(response);
|
|
1816
|
+
}
|
|
1817
|
+
async pipelinesSyncProject(requestParameters, initOverrides) {
|
|
1818
|
+
const response = await this.pipelinesSyncProjectRaw(requestParameters, initOverrides);
|
|
1819
|
+
return await response.value();
|
|
1820
|
+
}
|
|
1821
|
+
async pipelinesUninstallRaw(requestParameters, initOverrides) {
|
|
1822
|
+
if (requestParameters["deploymentName"] == null) {
|
|
1823
|
+
throw new RequiredError("deploymentName", 'Required parameter "deploymentName" was null or undefined when calling pipelinesUninstall().');
|
|
1824
|
+
}
|
|
1825
|
+
const queryParameters = {};
|
|
1826
|
+
if (requestParameters["forceUninstall"] != null) {
|
|
1827
|
+
queryParameters["forceUninstall"] = requestParameters["forceUninstall"];
|
|
1828
|
+
}
|
|
1829
|
+
const headerParameters = {};
|
|
1830
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1831
|
+
const token = this.configuration.accessToken;
|
|
1832
|
+
const tokenString = await token("Bearer", []);
|
|
1833
|
+
if (tokenString) {
|
|
1834
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
let urlPath = `/v1/pipelines/deployments/{deploymentName}/uninstall`;
|
|
1838
|
+
urlPath = urlPath.replace(`{${"deploymentName"}}`, encodeURIComponent(String(requestParameters["deploymentName"])));
|
|
1839
|
+
const response = await this.request({
|
|
1840
|
+
path: urlPath,
|
|
1841
|
+
method: "POST",
|
|
1842
|
+
headers: headerParameters,
|
|
1843
|
+
query: queryParameters
|
|
1844
|
+
}, initOverrides);
|
|
1845
|
+
return new JSONApiResponse(response, (jsonValue) => DeploymentRunResponseFromJSON(jsonValue));
|
|
1846
|
+
}
|
|
1847
|
+
async pipelinesUninstall(requestParameters, initOverrides) {
|
|
1848
|
+
const response = await this.pipelinesUninstallRaw(requestParameters, initOverrides);
|
|
1849
|
+
return await response.value();
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
// ../solution-sdk/generated/src/runtime.ts
|
|
1853
|
+
var BASE_PATH2 = "https://alpha.uipath.com/uipattycyrhx/abizon_1/automationsolutions_".replace(/\/+$/, "");
|
|
1854
|
+
|
|
1855
|
+
class Configuration2 {
|
|
1856
|
+
configuration;
|
|
1857
|
+
constructor(configuration = {}) {
|
|
1858
|
+
this.configuration = configuration;
|
|
1859
|
+
}
|
|
1860
|
+
set config(configuration) {
|
|
1861
|
+
this.configuration = configuration;
|
|
1862
|
+
}
|
|
1863
|
+
get basePath() {
|
|
1864
|
+
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH2;
|
|
1865
|
+
}
|
|
1866
|
+
get fetchApi() {
|
|
1867
|
+
return this.configuration.fetchApi;
|
|
1868
|
+
}
|
|
1869
|
+
get middleware() {
|
|
1870
|
+
return this.configuration.middleware || [];
|
|
1871
|
+
}
|
|
1872
|
+
get queryParamsStringify() {
|
|
1873
|
+
return this.configuration.queryParamsStringify || querystring2;
|
|
1874
|
+
}
|
|
1875
|
+
get username() {
|
|
1876
|
+
return this.configuration.username;
|
|
1877
|
+
}
|
|
1878
|
+
get password() {
|
|
1879
|
+
return this.configuration.password;
|
|
1880
|
+
}
|
|
1881
|
+
get apiKey() {
|
|
1882
|
+
const apiKey = this.configuration.apiKey;
|
|
1883
|
+
if (apiKey) {
|
|
1884
|
+
return typeof apiKey === "function" ? apiKey : () => apiKey;
|
|
1885
|
+
}
|
|
1886
|
+
return;
|
|
1887
|
+
}
|
|
1888
|
+
get accessToken() {
|
|
1889
|
+
const accessToken = this.configuration.accessToken;
|
|
1890
|
+
if (accessToken) {
|
|
1891
|
+
return typeof accessToken === "function" ? accessToken : async () => accessToken;
|
|
1892
|
+
}
|
|
1893
|
+
return;
|
|
1894
|
+
}
|
|
1895
|
+
get headers() {
|
|
1896
|
+
return this.configuration.headers;
|
|
1897
|
+
}
|
|
1898
|
+
get credentials() {
|
|
1899
|
+
return this.configuration.credentials;
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
var DefaultConfig2 = new Configuration2;
|
|
1903
|
+
|
|
1904
|
+
class BaseAPI2 {
|
|
1905
|
+
configuration;
|
|
1906
|
+
static jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i");
|
|
1907
|
+
middleware;
|
|
1908
|
+
constructor(configuration = DefaultConfig2) {
|
|
1909
|
+
this.configuration = configuration;
|
|
1910
|
+
this.middleware = configuration.middleware;
|
|
1911
|
+
}
|
|
1912
|
+
withMiddleware(...middlewares) {
|
|
1913
|
+
const next = this.clone();
|
|
1914
|
+
next.middleware = next.middleware.concat(...middlewares);
|
|
1915
|
+
return next;
|
|
1916
|
+
}
|
|
1917
|
+
withPreMiddleware(...preMiddlewares) {
|
|
1918
|
+
const middlewares = preMiddlewares.map((pre) => ({ pre }));
|
|
1919
|
+
return this.withMiddleware(...middlewares);
|
|
1920
|
+
}
|
|
1921
|
+
withPostMiddleware(...postMiddlewares) {
|
|
1922
|
+
const middlewares = postMiddlewares.map((post) => ({ post }));
|
|
1923
|
+
return this.withMiddleware(...middlewares);
|
|
1924
|
+
}
|
|
1925
|
+
isJsonMime(mime) {
|
|
1926
|
+
if (!mime) {
|
|
1927
|
+
return false;
|
|
1928
|
+
}
|
|
1929
|
+
return BaseAPI2.jsonRegex.test(mime);
|
|
1930
|
+
}
|
|
1931
|
+
async request(context, initOverrides) {
|
|
1932
|
+
const { url, init } = await this.createFetchParams(context, initOverrides);
|
|
1933
|
+
const response = await this.fetchApi(url, init);
|
|
1934
|
+
if (response && (response.status >= 200 && response.status < 300)) {
|
|
1935
|
+
return response;
|
|
1936
|
+
}
|
|
1937
|
+
throw new ResponseError2(response, "Response returned an error code");
|
|
1938
|
+
}
|
|
1939
|
+
async createFetchParams(context, initOverrides) {
|
|
1940
|
+
let url = this.configuration.basePath + context.path;
|
|
1941
|
+
if (context.query !== undefined && Object.keys(context.query).length !== 0) {
|
|
1942
|
+
url += "?" + this.configuration.queryParamsStringify(context.query);
|
|
1943
|
+
}
|
|
1944
|
+
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
1945
|
+
Object.keys(headers).forEach((key) => headers[key] === undefined ? delete headers[key] : {});
|
|
1946
|
+
const initOverrideFn = typeof initOverrides === "function" ? initOverrides : async () => initOverrides;
|
|
1947
|
+
const initParams = {
|
|
1948
|
+
method: context.method,
|
|
1949
|
+
headers,
|
|
1950
|
+
body: context.body,
|
|
1951
|
+
credentials: this.configuration.credentials
|
|
1952
|
+
};
|
|
1953
|
+
const overriddenInit = {
|
|
1954
|
+
...initParams,
|
|
1955
|
+
...await initOverrideFn({
|
|
1956
|
+
init: initParams,
|
|
1957
|
+
context
|
|
1958
|
+
})
|
|
1959
|
+
};
|
|
1960
|
+
let body;
|
|
1961
|
+
if (isFormData2(overriddenInit.body) || overriddenInit.body instanceof URLSearchParams || isBlob2(overriddenInit.body)) {
|
|
1962
|
+
body = overriddenInit.body;
|
|
1963
|
+
} else if (this.isJsonMime(headers["Content-Type"])) {
|
|
1964
|
+
body = JSON.stringify(overriddenInit.body);
|
|
1965
|
+
} else {
|
|
1966
|
+
body = overriddenInit.body;
|
|
1967
|
+
}
|
|
1968
|
+
const init = {
|
|
1969
|
+
...overriddenInit,
|
|
1970
|
+
body
|
|
1971
|
+
};
|
|
1972
|
+
return { url, init };
|
|
1973
|
+
}
|
|
1974
|
+
fetchApi = async (url, init) => {
|
|
1975
|
+
let fetchParams = { url, init };
|
|
1976
|
+
for (const middleware of this.middleware) {
|
|
1977
|
+
if (middleware.pre) {
|
|
1978
|
+
fetchParams = await middleware.pre({
|
|
1979
|
+
fetch: this.fetchApi,
|
|
1980
|
+
...fetchParams
|
|
1981
|
+
}) || fetchParams;
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
let response = undefined;
|
|
1985
|
+
try {
|
|
1986
|
+
response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
|
|
1987
|
+
} catch (e) {
|
|
1988
|
+
for (const middleware of this.middleware) {
|
|
1989
|
+
if (middleware.onError) {
|
|
1990
|
+
response = await middleware.onError({
|
|
1991
|
+
fetch: this.fetchApi,
|
|
1992
|
+
url: fetchParams.url,
|
|
1993
|
+
init: fetchParams.init,
|
|
1994
|
+
error: e,
|
|
1995
|
+
response: response ? response.clone() : undefined
|
|
1996
|
+
}) || response;
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
if (response === undefined) {
|
|
2000
|
+
if (e instanceof Error) {
|
|
2001
|
+
throw new FetchError2(e, "The request failed and the interceptors did not return an alternative response");
|
|
2002
|
+
} else {
|
|
2003
|
+
throw e;
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
for (const middleware of this.middleware) {
|
|
2008
|
+
if (middleware.post) {
|
|
2009
|
+
response = await middleware.post({
|
|
2010
|
+
fetch: this.fetchApi,
|
|
2011
|
+
url: fetchParams.url,
|
|
2012
|
+
init: fetchParams.init,
|
|
2013
|
+
response: response.clone()
|
|
2014
|
+
}) || response;
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
return response;
|
|
2018
|
+
};
|
|
2019
|
+
clone() {
|
|
2020
|
+
const constructor = this.constructor;
|
|
2021
|
+
const next = new constructor(this.configuration);
|
|
2022
|
+
next.middleware = this.middleware.slice();
|
|
2023
|
+
return next;
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
function isBlob2(value) {
|
|
2027
|
+
return typeof Blob !== "undefined" && value instanceof Blob;
|
|
2028
|
+
}
|
|
2029
|
+
function isFormData2(value) {
|
|
2030
|
+
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
class ResponseError2 extends Error {
|
|
2034
|
+
response;
|
|
2035
|
+
name = "ResponseError";
|
|
2036
|
+
constructor(response, msg) {
|
|
2037
|
+
super(msg);
|
|
2038
|
+
this.response = response;
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
class FetchError2 extends Error {
|
|
2043
|
+
cause;
|
|
2044
|
+
name = "FetchError";
|
|
2045
|
+
constructor(cause, msg) {
|
|
2046
|
+
super(msg);
|
|
2047
|
+
this.cause = cause;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
class RequiredError2 extends Error {
|
|
2052
|
+
field;
|
|
2053
|
+
name = "RequiredError";
|
|
2054
|
+
constructor(field, msg) {
|
|
2055
|
+
super(msg);
|
|
2056
|
+
this.field = field;
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
function querystring2(params, prefix = "") {
|
|
2060
|
+
return Object.keys(params).map((key) => querystringSingleKey2(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
|
|
2061
|
+
}
|
|
2062
|
+
function querystringSingleKey2(key, value, keyPrefix = "") {
|
|
2063
|
+
const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
|
|
2064
|
+
if (value instanceof Array) {
|
|
2065
|
+
const multiValue = value.map((singleValue) => encodeURIComponent(String(singleValue))).join(`&${encodeURIComponent(fullKey)}=`);
|
|
2066
|
+
return `${encodeURIComponent(fullKey)}=${multiValue}`;
|
|
2067
|
+
}
|
|
2068
|
+
if (value instanceof Set) {
|
|
2069
|
+
const valueAsArray = Array.from(value);
|
|
2070
|
+
return querystringSingleKey2(key, valueAsArray, keyPrefix);
|
|
2071
|
+
}
|
|
2072
|
+
if (value instanceof Date) {
|
|
2073
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
|
|
2074
|
+
}
|
|
2075
|
+
if (value instanceof Object) {
|
|
2076
|
+
return querystring2(value, fullKey);
|
|
2077
|
+
}
|
|
2078
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
2079
|
+
}
|
|
2080
|
+
class JSONApiResponse2 {
|
|
2081
|
+
raw;
|
|
2082
|
+
transformer;
|
|
2083
|
+
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
2084
|
+
this.raw = raw;
|
|
2085
|
+
this.transformer = transformer;
|
|
2086
|
+
}
|
|
2087
|
+
async value() {
|
|
2088
|
+
return this.transformer(await this.raw.json());
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
// ../solution-sdk/generated/src/models/DeploymentActivationStatus.ts
|
|
2092
|
+
function DeploymentActivationStatusFromJSON2(json) {
|
|
2093
|
+
return DeploymentActivationStatusFromJSONTyped6(json, false);
|
|
2094
|
+
}
|
|
2095
|
+
function DeploymentActivationStatusFromJSONTyped6(json, ignoreDiscriminator) {
|
|
2096
|
+
return json;
|
|
2097
|
+
}
|
|
2098
|
+
function DeploymentActivationStatusToJSON2(value) {
|
|
2099
|
+
return value;
|
|
2100
|
+
}
|
|
2101
|
+
// ../solution-sdk/generated/src/models/WorkflowAction.ts
|
|
2102
|
+
function WorkflowActionFromJSON2(json) {
|
|
2103
|
+
return WorkflowActionFromJSONTyped4(json, false);
|
|
2104
|
+
}
|
|
2105
|
+
function WorkflowActionFromJSONTyped4(json, ignoreDiscriminator) {
|
|
2106
|
+
return json;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
// ../solution-sdk/generated/src/models/DeploymentOperation.ts
|
|
2110
|
+
function DeploymentOperationFromJSON2(json) {
|
|
2111
|
+
return DeploymentOperationFromJSONTyped7(json, false);
|
|
2112
|
+
}
|
|
2113
|
+
function DeploymentOperationFromJSONTyped7(json, ignoreDiscriminator) {
|
|
2114
|
+
return json;
|
|
2115
|
+
}
|
|
2116
|
+
function DeploymentOperationToJSON2(value) {
|
|
2117
|
+
return value;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
// ../solution-sdk/generated/src/models/PackageVersionOrigin.ts
|
|
2121
|
+
function PackageVersionOriginFromJSON2(json) {
|
|
2122
|
+
return PackageVersionOriginFromJSONTyped4(json, false);
|
|
2123
|
+
}
|
|
2124
|
+
function PackageVersionOriginFromJSONTyped4(json, ignoreDiscriminator) {
|
|
2125
|
+
return json;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
// ../solution-sdk/generated/src/models/DeploymentOperationStatus.ts
|
|
2129
|
+
function DeploymentOperationStatusFromJSON2(json) {
|
|
2130
|
+
return DeploymentOperationStatusFromJSONTyped7(json, false);
|
|
2131
|
+
}
|
|
2132
|
+
function DeploymentOperationStatusFromJSONTyped7(json, ignoreDiscriminator) {
|
|
2133
|
+
return json;
|
|
2134
|
+
}
|
|
2135
|
+
function DeploymentOperationStatusToJSON2(value) {
|
|
2136
|
+
return value;
|
|
2137
|
+
}
|
|
2138
|
+
// ../solution-sdk/generated/src/models/DeploymentType.ts
|
|
2139
|
+
function DeploymentTypeFromJSON2(json) {
|
|
2140
|
+
return DeploymentTypeFromJSONTyped3(json, false);
|
|
2141
|
+
}
|
|
2142
|
+
function DeploymentTypeFromJSONTyped3(json, ignoreDiscriminator) {
|
|
2143
|
+
return json;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
// ../solution-sdk/generated/src/models/DeploymentSearchItemDto2.ts
|
|
2147
|
+
function DeploymentSearchItemDto2FromJSON(json) {
|
|
2148
|
+
return DeploymentSearchItemDto2FromJSONTyped(json, false);
|
|
2149
|
+
}
|
|
2150
|
+
function DeploymentSearchItemDto2FromJSONTyped(json, ignoreDiscriminator) {
|
|
2151
|
+
if (json == null) {
|
|
2152
|
+
return json;
|
|
2153
|
+
}
|
|
2154
|
+
return {
|
|
2155
|
+
key: json["key"],
|
|
2156
|
+
installDeploymentKey: json["installDeploymentKey"],
|
|
2157
|
+
instanceId: json["instanceId"] == null ? undefined : json["instanceId"],
|
|
2158
|
+
configurationKey: json["configurationKey"],
|
|
2159
|
+
packageVersionKey: json["packageVersionKey"],
|
|
2160
|
+
packageKey: json["packageKey"],
|
|
2161
|
+
packageName: json["packageName"],
|
|
2162
|
+
packageVersion: json["packageVersion"],
|
|
2163
|
+
currentPackageVersion: json["currentPackageVersion"] == null ? undefined : json["currentPackageVersion"],
|
|
2164
|
+
targetPackageVersion: json["targetPackageVersion"] == null ? undefined : json["targetPackageVersion"],
|
|
2165
|
+
packageVersionOrigin: PackageVersionOriginFromJSON2(json["packageVersionOrigin"]),
|
|
2166
|
+
folderPath: json["folderPath"] == null ? undefined : json["folderPath"],
|
|
2167
|
+
installedRootFolderKey: json["installedRootFolderKey"] == null ? undefined : json["installedRootFolderKey"],
|
|
2168
|
+
installedRootFolderName: json["installedRootFolderName"] == null ? undefined : json["installedRootFolderName"],
|
|
2169
|
+
deploymentCreationTime: new Date(json["deploymentCreationTime"]),
|
|
2170
|
+
startTime: json["startTime"] == null ? undefined : new Date(json["startTime"]),
|
|
2171
|
+
endTime: json["endTime"] == null ? undefined : new Date(json["endTime"]),
|
|
2172
|
+
actions: json["actions"].map(WorkflowActionFromJSON2),
|
|
2173
|
+
name: json["name"],
|
|
2174
|
+
type: DeploymentTypeFromJSON2(json["type"]),
|
|
2175
|
+
operation: DeploymentOperationFromJSON2(json["operation"]),
|
|
2176
|
+
operationStatus: DeploymentOperationStatusFromJSON2(json["operationStatus"]),
|
|
2177
|
+
activationStatus: DeploymentActivationStatusFromJSON2(json["activationStatus"]),
|
|
2178
|
+
newPackageVersionAvailable: json["newPackageVersionAvailable"] == null ? undefined : json["newPackageVersionAvailable"],
|
|
2179
|
+
packageVersionDescription: json["packageVersionDescription"] == null ? undefined : json["packageVersionDescription"],
|
|
2180
|
+
packageVersionReleaseNotes: json["packageVersionReleaseNotes"] == null ? undefined : json["packageVersionReleaseNotes"],
|
|
2181
|
+
authorName: json["authorName"],
|
|
2182
|
+
previousDeploymentKey: json["previousDeploymentKey"] == null ? undefined : json["previousDeploymentKey"],
|
|
2183
|
+
previousInstanceId: json["previousInstanceId"] == null ? undefined : json["previousInstanceId"]
|
|
2184
|
+
};
|
|
2185
|
+
}
|
|
2186
|
+
// ../solution-sdk/generated/src/models/OrderByDirection.ts
|
|
2187
|
+
function OrderByDirectionToJSON2(value) {
|
|
2188
|
+
return value;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
// ../solution-sdk/generated/src/models/DeploymentsSearchRequest2.ts
|
|
2192
|
+
function DeploymentsSearchRequest2ToJSON(json) {
|
|
2193
|
+
return DeploymentsSearchRequest2ToJSONTyped(json, false);
|
|
2194
|
+
}
|
|
2195
|
+
function DeploymentsSearchRequest2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2196
|
+
if (value == null) {
|
|
2197
|
+
return value;
|
|
2198
|
+
}
|
|
2199
|
+
return {
|
|
2200
|
+
orderByColumn: value["orderByColumn"],
|
|
2201
|
+
orderByDirection: OrderByDirectionToJSON2(value["orderByDirection"]),
|
|
2202
|
+
searchTerm: value["searchTerm"],
|
|
2203
|
+
skip: value["skip"],
|
|
2204
|
+
take: value["take"],
|
|
2205
|
+
operationStatuses: value["operationStatuses"].map(DeploymentOperationStatusToJSON2),
|
|
2206
|
+
operation: DeploymentOperationToJSON2(value["operation"]),
|
|
2207
|
+
activationStatuses: value["activationStatuses"].map(DeploymentActivationStatusToJSON2),
|
|
2208
|
+
packageName: value["packageName"],
|
|
2209
|
+
packageVersion: value["packageVersion"],
|
|
2210
|
+
currentPackageVersion: value["currentPackageVersion"],
|
|
2211
|
+
targetPackageVersion: value["targetPackageVersion"],
|
|
2212
|
+
targetFolderName: value["targetFolderName"],
|
|
2213
|
+
packageVersionKey: value["packageVersionKey"]
|
|
2214
|
+
};
|
|
2215
|
+
}
|
|
2216
|
+
// ../solution-sdk/generated/src/models/ExtendedPackageVersionState.ts
|
|
2217
|
+
function ExtendedPackageVersionStateFromJSON2(json) {
|
|
2218
|
+
return ExtendedPackageVersionStateFromJSONTyped5(json, false);
|
|
2219
|
+
}
|
|
2220
|
+
function ExtendedPackageVersionStateFromJSONTyped5(json, ignoreDiscriminator) {
|
|
2221
|
+
return json;
|
|
2222
|
+
}
|
|
2223
|
+
// ../solution-sdk/generated/src/models/PackageInfo.ts
|
|
2224
|
+
function PackageInfoFromJSON2(json) {
|
|
2225
|
+
return PackageInfoFromJSONTyped3(json, false);
|
|
2226
|
+
}
|
|
2227
|
+
function PackageInfoFromJSONTyped3(json, ignoreDiscriminator) {
|
|
2228
|
+
if (json == null) {
|
|
2229
|
+
return json;
|
|
2230
|
+
}
|
|
2231
|
+
return {
|
|
2232
|
+
key: json["key"],
|
|
2233
|
+
name: json["name"],
|
|
2234
|
+
latestVersion: json["latestVersion"],
|
|
2235
|
+
packageVersionKey: json["packageVersionKey"],
|
|
2236
|
+
authorName: json["authorName"],
|
|
2237
|
+
authorEmail: json["authorEmail"] == null ? undefined : json["authorEmail"],
|
|
2238
|
+
publishDate: new Date(json["publishDate"]),
|
|
2239
|
+
description: json["description"] == null ? undefined : json["description"],
|
|
2240
|
+
releaseNotes: json["releaseNotes"] == null ? undefined : json["releaseNotes"],
|
|
2241
|
+
state: ExtendedPackageVersionStateFromJSON2(json["state"]),
|
|
2242
|
+
solutionRootFolderName: json["solutionRootFolderName"],
|
|
2243
|
+
hasUpgradeableDeployments: json["hasUpgradeableDeployments"]
|
|
2244
|
+
};
|
|
2245
|
+
}
|
|
2246
|
+
// ../solution-sdk/generated/src/models/PageInfoDtoOfDeploymentSearchItemDto2.ts
|
|
2247
|
+
function PageInfoDtoOfDeploymentSearchItemDto2FromJSON(json) {
|
|
2248
|
+
return PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped(json, false);
|
|
2249
|
+
}
|
|
2250
|
+
function PageInfoDtoOfDeploymentSearchItemDto2FromJSONTyped(json, ignoreDiscriminator) {
|
|
2251
|
+
if (json == null) {
|
|
2252
|
+
return json;
|
|
2253
|
+
}
|
|
2254
|
+
return {
|
|
2255
|
+
count: json["count"],
|
|
2256
|
+
values: json["values"].map(DeploymentSearchItemDto2FromJSON)
|
|
2257
|
+
};
|
|
2258
|
+
}
|
|
2259
|
+
// ../solution-sdk/generated/src/models/PageInfoDtoOfPackageInfo.ts
|
|
2260
|
+
function PageInfoDtoOfPackageInfoFromJSON2(json) {
|
|
2261
|
+
return PageInfoDtoOfPackageInfoFromJSONTyped2(json, false);
|
|
2262
|
+
}
|
|
2263
|
+
function PageInfoDtoOfPackageInfoFromJSONTyped2(json, ignoreDiscriminator) {
|
|
2264
|
+
if (json == null) {
|
|
2265
|
+
return json;
|
|
2266
|
+
}
|
|
2267
|
+
return {
|
|
2268
|
+
count: json["count"],
|
|
2269
|
+
values: json["values"].map(PackageInfoFromJSON2)
|
|
2270
|
+
};
|
|
2271
|
+
}
|
|
2272
|
+
// ../solution-sdk/generated/src/models/SearchFilter.ts
|
|
2273
|
+
function SearchFilterToJSON(json) {
|
|
2274
|
+
return SearchFilterToJSONTyped(json, false);
|
|
2275
|
+
}
|
|
2276
|
+
function SearchFilterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2277
|
+
if (value == null) {
|
|
2278
|
+
return value;
|
|
2279
|
+
}
|
|
2280
|
+
return {
|
|
2281
|
+
skip: value["skip"],
|
|
2282
|
+
take: value["take"],
|
|
2283
|
+
orderByColumn: value["orderByColumn"],
|
|
2284
|
+
orderByDirection: OrderByDirectionToJSON2(value["orderByDirection"]),
|
|
2285
|
+
searchTerm: value["searchTerm"]
|
|
2286
|
+
};
|
|
2287
|
+
}
|
|
2288
|
+
// ../solution-sdk/generated/src/apis/SearchApi.ts
|
|
2289
|
+
class SearchApi extends BaseAPI2 {
|
|
2290
|
+
async searchSearchDeployments22Raw(requestParameters, initOverrides) {
|
|
2291
|
+
if (requestParameters["deploymentsSearchRequest2"] == null) {
|
|
2292
|
+
throw new RequiredError2("deploymentsSearchRequest2", 'Required parameter "deploymentsSearchRequest2" was null or undefined when calling searchSearchDeployments22().');
|
|
2293
|
+
}
|
|
2294
|
+
const queryParameters = {};
|
|
2295
|
+
const headerParameters = {};
|
|
2296
|
+
headerParameters["Content-Type"] = "application/json";
|
|
2297
|
+
if (requestParameters["xUipathAsVersion"] != null) {
|
|
2298
|
+
headerParameters["x-uipath-as-version"] = String(requestParameters["xUipathAsVersion"]);
|
|
2299
|
+
}
|
|
2300
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2301
|
+
const token = this.configuration.accessToken;
|
|
2302
|
+
const tokenString = await token("Bearer", []);
|
|
2303
|
+
if (tokenString) {
|
|
2304
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
let urlPath = `/api/v3/search/deployments`;
|
|
2308
|
+
const response = await this.request({
|
|
2309
|
+
path: urlPath,
|
|
2310
|
+
method: "POST",
|
|
2311
|
+
headers: headerParameters,
|
|
2312
|
+
query: queryParameters,
|
|
2313
|
+
body: DeploymentsSearchRequest2ToJSON(requestParameters["deploymentsSearchRequest2"])
|
|
2314
|
+
}, initOverrides);
|
|
2315
|
+
return new JSONApiResponse2(response, (jsonValue) => PageInfoDtoOfDeploymentSearchItemDto2FromJSON(jsonValue));
|
|
2316
|
+
}
|
|
2317
|
+
async searchSearchDeployments22(requestParameters, initOverrides) {
|
|
2318
|
+
const response = await this.searchSearchDeployments22Raw(requestParameters, initOverrides);
|
|
2319
|
+
return await response.value();
|
|
2320
|
+
}
|
|
2321
|
+
async searchSearchPackagesRaw(requestParameters, initOverrides) {
|
|
2322
|
+
if (requestParameters["searchFilter"] == null) {
|
|
2323
|
+
throw new RequiredError2("searchFilter", 'Required parameter "searchFilter" was null or undefined when calling searchSearchPackages().');
|
|
2324
|
+
}
|
|
2325
|
+
const queryParameters = {};
|
|
2326
|
+
const headerParameters = {};
|
|
2327
|
+
headerParameters["Content-Type"] = "application/json";
|
|
2328
|
+
if (requestParameters["xUipathAsVersion"] != null) {
|
|
2329
|
+
headerParameters["x-uipath-as-version"] = String(requestParameters["xUipathAsVersion"]);
|
|
2330
|
+
}
|
|
2331
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2332
|
+
const token = this.configuration.accessToken;
|
|
2333
|
+
const tokenString = await token("Bearer", []);
|
|
2334
|
+
if (tokenString) {
|
|
2335
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
let urlPath = `/api/search/packages`;
|
|
2339
|
+
const response = await this.request({
|
|
2340
|
+
path: urlPath,
|
|
2341
|
+
method: "POST",
|
|
2342
|
+
headers: headerParameters,
|
|
2343
|
+
query: queryParameters,
|
|
2344
|
+
body: SearchFilterToJSON(requestParameters["searchFilter"])
|
|
2345
|
+
}, initOverrides);
|
|
2346
|
+
return new JSONApiResponse2(response, (jsonValue) => PageInfoDtoOfPackageInfoFromJSON2(jsonValue));
|
|
2347
|
+
}
|
|
2348
|
+
async searchSearchPackages(requestParameters, initOverrides) {
|
|
2349
|
+
const response = await this.searchSearchPackagesRaw(requestParameters, initOverrides);
|
|
2350
|
+
return await response.value();
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
// ../solution-sdk/package.json
|
|
2354
|
+
var package_default2 = {
|
|
2355
|
+
name: "@uipath/solution-sdk",
|
|
2356
|
+
author: "UiPath",
|
|
2357
|
+
license: "SEE LICENSE IN LICENSE.txt",
|
|
2358
|
+
version: "1.205.0-preview.258",
|
|
2359
|
+
repository: {
|
|
2360
|
+
type: "git",
|
|
2361
|
+
url: "https://github.com/UiPath/cli.git",
|
|
2362
|
+
directory: "packages/solution-sdk"
|
|
2363
|
+
},
|
|
2364
|
+
publishConfig: {
|
|
2365
|
+
registry: "https://npm.pkg.github.com/@uipath"
|
|
2366
|
+
},
|
|
2367
|
+
keywords: [
|
|
2368
|
+
"uipath",
|
|
2369
|
+
"solution",
|
|
2370
|
+
"sdk"
|
|
2371
|
+
],
|
|
2372
|
+
type: "module",
|
|
2373
|
+
main: "./dist/index.js",
|
|
2374
|
+
types: "./dist/src/index.d.ts",
|
|
2375
|
+
exports: {
|
|
2376
|
+
".": {
|
|
2377
|
+
types: "./dist/src/index.d.ts",
|
|
2378
|
+
default: "./dist/index.js"
|
|
2379
|
+
},
|
|
2380
|
+
"./resources": {
|
|
2381
|
+
types: "./dist/src/resources/index.d.ts",
|
|
2382
|
+
default: "./dist/resources/index.js"
|
|
2383
|
+
},
|
|
2384
|
+
"./auth": {
|
|
2385
|
+
types: "./dist/src/solution-auth.d.ts",
|
|
2386
|
+
default: "./dist/solution-auth.js"
|
|
2387
|
+
},
|
|
2388
|
+
"./deployments": {
|
|
2389
|
+
types: "./dist/src/deployment-search.d.ts",
|
|
2390
|
+
default: "./dist/deployment-search.js"
|
|
2391
|
+
},
|
|
2392
|
+
"./packages": {
|
|
2393
|
+
types: "./dist/src/package-search.d.ts",
|
|
2394
|
+
default: "./dist/package-search.js"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
bin: {
|
|
2398
|
+
"generate-sdk": "./dist/scripts/generate-sdk.js"
|
|
2399
|
+
},
|
|
2400
|
+
files: [
|
|
2401
|
+
"dist"
|
|
2402
|
+
],
|
|
2403
|
+
private: false,
|
|
2404
|
+
scripts: {
|
|
2405
|
+
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",
|
|
2406
|
+
generate: "bun run src/scripts/generate-sdk.ts",
|
|
2407
|
+
lint: "biome check .",
|
|
2408
|
+
test: "vitest run",
|
|
2409
|
+
"test:coverage": "vitest run --coverage"
|
|
2410
|
+
},
|
|
2411
|
+
devDependencies: {
|
|
2412
|
+
"@openapitools/openapi-generator-cli": "^2.31.1",
|
|
2413
|
+
"@uipath/auth": "workspace:*",
|
|
2414
|
+
"@uipath/common": "workspace:*",
|
|
2415
|
+
"@uipath/filesystem": "workspace:*",
|
|
2416
|
+
"@uipath/orchestrator-sdk": "workspace:*",
|
|
2417
|
+
"@uipath/pipelines-sdk": "workspace:*",
|
|
2418
|
+
"@uipath/resource-builder-sdk": "2025.11.0-alpha6584-4367",
|
|
2419
|
+
"@uipath/solutionpackager-tool-core": "workspace:*",
|
|
2420
|
+
"@uipath/studioweb-sdk": "workspace:*",
|
|
2421
|
+
"@types/node": "^25.5.2",
|
|
2422
|
+
fflate: "^0.8.2",
|
|
2423
|
+
ignore: "^5.3.2",
|
|
2424
|
+
typescript: "^7.0.2"
|
|
2425
|
+
}
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
// ../solution-sdk/src/user-agent.ts
|
|
2429
|
+
var SDK_USER_AGENT2 = getSdkUserAgentToken(package_default2);
|
|
2430
|
+
installSdkUserAgentHeader(BaseAPI2, SDK_USER_AGENT2);
|
|
2431
|
+
|
|
2432
|
+
// ../solution-sdk/src/legacy-deployment-search-v3.ts
|
|
2433
|
+
var LEGACY_V3_SEARCH_ROUTE = "POST /api/v3/search/deployments";
|
|
2434
|
+
async function searchDeploymentsLegacyV3(auth, query, scope) {
|
|
2435
|
+
const api = new SearchApi(new Configuration2({
|
|
2436
|
+
basePath: auth.basePath,
|
|
2437
|
+
accessToken: auth.accessToken
|
|
2438
|
+
}));
|
|
2439
|
+
const response = await api.searchSearchDeployments22Raw({ deploymentsSearchRequest2: toLegacyV3Request(query) }, scope);
|
|
2440
|
+
return response.raw.json();
|
|
2441
|
+
}
|
|
2442
|
+
function toLegacyV3Request(query) {
|
|
2443
|
+
return {
|
|
2444
|
+
searchTerm: query.searchTerm ?? query.deploymentName ?? query.packageName,
|
|
2445
|
+
packageName: query.packageName,
|
|
2446
|
+
...query.targetFolderName ? { targetFolderName: query.targetFolderName } : {},
|
|
2447
|
+
take: query.take,
|
|
2448
|
+
skip: query.skip,
|
|
2449
|
+
orderByColumn: query.orderByColumn,
|
|
2450
|
+
orderByDirection: query.orderByDirection,
|
|
2451
|
+
operationStatuses: query.operationStatuses ?? [],
|
|
2452
|
+
activationStatuses: query.activationStatuses ?? []
|
|
2453
|
+
};
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
// ../solution-sdk/src/pipelines-route.ts
|
|
2457
|
+
async function isMissingPipelinesRoute(error) {
|
|
2458
|
+
const status = httpStatusOf(error);
|
|
2459
|
+
if (status === 405) {
|
|
2460
|
+
return true;
|
|
2461
|
+
}
|
|
2462
|
+
if (status !== 404 || !error || typeof error !== "object") {
|
|
2463
|
+
return false;
|
|
2464
|
+
}
|
|
2465
|
+
if (!("response" in error)) {
|
|
2466
|
+
return true;
|
|
2467
|
+
}
|
|
2468
|
+
const response = error.response;
|
|
2469
|
+
if (!(response instanceof Response)) {
|
|
2470
|
+
return false;
|
|
2471
|
+
}
|
|
2472
|
+
const [readError, body] = await catchError((async () => response.clone().text())());
|
|
2473
|
+
if (readError) {
|
|
2474
|
+
return false;
|
|
2475
|
+
}
|
|
2476
|
+
return body.trim() === "";
|
|
2477
|
+
}
|
|
2478
|
+
function isApplicationSession(auth) {
|
|
2479
|
+
const identity = auth.identity ?? resolveSessionIdentity(auth.accessToken);
|
|
2480
|
+
return identity?.type === "Application";
|
|
2481
|
+
}
|
|
2482
|
+
function notAPage(route, what, options) {
|
|
2483
|
+
return new Error(`${route} answered with ${what}.`, options);
|
|
2484
|
+
}
|
|
2485
|
+
function parseSearchPage(body, route, kind) {
|
|
2486
|
+
if (!body || typeof body !== "object" || Array.isArray(body)) {
|
|
2487
|
+
throw notAPage(route, `a body that is not a page of ${kind.plural}`);
|
|
2488
|
+
}
|
|
2489
|
+
const values = "values" in body ? body.values : undefined;
|
|
2490
|
+
if (values !== undefined && values !== null && !Array.isArray(values)) {
|
|
2491
|
+
throw notAPage(route, `\`values\` that is not a list of ${kind.plural}`);
|
|
2492
|
+
}
|
|
2493
|
+
const rows = Array.isArray(values) ? values : [];
|
|
2494
|
+
const count = "count" in body && typeof body.count === "number" && body.count >= 0 ? body.count : undefined;
|
|
2495
|
+
return { count, values: rows.map((row) => parseRow(row, route, kind)) };
|
|
2496
|
+
}
|
|
2497
|
+
function parseRow(row, route, kind) {
|
|
2498
|
+
const what = `a row that is not a ${kind.singular}`;
|
|
2499
|
+
if (!row || typeof row !== "object" || Array.isArray(row)) {
|
|
2500
|
+
throw notAPage(route, what);
|
|
2501
|
+
}
|
|
2502
|
+
if (kind.isRow && !kind.isRow(row)) {
|
|
2503
|
+
throw notAPage(route, what);
|
|
2504
|
+
}
|
|
2505
|
+
const [error, parsed] = catchError(() => kind.fromJSON(row));
|
|
2506
|
+
if (error) {
|
|
2507
|
+
throw notAPage(route, what, { cause: error });
|
|
2508
|
+
}
|
|
2509
|
+
return parsed;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
// ../solution-sdk/src/deployment-search.ts
|
|
2513
|
+
var PIPELINES_SEARCH_ROUTE = "POST /v1/pipelines/deployments/search";
|
|
2514
|
+
|
|
2515
|
+
class DeploymentSearchNeedsUserSessionError extends Error {
|
|
2516
|
+
constructor() {
|
|
2517
|
+
super("This server's deployment search reads user sessions only; an application (client-credentials) login cannot read it. Sign in with 'uip login' to use it.");
|
|
2518
|
+
this.name = "DeploymentSearchNeedsUserSessionError";
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
function truncationMessage(rowsRead, reason) {
|
|
2522
|
+
switch (reason) {
|
|
2523
|
+
case "page-cap":
|
|
2524
|
+
return `The deployment search read ${rowsRead} rows and more rows remain. Narrow the search (for example by package or folder) so it fits.`;
|
|
2525
|
+
case "skip-ignored":
|
|
2526
|
+
return `The deployment search stopped after ${rowsRead} rows: the server returned the same page again, so the search cannot page past it.`;
|
|
2527
|
+
case "short-page":
|
|
2528
|
+
return `The deployment search read ${rowsRead} rows, but the server counted more and then returned a short page, so the rest cannot be read. Retry the search; if it keeps happening, narrow it (for example by package or folder).`;
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
class DeploymentSearchTruncatedError extends Error {
|
|
2533
|
+
rowsRead;
|
|
2534
|
+
reason;
|
|
2535
|
+
constructor(rowsRead, reason) {
|
|
2536
|
+
super(truncationMessage(rowsRead, reason));
|
|
2537
|
+
this.rowsRead = rowsRead;
|
|
2538
|
+
this.reason = reason;
|
|
2539
|
+
this.name = "DeploymentSearchTruncatedError";
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
var serversWithoutPipelinesSearch = new Set;
|
|
2543
|
+
var DEPLOYMENT_ROWS = {
|
|
2544
|
+
singular: "deployment",
|
|
2545
|
+
plural: "deployments",
|
|
2546
|
+
fromJSON: DeploymentSearchItemDto2FromJSON
|
|
2547
|
+
};
|
|
2548
|
+
async function searchDeploymentsPage(auth, query, scope) {
|
|
2549
|
+
if (!serversWithoutPipelinesSearch.has(auth.basePath)) {
|
|
2550
|
+
const [error, body2] = await catchError(searchViaPipelines(auth, query, scope));
|
|
2551
|
+
if (!error) {
|
|
2552
|
+
return {
|
|
2553
|
+
...parseSearchPage(body2, PIPELINES_SEARCH_ROUTE, DEPLOYMENT_ROWS),
|
|
2554
|
+
source: "pipelines"
|
|
2555
|
+
};
|
|
2556
|
+
}
|
|
2557
|
+
if (!await isMissingPipelinesRoute(error)) {
|
|
2558
|
+
throw error;
|
|
2559
|
+
}
|
|
2560
|
+
serversWithoutPipelinesSearch.add(auth.basePath);
|
|
2561
|
+
logger.debug(`${PIPELINES_SEARCH_ROUTE} is not served at ${auth.basePath}; using the deprecated ${LEGACY_V3_SEARCH_ROUTE}.`);
|
|
2562
|
+
}
|
|
2563
|
+
if (isApplicationSession(auth)) {
|
|
2564
|
+
throw new DeploymentSearchNeedsUserSessionError;
|
|
2565
|
+
}
|
|
2566
|
+
const body = await searchDeploymentsLegacyV3(auth, query, scope);
|
|
2567
|
+
return {
|
|
2568
|
+
...parseSearchPage(body, LEGACY_V3_SEARCH_ROUTE, DEPLOYMENT_ROWS),
|
|
2569
|
+
source: "legacy-v3"
|
|
2570
|
+
};
|
|
2571
|
+
}
|
|
2572
|
+
async function searchViaPipelines(auth, query, scope) {
|
|
2573
|
+
const api = new PipelinesApi(new Configuration({
|
|
2574
|
+
basePath: auth.basePath,
|
|
2575
|
+
accessToken: auth.accessToken
|
|
2576
|
+
}));
|
|
2577
|
+
const response = await api.pipelinesSearchDeploymentsRaw({
|
|
2578
|
+
pipelineDeploymentsSearchRequest: {
|
|
2579
|
+
take: query.take,
|
|
2580
|
+
skip: query.skip,
|
|
2581
|
+
deploymentName: query.deploymentName,
|
|
2582
|
+
packageName: query.packageName,
|
|
2583
|
+
targetFolderName: query.targetFolderName,
|
|
2584
|
+
searchTerm: query.searchTerm,
|
|
2585
|
+
orderByColumn: query.orderByColumn,
|
|
2586
|
+
orderByDirection: query.orderByDirection,
|
|
2587
|
+
operationStatuses: query.operationStatuses,
|
|
2588
|
+
activationStatuses: query.activationStatuses
|
|
2589
|
+
}
|
|
2590
|
+
}, scope);
|
|
2591
|
+
return response.raw.json();
|
|
2592
|
+
}
|
|
2593
|
+
var DEFAULT_PAGE_SIZE = 50;
|
|
2594
|
+
var DEFAULT_MAX_PAGES = 20;
|
|
2595
|
+
async function searchDeployments(auth, options = {}) {
|
|
2596
|
+
const take = atLeastOne("pageSize", options.pageSize ?? DEFAULT_PAGE_SIZE);
|
|
2597
|
+
const maxPages = atLeastOne("maxPages", options.maxPages ?? DEFAULT_MAX_PAGES);
|
|
2598
|
+
const matches = [];
|
|
2599
|
+
let rowsRead = 0;
|
|
2600
|
+
let previousFirst;
|
|
2601
|
+
for (let page = 0;page < maxPages; page += 1) {
|
|
2602
|
+
const result = await searchDeploymentsPage(auth, {
|
|
2603
|
+
take,
|
|
2604
|
+
skip: rowsRead,
|
|
2605
|
+
packageName: options.packageName,
|
|
2606
|
+
targetFolderName: options.folderPath,
|
|
2607
|
+
orderByColumn: options.orderByColumn,
|
|
2608
|
+
orderByDirection: options.orderByDirection
|
|
2609
|
+
}, options.scope);
|
|
2610
|
+
const values = result.values;
|
|
2611
|
+
if (values.length > 0) {
|
|
2612
|
+
const first = JSON.stringify(values[0]);
|
|
2613
|
+
if (first === previousFirst) {
|
|
2614
|
+
throw new DeploymentSearchTruncatedError(rowsRead, "skip-ignored");
|
|
2615
|
+
}
|
|
2616
|
+
previousFirst = first;
|
|
2617
|
+
}
|
|
2618
|
+
rowsRead += values.length;
|
|
2619
|
+
for (const deployment of values) {
|
|
2620
|
+
const wrongPackage = options.exactPackageMatch === true && options.packageName !== undefined && deployment.packageName !== options.packageName;
|
|
2621
|
+
if (!wrongPackage)
|
|
2622
|
+
matches.push(deployment);
|
|
2623
|
+
}
|
|
2624
|
+
const shortPage = values.length < take;
|
|
2625
|
+
if (result.count === undefined) {
|
|
2626
|
+
if (shortPage)
|
|
2627
|
+
return matches;
|
|
2628
|
+
} else if (rowsRead >= result.count) {
|
|
2629
|
+
return matches;
|
|
2630
|
+
} else if (shortPage) {
|
|
2631
|
+
throw new DeploymentSearchTruncatedError(rowsRead, "short-page");
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
throw new DeploymentSearchTruncatedError(rowsRead, "page-cap");
|
|
2635
|
+
}
|
|
2636
|
+
function atLeastOne(option, value) {
|
|
2637
|
+
if (!Number.isInteger(value) || value < 1) {
|
|
2638
|
+
throw new RangeError(`${option} must be a whole number of 1 or more; got ${String(value)}.`);
|
|
2639
|
+
}
|
|
2640
|
+
return value;
|
|
2641
|
+
}
|
|
2642
|
+
export {
|
|
2643
|
+
DeploymentSearchNeedsUserSessionError,
|
|
2644
|
+
DeploymentSearchTruncatedError,
|
|
2645
|
+
searchDeployments,
|
|
2646
|
+
searchDeploymentsPage
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2649
|
+
//# debugId=93C17B9628DB629064756E2164756E21
|