@epilot/sdk 2.20.86 → 2.20.87

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 (138) hide show
  1. package/definitions/workflow-runtime.json +1 -1
  2. package/definitions/workflow.json +4072 -1386
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/chat.cjs +6 -6
  24. package/dist/apis/chat.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/external-values.cjs +6 -6
  54. package/dist/apis/external-values.js +1 -1
  55. package/dist/apis/file.cjs +6 -6
  56. package/dist/apis/file.js +1 -1
  57. package/dist/apis/iban.cjs +6 -6
  58. package/dist/apis/iban.js +1 -1
  59. package/dist/apis/identity.cjs +6 -6
  60. package/dist/apis/identity.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +6 -6
  62. package/dist/apis/integration-toolkit.js +1 -1
  63. package/dist/apis/journey.cjs +6 -6
  64. package/dist/apis/journey.js +1 -1
  65. package/dist/apis/kanban.cjs +6 -6
  66. package/dist/apis/kanban.js +1 -1
  67. package/dist/apis/message.cjs +6 -6
  68. package/dist/apis/message.js +1 -1
  69. package/dist/apis/metering.cjs +6 -6
  70. package/dist/apis/metering.js +1 -1
  71. package/dist/apis/notes.cjs +6 -6
  72. package/dist/apis/notes.js +1 -1
  73. package/dist/apis/notification.cjs +6 -6
  74. package/dist/apis/notification.js +1 -1
  75. package/dist/apis/organization.cjs +6 -6
  76. package/dist/apis/organization.js +1 -1
  77. package/dist/apis/partner-directory.cjs +6 -6
  78. package/dist/apis/partner-directory.js +1 -1
  79. package/dist/apis/permissions.cjs +6 -6
  80. package/dist/apis/permissions.js +1 -1
  81. package/dist/apis/phone-integration.cjs +6 -6
  82. package/dist/apis/phone-integration.js +1 -1
  83. package/dist/apis/pricing-tier.cjs +6 -6
  84. package/dist/apis/pricing-tier.js +1 -1
  85. package/dist/apis/pricing.cjs +6 -6
  86. package/dist/apis/pricing.js +1 -1
  87. package/dist/apis/purpose.cjs +6 -6
  88. package/dist/apis/purpose.js +1 -1
  89. package/dist/apis/query.cjs +6 -6
  90. package/dist/apis/query.js +1 -1
  91. package/dist/apis/sandbox.cjs +6 -6
  92. package/dist/apis/sandbox.js +1 -1
  93. package/dist/apis/sharing.cjs +6 -6
  94. package/dist/apis/sharing.js +1 -1
  95. package/dist/apis/snapshot.cjs +6 -6
  96. package/dist/apis/snapshot.js +1 -1
  97. package/dist/apis/submission.cjs +6 -6
  98. package/dist/apis/submission.js +1 -1
  99. package/dist/apis/target.cjs +6 -6
  100. package/dist/apis/target.js +1 -1
  101. package/dist/apis/targeting.cjs +6 -6
  102. package/dist/apis/targeting.js +1 -1
  103. package/dist/apis/template-variables.cjs +6 -6
  104. package/dist/apis/template-variables.js +1 -1
  105. package/dist/apis/user.cjs +6 -6
  106. package/dist/apis/user.js +1 -1
  107. package/dist/apis/validation-rules.cjs +6 -6
  108. package/dist/apis/validation-rules.js +1 -1
  109. package/dist/apis/webhooks.cjs +6 -6
  110. package/dist/apis/webhooks.js +1 -1
  111. package/dist/apis/workflow-definition.cjs +6 -6
  112. package/dist/apis/workflow-definition.js +1 -1
  113. package/dist/apis/workflow.cjs +8 -8
  114. package/dist/apis/workflow.d.cts +2 -2
  115. package/dist/apis/workflow.d.ts +2 -2
  116. package/dist/apis/workflow.js +2 -2
  117. package/dist/{chunk-2AWPRVIH.js → chunk-AMLTCPBT.js} +2 -2
  118. package/dist/{chunk-NMY7ACYO.cjs → chunk-PQONAXAH.cjs} +2 -2
  119. package/dist/chunk-SWEH4LP3.cjs +14 -0
  120. package/dist/chunk-W5OQ3L53.js +14 -0
  121. package/dist/index.cjs +10 -10
  122. package/dist/index.d.cts +1 -1
  123. package/dist/index.d.ts +1 -1
  124. package/dist/index.js +2 -2
  125. package/dist/workflow-B5IJTSPX.js +7 -0
  126. package/dist/workflow-GOWWDU4Y.cjs +7 -0
  127. package/dist/{workflow-runtime-L5HMFISV.js → workflow-runtime-GPXNF7WI.js} +1 -1
  128. package/dist/{workflow-runtime-LMGACZP4.cjs → workflow-runtime-HD6U5ZSL.cjs} +2 -2
  129. package/dist/workflow.d-B7utaxgb.d.cts +6868 -0
  130. package/dist/workflow.d-B7utaxgb.d.ts +6868 -0
  131. package/docs/workflow.md +4537 -1746
  132. package/package.json +1 -1
  133. package/dist/chunk-522LYPPW.js +0 -14
  134. package/dist/chunk-PM25LLET.cjs +0 -14
  135. package/dist/workflow-JQT3F5NJ.cjs +0 -7
  136. package/dist/workflow-Q6FAE5OL.js +0 -7
  137. package/dist/workflow.d-5cyNJgVQ.d.cts +0 -3843
  138. package/dist/workflow.d-5cyNJgVQ.d.ts +0 -3843
@@ -6,7 +6,7 @@ var _chunk4QCVVDTAcjs = require('../chunk-4QCVVDTA.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkNMY7ACYOcjs = require('../chunk-NMY7ACYO.cjs');
9
+ var _chunkPQONAXAHcjs = require('../chunk-PQONAXAH.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/template-variables.ts
@@ -14,7 +14,7 @@ var _definition = null;
14
14
  var loadDefinition = () => {
15
15
  if (!_definition) {
16
16
  const mod = _chunk4QCVVDTAcjs.require_template_variables_runtime.call(void 0, );
17
- _definition = _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
17
+ _definition = _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
18
18
  }
19
19
  return _definition;
20
20
  };
@@ -22,13 +22,13 @@ var _instance = null;
22
22
  var resolve = () => {
23
23
  if (!_instance) {
24
24
  const def = loadDefinition();
25
- _instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: def, apiName: "templateVariables" });
25
+ _instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: def, apiName: "templateVariables" });
26
26
  }
27
27
  return _instance;
28
28
  };
29
- var _handle = _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
30
30
  resolveClient: resolve,
31
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "templateVariables" }),
31
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "templateVariables" }),
32
32
  apiName: "templateVariables"
33
33
  });
34
34
  var getClient = _handle.getClient;
@@ -39,4 +39,4 @@ var templateVariables = _handle;
39
39
 
40
40
 
41
41
 
42
- exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.templateVariables = templateVariables;
42
+ exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.templateVariables = templateVariables;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-2AWPRVIH.js";
9
+ } from "../chunk-AMLTCPBT.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/template-variables.ts
@@ -6,7 +6,7 @@ var _chunkX2LMHC5Rcjs = require('../chunk-X2LMHC5R.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkNMY7ACYOcjs = require('../chunk-NMY7ACYO.cjs');
9
+ var _chunkPQONAXAHcjs = require('../chunk-PQONAXAH.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/user.ts
@@ -14,7 +14,7 @@ var _definition = null;
14
14
  var loadDefinition = () => {
15
15
  if (!_definition) {
16
16
  const mod = _chunkX2LMHC5Rcjs.require_user_runtime.call(void 0, );
17
- _definition = _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
17
+ _definition = _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
18
18
  }
19
19
  return _definition;
20
20
  };
@@ -22,13 +22,13 @@ var _instance = null;
22
22
  var resolve = () => {
23
23
  if (!_instance) {
24
24
  const def = loadDefinition();
25
- _instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: def, apiName: "user" });
25
+ _instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: def, apiName: "user" });
26
26
  }
27
27
  return _instance;
28
28
  };
29
- var _handle = _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
30
30
  resolveClient: resolve,
31
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "user" }),
31
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "user" }),
32
32
  apiName: "user"
33
33
  });
34
34
  var getClient = _handle.getClient;
@@ -39,4 +39,4 @@ var user = _handle;
39
39
 
40
40
 
41
41
 
42
- exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.user = user;
42
+ exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.user = user;
package/dist/apis/user.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-2AWPRVIH.js";
9
+ } from "../chunk-AMLTCPBT.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/user.ts
@@ -6,7 +6,7 @@ var _chunkJIUTCNTBcjs = require('../chunk-JIUTCNTB.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkNMY7ACYOcjs = require('../chunk-NMY7ACYO.cjs');
9
+ var _chunkPQONAXAHcjs = require('../chunk-PQONAXAH.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/validation-rules.ts
@@ -14,7 +14,7 @@ var _definition = null;
14
14
  var loadDefinition = () => {
15
15
  if (!_definition) {
16
16
  const mod = _chunkJIUTCNTBcjs.require_validation_rules_runtime.call(void 0, );
17
- _definition = _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
17
+ _definition = _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
18
18
  }
19
19
  return _definition;
20
20
  };
@@ -22,13 +22,13 @@ var _instance = null;
22
22
  var resolve = () => {
23
23
  if (!_instance) {
24
24
  const def = loadDefinition();
25
- _instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: def, apiName: "validationRules" });
25
+ _instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: def, apiName: "validationRules" });
26
26
  }
27
27
  return _instance;
28
28
  };
29
- var _handle = _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
30
30
  resolveClient: resolve,
31
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "validationRules" }),
31
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "validationRules" }),
32
32
  apiName: "validationRules"
33
33
  });
34
34
  var getClient = _handle.getClient;
@@ -39,4 +39,4 @@ var validationRules = _handle;
39
39
 
40
40
 
41
41
 
42
- exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.validationRules = validationRules;
42
+ exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.validationRules = validationRules;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-2AWPRVIH.js";
9
+ } from "../chunk-AMLTCPBT.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/validation-rules.ts
@@ -6,7 +6,7 @@ var _chunkNGGI52NVcjs = require('../chunk-NGGI52NV.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkNMY7ACYOcjs = require('../chunk-NMY7ACYO.cjs');
9
+ var _chunkPQONAXAHcjs = require('../chunk-PQONAXAH.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/webhooks.ts
@@ -14,7 +14,7 @@ var _definition = null;
14
14
  var loadDefinition = () => {
15
15
  if (!_definition) {
16
16
  const mod = _chunkNGGI52NVcjs.require_webhooks_runtime.call(void 0, );
17
- _definition = _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
17
+ _definition = _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
18
18
  }
19
19
  return _definition;
20
20
  };
@@ -22,13 +22,13 @@ var _instance = null;
22
22
  var resolve = () => {
23
23
  if (!_instance) {
24
24
  const def = loadDefinition();
25
- _instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: def, apiName: "webhooks" });
25
+ _instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: def, apiName: "webhooks" });
26
26
  }
27
27
  return _instance;
28
28
  };
29
- var _handle = _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
30
30
  resolveClient: resolve,
31
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "webhooks" }),
31
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "webhooks" }),
32
32
  apiName: "webhooks"
33
33
  });
34
34
  var getClient = _handle.getClient;
@@ -39,4 +39,4 @@ var webhooks = _handle;
39
39
 
40
40
 
41
41
 
42
- exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.webhooks = webhooks;
42
+ exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.webhooks = webhooks;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-2AWPRVIH.js";
9
+ } from "../chunk-AMLTCPBT.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/webhooks.ts
@@ -6,7 +6,7 @@ var _chunkADX7IYB3cjs = require('../chunk-ADX7IYB3.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkNMY7ACYOcjs = require('../chunk-NMY7ACYO.cjs');
9
+ var _chunkPQONAXAHcjs = require('../chunk-PQONAXAH.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/workflow-definition.ts
@@ -14,7 +14,7 @@ var _definition = null;
14
14
  var loadDefinition = () => {
15
15
  if (!_definition) {
16
16
  const mod = _chunkADX7IYB3cjs.require_workflow_definition_runtime.call(void 0, );
17
- _definition = _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
17
+ _definition = _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
18
18
  }
19
19
  return _definition;
20
20
  };
@@ -22,13 +22,13 @@ var _instance = null;
22
22
  var resolve = () => {
23
23
  if (!_instance) {
24
24
  const def = loadDefinition();
25
- _instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: def, apiName: "workflowDefinition" });
25
+ _instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: def, apiName: "workflowDefinition" });
26
26
  }
27
27
  return _instance;
28
28
  };
29
- var _handle = _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
30
30
  resolveClient: resolve,
31
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "workflowDefinition" }),
31
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "workflowDefinition" }),
32
32
  apiName: "workflowDefinition"
33
33
  });
34
34
  var getClient = _handle.getClient;
@@ -39,4 +39,4 @@ var workflowDefinition = _handle;
39
39
 
40
40
 
41
41
 
42
- exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflowDefinition = workflowDefinition;
42
+ exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflowDefinition = workflowDefinition;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-2AWPRVIH.js";
9
+ } from "../chunk-AMLTCPBT.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/workflow-definition.ts
@@ -1,20 +1,20 @@
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 _chunkPM25LLETcjs = require('../chunk-PM25LLET.cjs');
3
+ var _chunkSWEH4LP3cjs = require('../chunk-SWEH4LP3.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkNMY7ACYOcjs = require('../chunk-NMY7ACYO.cjs');
9
+ var _chunkPQONAXAHcjs = require('../chunk-PQONAXAH.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/workflow.ts
13
13
  var _definition = null;
14
14
  var loadDefinition = () => {
15
15
  if (!_definition) {
16
- const mod = _chunkPM25LLETcjs.require_workflow_runtime.call(void 0, );
17
- _definition = _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
+ const mod = _chunkSWEH4LP3cjs.require_workflow_runtime.call(void 0, );
17
+ _definition = _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
18
18
  }
19
19
  return _definition;
20
20
  };
@@ -22,13 +22,13 @@ var _instance = null;
22
22
  var resolve = () => {
23
23
  if (!_instance) {
24
24
  const def = loadDefinition();
25
- _instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: def, apiName: "workflow" });
25
+ _instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: def, apiName: "workflow" });
26
26
  }
27
27
  return _instance;
28
28
  };
29
- var _handle = _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
29
+ var _handle = _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
30
30
  resolveClient: resolve,
31
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "workflow" }),
31
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "workflow" }),
32
32
  apiName: "workflow"
33
33
  });
34
34
  var getClient = _handle.getClient;
@@ -39,4 +39,4 @@ var workflow = _handle;
39
39
 
40
40
 
41
41
 
42
- exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflow = workflow;
42
+ exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflow = workflow;
@@ -1,7 +1,7 @@
1
1
  import { A as ApiHandle } from '../types-ChU9Acbv.cjs';
2
2
  export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.cjs';
3
- import { C as Client } from '../workflow.d-5cyNJgVQ.cjs';
4
- export { A as ActionSchedule, c as AddTaskReq, d as AgentConfig, e as AgentExecutionInfo, f as AiAgentTask, g as AnalyticsInfo, h as Assignees, i as AutomationConfig, j as AutomationInfo, k as AutomationInputContext, l as AutomationTask, m as ClosingReason, n as ClosingReasonResp, a as Components, o as Condition, p as ConditionId, q as CreateStepReq, D as DecisionTask, r as DelayedSchedule, s as DueDateConfig, t as DynamicDueDate, E as ECPDetails, u as Edge, v as EnableRequirement, w as EntityRef, x as EntitySync, y as ErrorResp, z as EvaluationSource, B as ExecutionPaginationDynamo, F as Flow, G as FlowClosingReason, H as FlowContext, I as FlowExecution, J as FlowExecutionId, K as FlowSlim, L as FlowTemplateId, M as FlowTrigger, N as ImmediateSchedule, Q as ItemType, R as LastEvaluatedKey, S as LoopConfig, T as LoopInfo, U as ManualTask, O as OperationMethods, V as Operator, W as PartnerDetails, X as PatchFlowReq, Y as PatchPhaseReq, Z as PatchTaskReq, P as Paths, b as PathsDictionary, _ as Phase, $ as PhaseId, a0 as PhaseInEntity, a1 as RelativeSchedule, a2 as SearchExecutionsReq, a3 as SearchExecutionsResp, a4 as SearchFlowsReq, a5 as SearchPagination, a6 as SearchSorting, a7 as SearchStepsReq, a8 as SearchStepsResp, a9 as Section, aa as SectionSimplified, ab as SectionStatus, ac as StartFlowReq, ad as Statement, ae as Step, af as StepDescription, ag as StepExtended, ah as StepId, ai as StepJourney, aj as StepPositionAt, ak as StepRequirement, al as StepSimplified, am as StepStatus, an as StepType, ao as Task, ap as TaskBase, aq as TaskId, ar as TaskType, as as TimeUnit, at as TriggerMode, au as TriggerType, av as UpdateEntityAttributes, aw as UpdateStepReq, ax as UpdateStepResp, ay as UserId, az as VariableAssignment, aA as WorkflowContext, aB as WorkflowExecution, aC as WorkflowExecutionBase, aD as WorkflowExecutionCreateReq, aE as WorkflowExecutionSlim, aF as WorkflowExecutionUpdateReq, aG as WorkflowInEntity, aH as WorkflowStatus } from '../workflow.d-5cyNJgVQ.cjs';
3
+ import { C as Client } from '../workflow.d-B7utaxgb.cjs';
4
+ export { A as ActionSchedule, c as ActiveBulkStartFlowsJobResp, d as AddTaskReq, e as AgentConfig, f as AgentExecutionInfo, g as AiAgentTask, h as AiPrefillConfig, i as AiPrefillExtractionField, j as AiPrefillMapping, k as AnalyticsInfo, l as Assignees, m as AutomationConfig, n as AutomationFailurePolicy, o as AutomationInfo, p as AutomationInputContext, q as AutomationInputExtraContextRef, r as AutomationInputExtraTaskRef, s as AutomationOutputContext, t as AutomationTask, B as BulkStartEntityRef, u as BulkStartFlowsFlowSummary, v as BulkStartFlowsItem, w as BulkStartFlowsItemStatus, x as BulkStartFlowsJob, y as BulkStartFlowsJobCounts, z as BulkStartFlowsJobStatus, D as BulkStartFlowsJobSummary, E as BulkStartFlowsReq, F as CancelFlowExecutionInputs, G as ClosingReason, H as ClosingReasonResp, a as Components, I as Condition, J as ConditionId, K as ConditionResult, L as ConfiguredTrigger, M as CreateStepReq, N as DecisionTask, Q as DelayedSchedule, R as DueDateConfig, S as DynamicDueDate, T as ECPDetails, U as EcpPlaceholderAssignees, V as Edge, W as EmailReviewConfig, X as EnableRequirement, Y as EntityPortalWorkflows, Z as EntityRef, _ as EntitySync, $ as ErrorResp, a0 as EvaluationSource, a1 as ExecutionPaginationDynamo, a2 as Flow, a3 as FlowClosingReason, a4 as FlowContext, a5 as FlowExecution, a6 as FlowExecutionId, a7 as FlowSlim, a8 as FlowTemplateId, a9 as FlowTrigger, aa as ImmediateSchedule, ab as ItemType, ac as JourneyContextParameter, ad as JourneyExecutionInfo, ae as JourneyPrefill, af as LastEvaluatedKey, ag as ListBulkStartFlowsJobsResp, ah as LoopConfig, ai as LoopExecutionState, aj as LoopInfo, ak as LoopMembership, al as LoopOutcome, am as ManualTask, O as OperationMethods, an as Operator, ao as PartnerDetails, ap as PatchBulkStartFlowsJobReq, aq as PatchFlowReq, ar as PatchPhaseReq, as as PatchTaskReq, P as Paths, b as PathsDictionary, at as Phase, au as PhaseId, av as PhaseInEntity, aw as PortalAudience, ax as PortalEntityRef, ay as PortalWorkflow, az as PortalWorkflowStage, aA as PortalWorkflowTask, aB as PortalWorkflowsBatchSearchReq, aC as PortalWorkflowsBatchSearchResp, aD as PortalWorkflowsSearchReq, aE as PortalWorkflowsSearchResp, aF as RelativeSchedule, aG as RunTaskAutomationReq, aH as SearchExecutionsReq, aI as SearchExecutionsResp, aJ as SearchFlowsReq, aK as SearchPagination, aL as SearchSorting, aM as SearchStepsReq, aN as SearchStepsResp, aO as Section, aP as SectionSimplified, aQ as SectionStatus, aR as SendEmailInputs, aS as Stage, aT as StartDateConfig, aU as StartFlowReq, aV as Statement, aW as Step, aX as StepDescription, aY as StepExtended, aZ as StepId, a_ as StepJourney, a$ as StepPositionAt, b0 as StepRequirement, b1 as StepSimplified, b2 as StepStatus, b3 as StepType, b4 as Subtask, b5 as SubtaskState, b6 as Task, b7 as TaskAudience, b8 as TaskAutomationActionInputs, b9 as TaskBase, ba as TaskEmailPreview, bb as TaskId, bc as TaskInEntity, bd as TaskIteration, be as TaskType, bf as TimeUnit, bg as TriggerMode, bh as TriggerType, bi as UpdateEntityAttributes, bj as UpdateStepReq, bk as UpdateStepResp, bl as UserId, bm as VariableAssignment, bn as VisibleEntity, bo as WorkflowContext, bp as WorkflowExecution, bq as WorkflowExecutionBase, br as WorkflowExecutionCreateReq, bs as WorkflowExecutionSlim, bt as WorkflowExecutionUpdateReq, bu as WorkflowInEntity, bv as WorkflowStatus } from '../workflow.d-B7utaxgb.cjs';
5
5
  export { OpenAPIClient } from 'openapi-client-axios';
6
6
  import 'axios';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { A as ApiHandle } from '../types-ChU9Acbv.js';
2
2
  export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
3
- import { C as Client } from '../workflow.d-5cyNJgVQ.js';
4
- export { A as ActionSchedule, c as AddTaskReq, d as AgentConfig, e as AgentExecutionInfo, f as AiAgentTask, g as AnalyticsInfo, h as Assignees, i as AutomationConfig, j as AutomationInfo, k as AutomationInputContext, l as AutomationTask, m as ClosingReason, n as ClosingReasonResp, a as Components, o as Condition, p as ConditionId, q as CreateStepReq, D as DecisionTask, r as DelayedSchedule, s as DueDateConfig, t as DynamicDueDate, E as ECPDetails, u as Edge, v as EnableRequirement, w as EntityRef, x as EntitySync, y as ErrorResp, z as EvaluationSource, B as ExecutionPaginationDynamo, F as Flow, G as FlowClosingReason, H as FlowContext, I as FlowExecution, J as FlowExecutionId, K as FlowSlim, L as FlowTemplateId, M as FlowTrigger, N as ImmediateSchedule, Q as ItemType, R as LastEvaluatedKey, S as LoopConfig, T as LoopInfo, U as ManualTask, O as OperationMethods, V as Operator, W as PartnerDetails, X as PatchFlowReq, Y as PatchPhaseReq, Z as PatchTaskReq, P as Paths, b as PathsDictionary, _ as Phase, $ as PhaseId, a0 as PhaseInEntity, a1 as RelativeSchedule, a2 as SearchExecutionsReq, a3 as SearchExecutionsResp, a4 as SearchFlowsReq, a5 as SearchPagination, a6 as SearchSorting, a7 as SearchStepsReq, a8 as SearchStepsResp, a9 as Section, aa as SectionSimplified, ab as SectionStatus, ac as StartFlowReq, ad as Statement, ae as Step, af as StepDescription, ag as StepExtended, ah as StepId, ai as StepJourney, aj as StepPositionAt, ak as StepRequirement, al as StepSimplified, am as StepStatus, an as StepType, ao as Task, ap as TaskBase, aq as TaskId, ar as TaskType, as as TimeUnit, at as TriggerMode, au as TriggerType, av as UpdateEntityAttributes, aw as UpdateStepReq, ax as UpdateStepResp, ay as UserId, az as VariableAssignment, aA as WorkflowContext, aB as WorkflowExecution, aC as WorkflowExecutionBase, aD as WorkflowExecutionCreateReq, aE as WorkflowExecutionSlim, aF as WorkflowExecutionUpdateReq, aG as WorkflowInEntity, aH as WorkflowStatus } from '../workflow.d-5cyNJgVQ.js';
3
+ import { C as Client } from '../workflow.d-B7utaxgb.js';
4
+ export { A as ActionSchedule, c as ActiveBulkStartFlowsJobResp, d as AddTaskReq, e as AgentConfig, f as AgentExecutionInfo, g as AiAgentTask, h as AiPrefillConfig, i as AiPrefillExtractionField, j as AiPrefillMapping, k as AnalyticsInfo, l as Assignees, m as AutomationConfig, n as AutomationFailurePolicy, o as AutomationInfo, p as AutomationInputContext, q as AutomationInputExtraContextRef, r as AutomationInputExtraTaskRef, s as AutomationOutputContext, t as AutomationTask, B as BulkStartEntityRef, u as BulkStartFlowsFlowSummary, v as BulkStartFlowsItem, w as BulkStartFlowsItemStatus, x as BulkStartFlowsJob, y as BulkStartFlowsJobCounts, z as BulkStartFlowsJobStatus, D as BulkStartFlowsJobSummary, E as BulkStartFlowsReq, F as CancelFlowExecutionInputs, G as ClosingReason, H as ClosingReasonResp, a as Components, I as Condition, J as ConditionId, K as ConditionResult, L as ConfiguredTrigger, M as CreateStepReq, N as DecisionTask, Q as DelayedSchedule, R as DueDateConfig, S as DynamicDueDate, T as ECPDetails, U as EcpPlaceholderAssignees, V as Edge, W as EmailReviewConfig, X as EnableRequirement, Y as EntityPortalWorkflows, Z as EntityRef, _ as EntitySync, $ as ErrorResp, a0 as EvaluationSource, a1 as ExecutionPaginationDynamo, a2 as Flow, a3 as FlowClosingReason, a4 as FlowContext, a5 as FlowExecution, a6 as FlowExecutionId, a7 as FlowSlim, a8 as FlowTemplateId, a9 as FlowTrigger, aa as ImmediateSchedule, ab as ItemType, ac as JourneyContextParameter, ad as JourneyExecutionInfo, ae as JourneyPrefill, af as LastEvaluatedKey, ag as ListBulkStartFlowsJobsResp, ah as LoopConfig, ai as LoopExecutionState, aj as LoopInfo, ak as LoopMembership, al as LoopOutcome, am as ManualTask, O as OperationMethods, an as Operator, ao as PartnerDetails, ap as PatchBulkStartFlowsJobReq, aq as PatchFlowReq, ar as PatchPhaseReq, as as PatchTaskReq, P as Paths, b as PathsDictionary, at as Phase, au as PhaseId, av as PhaseInEntity, aw as PortalAudience, ax as PortalEntityRef, ay as PortalWorkflow, az as PortalWorkflowStage, aA as PortalWorkflowTask, aB as PortalWorkflowsBatchSearchReq, aC as PortalWorkflowsBatchSearchResp, aD as PortalWorkflowsSearchReq, aE as PortalWorkflowsSearchResp, aF as RelativeSchedule, aG as RunTaskAutomationReq, aH as SearchExecutionsReq, aI as SearchExecutionsResp, aJ as SearchFlowsReq, aK as SearchPagination, aL as SearchSorting, aM as SearchStepsReq, aN as SearchStepsResp, aO as Section, aP as SectionSimplified, aQ as SectionStatus, aR as SendEmailInputs, aS as Stage, aT as StartDateConfig, aU as StartFlowReq, aV as Statement, aW as Step, aX as StepDescription, aY as StepExtended, aZ as StepId, a_ as StepJourney, a$ as StepPositionAt, b0 as StepRequirement, b1 as StepSimplified, b2 as StepStatus, b3 as StepType, b4 as Subtask, b5 as SubtaskState, b6 as Task, b7 as TaskAudience, b8 as TaskAutomationActionInputs, b9 as TaskBase, ba as TaskEmailPreview, bb as TaskId, bc as TaskInEntity, bd as TaskIteration, be as TaskType, bf as TimeUnit, bg as TriggerMode, bh as TriggerType, bi as UpdateEntityAttributes, bj as UpdateStepReq, bk as UpdateStepResp, bl as UserId, bm as VariableAssignment, bn as VisibleEntity, bo as WorkflowContext, bp as WorkflowExecution, bq as WorkflowExecutionBase, br as WorkflowExecutionCreateReq, bs as WorkflowExecutionSlim, bt as WorkflowExecutionUpdateReq, bu as WorkflowInEntity, bv as WorkflowStatus } from '../workflow.d-B7utaxgb.js';
5
5
  export { OpenAPIClient } from 'openapi-client-axios';
6
6
  import 'axios';
7
7
 
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  require_workflow_runtime
3
- } from "../chunk-522LYPPW.js";
3
+ } from "../chunk-W5OQ3L53.js";
4
4
  import {
5
5
  authorize,
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-2AWPRVIH.js";
9
+ } from "../chunk-AMLTCPBT.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/workflow.ts
@@ -84,7 +84,7 @@ var globImport_docs = __glob({
84
84
  "./docs/validation-rules.json": () => import("./validation-rules-Y5BLH5AA.js"),
85
85
  "./docs/webhooks.json": () => import("./webhooks-QYVT2NUP.js"),
86
86
  "./docs/workflow-definition.json": () => import("./workflow-definition-BSY2BNM2.js"),
87
- "./docs/workflow.json": () => import("./workflow-Q6FAE5OL.js")
87
+ "./docs/workflow.json": () => import("./workflow-B5IJTSPX.js")
88
88
  });
89
89
 
90
90
  // src/help.ts
@@ -203,7 +203,7 @@ var globImport_definitions_json = __glob({
203
203
  "./definitions/webhooks.json": () => import("./webhooks-XXLU2KWP.js"),
204
204
  "./definitions/workflow-definition-runtime.json": () => import("./workflow-definition-runtime-GYDTSAJL.js"),
205
205
  "./definitions/workflow-definition.json": () => import("./workflow-definition-VFYWBQQ3.js"),
206
- "./definitions/workflow-runtime.json": () => import("./workflow-runtime-L5HMFISV.js"),
206
+ "./definitions/workflow-runtime.json": () => import("./workflow-runtime-GPXNF7WI.js"),
207
207
  "./definitions/workflow.json": () => import("./workflow-VLNZNE3S.js")
208
208
  });
209
209
 
@@ -84,7 +84,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
84
84
  "./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-2XORVEWP.cjs"))),
85
85
  "./docs/webhooks.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./webhooks-PNLMQFE2.cjs"))),
86
86
  "./docs/workflow-definition.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-46NTR2N5.cjs"))),
87
- "./docs/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-JQT3F5NJ.cjs")))
87
+ "./docs/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-GOWWDU4Y.cjs")))
88
88
  });
89
89
 
90
90
  // src/help.ts
@@ -203,7 +203,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
203
203
  "./definitions/webhooks.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./webhooks-L3FXPRKT.cjs"))),
204
204
  "./definitions/workflow-definition-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-runtime-DYKGFYQE.cjs"))),
205
205
  "./definitions/workflow-definition.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-7BA4H6W3.cjs"))),
206
- "./definitions/workflow-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-runtime-LMGACZP4.cjs"))),
206
+ "./definitions/workflow-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-runtime-HD6U5ZSL.cjs"))),
207
207
  "./definitions/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-YJHUCGVK.cjs")))
208
208
  });
209
209
 
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
+
5
+ // src/definitions/workflow-runtime.json
6
+ var require_workflow_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/workflow-runtime.json"(exports, module) {
8
+ 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], ["searchPortalWorkflows", "post", "/v2/flows/executions:portal-search", null, 1], ["searchPortalWorkflowsBatch", "post", "/v2/flows/executions:portal-search-batch", null, 1], ["bulkStartFlows", "post", "/v2/flows/executions:bulk-start", null, 1], ["listBulkStartFlowsJobs", "get", "/v2/flows/bulk-jobs", [["size", "q"], ["cursor", "q"]]], ["getActiveBulkStartFlowsJob", "get", "/v2/flows/bulk-jobs:active"], ["getBulkStartFlowsJob", "get", "/v2/flows/bulk-jobs/{job_id}", [["BulkJobIdParam"]]], ["patchBulkStartFlowsJob", "patch", "/v2/flows/bulk-jobs/{job_id}", [["BulkJobIdParam"]], 1], ["restartBulkStartFlowsJob", "post", "/v2/flows/bulk-jobs/{job_id}/restart", [["BulkJobIdParam"]]], ["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"]], 1], ["previewTaskEmail", "get", "/v2/flows/executions/{execution_id}/tasks/{task_id}/email-preview", [["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"]]], ["reconcileAutomationTask", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/reconcile-automation", [["ExecutionIdParam"], ["TaskIdParam"]]], ["runTaskScheduleNow", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule/run-now", [["ExecutionIdParam"], ["TaskIdParam"]]], ["cancelSchedule", "post", "/v2/flows/executions/{execution_id}/schedules/{schedule_id}", [["ExecutionIdParam"], ["ScheduleIdParam"]]]], v: "3.0.0", cp: { BulkJobIdParam: ["job_id", "p", true], ExecutionIdParam: ["execution_id", "p", true], TaskIdParam: ["task_id", "p", true], PhaseIdParam: ["phase_id", "p", true], ScheduleIdParam: ["schedule_id", "p", true], SoftDeleteParam: ["soft", "q"] } };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_workflow_runtime = require_workflow_runtime;
@@ -0,0 +1,14 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-YPSWSI3M.js";
4
+
5
+ // src/definitions/workflow-runtime.json
6
+ var require_workflow_runtime = __commonJS({
7
+ "src/definitions/workflow-runtime.json"(exports, module) {
8
+ 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], ["searchPortalWorkflows", "post", "/v2/flows/executions:portal-search", null, 1], ["searchPortalWorkflowsBatch", "post", "/v2/flows/executions:portal-search-batch", null, 1], ["bulkStartFlows", "post", "/v2/flows/executions:bulk-start", null, 1], ["listBulkStartFlowsJobs", "get", "/v2/flows/bulk-jobs", [["size", "q"], ["cursor", "q"]]], ["getActiveBulkStartFlowsJob", "get", "/v2/flows/bulk-jobs:active"], ["getBulkStartFlowsJob", "get", "/v2/flows/bulk-jobs/{job_id}", [["BulkJobIdParam"]]], ["patchBulkStartFlowsJob", "patch", "/v2/flows/bulk-jobs/{job_id}", [["BulkJobIdParam"]], 1], ["restartBulkStartFlowsJob", "post", "/v2/flows/bulk-jobs/{job_id}/restart", [["BulkJobIdParam"]]], ["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"]], 1], ["previewTaskEmail", "get", "/v2/flows/executions/{execution_id}/tasks/{task_id}/email-preview", [["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"]]], ["reconcileAutomationTask", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/reconcile-automation", [["ExecutionIdParam"], ["TaskIdParam"]]], ["runTaskScheduleNow", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule/run-now", [["ExecutionIdParam"], ["TaskIdParam"]]], ["cancelSchedule", "post", "/v2/flows/executions/{execution_id}/schedules/{schedule_id}", [["ExecutionIdParam"], ["ScheduleIdParam"]]]], v: "3.0.0", cp: { BulkJobIdParam: ["job_id", "p", true], ExecutionIdParam: ["execution_id", "p", true], TaskIdParam: ["task_id", "p", true], PhaseIdParam: ["phase_id", "p", true], ScheduleIdParam: ["schedule_id", "p", true], SoftDeleteParam: ["soft", "q"] } };
9
+ }
10
+ });
11
+
12
+ export {
13
+ require_workflow_runtime
14
+ };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkPM25LLETcjs = require('./chunk-PM25LLET.cjs');
3
+ var _chunkSWEH4LP3cjs = require('./chunk-SWEH4LP3.cjs');
4
4
 
5
5
 
6
6
  var _chunkWWOAKRNGcjs = require('./chunk-WWOAKRNG.cjs');
@@ -170,7 +170,7 @@ var _chunkEIT2JFPBcjs = require('./chunk-EIT2JFPB.cjs');
170
170
 
171
171
 
172
172
 
173
- var _chunkNMY7ACYOcjs = require('./chunk-NMY7ACYO.cjs');
173
+ var _chunkPQONAXAHcjs = require('./chunk-PQONAXAH.cjs');
174
174
 
175
175
 
176
176
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -244,7 +244,7 @@ var resolveClient = (params) => {
244
244
  }
245
245
  if (!entry.instance) {
246
246
  const definition = entry.loader();
247
- entry.instance = _chunkNMY7ACYOcjs.createApiClient.call(void 0, {
247
+ entry.instance = _chunkPQONAXAHcjs.createApiClient.call(void 0, {
248
248
  definition,
249
249
  token: state.token,
250
250
  headers: state.globalHeaders,
@@ -277,7 +277,7 @@ var resetAllClients = (registry) => {
277
277
  };
278
278
 
279
279
  // src/apis/_registry.ts
280
- var expandDef = (mod) => _chunkNMY7ACYOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
280
+ var expandDef = (mod) => _chunkPQONAXAHcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
281
281
  var registerBuiltinApis = (registry) => {
282
282
  registerApi({
283
283
  registry,
@@ -547,7 +547,7 @@ var registerBuiltinApis = (registry) => {
547
547
  registerApi({
548
548
  registry,
549
549
  name: "workflow",
550
- loader: () => expandDef(_chunkPM25LLETcjs.require_workflow_runtime.call(void 0, ))
550
+ loader: () => expandDef(_chunkSWEH4LP3cjs.require_workflow_runtime.call(void 0, ))
551
551
  });
552
552
  registerApi({
553
553
  registry,
@@ -640,9 +640,9 @@ var createSDK = () => {
640
640
  const available = [...registry.keys()].join(", ");
641
641
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
642
642
  }
643
- return _chunkNMY7ACYOcjs.createApiHandle.call(void 0, {
643
+ return _chunkPQONAXAHcjs.createApiHandle.call(void 0, {
644
644
  resolveClient: () => resolveClient({ registry, name, state }),
645
- createClient: () => _chunkNMY7ACYOcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
645
+ createClient: () => _chunkPQONAXAHcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
646
646
  apiName: name
647
647
  });
648
648
  };
@@ -690,9 +690,9 @@ var createSDK = () => {
690
690
  return interceptorUse;
691
691
  }
692
692
  case "help":
693
- return (apiName) => _chunkNMY7ACYOcjs.help.call(void 0, apiName);
693
+ return (apiName) => _chunkPQONAXAHcjs.help.call(void 0, apiName);
694
694
  case "openapi":
695
- return (apiName) => _chunkNMY7ACYOcjs.openapi.call(void 0, apiName);
695
+ return (apiName) => _chunkPQONAXAHcjs.openapi.call(void 0, apiName);
696
696
  case "then":
697
697
  case "catch":
698
698
  case "finally":
@@ -722,4 +722,4 @@ var epilot = createSDK();
722
722
 
723
723
 
724
724
 
725
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkNMY7ACYOcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkNMY7ACYOcjs.help; exports.openapi = _chunkNMY7ACYOcjs.openapi;
725
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkPQONAXAHcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkPQONAXAHcjs.help; exports.openapi = _chunkPQONAXAHcjs.openapi;
package/dist/index.d.cts CHANGED
@@ -56,7 +56,7 @@ import { C as Client$N } from './template-variables.d-Ble9TSBa.cjs';
56
56
  import { C as Client$O } from './user.d-rqYtwsCz.cjs';
57
57
  import { C as Client$P } from './validation-rules.d-Dw7Qn8_e.cjs';
58
58
  import { C as Client$Q } from './webhooks.d-DqOEzFsp.cjs';
59
- import { C as Client$R } from './workflow.d-5cyNJgVQ.cjs';
59
+ import { C as Client$R } from './workflow.d-B7utaxgb.cjs';
60
60
  import { C as Client$S } from './workflow-definition.d-Be0CM3Py.cjs';
61
61
 
62
62
  type SDKClientMap = {
package/dist/index.d.ts CHANGED
@@ -56,7 +56,7 @@ import { C as Client$N } from './template-variables.d-Ble9TSBa.js';
56
56
  import { C as Client$O } from './user.d-rqYtwsCz.js';
57
57
  import { C as Client$P } from './validation-rules.d-Dw7Qn8_e.js';
58
58
  import { C as Client$Q } from './webhooks.d-DqOEzFsp.js';
59
- import { C as Client$R } from './workflow.d-5cyNJgVQ.js';
59
+ import { C as Client$R } from './workflow.d-B7utaxgb.js';
60
60
  import { C as Client$S } from './workflow-definition.d-Be0CM3Py.js';
61
61
 
62
62
  type SDKClientMap = {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_workflow_runtime
3
- } from "./chunk-522LYPPW.js";
3
+ } from "./chunk-W5OQ3L53.js";
4
4
  import {
5
5
  require_submission_runtime
6
6
  } from "./chunk-IJR3GZKC.js";
@@ -170,7 +170,7 @@ import {
170
170
  expand,
171
171
  help,
172
172
  openapi
173
- } from "./chunk-2AWPRVIH.js";
173
+ } from "./chunk-AMLTCPBT.js";
174
174
  import {
175
175
  __require
176
176
  } from "./chunk-YPSWSI3M.js";