@epilot/sdk 2.0.4 → 2.1.0-rc.1

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 (201) hide show
  1. package/dist/apis/access-token.cjs +3 -8
  2. package/dist/apis/access-token.js +3 -8
  3. package/dist/apis/address-suggestions.cjs +3 -8
  4. package/dist/apis/address-suggestions.js +3 -8
  5. package/dist/apis/address.cjs +3 -8
  6. package/dist/apis/address.js +3 -8
  7. package/dist/apis/ai-agents.cjs +3 -8
  8. package/dist/apis/ai-agents.js +3 -8
  9. package/dist/apis/app.cjs +3 -8
  10. package/dist/apis/app.d.cts +2 -2
  11. package/dist/apis/app.d.ts +2 -2
  12. package/dist/apis/app.js +3 -8
  13. package/dist/apis/audit-logs.cjs +3 -8
  14. package/dist/apis/audit-logs.js +3 -8
  15. package/dist/apis/automation.cjs +3 -8
  16. package/dist/apis/automation.js +3 -8
  17. package/dist/apis/billing.cjs +3 -8
  18. package/dist/apis/billing.js +3 -8
  19. package/dist/apis/blueprint-manifest.cjs +3 -8
  20. package/dist/apis/blueprint-manifest.d.cts +2 -2
  21. package/dist/apis/blueprint-manifest.d.ts +2 -2
  22. package/dist/apis/blueprint-manifest.js +3 -8
  23. package/dist/apis/consent.cjs +3 -8
  24. package/dist/apis/consent.js +3 -8
  25. package/dist/apis/customer-portal.cjs +3 -8
  26. package/dist/apis/customer-portal.js +3 -8
  27. package/dist/apis/dashboard.cjs +3 -8
  28. package/dist/apis/dashboard.js +3 -8
  29. package/dist/apis/data-management.cjs +3 -8
  30. package/dist/apis/data-management.js +3 -8
  31. package/dist/apis/deduplication.cjs +3 -8
  32. package/dist/apis/deduplication.js +3 -8
  33. package/dist/apis/design.cjs +3 -8
  34. package/dist/apis/design.js +3 -8
  35. package/dist/apis/document.cjs +3 -8
  36. package/dist/apis/document.js +3 -8
  37. package/dist/apis/email-settings.cjs +3 -8
  38. package/dist/apis/email-settings.js +3 -8
  39. package/dist/apis/email-template.cjs +3 -8
  40. package/dist/apis/email-template.d.cts +2 -2
  41. package/dist/apis/email-template.d.ts +2 -2
  42. package/dist/apis/email-template.js +3 -8
  43. package/dist/apis/entity-mapping.cjs +3 -8
  44. package/dist/apis/entity-mapping.js +3 -8
  45. package/dist/apis/entity.cjs +3 -8
  46. package/dist/apis/entity.js +3 -8
  47. package/dist/apis/environments.cjs +3 -8
  48. package/dist/apis/environments.js +3 -8
  49. package/dist/apis/erp-integration.cjs +3 -8
  50. package/dist/apis/erp-integration.js +3 -8
  51. package/dist/apis/event-catalog.cjs +3 -8
  52. package/dist/apis/event-catalog.js +3 -8
  53. package/dist/apis/file.cjs +3 -8
  54. package/dist/apis/file.js +3 -8
  55. package/dist/apis/iban.cjs +3 -8
  56. package/dist/apis/iban.js +3 -8
  57. package/dist/apis/journey.cjs +3 -8
  58. package/dist/apis/journey.js +3 -8
  59. package/dist/apis/kanban.cjs +3 -8
  60. package/dist/apis/kanban.js +3 -8
  61. package/dist/apis/message.cjs +3 -8
  62. package/dist/apis/message.js +3 -8
  63. package/dist/apis/metering.cjs +3 -8
  64. package/dist/apis/metering.js +3 -8
  65. package/dist/apis/notes.cjs +3 -8
  66. package/dist/apis/notes.js +3 -8
  67. package/dist/apis/notification.cjs +3 -8
  68. package/dist/apis/notification.js +3 -8
  69. package/dist/apis/organization.cjs +3 -8
  70. package/dist/apis/organization.js +3 -8
  71. package/dist/apis/partner-directory.cjs +3 -8
  72. package/dist/apis/partner-directory.js +3 -8
  73. package/dist/apis/permissions.cjs +3 -8
  74. package/dist/apis/permissions.js +3 -8
  75. package/dist/apis/pricing-tier.cjs +3 -8
  76. package/dist/apis/pricing-tier.js +3 -8
  77. package/dist/apis/pricing.cjs +3 -8
  78. package/dist/apis/pricing.js +3 -8
  79. package/dist/apis/purpose.cjs +3 -8
  80. package/dist/apis/purpose.js +3 -8
  81. package/dist/apis/sandbox.cjs +3 -8
  82. package/dist/apis/sandbox.js +3 -8
  83. package/dist/apis/submission.cjs +3 -8
  84. package/dist/apis/submission.js +3 -8
  85. package/dist/apis/targeting.cjs +3 -8
  86. package/dist/apis/targeting.js +3 -8
  87. package/dist/apis/template-variables.cjs +3 -8
  88. package/dist/apis/template-variables.js +3 -8
  89. package/dist/apis/user.cjs +3 -8
  90. package/dist/apis/user.js +3 -8
  91. package/dist/apis/validation-rules.cjs +3 -8
  92. package/dist/apis/validation-rules.js +3 -8
  93. package/dist/apis/webhooks.cjs +3 -8
  94. package/dist/apis/webhooks.js +3 -8
  95. package/dist/apis/workflow-definition.cjs +3 -8
  96. package/dist/apis/workflow-definition.js +3 -8
  97. package/dist/apis/workflow.cjs +3 -8
  98. package/dist/apis/workflow.js +3 -8
  99. package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
  100. package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
  101. package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
  102. package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
  103. package/dist/chunk-33TQRYMY.js +14 -0
  104. package/dist/chunk-4JPVFLVU.js +14 -0
  105. package/dist/chunk-4K3MX2J6.js +14 -0
  106. package/dist/chunk-4MO4WLKA.cjs +14 -0
  107. package/dist/chunk-5RXE7X63.js +14 -0
  108. package/dist/chunk-5WN2YXNU.cjs +14 -0
  109. package/dist/chunk-5Y2KLUU6.cjs +14 -0
  110. package/dist/chunk-5YVVQBA2.js +14 -0
  111. package/dist/chunk-6ADJEPMJ.js +14 -0
  112. package/dist/chunk-6BERHKDQ.cjs +14 -0
  113. package/dist/chunk-6J7CIOKR.js +14 -0
  114. package/dist/chunk-7BPPP4M2.js +14 -0
  115. package/dist/chunk-7KFKA3AH.cjs +14 -0
  116. package/dist/chunk-BB7WFIE2.cjs +14 -0
  117. package/dist/chunk-BDIJHJOG.js +14 -0
  118. package/dist/chunk-CBRWUULQ.js +14 -0
  119. package/dist/chunk-CFGXI3FX.js +14 -0
  120. package/dist/chunk-CK36RZXR.js +14 -0
  121. package/dist/chunk-CLMZ2EXW.js +14 -0
  122. package/dist/chunk-CVSQT5PV.cjs +14 -0
  123. package/dist/chunk-CX3KG7D2.cjs +14 -0
  124. package/dist/chunk-D5FJ26GG.js +14 -0
  125. package/dist/chunk-DBNEZWK2.cjs +14 -0
  126. package/dist/chunk-DIP442PL.js +14 -0
  127. package/dist/chunk-E4IFBCNM.cjs +14 -0
  128. package/dist/chunk-EIILOQ6X.js +14 -0
  129. package/dist/chunk-FCLW3FLF.js +14 -0
  130. package/dist/chunk-GGBSLAVO.cjs +14 -0
  131. package/dist/chunk-GMBRXWMD.cjs +14 -0
  132. package/dist/chunk-HBPCJRZX.cjs +14 -0
  133. package/dist/chunk-HKZQ56AS.cjs +14 -0
  134. package/dist/chunk-HO7KACZZ.cjs +14 -0
  135. package/dist/chunk-HSGQSTVK.js +14 -0
  136. package/dist/chunk-ID6BXIOZ.js +14 -0
  137. package/dist/chunk-IPDIEZBN.cjs +14 -0
  138. package/dist/chunk-IPFHV2FV.cjs +14 -0
  139. package/dist/chunk-IXRDP4VP.js +14 -0
  140. package/dist/chunk-JM6HKPSC.cjs +14 -0
  141. package/dist/chunk-JX45ME2Z.js +14 -0
  142. package/dist/chunk-KEJRWMXR.cjs +14 -0
  143. package/dist/chunk-KU2XF4TS.cjs +14 -0
  144. package/dist/chunk-L43U5IO3.js +14 -0
  145. package/dist/chunk-LXAJ722U.js +14 -0
  146. package/dist/chunk-MK4ZGXVE.cjs +14 -0
  147. package/dist/chunk-MKZGM4A6.js +14 -0
  148. package/dist/chunk-N2P26AAD.js +14 -0
  149. package/dist/chunk-NSOHW3R6.js +14 -0
  150. package/dist/chunk-O3R6C3WW.js +14 -0
  151. package/dist/chunk-OBQIS3KU.js +14 -0
  152. package/dist/chunk-OI2M6FSB.js +14 -0
  153. package/dist/chunk-ONN5COYQ.cjs +14 -0
  154. package/dist/chunk-PBNPZ7UX.js +14 -0
  155. package/dist/chunk-PLBIQ2Y7.cjs +14 -0
  156. package/dist/chunk-Q5TESEDZ.cjs +14 -0
  157. package/dist/chunk-R6WNZVTA.cjs +14 -0
  158. package/dist/chunk-RNBO3DEN.js +14 -0
  159. package/dist/chunk-RNKZDJOY.js +14 -0
  160. package/dist/chunk-RQKN4WTW.cjs +14 -0
  161. package/dist/chunk-S2QF6HG2.cjs +14 -0
  162. package/dist/chunk-SHPXCOTN.cjs +14 -0
  163. package/dist/chunk-SPZSDRM6.cjs +14 -0
  164. package/dist/chunk-TBBLLEB2.cjs +14 -0
  165. package/dist/chunk-TIJGLQKO.js +14 -0
  166. package/dist/chunk-TUAAE3UC.cjs +14 -0
  167. package/dist/chunk-U4BMKRG6.js +14 -0
  168. package/dist/chunk-U52A2DMK.cjs +14 -0
  169. package/dist/chunk-UDO4JYVU.cjs +14 -0
  170. package/dist/chunk-UE4XPL43.js +14 -0
  171. package/dist/chunk-UNHWLNE4.js +14 -0
  172. package/dist/chunk-URRL33D5.cjs +14 -0
  173. package/dist/chunk-UTQY2DSM.js +14 -0
  174. package/dist/chunk-UX2IZQNM.cjs +14 -0
  175. package/dist/chunk-UXVV3BSC.cjs +14 -0
  176. package/dist/chunk-V56ZCL54.js +14 -0
  177. package/dist/chunk-VD5TBK2T.cjs +14 -0
  178. package/dist/chunk-W3MM2BSK.cjs +14 -0
  179. package/dist/chunk-WAKSLH7V.cjs +14 -0
  180. package/dist/chunk-WOOKHE7Y.cjs +14 -0
  181. package/dist/chunk-XD6XML3Z.cjs +14 -0
  182. package/dist/chunk-XIB2G42L.cjs +14 -0
  183. package/dist/chunk-XLOXC52O.js +14 -0
  184. package/dist/chunk-Y4YQEDR3.js +14 -0
  185. package/dist/chunk-Y4ZMNMYI.js +14 -0
  186. package/dist/chunk-YFHQYQII.js +14 -0
  187. package/dist/chunk-YGULLD73.js +14 -0
  188. package/dist/chunk-YNPRF4BX.js +14 -0
  189. package/dist/chunk-YXPUCBVK.cjs +14 -0
  190. package/dist/chunk-Z5LLUUFD.cjs +14 -0
  191. package/dist/chunk-ZAPA4RPI.js +14 -0
  192. package/dist/chunk-ZAXYMQ2B.cjs +14 -0
  193. package/dist/chunk-ZDJ3J6Z6.cjs +14 -0
  194. package/dist/chunk-ZPCMZO2O.js +14 -0
  195. package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
  196. package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
  197. package/dist/index.cjs +195 -61
  198. package/dist/index.d.cts +3 -3
  199. package/dist/index.d.ts +3 -3
  200. package/dist/index.js +194 -60
  201. package/package.json +1 -1
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_submission_runtime
3
+ } from "../chunk-IXRDP4VP.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/submission-runtime.json
10
- var require_submission_runtime = __commonJS({
11
- "src/definitions/submission-runtime.json"(exports, module) {
12
- module.exports = { s: "https://submission.sls.epilot.io", o: [["createSubmission", "post", "/v1/submission/submissions", null, 1], ["getNonce", "get", "/v1/submission/nonce/{nonce_id}", [["nonce_id", "p", true]]]] };
13
- }
14
- });
15
-
16
11
  // src/apis/submission.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_submission_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunkUXVV3BSCcjs = require('../chunk-UXVV3BSC.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/targeting-runtime.json
10
- var require_targeting_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/targeting-runtime.json"(exports, module) {
12
- module.exports = { s: "https://targeting.sls.epilot.io", o: [["changeCampaignStatus", "post", "/v1/campaign/{campaign_id}/status", [["CampaignIdPathParam"]]], ["getCampaignJobStatus", "get", "/v1/campaign/{campaign_id}/job", [["CampaignIdPathParam"]]], ["getCampaignPortals", "get", "/v1/campaign/{campaign_id}/portals", [["CampaignIdPathParam"]]], ["retriggerCampaignAutomations", "post", "/v1/campaign/{campaign_id}/automations:retrigger", [["CampaignIdPathParam"]], 1], ["matchCampaigns", "post", "/v1/campaign:match", null, 1], ["matchTargets", "post", "/v1/target:match", null, 1], ["getTargetQueries", "post", "/v1/target/queries", null, 1], ["createRecipient", "post", "/v1/campaign/{campaign_id}/recipient", [["CampaignIdPathParam"]], 1], ["updateRecipient", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["updateRecipientPortalStatus", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["getRecipients", "get", "/v1/campaign/{campaign_id}/recipients", [["CampaignIdPathParam"], ["limit", "q"], ["next", "q"], ["q", "q"], ["automation_status", "q"], ["portal_status", "q"]]]], v: "3.0.3", cp: { CampaignIdPathParam: ["campaign_id", "p", true], RecipientIdPathParam: ["recipient_id", "p", true] } };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/targeting.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_targeting_runtime();
13
+ const mod = _chunkUXVV3BSCcjs.require_targeting_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_targeting_runtime
3
+ } from "../chunk-Y4YQEDR3.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/targeting-runtime.json
10
- var require_targeting_runtime = __commonJS({
11
- "src/definitions/targeting-runtime.json"(exports, module) {
12
- module.exports = { s: "https://targeting.sls.epilot.io", o: [["changeCampaignStatus", "post", "/v1/campaign/{campaign_id}/status", [["CampaignIdPathParam"]]], ["getCampaignJobStatus", "get", "/v1/campaign/{campaign_id}/job", [["CampaignIdPathParam"]]], ["getCampaignPortals", "get", "/v1/campaign/{campaign_id}/portals", [["CampaignIdPathParam"]]], ["retriggerCampaignAutomations", "post", "/v1/campaign/{campaign_id}/automations:retrigger", [["CampaignIdPathParam"]], 1], ["matchCampaigns", "post", "/v1/campaign:match", null, 1], ["matchTargets", "post", "/v1/target:match", null, 1], ["getTargetQueries", "post", "/v1/target/queries", null, 1], ["createRecipient", "post", "/v1/campaign/{campaign_id}/recipient", [["CampaignIdPathParam"]], 1], ["updateRecipient", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["updateRecipientPortalStatus", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["getRecipients", "get", "/v1/campaign/{campaign_id}/recipients", [["CampaignIdPathParam"], ["limit", "q"], ["next", "q"], ["q", "q"], ["automation_status", "q"], ["portal_status", "q"]]]], v: "3.0.3", cp: { CampaignIdPathParam: ["campaign_id", "p", true], RecipientIdPathParam: ["recipient_id", "p", true] } };
13
- }
14
- });
15
-
16
11
  // src/apis/targeting.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_targeting_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunkGGBSLAVOcjs = require('../chunk-GGBSLAVO.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/template-variables-runtime.json
10
- var require_template_variables_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/template-variables-runtime.json"(exports, module) {
12
- module.exports = { s: "https://template-variables-api.sls.epilot.io", o: [["getCategories", "get", "/v1/template-variables/categories", [["lang", "q"]]], ["searchVariables", "post", "/v1/template-variables:search", null, 1], ["getVariableContext", "post", "/v1/template-variables:context", null, 1], ["replaceTemplates", "post", "/v1/template-variables:replace", null, 1], ["replaceTemplatesV2", "post", "/v2/template:replace", null, 1], ["getCustomVariables", "get", "/v1/custom-variables"], ["createCustomVariable", "post", "/v1/custom-variables", null, 1], ["searchCustomVariables", "post", "/v1/custom-variables:search", null, 1], ["updateCustomVariable", "put", "/v1/custom-variables/{id}", [["id", "p", true]], 1], ["getCustomVariable", "get", "/v1/custom-variables/{id}", [["id", "p", true]]], ["deleteCustomVariable", "delete", "/v1/custom-variables/{id}", [["id", "p", true]]], ["getBluePrintTableConfig", "get", "/v1/custom-variables/order-table-blueprint"]] };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/template-variables.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_template_variables_runtime();
13
+ const mod = _chunkGGBSLAVOcjs.require_template_variables_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_template_variables_runtime
3
+ } from "../chunk-7BPPP4M2.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/template-variables-runtime.json
10
- var require_template_variables_runtime = __commonJS({
11
- "src/definitions/template-variables-runtime.json"(exports, module) {
12
- module.exports = { s: "https://template-variables-api.sls.epilot.io", o: [["getCategories", "get", "/v1/template-variables/categories", [["lang", "q"]]], ["searchVariables", "post", "/v1/template-variables:search", null, 1], ["getVariableContext", "post", "/v1/template-variables:context", null, 1], ["replaceTemplates", "post", "/v1/template-variables:replace", null, 1], ["replaceTemplatesV2", "post", "/v2/template:replace", null, 1], ["getCustomVariables", "get", "/v1/custom-variables"], ["createCustomVariable", "post", "/v1/custom-variables", null, 1], ["searchCustomVariables", "post", "/v1/custom-variables:search", null, 1], ["updateCustomVariable", "put", "/v1/custom-variables/{id}", [["id", "p", true]], 1], ["getCustomVariable", "get", "/v1/custom-variables/{id}", [["id", "p", true]]], ["deleteCustomVariable", "delete", "/v1/custom-variables/{id}", [["id", "p", true]]], ["getBluePrintTableConfig", "get", "/v1/custom-variables/order-table-blueprint"]] };
13
- }
14
- });
15
-
16
11
  // src/apis/template-variables.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_template_variables_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunk6BERHKDQcjs = require('../chunk-6BERHKDQ.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/user-runtime.json
10
- var require_user_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/user-runtime.json"(exports, module) {
12
- module.exports = { s: "https://user.sls.epilot.io", o: [["signUpUser", "post", "/v2/users/public/signup", [["token", "q"]], 1], ["getMeV2", "get", "/v2/users/me"], ["listUsersV2", "get", "/v2/users", [["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUserV2", "get", "/v2/users/{id}", [["id", "p", true]]], ["updateUserV2", "patch", "/v2/users/{id}", [["id", "p", true]], 1], ["deleteUserV2", "delete", "/v2/users/{id}", [["id", "p", true]]], ["inviteUser", "post", "/v2/users/invite", null, 1], ["resendUserInvitation", "post", "/v2/users/invite:resendEmail", null, 1], ["getGroupsForUser", "get", "/v2/users/{id}/groups", [["id", "p", true]]], ["getGroups", "get", "/v1/groups", [["query", "q"], ["limit", "q"], ["offset", "q"], ["hydrate", "q"]]], ["createGroup", "post", "/v1/groups", null, 1], ["getGroup", "get", "/v1/groups/{id}", [["id", "p", true], ["hydrate", "q"]]], ["updateGroup", "patch", "/v1/groups/{id}", [["id", "p", true]], 1], ["deleteGroup", "delete", "/v1/groups/{id}", [["id", "p", true]]], ["advanceUserAssignment", "post", "/v1/groups/{id}/user:next", [["id", "p", true]]], ["createNavigation", "post", "/v2/user/navigations", null, 1], ["getNavigation", "get", "/v2/user/navigations/{id}", [["id", "p", true]]], ["verifyEmailWithToken", "post", "/v2/users/public/verifyEmail", [["token", "q", true]], 1], ["checkInviteToken", "get", "/v2/users/public/checkToken", [["token", "q", true]]], ["activateUser", "post", "/v2/users/public/activate", [["token", "q", true]], 1], ["rejectInvite", "delete", "/v2/users/public/reject", [["token", "q", true]]], ["getUserLoginParametersV2", "get", "/v2/users/public/username/{username}:getLoginParameters", [["username", "p", true]]], ["beginPasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBegin", null, 1], ["beginDiscoverablePasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBeginDiscoverable"], ["resolveDiscoverableCredential", "post", "/v2/users/public/passkeys:resolveCredential", null, 1], ["beginPasskeyRegistration", "post", "/v2/users/me/passkeys:registerBegin", null, 1], ["completePasskeyRegistration", "post", "/v2/users/me/passkeys:registerComplete", null, 1], ["listPasskeys", "get", "/v2/users/me/passkeys"], ["deletePasskey", "delete", "/v2/users/me/passkeys/{credentialId}", [["credentialId", "p", true]]], ["switchOrganization", "post", "/v2/users/switchOrganization", null, 1], ["getMe", "get", "/v1/users/me"], ["listUsers", "get", "/v1/users", [["org_ids", "q", false, "form", false], ["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUser", "get", "/v1/users/{id}", [["id", "p", true]]], ["getUserLoginParameters", "get", "/v1/users/username/{username}:getLoginParameters", [["username", "p", true]]]] };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/user.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_user_runtime();
13
+ const mod = _chunk6BERHKDQcjs.require_user_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
package/dist/apis/user.js CHANGED
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_user_runtime
3
+ } from "../chunk-ZAPA4RPI.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/user-runtime.json
10
- var require_user_runtime = __commonJS({
11
- "src/definitions/user-runtime.json"(exports, module) {
12
- module.exports = { s: "https://user.sls.epilot.io", o: [["signUpUser", "post", "/v2/users/public/signup", [["token", "q"]], 1], ["getMeV2", "get", "/v2/users/me"], ["listUsersV2", "get", "/v2/users", [["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUserV2", "get", "/v2/users/{id}", [["id", "p", true]]], ["updateUserV2", "patch", "/v2/users/{id}", [["id", "p", true]], 1], ["deleteUserV2", "delete", "/v2/users/{id}", [["id", "p", true]]], ["inviteUser", "post", "/v2/users/invite", null, 1], ["resendUserInvitation", "post", "/v2/users/invite:resendEmail", null, 1], ["getGroupsForUser", "get", "/v2/users/{id}/groups", [["id", "p", true]]], ["getGroups", "get", "/v1/groups", [["query", "q"], ["limit", "q"], ["offset", "q"], ["hydrate", "q"]]], ["createGroup", "post", "/v1/groups", null, 1], ["getGroup", "get", "/v1/groups/{id}", [["id", "p", true], ["hydrate", "q"]]], ["updateGroup", "patch", "/v1/groups/{id}", [["id", "p", true]], 1], ["deleteGroup", "delete", "/v1/groups/{id}", [["id", "p", true]]], ["advanceUserAssignment", "post", "/v1/groups/{id}/user:next", [["id", "p", true]]], ["createNavigation", "post", "/v2/user/navigations", null, 1], ["getNavigation", "get", "/v2/user/navigations/{id}", [["id", "p", true]]], ["verifyEmailWithToken", "post", "/v2/users/public/verifyEmail", [["token", "q", true]], 1], ["checkInviteToken", "get", "/v2/users/public/checkToken", [["token", "q", true]]], ["activateUser", "post", "/v2/users/public/activate", [["token", "q", true]], 1], ["rejectInvite", "delete", "/v2/users/public/reject", [["token", "q", true]]], ["getUserLoginParametersV2", "get", "/v2/users/public/username/{username}:getLoginParameters", [["username", "p", true]]], ["beginPasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBegin", null, 1], ["beginDiscoverablePasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBeginDiscoverable"], ["resolveDiscoverableCredential", "post", "/v2/users/public/passkeys:resolveCredential", null, 1], ["beginPasskeyRegistration", "post", "/v2/users/me/passkeys:registerBegin", null, 1], ["completePasskeyRegistration", "post", "/v2/users/me/passkeys:registerComplete", null, 1], ["listPasskeys", "get", "/v2/users/me/passkeys"], ["deletePasskey", "delete", "/v2/users/me/passkeys/{credentialId}", [["credentialId", "p", true]]], ["switchOrganization", "post", "/v2/users/switchOrganization", null, 1], ["getMe", "get", "/v1/users/me"], ["listUsers", "get", "/v1/users", [["org_ids", "q", false, "form", false], ["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUser", "get", "/v1/users/{id}", [["id", "p", true]]], ["getUserLoginParameters", "get", "/v1/users/username/{username}:getLoginParameters", [["username", "p", true]]]] };
13
- }
14
- });
15
-
16
11
  // src/apis/user.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_user_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunkQ5TESEDZcjs = require('../chunk-Q5TESEDZ.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/validation-rules-runtime.json
10
- var require_validation_rules_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/validation-rules-runtime.json"(exports, module) {
12
- module.exports = { s: "https://validation-rules.sls.epilot.io", o: [["getValidationRules", "get", "/v1/validation-rules"], ["createValidationRule", "post", "/v1/validation-rules", null, 1], ["getValidationRuleById", "get", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]]], ["updateValidationRule", "patch", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]], 1], ["deleteValidationRule", "delete", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]]], ["addUsedByReference", "post", "/v1/validation-rules/{ruleId}/used-by", [["ruleId", "p", true]], 1], ["removeUsedByReference", "delete", "/v1/validation-rules/{ruleId}/used-by", [["ruleId", "p", true]], 1]], v: "3.0.3" };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/validation-rules.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_validation_rules_runtime();
13
+ const mod = _chunkQ5TESEDZcjs.require_validation_rules_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_validation_rules_runtime
3
+ } from "../chunk-LXAJ722U.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/validation-rules-runtime.json
10
- var require_validation_rules_runtime = __commonJS({
11
- "src/definitions/validation-rules-runtime.json"(exports, module) {
12
- module.exports = { s: "https://validation-rules.sls.epilot.io", o: [["getValidationRules", "get", "/v1/validation-rules"], ["createValidationRule", "post", "/v1/validation-rules", null, 1], ["getValidationRuleById", "get", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]]], ["updateValidationRule", "patch", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]], 1], ["deleteValidationRule", "delete", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]]], ["addUsedByReference", "post", "/v1/validation-rules/{ruleId}/used-by", [["ruleId", "p", true]], 1], ["removeUsedByReference", "delete", "/v1/validation-rules/{ruleId}/used-by", [["ruleId", "p", true]], 1]], v: "3.0.3" };
13
- }
14
- });
15
-
16
11
  // src/apis/validation-rules.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_validation_rules_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunkKEJRWMXRcjs = require('../chunk-KEJRWMXR.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/webhooks-runtime.json
10
- var require_webhooks_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/webhooks-runtime.json"(exports, module) {
12
- module.exports = { s: "https://webhooks.sls.epilot.io", o: [["getPublicKey", "get", "/v1/webhooks/.well-known/public-key", [["orgId", "q", true]]], ["getConfiguredEvents", "get", "/v1/webhooks/configured-events"], ["getConfigs", "get", "/v1/webhooks/configs", [["eventName", "q"]]], ["createConfig", "post", "/v1/webhooks/configs", null, 1], ["getConfig", "get", "/v1/webhooks/configs/{configId}", [["configId", "p", true]]], ["updateConfig", "put", "/v1/webhooks/configs/{configId}", [["configId", "p", true]], 1], ["deleteConfig", "delete", "/v1/webhooks/configs/{configId}", [["configId", "p", true]]], ["triggerWebhook", "post", "/v1/webhooks/configs/{configId}/trigger", [["sync", "q"], ["configId", "p", true]], 1], ["getWehookEvents", "get", "/v1/webhooks/configs/{configId}/events", [["configId", "p", true], ["status", "q"], ["cursor", "q"]]], ["batchReplayEvents", "post", "/v1/webhooks/configs/{configId}/events/replay-batch", [["configId", "p", true]], 1], ["getEventById", "get", "/v1/webhooks/configs/{configId}/events/{eventId}", [["configId", "p", true], ["eventId", "p", true]]], ["replayEvent", "post", "/v1/webhooks/configs/{configId}/events/{eventId}/replay", [["configId", "p", true], ["eventId", "p", true]]], ["getWebhookExample", "post", "/v1/webhooks/configs/{configId}/example", [["configId", "p", true]], 1], ["getWebhookEventsV2", "post", "/v2/webhooks/configs/{configId}/events", [["configId", "p", true]], 1]], v: "3.0.0" };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/webhooks.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_webhooks_runtime();
13
+ const mod = _chunkKEJRWMXRcjs.require_webhooks_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_webhooks_runtime
3
+ } from "../chunk-5YVVQBA2.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/webhooks-runtime.json
10
- var require_webhooks_runtime = __commonJS({
11
- "src/definitions/webhooks-runtime.json"(exports, module) {
12
- module.exports = { s: "https://webhooks.sls.epilot.io", o: [["getPublicKey", "get", "/v1/webhooks/.well-known/public-key", [["orgId", "q", true]]], ["getConfiguredEvents", "get", "/v1/webhooks/configured-events"], ["getConfigs", "get", "/v1/webhooks/configs", [["eventName", "q"]]], ["createConfig", "post", "/v1/webhooks/configs", null, 1], ["getConfig", "get", "/v1/webhooks/configs/{configId}", [["configId", "p", true]]], ["updateConfig", "put", "/v1/webhooks/configs/{configId}", [["configId", "p", true]], 1], ["deleteConfig", "delete", "/v1/webhooks/configs/{configId}", [["configId", "p", true]]], ["triggerWebhook", "post", "/v1/webhooks/configs/{configId}/trigger", [["sync", "q"], ["configId", "p", true]], 1], ["getWehookEvents", "get", "/v1/webhooks/configs/{configId}/events", [["configId", "p", true], ["status", "q"], ["cursor", "q"]]], ["batchReplayEvents", "post", "/v1/webhooks/configs/{configId}/events/replay-batch", [["configId", "p", true]], 1], ["getEventById", "get", "/v1/webhooks/configs/{configId}/events/{eventId}", [["configId", "p", true], ["eventId", "p", true]]], ["replayEvent", "post", "/v1/webhooks/configs/{configId}/events/{eventId}/replay", [["configId", "p", true], ["eventId", "p", true]]], ["getWebhookExample", "post", "/v1/webhooks/configs/{configId}/example", [["configId", "p", true]], 1], ["getWebhookEventsV2", "post", "/v2/webhooks/configs/{configId}/events", [["configId", "p", true]], 1]], v: "3.0.0" };
13
- }
14
- });
15
-
16
11
  // src/apis/webhooks.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_webhooks_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunkWOOKHE7Ycjs = require('../chunk-WOOKHE7Y.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/workflow-definition-runtime.json
10
- var require_workflow_definition_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/workflow-definition-runtime.json"(exports, module) {
12
- module.exports = { s: "https://workflows-definition.sls.epilot.io", o: [["getMaxAllowedLimit", "get", "/v1/workflows/limits/max-allowed"], ["getDefinitions", "get", "/v1/workflows/definitions"], ["createDefinition", "post", "/v1/workflows/definitions", null, 1], ["listFlowTemplates", "get", "/v2/flows/templates", [["trigger_type", "q"], ["trigger_source_id", "q"], ["trigger_schema", "q"]]], ["createFlowTemplate", "post", "/v2/flows/templates", null, 1], ["searchFlowTemplates", "post", "/v2/flows/templates:search", null, 1], ["getFlowTemplate", "get", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["updateFlowTemplate", "put", "/v2/flows/templates/{flowId}", [["flowId", "p", true]], 1], ["deleteFlowTemplate", "delete", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["duplicateFlowTemplate", "post", "/v2/flows/templates/{flowId}/duplicate", [["flowId", "p", true]]], ["exportFlowTemplate", "get", "/v2/flows/templates/{flowId}/export", [["flowId", "p", true]]], ["importFlowTemplate", "post", "/v2/flows/templates/import", null, 1], ["getDefinition", "get", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["updateDefinition", "put", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]], 1], ["deleteDefinition", "delete", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["getAllClosingReasons", "get", "/v1/workflows/closing-reasons", [["includeInactive", "q"]]], ["createClosingReason", "post", "/v1/workflows/closing-reasons", null, 1], ["getClosingReason", "get", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["updateClosingReason", "patch", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["deleteClosingReason", "delete", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["getClosingReasonV1", "get", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["changeReasonStatus", "patch", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["getWorkflowClosingReasons", "get", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]]], ["setWorkflowClosingReasons", "patch", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]], 1]], v: "3.0.0" };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/workflow-definition.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_workflow_definition_runtime();
13
+ const mod = _chunkWOOKHE7Ycjs.require_workflow_definition_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_workflow_definition_runtime
3
+ } from "../chunk-YNPRF4BX.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/workflow-definition-runtime.json
10
- var require_workflow_definition_runtime = __commonJS({
11
- "src/definitions/workflow-definition-runtime.json"(exports, module) {
12
- module.exports = { s: "https://workflows-definition.sls.epilot.io", o: [["getMaxAllowedLimit", "get", "/v1/workflows/limits/max-allowed"], ["getDefinitions", "get", "/v1/workflows/definitions"], ["createDefinition", "post", "/v1/workflows/definitions", null, 1], ["listFlowTemplates", "get", "/v2/flows/templates", [["trigger_type", "q"], ["trigger_source_id", "q"], ["trigger_schema", "q"]]], ["createFlowTemplate", "post", "/v2/flows/templates", null, 1], ["searchFlowTemplates", "post", "/v2/flows/templates:search", null, 1], ["getFlowTemplate", "get", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["updateFlowTemplate", "put", "/v2/flows/templates/{flowId}", [["flowId", "p", true]], 1], ["deleteFlowTemplate", "delete", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["duplicateFlowTemplate", "post", "/v2/flows/templates/{flowId}/duplicate", [["flowId", "p", true]]], ["exportFlowTemplate", "get", "/v2/flows/templates/{flowId}/export", [["flowId", "p", true]]], ["importFlowTemplate", "post", "/v2/flows/templates/import", null, 1], ["getDefinition", "get", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["updateDefinition", "put", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]], 1], ["deleteDefinition", "delete", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["getAllClosingReasons", "get", "/v1/workflows/closing-reasons", [["includeInactive", "q"]]], ["createClosingReason", "post", "/v1/workflows/closing-reasons", null, 1], ["getClosingReason", "get", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["updateClosingReason", "patch", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["deleteClosingReason", "delete", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["getClosingReasonV1", "get", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["changeReasonStatus", "patch", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["getWorkflowClosingReasons", "get", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]]], ["setWorkflowClosingReasons", "patch", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]], 1]], v: "3.0.0" };
13
- }
14
- });
15
-
16
11
  // src/apis/workflow-definition.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_workflow_definition_runtime();
@@ -1,21 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
+ var _chunkONN5COYQcjs = require('../chunk-ONN5COYQ.cjs');
3
4
 
4
5
 
5
6
 
6
7
 
7
- var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
8
8
 
9
- // src/definitions/workflow-runtime.json
10
- var require_workflow_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
11
- "src/definitions/workflow-runtime.json"(exports, module) {
12
- module.exports = { s: "https://workflows-execution.sls.epilot.io", o: [["getExecutions", "get", "/v1/workflows/executions", [["context", "q"], ["schema", "q"]]], ["createExecution", "post", "/v1/workflows/executions", null, 1], ["getExecution", "get", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]]], ["updateExecution", "patch", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]], 1], ["deleteExecution", "delete", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]]], ["createStep", "post", "/v1/workflows/executions/{executionId}/steps", [["executionId", "p", true]], 1], ["updateStep", "patch", "/v1/workflows/executions/{executionId}/steps/{stepId}", [["executionId", "p", true], ["stepId", "p", true]], 1], ["deleteStep", "delete", "/v1/workflows/executions/{executionId}/steps/{stepId}", [["executionId", "p", true], ["stepId", "p", true]]], ["searchExecutions", "post", "/v1/workflows/executions/search", null, 1], ["searchSteps", "post", "/v1/workflows/executions/steps/search", null, 1], ["getClosingReasonExecution", "get", "/v1/workflows/executions/{executionId}/closing-reasons", [["executionId", "p", true]]], ["startFlowExecution", "post", "/v2/flows/executions", null, 1], ["getFlowExecution", "get", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"]]], ["patchFlowExecution", "patch", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"]], 1], ["deleteFlowExecution", "delete", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"], ["SoftDeleteParam"]]], ["searchFlowExecutions", "post", "/v2/flows/executions:search", null, 1], ["patchTask", "patch", "/v2/flows/executions/{execution_id}/tasks/{task_id}", [["ExecutionIdParam"], ["TaskIdParam"]], 1], ["runTaskAutomation", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/automation:run", [["ExecutionIdParam"], ["TaskIdParam"]]], ["executeTask", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/execute", [["ExecutionIdParam"], ["TaskIdParam"]]], ["patchPhase", "patch", "/v2/flows/executions/{execution_id}/phases/{phase_id}", [["ExecutionIdParam"], ["PhaseIdParam"]], 1], ["addTask", "post", "/v2/flows/executions/{execution_id}/tasks", [["ExecutionIdParam"]], 1], ["cancelTaskSchedule", "delete", "/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule", [["ExecutionIdParam"], ["TaskIdParam"]]], ["cancelSchedule", "post", "/v2/flows/executions/{execution_id}/schedules/{schedule_id}", [["ExecutionIdParam"], ["ScheduleIdParam"]]]], v: "3.0.0", cp: { ExecutionIdParam: ["execution_id", "p", true], TaskIdParam: ["task_id", "p", true], PhaseIdParam: ["phase_id", "p", true], ScheduleIdParam: ["schedule_id", "p", true], SoftDeleteParam: ["soft", "q"] } };
13
- }
14
- });
9
+ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
15
10
 
16
11
  // src/apis/workflow.ts
17
12
  var loadDefinition = () => {
18
- const mod = require_workflow_runtime();
13
+ const mod = _chunkONN5COYQcjs.require_workflow_runtime.call(void 0, );
19
14
  return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
20
15
  };
21
16
  var _instance = null;
@@ -1,18 +1,13 @@
1
1
  import {
2
- __commonJS,
2
+ require_workflow_runtime
3
+ } from "../chunk-U4BMKRG6.js";
4
+ import {
3
5
  authorize,
4
6
  createApiClient,
5
7
  createApiHandle,
6
8
  expand
7
9
  } from "../chunk-XE25WERA.js";
8
10
 
9
- // src/definitions/workflow-runtime.json
10
- var require_workflow_runtime = __commonJS({
11
- "src/definitions/workflow-runtime.json"(exports, module) {
12
- module.exports = { s: "https://workflows-execution.sls.epilot.io", o: [["getExecutions", "get", "/v1/workflows/executions", [["context", "q"], ["schema", "q"]]], ["createExecution", "post", "/v1/workflows/executions", null, 1], ["getExecution", "get", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]]], ["updateExecution", "patch", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]], 1], ["deleteExecution", "delete", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]]], ["createStep", "post", "/v1/workflows/executions/{executionId}/steps", [["executionId", "p", true]], 1], ["updateStep", "patch", "/v1/workflows/executions/{executionId}/steps/{stepId}", [["executionId", "p", true], ["stepId", "p", true]], 1], ["deleteStep", "delete", "/v1/workflows/executions/{executionId}/steps/{stepId}", [["executionId", "p", true], ["stepId", "p", true]]], ["searchExecutions", "post", "/v1/workflows/executions/search", null, 1], ["searchSteps", "post", "/v1/workflows/executions/steps/search", null, 1], ["getClosingReasonExecution", "get", "/v1/workflows/executions/{executionId}/closing-reasons", [["executionId", "p", true]]], ["startFlowExecution", "post", "/v2/flows/executions", null, 1], ["getFlowExecution", "get", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"]]], ["patchFlowExecution", "patch", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"]], 1], ["deleteFlowExecution", "delete", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"], ["SoftDeleteParam"]]], ["searchFlowExecutions", "post", "/v2/flows/executions:search", null, 1], ["patchTask", "patch", "/v2/flows/executions/{execution_id}/tasks/{task_id}", [["ExecutionIdParam"], ["TaskIdParam"]], 1], ["runTaskAutomation", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/automation:run", [["ExecutionIdParam"], ["TaskIdParam"]]], ["executeTask", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/execute", [["ExecutionIdParam"], ["TaskIdParam"]]], ["patchPhase", "patch", "/v2/flows/executions/{execution_id}/phases/{phase_id}", [["ExecutionIdParam"], ["PhaseIdParam"]], 1], ["addTask", "post", "/v2/flows/executions/{execution_id}/tasks", [["ExecutionIdParam"]], 1], ["cancelTaskSchedule", "delete", "/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule", [["ExecutionIdParam"], ["TaskIdParam"]]], ["cancelSchedule", "post", "/v2/flows/executions/{execution_id}/schedules/{schedule_id}", [["ExecutionIdParam"], ["ScheduleIdParam"]]]], v: "3.0.0", cp: { ExecutionIdParam: ["execution_id", "p", true], TaskIdParam: ["task_id", "p", true], PhaseIdParam: ["phase_id", "p", true], ScheduleIdParam: ["schedule_id", "p", true], SoftDeleteParam: ["soft", "q"] } };
13
- }
14
- });
15
-
16
11
  // src/apis/workflow.ts
17
12
  var loadDefinition = () => {
18
13
  const mod = require_workflow_runtime();
@@ -1,8 +1,6 @@
1
1
  import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
2
 
3
3
  /* Auto-copied from app-client */
4
- /* eslint-disable */
5
-
6
4
 
7
5
 
8
6
  declare namespace Components {
@@ -1538,6 +1536,7 @@ declare namespace Components {
1538
1536
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
1539
1537
  */
1540
1538
  use_static_ips?: boolean;
1539
+ secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
1541
1540
  }
1542
1541
  /**
1543
1542
  * Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).
@@ -1619,6 +1618,7 @@ declare namespace Components {
1619
1618
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
1620
1619
  */
1621
1620
  use_static_ips?: boolean;
1621
+ secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
1622
1622
  }
1623
1623
  /**
1624
1624
  * Hook that will allow using the specified source as data for consumption visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
@@ -1675,6 +1675,7 @@ declare namespace Components {
1675
1675
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
1676
1676
  */
1677
1677
  use_static_ips?: boolean;
1678
+ secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
1678
1679
  }
1679
1680
  /**
1680
1681
  * Hook that checks the plausibility of meter readings before they are saved. This hook makes a POST call whenever a user is trying to save a meter reading. The expected response to the call is:
@@ -1768,6 +1769,7 @@ declare namespace Components {
1768
1769
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
1769
1770
  */
1770
1771
  use_static_ips?: boolean;
1772
+ secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
1771
1773
  }
1772
1774
  /**
1773
1775
  * Hook that will allow using the specified source as data for price visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
@@ -1824,6 +1826,7 @@ declare namespace Components {
1824
1826
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
1825
1827
  */
1826
1828
  use_static_ips?: boolean;
1829
+ secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
1827
1830
  }
1828
1831
  /**
1829
1832
  * Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
@@ -1875,6 +1878,7 @@ declare namespace Components {
1875
1878
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
1876
1879
  */
1877
1880
  use_static_ips?: boolean;
1881
+ secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
1878
1882
  }
1879
1883
  export interface PortalExtensionSeamlessLink {
1880
1884
  /**
@@ -1904,6 +1908,19 @@ declare namespace Components {
1904
1908
  };
1905
1909
  };
1906
1910
  }
1911
+ /**
1912
+ * If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips.
1913
+ */
1914
+ export interface PortalExtensionSecureProxy {
1915
+ /**
1916
+ * Integration ID that owns the secure_proxy use case.
1917
+ */
1918
+ integration_id: string; // uuid
1919
+ /**
1920
+ * Use case slug for the secure proxy use case.
1921
+ */
1922
+ use_case_slug: string;
1923
+ }
1907
1924
  export interface Pricing {
1908
1925
  pricing_type?: "FREE" | "SUBSCRIPTION" | "USAGE_BASED" | "ONE_TIME" | "CUSTOM" | "UNKNOWN";
1909
1926
  billing_frequency?: /* How often the subscription is billed */ BillingFrequency;
@@ -3356,6 +3373,7 @@ type PortalExtensionHookMeterReadingPlausibilityCheck = Components.Schemas.Porta
3356
3373
  type PortalExtensionHookPriceDataRetrieval = Components.Schemas.PortalExtensionHookPriceDataRetrieval;
3357
3374
  type PortalExtensionHookRegistrationIdentifiersCheck = Components.Schemas.PortalExtensionHookRegistrationIdentifiersCheck;
3358
3375
  type PortalExtensionSeamlessLink = Components.Schemas.PortalExtensionSeamlessLink;
3376
+ type PortalExtensionSecureProxy = Components.Schemas.PortalExtensionSecureProxy;
3359
3377
  type Pricing = Components.Schemas.Pricing;
3360
3378
  type PublicConfiguration = Components.Schemas.PublicConfiguration;
3361
3379
  type RawEvents = Components.Schemas.RawEvents;
@@ -3366,4 +3384,4 @@ type SandboxCustomActionConfig = Components.Schemas.SandboxCustomActionConfig;
3366
3384
  type TextArg = Components.Schemas.TextArg;
3367
3385
  type TranslatedString = Components.Schemas.TranslatedString;
3368
3386
 
3369
- export { type PortalExtensionComponent as $, type Actor as A, type BaseComponent as B, type Client as C, type ExternalIntegrationCustomActionConfig as D, type EnumArg as E, type ExternalProductCatalogAuthBlock as F, type ExternalProductCatalogComponent as G, type ExternalProductCatalogConfig as H, type ExternalProductCatalogHookProductRecommendations as I, type ExternalProductCatalogHookProducts as J, type Grants as K, type Installation as L, type JourneyBlockComponent as M, type JourneyBlockComponentArgs as N, type OperationMethods as O, Paths as P, type JourneyBlockConfig as Q, type NotificationConfig as R, type NotificationEvent as S, type Option as T, type Options as U, type OptionsRef as V, type OverrideDevMode as W, type PortalBlockComponent as X, type PortalBlockConfig as Y, type PortalBlockSurfaceConfig as Z, type PortalExtensionAuthBlock as _, Components as a, type PortalExtensionConfig as a0, type PortalExtensionHookConsumptionDataRetrieval as a1, type PortalExtensionHookContractIdentification as a2, type PortalExtensionHookCostDataRetrieval as a3, type PortalExtensionHookMeterReadingPlausibilityCheck as a4, type PortalExtensionHookPriceDataRetrieval as a5, type PortalExtensionHookRegistrationIdentifiersCheck as a6, type PortalExtensionSeamlessLink as a7, type Pricing as a8, type PublicConfiguration as a9, type RawEvents as aa, type Review as ab, type Role as ac, type S3Reference as ad, type SandboxCustomActionConfig as ae, type TextArg as af, type TranslatedString as ag, type PathsDictionary as b, type AggregatedEvents as c, type AppBridgeSurfaceConfig as d, type AppEventData as e, type Audit as f, type Author as g, type BaseComponentCommon as h, type BaseCustomActionConfig as i, type BatchEventRequest as j, type BillingFrequency as k, type BlueprintRef as l, type BooleanArg as m, type CallerIdentity as n, type ComponentType as o, type Configuration as p, type ConfigurationMetadata as q, type ConfigurationVersion as r, type CustomCapabilityComponent as s, type CustomFlowActionComponent as t, type CustomFlowConfig as u, type CustomPageComponent as v, type CustomPageConfig as w, type ErpInformToolkitComponent as x, type EventsQuery as y, type EventsQueryResponse as z };
3387
+ export { type PortalExtensionComponent as $, type Actor as A, type BaseComponent as B, type Client as C, type ExternalIntegrationCustomActionConfig as D, type EnumArg as E, type ExternalProductCatalogAuthBlock as F, type ExternalProductCatalogComponent as G, type ExternalProductCatalogConfig as H, type ExternalProductCatalogHookProductRecommendations as I, type ExternalProductCatalogHookProducts as J, type Grants as K, type Installation as L, type JourneyBlockComponent as M, type JourneyBlockComponentArgs as N, type OperationMethods as O, Paths as P, type JourneyBlockConfig as Q, type NotificationConfig as R, type NotificationEvent as S, type Option as T, type Options as U, type OptionsRef as V, type OverrideDevMode as W, type PortalBlockComponent as X, type PortalBlockConfig as Y, type PortalBlockSurfaceConfig as Z, type PortalExtensionAuthBlock as _, Components as a, type PortalExtensionConfig as a0, type PortalExtensionHookConsumptionDataRetrieval as a1, type PortalExtensionHookContractIdentification as a2, type PortalExtensionHookCostDataRetrieval as a3, type PortalExtensionHookMeterReadingPlausibilityCheck as a4, type PortalExtensionHookPriceDataRetrieval as a5, type PortalExtensionHookRegistrationIdentifiersCheck as a6, type PortalExtensionSeamlessLink as a7, type PortalExtensionSecureProxy as a8, type Pricing as a9, type PublicConfiguration as aa, type RawEvents as ab, type Review as ac, type Role as ad, type S3Reference as ae, type SandboxCustomActionConfig as af, type TextArg as ag, type TranslatedString as ah, type PathsDictionary as b, type AggregatedEvents as c, type AppBridgeSurfaceConfig as d, type AppEventData as e, type Audit as f, type Author as g, type BaseComponentCommon as h, type BaseCustomActionConfig as i, type BatchEventRequest as j, type BillingFrequency as k, type BlueprintRef as l, type BooleanArg as m, type CallerIdentity as n, type ComponentType as o, type Configuration as p, type ConfigurationMetadata as q, type ConfigurationVersion as r, type CustomCapabilityComponent as s, type CustomFlowActionComponent as t, type CustomFlowConfig as u, type CustomPageComponent as v, type CustomPageConfig as w, type ErpInformToolkitComponent as x, type EventsQuery as y, type EventsQueryResponse as z };