@uipath/maestro-tool 1.202.2 → 1.203.0-preview.180

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 (193) hide show
  1. package/README.md +8 -0
  2. package/dist/THIRD-PARTY-NOTICES.md +83 -290
  3. package/dist/{authoring-818595dq.js → authoring-at68vr5g.js} +7 -5
  4. package/dist/{authoring-6r3wx3fa.js → authoring-sh284a0x.js} +3 -3
  5. package/dist/{authoring-61hqf5em.js → authoring-szfy0rh1.js} +5 -5
  6. package/dist/{binding-service-643e69bb.js → binding-service-8a05gy4k.js} +37 -29
  7. package/dist/{bpmn-action-type-validator-kx36sqhe.js → bpmn-action-type-validator-8kvyvvcf.js} +2 -2
  8. package/dist/bpmn-binding-resolver-5scq28mc.js +145 -0
  9. package/dist/{bpmn-branch-y1m9f10n.js → bpmn-branch-t12a7jvf.js} +50 -44
  10. package/dist/bpmn-format-service-ay6jd9he.js +69 -0
  11. package/dist/{bpmn-refresh-service-ew545y06.js → bpmn-refresh-service-ak1ctkwg.js} +4 -4
  12. package/dist/{bpmn-update-metadata-service-jhahhjab.js → bpmn-update-metadata-service-hqe4edze.js} +6 -5
  13. package/dist/{bpmn-validate-service-6z2dj8ac.js → bpmn-validate-service-48sfy3a2.js} +3 -3
  14. package/dist/{case-api-4mstfkzf.js → case-api-e3fmq685.js} +6 -6
  15. package/dist/case-bindings-service-nswc6v0v.js +240 -0
  16. package/dist/case-debug-studio-web-service-58gtqznh.js +135 -0
  17. package/dist/case-format-service-6s5e1ckk.js +84 -0
  18. package/dist/{case-pack-service-v7wtb0qt.js → case-pack-service-sg435he1.js} +62 -11
  19. package/dist/{case-validate-service-bnpaf0zt.js → case-validate-service-7s69shsa.js} +1424 -42
  20. package/dist/{connector-enrichment-service-scrqnke3.js → connector-enrichment-service-9rqr3esj.js} +27 -26
  21. package/dist/{connector-lookup-service-hnk08t3m.js → connector-lookup-service-pencasp9.js} +5 -5
  22. package/dist/{connector-service-581bhxaj.js → connector-service-k4cgcv2b.js} +224 -56
  23. package/dist/{connector-task-spec-y2tcthz5.js → connector-task-spec-13ex0x0m.js} +27 -26
  24. package/dist/{conversion-FQTRFHRX-03xh3xbp.js → conversion-FQTRFHRX-0y9br7gw.js} +6 -5
  25. package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
  26. package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
  27. package/dist/{debug-conversation-trigger-nj04k7s2.js → debug-conversation-trigger-wgzjaasj.js} +17 -14
  28. package/dist/{debug-http-client-c4teyma3.js → debug-http-client-7dvbwp96.js} +2 -2
  29. package/dist/{debug-service-m5jdyz3q.js → debug-service-8cwxhgww.js} +3 -3
  30. package/dist/{edge-service-vv2yfsn4.js → edge-service-szpsaezp.js} +17 -14
  31. package/dist/{index-yqfqxh2r.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
  32. package/dist/{en-TBNO2WUV-rfe87pgh.js → en-BWGKA5OE-1qkvb9rn.js} +2 -2
  33. package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
  34. package/dist/en-TBNO2WUV-9nan43e5.js +1936 -0
  35. package/dist/{enrichment-service-a65qt7y1.js → enrichment-service-7n1tf75p.js} +4 -4
  36. package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
  37. package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
  38. package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
  39. package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
  40. package/dist/first-party-service-srxaftkn.js +27 -0
  41. package/dist/{flow-api-vqvvs0q2.js → flow-api-4vkpbmt3.js} +7 -7
  42. package/dist/{flow-debug-service-vd7bdyhg.js → flow-debug-service-9tad5ckh.js} +66 -41
  43. package/dist/{flow-eval-node-target-mve3v55h.js → flow-eval-node-target-g222rh2e.js} +22 -15
  44. package/dist/flow-eval-run-api-hashjgq1.js +13 -0
  45. package/dist/{flow-eval-run-service-rt9kg4wx.js → flow-eval-run-service-btghb02r.js} +109 -224
  46. package/dist/{flow-eval-service-ededh59n.js → flow-eval-service-ma5psrsd.js} +346 -302
  47. package/dist/{flow-init-service-4ve9tr0t.js → flow-init-service-662zhfd3.js} +22 -18
  48. package/dist/{flow-io-2dd3sx38.js → flow-io-3cqz0svg.js} +16 -13
  49. package/dist/{flow-migrate-service-nbe6et60.js → flow-migrate-service-ehx7nmsr.js} +18 -14
  50. package/dist/{flow-pack-service-b2n877d8.js → flow-pack-service-a3w3489r.js} +43 -35
  51. package/dist/flow-validate-service-02e21w4d.js +3555 -0
  52. package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
  53. package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
  54. package/dist/{governance-fetcher-at165287.js → governance-fetcher-7vxmap1e.js} +5 -4
  55. package/dist/{headless-85f2cys0.js → headless-627q5my5.js} +42909 -1756
  56. package/dist/{hitl-service-xn1bt80z.js → hitl-service-fn94tk6z.js} +16 -13
  57. package/dist/{index-hfsfzg4k.js → index-3arytfxn.js} +6 -4
  58. package/dist/{index-d1yqqk6q.js → index-55cym5j7.js} +6 -4
  59. package/dist/{index-0j6xww0f.js → index-9f94yk28.js} +3 -3
  60. package/dist/{index-1kgxzh8x.js → index-fz4ttsde.js} +14 -2
  61. package/dist/index-gvwc29bb.js +16742 -0
  62. package/dist/{index-mkgrn150.js → index-j1azsfr5.js} +36 -33
  63. package/dist/index-kmp9fmhb.js +25 -0
  64. package/dist/{index-938ee96p.js → index-rtg24r4x.js} +1 -1
  65. package/dist/index-tzccx5ym.js +2961 -0
  66. package/dist/{index-acd6bpqc.js → index-ymsd3pyx.js} +12 -15
  67. package/dist/index.js +3 -3
  68. package/dist/{input-reader-1wda1a2v.js → input-reader-7pzkcw6t.js} +1 -1
  69. package/dist/{input-reader-svafwk7x.js → input-reader-j8rvde4z.js} +1 -1
  70. package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
  71. package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
  72. package/dist/known-types-8dhhqk35.js +19 -0
  73. package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
  74. package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
  75. package/dist/{maestro-automate-entry-gwntzkvj.js → maestro-automate-entry-jehpbg37.js} +2 -2
  76. package/dist/{maestro-debug-service-dvh7qbx8.js → maestro-debug-service-xhtszkrc.js} +10 -10
  77. package/dist/{maestro-pack-service-fam5zdm3.js → maestro-pack-service-fkkc5g3v.js} +12 -6
  78. package/dist/{node-ks3095fb.js → node-p4bde6qy.js} +2344 -376
  79. package/dist/node-service-frvz67y3.js +83 -0
  80. package/dist/{node-sync-service-zwvm30qg.js → node-sync-service-wa2t7c65.js} +14 -14
  81. package/dist/{packager-tool-me5q0naa.js → packager-tool-095jzn8v.js} +16 -6
  82. package/dist/{packager-tool-y5f2qhfe.js → packager-tool-19030vpg.js} +32 -2
  83. package/dist/{packager-tool-gtqkcj4x.js → packager-tool-2c1rbj85.js} +310 -13
  84. package/dist/packager-tool-2q1mffef.js +261 -0
  85. package/dist/{flow-validate-service-0hxf5080.js → packager-tool-2xrng5ff.js} +1956 -3065
  86. package/dist/{packager-tool-8dgxmjzx.js → packager-tool-30ky51ca.js} +6 -3
  87. package/dist/{packager-tool-d5mjdpbf.js → packager-tool-4r35ye9r.js} +5 -4
  88. package/dist/packager-tool-53w8skv5.js +262 -0
  89. package/dist/{packager-tool-db4jm1rz.js → packager-tool-56gcg9de.js} +1 -1
  90. package/dist/{packager-tool-29eg86w6.js → packager-tool-6rsegsby.js} +6 -7
  91. package/dist/packager-tool-7msx23gd.js +13 -0
  92. package/dist/packager-tool-7q6z6npd.js +1937 -0
  93. package/dist/packager-tool-8qp60s20.js +12 -0
  94. package/dist/{packager-tool-s1r7krkp.js → packager-tool-9pccpz3r.js} +1 -1
  95. package/dist/{packager-tool-m351tkkr.js → packager-tool-c95fhhys.js} +30 -8
  96. package/dist/{packager-tool-kg5sxneg.js → packager-tool-cmzzh4f8.js} +72 -73
  97. package/dist/{packager-tool-ffvmys2r.js → packager-tool-cr0z8cbj.js} +5 -5
  98. package/dist/{packager-tool-8fkt71n4.js → packager-tool-cs1ec1da.js} +4 -3
  99. package/dist/{packager-tool-xatnrtwp.js → packager-tool-d2813z49.js} +9 -9
  100. package/dist/packager-tool-d88rqwk8.js +135 -0
  101. package/dist/{packager-tool-pm3qh1hy.js → packager-tool-dh5nppv4.js} +1 -1
  102. package/dist/packager-tool-dqxz5v18.js +486 -0
  103. package/dist/{packager-tool-r87gxwqa.js → packager-tool-e87tzg4y.js} +2 -2
  104. package/dist/{packager-tool-w9fd7vzs.js → packager-tool-f33sg3vr.js} +9 -9
  105. package/dist/{packager-tool-cj2ka9jr.js → packager-tool-fer9mdsq.js} +2 -2
  106. package/dist/{packager-tool-70eh7rpg.js → packager-tool-fm67whdy.js} +23 -5
  107. package/dist/packager-tool-fq7wtkd3.js +21012 -0
  108. package/dist/packager-tool-fvm2dddf.js +6297 -0
  109. package/dist/packager-tool-gdtpsdn7.js +342 -0
  110. package/dist/{packager-tool-ejyeka5x.js → packager-tool-gpwec9sp.js} +2 -2
  111. package/dist/{packager-tool-pap09zfh.js → packager-tool-h8x54cvx.js} +1 -1
  112. package/dist/{packager-tool-9vh3df76.js → packager-tool-hdmhxdch.js} +7 -7
  113. package/dist/packager-tool-hnyecbk6.js +88 -0
  114. package/dist/{packager-tool-mtbak8t4.js → packager-tool-j00gcgbs.js} +2 -2
  115. package/dist/packager-tool-j78fwwhq.js +16 -0
  116. package/dist/packager-tool-jysvpt8p.js +11 -0
  117. package/dist/{packager-tool-jfv7t0c8.js → packager-tool-kb554twx.js} +94 -94
  118. package/dist/{packager-tool-k4x5yn3p.js → packager-tool-khm7zsm8.js} +4 -1
  119. package/dist/packager-tool-kj0qc4f4.js +269 -0
  120. package/dist/{packager-tool-12636p2y.js → packager-tool-mcjjj1hk.js} +4 -4
  121. package/dist/{packager-tool-bftjhmqz.js → packager-tool-mfrdmqmt.js} +124 -2
  122. package/dist/{packager-tool-qgh5yaeh.js → packager-tool-mj89jhvb.js} +1 -1
  123. package/dist/{packager-tool-ve35117x.js → packager-tool-mjz4hma1.js} +5791 -176
  124. package/dist/packager-tool-paq9c70w.js +1332 -0
  125. package/dist/{packager-tool-d8v984ah.js → packager-tool-q2gwvnf5.js} +15 -56
  126. package/dist/{packager-tool-nmznynbj.js → packager-tool-qff6ang6.js} +1 -1
  127. package/dist/{packager-tool-j79gbsee.js → packager-tool-rg5pkkf0.js} +6 -6
  128. package/dist/{packager-tool-7309ymg1.js → packager-tool-s1466723.js} +10 -13
  129. package/dist/{packager-tool-54b4v7wp.js → packager-tool-te6rrpsz.js} +205 -195
  130. package/dist/packager-tool-vcjq9xkc.js +1895 -0
  131. package/dist/{packager-tool-w20r6n9v.js → packager-tool-vck7ct1e.js} +2877 -2221
  132. package/dist/{packager-tool-e8td7b01.js → packager-tool-vdc8r21p.js} +10328 -16610
  133. package/dist/{packager-tool-nxw5yzs7.js → packager-tool-vqcnvaae.js} +1 -1
  134. package/dist/{packager-tool-7rz102fw.js → packager-tool-wd01egnx.js} +1 -1
  135. package/dist/{packager-tool-gxqd24n0.js → packager-tool-wger1vt9.js} +7 -7
  136. package/dist/{packager-tool-a6yfnjgx.js → packager-tool-wynrdnqj.js} +1 -1
  137. package/dist/packager-tool-x0eamrk4.js +104577 -0
  138. package/dist/packager-tool-x92czn5x.js +208 -0
  139. package/dist/{packager-tool-am67sn1c.js → packager-tool-xtkgeccn.js} +1 -1
  140. package/dist/packager-tool-y59jhapb.js +10369 -0
  141. package/dist/{packager-tool-317z6dc1.js → packager-tool-ydg78w9z.js} +23 -23
  142. package/dist/{packager-tool-rr8hveb9.js → packager-tool-ygrrb1zh.js} +1 -1
  143. package/dist/{packager-tool-f0kd5kq4.js → packager-tool-yrsrzz1a.js} +127 -12
  144. package/dist/{packager-tool-d9dpx9wn.js → packager-tool-z185rq2a.js} +1 -1
  145. package/dist/{packager-tool-79gws1zn.js → packager-tool-z6nkdv48.js} +270 -24
  146. package/dist/{packager-tool-802qm7jy.js → packager-tool-zzxt99e4.js} +3 -3
  147. package/dist/packager-tool.js +75 -218
  148. package/dist/{project-artifacts-9z7atbk7.js → project-artifacts-h5cydk2n.js} +1 -1
  149. package/dist/{project-validator-0rkrfmj0.js → project-validator-ek97s27p.js} +1 -1
  150. package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
  151. package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
  152. package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
  153. package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
  154. package/dist/{resourcesSyncService-3pajvveg.js → resourcesSyncService-7s92g1hm.js} +28 -27
  155. package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
  156. package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
  157. package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
  158. package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
  159. package/dist/sdd-lookup-7h7j2h6v.js +48 -0
  160. package/dist/{serialization-BXU6AKAN-dk0sqx89.js → serialization-BXU6AKAN-0ghhrsja.js} +6 -5
  161. package/dist/{shared-utils-twgpb9ax.js → shared-utils-6z7gnnc8.js} +1 -1
  162. package/dist/{strict-case-rules-zxnq80zm.js → strict-case-rules-byym8cvc.js} +141 -109
  163. package/dist/strict-sdd-audit-v156c9e3.js +2520 -0
  164. package/dist/tidy-service-zyy7wxc0.js +39 -0
  165. package/dist/{tool-pxfafj3m.js → tool-dejjyv8m.js} +213 -51
  166. package/dist/{tool-td30zmyt.js → tool-v0r5qzcc.js} +106 -146
  167. package/dist/tool.js +3 -3
  168. package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
  169. package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
  170. package/dist/{trigger-enrichment-service-t3wcd12r.js → trigger-enrichment-service-ak1nrz5t.js} +30 -29
  171. package/dist/{variable-service-2q705dsx.js → variable-service-t9gsp8xs.js} +16 -13
  172. package/dist/{wait-for-flow-job-sx0ht8sb.js → wait-for-flow-job-1s8ka07s.js} +7 -7
  173. package/dist/{xml-949787yf.js → xml-3rzcgm9z.js} +1359 -659
  174. package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
  175. package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
  176. package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
  177. package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
  178. package/package.json +3 -2
  179. package/dist/bpmn-format-service-r67afbny.js +0 -477
  180. package/dist/case-debug-studio-web-service-kj1797m8.js +0 -336
  181. package/dist/known-types-eq32py2n.js +0 -20
  182. package/dist/node-service-teagjd9n.js +0 -75
  183. package/dist/packager-tool-15bstxb6.js +0 -4192
  184. package/dist/packager-tool-1zpm7wts.js +0 -7217
  185. package/dist/packager-tool-7tjxtpfp.js +0 -106
  186. package/dist/packager-tool-ckhyvcn5.js +0 -58
  187. package/dist/packager-tool-dz506qqq.js +0 -2120
  188. package/dist/packager-tool-hpc2j0zw.js +0 -27
  189. package/dist/packager-tool-jjpc0yka.js +0 -304
  190. package/dist/packager-tool-xtv236p7.js +0 -73
  191. package/dist/strict-sdd-audit-zc0n5vj6.js +0 -1024
  192. package/dist/tidy-service-hc9gex0v.js +0 -36
  193. /package/dist/{localization-xecwjpe2.js → localization-y790z9vm.js} +0 -0
@@ -0,0 +1,342 @@
1
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer-names.js
2
+ var JsonSerializerNames = {
3
+ DefaultCaseInsensitive: "DefaultCaseInsensitive",
4
+ CaseInsensitive: "CaseInsensitive",
5
+ Indented: "Indented",
6
+ CamelCase: "CamelCase",
7
+ CaseInsensitiveIndented: "CaseInsensitiveIndented",
8
+ IndentedIgnoreNull: "IndentedIgnoreNull",
9
+ PreservePropertyNames: "PreservePropertyNames",
10
+ CamelCaseIndented: "CamelCaseIndented",
11
+ AllNames: [
12
+ "DefaultCaseInsensitive",
13
+ "CaseInsensitive",
14
+ "Indented",
15
+ "CamelCase",
16
+ "CaseInsensitiveIndented",
17
+ "IndentedIgnoreNull",
18
+ "PreservePropertyNames",
19
+ "CamelCaseIndented"
20
+ ]
21
+ };
22
+
23
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer.js
24
+ class JsonSerializer {
25
+ serialize(value) {
26
+ if (value == null)
27
+ return null;
28
+ let toSerialize = value;
29
+ if (this.options.ignoreNull)
30
+ toSerialize = this.removeNullValues(value);
31
+ if (this.options.camelCase && !this.options.preservePropertyNames)
32
+ toSerialize = this.toCamelCase(toSerialize);
33
+ if (this.options.enumCamelCase !== false)
34
+ toSerialize = this.convertEnumValuesToCamelCase(toSerialize);
35
+ const json = JSON.stringify(toSerialize, null, this.options.indented ? 2 : undefined);
36
+ return json;
37
+ }
38
+ async serializeAsync(stream, value, cancellationToken) {
39
+ cancellationToken?.throwIfAborted?.();
40
+ const json = this.serialize(value);
41
+ if (json === null)
42
+ return;
43
+ const writer = stream.getWriter();
44
+ try {
45
+ const bytes = this.encoder.encode(json);
46
+ await writer.write(bytes);
47
+ } finally {
48
+ writer.releaseLock();
49
+ }
50
+ }
51
+ serializeToUtf8Bytes(value) {
52
+ const json = this.serialize(value);
53
+ if (json === null)
54
+ return new Uint8Array(0);
55
+ return this.encoder.encode(json);
56
+ }
57
+ deserialize(value) {
58
+ if (value == null || value === "")
59
+ return null;
60
+ try {
61
+ let cleanValue = value.charCodeAt(0) === 65279 ? value.slice(1) : value;
62
+ if (cleanValue.charCodeAt(cleanValue.length - 1) === 26)
63
+ cleanValue = cleanValue.slice(0, -1);
64
+ const parsed = JSON.parse(cleanValue);
65
+ return parsed;
66
+ } catch {
67
+ return null;
68
+ }
69
+ }
70
+ deserializeAsType(value, _type) {
71
+ return this.deserialize(value);
72
+ }
73
+ removeNullValues(obj) {
74
+ if (obj == null)
75
+ return obj;
76
+ if (Array.isArray(obj))
77
+ return obj.map((item) => this.removeNullValues(item));
78
+ if (typeof obj == "object") {
79
+ const result = {};
80
+ for (const [key, val] of Object.entries(obj))
81
+ if (val != null)
82
+ result[key] = this.removeNullValues(val);
83
+ return result;
84
+ }
85
+ return obj;
86
+ }
87
+ toCamelCase(obj) {
88
+ if (obj == null)
89
+ return obj;
90
+ if (Array.isArray(obj))
91
+ return obj.map((item) => this.toCamelCase(item));
92
+ if (typeof obj == "object") {
93
+ const result = {};
94
+ for (const [key, val] of Object.entries(obj)) {
95
+ const camelKey = key.charAt(0).toLowerCase() + key.slice(1);
96
+ result[camelKey] = this.toCamelCase(val);
97
+ }
98
+ return result;
99
+ }
100
+ return obj;
101
+ }
102
+ convertEnumValuesToCamelCase(obj, className) {
103
+ if (obj == null)
104
+ return obj;
105
+ if (typeof obj == "string")
106
+ return this.tryConvertEnumStringToCamelCase(obj, undefined, undefined);
107
+ if (Array.isArray(obj))
108
+ return obj.map((item) => this.convertEnumValuesToCamelCase(item, className));
109
+ if (typeof obj == "object") {
110
+ const result = {};
111
+ const currentClassName = obj.constructor?.name !== "Object" ? obj.constructor.name : className;
112
+ for (const [key, val] of Object.entries(obj))
113
+ if (typeof val == "string")
114
+ result[key] = this.tryConvertEnumStringToCamelCase(val, currentClassName, key);
115
+ else if (Array.isArray(val))
116
+ result[key] = val.map((item) => {
117
+ if (typeof item == "string")
118
+ return this.tryConvertEnumStringToCamelCase(item, currentClassName, key);
119
+ return this.convertEnumValuesToCamelCase(item, currentClassName);
120
+ });
121
+ else
122
+ result[key] = this.convertEnumValuesToCamelCase(val, currentClassName);
123
+ return result;
124
+ }
125
+ return obj;
126
+ }
127
+ tryConvertEnumStringToCamelCase(value, className, propertyName) {
128
+ if (this.camelCaseEnumProperties.size > 0) {
129
+ if (!propertyName || !this.isKnownCamelCaseEnum(className, propertyName))
130
+ return value;
131
+ } else if (propertyName && this.isInPropertySet(this.pascalCaseEnumProperties, className, propertyName))
132
+ return value;
133
+ if (/^[A-Z][a-zA-Z0-9]*$/.test(value))
134
+ return value.charAt(0).toLowerCase() + value.slice(1);
135
+ return value;
136
+ }
137
+ isKnownCamelCaseEnum(className, propertyName) {
138
+ if (this.isInPropertySet(this.pascalCaseEnumProperties, className, propertyName))
139
+ return false;
140
+ return this.isInPropertySet(this.camelCaseEnumProperties, className, propertyName);
141
+ }
142
+ isInPropertySet(propertySet, className, propertyName) {
143
+ if (className && propertySet.has(`${className}.${propertyName}`))
144
+ return true;
145
+ return propertySet.has(propertyName);
146
+ }
147
+ constructor(options = {}) {
148
+ this.isContextBased = false;
149
+ this.encoder = new TextEncoder;
150
+ this.options = options;
151
+ this.camelCaseEnumProperties = new Set(options.camelCaseEnumProperties ?? []);
152
+ this.pascalCaseEnumProperties = new Set(options.pascalCaseEnumProperties ?? []);
153
+ }
154
+ }
155
+
156
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/pascal-case-enum-properties.js
157
+ var CAMEL_CASE_ENUM_PROPERTIES = [
158
+ "scope",
159
+ "replaceOption",
160
+ "lookupStrategy",
161
+ "folderType"
162
+ ];
163
+ var SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES = [
164
+ "propertyCategory"
165
+ ];
166
+ var RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES = [
167
+ "ValidationState.errorSeverity",
168
+ "ValidationState.errorType",
169
+ "AddOrUpdateResourceToSolutionResponse.status",
170
+ "Overwrite.type",
171
+ "OverwriteValidationError.severity",
172
+ "ProjectResourceDescriptor.provisionType"
173
+ ];
174
+ var PASCAL_CASE_ENUM_PROPERTIES = [
175
+ ...SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
176
+ ...RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES
177
+ ];
178
+
179
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/json-serializer-factory.js
180
+ class JsonSerializerFactory {
181
+ get() {
182
+ return this.defaultSerializer;
183
+ }
184
+ getByName(name) {
185
+ if (!name)
186
+ return this.defaultSerializer;
187
+ let serializer = this.namedSerializers.get(name);
188
+ if (!serializer) {
189
+ serializer = this.createNamedSerializer(name);
190
+ this.namedSerializers.set(name, serializer);
191
+ }
192
+ return serializer;
193
+ }
194
+ initializePredefinedSerializers() {
195
+ for (const name of JsonSerializerNames.AllNames)
196
+ this.namedSerializers.set(name, this.createNamedSerializer(name));
197
+ }
198
+ createNamedSerializer(name) {
199
+ const options = this.createOptionsForName(name);
200
+ return new JsonSerializer(options);
201
+ }
202
+ createOptionsForName(name) {
203
+ const options = {
204
+ ...this.baseOptions
205
+ };
206
+ switch (name) {
207
+ case JsonSerializerNames.DefaultCaseInsensitive:
208
+ return {
209
+ caseInsensitive: true
210
+ };
211
+ case JsonSerializerNames.CaseInsensitive:
212
+ options.caseInsensitive = true;
213
+ break;
214
+ case JsonSerializerNames.Indented:
215
+ options.indented = true;
216
+ break;
217
+ case JsonSerializerNames.CamelCase:
218
+ options.camelCase = true;
219
+ break;
220
+ case JsonSerializerNames.CaseInsensitiveIndented:
221
+ options.caseInsensitive = true;
222
+ options.indented = true;
223
+ break;
224
+ case JsonSerializerNames.IndentedIgnoreNull:
225
+ options.indented = true;
226
+ options.ignoreNull = true;
227
+ break;
228
+ case JsonSerializerNames.PreservePropertyNames:
229
+ options.preservePropertyNames = true;
230
+ options.camelCase = false;
231
+ break;
232
+ case JsonSerializerNames.CamelCaseIndented:
233
+ options.indented = true;
234
+ options.camelCase = true;
235
+ options.ignoreNull = true;
236
+ break;
237
+ default:
238
+ break;
239
+ }
240
+ return options;
241
+ }
242
+ constructor(options) {
243
+ const defaults = {
244
+ camelCase: true,
245
+ enumCamelCase: true,
246
+ camelCaseEnumProperties: CAMEL_CASE_ENUM_PROPERTIES,
247
+ pascalCaseEnumProperties: PASCAL_CASE_ENUM_PROPERTIES
248
+ };
249
+ this.baseOptions = options ? {
250
+ ...defaults,
251
+ ...options
252
+ } : defaults;
253
+ this.defaultSerializer = new JsonSerializer(this.baseOptions);
254
+ this.namedSerializers = new Map;
255
+ this.initializePredefinedSerializers();
256
+ }
257
+ }
258
+
259
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/serializer-proxy.js
260
+ class JsonSerializerProxy {
261
+ serialize(value) {
262
+ return this.jsonSerializer.serialize(value);
263
+ }
264
+ serializeAsync(stream, value, cancellationToken) {
265
+ return this.jsonSerializer.serializeAsync(stream, value, cancellationToken);
266
+ }
267
+ serializeToUtf8Bytes(value) {
268
+ return this.jsonSerializer.serializeToUtf8Bytes(value);
269
+ }
270
+ deserialize(value) {
271
+ return this.jsonSerializer.deserialize(value);
272
+ }
273
+ tryDeserializeObject(json) {
274
+ if (!json || json.trim() === "")
275
+ return null;
276
+ try {
277
+ return this.jsonSerializer.isContextBased ? this.jsonSerializer.deserialize(json) : this.caseInsensitiveSerializer.deserialize(json);
278
+ } catch (ex) {
279
+ this.logger.info("Deserialization failed with exception.", ex);
280
+ return null;
281
+ }
282
+ }
283
+ tryDeserialize(value) {
284
+ if (!value || value.trim() === "")
285
+ return [
286
+ false,
287
+ null
288
+ ];
289
+ try {
290
+ const result = this.jsonSerializer.deserialize(value);
291
+ return [
292
+ true,
293
+ result
294
+ ];
295
+ } catch (ex) {
296
+ this.logger.info("Deserialization failed with exception.", ex);
297
+ return [
298
+ false,
299
+ null
300
+ ];
301
+ }
302
+ }
303
+ constructor(jsonSerializerFactory, loggerFactory) {
304
+ this.jsonSerializer = jsonSerializerFactory.get();
305
+ this.caseInsensitiveSerializer = jsonSerializerFactory.getByName(JsonSerializerNames.CaseInsensitive);
306
+ this.logger = loggerFactory.create("JsonSerializerProxy");
307
+ }
308
+ }
309
+
310
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/serialization/stream-serializer.js
311
+ class StreamSerializer {
312
+ async serializeAsync(data, cancellationToken) {
313
+ cancellationToken?.throwIfAborted?.();
314
+ const serializer = this.jsonSerializerFactory.getByName(JsonSerializerNames.PreservePropertyNames);
315
+ const serializedContent = serializer.serialize(data);
316
+ const encoder = new TextEncoder;
317
+ const bytes = serializedContent ? encoder.encode(serializedContent) : new Uint8Array(0);
318
+ let streamClosed = false;
319
+ const stream = new ReadableStream({
320
+ start(controller) {
321
+ controller.enqueue(bytes);
322
+ controller.close();
323
+ streamClosed = true;
324
+ }
325
+ });
326
+ const disposeStream = this.disposeStream;
327
+ return {
328
+ stream,
329
+ dispose() {
330
+ if (disposeStream && !streamClosed)
331
+ stream.cancel().catch(() => {});
332
+ }
333
+ };
334
+ }
335
+ constructor(jsonSerializerFactory, disposeStream = true) {
336
+ this.jsonSerializerFactory = jsonSerializerFactory;
337
+ this.disposeStream = disposeStream;
338
+ }
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 };
341
+
342
+ //# debugId=B9E68BD7718EF2DB64756E2164756E21
@@ -7,7 +7,7 @@ import {
7
7
  VARIABLE_PATH_SELECTOR_PATTERN,
8
8
  VARS_IDENTIFIER,
9
9
  VARS_PREFIX
10
- } from "./packager-tool-nxw5yzs7.js";
10
+ } from "./packager-tool-vqcnvaae.js";
11
11
  import {
12
12
  FLAT_SEP,
13
13
  JS_EXPRESSION_PREFIX,
@@ -18,7 +18,7 @@ import {
18
18
  isJobAttachmentRef,
19
19
  stripAutoDerivedFieldBindings,
20
20
  templateInterpolationBody
21
- } from "./packager-tool-e8td7b01.js";
21
+ } from "./packager-tool-fvm2dddf.js";
22
22
  import {
23
23
  init_esm_shims
24
24
  } from "./packager-tool-6ejqwbw9.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  catchError
3
- } from "./packager-tool-79gws1zn.js";
3
+ } from "./packager-tool-z6nkdv48.js";
4
4
  import {
5
5
  getFileSystem
6
6
  } from "./packager-tool-0v3s8r01.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  package_default
3
- } from "./packager-tool-8dgxmjzx.js";
3
+ } from "./packager-tool-30ky51ca.js";
4
4
  import {
5
5
  isPreviewBuild
6
- } from "./packager-tool-79gws1zn.js";
6
+ } from "./packager-tool-z6nkdv48.js";
7
7
  import {
8
8
  __require
9
9
  } from "./packager-tool-1yh8g550.js";
@@ -24,26 +24,26 @@ var shouldHydrateBranch = (branchName) => {
24
24
  };
25
25
  var registerCommands = async (program) => {
26
26
  if (isPreviewBuild()) {
27
- const { registerMaestroRegistryCommands } = await import("./authoring-6r3wx3fa.js");
27
+ const { registerMaestroRegistryCommands } = await import("./authoring-sh284a0x.js");
28
28
  registerMaestroRegistryCommands(program);
29
29
  }
30
30
  const bpmnCommand = program.command("bpmn").description("Create, debug, and run BPMN Maestro projects and jobs.");
31
31
  if (shouldHydrateBranch("bpmn")) {
32
- const { registerBpmnCommands } = await import("./bpmn-branch-y1m9f10n.js");
32
+ const { registerBpmnCommands } = await import("./bpmn-branch-t12a7jvf.js");
33
33
  registerBpmnCommands(bpmnCommand);
34
34
  if (isPreviewBuild()) {
35
- const { registerBpmnAuthoringCommands } = await import("./authoring-6r3wx3fa.js");
35
+ const { registerBpmnAuthoringCommands } = await import("./authoring-sh284a0x.js");
36
36
  registerBpmnAuthoringCommands(bpmnCommand);
37
37
  }
38
38
  }
39
39
  const flowCommand = program.command("flow").description("Create, debug, and run UiPath Flow projects and jobs.");
40
40
  if (shouldHydrateBranch("flow")) {
41
- const { registerCommands: registerFlowCommands } = await import("./tool-td30zmyt.js");
41
+ const { registerCommands: registerFlowCommands } = await import("./tool-v0r5qzcc.js");
42
42
  await registerFlowCommands(flowCommand);
43
43
  }
44
44
  const caseCommand = program.command("case").description("Manage Case Management instances, processes, and incidents.");
45
45
  if (shouldHydrateBranch("case")) {
46
- const { registerCommands: registerCaseCommands } = await import("./tool-pxfafj3m.js");
46
+ const { registerCommands: registerCaseCommands } = await import("./tool-dejjyv8m.js");
47
47
  await registerCaseCommands(caseCommand);
48
48
  }
49
49
  };
@@ -0,0 +1,88 @@
1
+ // ../case-tool/src/services/strict-connector-context.ts
2
+ var REQUIRED_CONNECTOR_CONTEXT_KEYS = [
3
+ "connectorKey",
4
+ "connection",
5
+ "resourceKey",
6
+ "folderKey",
7
+ "objectName",
8
+ "metadata"
9
+ ];
10
+ var REQUIRED_TRIGGER_CONTEXT_KEYS = [
11
+ ...REQUIRED_CONNECTOR_CONTEXT_KEYS,
12
+ "operation"
13
+ ];
14
+ var asRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value) ? value : undefined;
15
+ var contextEntries = (context) => (Array.isArray(context) ? context : []).map((entry) => asRecord(entry)).filter((entry) => entry !== undefined);
16
+ var contextEntry = (context, name) => contextEntries(context).find((entry) => entry.name === name);
17
+ var missingContextKeys = (context, waitsForEvent) => {
18
+ const present = new Set(contextEntries(context).map((entry) => entry.name).filter((name) => typeof name === "string"));
19
+ const required = waitsForEvent ? REQUIRED_TRIGGER_CONTEXT_KEYS : REQUIRED_CONNECTOR_CONTEXT_KEYS;
20
+ return required.filter((key) => !present.has(key));
21
+ };
22
+ var readActivityTypeId = (context) => {
23
+ const metadata = contextEntry(context, "metadata");
24
+ const configuration = asRecord(asRecord(metadata?.body)?.activityPropertyConfiguration);
25
+ const activityTypeId = configuration?.uiPathActivityTypeId;
26
+ return typeof activityTypeId === "string" && activityTypeId.trim() !== "" ? activityTypeId : undefined;
27
+ };
28
+ var ACTIVITY_TYPE_ID_PATH = "body.activityPropertyConfiguration.uiPathActivityTypeId";
29
+ var ACTIVITY_TYPE_ID_KEY = "uiPathActivityTypeId";
30
+ var MISCASED_ACTIVITY_TYPE_ID_KEY = "UiPathActivityTypeId";
31
+ var findActivityTypeIdPath = (context) => {
32
+ const metadata = contextEntry(context, "metadata");
33
+ if (metadata === undefined)
34
+ return;
35
+ const search = (value, path) => {
36
+ const record = asRecord(value);
37
+ if (record === undefined) {
38
+ if (!Array.isArray(value))
39
+ return;
40
+ for (const [index, entry] of value.entries()) {
41
+ const found = search(entry, `${path}[${index}]`);
42
+ if (found !== undefined)
43
+ return found;
44
+ }
45
+ return;
46
+ }
47
+ for (const [key, entry] of Object.entries(record)) {
48
+ const here = path === "" ? key : `${path}.${key}`;
49
+ if ((key === ACTIVITY_TYPE_ID_KEY || key === MISCASED_ACTIVITY_TYPE_ID_KEY) && typeof entry === "string" && entry.trim() !== "") {
50
+ return here;
51
+ }
52
+ const found = search(entry, here);
53
+ if (found !== undefined)
54
+ return found;
55
+ }
56
+ return;
57
+ };
58
+ const { name: _name, type: _type, ...payload } = metadata;
59
+ return search(payload, "");
60
+ };
61
+ var activityTypeIdMessage = (subject, context, consequence) => {
62
+ const foundAt = findActivityTypeIdPath(context);
63
+ if (foundAt !== undefined && foundAt !== ACTIVITY_TYPE_ID_PATH) {
64
+ return `Connector ${subject} carries an activity type id at ` + `context[metadata].${foundAt}, but the runtime reads it from ` + `context[metadata].${ACTIVITY_TYPE_ID_PATH}. Write it at that ` + "path instead, with that exact spelling. Both keys start " + 'lower-case: "activityPropertyConfiguration" directly under ' + `"body", then "${ACTIVITY_TYPE_ID_KEY}". The id itself is ` + "already correct.";
65
+ }
66
+ return `Connector ${subject} has a metadata configuration with no ` + `${ACTIVITY_TYPE_ID_KEY} at context[metadata].` + `${ACTIVITY_TYPE_ID_PATH}. ${consequence}`;
67
+ };
68
+
69
+ // ../case-tool/src/services/resource-task-binding.ts
70
+ var NAME_BOUND_TASK_TYPES = new Set([
71
+ "action",
72
+ "agent",
73
+ "api-workflow",
74
+ "case-management",
75
+ "process",
76
+ "rpa"
77
+ ]);
78
+ var RESOLVED_IDENTITY_KEYS = [
79
+ "resourceId",
80
+ "typeId",
81
+ "actionAppId",
82
+ "actionDefinitionId"
83
+ ];
84
+ var BINDING_REFERENCE_PREFIX = "=bindings.";
85
+
86
+ export { contextEntries, contextEntry, missingContextKeys, readActivityTypeId, ACTIVITY_TYPE_ID_PATH, activityTypeIdMessage, NAME_BOUND_TASK_TYPES, RESOLVED_IDENTITY_KEYS, BINDING_REFERENCE_PREFIX };
87
+
88
+ //# debugId=446801D5A70E1A1364756E2164756E21
@@ -5,10 +5,10 @@ import {
5
5
  registerFlowMigrationsI18n,
6
6
  runtimeMigrations,
7
7
  runtimeVersion
8
- } from "./packager-tool-54b4v7wp.js";
8
+ } from "./packager-tool-te6rrpsz.js";
9
9
  import {
10
10
  instance
11
- } from "./packager-tool-e8td7b01.js";
11
+ } from "./packager-tool-vdc8r21p.js";
12
12
 
13
13
  // ../flow-tool/src/services/flow-migration-check.ts
14
14
  if (!instance.isInitialized) {
@@ -0,0 +1,16 @@
1
+ // ../../node_modules/@uipath/flow-expression-model/node_modules/@uipath/flow-core/dist/chunk-EVM6BVMO.js
2
+ var __defProp = Object.defineProperty;
3
+ var __glob = (map) => (path) => {
4
+ var fn = map[path];
5
+ if (fn)
6
+ return fn();
7
+ throw new Error("Module not found in bundle: " + path);
8
+ };
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+
14
+ export { __glob, __export };
15
+
16
+ //# debugId=3A2F5FBC7A6C56F364756E2164756E21
@@ -0,0 +1,11 @@
1
+ // ../../node_modules/@uipath/flow-core/node_modules/@uipath/flow-schema/dist/chunk-QKQ47GQZ.js
2
+ var __glob = (map) => (path) => {
3
+ var fn = map[path];
4
+ if (fn)
5
+ return fn();
6
+ throw new Error("Module not found in bundle: " + path);
7
+ };
8
+
9
+ export { __glob };
10
+
11
+ //# debugId=CD595A1AF45EBB3464756E2164756E21