@uipath/solution-sdk 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.
Files changed (29) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +2 -2
  2. package/dist/deployment-search.js +182 -0
  3. package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
  4. package/dist/index-78paj2kz.js +1908 -0
  5. package/dist/index-cs3g624n.js +28 -0
  6. package/dist/index-eav127tv.js +3004 -0
  7. package/dist/{index-fb21bjwj.js → index-enc2hqq5.js} +255 -1409
  8. package/dist/{index-6gp5j7j5.js → index-hkexw5er.js} +193 -118
  9. package/dist/{index-g0hcxnae.js → index-y4vgqz1w.js} +11 -1
  10. package/dist/index-zmneg45c.js +1184 -0
  11. package/dist/index.js +1551 -4214
  12. package/dist/package-search.js +105 -0
  13. package/dist/resources/index.js +1183 -1177
  14. package/dist/solution-auth.js +4 -3
  15. package/dist/src/deployment-search.d.ts +104 -0
  16. package/dist/src/legacy-deployment-search-v3.d.ts +24 -0
  17. package/dist/src/legacy-package-search.d.ts +25 -0
  18. package/dist/src/package-search.d.ts +41 -0
  19. package/dist/src/pipelines-route.d.ts +43 -0
  20. package/dist/src/resources/index.d.ts +3 -0
  21. package/dist/src/resources/providers/artefact-pair-binding-provider.d.ts +4 -0
  22. package/dist/src/resources/services/catalog-lookup-failure.d.ts +50 -0
  23. package/dist/src/resources/services/remote-resources.d.ts +2 -0
  24. package/dist/src/resources/services/resource-configurations.d.ts +44 -0
  25. package/dist/src/resources/services/resource-lookup.d.ts +29 -0
  26. package/dist/src/resources/services/resource-refresh-service.d.ts +13 -0
  27. package/dist/src/resources/services/sync-resources-from-bindings.d.ts +43 -6
  28. package/dist/src/zip-utils.d.ts +5 -0
  29. package/package.json +10 -2
@@ -0,0 +1,28 @@
1
+ import {
2
+ getAuthContext
3
+ } from "./index-hkexw5er.js";
4
+
5
+ // src/solution-auth.ts
6
+ async function getSolutionAuthContext(options) {
7
+ const ctx = await getAuthContext({
8
+ tenant: options.tenant,
9
+ ensureTokenValidityMinutes: options.loginValidity ?? 10,
10
+ envFilePath: options.envFilePath,
11
+ requireOrganizationId: true,
12
+ requireTenantName: true
13
+ });
14
+ const organizationId = ctx.organizationId;
15
+ const tenantName = ctx.tenantName;
16
+ const basePath = `${ctx.baseUrl}/${organizationId}/${tenantName}/automationsolutions_`;
17
+ return {
18
+ accessToken: ctx.accessToken,
19
+ basePath,
20
+ organizationId,
21
+ tenantName,
22
+ identity: ctx.identity
23
+ };
24
+ }
25
+
26
+ export { getSolutionAuthContext };
27
+
28
+ //# debugId=820C743F3F544C1364756E2164756E21