@epilot/sdk 2.0.0-beta.6 → 2.0.4
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/definitions/entity-runtime.json +1 -1
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- 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 +7 -7
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +7 -7
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- 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 +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +2 -2
- package/dist/apis/erp-integration.d.ts +2 -2
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- 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 +7 -7
- 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 +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +8 -8
- package/dist/apis/organization.d.cts +2 -2
- package/dist/apis/organization.d.ts +2 -2
- package/dist/apis/organization.js +2 -2
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- 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/{automation.d-sRCRiHKf.d.cts → automation.d-KOiZ6ru5.d.cts} +2 -24
- package/dist/{automation.d-sRCRiHKf.d.ts → automation.d-KOiZ6ru5.d.ts} +2 -24
- package/dist/bin/cli.js +123 -25
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{customer-portal.d-D7cJvhBK.d.cts → customer-portal.d-Bh9NF8cY.d.cts} +598 -99
- package/dist/{customer-portal.d-D7cJvhBK.d.ts → customer-portal.d-Bh9NF8cY.d.ts} +598 -99
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -2
- package/dist/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/{erp-integration.d-3LmxMirP.d.cts → erp-integration.d-DOhxy4P5.d.cts} +409 -15
- package/dist/{erp-integration.d-3LmxMirP.d.ts → erp-integration.d-DOhxy4P5.d.ts} +409 -15
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/{journey.d-DkBvO_Wa.d.cts → journey.d-C4N4t1Rh.d.cts} +122 -4
- package/dist/{journey.d-DkBvO_Wa.d.ts → journey.d-C4N4t1Rh.d.ts} +122 -4
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/dist/kanban.d-CtSt3uX2.d.cts +745 -0
- package/dist/kanban.d-CtSt3uX2.d.ts +745 -0
- package/dist/organization.d-Bd2Hmk8v.d.cts +1244 -0
- package/dist/organization.d-Bd2Hmk8v.d.ts +1244 -0
- package/dist/{workflow.d-EPa2OdVW.d.cts → workflow.d-DvhTpEtU.d.cts} +45 -3
- package/dist/{workflow.d-EPa2OdVW.d.ts → workflow.d-DvhTpEtU.d.ts} +45 -3
- package/package.json +1 -1
- package/dist/kanban.d-DUClxyBG.d.cts +0 -630
- package/dist/kanban.d-DUClxyBG.d.ts +0 -630
- package/dist/organization.d-BOLK3v9o.d.cts +0 -628
- package/dist/organization.d-BOLK3v9o.d.ts +0 -628
package/dist/apis/pricing.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/pricing-runtime.json
|
|
10
|
-
var require_pricing_runtime =
|
|
10
|
+
var require_pricing_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/pricing-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://pricing-api.sls.epilot.io", o: [["$calculatePricingDetails", "post", "/v1/pricing:compute", null, 1], ["createOrder", "post", "/v1/order", null, 1], ["putOrder", "put", "/v1/order/{id}", [["id", "p", true]], 1], ["$checkoutCart", "post", "/v1/public/cart:checkout", [["X-Ivy-Org-ID", "h", true]], 1], ["$searchCatalog", "post", "/v1/public/catalog", [["X-Ivy-Org-ID", "h"], ["Authorization", "h"]], 1], ["$privateSearchCatalog", "post", "/v1/catalog", null, 1], ["$validatePromoCodes", "post", "/v1/public/validate-promo-codes", [["X-Ivy-Org-ID", "h", true]], 1], ["$availabilityCheck", "post", "/v1/public/availability:check", [["X-Ivy-Org-ID", "h", true]], 1], ["$validateAvailabilityFile", "get", "/v1/validate-availability/{id}", [["id", "p", true], ["X-Epilot-Org-ID", "h", true]]], ["$historicMarketPrices", "get", "/v1/public/historicMarketPrices", [["market", "q", true], ["bidding_zone", "q", true], ["frequency", "q", true], ["from", "q", true], ["to", "q", true]]], ["$averageMarketPrice", "get", "/v1/public/averageMarketPrice", [["market", "q", true], ["bidding_zone", "q", true], ["from", "q", true], ["to", "q", true]]], ["$searchExternalProducts", "post", "/v1/public/integration/{integrationId}/products", [["integrationId", "p", true]], 1], ["$searchExternalProductRecommendations", "post", "/v1/public/integration/{integrationId}/product-recommendations", [["integrationId", "p", true]], 1], ["$searchProviders", "post", "/v1/public/integration/{integrationId}/providers:search", [["X-Epilot-Org-ID", "h", true], ["integrationId", "p", true]], 1], ["$searchStreets", "post", "/v1/public/integration/{integrationId}/streets:search", [["X-Epilot-Org-ID", "h", true], ["integrationId", "p", true]], 1], ["$computePrice", "post", "/v1/public/integration/{integrationId}/compute-price", [["X-Epilot-Org-ID", "h", true], ["integrationId", "p", true]], 1], ["$getCredentials", "get", "/v1/integration/{integrationId}/credentials", [["integrationId", "p", true]]], ["$saveCredentials", "put", "/v1/integration/{integrationId}/credentials:save", [["integrationId", "p", true]], 1], ["$deleteCredentials", "delete", "/v1/integration/{integrationId}/credentials:delete", [["integrationId", "p", true]]], ["$getExternalCatalogProducts", "post", "/v1/public/external-catalog/products", null, 1], ["$getExternalCatalogProductRecommendations", "post", "/v1/public/external-catalog/product-recommendations", null, 1], ["$productRecommendations", "post", "/v1/public/product-recommendations", [["X-Ivy-Org-ID", "h"]], 1]], v: "3.0.3" };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_pricing_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/pricing.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_pricing_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var pricing = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.pricing = pricing;
|
package/dist/apis/pricing.js
CHANGED
package/dist/apis/purpose.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/purpose-runtime.json
|
|
10
|
-
var require_purpose_runtime =
|
|
10
|
+
var require_purpose_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/purpose-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://purpose.sls.epilot.io", o: [["createPurpose", "post", "/v1/purpose", null, 1], ["searchPurposes", "get", "/v1/purpose:search", [["QueryParam"], ["SizeParam"]]], ["batchGetPurposes", "post", "/v1/purpose:batchGet", null, 1], ["getPurpose", "get", "/v1/purpose/{purposeId}", [["PurposeIdPathParam"]]], ["updatePurpose", "put", "/v1/purpose/{purposeId}", [["PurposeIdPathParam"]], 1], ["deletePurpose", "delete", "/v1/purpose/{purposeId}", [["PurposeIdPathParam"]]]], v: "3.0.3", cp: { PurposeIdPathParam: ["purposeId", "p", true], QueryParam: ["query", "q"], SizeParam: ["size", "q"] } };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_purpose_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/purpose.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_purpose_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var purpose = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.purpose = purpose;
|
package/dist/apis/purpose.js
CHANGED
package/dist/apis/sandbox.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/sandbox-runtime.json
|
|
10
|
-
var require_sandbox_runtime =
|
|
10
|
+
var require_sandbox_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/sandbox-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://sandbox.sls.epilot.io", o: [["listPipelines", "get", "/v1/sandbox/pipelines"], ["createPipeline", "post", "/v1/sandbox/pipelines", null, 1], ["getPipeline", "get", "/v1/sandbox/pipelines/{pipeline_id}", [["pipeline_id", "p", true]]], ["deletePipeline", "delete", "/v1/sandbox/pipelines/{pipeline_id}", [["pipeline_id", "p", true]]], ["generatePipelineToken", "get", "/v1/sandbox/pipelines/{pipeline_id}/token", [["pipeline_id", "p", true]]], ["requestSandbox", "post", "/v1/sandbox:request", null, 1], ["listSandboxRequests", "get", "/v1/sandbox/requests"]], v: "3.0.3" };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_sandbox_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/sandbox.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_sandbox_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var sandbox = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.sandbox = sandbox;
|
package/dist/apis/sandbox.js
CHANGED
package/dist/apis/submission.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/submission-runtime.json
|
|
10
|
-
var require_submission_runtime =
|
|
10
|
+
var require_submission_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/submission-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://submission.sls.epilot.io", o: [["createSubmission", "post", "/v1/submission/submissions", null, 1], ["getNonce", "get", "/v1/submission/nonce/{nonce_id}", [["nonce_id", "p", true]]]] };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_submission_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/submission.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_submission_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var submission = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.submission = submission;
|
package/dist/apis/submission.js
CHANGED
package/dist/apis/targeting.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/targeting-runtime.json
|
|
10
|
-
var require_targeting_runtime =
|
|
10
|
+
var require_targeting_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/targeting-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://targeting.sls.epilot.io", o: [["changeCampaignStatus", "post", "/v1/campaign/{campaign_id}/status", [["CampaignIdPathParam"]]], ["getCampaignJobStatus", "get", "/v1/campaign/{campaign_id}/job", [["CampaignIdPathParam"]]], ["getCampaignPortals", "get", "/v1/campaign/{campaign_id}/portals", [["CampaignIdPathParam"]]], ["retriggerCampaignAutomations", "post", "/v1/campaign/{campaign_id}/automations:retrigger", [["CampaignIdPathParam"]], 1], ["matchCampaigns", "post", "/v1/campaign:match", null, 1], ["matchTargets", "post", "/v1/target:match", null, 1], ["getTargetQueries", "post", "/v1/target/queries", null, 1], ["createRecipient", "post", "/v1/campaign/{campaign_id}/recipient", [["CampaignIdPathParam"]], 1], ["updateRecipient", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["updateRecipientPortalStatus", "patch", "/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status", [["CampaignIdPathParam"], ["RecipientIdPathParam"]], 1], ["getRecipients", "get", "/v1/campaign/{campaign_id}/recipients", [["CampaignIdPathParam"], ["limit", "q"], ["next", "q"], ["q", "q"], ["automation_status", "q"], ["portal_status", "q"]]]], v: "3.0.3", cp: { CampaignIdPathParam: ["campaign_id", "p", true], RecipientIdPathParam: ["recipient_id", "p", true] } };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_targeting_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/targeting.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_targeting_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var targeting = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.targeting = targeting;
|
package/dist/apis/targeting.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/template-variables-runtime.json
|
|
10
|
-
var require_template_variables_runtime =
|
|
10
|
+
var require_template_variables_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/template-variables-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://template-variables-api.sls.epilot.io", o: [["getCategories", "get", "/v1/template-variables/categories", [["lang", "q"]]], ["searchVariables", "post", "/v1/template-variables:search", null, 1], ["getVariableContext", "post", "/v1/template-variables:context", null, 1], ["replaceTemplates", "post", "/v1/template-variables:replace", null, 1], ["replaceTemplatesV2", "post", "/v2/template:replace", null, 1], ["getCustomVariables", "get", "/v1/custom-variables"], ["createCustomVariable", "post", "/v1/custom-variables", null, 1], ["searchCustomVariables", "post", "/v1/custom-variables:search", null, 1], ["updateCustomVariable", "put", "/v1/custom-variables/{id}", [["id", "p", true]], 1], ["getCustomVariable", "get", "/v1/custom-variables/{id}", [["id", "p", true]]], ["deleteCustomVariable", "delete", "/v1/custom-variables/{id}", [["id", "p", true]]], ["getBluePrintTableConfig", "get", "/v1/custom-variables/order-table-blueprint"]] };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_template_variables_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void
|
|
|
16
16
|
// src/apis/template-variables.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_template_variables_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var templateVariables = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.templateVariables = templateVariables;
|
package/dist/apis/user.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/user-runtime.json
|
|
10
|
-
var require_user_runtime =
|
|
10
|
+
var require_user_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/user-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://user.sls.epilot.io", o: [["signUpUser", "post", "/v2/users/public/signup", [["token", "q"]], 1], ["getMeV2", "get", "/v2/users/me"], ["listUsersV2", "get", "/v2/users", [["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUserV2", "get", "/v2/users/{id}", [["id", "p", true]]], ["updateUserV2", "patch", "/v2/users/{id}", [["id", "p", true]], 1], ["deleteUserV2", "delete", "/v2/users/{id}", [["id", "p", true]]], ["inviteUser", "post", "/v2/users/invite", null, 1], ["resendUserInvitation", "post", "/v2/users/invite:resendEmail", null, 1], ["getGroupsForUser", "get", "/v2/users/{id}/groups", [["id", "p", true]]], ["getGroups", "get", "/v1/groups", [["query", "q"], ["limit", "q"], ["offset", "q"], ["hydrate", "q"]]], ["createGroup", "post", "/v1/groups", null, 1], ["getGroup", "get", "/v1/groups/{id}", [["id", "p", true], ["hydrate", "q"]]], ["updateGroup", "patch", "/v1/groups/{id}", [["id", "p", true]], 1], ["deleteGroup", "delete", "/v1/groups/{id}", [["id", "p", true]]], ["advanceUserAssignment", "post", "/v1/groups/{id}/user:next", [["id", "p", true]]], ["createNavigation", "post", "/v2/user/navigations", null, 1], ["getNavigation", "get", "/v2/user/navigations/{id}", [["id", "p", true]]], ["verifyEmailWithToken", "post", "/v2/users/public/verifyEmail", [["token", "q", true]], 1], ["checkInviteToken", "get", "/v2/users/public/checkToken", [["token", "q", true]]], ["activateUser", "post", "/v2/users/public/activate", [["token", "q", true]], 1], ["rejectInvite", "delete", "/v2/users/public/reject", [["token", "q", true]]], ["getUserLoginParametersV2", "get", "/v2/users/public/username/{username}:getLoginParameters", [["username", "p", true]]], ["beginPasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBegin", null, 1], ["beginDiscoverablePasskeyAuthentication", "post", "/v2/users/public/passkeys:authenticateBeginDiscoverable"], ["resolveDiscoverableCredential", "post", "/v2/users/public/passkeys:resolveCredential", null, 1], ["beginPasskeyRegistration", "post", "/v2/users/me/passkeys:registerBegin", null, 1], ["completePasskeyRegistration", "post", "/v2/users/me/passkeys:registerComplete", null, 1], ["listPasskeys", "get", "/v2/users/me/passkeys"], ["deletePasskey", "delete", "/v2/users/me/passkeys/{credentialId}", [["credentialId", "p", true]]], ["switchOrganization", "post", "/v2/users/switchOrganization", null, 1], ["getMe", "get", "/v1/users/me"], ["listUsers", "get", "/v1/users", [["org_ids", "q", false, "form", false], ["query", "q"], ["limit", "q"], ["offset", "q"]]], ["getUser", "get", "/v1/users/{id}", [["id", "p", true]]], ["getUserLoginParameters", "get", "/v1/users/username/{username}:getLoginParameters", [["username", "p", true]]]] };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_user_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/user.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_user_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var user = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.user = user;
|
package/dist/apis/user.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/validation-rules-runtime.json
|
|
10
|
-
var require_validation_rules_runtime =
|
|
10
|
+
var require_validation_rules_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/validation-rules-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://validation-rules.sls.epilot.io", o: [["getValidationRules", "get", "/v1/validation-rules"], ["createValidationRule", "post", "/v1/validation-rules", null, 1], ["getValidationRuleById", "get", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]]], ["updateValidationRule", "patch", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]], 1], ["deleteValidationRule", "delete", "/v1/validation-rules/{ruleId}", [["ruleId", "p", true]]], ["addUsedByReference", "post", "/v1/validation-rules/{ruleId}/used-by", [["ruleId", "p", true]], 1], ["removeUsedByReference", "delete", "/v1/validation-rules/{ruleId}/used-by", [["ruleId", "p", true]], 1]], v: "3.0.3" };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_validation_rules_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0,
|
|
|
16
16
|
// src/apis/validation-rules.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_validation_rules_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var validationRules = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.validationRules = validationRules;
|
package/dist/apis/webhooks.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/webhooks-runtime.json
|
|
10
|
-
var require_webhooks_runtime =
|
|
10
|
+
var require_webhooks_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/webhooks-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://webhooks.sls.epilot.io", o: [["getPublicKey", "get", "/v1/webhooks/.well-known/public-key", [["orgId", "q", true]]], ["getConfiguredEvents", "get", "/v1/webhooks/configured-events"], ["getConfigs", "get", "/v1/webhooks/configs", [["eventName", "q"]]], ["createConfig", "post", "/v1/webhooks/configs", null, 1], ["getConfig", "get", "/v1/webhooks/configs/{configId}", [["configId", "p", true]]], ["updateConfig", "put", "/v1/webhooks/configs/{configId}", [["configId", "p", true]], 1], ["deleteConfig", "delete", "/v1/webhooks/configs/{configId}", [["configId", "p", true]]], ["triggerWebhook", "post", "/v1/webhooks/configs/{configId}/trigger", [["sync", "q"], ["configId", "p", true]], 1], ["getWehookEvents", "get", "/v1/webhooks/configs/{configId}/events", [["configId", "p", true], ["status", "q"], ["cursor", "q"]]], ["batchReplayEvents", "post", "/v1/webhooks/configs/{configId}/events/replay-batch", [["configId", "p", true]], 1], ["getEventById", "get", "/v1/webhooks/configs/{configId}/events/{eventId}", [["configId", "p", true], ["eventId", "p", true]]], ["replayEvent", "post", "/v1/webhooks/configs/{configId}/events/{eventId}/replay", [["configId", "p", true], ["eventId", "p", true]]], ["getWebhookExample", "post", "/v1/webhooks/configs/{configId}/example", [["configId", "p", true]], 1], ["getWebhookEventsV2", "post", "/v2/webhooks/configs/{configId}/events", [["configId", "p", true]], 1]], v: "3.0.0" };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_webhooks_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/webhooks.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_webhooks_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var webhooks = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.webhooks = webhooks;
|
package/dist/apis/webhooks.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/workflow-definition-runtime.json
|
|
10
|
-
var require_workflow_definition_runtime =
|
|
10
|
+
var require_workflow_definition_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/workflow-definition-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://workflows-definition.sls.epilot.io", o: [["getMaxAllowedLimit", "get", "/v1/workflows/limits/max-allowed"], ["getDefinitions", "get", "/v1/workflows/definitions"], ["createDefinition", "post", "/v1/workflows/definitions", null, 1], ["listFlowTemplates", "get", "/v2/flows/templates", [["trigger_type", "q"], ["trigger_source_id", "q"], ["trigger_schema", "q"]]], ["createFlowTemplate", "post", "/v2/flows/templates", null, 1], ["searchFlowTemplates", "post", "/v2/flows/templates:search", null, 1], ["getFlowTemplate", "get", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["updateFlowTemplate", "put", "/v2/flows/templates/{flowId}", [["flowId", "p", true]], 1], ["deleteFlowTemplate", "delete", "/v2/flows/templates/{flowId}", [["flowId", "p", true]]], ["duplicateFlowTemplate", "post", "/v2/flows/templates/{flowId}/duplicate", [["flowId", "p", true]]], ["exportFlowTemplate", "get", "/v2/flows/templates/{flowId}/export", [["flowId", "p", true]]], ["importFlowTemplate", "post", "/v2/flows/templates/import", null, 1], ["getDefinition", "get", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["updateDefinition", "put", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]], 1], ["deleteDefinition", "delete", "/v1/workflows/definitions/{definitionId}", [["definitionId", "p", true]]], ["getAllClosingReasons", "get", "/v1/workflows/closing-reasons", [["includeInactive", "q"]]], ["createClosingReason", "post", "/v1/workflows/closing-reasons", null, 1], ["getClosingReason", "get", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["updateClosingReason", "patch", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["deleteClosingReason", "delete", "/v2/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["getClosingReasonV1", "get", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]]], ["changeReasonStatus", "patch", "/v1/workflows/closing-reasons/{reasonId}", [["reasonId", "p", true]], 1], ["getWorkflowClosingReasons", "get", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]]], ["setWorkflowClosingReasons", "patch", "/v1/workflows/definitions/{definitionId}/closing-reasons", [["definitionId", "p", true]], 1]], v: "3.0.0" };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_workflow_definition_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void
|
|
|
16
16
|
// src/apis/workflow-definition.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_workflow_definition_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var workflowDefinition = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflowDefinition = workflowDefinition;
|
package/dist/apis/workflow.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
8
8
|
|
|
9
9
|
// src/definitions/workflow-runtime.json
|
|
10
|
-
var require_workflow_runtime =
|
|
10
|
+
var require_workflow_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/workflow-runtime.json"(exports, module) {
|
|
12
12
|
module.exports = { s: "https://workflows-execution.sls.epilot.io", o: [["getExecutions", "get", "/v1/workflows/executions", [["context", "q"], ["schema", "q"]]], ["createExecution", "post", "/v1/workflows/executions", null, 1], ["getExecution", "get", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]]], ["updateExecution", "patch", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]], 1], ["deleteExecution", "delete", "/v1/workflows/executions/{executionId}", [["executionId", "p", true]]], ["createStep", "post", "/v1/workflows/executions/{executionId}/steps", [["executionId", "p", true]], 1], ["updateStep", "patch", "/v1/workflows/executions/{executionId}/steps/{stepId}", [["executionId", "p", true], ["stepId", "p", true]], 1], ["deleteStep", "delete", "/v1/workflows/executions/{executionId}/steps/{stepId}", [["executionId", "p", true], ["stepId", "p", true]]], ["searchExecutions", "post", "/v1/workflows/executions/search", null, 1], ["searchSteps", "post", "/v1/workflows/executions/steps/search", null, 1], ["getClosingReasonExecution", "get", "/v1/workflows/executions/{executionId}/closing-reasons", [["executionId", "p", true]]], ["startFlowExecution", "post", "/v2/flows/executions", null, 1], ["getFlowExecution", "get", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"]]], ["patchFlowExecution", "patch", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"]], 1], ["deleteFlowExecution", "delete", "/v2/flows/executions/{execution_id}", [["ExecutionIdParam"], ["SoftDeleteParam"]]], ["searchFlowExecutions", "post", "/v2/flows/executions:search", null, 1], ["patchTask", "patch", "/v2/flows/executions/{execution_id}/tasks/{task_id}", [["ExecutionIdParam"], ["TaskIdParam"]], 1], ["runTaskAutomation", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/automation:run", [["ExecutionIdParam"], ["TaskIdParam"]]], ["executeTask", "post", "/v2/flows/executions/{execution_id}/tasks/{task_id}/execute", [["ExecutionIdParam"], ["TaskIdParam"]]], ["patchPhase", "patch", "/v2/flows/executions/{execution_id}/phases/{phase_id}", [["ExecutionIdParam"], ["PhaseIdParam"]], 1], ["addTask", "post", "/v2/flows/executions/{execution_id}/tasks", [["ExecutionIdParam"]], 1], ["cancelTaskSchedule", "delete", "/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule", [["ExecutionIdParam"], ["TaskIdParam"]]], ["cancelSchedule", "post", "/v2/flows/executions/{execution_id}/schedules/{schedule_id}", [["ExecutionIdParam"], ["ScheduleIdParam"]]]], v: "3.0.0", cp: { ExecutionIdParam: ["execution_id", "p", true], TaskIdParam: ["task_id", "p", true], PhaseIdParam: ["phase_id", "p", true], ScheduleIdParam: ["schedule_id", "p", true], SoftDeleteParam: ["soft", "q"] } };
|
|
13
13
|
}
|
|
@@ -16,19 +16,19 @@ var require_workflow_runtime = _chunk5LXNSDG2cjs.__commonJS.call(void 0, {
|
|
|
16
16
|
// src/apis/workflow.ts
|
|
17
17
|
var loadDefinition = () => {
|
|
18
18
|
const mod = require_workflow_runtime();
|
|
19
|
-
return
|
|
19
|
+
return _chunkXEQMAKGAcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
20
20
|
};
|
|
21
21
|
var _instance = null;
|
|
22
22
|
var resolve = () => {
|
|
23
23
|
if (!_instance) {
|
|
24
24
|
const def = loadDefinition();
|
|
25
|
-
_instance =
|
|
25
|
+
_instance = _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: def });
|
|
26
26
|
}
|
|
27
27
|
return _instance;
|
|
28
28
|
};
|
|
29
|
-
var _handle =
|
|
29
|
+
var _handle = _chunkXEQMAKGAcjs.createApiHandle.call(void 0, {
|
|
30
30
|
resolveClient: resolve,
|
|
31
|
-
createClient: () =>
|
|
31
|
+
createClient: () => _chunkXEQMAKGAcjs.createApiClient.call(void 0, { definition: loadDefinition() })
|
|
32
32
|
});
|
|
33
33
|
var getClient = _handle.getClient;
|
|
34
34
|
var createClient = _handle.createClient;
|
|
@@ -38,4 +38,4 @@ var workflow = _handle;
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
exports.authorize =
|
|
41
|
+
exports.authorize = _chunkXEQMAKGAcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.workflow = workflow;
|