@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.
Files changed (31) hide show
  1. package/dist/deployment-search.js +49 -19
  2. package/dist/{embedded-file-reader-z4becc02.js → embedded-file-reader-0228j82a.js} +1 -4
  3. package/dist/first-party-service-ahcc6xc6.js +8 -0
  4. package/dist/{index-y4vgqz1w.js → index-0b3srjv7.js} +98 -8
  5. package/dist/{index-78paj2kz.js → index-0drvtcm4.js} +12 -11
  6. package/dist/{index-asp9b472.js → index-bhnv4san.js} +582 -577
  7. package/dist/{index-hkexw5er.js → index-bpn15jyk.js} +35 -20
  8. package/dist/{index-gdtpsdn7.js → index-mm1x18d6.js} +223 -28
  9. package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
  10. package/dist/{index-enc2hqq5.js → index-tdffhvfs.js} +931 -502
  11. package/dist/index-txd1grjc.js +541 -0
  12. package/dist/{index-cs3g624n.js → index-xnrbg4x3.js} +6 -7
  13. package/dist/index-z2qk2qn6.js +24 -0
  14. package/dist/index.js +1310 -669
  15. package/dist/{jmespath-231m3hyn.js → jmespath-x4na7sj8.js} +1 -1
  16. package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
  17. package/dist/package-search.js +18 -19
  18. package/dist/project-context.js +75 -0
  19. package/dist/resources/index.js +265 -237
  20. package/dist/scripts/generate-sdk.js +2 -2
  21. package/dist/solution-auth.js +6 -7
  22. package/dist/src/deployment-search.d.ts +30 -0
  23. package/dist/src/project-context.d.ts +9 -0
  24. package/dist/src/resources/providers/artefact-pair-binding-provider.d.ts +8 -2
  25. package/dist/src/resources/services/sync-resources-from-bindings.d.ts +14 -1
  26. package/package.json +6 -2
  27. package/dist/first-party-service-sd8yaf73.js +0 -27
  28. package/dist/index-1de529jm.js +0 -39
  29. package/dist/index-53w8skv5.js +0 -262
  30. package/dist/index-dqa169gp.js +0 -25
  31. package/dist/index-zmneg45c.js +0 -1184
@@ -1,9 +1,7 @@
1
1
  import {
2
+ __require,
2
3
  getFileSystem
3
- } from "./index-y4vgqz1w.js";
4
- import {
5
- __require
6
- } from "./index-1de529jm.js";
4
+ } from "./index-0b3srjv7.js";
7
5
 
8
6
  // ../auth/src/catch-error.ts
9
7
  function isPromiseLike(value) {
@@ -366,6 +364,8 @@ var ENV_AUTH_VARS = {
366
364
  };
367
365
 
368
366
  class EnvAuthConfigError extends Error {
367
+ errorCode = "configuration_error";
368
+ retry = "RetryWillNotFix";
369
369
  constructor(message) {
370
370
  super(message);
371
371
  this.name = "EnvAuthConfigError";
@@ -404,11 +404,11 @@ var readAuthFromEnv = () => {
404
404
  if (!rawUrl) {
405
405
  throw new EnvAuthConfigError(`${ENV_AUTH_VARS.token} is not a JWT (treating it as an opaque token, ` + `e.g. a Personal Access Token). Set ${OPAQUE_TOKEN_BASE_URL_VAR} to the ` + `UiPath base URL if this is a PAT, or fix the token if it was meant to ` + `be a JWT (parse error: ${parseErrorMessage}).`);
406
406
  }
407
- const baseUrl2 = resolveBaseUrl(rawUrl, `Failed to validate ${OPAQUE_TOKEN_BASE_URL_VAR}`);
407
+ const baseUrl = resolveBaseUrl(rawUrl, `Failed to validate ${OPAQUE_TOKEN_BASE_URL_VAR}`);
408
408
  return {
409
409
  loginStatus: "Logged in",
410
410
  accessToken,
411
- baseUrl: baseUrl2,
411
+ baseUrl,
412
412
  organizationName,
413
413
  organizationId,
414
414
  tenantName,
@@ -708,9 +708,12 @@ var refreshAccessToken = async ({
708
708
  body: tokenParams
709
709
  });
710
710
  const tokenData = await tokenResponse.json();
711
- if (!tokenResponse.ok) {
711
+ if (tokenResponse.status === 400 || tokenResponse.status === 401) {
712
712
  throw new TokenRefreshOAuthError;
713
713
  }
714
+ if (!tokenResponse.ok) {
715
+ throw new Error(`Token refresh failed: HTTP ${tokenResponse.status}`);
716
+ }
714
717
  const newAccessToken = tokenData.access_token;
715
718
  const newRefreshToken = tokenData.refresh_token;
716
719
  if (typeof newAccessToken !== "string" || typeof newRefreshToken !== "string") {
@@ -773,20 +776,20 @@ var probeAsync = async (fs, candidate) => {
773
776
  var resolveEnvFileLocationAsync = async (envFilePath = DEFAULT_ENV_FILENAME, opts) => {
774
777
  const fs = getFileSystem();
775
778
  if (fs.path.isAbsolute(envFilePath)) {
776
- const probe2 = await probeAsync(fs, envFilePath);
777
- return probe2.exists ? { exists: true, absolutePath: envFilePath, source: "absolute" } : {
779
+ const probe = await probeAsync(fs, envFilePath);
780
+ return probe.exists ? { exists: true, absolutePath: envFilePath, source: "absolute" } : {
778
781
  exists: false,
779
782
  absolutePath: envFilePath,
780
783
  source: "absolute",
781
- ...probe2.unusable ? { unusable: probe2.unusable } : {}
784
+ ...probe.unusable ? { unusable: probe.unusable } : {}
782
785
  };
783
786
  }
784
787
  const cwd = opts?.cwd ?? fs.env.cwd();
785
788
  let searchDir = cwd;
786
789
  while (true) {
787
790
  const candidate = fs.path.join(searchDir, envFilePath);
788
- const probe2 = await probeAsync(fs, candidate);
789
- if (probe2.exists) {
791
+ const probe = await probeAsync(fs, candidate);
792
+ if (probe.exists) {
790
793
  return {
791
794
  exists: true,
792
795
  absolutePath: candidate,
@@ -1429,26 +1432,38 @@ function errorMessage(error) {
1429
1432
  }
1430
1433
 
1431
1434
  // ../auth/src/authContext.ts
1435
+ class AuthContextUnavailableError extends Error {
1436
+ instructionContext;
1437
+ sessionHint;
1438
+ errorCode = "authentication_required";
1439
+ retry = "RetryWillNotFix";
1440
+ constructor(message, instructionContext = "auth", sessionHint) {
1441
+ super(message);
1442
+ this.instructionContext = instructionContext;
1443
+ this.sessionHint = sessionHint;
1444
+ this.name = "AuthContextUnavailableError";
1445
+ }
1446
+ }
1432
1447
  var getAuthContext = async (options = {}) => {
1433
1448
  const status = await getLoginStatusAsync({
1434
1449
  ensureTokenValidityMinutes: options.ensureTokenValidityMinutes,
1435
1450
  envFilePath: options.envFilePath
1436
1451
  });
1437
1452
  if (status.loginStatus !== "Logged in" || !status.baseUrl || !status.accessToken) {
1438
- throw new Error(status.hint ? `Not logged in. ${status.hint}` : "Not logged in. Run 'uip login' first.");
1453
+ throw new AuthContextUnavailableError(status.hint ? `Not logged in. ${status.hint}` : "Not logged in. Run 'uip login' first.", "auth", status.hint);
1439
1454
  }
1440
- const tenantName = options.tenant ?? status.tenantName;
1455
+ const tenantName = options.tenant || status.tenantName;
1441
1456
  if (options.requireOrganizationId && !status.organizationId) {
1442
- throw new Error("Organization ID not available. Ensure you are logged in with an organization context.");
1457
+ throw new AuthContextUnavailableError("Organization ID not available. Ensure you are logged in with an organization context.", "identity");
1443
1458
  }
1444
1459
  if (options.requireOrganizationName && !status.organizationName) {
1445
- throw new Error("Organization name not available. Ensure you are logged in with an organization context.");
1460
+ throw new AuthContextUnavailableError("Organization name not available. Ensure you are logged in with an organization context.", "identity");
1446
1461
  }
1447
1462
  if (options.requireTenantId && !status.tenantId) {
1448
- throw new Error("Tenant ID not available. Ensure UIPATH_TENANT_ID is set.");
1463
+ throw new AuthContextUnavailableError(`Tenant ID not available. Ensure UIPATH_TENANT_ID is set.${status.hint ? ` ${status.hint}` : ""}`, "identity", status.hint);
1449
1464
  }
1450
- if (options.requireTenantName && tenantName === undefined) {
1451
- throw new Error("Tenant not provided and UIPATH_TENANT_NAME not set. Run 'uip login' to select a tenant, or use 'uip login tenant set <tenant>' to switch tenants.");
1465
+ if (options.requireTenantName && !tenantName) {
1466
+ throw new AuthContextUnavailableError("Tenant not provided and UIPATH_TENANT_NAME not set. Run 'uip login' to select a tenant, or use 'uip login tenant set <tenant>' to switch tenants.", "identity");
1452
1467
  }
1453
1468
  return {
1454
1469
  baseUrl: status.baseUrl,
@@ -1469,4 +1484,4 @@ var TENANT_SELECTION_CODES = new Set([
1469
1484
  ]);
1470
1485
  export { resolveSessionIdentity, getLoginStatusAsync, getAuthContext };
1471
1486
 
1472
- //# debugId=0C9CFE4BD0AC04DE64756E2164756E21
1487
+ //# debugId=00C28083FDEE07A064756E2164756E21
@@ -1,5 +1,5 @@
1
1
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer-names.js
2
- var JsonSerializerNames = {
2
+ var JsonSerializerNames2 = {
3
3
  DefaultCaseInsensitive: "DefaultCaseInsensitive",
4
4
  CaseInsensitive: "CaseInsensitive",
5
5
  Indented: "Indented",
@@ -21,7 +21,7 @@ var JsonSerializerNames = {
21
21
  };
22
22
 
23
23
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer.js
24
- class JsonSerializer {
24
+ class JsonSerializer2 {
25
25
  serialize(value) {
26
26
  if (value == null)
27
27
  return null;
@@ -154,16 +154,16 @@ class JsonSerializer {
154
154
  }
155
155
 
156
156
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/pascal-case-enum-properties.js
157
- var CAMEL_CASE_ENUM_PROPERTIES = [
157
+ var CAMEL_CASE_ENUM_PROPERTIES2 = [
158
158
  "scope",
159
159
  "replaceOption",
160
160
  "lookupStrategy",
161
161
  "folderType"
162
162
  ];
163
- var SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES = [
163
+ var SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2 = [
164
164
  "propertyCategory"
165
165
  ];
166
- var RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES = [
166
+ var RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2 = [
167
167
  "ValidationState.errorSeverity",
168
168
  "ValidationState.errorType",
169
169
  "AddOrUpdateResourceToSolutionResponse.status",
@@ -171,13 +171,13 @@ var RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES = [
171
171
  "OverwriteValidationError.severity",
172
172
  "ProjectResourceDescriptor.provisionType"
173
173
  ];
174
- var PASCAL_CASE_ENUM_PROPERTIES = [
175
- ...SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
176
- ...RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES
174
+ var PASCAL_CASE_ENUM_PROPERTIES2 = [
175
+ ...SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2,
176
+ ...RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2
177
177
  ];
178
178
 
179
179
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer-factory.js
180
- class JsonSerializerFactory {
180
+ class JsonSerializerFactory2 {
181
181
  get() {
182
182
  return this.defaultSerializer;
183
183
  }
@@ -192,44 +192,44 @@ class JsonSerializerFactory {
192
192
  return serializer;
193
193
  }
194
194
  initializePredefinedSerializers() {
195
- for (const name of JsonSerializerNames.AllNames)
195
+ for (const name of JsonSerializerNames2.AllNames)
196
196
  this.namedSerializers.set(name, this.createNamedSerializer(name));
197
197
  }
198
198
  createNamedSerializer(name) {
199
199
  const options = this.createOptionsForName(name);
200
- return new JsonSerializer(options);
200
+ return new JsonSerializer2(options);
201
201
  }
202
202
  createOptionsForName(name) {
203
203
  const options = {
204
204
  ...this.baseOptions
205
205
  };
206
206
  switch (name) {
207
- case JsonSerializerNames.DefaultCaseInsensitive:
207
+ case JsonSerializerNames2.DefaultCaseInsensitive:
208
208
  return {
209
209
  caseInsensitive: true
210
210
  };
211
- case JsonSerializerNames.CaseInsensitive:
211
+ case JsonSerializerNames2.CaseInsensitive:
212
212
  options.caseInsensitive = true;
213
213
  break;
214
- case JsonSerializerNames.Indented:
214
+ case JsonSerializerNames2.Indented:
215
215
  options.indented = true;
216
216
  break;
217
- case JsonSerializerNames.CamelCase:
217
+ case JsonSerializerNames2.CamelCase:
218
218
  options.camelCase = true;
219
219
  break;
220
- case JsonSerializerNames.CaseInsensitiveIndented:
220
+ case JsonSerializerNames2.CaseInsensitiveIndented:
221
221
  options.caseInsensitive = true;
222
222
  options.indented = true;
223
223
  break;
224
- case JsonSerializerNames.IndentedIgnoreNull:
224
+ case JsonSerializerNames2.IndentedIgnoreNull:
225
225
  options.indented = true;
226
226
  options.ignoreNull = true;
227
227
  break;
228
- case JsonSerializerNames.PreservePropertyNames:
228
+ case JsonSerializerNames2.PreservePropertyNames:
229
229
  options.preservePropertyNames = true;
230
230
  options.camelCase = false;
231
231
  break;
232
- case JsonSerializerNames.CamelCaseIndented:
232
+ case JsonSerializerNames2.CamelCaseIndented:
233
233
  options.indented = true;
234
234
  options.camelCase = true;
235
235
  options.ignoreNull = true;
@@ -243,21 +243,21 @@ class JsonSerializerFactory {
243
243
  const defaults = {
244
244
  camelCase: true,
245
245
  enumCamelCase: true,
246
- camelCaseEnumProperties: CAMEL_CASE_ENUM_PROPERTIES,
247
- pascalCaseEnumProperties: PASCAL_CASE_ENUM_PROPERTIES
246
+ camelCaseEnumProperties: CAMEL_CASE_ENUM_PROPERTIES2,
247
+ pascalCaseEnumProperties: PASCAL_CASE_ENUM_PROPERTIES2
248
248
  };
249
249
  this.baseOptions = options ? {
250
250
  ...defaults,
251
251
  ...options
252
252
  } : defaults;
253
- this.defaultSerializer = new JsonSerializer(this.baseOptions);
253
+ this.defaultSerializer = new JsonSerializer2(this.baseOptions);
254
254
  this.namedSerializers = new Map;
255
255
  this.initializePredefinedSerializers();
256
256
  }
257
257
  }
258
258
 
259
259
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/serializer-proxy.js
260
- class JsonSerializerProxy {
260
+ class JsonSerializerProxy2 {
261
261
  serialize(value) {
262
262
  return this.jsonSerializer.serialize(value);
263
263
  }
@@ -302,16 +302,16 @@ class JsonSerializerProxy {
302
302
  }
303
303
  constructor(jsonSerializerFactory, loggerFactory) {
304
304
  this.jsonSerializer = jsonSerializerFactory.get();
305
- this.caseInsensitiveSerializer = jsonSerializerFactory.getByName(JsonSerializerNames.CaseInsensitive);
305
+ this.caseInsensitiveSerializer = jsonSerializerFactory.getByName(JsonSerializerNames2.CaseInsensitive);
306
306
  this.logger = loggerFactory.create("JsonSerializerProxy");
307
307
  }
308
308
  }
309
309
 
310
310
  // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/stream-serializer.js
311
- class StreamSerializer {
311
+ class StreamSerializer2 {
312
312
  async serializeAsync(data, cancellationToken) {
313
313
  cancellationToken?.throwIfAborted?.();
314
- const serializer = this.jsonSerializerFactory.getByName(JsonSerializerNames.PreservePropertyNames);
314
+ const serializer = this.jsonSerializerFactory.getByName(JsonSerializerNames2.PreservePropertyNames);
315
315
  const serializedContent = serializer.serialize(data);
316
316
  const encoder = new TextEncoder;
317
317
  const bytes = serializedContent ? encoder.encode(serializedContent) : new Uint8Array(0);
@@ -337,6 +337,201 @@ class StreamSerializer {
337
337
  this.disposeStream = disposeStream;
338
338
  }
339
339
  }
340
- export { JsonSerializerNames, JsonSerializer, CAMEL_CASE_ENUM_PROPERTIES, SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES, RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES, PASCAL_CASE_ENUM_PROPERTIES, JsonSerializerFactory, JsonSerializerProxy, StreamSerializer };
340
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/clients/generated/first-party-service.js
341
+ class HttpClient {
342
+ encodeQueryParam(key, value) {
343
+ const encodedKey = encodeURIComponent(key);
344
+ return `${encodedKey}=${encodeURIComponent(typeof value == "number" ? value : `${value}`)}`;
345
+ }
346
+ addQueryParam(query, key) {
347
+ return this.encodeQueryParam(key, query[key]);
348
+ }
349
+ addArrayQueryParam(query, key) {
350
+ const value = query[key];
351
+ return value.map((v) => this.encodeQueryParam(key, v)).join("&");
352
+ }
353
+ toQueryString(rawQuery) {
354
+ const query = rawQuery || {};
355
+ const keys = Object.keys(query).filter((key) => query[key] !== undefined);
356
+ return keys.map((key) => Array.isArray(query[key]) ? this.addArrayQueryParam(query, key) : this.addQueryParam(query, key)).join("&");
357
+ }
358
+ addQueryParams(rawQuery) {
359
+ const queryString = this.toQueryString(rawQuery);
360
+ return queryString ? `?${queryString}` : "";
361
+ }
362
+ mergeRequestParams(params1, params2) {
363
+ return {
364
+ ...this.baseApiParams,
365
+ ...params1,
366
+ ...params2 || {},
367
+ headers: {
368
+ ...this.baseApiParams.headers || {},
369
+ ...params1.headers || {},
370
+ ...params2 && params2.headers || {}
371
+ }
372
+ };
373
+ }
374
+ constructor(apiConfig = {}) {
375
+ this.baseUrl = "https://localhost:7008";
376
+ this.securityData = null;
377
+ this.abortControllers = new Map;
378
+ this.customFetch = (...fetchParams) => fetch(...fetchParams);
379
+ this.baseApiParams = {
380
+ credentials: "same-origin",
381
+ headers: {},
382
+ redirect: "follow",
383
+ referrerPolicy: "no-referrer"
384
+ };
385
+ this.setSecurityData = (data) => {
386
+ this.securityData = data;
387
+ };
388
+ this.contentFormatters = {
389
+ ["application/json"]: (input) => input !== null && (typeof input == "object" || typeof input == "string") ? JSON.stringify(input) : input,
390
+ ["application/vnd.api+json"]: (input) => input !== null && (typeof input == "object" || typeof input == "string") ? JSON.stringify(input) : input,
391
+ ["text/plain"]: (input) => input !== null && typeof input != "string" ? JSON.stringify(input) : input,
392
+ ["multipart/form-data"]: (input) => {
393
+ if (input instanceof FormData)
394
+ return input;
395
+ return Object.keys(input || {}).reduce((formData, key) => {
396
+ const property = input[key];
397
+ formData.append(key, property instanceof Blob ? property : typeof property == "object" && property !== null ? JSON.stringify(property) : `${property}`);
398
+ return formData;
399
+ }, new FormData);
400
+ },
401
+ ["application/x-www-form-urlencoded"]: (input) => this.toQueryString(input)
402
+ };
403
+ this.createAbortSignal = (cancelToken) => {
404
+ if (this.abortControllers.has(cancelToken)) {
405
+ const abortController = this.abortControllers.get(cancelToken);
406
+ if (abortController)
407
+ return abortController.signal;
408
+ return;
409
+ }
410
+ const abortController = new AbortController;
411
+ this.abortControllers.set(cancelToken, abortController);
412
+ return abortController.signal;
413
+ };
414
+ this.abortRequest = (cancelToken) => {
415
+ const abortController = this.abortControllers.get(cancelToken);
416
+ if (abortController) {
417
+ abortController.abort();
418
+ this.abortControllers.delete(cancelToken);
419
+ }
420
+ };
421
+ this.request = async ({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }) => {
422
+ const secureParams = (typeof secure == "boolean" ? secure : this.baseApiParams.secure) && this.securityWorker && await this.securityWorker(this.securityData) || {};
423
+ const requestParams = this.mergeRequestParams(params, secureParams);
424
+ const queryString = query && this.toQueryString(query);
425
+ const payloadFormatter = this.contentFormatters[type || "application/json"];
426
+ const responseFormat = format || requestParams.format;
427
+ return this.customFetch(`${baseUrl || this.baseUrl || ""}${path}${queryString ? `?${queryString}` : ""}`, {
428
+ ...requestParams,
429
+ headers: {
430
+ ...requestParams.headers || {},
431
+ ...type && type !== "multipart/form-data" ? {
432
+ "Content-Type": type
433
+ } : {}
434
+ },
435
+ signal: (cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal) || null,
436
+ body: body == null ? null : payloadFormatter(body)
437
+ }).then(async (response) => {
438
+ const r = response;
439
+ r.data = null;
440
+ r.error = null;
441
+ const responseToParse = responseFormat ? response.clone() : response;
442
+ const data = responseFormat ? await responseToParse[responseFormat]().then((data) => {
443
+ if (r.ok)
444
+ r.data = data;
445
+ else
446
+ r.error = data;
447
+ return r;
448
+ }).catch((e) => {
449
+ r.error = e;
450
+ return r;
451
+ }) : r;
452
+ if (cancelToken)
453
+ this.abortControllers.delete(cancelToken);
454
+ if (!response.ok)
455
+ throw data;
456
+ return data.data;
457
+ });
458
+ };
459
+ Object.assign(this, apiConfig);
460
+ }
461
+ }
462
+
463
+ class FirstPartyServiceApi2 extends HttpClient {
464
+ constructor(...args) {
465
+ super(...args), this.v2 = {
466
+ automationSolutionsGetMetadata: (params = {}) => this.request({
467
+ path: "/v2/automationsolutions/metadata",
468
+ method: "GET",
469
+ ...params
470
+ }),
471
+ automationSolutionsHeadMetadata: (params = {}) => this.request({
472
+ path: "/v2/automationsolutions/metadata",
473
+ method: "HEAD",
474
+ ...params
475
+ }),
476
+ automationSolutionsSetState: (data, query, params = {}) => this.request({
477
+ path: "/v2/automationsolutions",
478
+ method: "PATCH",
479
+ query,
480
+ body: data,
481
+ type: "application/json",
482
+ ...params
483
+ }),
484
+ automationSolutionsInstall: (data, query, params = {}) => this.request({
485
+ path: "/v2/automationsolutions",
486
+ method: "PUT",
487
+ query,
488
+ body: data,
489
+ format: "json",
490
+ ...params
491
+ }),
492
+ automationSolutionsUninstall: (data, query, params = {}) => this.request({
493
+ path: "/v2/automationsolutions",
494
+ method: "DELETE",
495
+ query,
496
+ body: data,
497
+ type: "application/json",
498
+ format: "json",
499
+ ...params
500
+ }),
501
+ automationSolutionsExport: (data, params = {}) => this.request({
502
+ path: "/v2/automationsolutions/export",
503
+ method: "POST",
504
+ body: data,
505
+ type: "application/json",
506
+ format: "json",
507
+ ...params
508
+ }),
509
+ automationSolutionsGetTranslations: (query, params = {}) => this.request({
510
+ path: "/v2/automationsolutions/translations",
511
+ method: "GET",
512
+ query,
513
+ format: "json",
514
+ ...params
515
+ }),
516
+ automationSolutionsValidate: (data, query, params = {}) => this.request({
517
+ path: "/v2/automationsolutions/validate",
518
+ method: "POST",
519
+ query,
520
+ body: data,
521
+ type: "application/json",
522
+ format: "json",
523
+ ...params
524
+ }),
525
+ automationSolutionsLookup: (query, params = {}) => this.request({
526
+ path: "/v2/automationsolutions/lookup",
527
+ method: "GET",
528
+ query,
529
+ format: "json",
530
+ ...params
531
+ })
532
+ };
533
+ }
534
+ }
535
+ export { JsonSerializerNames2, JsonSerializer2, CAMEL_CASE_ENUM_PROPERTIES2, SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2, RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2, PASCAL_CASE_ENUM_PROPERTIES2, JsonSerializerFactory2, JsonSerializerProxy2, StreamSerializer2, FirstPartyServiceApi2 };
341
536
 
342
- //# debugId=B9E68BD7718EF2DB64756E2164756E21
537
+ //# debugId=81CFEEB04DD9F5EC64756E2164756E21
@@ -1,5 +1,3 @@
1
- import"./index-1de529jm.js";
2
-
3
1
  // ../../node_modules/open/index.js
4
2
  import process7 from "node:process";
5
3
  import path from "node:path";
@@ -548,22 +546,6 @@ var open = (target, options) => {
548
546
  target
549
547
  });
550
548
  };
551
- var openApp = (name, options) => {
552
- if (typeof name !== "string" && !Array.isArray(name)) {
553
- throw new TypeError("Expected a valid `name`");
554
- }
555
- const { arguments: appArguments = [] } = options ?? {};
556
- if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
557
- throw new TypeError("Expected `appArguments` as Array type");
558
- }
559
- return baseOpen({
560
- ...options,
561
- app: {
562
- name,
563
- arguments: appArguments
564
- }
565
- });
566
- };
567
549
  function detectArchBinary(binary) {
568
550
  if (typeof binary === "string" || Array.isArray(binary)) {
569
551
  return binary;
@@ -626,9 +608,7 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({
626
608
  }));
627
609
  var open_default = open;
628
610
  export {
629
- apps,
630
- open_default as default,
631
- openApp
611
+ open_default as default
632
612
  };
633
613
 
634
- //# debugId=42C9AEC59ECC644E64756E2164756E21
614
+ //# debugId=6F288C058A3A412164756E2164756E21