@uipath/rules-tool 1.204.0-preview.249 → 1.204.0-preview.254

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 (154) hide show
  1. package/dist/DmnFactory-VWZOSZHH-jkpbxz3n.js +42 -0
  2. package/dist/DmnModelTypes-ATR7FVKZ-jp35cecy.js +18 -0
  3. package/dist/KieDmnMarshaller-6TTUU5B4-47q50gk4.js +20 -0
  4. package/dist/THIRD-PARTY-NOTICES.md +1085 -0
  5. package/dist/business-rules-bnr581tz.js +26 -0
  6. package/dist/{constants-za5vbzp8.js → constants-9pa118cj.js} +17 -10
  7. package/dist/{embedded-file-reader-wmsg31a8.js → embedded-file-reader-rf2g1kfj.js} +4 -1
  8. package/dist/first-party-service-sd8yaf73.js +27 -0
  9. package/dist/hitPolicyResult-4WDHTX4A-gk103w84.js +33 -0
  10. package/dist/index-2hzp9b97.js +116 -0
  11. package/dist/index-34pj9f36.js +48 -0
  12. package/dist/{index-zdwhfpt1.js → index-4c4exdzw.js} +370 -406
  13. package/dist/index-dqa169gp.js +25 -0
  14. package/dist/{index-we6zjs66.js → index-fs1nd5ap.js} +40 -4
  15. package/dist/{index-nzr4mx5p.js → index-sby22td6.js} +22 -2
  16. package/dist/{index-7wc0g78k.js → index-t4mx1a5e.js} +5 -2
  17. package/dist/index.js +9 -8
  18. package/dist/{jmespath-ab6tdc42.js → jmespath-231m3hyn.js} +1 -1
  19. package/dist/{js-yaml-a2bk27p6.js → js-yaml-88tdqrtd.js} +3 -1
  20. package/dist/rule-catalog-5gzpe93c.js +46 -0
  21. package/dist/rules-command-error-20gp2dv9.js +14 -0
  22. package/dist/{rules-debug-service-h1ahd6p3.js → rules-debug-service-yvh448xp.js} +36 -35
  23. package/dist/{rules-init-service-y678kjje.js → rules-init-service-ewahc0vh.js} +16 -12
  24. package/dist/{rules-refresh-service-btn64j8j.js → rules-refresh-service-jgk2kq9d.js} +14 -13
  25. package/dist/{rules-validate-service-sppr4x13.js → rules-validate-service-mr2fk58k.js} +13 -10
  26. package/dist/{tool-97x3zjcm.js → tool-19b4ect0.js} +158 -113
  27. package/dist/{tool-epsr41wx.js → tool-1de529jm.js} +3 -12
  28. package/dist/{tool-7xmarr97.js → tool-2cky8jwp.js} +2578 -1777
  29. package/dist/{tool-x67kek1m.js → tool-2qj74g14.js} +12 -652
  30. package/dist/{tool-0bthsb3x.js → tool-4dfpdepw.js} +15 -15
  31. package/dist/tool-53w8skv5.js +262 -0
  32. package/dist/tool-7haj67tr.js +19 -0
  33. package/dist/{tool-e1mmqsjr.js → tool-8h4er38s.js} +411 -396
  34. package/dist/{tool-2trg1fpx.js → tool-8qy8pkp4.js} +8 -8
  35. package/dist/tool-av4mmsef.js +73 -0
  36. package/dist/{tool-6sqt4zrx.js → tool-cgmy94zt.js} +32 -29
  37. package/dist/{tool-8j9f6ns5.js → tool-eymjx05p.js} +11 -11
  38. package/dist/{tool-mm1x18d6.js → tool-gdtpsdn7.js} +28 -223
  39. package/dist/tool-m41px07w.js +49 -0
  40. package/dist/{tool-k2s349kn.js → tool-mkn83w88.js} +17 -14
  41. package/dist/tool-pm3ewdxc.js +1115 -0
  42. package/dist/{tool-6rp0gx98.js → tool-tkcx6png.js} +107 -127
  43. package/dist/{tool-1dycs173.js → tool-wmh645tm.js} +202 -194
  44. package/dist/tool.js +8 -7
  45. package/package.json +2 -15
  46. package/dist/DmnFactory-SG3RP3T3-cr8e7mxz.js +0 -8
  47. package/dist/DmnFactory-VWZOSZHH-azx0zqcn.js +0 -8
  48. package/dist/DmnModelTypes-ATR7FVKZ-vkv7n0jn.js +0 -8
  49. package/dist/KieDmnMarshaller-6TTUU5B4-rsxhvw7a.js +0 -8
  50. package/dist/business-rules-d51977r1.js +0 -25
  51. package/dist/business-rules-dekge24t.js +0 -23
  52. package/dist/business-rules-ew76mbwg.js +0 -25
  53. package/dist/business-rules-jmwx05k2.js +0 -25
  54. package/dist/business-rules-zpzqxyce.js +0 -26
  55. package/dist/constants-4r8pfr16.js +0 -22
  56. package/dist/embedded-file-reader-0228j82a.js +0 -111
  57. package/dist/first-party-service-1qa6cp4d.js +0 -8
  58. package/dist/first-party-service-28dkctkz.js +0 -8
  59. package/dist/first-party-service-4fsz3cnj.js +0 -8
  60. package/dist/first-party-service-ahcc6xc6.js +0 -8
  61. package/dist/first-party-service-y1ccmsvp.js +0 -8
  62. package/dist/first-party-service-zpr1q3nd.js +0 -8
  63. package/dist/hitPolicyResult-4WDHTX4A-dbtkgpqp.js +0 -12
  64. package/dist/index-2zxy6zgp.js +0 -23
  65. package/dist/index-3nx77wfh.js +0 -23
  66. package/dist/index-43zg1wqe.js +0 -19621
  67. package/dist/index-47jera73.js +0 -23
  68. package/dist/index-70jn7cz1.js +0 -19631
  69. package/dist/index-8kb5kc5y.js +0 -24
  70. package/dist/index-97yad7ms.js +0 -8
  71. package/dist/index-dfn83hxf.js +0 -14
  72. package/dist/index-e301h23h.js +0 -24
  73. package/dist/index-frd259yv.js +0 -24
  74. package/dist/index-gc7cw2jh.js +0 -23
  75. package/dist/index-gya2v502.js +0 -8
  76. package/dist/index-hb3gk1wf.js +0 -24
  77. package/dist/index-nsnfdqd5.js +0 -24
  78. package/dist/index-vffktc0w.js +0 -166
  79. package/dist/index-xymrydfw.js +0 -3095
  80. package/dist/index-z2qk2qn6.js +0 -24
  81. package/dist/index-zecwgvg7.js +0 -23
  82. package/dist/rule-catalog-a5w86qns.js +0 -43
  83. package/dist/rule-catalog-etpf962f.js +0 -69
  84. package/dist/rule-catalog-q5cr17hf.js +0 -58
  85. package/dist/rule-catalog-vc98yg4n.js +0 -43
  86. package/dist/rule-catalog-z3h66kh5.js +0 -56
  87. package/dist/rules-command-error-10qmb5w7.js +0 -13
  88. package/dist/rules-command-error-5bdv4bcx.js +0 -13
  89. package/dist/rules-command-error-cmssf0w4.js +0 -13
  90. package/dist/rules-command-error-fsm3b1mv.js +0 -13
  91. package/dist/rules-debug-service-5rcdh3pj.js +0 -192
  92. package/dist/rules-debug-service-8q7mkd0r.js +0 -199
  93. package/dist/rules-debug-service-b9j29ejz.js +0 -192
  94. package/dist/rules-debug-service-v3jr3r1n.js +0 -192
  95. package/dist/rules-init-service-3c2yfa7p.js +0 -687
  96. package/dist/rules-init-service-3wgd9cqp.js +0 -100
  97. package/dist/rules-init-service-8fqytxq0.js +0 -685
  98. package/dist/rules-init-service-pspt7sje.js +0 -100
  99. package/dist/rules-init-service-sbtzw93j.js +0 -102
  100. package/dist/rules-init-service-x7paqa63.js +0 -687
  101. package/dist/rules-init-service-y7qzmxx0.js +0 -102
  102. package/dist/rules-refresh-service-4xxj6ex6.js +0 -65
  103. package/dist/rules-refresh-service-ba5jk1y9.js +0 -65
  104. package/dist/rules-refresh-service-qkmphj53.js +0 -65
  105. package/dist/rules-validate-service-dmgnfne7.js +0 -60
  106. package/dist/rules-validate-service-hk2d006t.js +0 -60
  107. package/dist/rules-validate-service-xp05n2d9.js +0 -60
  108. package/dist/tool-1pkqxwwd.js +0 -17472
  109. package/dist/tool-24mr6g8c.js +0 -1556
  110. package/dist/tool-39fmkx2d.js +0 -611
  111. package/dist/tool-3e2q1x2y.js +0 -6578
  112. package/dist/tool-3j0747gg.js +0 -17077
  113. package/dist/tool-4z7zcq4z.js +0 -6058
  114. package/dist/tool-56smnjrh.js +0 -73
  115. package/dist/tool-5qygptrc.js +0 -6171
  116. package/dist/tool-5xx6x8pe.js +0 -6596
  117. package/dist/tool-7fkrd618.js +0 -1556
  118. package/dist/tool-89xzeteg.js +0 -361
  119. package/dist/tool-911s9czz.js +0 -570
  120. package/dist/tool-9bz2x04j.js +0 -40
  121. package/dist/tool-akh7nnqs.js +0 -704
  122. package/dist/tool-axfzew45.js +0 -1555
  123. package/dist/tool-b71jq9pt.js +0 -389
  124. package/dist/tool-bfj846v8.js +0 -141
  125. package/dist/tool-bvmc017m.js +0 -96
  126. package/dist/tool-bykz5ryf.js +0 -454
  127. package/dist/tool-c76qb8ap.js +0 -17052
  128. package/dist/tool-ca15515v.js +0 -570
  129. package/dist/tool-f9qs255w.js +0 -70
  130. package/dist/tool-ga79rety.js +0 -389
  131. package/dist/tool-gb547mcn.js +0 -141
  132. package/dist/tool-gta9rr4h.js +0 -68
  133. package/dist/tool-h2dfnxdq.js +0 -6486
  134. package/dist/tool-hg6vr5y9.js +0 -3769
  135. package/dist/tool-hgvnm4vh.js +0 -1843
  136. package/dist/tool-hjbf9aay.js +0 -571
  137. package/dist/tool-k5jm64n3.js +0 -5650
  138. package/dist/tool-ketztpgf.js +0 -73
  139. package/dist/tool-n1d88ryb.js +0 -6396
  140. package/dist/tool-nmqpwh9m.js +0 -6166
  141. package/dist/tool-pb80pswx.js +0 -73
  142. package/dist/tool-pcsgwpfw.js +0 -40
  143. package/dist/tool-q3c1bjyb.js +0 -454
  144. package/dist/tool-rwp1skmf.js +0 -40
  145. package/dist/tool-s3fbt22r.js +0 -454
  146. package/dist/tool-tmbst1r8.js +0 -68
  147. package/dist/tool-v6w109p0.js +0 -455
  148. package/dist/tool-w2js05qv.js +0 -389
  149. package/dist/tool-x89947ah.js +0 -17052
  150. package/dist/tool-xhksjdka.js +0 -4005
  151. package/dist/tool-yv3t4gg5.js +0 -108
  152. package/dist/tool-zbyb1ttx.js +0 -5650
  153. /package/dist/{tool-fbqnqf9k.js → tool-jd313s2x.js} +0 -0
  154. /package/dist/{tool-vyx8fpft.js → tool-qgqscsjc.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  e,
3
- n,
4
3
  i,
4
+ n,
5
5
  r
6
- } from "./tool-fbqnqf9k.js";
6
+ } from "./tool-jd313s2x.js";
7
7
 
8
8
  // ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-A5HCGBDZ.js
9
9
  var c = (e2) => e2.includes(":") ? e2.split(":").pop() ?? e2 : e2;
10
10
  var D = new Set(["number", "integer", "long", "double", "decimal"]);
11
11
  var T = (e2) => D.has(c(e2));
12
- var s2 = (e2) => T(e2) ? "number" : c(e2);
12
+ var s = (e2) => T(e2) ? "number" : c(e2);
13
13
  var y = new Set([e.Collect, e.RuleOrder, e.OutputOrder]);
14
- var R2 = new Set([e.Priority, e.OutputOrder]);
14
+ var R = new Set([e.Priority, e.OutputOrder]);
15
15
  var h = (e2) => e2.hitPolicy === e.Collect && e2.aggregation ? e2.aggregation : y.has(e2.hitPolicy) ? "list" : "value";
16
- var x2 = (e2) => !!e2 && i.includes(e2);
16
+ var x = (e2) => !!e2 && i.includes(e2);
17
17
  var A = (e2, n2) => e2 === n.Sum || e2 === n.Count ? "number" : n2?.typeRef;
18
18
  var p = (e2, n2) => n2.typeRef ?? (e2.decision.decisionTable.outputs.length === 1 ? e2.decision.variableTypeRef : undefined);
19
19
  var u = (e2, n2) => {
@@ -26,30 +26,30 @@ var u = (e2, n2) => {
26
26
  }
27
27
  return t;
28
28
  };
29
- var b2 = (e2, n2) => u(e2, n2).some((t) => t.isCollection);
30
- var O = (e2) => r.includes(s2(e2));
29
+ var b = (e2, n2) => u(e2, n2).some((t) => t.isCollection);
30
+ var O = (e2) => r.includes(s(e2));
31
31
  var I = (e2, n2) => {
32
32
  let t = u(e2, n2);
33
33
  if (t.some((o) => o.isCollection))
34
34
  return false;
35
35
  let i2 = t.length === 0 ? n2 : t[t.length - 1].typeRef;
36
- return i2 === undefined || O(i2) && s2(i2) !== "Any";
36
+ return i2 === undefined || O(i2) && s(i2) !== "Any";
37
37
  };
38
- var m2 = (e2, n2) => {
38
+ var m = (e2, n2) => {
39
39
  let t = u(e2, n2), i2 = t[t.length - 1], o = i2 ? i2.typeRef ?? i2.name : n2;
40
- return o === undefined ? undefined : s2(o);
40
+ return o === undefined ? undefined : s(o);
41
41
  };
42
42
  var P = (e2, n2) => {
43
43
  let t = p(e2, n2), i2 = n2.allowedValues?.text.trim() || u(e2, t).find((o) => o.allowedValues?.trim())?.allowedValues;
44
- return i2 ? { text: i2, typeRef: m2(e2, t) } : undefined;
44
+ return i2 ? { text: i2, typeRef: m(e2, t) } : undefined;
45
45
  };
46
46
  var M = (e2, n2, t) => {
47
47
  if (n2 === n.Count)
48
48
  return true;
49
- let i2 = p(e2, t), o = m2(e2, i2);
50
- return !b2(e2, i2) && (!o || ["number", "Any"].includes(s2(o)));
49
+ let i2 = p(e2, t), o = m(e2, i2);
50
+ return !b(e2, i2) && (!o || ["number", "Any"].includes(s(o)));
51
51
  };
52
52
 
53
- export { s2, y, R2, h, x2, A, p, b2, O, I, m2, P, M };
53
+ export { s, y, R, h, x, A, p, b, O, I, m, P, M };
54
54
 
55
- //# debugId=5095E6828D9ADFB364756E2164756E21
55
+ //# debugId=A0574FFEA92ED1BA64756E2164756E21
@@ -0,0 +1,262 @@
1
+ // ../../node_modules/@uipath/resource-builder-sdk/dist/clients/generated/first-party-service.js
2
+ var first_party_service_DeploymentAction = /* @__PURE__ */ function(DeploymentAction) {
3
+ DeploymentAction["Install"] = "Install";
4
+ DeploymentAction["Link"] = "Link";
5
+ DeploymentAction["Uninstall"] = "Uninstall";
6
+ DeploymentAction["Unlink"] = "Unlink";
7
+ DeploymentAction["Merge"] = "Merge";
8
+ DeploymentAction["UseExisting"] = "UseExisting";
9
+ DeploymentAction["Activate"] = "Activate";
10
+ return DeploymentAction;
11
+ }({});
12
+ var first_party_service_SolutionDeploymentAction = /* @__PURE__ */ function(SolutionDeploymentAction) {
13
+ SolutionDeploymentAction["Install"] = "Install";
14
+ SolutionDeploymentAction["Uninstall"] = "Uninstall";
15
+ SolutionDeploymentAction["Upgrade"] = "Upgrade";
16
+ SolutionDeploymentAction["Rollback"] = "Rollback";
17
+ SolutionDeploymentAction["Activate"] = "Activate";
18
+ return SolutionDeploymentAction;
19
+ }({});
20
+ var first_party_service_SolutionStatus = /* @__PURE__ */ function(SolutionStatus) {
21
+ SolutionStatus["Installed"] = "Installed";
22
+ SolutionStatus["Uninstalled"] = "Uninstalled";
23
+ SolutionStatus["Installing"] = "Installing";
24
+ SolutionStatus["Uninstalling"] = "Uninstalling";
25
+ SolutionStatus["InstallError"] = "InstallError";
26
+ SolutionStatus["UninstallError"] = "UninstallError";
27
+ SolutionStatus["Unknown"] = "Unknown";
28
+ return SolutionStatus;
29
+ }({});
30
+ var first_party_service_QueryOptions = /* @__PURE__ */ function(QueryOptions) {
31
+ QueryOptions["Contains"] = "Contains";
32
+ QueryOptions["Equals"] = "Equals";
33
+ return QueryOptions;
34
+ }({});
35
+ var first_party_service_DeploymentResourceValidationErrorLevel = /* @__PURE__ */ function(DeploymentResourceValidationErrorLevel) {
36
+ DeploymentResourceValidationErrorLevel["Error"] = "Error";
37
+ DeploymentResourceValidationErrorLevel["Warning"] = "Warning";
38
+ DeploymentResourceValidationErrorLevel["Info"] = "Info";
39
+ return DeploymentResourceValidationErrorLevel;
40
+ }({});
41
+ var first_party_service_DeploymentResourceValidationErrorKind = /* @__PURE__ */ function(DeploymentResourceValidationErrorKind) {
42
+ DeploymentResourceValidationErrorKind["Conflict"] = "Conflict";
43
+ DeploymentResourceValidationErrorKind["ConfigurationError"] = "ConfigurationError";
44
+ return DeploymentResourceValidationErrorKind;
45
+ }({});
46
+ var first_party_service_DeploymentResourceValidationAction = /* @__PURE__ */ function(DeploymentResourceValidationAction) {
47
+ DeploymentResourceValidationAction["RenameExisting"] = "RenameExisting";
48
+ DeploymentResourceValidationAction["RenameInSolution"] = "RenameInSolution";
49
+ DeploymentResourceValidationAction["UseExisting"] = "UseExisting";
50
+ DeploymentResourceValidationAction["FixConfiguration"] = "FixConfiguration";
51
+ DeploymentResourceValidationAction["Delete"] = "Delete";
52
+ DeploymentResourceValidationAction["SkipDelete"] = "SkipDelete";
53
+ DeploymentResourceValidationAction["MergeConfiguration"] = "MergeConfiguration";
54
+ DeploymentResourceValidationAction["Replace"] = "Replace";
55
+ return DeploymentResourceValidationAction;
56
+ }({});
57
+ var first_party_service_ContentType = /* @__PURE__ */ function(ContentType) {
58
+ ContentType["Json"] = "application/json";
59
+ ContentType["JsonApi"] = "application/vnd.api+json";
60
+ ContentType["FormData"] = "multipart/form-data";
61
+ ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
62
+ ContentType["Text"] = "text/plain";
63
+ return ContentType;
64
+ }({});
65
+
66
+ class HttpClient {
67
+ encodeQueryParam(key, value) {
68
+ const encodedKey = encodeURIComponent(key);
69
+ return `${encodedKey}=${encodeURIComponent(typeof value == "number" ? value : `${value}`)}`;
70
+ }
71
+ addQueryParam(query, key) {
72
+ return this.encodeQueryParam(key, query[key]);
73
+ }
74
+ addArrayQueryParam(query, key) {
75
+ const value = query[key];
76
+ return value.map((v) => this.encodeQueryParam(key, v)).join("&");
77
+ }
78
+ toQueryString(rawQuery) {
79
+ const query = rawQuery || {};
80
+ const keys = Object.keys(query).filter((key) => query[key] !== undefined);
81
+ return keys.map((key) => Array.isArray(query[key]) ? this.addArrayQueryParam(query, key) : this.addQueryParam(query, key)).join("&");
82
+ }
83
+ addQueryParams(rawQuery) {
84
+ const queryString = this.toQueryString(rawQuery);
85
+ return queryString ? `?${queryString}` : "";
86
+ }
87
+ mergeRequestParams(params1, params2) {
88
+ return {
89
+ ...this.baseApiParams,
90
+ ...params1,
91
+ ...params2 || {},
92
+ headers: {
93
+ ...this.baseApiParams.headers || {},
94
+ ...params1.headers || {},
95
+ ...params2 && params2.headers || {}
96
+ }
97
+ };
98
+ }
99
+ constructor(apiConfig = {}) {
100
+ this.baseUrl = "https://localhost:7008";
101
+ this.securityData = null;
102
+ this.abortControllers = new Map;
103
+ this.customFetch = (...fetchParams) => fetch(...fetchParams);
104
+ this.baseApiParams = {
105
+ credentials: "same-origin",
106
+ headers: {},
107
+ redirect: "follow",
108
+ referrerPolicy: "no-referrer"
109
+ };
110
+ this.setSecurityData = (data) => {
111
+ this.securityData = data;
112
+ };
113
+ this.contentFormatters = {
114
+ ["application/json"]: (input) => input !== null && (typeof input == "object" || typeof input == "string") ? JSON.stringify(input) : input,
115
+ ["application/vnd.api+json"]: (input) => input !== null && (typeof input == "object" || typeof input == "string") ? JSON.stringify(input) : input,
116
+ ["text/plain"]: (input) => input !== null && typeof input != "string" ? JSON.stringify(input) : input,
117
+ ["multipart/form-data"]: (input) => {
118
+ if (input instanceof FormData)
119
+ return input;
120
+ return Object.keys(input || {}).reduce((formData, key) => {
121
+ const property = input[key];
122
+ formData.append(key, property instanceof Blob ? property : typeof property == "object" && property !== null ? JSON.stringify(property) : `${property}`);
123
+ return formData;
124
+ }, new FormData);
125
+ },
126
+ ["application/x-www-form-urlencoded"]: (input) => this.toQueryString(input)
127
+ };
128
+ this.createAbortSignal = (cancelToken) => {
129
+ if (this.abortControllers.has(cancelToken)) {
130
+ const abortController2 = this.abortControllers.get(cancelToken);
131
+ if (abortController2)
132
+ return abortController2.signal;
133
+ return;
134
+ }
135
+ const abortController = new AbortController;
136
+ this.abortControllers.set(cancelToken, abortController);
137
+ return abortController.signal;
138
+ };
139
+ this.abortRequest = (cancelToken) => {
140
+ const abortController = this.abortControllers.get(cancelToken);
141
+ if (abortController) {
142
+ abortController.abort();
143
+ this.abortControllers.delete(cancelToken);
144
+ }
145
+ };
146
+ this.request = async ({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }) => {
147
+ const secureParams = (typeof secure == "boolean" ? secure : this.baseApiParams.secure) && this.securityWorker && await this.securityWorker(this.securityData) || {};
148
+ const requestParams = this.mergeRequestParams(params, secureParams);
149
+ const queryString = query && this.toQueryString(query);
150
+ const payloadFormatter = this.contentFormatters[type || "application/json"];
151
+ const responseFormat = format || requestParams.format;
152
+ return this.customFetch(`${baseUrl || this.baseUrl || ""}${path}${queryString ? `?${queryString}` : ""}`, {
153
+ ...requestParams,
154
+ headers: {
155
+ ...requestParams.headers || {},
156
+ ...type && type !== "multipart/form-data" ? {
157
+ "Content-Type": type
158
+ } : {}
159
+ },
160
+ signal: (cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal) || null,
161
+ body: body == null ? null : payloadFormatter(body)
162
+ }).then(async (response) => {
163
+ const r = response;
164
+ r.data = null;
165
+ r.error = null;
166
+ const responseToParse = responseFormat ? response.clone() : response;
167
+ const data = responseFormat ? await responseToParse[responseFormat]().then((data2) => {
168
+ if (r.ok)
169
+ r.data = data2;
170
+ else
171
+ r.error = data2;
172
+ return r;
173
+ }).catch((e) => {
174
+ r.error = e;
175
+ return r;
176
+ }) : r;
177
+ if (cancelToken)
178
+ this.abortControllers.delete(cancelToken);
179
+ if (!response.ok)
180
+ throw data;
181
+ return data.data;
182
+ });
183
+ };
184
+ Object.assign(this, apiConfig);
185
+ }
186
+ }
187
+
188
+ class FirstPartyServiceApi extends HttpClient {
189
+ constructor(...args) {
190
+ super(...args), this.v2 = {
191
+ automationSolutionsGetMetadata: (params = {}) => this.request({
192
+ path: "/v2/automationsolutions/metadata",
193
+ method: "GET",
194
+ ...params
195
+ }),
196
+ automationSolutionsHeadMetadata: (params = {}) => this.request({
197
+ path: "/v2/automationsolutions/metadata",
198
+ method: "HEAD",
199
+ ...params
200
+ }),
201
+ automationSolutionsSetState: (data, query, params = {}) => this.request({
202
+ path: "/v2/automationsolutions",
203
+ method: "PATCH",
204
+ query,
205
+ body: data,
206
+ type: "application/json",
207
+ ...params
208
+ }),
209
+ automationSolutionsInstall: (data, query, params = {}) => this.request({
210
+ path: "/v2/automationsolutions",
211
+ method: "PUT",
212
+ query,
213
+ body: data,
214
+ format: "json",
215
+ ...params
216
+ }),
217
+ automationSolutionsUninstall: (data, query, params = {}) => this.request({
218
+ path: "/v2/automationsolutions",
219
+ method: "DELETE",
220
+ query,
221
+ body: data,
222
+ type: "application/json",
223
+ format: "json",
224
+ ...params
225
+ }),
226
+ automationSolutionsExport: (data, params = {}) => this.request({
227
+ path: "/v2/automationsolutions/export",
228
+ method: "POST",
229
+ body: data,
230
+ type: "application/json",
231
+ format: "json",
232
+ ...params
233
+ }),
234
+ automationSolutionsGetTranslations: (query, params = {}) => this.request({
235
+ path: "/v2/automationsolutions/translations",
236
+ method: "GET",
237
+ query,
238
+ format: "json",
239
+ ...params
240
+ }),
241
+ automationSolutionsValidate: (data, query, params = {}) => this.request({
242
+ path: "/v2/automationsolutions/validate",
243
+ method: "POST",
244
+ query,
245
+ body: data,
246
+ type: "application/json",
247
+ format: "json",
248
+ ...params
249
+ }),
250
+ automationSolutionsLookup: (query, params = {}) => this.request({
251
+ path: "/v2/automationsolutions/lookup",
252
+ method: "GET",
253
+ query,
254
+ format: "json",
255
+ ...params
256
+ })
257
+ };
258
+ }
259
+ }
260
+ export { first_party_service_DeploymentAction, first_party_service_SolutionDeploymentAction, first_party_service_SolutionStatus, first_party_service_QueryOptions, first_party_service_DeploymentResourceValidationErrorLevel, first_party_service_DeploymentResourceValidationErrorKind, first_party_service_DeploymentResourceValidationAction, first_party_service_ContentType, HttpClient, FirstPartyServiceApi };
261
+
262
+ //# debugId=AC88CC622210E15664756E2164756E21
@@ -0,0 +1,19 @@
1
+ // ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-ANSNEGCL.js
2
+ var g = Object.create;
3
+ var f = Object.defineProperty;
4
+ var h = Object.getOwnPropertyDescriptor;
5
+ var i = Object.getOwnPropertyNames;
6
+ var j = Object.getPrototypeOf;
7
+ var k = Object.prototype.hasOwnProperty;
8
+ var n = (b, a) => () => (a || b((a = { exports: {} }).exports, a), a.exports);
9
+ var l = (b, a, c, e) => {
10
+ if (a && typeof a == "object" || typeof a == "function")
11
+ for (let d of i(a))
12
+ !k.call(b, d) && d !== c && f(b, d, { get: () => a[d], enumerable: !(e = h(a, d)) || e.enumerable });
13
+ return b;
14
+ };
15
+ var o = (b, a, c) => (c = b != null ? g(j(b)) : {}, l(a || !b || !b.__esModule ? f(c, "default", { value: b, enumerable: true }) : c, b));
16
+
17
+ export { n, o };
18
+
19
+ //# debugId=6024F4CCA1A3821664756E2164756E21