@uipath/solution-tool 1.202.0 → 1.203.0-preview.160

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 (46) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +23 -1
  2. package/dist/deploy.js +7 -6
  3. package/dist/{packager-tool-bt0z25tw.js → embedded-file-reader-xxqe8vs8.js} +98 -16584
  4. package/dist/first-party-service-sd8yaf73.js +27 -0
  5. package/dist/index-dqa169gp.js +25 -0
  6. package/dist/index.js +19 -13
  7. package/dist/init.js +8 -5
  8. package/dist/{list-8hvfmge6.js → list-dadxggxt.js} +5 -4
  9. package/dist/models/pack-command-types.d.ts +33 -5
  10. package/dist/pack.js +12 -6
  11. package/dist/{packager-tool-fjjh5veg.js → packager-tool-0f0wt9vh.js} +353 -1519
  12. package/dist/{packager-tool-pbmpgz04.js → packager-tool-1haahq17.js} +5 -3
  13. package/dist/{packager-tool-rbrcxjch.js → packager-tool-2syrt51a.js} +7 -4
  14. package/dist/packager-tool-3jrq7smt.js +1459 -0
  15. package/dist/packager-tool-53w8skv5.js +262 -0
  16. package/dist/packager-tool-7znqtw3f.js +244 -0
  17. package/dist/packager-tool-bkwnetqn.js +16678 -0
  18. package/dist/{packager-tool-5518wy6n.js → packager-tool-cp07fhx3.js} +9 -6
  19. package/dist/{packager-tool-w1dzcj31.js → packager-tool-cvfbzs9p.js} +359 -95
  20. package/dist/packager-tool-gdtpsdn7.js +342 -0
  21. package/dist/{packager-tool-pyygbnp2.js → packager-tool-htag6yh5.js} +4 -4
  22. package/dist/{packager-tool-3bewrpq4.js → packager-tool-jz2wbfjz.js} +4 -1
  23. package/dist/packager-tool-k4mskzww.js +125 -0
  24. package/dist/{packager-tool-vfcht7hq.js → packager-tool-mj5p341c.js} +11 -12
  25. package/dist/{packager-tool-bme8epz8.js → packager-tool-n4nfqj99.js} +15381 -2421
  26. package/dist/{packager-tool-mcpzmn0v.js → packager-tool-rc5pcf2n.js} +45 -21
  27. package/dist/packager-tool-resolver-fmjr60x8.js +19 -0
  28. package/dist/{packager-tool-pw7v82j2.js → packager-tool-vas0xg5h.js} +1 -1
  29. package/dist/packager-tool-znakt6yw.js +188 -0
  30. package/dist/packager-tool.d.ts +1 -1
  31. package/dist/packager-tool.js +1 -1
  32. package/dist/prepare-solution-resources-wds3r8bq.js +22 -0
  33. package/dist/project-contributions-cvttys34.js +27 -0
  34. package/dist/publish.js +7 -6
  35. package/dist/resource.js +7 -4
  36. package/dist/services/deployment-validation.d.ts +33 -0
  37. package/dist/services/governance-options.d.ts +61 -1
  38. package/dist/services/pack-command-service.d.ts +33 -2
  39. package/dist/services/packager-tool-resolver.d.ts +3 -0
  40. package/dist/services/prepare-solution-resources.d.ts +40 -0
  41. package/dist/services/project-contributions.d.ts +58 -0
  42. package/dist/services/project-type-tools.d.ts +6 -0
  43. package/dist/templates/AGENTS.md +78 -8
  44. package/dist/tool.js +19 -13
  45. package/package.json +3 -2
  46. package/dist/services/validate-appv2-action-schemas.d.ts +0 -10
@@ -0,0 +1,27 @@
1
+ import {
2
+ FirstPartyServiceApi,
3
+ HttpClient,
4
+ first_party_service_ContentType,
5
+ first_party_service_DeploymentAction,
6
+ first_party_service_DeploymentResourceValidationAction,
7
+ first_party_service_DeploymentResourceValidationErrorKind,
8
+ first_party_service_DeploymentResourceValidationErrorLevel,
9
+ first_party_service_QueryOptions,
10
+ first_party_service_SolutionDeploymentAction,
11
+ first_party_service_SolutionStatus
12
+ } from "./packager-tool-53w8skv5.js";
13
+ import"./packager-tool-1de529jm.js";
14
+ export {
15
+ first_party_service_ContentType as ContentType,
16
+ first_party_service_DeploymentAction as DeploymentAction,
17
+ first_party_service_DeploymentResourceValidationAction as DeploymentResourceValidationAction,
18
+ first_party_service_DeploymentResourceValidationErrorKind as DeploymentResourceValidationErrorKind,
19
+ first_party_service_DeploymentResourceValidationErrorLevel as DeploymentResourceValidationErrorLevel,
20
+ FirstPartyServiceApi,
21
+ HttpClient,
22
+ first_party_service_QueryOptions as QueryOptions,
23
+ first_party_service_SolutionDeploymentAction as SolutionDeploymentAction,
24
+ first_party_service_SolutionStatus as SolutionStatus
25
+ };
26
+
27
+ //# debugId=10C4E50B625B238964756E2164756E21
@@ -0,0 +1,25 @@
1
+ import {
2
+ CAMEL_CASE_ENUM_PROPERTIES,
3
+ JsonSerializer,
4
+ JsonSerializerFactory,
5
+ JsonSerializerNames,
6
+ JsonSerializerProxy,
7
+ PASCAL_CASE_ENUM_PROPERTIES,
8
+ RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
9
+ SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
10
+ StreamSerializer
11
+ } from "./packager-tool-gdtpsdn7.js";
12
+ import"./packager-tool-1de529jm.js";
13
+ export {
14
+ CAMEL_CASE_ENUM_PROPERTIES,
15
+ JsonSerializer,
16
+ JsonSerializerFactory,
17
+ JsonSerializerNames,
18
+ JsonSerializerProxy,
19
+ PASCAL_CASE_ENUM_PROPERTIES,
20
+ RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
21
+ SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
22
+ StreamSerializer
23
+ };
24
+
25
+ //# debugId=A79DD62A6A37B41864756E2164756E21
package/dist/index.js CHANGED
@@ -2,21 +2,27 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-w1dzcj31.js";
6
- import"./packager-tool-pbmpgz04.js";
7
- import"./packager-tool-mcpzmn0v.js";
8
- import"./packager-tool-pw7v82j2.js";
9
- import"./packager-tool-bme8epz8.js";
10
- import"./packager-tool-3bewrpq4.js";
11
- import"./packager-tool-pyygbnp2.js";
12
- import"./packager-tool-5518wy6n.js";
13
- import"./packager-tool-vfcht7hq.js";
14
- import"./packager-tool-bt0z25tw.js";
5
+ } from "./packager-tool-cvfbzs9p.js";
6
+ import"./packager-tool-1haahq17.js";
7
+ import"./packager-tool-rc5pcf2n.js";
8
+ import"./packager-tool-vas0xg5h.js";
9
+ import"./packager-tool-n4nfqj99.js";
10
+ import"./packager-tool-7znqtw3f.js";
11
+ import"./packager-tool-znakt6yw.js";
12
+ import"./packager-tool-k4mskzww.js";
13
+ import"./packager-tool-jz2wbfjz.js";
14
+ import"./packager-tool-htag6yh5.js";
15
+ import"./packager-tool-cp07fhx3.js";
16
+ import"./packager-tool-mj5p341c.js";
17
+ import"./packager-tool-bkwnetqn.js";
18
+ import"./packager-tool-gdtpsdn7.js";
19
+ import"./packager-tool-53w8skv5.js";
15
20
  import"./packager-tool-nzghfa48.js";
16
- import"./packager-tool-rbrcxjch.js";
21
+ import"./packager-tool-2syrt51a.js";
22
+ import"./packager-tool-3jrq7smt.js";
17
23
  import {
18
24
  Command
19
- } from "./packager-tool-fjjh5veg.js";
25
+ } from "./packager-tool-0f0wt9vh.js";
20
26
  import"./packager-tool-dfrk01gn.js";
21
27
  import"./packager-tool-1de529jm.js";
22
28
 
@@ -26,4 +32,4 @@ program.name(metadata.commandPrefix).description(metadata.description).version(m
26
32
  await registerCommands(program);
27
33
  program.parse(process.argv);
28
34
 
29
- //# debugId=5F7005FD5BDBB7BC64756E2164756E21
35
+ //# debugId=8B330F60362A154D64756E2164756E21
package/dist/init.js CHANGED
@@ -1,13 +1,16 @@
1
1
  import {
2
2
  SolutionInitError,
3
3
  solutionInitAsync
4
- } from "./packager-tool-pw7v82j2.js";
4
+ } from "./packager-tool-vas0xg5h.js";
5
5
  import {
6
6
  addProjectArtifactsToSolutionAsync
7
- } from "./packager-tool-bt0z25tw.js";
7
+ } from "./packager-tool-bkwnetqn.js";
8
+ import"./packager-tool-gdtpsdn7.js";
9
+ import"./packager-tool-53w8skv5.js";
8
10
  import"./packager-tool-nzghfa48.js";
9
- import"./packager-tool-rbrcxjch.js";
10
- import"./packager-tool-fjjh5veg.js";
11
+ import"./packager-tool-2syrt51a.js";
12
+ import"./packager-tool-3jrq7smt.js";
13
+ import"./packager-tool-0f0wt9vh.js";
11
14
  import"./packager-tool-dfrk01gn.js";
12
15
  import"./packager-tool-1de529jm.js";
13
16
  export {
@@ -16,4 +19,4 @@ export {
16
19
  solutionInitAsync
17
20
  };
18
21
 
19
- //# debugId=219A91969559D73864756E2164756E21
22
+ //# debugId=D0F11CFB4F73E45664756E2164756E21
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  getStudioWebAuth,
3
3
  useStudioWebAuth
4
- } from "./packager-tool-pbmpgz04.js";
4
+ } from "./packager-tool-1haahq17.js";
5
5
  import {
6
6
  getStudioWebSolutionProjects,
7
7
  listStudioWebSolutions
8
- } from "./packager-tool-vfcht7hq.js";
8
+ } from "./packager-tool-mj5p341c.js";
9
+ import"./packager-tool-3jrq7smt.js";
9
10
  import {
10
11
  DEFAULT_PAGE_SIZE,
11
12
  OutputFormatter,
@@ -16,7 +17,7 @@ import {
16
17
  parseBoundedInt,
17
18
  parseOffset,
18
19
  processContext
19
- } from "./packager-tool-fjjh5veg.js";
20
+ } from "./packager-tool-0f0wt9vh.js";
20
21
  import"./packager-tool-dfrk01gn.js";
21
22
  import"./packager-tool-1de529jm.js";
22
23
 
@@ -371,4 +372,4 @@ export {
371
372
  registerListCommand
372
373
  };
373
374
 
374
- //# debugId=145455B7F7DD4BEE64756E2164756E21
375
+ //# debugId=7BFB35D2ECCA7CDE64756E2164756E21
@@ -1,4 +1,5 @@
1
1
  import type { PackageMetadataFields } from "@uipath/common";
2
+ import type { RulesConfigFileType } from "@uipath/solution-packager/node";
2
3
  /**
3
4
  * Options for the PackCommandService
4
5
  */
@@ -59,16 +60,43 @@ export interface PackCommandOptions extends PackageMetadataFields {
59
60
  skipAnalyze?: boolean;
60
61
  /**
61
62
  * Path to a local governance policy file to analyze against. Selects the
62
- * packager's `Studio` rules-config source. Mutually exclusive with
63
- * `automationOpsProfile`.
63
+ * packager's `Studio` rules-config source, and can be combined with
64
+ * `governanceProduct`.
65
+ *
66
+ * When there is a tenant to ask, it is asked first and this file is
67
+ * refused only if a published policy comes back for the product. It still
68
+ * stands when the tenant publishes none, when the question could not be
69
+ * answered, and when there is no signed-in tenant at all.
64
70
  */
65
71
  governanceFilePath?: string;
72
+ /**
73
+ * Which rules-config source the packager should read the policy from.
74
+ *
75
+ * Not a CLI flag: `PackCommandService` derives it from the policy file's
76
+ * own shape, because the compiler applies a policy only when told the
77
+ * right source and otherwise discards it without a word. Left unset by a
78
+ * caller, the service resolves it; set, it is used as given.
79
+ */
80
+ governanceFileType?: RulesConfigFileType;
66
81
  /**
67
82
  * Product whose governance policy is downloaded from AutomationOps for the
68
83
  * signed-in tenant (e.g. `StudioWeb`, `Development`, `Business`). Setting
69
- * it selects the packager's `AutomationOps` rules-config source. Mutually
70
- * exclusive with `governanceFilePath`; with neither set the analyzer uses
71
- * the rules shipped with the WorkflowCompiler.
84
+ * it selects the packager's `AutomationOps` rules-config source; with
85
+ * neither governance flag set the analyzer uses the rules shipped with the
86
+ * WorkflowCompiler.
87
+ *
88
+ * Comes from `--governance-product`, or from its deprecated alias
89
+ * `--automation-ops-profile`, which the command collapses before this
90
+ * layer sees it.
91
+ */
92
+ governanceProduct?: string;
93
+ /**
94
+ * Deprecated alias for {@link PackCommandOptions.governanceProduct}.
95
+ *
96
+ * Kept because this type ships as `@uipath/solution-tool/pack`, so a
97
+ * programmatic caller may still be setting it — a TypeScript one would
98
+ * stop compiling and a JavaScript one would silently lose policy
99
+ * resolution. Setting both is rejected rather than resolved.
72
100
  */
73
101
  automationOpsProfile?: string;
74
102
  }
package/dist/pack.js CHANGED
@@ -1,15 +1,21 @@
1
1
  import {
2
2
  packSolutionAsync
3
- } from "./packager-tool-bme8epz8.js";
4
- import"./packager-tool-3bewrpq4.js";
5
- import"./packager-tool-bt0z25tw.js";
3
+ } from "./packager-tool-n4nfqj99.js";
4
+ import"./packager-tool-7znqtw3f.js";
5
+ import"./packager-tool-znakt6yw.js";
6
+ import"./packager-tool-k4mskzww.js";
7
+ import"./packager-tool-jz2wbfjz.js";
8
+ import"./packager-tool-bkwnetqn.js";
9
+ import"./packager-tool-gdtpsdn7.js";
10
+ import"./packager-tool-53w8skv5.js";
6
11
  import"./packager-tool-nzghfa48.js";
7
- import"./packager-tool-rbrcxjch.js";
8
- import"./packager-tool-fjjh5veg.js";
12
+ import"./packager-tool-2syrt51a.js";
13
+ import"./packager-tool-3jrq7smt.js";
14
+ import"./packager-tool-0f0wt9vh.js";
9
15
  import"./packager-tool-dfrk01gn.js";
10
16
  import"./packager-tool-1de529jm.js";
11
17
  export {
12
18
  packSolutionAsync
13
19
  };
14
20
 
15
- //# debugId=64B375CFEDA90EAF64756E2164756E21
21
+ //# debugId=69487665E9C8DD4D64756E2164756E21