@uipath/solution-sdk 1.205.0-preview.281 → 1.206.0-preview.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/deployment-search.js +49 -19
- package/dist/{embedded-file-reader-z4becc02.js → embedded-file-reader-0228j82a.js} +1 -4
- package/dist/first-party-service-ahcc6xc6.js +8 -0
- package/dist/{index-y4vgqz1w.js → index-0b3srjv7.js} +98 -8
- package/dist/{index-78paj2kz.js → index-0drvtcm4.js} +12 -11
- package/dist/{index-asp9b472.js → index-bhnv4san.js} +582 -577
- package/dist/{index-hkexw5er.js → index-bpn15jyk.js} +35 -20
- package/dist/{index-gdtpsdn7.js → index-mm1x18d6.js} +223 -28
- package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
- package/dist/{index-enc2hqq5.js → index-tdffhvfs.js} +931 -502
- package/dist/index-txd1grjc.js +541 -0
- package/dist/{index-cs3g624n.js → index-xnrbg4x3.js} +6 -7
- package/dist/index-z2qk2qn6.js +24 -0
- package/dist/index.js +1310 -669
- package/dist/{jmespath-231m3hyn.js → jmespath-x4na7sj8.js} +1 -1
- package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
- package/dist/package-search.js +18 -19
- package/dist/project-context.js +75 -0
- package/dist/resources/index.js +265 -237
- package/dist/scripts/generate-sdk.js +2 -2
- package/dist/solution-auth.js +6 -7
- package/dist/src/deployment-search.d.ts +30 -0
- package/dist/src/project-context.d.ts +9 -0
- package/dist/src/resources/providers/artefact-pair-binding-provider.d.ts +8 -2
- package/dist/src/resources/services/sync-resources-from-bindings.d.ts +14 -1
- package/package.json +6 -2
- package/dist/first-party-service-sd8yaf73.js +0 -27
- package/dist/index-1de529jm.js +0 -39
- package/dist/index-53w8skv5.js +0 -262
- package/dist/index-dqa169gp.js +0 -25
- package/dist/index-zmneg45c.js +0 -1184
|
@@ -1,9 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
12
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
20
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
|
+
const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
if (canCache)
|
|
31
|
+
cache.set(mod, to);
|
|
32
|
+
return to;
|
|
33
|
+
};
|
|
34
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
35
|
+
var __exportCjs = (target, getters, setters) => {
|
|
36
|
+
for (var name in getters)
|
|
37
|
+
__defProp(target, name, {
|
|
38
|
+
get: getters[name],
|
|
39
|
+
set: setters[name],
|
|
40
|
+
enumerable: true,
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
4
45
|
|
|
5
46
|
// ../filesystem/src/node.ts
|
|
6
|
-
import { randomUUID } from "node:crypto";
|
|
47
|
+
import { createHash, randomUUID } from "node:crypto";
|
|
7
48
|
import { existsSync } from "node:fs";
|
|
8
49
|
import * as fs from "node:fs/promises";
|
|
9
50
|
import * as os from "node:os";
|
|
@@ -14,6 +55,9 @@ var LOCK_MAX_WAIT_MS = 20000;
|
|
|
14
55
|
var LOCK_MAX_HOLD_MS = 60000;
|
|
15
56
|
var LOCK_RETRY_MIN_MS = 100;
|
|
16
57
|
var LOCK_RETRY_JITTER_MS = 200;
|
|
58
|
+
var HASH_CHUNK_BYTES = 256 * 1024;
|
|
59
|
+
var hashBuffers = [];
|
|
60
|
+
var HASH_BUFFERS_KEPT = 64;
|
|
17
61
|
|
|
18
62
|
class NodeFileSystem {
|
|
19
63
|
path = {
|
|
@@ -32,7 +76,7 @@ class NodeFileSystem {
|
|
|
32
76
|
};
|
|
33
77
|
utils = {
|
|
34
78
|
open: async (url) => {
|
|
35
|
-
const { default: open } = await import("./index-
|
|
79
|
+
const { default: open } = await import("./index-nzr4mx5p.js");
|
|
36
80
|
await open(url);
|
|
37
81
|
}
|
|
38
82
|
};
|
|
@@ -71,6 +115,15 @@ class NodeFileSystem {
|
|
|
71
115
|
throw error;
|
|
72
116
|
}
|
|
73
117
|
}
|
|
118
|
+
async readdirEntries(dirPath) {
|
|
119
|
+
try {
|
|
120
|
+
return await fs.readdir(dirPath, { withFileTypes: true });
|
|
121
|
+
} catch (error) {
|
|
122
|
+
if (this.isEnoent(error))
|
|
123
|
+
return [];
|
|
124
|
+
throw error;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
74
127
|
async stat(filePath) {
|
|
75
128
|
try {
|
|
76
129
|
const stats = await fs.stat(filePath);
|
|
@@ -78,7 +131,8 @@ class NodeFileSystem {
|
|
|
78
131
|
isFile: () => stats.isFile(),
|
|
79
132
|
isDirectory: () => stats.isDirectory(),
|
|
80
133
|
size: stats.size,
|
|
81
|
-
mtimeMs: stats.mtimeMs
|
|
134
|
+
mtimeMs: stats.mtimeMs,
|
|
135
|
+
ctimeMs: stats.ctimeMs
|
|
82
136
|
};
|
|
83
137
|
} catch (error) {
|
|
84
138
|
if (this.isEnoent(error))
|
|
@@ -192,6 +246,42 @@ class NodeFileSystem {
|
|
|
192
246
|
throw error;
|
|
193
247
|
}
|
|
194
248
|
}
|
|
249
|
+
async hashFile(filePath) {
|
|
250
|
+
let handle;
|
|
251
|
+
try {
|
|
252
|
+
handle = await fs.open(filePath, "r");
|
|
253
|
+
} catch (error) {
|
|
254
|
+
if (this.isEnoent(error))
|
|
255
|
+
return null;
|
|
256
|
+
throw error;
|
|
257
|
+
}
|
|
258
|
+
const buffer = hashBuffers.pop() ?? Buffer.allocUnsafe(HASH_CHUNK_BYTES);
|
|
259
|
+
try {
|
|
260
|
+
const opened = await handle.stat();
|
|
261
|
+
const stats = {
|
|
262
|
+
isFile: () => opened.isFile(),
|
|
263
|
+
isDirectory: () => opened.isDirectory(),
|
|
264
|
+
size: opened.size,
|
|
265
|
+
mtimeMs: opened.mtimeMs,
|
|
266
|
+
ctimeMs: opened.ctimeMs
|
|
267
|
+
};
|
|
268
|
+
const hash = createHash("sha256");
|
|
269
|
+
let size = 0;
|
|
270
|
+
for (;; ) {
|
|
271
|
+
const { bytesRead } = await handle.read(buffer, 0, buffer.byteLength, null);
|
|
272
|
+
if (bytesRead === 0)
|
|
273
|
+
break;
|
|
274
|
+
hash.update(buffer.subarray(0, bytesRead));
|
|
275
|
+
size += bytesRead;
|
|
276
|
+
}
|
|
277
|
+
return { sha256: hash.digest("hex"), size, stats };
|
|
278
|
+
} finally {
|
|
279
|
+
if (hashBuffers.length < HASH_BUFFERS_KEPT) {
|
|
280
|
+
hashBuffers.push(buffer);
|
|
281
|
+
}
|
|
282
|
+
await handle.close();
|
|
283
|
+
}
|
|
284
|
+
}
|
|
195
285
|
async realpath(filePath) {
|
|
196
286
|
try {
|
|
197
287
|
return await fs.realpath(filePath);
|
|
@@ -242,6 +332,6 @@ class NodeFileSystem {
|
|
|
242
332
|
var fsInstance = new NodeFileSystem;
|
|
243
333
|
var getFileSystem = () => fsInstance;
|
|
244
334
|
|
|
245
|
-
export { getFileSystem };
|
|
335
|
+
export { __toESM, __commonJS, __exportCjs, __require, getFileSystem };
|
|
246
336
|
|
|
247
|
-
//# debugId=
|
|
337
|
+
//# debugId=7C69561C4538358B64756E2164756E21
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
catchError,
|
|
3
2
|
getSdkUserAgentToken,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
installSdkUserAgentHeader,
|
|
4
|
+
catchError,
|
|
5
|
+
httpStatusOf
|
|
6
|
+
} from "./index-tdffhvfs.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveSessionIdentity
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-bpn15jyk.js";
|
|
10
10
|
|
|
11
11
|
// ../pipelines-sdk/generated/src/runtime.ts
|
|
12
12
|
var BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class Configuration2 {
|
|
15
15
|
configuration;
|
|
16
16
|
constructor(configuration = {}) {
|
|
17
17
|
this.configuration = configuration;
|
|
@@ -58,7 +58,7 @@ class Configuration {
|
|
|
58
58
|
return this.configuration.credentials;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
var DefaultConfig = new
|
|
61
|
+
var DefaultConfig = new Configuration2;
|
|
62
62
|
|
|
63
63
|
class BaseAPI {
|
|
64
64
|
configuration;
|
|
@@ -1798,7 +1798,7 @@ var package_default = {
|
|
|
1798
1798
|
name: "@uipath/pipelines-sdk",
|
|
1799
1799
|
author: "UiPath",
|
|
1800
1800
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
1801
|
-
version: "1.
|
|
1801
|
+
version: "1.206.0",
|
|
1802
1802
|
description: "Generated TypeScript client for UiPath Pipelines API (CI/CD deployment lifecycle)",
|
|
1803
1803
|
repository: {
|
|
1804
1804
|
type: "git",
|
|
@@ -1834,7 +1834,8 @@ var package_default = {
|
|
|
1834
1834
|
generate: "bun run src/scripts/generate-sdk.ts",
|
|
1835
1835
|
lint: "biome check .",
|
|
1836
1836
|
test: "vitest run",
|
|
1837
|
-
"test:coverage": "vitest run --coverage"
|
|
1837
|
+
"test:coverage": "vitest run --coverage",
|
|
1838
|
+
typecheck: "tsc --noEmit"
|
|
1838
1839
|
},
|
|
1839
1840
|
devDependencies: {
|
|
1840
1841
|
"@openapitools/openapi-generator-cli": "^2.31.1",
|
|
@@ -1903,6 +1904,6 @@ function parseRow(row, route, kind) {
|
|
|
1903
1904
|
return parsed;
|
|
1904
1905
|
}
|
|
1905
1906
|
|
|
1906
|
-
export {
|
|
1907
|
+
export { Configuration2, PipelinesApi, isMissingPipelinesRoute, isApplicationSession, parseSearchPage };
|
|
1907
1908
|
|
|
1908
|
-
//# debugId=
|
|
1909
|
+
//# debugId=9066DC44D14E25C764756E2164756E21
|