@epilot/sdk 2.0.0-alpha.0 → 2.0.0-alpha.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.
- package/README.md +99 -7
- package/dist/{access-token.d-C2qnueDV.d.cts → access-token.d-BuXO-21p.d.cts} +0 -1
- package/dist/{access-token.d-C2qnueDV.d.ts → access-token.d-BuXO-21p.d.ts} +0 -1
- package/dist/{address-suggestions.d-CewXYNYH.d.cts → address-suggestions.d-Cay0qOfA.d.cts} +0 -1
- package/dist/{address-suggestions.d-CewXYNYH.d.ts → address-suggestions.d-Cay0qOfA.d.ts} +0 -1
- package/dist/{address.d-DP_aE2ex.d.cts → address.d-D-oZY0rk.d.cts} +0 -1
- package/dist/{address.d-DP_aE2ex.d.ts → address.d-D-oZY0rk.d.ts} +0 -1
- package/dist/{ai-agents.d-vG-1utqk.d.cts → ai-agents.d-B4_CZTCP.d.cts} +0 -1
- package/dist/{ai-agents.d-vG-1utqk.d.ts → ai-agents.d-B4_CZTCP.d.ts} +0 -1
- package/dist/apis/access-token.cjs +4 -4
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +4 -4
- package/dist/apis/address-suggestions.d.cts +2 -2
- package/dist/apis/address-suggestions.d.ts +2 -2
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +4 -4
- package/dist/apis/address.d.cts +2 -2
- package/dist/apis/address.d.ts +2 -2
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +4 -4
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +4 -4
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +4 -4
- package/dist/apis/audit-logs.d.cts +2 -2
- package/dist/apis/audit-logs.d.ts +2 -2
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +4 -4
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +4 -4
- package/dist/apis/billing.d.cts +2 -2
- package/dist/apis/billing.d.ts +2 -2
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +4 -4
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +4 -4
- package/dist/apis/consent.d.cts +2 -2
- package/dist/apis/consent.d.ts +2 -2
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +4 -4
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/data-management.cjs +4 -4
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +4 -4
- package/dist/apis/deduplication.d.cts +2 -2
- package/dist/apis/deduplication.d.ts +2 -2
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +4 -4
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +1 -1
- package/dist/apis/discussion.cjs +4 -4
- package/dist/apis/discussion.d.cts +2 -2
- package/dist/apis/discussion.d.ts +2 -2
- package/dist/apis/discussion.js +1 -1
- package/dist/apis/document.cjs +4 -4
- package/dist/apis/document.d.cts +2 -2
- package/dist/apis/document.d.ts +2 -2
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +4 -4
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +4 -4
- package/dist/apis/email-template.d.cts +2 -2
- package/dist/apis/email-template.d.ts +2 -2
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +4 -4
- package/dist/apis/entity-mapping.d.cts +2 -2
- package/dist/apis/entity-mapping.d.ts +2 -2
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +4 -4
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +4 -4
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +4 -4
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/event-catalog.cjs +4 -4
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +4 -4
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +4 -4
- package/dist/apis/iban.d.cts +2 -2
- package/dist/apis/iban.d.ts +2 -2
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +4 -4
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +4 -4
- package/dist/apis/kanban.d.cts +2 -2
- package/dist/apis/kanban.d.ts +2 -2
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +4 -4
- package/dist/apis/message.d.cts +2 -2
- package/dist/apis/message.d.ts +2 -2
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +4 -4
- package/dist/apis/metering.d.cts +2 -2
- package/dist/apis/metering.d.ts +2 -2
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +4 -4
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +4 -4
- package/dist/apis/notification.d.cts +2 -2
- package/dist/apis/notification.d.ts +2 -2
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +4 -4
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +4 -4
- package/dist/apis/partner-directory.d.cts +2 -2
- package/dist/apis/partner-directory.d.ts +2 -2
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +4 -4
- package/dist/apis/permissions.d.cts +2 -2
- package/dist/apis/permissions.d.ts +2 -2
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +4 -4
- package/dist/apis/pricing-tier.d.cts +2 -2
- package/dist/apis/pricing-tier.d.ts +2 -2
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +4 -4
- package/dist/apis/pricing.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +4 -4
- package/dist/apis/purpose.d.cts +2 -2
- package/dist/apis/purpose.d.ts +2 -2
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +4 -4
- package/dist/apis/sandbox.d.cts +2 -2
- package/dist/apis/sandbox.d.ts +2 -2
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +4 -4
- package/dist/apis/submission.d.cts +2 -2
- package/dist/apis/submission.d.ts +2 -2
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +4 -4
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +4 -4
- package/dist/apis/template-variables.d.cts +2 -2
- package/dist/apis/template-variables.d.ts +2 -2
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +4 -4
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +4 -4
- package/dist/apis/validation-rules.d.cts +2 -2
- package/dist/apis/validation-rules.d.ts +2 -2
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +4 -4
- package/dist/apis/webhooks.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +4 -4
- package/dist/apis/workflow-definition.d.cts +2 -2
- package/dist/apis/workflow-definition.d.ts +2 -2
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +4 -4
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +1 -1
- package/dist/{app.d-Uncn387s.d.cts → app.d-BKyfin-q.d.cts} +0 -1
- package/dist/{app.d-Uncn387s.d.ts → app.d-BKyfin-q.d.ts} +0 -1
- package/dist/{audit-logs.d-BxZqONu5.d.cts → audit-logs.d-19BKb-ur.d.cts} +0 -1
- package/dist/{audit-logs.d-BxZqONu5.d.ts → audit-logs.d-19BKb-ur.d.ts} +0 -1
- package/dist/{automation.d-BteCzeFn.d.cts → automation.d-DKl2VtnW.d.cts} +0 -1
- package/dist/{automation.d-BteCzeFn.d.ts → automation.d-DKl2VtnW.d.ts} +0 -1
- package/dist/{billing.d-BH4__05Y.d.cts → billing.d-58fUMBqj.d.cts} +0 -1
- package/dist/{billing.d-BH4__05Y.d.ts → billing.d-58fUMBqj.d.ts} +0 -1
- package/dist/bin/cli.js +5 -7
- package/dist/{blueprint-manifest.d-CU4v09fj.d.cts → blueprint-manifest.d-Bu1GyXFW.d.cts} +0 -1
- package/dist/{blueprint-manifest.d-CU4v09fj.d.ts → blueprint-manifest.d-Bu1GyXFW.d.ts} +0 -1
- package/dist/{chunk-UJTFRZMS.js → chunk-UCDXDIUX.js} +2 -2
- package/dist/{chunk-YLLKMXS3.cjs → chunk-YYLPAGF4.cjs} +2 -2
- package/dist/{consent.d-BETWwU_2.d.cts → consent.d-CQ88IEj0.d.cts} +0 -1
- package/dist/{consent.d-BETWwU_2.d.ts → consent.d-CQ88IEj0.d.ts} +0 -1
- package/dist/{customer-portal.d-Co_I6psR.d.cts → customer-portal.d-EyndRWh6.d.cts} +0 -1
- package/dist/{customer-portal.d-Co_I6psR.d.ts → customer-portal.d-EyndRWh6.d.ts} +0 -1
- package/dist/{data-management.d-CkR2E_Pm.d.cts → data-management.d-CNExsqJQ.d.cts} +0 -1
- package/dist/{data-management.d-CkR2E_Pm.d.ts → data-management.d-CNExsqJQ.d.ts} +0 -1
- package/dist/{deduplication.d-BlHnjhXk.d.cts → deduplication.d-DCeJzdbM.d.cts} +0 -1
- package/dist/{deduplication.d-BlHnjhXk.d.ts → deduplication.d-DCeJzdbM.d.ts} +0 -1
- package/dist/{design.d-JsNY_cGh.d.cts → design.d-CkwgJ78Z.d.cts} +0 -1
- package/dist/{design.d-JsNY_cGh.d.ts → design.d-CkwgJ78Z.d.ts} +0 -1
- package/dist/{discussion.d-CxxaYKTf.d.cts → discussion.d-DQucoYl_.d.cts} +0 -1
- package/dist/{discussion.d-CxxaYKTf.d.ts → discussion.d-DQucoYl_.d.ts} +0 -1
- package/dist/{document.d-CZ_FGhEn.d.cts → document.d-Y8i32qNV.d.cts} +0 -1
- package/dist/{document.d-CZ_FGhEn.d.ts → document.d-Y8i32qNV.d.ts} +0 -1
- package/dist/{email-settings.d-3eXYEyRr.d.cts → email-settings.d-CPAsRFWN.d.cts} +0 -1
- package/dist/{email-settings.d-3eXYEyRr.d.ts → email-settings.d-CPAsRFWN.d.ts} +0 -1
- package/dist/{email-template.d-C2L0dKqB.d.cts → email-template.d-CQqiCN0N.d.cts} +0 -1
- package/dist/{email-template.d-C2L0dKqB.d.ts → email-template.d-CQqiCN0N.d.ts} +0 -1
- package/dist/{entity-mapping.d-B3Vyepok.d.cts → entity-mapping.d-DiqXqJWb.d.cts} +0 -1
- package/dist/{entity-mapping.d-B3Vyepok.d.ts → entity-mapping.d-DiqXqJWb.d.ts} +0 -1
- package/dist/{entity.d-DmER_7q5.d.cts → entity.d-BtT4mdq4.d.cts} +0 -1
- package/dist/{entity.d-DmER_7q5.d.ts → entity.d-BtT4mdq4.d.ts} +0 -1
- package/dist/{environments.d-CpILpSNF.d.cts → environments.d-C1xIs8N2.d.cts} +0 -1
- package/dist/{environments.d-CpILpSNF.d.ts → environments.d-C1xIs8N2.d.ts} +0 -1
- package/dist/{erp-integration.d-DmxUZOUQ.d.cts → erp-integration.d-CNLzgl4L.d.cts} +0 -1
- package/dist/{erp-integration.d-DmxUZOUQ.d.ts → erp-integration.d-CNLzgl4L.d.ts} +0 -1
- package/dist/{event-catalog.d-B2tq20gn.d.cts → event-catalog.d-DW1dOyVh.d.cts} +0 -1
- package/dist/{event-catalog.d-B2tq20gn.d.ts → event-catalog.d-DW1dOyVh.d.ts} +0 -1
- package/dist/{file.d-Bi0EZkNu.d.cts → file.d-Bpdt2ORN.d.cts} +0 -1
- package/dist/{file.d-Bi0EZkNu.d.ts → file.d-Bpdt2ORN.d.ts} +0 -1
- package/dist/{iban.d-DP7hl0Qt.d.cts → iban.d-3_7FEsbx.d.cts} +0 -1
- package/dist/{iban.d-DP7hl0Qt.d.ts → iban.d-3_7FEsbx.d.ts} +0 -1
- package/dist/index.cjs +70 -7
- package/dist/index.d.cts +71 -47
- package/dist/index.d.ts +71 -47
- package/dist/index.js +66 -3
- package/dist/{journey.d-DxL16X6N.d.cts → journey.d-C2lgynUF.d.cts} +0 -1
- package/dist/{journey.d-DxL16X6N.d.ts → journey.d-C2lgynUF.d.ts} +0 -1
- package/dist/{kanban.d-DDrBwr9h.d.cts → kanban.d-DYVjUQ_S.d.cts} +0 -1
- package/dist/{kanban.d-DDrBwr9h.d.ts → kanban.d-DYVjUQ_S.d.ts} +0 -1
- package/dist/{message.d-BeBH6vof.d.cts → message.d-TAVDRlDJ.d.cts} +0 -1
- package/dist/{message.d-BeBH6vof.d.ts → message.d-TAVDRlDJ.d.ts} +0 -1
- package/dist/{metering.d-D5VR4tVa.d.cts → metering.d-qyYaAU-O.d.cts} +0 -1
- package/dist/{metering.d-D5VR4tVa.d.ts → metering.d-qyYaAU-O.d.ts} +0 -1
- package/dist/{notes.d-DZYeVo0I.d.cts → notes.d-CDyIbegf.d.cts} +0 -1
- package/dist/{notes.d-DZYeVo0I.d.ts → notes.d-CDyIbegf.d.ts} +0 -1
- package/dist/{notification.d-BJwdFZnG.d.cts → notification.d-B7ccbaPr.d.cts} +0 -1
- package/dist/{notification.d-BJwdFZnG.d.ts → notification.d-B7ccbaPr.d.ts} +0 -1
- package/dist/{organization.d-DfUcuwKM.d.cts → organization.d-BxZWnh8L.d.cts} +0 -1
- package/dist/{organization.d-DfUcuwKM.d.ts → organization.d-BxZWnh8L.d.ts} +0 -1
- package/dist/{partner-directory.d-BRRDHFcz.d.cts → partner-directory.d-CzKV3WfP.d.cts} +0 -1
- package/dist/{partner-directory.d-BRRDHFcz.d.ts → partner-directory.d-CzKV3WfP.d.ts} +0 -1
- package/dist/{permissions.d-CL7SwMFy.d.cts → permissions.d-lVoPAfl3.d.cts} +0 -1
- package/dist/{permissions.d-CL7SwMFy.d.ts → permissions.d-lVoPAfl3.d.ts} +0 -1
- package/dist/{pricing-tier.d-VuH-NtlR.d.cts → pricing-tier.d-BW2cZt1w.d.cts} +0 -1
- package/dist/{pricing-tier.d-VuH-NtlR.d.ts → pricing-tier.d-BW2cZt1w.d.ts} +0 -1
- package/dist/{pricing.d-Dd1CaSX_.d.cts → pricing.d-Ehb2JuKY.d.cts} +0 -1
- package/dist/{pricing.d-Dd1CaSX_.d.ts → pricing.d-Ehb2JuKY.d.ts} +0 -1
- package/dist/{purpose.d-D8YCSqt9.d.cts → purpose.d-BVxst611.d.cts} +0 -1
- package/dist/{purpose.d-D8YCSqt9.d.ts → purpose.d-BVxst611.d.ts} +0 -1
- package/dist/{sandbox.d-D1NgPMEc.d.cts → sandbox.d-tRO2movo.d.cts} +0 -1
- package/dist/{sandbox.d-D1NgPMEc.d.ts → sandbox.d-tRO2movo.d.ts} +0 -1
- package/dist/{submission.d-e9MPrbY1.d.cts → submission.d-CSll5Km9.d.cts} +0 -1
- package/dist/{submission.d-e9MPrbY1.d.ts → submission.d-CSll5Km9.d.ts} +0 -1
- package/dist/{targeting.d-1GW3nh-y.d.cts → targeting.d-CDxIsOWy.d.cts} +0 -1
- package/dist/{targeting.d-1GW3nh-y.d.ts → targeting.d-CDxIsOWy.d.ts} +0 -1
- package/dist/{template-variables.d-CqqGe3sd.d.cts → template-variables.d-PwA27Ocv.d.cts} +0 -1
- package/dist/{template-variables.d-CqqGe3sd.d.ts → template-variables.d-PwA27Ocv.d.ts} +0 -1
- package/dist/{user.d-CWBgUia2.d.cts → user.d-DJBp6aX5.d.cts} +0 -1
- package/dist/{user.d-CWBgUia2.d.ts → user.d-DJBp6aX5.d.ts} +0 -1
- package/dist/{validation-rules.d-CMSvveua.d.cts → validation-rules.d-CScjNdxD.d.cts} +0 -1
- package/dist/{validation-rules.d-CMSvveua.d.ts → validation-rules.d-CScjNdxD.d.ts} +0 -1
- package/dist/{webhooks.d-Bzl-u_Zs.d.cts → webhooks.d-C_MQSJEB.d.cts} +0 -1
- package/dist/{webhooks.d-Bzl-u_Zs.d.ts → webhooks.d-C_MQSJEB.d.ts} +0 -1
- package/dist/{workflow-definition.d-BKmIy2Qp.d.cts → workflow-definition.d-CFXrp2Hg.d.cts} +0 -1
- package/dist/{workflow-definition.d-BKmIy2Qp.d.ts → workflow-definition.d-CFXrp2Hg.d.ts} +0 -1
- package/dist/{workflow.d-DElz0XoQ.d.cts → workflow.d-BIWtgMyP.d.cts} +0 -1
- package/dist/{workflow.d-DElz0XoQ.d.ts → workflow.d-BIWtgMyP.d.ts} +0 -1
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
|
|
6
6
|
require('../chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
// src/apis/validation-rules.ts
|
|
@@ -14,11 +14,11 @@ var _instance = null;
|
|
|
14
14
|
var resolve = async () => {
|
|
15
15
|
if (!_instance) {
|
|
16
16
|
const definition = await loadDefinition();
|
|
17
|
-
_instance =
|
|
17
|
+
_instance = _chunkYYLPAGF4cjs.createApiClient.call(void 0, { definition });
|
|
18
18
|
}
|
|
19
19
|
return _instance;
|
|
20
20
|
};
|
|
21
|
-
var _handle =
|
|
21
|
+
var _handle = _chunkYYLPAGF4cjs.createApiHandle.call(void 0, {
|
|
22
22
|
resolveClient: resolve,
|
|
23
23
|
loadDefinition
|
|
24
24
|
});
|
|
@@ -30,4 +30,4 @@ var validationRules = _handle;
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.authorize =
|
|
33
|
+
exports.authorize = _chunkYYLPAGF4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.validationRules = validationRules;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
-
import { C as Client } from '../validation-rules.d-
|
|
4
|
-
export { a as CreateValidationRuleRequest, G as GetValidationRulesResponse, N as NumericCondition, b as NumericFactCondition, c as NumericNestedCondition, d as NumericRuleType, O as OperationMethods, P as PathsDictionary, e as PatternCondition, f as PatternFactCondition, g as PatternNestedCondition, h as PatternRuleType, R as RegexCondition, i as RegexFactCondition, j as RegexNestedCondition, k as RegexRuleType, U as UpdateValidationRuleRequest, l as UsedBy, V as ValidationRule, m as ValidationRuleBase } from '../validation-rules.d-
|
|
3
|
+
import { C as Client } from '../validation-rules.d-CScjNdxD.cjs';
|
|
4
|
+
export { a as CreateValidationRuleRequest, G as GetValidationRulesResponse, N as NumericCondition, b as NumericFactCondition, c as NumericNestedCondition, d as NumericRuleType, O as OperationMethods, P as PathsDictionary, e as PatternCondition, f as PatternFactCondition, g as PatternNestedCondition, h as PatternRuleType, R as RegexCondition, i as RegexFactCondition, j as RegexNestedCondition, k as RegexRuleType, U as UpdateValidationRuleRequest, l as UsedBy, V as ValidationRule, m as ValidationRuleBase } from '../validation-rules.d-CScjNdxD.cjs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
-
import { C as Client } from '../validation-rules.d-
|
|
4
|
-
export { a as CreateValidationRuleRequest, G as GetValidationRulesResponse, N as NumericCondition, b as NumericFactCondition, c as NumericNestedCondition, d as NumericRuleType, O as OperationMethods, P as PathsDictionary, e as PatternCondition, f as PatternFactCondition, g as PatternNestedCondition, h as PatternRuleType, R as RegexCondition, i as RegexFactCondition, j as RegexNestedCondition, k as RegexRuleType, U as UpdateValidationRuleRequest, l as UsedBy, V as ValidationRule, m as ValidationRuleBase } from '../validation-rules.d-
|
|
3
|
+
import { C as Client } from '../validation-rules.d-CScjNdxD.js';
|
|
4
|
+
export { a as CreateValidationRuleRequest, G as GetValidationRulesResponse, N as NumericCondition, b as NumericFactCondition, c as NumericNestedCondition, d as NumericRuleType, O as OperationMethods, P as PathsDictionary, e as PatternCondition, f as PatternFactCondition, g as PatternNestedCondition, h as PatternRuleType, R as RegexCondition, i as RegexFactCondition, j as RegexNestedCondition, k as RegexRuleType, U as UpdateValidationRuleRequest, l as UsedBy, V as ValidationRule, m as ValidationRuleBase } from '../validation-rules.d-CScjNdxD.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
package/dist/apis/webhooks.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
|
|
6
6
|
require('../chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
// src/apis/webhooks.ts
|
|
@@ -14,11 +14,11 @@ var _instance = null;
|
|
|
14
14
|
var resolve = async () => {
|
|
15
15
|
if (!_instance) {
|
|
16
16
|
const definition = await loadDefinition();
|
|
17
|
-
_instance =
|
|
17
|
+
_instance = _chunkYYLPAGF4cjs.createApiClient.call(void 0, { definition });
|
|
18
18
|
}
|
|
19
19
|
return _instance;
|
|
20
20
|
};
|
|
21
|
-
var _handle =
|
|
21
|
+
var _handle = _chunkYYLPAGF4cjs.createApiHandle.call(void 0, {
|
|
22
22
|
resolveClient: resolve,
|
|
23
23
|
loadDefinition
|
|
24
24
|
});
|
|
@@ -30,4 +30,4 @@ var webhooks = _handle;
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.authorize =
|
|
33
|
+
exports.authorize = _chunkYYLPAGF4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.webhooks = webhooks;
|
package/dist/apis/webhooks.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
-
import { C as Client } from '../webhooks.d-
|
|
4
|
-
export { A as ApiKeyConfig, a as Auth, b as AuthType, B as BasicAuthConfig, c as BatchReplayRequest, d as CustomHeader, e as CustomOAuthParameter, E as ErrorResp, f as EventConfigEntry, g as EventConfigResp, h as EventListResponse, i as ExampleRequest, j as ExampleResponse, k as ExecutionPayload, F as Filter, H as HttpMethod, M as Metadata, l as OAuthConfig, O as OperationMethods, P as PathsDictionary, m as PayloadConfiguration, n as PublicKeyResponse, S as SearchOptions, T as TriggerWebhookResp, W as WebhookConfig, o as WebhookEvent } from '../webhooks.d-
|
|
3
|
+
import { C as Client } from '../webhooks.d-C_MQSJEB.cjs';
|
|
4
|
+
export { A as ApiKeyConfig, a as Auth, b as AuthType, B as BasicAuthConfig, c as BatchReplayRequest, d as CustomHeader, e as CustomOAuthParameter, E as ErrorResp, f as EventConfigEntry, g as EventConfigResp, h as EventListResponse, i as ExampleRequest, j as ExampleResponse, k as ExecutionPayload, F as Filter, H as HttpMethod, M as Metadata, l as OAuthConfig, O as OperationMethods, P as PathsDictionary, m as PayloadConfiguration, n as PublicKeyResponse, S as SearchOptions, T as TriggerWebhookResp, W as WebhookConfig, o as WebhookEvent } from '../webhooks.d-C_MQSJEB.cjs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
package/dist/apis/webhooks.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
-
import { C as Client } from '../webhooks.d-
|
|
4
|
-
export { A as ApiKeyConfig, a as Auth, b as AuthType, B as BasicAuthConfig, c as BatchReplayRequest, d as CustomHeader, e as CustomOAuthParameter, E as ErrorResp, f as EventConfigEntry, g as EventConfigResp, h as EventListResponse, i as ExampleRequest, j as ExampleResponse, k as ExecutionPayload, F as Filter, H as HttpMethod, M as Metadata, l as OAuthConfig, O as OperationMethods, P as PathsDictionary, m as PayloadConfiguration, n as PublicKeyResponse, S as SearchOptions, T as TriggerWebhookResp, W as WebhookConfig, o as WebhookEvent } from '../webhooks.d-
|
|
3
|
+
import { C as Client } from '../webhooks.d-C_MQSJEB.js';
|
|
4
|
+
export { A as ApiKeyConfig, a as Auth, b as AuthType, B as BasicAuthConfig, c as BatchReplayRequest, d as CustomHeader, e as CustomOAuthParameter, E as ErrorResp, f as EventConfigEntry, g as EventConfigResp, h as EventListResponse, i as ExampleRequest, j as ExampleResponse, k as ExecutionPayload, F as Filter, H as HttpMethod, M as Metadata, l as OAuthConfig, O as OperationMethods, P as PathsDictionary, m as PayloadConfiguration, n as PublicKeyResponse, S as SearchOptions, T as TriggerWebhookResp, W as WebhookConfig, o as WebhookEvent } from '../webhooks.d-C_MQSJEB.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
package/dist/apis/webhooks.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
|
|
6
6
|
require('../chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
// src/apis/workflow-definition.ts
|
|
@@ -14,11 +14,11 @@ var _instance = null;
|
|
|
14
14
|
var resolve = async () => {
|
|
15
15
|
if (!_instance) {
|
|
16
16
|
const definition = await loadDefinition();
|
|
17
|
-
_instance =
|
|
17
|
+
_instance = _chunkYYLPAGF4cjs.createApiClient.call(void 0, { definition });
|
|
18
18
|
}
|
|
19
19
|
return _instance;
|
|
20
20
|
};
|
|
21
|
-
var _handle =
|
|
21
|
+
var _handle = _chunkYYLPAGF4cjs.createApiHandle.call(void 0, {
|
|
22
22
|
resolveClient: resolve,
|
|
23
23
|
loadDefinition
|
|
24
24
|
});
|
|
@@ -30,4 +30,4 @@ var workflowDefinition = _handle;
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.authorize =
|
|
33
|
+
exports.authorize = _chunkYYLPAGF4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflowDefinition = workflowDefinition;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
-
import { C as Client } from '../workflow-definition.d-
|
|
4
|
-
export { A as ActionSchedule, a as AgentConfig, b as AiAgentTask, c as AutomationConfig, d as AutomationTask, e as AutomationTrigger, f as ChangeReasonStatusReq, g as ClosingReason, h as ClosingReasonId, i as ClosingReasonNotFoundResp, j as ClosingReasons, k as ClosingReasonsIds, l as ClosingReasonsStatus, m as Condition, n as CreateFlowTemplate, D as DecisionTask, o as DefinitionNotFoundResp, p as DelayedSchedule, q as DueDateConfig, r as DynamicDueDate, E as ECPDetails, s as Edge, t as EnableRequirement, u as EntitySync, v as ErrorResp, w as EvaluationSource, F as FlowTemplate, x as FlowTemplateBase, y as FlowTemplateExport, z as FlowTemplateId, B as FlowTemplateImportResult, G as FlowTemplatesList, I as ImmediateSchedule, H as ItemType, J as JourneyAutomationTrigger, K as JourneySubmissionTrigger, M as ManualTask, L as ManualTrigger, N as MaxAllowedLimit, O as OperationMethods, Q as Operator, P as PathsDictionary, R as Phase, S as RelativeSchedule, T as SearchFlowTemplates, U as Section, V as Statement, W as Step, X as StepDescription, Y as StepJourney, Z as StepRequirement, _ as StepType, $ as Task, a0 as TaskBase, a1 as TaskType, a2 as TimeUnit, a3 as Trigger, a4 as TriggerMode, a5 as TriggerType, a6 as UpdateEntityAttributes, a7 as VariableAssignment, a8 as Version, a9 as WorkflowDefinition } from '../workflow-definition.d-
|
|
3
|
+
import { C as Client } from '../workflow-definition.d-CFXrp2Hg.cjs';
|
|
4
|
+
export { A as ActionSchedule, a as AgentConfig, b as AiAgentTask, c as AutomationConfig, d as AutomationTask, e as AutomationTrigger, f as ChangeReasonStatusReq, g as ClosingReason, h as ClosingReasonId, i as ClosingReasonNotFoundResp, j as ClosingReasons, k as ClosingReasonsIds, l as ClosingReasonsStatus, m as Condition, n as CreateFlowTemplate, D as DecisionTask, o as DefinitionNotFoundResp, p as DelayedSchedule, q as DueDateConfig, r as DynamicDueDate, E as ECPDetails, s as Edge, t as EnableRequirement, u as EntitySync, v as ErrorResp, w as EvaluationSource, F as FlowTemplate, x as FlowTemplateBase, y as FlowTemplateExport, z as FlowTemplateId, B as FlowTemplateImportResult, G as FlowTemplatesList, I as ImmediateSchedule, H as ItemType, J as JourneyAutomationTrigger, K as JourneySubmissionTrigger, M as ManualTask, L as ManualTrigger, N as MaxAllowedLimit, O as OperationMethods, Q as Operator, P as PathsDictionary, R as Phase, S as RelativeSchedule, T as SearchFlowTemplates, U as Section, V as Statement, W as Step, X as StepDescription, Y as StepJourney, Z as StepRequirement, _ as StepType, $ as Task, a0 as TaskBase, a1 as TaskType, a2 as TimeUnit, a3 as Trigger, a4 as TriggerMode, a5 as TriggerType, a6 as UpdateEntityAttributes, a7 as VariableAssignment, a8 as Version, a9 as WorkflowDefinition } from '../workflow-definition.d-CFXrp2Hg.cjs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
-
import { C as Client } from '../workflow-definition.d-
|
|
4
|
-
export { A as ActionSchedule, a as AgentConfig, b as AiAgentTask, c as AutomationConfig, d as AutomationTask, e as AutomationTrigger, f as ChangeReasonStatusReq, g as ClosingReason, h as ClosingReasonId, i as ClosingReasonNotFoundResp, j as ClosingReasons, k as ClosingReasonsIds, l as ClosingReasonsStatus, m as Condition, n as CreateFlowTemplate, D as DecisionTask, o as DefinitionNotFoundResp, p as DelayedSchedule, q as DueDateConfig, r as DynamicDueDate, E as ECPDetails, s as Edge, t as EnableRequirement, u as EntitySync, v as ErrorResp, w as EvaluationSource, F as FlowTemplate, x as FlowTemplateBase, y as FlowTemplateExport, z as FlowTemplateId, B as FlowTemplateImportResult, G as FlowTemplatesList, I as ImmediateSchedule, H as ItemType, J as JourneyAutomationTrigger, K as JourneySubmissionTrigger, M as ManualTask, L as ManualTrigger, N as MaxAllowedLimit, O as OperationMethods, Q as Operator, P as PathsDictionary, R as Phase, S as RelativeSchedule, T as SearchFlowTemplates, U as Section, V as Statement, W as Step, X as StepDescription, Y as StepJourney, Z as StepRequirement, _ as StepType, $ as Task, a0 as TaskBase, a1 as TaskType, a2 as TimeUnit, a3 as Trigger, a4 as TriggerMode, a5 as TriggerType, a6 as UpdateEntityAttributes, a7 as VariableAssignment, a8 as Version, a9 as WorkflowDefinition } from '../workflow-definition.d-
|
|
3
|
+
import { C as Client } from '../workflow-definition.d-CFXrp2Hg.js';
|
|
4
|
+
export { A as ActionSchedule, a as AgentConfig, b as AiAgentTask, c as AutomationConfig, d as AutomationTask, e as AutomationTrigger, f as ChangeReasonStatusReq, g as ClosingReason, h as ClosingReasonId, i as ClosingReasonNotFoundResp, j as ClosingReasons, k as ClosingReasonsIds, l as ClosingReasonsStatus, m as Condition, n as CreateFlowTemplate, D as DecisionTask, o as DefinitionNotFoundResp, p as DelayedSchedule, q as DueDateConfig, r as DynamicDueDate, E as ECPDetails, s as Edge, t as EnableRequirement, u as EntitySync, v as ErrorResp, w as EvaluationSource, F as FlowTemplate, x as FlowTemplateBase, y as FlowTemplateExport, z as FlowTemplateId, B as FlowTemplateImportResult, G as FlowTemplatesList, I as ImmediateSchedule, H as ItemType, J as JourneyAutomationTrigger, K as JourneySubmissionTrigger, M as ManualTask, L as ManualTrigger, N as MaxAllowedLimit, O as OperationMethods, Q as Operator, P as PathsDictionary, R as Phase, S as RelativeSchedule, T as SearchFlowTemplates, U as Section, V as Statement, W as Step, X as StepDescription, Y as StepJourney, Z as StepRequirement, _ as StepType, $ as Task, a0 as TaskBase, a1 as TaskType, a2 as TimeUnit, a3 as Trigger, a4 as TriggerMode, a5 as TriggerType, a6 as UpdateEntityAttributes, a7 as VariableAssignment, a8 as Version, a9 as WorkflowDefinition } from '../workflow-definition.d-CFXrp2Hg.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
package/dist/apis/workflow.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
|
|
6
6
|
require('../chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
// src/apis/workflow.ts
|
|
@@ -14,11 +14,11 @@ var _instance = null;
|
|
|
14
14
|
var resolve = async () => {
|
|
15
15
|
if (!_instance) {
|
|
16
16
|
const definition = await loadDefinition();
|
|
17
|
-
_instance =
|
|
17
|
+
_instance = _chunkYYLPAGF4cjs.createApiClient.call(void 0, { definition });
|
|
18
18
|
}
|
|
19
19
|
return _instance;
|
|
20
20
|
};
|
|
21
|
-
var _handle =
|
|
21
|
+
var _handle = _chunkYYLPAGF4cjs.createApiHandle.call(void 0, {
|
|
22
22
|
resolveClient: resolve,
|
|
23
23
|
loadDefinition
|
|
24
24
|
});
|
|
@@ -30,4 +30,4 @@ var workflow = _handle;
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.authorize =
|
|
33
|
+
exports.authorize = _chunkYYLPAGF4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflow = workflow;
|
package/dist/apis/workflow.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
|
|
3
|
-
import { C as Client } from '../workflow.d-
|
|
4
|
-
export { A as ActionSchedule, a as AddTaskReq, b as AgentConfig, c as AgentExecutionInfo, d as AiAgentTask, e as AnalyticsInfo, f as Assignees, g as AutomationConfig, h as AutomationInfo, i as AutomationTask, j as ClosingReason, k as ClosingReasonResp, l as Condition, m as ConditionId, n as CreateStepReq, D as DecisionTask, o as DelayedSchedule, p as DueDateConfig, q as DynamicDueDate, E as ECPDetails, r as Edge, s as EnableRequirement, t as EntityRef, u as EntitySync, v as ErrorResp, w as EvaluationSource, x as ExecutionPaginationDynamo, F as Flow, y as FlowClosingReason, z as FlowContext, B as FlowExecution, G as FlowExecutionId, H as FlowSlim, I as FlowTemplateId, J as FlowTrigger, K as ImmediateSchedule, L as ItemType, M as LastEvaluatedKey, N as LoopConfig, Q as LoopInfo, R as ManualTask, O as OperationMethods, S as Operator, T as PatchFlowReq, U as PatchPhaseReq, V as PatchTaskReq, P as PathsDictionary, W as Phase, X as PhaseId, Y as PhaseInEntity, Z as RelativeSchedule, _ as SearchExecutionsReq, $ as SearchExecutionsResp, a0 as SearchFlowsReq, a1 as SearchPagination, a2 as SearchSorting, a3 as SearchStepsReq, a4 as SearchStepsResp, a5 as Section, a6 as SectionSimplified, a7 as SectionStatus, a8 as StartFlowReq, a9 as Statement, aa as Step, ab as StepDescription, ac as StepExtended, ad as StepId, ae as StepJourney, af as StepPositionAt, ag as StepRequirement, ah as StepSimplified, ai as StepStatus, aj as StepType, ak as Task, al as TaskBase, am as TaskId, an as TaskType, ao as TimeUnit, ap as TriggerMode, aq as TriggerType, ar as UpdateEntityAttributes, as as UpdateStepReq, at as UpdateStepResp, au as UserId, av as VariableAssignment, aw as WorkflowContext, ax as WorkflowExecution, ay as WorkflowExecutionBase, az as WorkflowExecutionCreateReq, aA as WorkflowExecutionSlim, aB as WorkflowExecutionUpdateReq, aC as WorkflowInEntity, aD as WorkflowStatus } from '../workflow.d-
|
|
3
|
+
import { C as Client } from '../workflow.d-BIWtgMyP.cjs';
|
|
4
|
+
export { A as ActionSchedule, a as AddTaskReq, b as AgentConfig, c as AgentExecutionInfo, d as AiAgentTask, e as AnalyticsInfo, f as Assignees, g as AutomationConfig, h as AutomationInfo, i as AutomationTask, j as ClosingReason, k as ClosingReasonResp, l as Condition, m as ConditionId, n as CreateStepReq, D as DecisionTask, o as DelayedSchedule, p as DueDateConfig, q as DynamicDueDate, E as ECPDetails, r as Edge, s as EnableRequirement, t as EntityRef, u as EntitySync, v as ErrorResp, w as EvaluationSource, x as ExecutionPaginationDynamo, F as Flow, y as FlowClosingReason, z as FlowContext, B as FlowExecution, G as FlowExecutionId, H as FlowSlim, I as FlowTemplateId, J as FlowTrigger, K as ImmediateSchedule, L as ItemType, M as LastEvaluatedKey, N as LoopConfig, Q as LoopInfo, R as ManualTask, O as OperationMethods, S as Operator, T as PatchFlowReq, U as PatchPhaseReq, V as PatchTaskReq, P as PathsDictionary, W as Phase, X as PhaseId, Y as PhaseInEntity, Z as RelativeSchedule, _ as SearchExecutionsReq, $ as SearchExecutionsResp, a0 as SearchFlowsReq, a1 as SearchPagination, a2 as SearchSorting, a3 as SearchStepsReq, a4 as SearchStepsResp, a5 as Section, a6 as SectionSimplified, a7 as SectionStatus, a8 as StartFlowReq, a9 as Statement, aa as Step, ab as StepDescription, ac as StepExtended, ad as StepId, ae as StepJourney, af as StepPositionAt, ag as StepRequirement, ah as StepSimplified, ai as StepStatus, aj as StepType, ak as Task, al as TaskBase, am as TaskId, an as TaskType, ao as TimeUnit, ap as TriggerMode, aq as TriggerType, ar as UpdateEntityAttributes, as as UpdateStepReq, at as UpdateStepResp, au as UserId, av as VariableAssignment, aw as WorkflowContext, ax as WorkflowExecution, ay as WorkflowExecutionBase, az as WorkflowExecutionCreateReq, aA as WorkflowExecutionSlim, aB as WorkflowExecutionUpdateReq, aC as WorkflowInEntity, aD as WorkflowStatus } from '../workflow.d-BIWtgMyP.cjs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
package/dist/apis/workflow.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-C5cGIwtq.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
|
|
3
|
-
import { C as Client } from '../workflow.d-
|
|
4
|
-
export { A as ActionSchedule, a as AddTaskReq, b as AgentConfig, c as AgentExecutionInfo, d as AiAgentTask, e as AnalyticsInfo, f as Assignees, g as AutomationConfig, h as AutomationInfo, i as AutomationTask, j as ClosingReason, k as ClosingReasonResp, l as Condition, m as ConditionId, n as CreateStepReq, D as DecisionTask, o as DelayedSchedule, p as DueDateConfig, q as DynamicDueDate, E as ECPDetails, r as Edge, s as EnableRequirement, t as EntityRef, u as EntitySync, v as ErrorResp, w as EvaluationSource, x as ExecutionPaginationDynamo, F as Flow, y as FlowClosingReason, z as FlowContext, B as FlowExecution, G as FlowExecutionId, H as FlowSlim, I as FlowTemplateId, J as FlowTrigger, K as ImmediateSchedule, L as ItemType, M as LastEvaluatedKey, N as LoopConfig, Q as LoopInfo, R as ManualTask, O as OperationMethods, S as Operator, T as PatchFlowReq, U as PatchPhaseReq, V as PatchTaskReq, P as PathsDictionary, W as Phase, X as PhaseId, Y as PhaseInEntity, Z as RelativeSchedule, _ as SearchExecutionsReq, $ as SearchExecutionsResp, a0 as SearchFlowsReq, a1 as SearchPagination, a2 as SearchSorting, a3 as SearchStepsReq, a4 as SearchStepsResp, a5 as Section, a6 as SectionSimplified, a7 as SectionStatus, a8 as StartFlowReq, a9 as Statement, aa as Step, ab as StepDescription, ac as StepExtended, ad as StepId, ae as StepJourney, af as StepPositionAt, ag as StepRequirement, ah as StepSimplified, ai as StepStatus, aj as StepType, ak as Task, al as TaskBase, am as TaskId, an as TaskType, ao as TimeUnit, ap as TriggerMode, aq as TriggerType, ar as UpdateEntityAttributes, as as UpdateStepReq, at as UpdateStepResp, au as UserId, av as VariableAssignment, aw as WorkflowContext, ax as WorkflowExecution, ay as WorkflowExecutionBase, az as WorkflowExecutionCreateReq, aA as WorkflowExecutionSlim, aB as WorkflowExecutionUpdateReq, aC as WorkflowInEntity, aD as WorkflowStatus } from '../workflow.d-
|
|
3
|
+
import { C as Client } from '../workflow.d-BIWtgMyP.js';
|
|
4
|
+
export { A as ActionSchedule, a as AddTaskReq, b as AgentConfig, c as AgentExecutionInfo, d as AiAgentTask, e as AnalyticsInfo, f as Assignees, g as AutomationConfig, h as AutomationInfo, i as AutomationTask, j as ClosingReason, k as ClosingReasonResp, l as Condition, m as ConditionId, n as CreateStepReq, D as DecisionTask, o as DelayedSchedule, p as DueDateConfig, q as DynamicDueDate, E as ECPDetails, r as Edge, s as EnableRequirement, t as EntityRef, u as EntitySync, v as ErrorResp, w as EvaluationSource, x as ExecutionPaginationDynamo, F as Flow, y as FlowClosingReason, z as FlowContext, B as FlowExecution, G as FlowExecutionId, H as FlowSlim, I as FlowTemplateId, J as FlowTrigger, K as ImmediateSchedule, L as ItemType, M as LastEvaluatedKey, N as LoopConfig, Q as LoopInfo, R as ManualTask, O as OperationMethods, S as Operator, T as PatchFlowReq, U as PatchPhaseReq, V as PatchTaskReq, P as PathsDictionary, W as Phase, X as PhaseId, Y as PhaseInEntity, Z as RelativeSchedule, _ as SearchExecutionsReq, $ as SearchExecutionsResp, a0 as SearchFlowsReq, a1 as SearchPagination, a2 as SearchSorting, a3 as SearchStepsReq, a4 as SearchStepsResp, a5 as Section, a6 as SectionSimplified, a7 as SectionStatus, a8 as StartFlowReq, a9 as Statement, aa as Step, ab as StepDescription, ac as StepExtended, ad as StepId, ae as StepJourney, af as StepPositionAt, ag as StepRequirement, ah as StepSimplified, ai as StepStatus, aj as StepType, ak as Task, al as TaskBase, am as TaskId, an as TaskType, ao as TimeUnit, ap as TriggerMode, aq as TriggerType, ar as UpdateEntityAttributes, as as UpdateStepReq, at as UpdateStepResp, au as UserId, av as VariableAssignment, aw as WorkflowContext, ax as WorkflowExecution, ay as WorkflowExecutionBase, az as WorkflowExecutionCreateReq, aA as WorkflowExecutionSlim, aB as WorkflowExecutionUpdateReq, aC as WorkflowInEntity, aD as WorkflowStatus } from '../workflow.d-BIWtgMyP.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'openapi-client-axios';
|
|
7
7
|
|
package/dist/apis/workflow.js
CHANGED
package/dist/bin/cli.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
#!/usr/bin/env node
|
|
3
3
|
|
|
4
4
|
// src/bin/cli.ts
|
|
5
|
-
import { existsSync, readFileSync, writeFileSync
|
|
6
|
-
import {
|
|
5
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
6
|
+
import { dirname, resolve } from "path";
|
|
7
7
|
var OVERRIDES_PATH = ".epilot/sdk-overrides.json";
|
|
8
8
|
var usage = () => {
|
|
9
9
|
console.log(`
|
|
@@ -29,7 +29,8 @@ var readOverrides = () => {
|
|
|
29
29
|
var writeOverrides = (overrides) => {
|
|
30
30
|
const filePath = resolve(process.cwd(), OVERRIDES_PATH);
|
|
31
31
|
mkdirSync(dirname(filePath), { recursive: true });
|
|
32
|
-
writeFileSync(filePath, JSON.stringify(overrides, null, 2)
|
|
32
|
+
writeFileSync(filePath, `${JSON.stringify(overrides, null, 2)}
|
|
33
|
+
`);
|
|
33
34
|
};
|
|
34
35
|
var fetchSpec = async (specPath) => {
|
|
35
36
|
if (specPath.startsWith("http://") || specPath.startsWith("https://")) {
|
|
@@ -96,10 +97,7 @@ var typegenCmd = async () => {
|
|
|
96
97
|
const typesPath = resolve(typesDir, `${apiName}.d.ts`);
|
|
97
98
|
console.log(`Generating types for ${apiName}...`);
|
|
98
99
|
try {
|
|
99
|
-
execSync(
|
|
100
|
-
`npx openapi-client-axios-typegen ${specPath} --client -b '/* eslint-disable */' > ${typesPath}`,
|
|
101
|
-
{ stdio: "pipe" }
|
|
102
|
-
);
|
|
100
|
+
execSync(`npx openapi-client-axios-typegen ${specPath} --client > ${typesPath}`, { stdio: "pipe" });
|
|
103
101
|
console.log(` -> .epilot/types/${apiName}.d.ts`);
|
|
104
102
|
} catch (err) {
|
|
105
103
|
console.error(` Error generating types for ${apiName}: ${err.message}`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// src/authorize.ts
|
|
2
2
|
var authorize = (client, token) => {
|
|
3
3
|
if (typeof token === "string") {
|
|
4
|
-
client.defaults.headers.common
|
|
4
|
+
client.defaults.headers.common.authorization = `Bearer ${token}`;
|
|
5
5
|
} else {
|
|
6
6
|
client.interceptors.request.use(async (config) => {
|
|
7
7
|
const resolved = await token();
|
|
8
|
-
config.headers
|
|
8
|
+
config.headers.authorization = `Bearer ${resolved}`;
|
|
9
9
|
return config;
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }// src/authorize.ts
|
|
2
2
|
var authorize = (client, token) => {
|
|
3
3
|
if (typeof token === "string") {
|
|
4
|
-
client.defaults.headers.common
|
|
4
|
+
client.defaults.headers.common.authorization = `Bearer ${token}`;
|
|
5
5
|
} else {
|
|
6
6
|
client.interceptors.request.use(async (config) => {
|
|
7
7
|
const resolved = await token();
|
|
8
|
-
config.headers
|
|
8
|
+
config.headers.authorization = `Bearer ${resolved}`;
|
|
9
9
|
return config;
|
|
10
10
|
});
|
|
11
11
|
}
|