@epilot/sdk 2.4.1 → 2.4.3
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/automation.json +42 -0
- package/definitions/kanban.json +2 -1
- package/definitions/pricing-runtime.json +1 -1
- package/definitions/pricing.json +158 -83
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- 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 +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- 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 +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +8 -8
- package/dist/apis/pricing.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- package/dist/apis/pricing.js +2 -2
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-BMO7ZFTN.cjs +7 -0
- package/dist/automation-MEZTSUR3.js +7 -0
- package/dist/{automation.d-CzhG2m4L.d.cts → automation.d-Du6-uiz5.d.cts} +31 -0
- package/dist/{automation.d-CzhG2m4L.d.ts → automation.d-Du6-uiz5.d.ts} +31 -0
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-MEUS7LCE.js → chunk-63BFJKWV.js} +1 -1
- package/dist/{chunk-OK74PNHY.cjs → chunk-AM5TSEMU.cjs} +4 -4
- package/dist/{chunk-JXJC6WEW.cjs → chunk-KP7H52BF.cjs} +1 -1
- package/dist/{chunk-O2AUZKUD.js → chunk-M25MI6ZX.js} +4 -4
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/{kanban-PMG5TXE5.js → kanban-F22JXYCG.js} +1 -1
- package/dist/{kanban-E2UOBVBK.cjs → kanban-FSATKIGH.cjs} +1 -1
- package/dist/{kanban.d-B99GucT_.d.cts → kanban.d-BHnSRCYW.d.cts} +1 -1
- package/dist/{kanban.d-B99GucT_.d.ts → kanban.d-BHnSRCYW.d.ts} +1 -1
- package/dist/pricing-G67CH3XH.js +7 -0
- package/dist/pricing-XAET4G7T.cjs +7 -0
- package/dist/{pricing-runtime-JRR4FWFI.js → pricing-runtime-2YKEJJMZ.js} +1 -1
- package/dist/{pricing-runtime-6XNS4EOF.cjs → pricing-runtime-XDCOKL47.cjs} +2 -2
- package/dist/{pricing.d-Cv39plGm.d.cts → pricing.d-BHpMU4KU.d.cts} +80 -25
- package/dist/{pricing.d-Cv39plGm.d.ts → pricing.d-BHpMU4KU.d.ts} +80 -25
- package/docs/automation.md +42 -5
- package/docs/kanban.md +2 -2
- package/docs/pricing.md +39 -15
- package/package.json +1 -1
- package/dist/automation-GFNNLSIN.js +0 -7
- package/dist/automation-IOCVCTKR.cjs +0 -7
- package/dist/pricing-4Z4TOETA.cjs +0 -7
- package/dist/pricing-C65DTZSX.js +0 -7
|
@@ -2498,6 +2498,10 @@ declare namespace Components {
|
|
|
2498
2498
|
* When enabled, the email thread will be automatically marked as done after this action completes.
|
|
2499
2499
|
*/
|
|
2500
2500
|
mark_as_done?: boolean;
|
|
2501
|
+
/**
|
|
2502
|
+
* When enabled, the email thread will be marked as read after this action completes.
|
|
2503
|
+
*/
|
|
2504
|
+
mark_as_read?: boolean;
|
|
2501
2505
|
}
|
|
2502
2506
|
export interface FrontendSubmitTrigger {
|
|
2503
2507
|
/**
|
|
@@ -3309,6 +3313,10 @@ declare namespace Components {
|
|
|
3309
3313
|
* When enabled, the email thread will be automatically marked as done after this action completes.
|
|
3310
3314
|
*/
|
|
3311
3315
|
mark_as_done?: boolean;
|
|
3316
|
+
/**
|
|
3317
|
+
* When enabled, the email thread will be marked as read after this action completes.
|
|
3318
|
+
*/
|
|
3319
|
+
mark_as_read?: boolean;
|
|
3312
3320
|
}
|
|
3313
3321
|
export interface ResumeReq {
|
|
3314
3322
|
resume_token: /**
|
|
@@ -3507,6 +3515,10 @@ declare namespace Components {
|
|
|
3507
3515
|
* When enabled, the email thread will be automatically marked as done after this action completes.
|
|
3508
3516
|
*/
|
|
3509
3517
|
mark_as_done?: boolean;
|
|
3518
|
+
/**
|
|
3519
|
+
* When enabled, the email thread will be marked as read after this action completes.
|
|
3520
|
+
*/
|
|
3521
|
+
mark_as_read?: boolean;
|
|
3510
3522
|
/**
|
|
3511
3523
|
* Include extra file attachments in sent email.
|
|
3512
3524
|
* Attachments in email template will be sent regardless of this configuration.
|
|
@@ -4310,6 +4322,15 @@ declare namespace Components {
|
|
|
4310
4322
|
workflow_exec_task_id?: string;
|
|
4311
4323
|
workflow_role: /* The role this automation plays in the workflow. */ WorkflowContextRole;
|
|
4312
4324
|
_execution_chain?: /* [Internal] Tracks execution chain for infinite loop prevention. This is an internal property and should not be used by external consumers. */ ExecutionChain;
|
|
4325
|
+
/**
|
|
4326
|
+
* Additional entity contexts from the parent flow execution. Used when an automation is triggered from a workflow task to carry all flow contexts into the automation, not just the primary entity.
|
|
4327
|
+
*
|
|
4328
|
+
*/
|
|
4329
|
+
entity_contexts?: {
|
|
4330
|
+
entity_id?: string;
|
|
4331
|
+
entity_schema?: string;
|
|
4332
|
+
is_primary?: boolean;
|
|
4333
|
+
}[];
|
|
4313
4334
|
}
|
|
4314
4335
|
}
|
|
4315
4336
|
}
|
|
@@ -4715,6 +4736,11 @@ declare namespace Paths {
|
|
|
4715
4736
|
*/
|
|
4716
4737
|
export type Schema = string;
|
|
4717
4738
|
export type Size = number;
|
|
4739
|
+
/**
|
|
4740
|
+
* example:
|
|
4741
|
+
* wfABCDEFGH
|
|
4742
|
+
*/
|
|
4743
|
+
export type TargetWorkflow = string;
|
|
4718
4744
|
/**
|
|
4719
4745
|
* example:
|
|
4720
4746
|
* 600945fe-212e-4b97-acf7-391d64648384
|
|
@@ -4734,6 +4760,11 @@ declare namespace Paths {
|
|
|
4734
4760
|
* 600945fe-212e-4b97-acf7-391d64648384
|
|
4735
4761
|
*/
|
|
4736
4762
|
Parameters.TriggerSourceId;
|
|
4763
|
+
target_workflow?: /**
|
|
4764
|
+
* example:
|
|
4765
|
+
* wfABCDEFGH
|
|
4766
|
+
*/
|
|
4767
|
+
Parameters.TargetWorkflow;
|
|
4737
4768
|
include_flows?: Parameters.IncludeFlows;
|
|
4738
4769
|
}
|
|
4739
4770
|
namespace Responses {
|
package/dist/bin/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ Examples:
|
|
|
22
22
|
};
|
|
23
23
|
var isYamlFile = (filePath) => filePath.endsWith(".yaml") || filePath.endsWith(".yml");
|
|
24
24
|
var parseYaml = async (content) => {
|
|
25
|
-
const { load } = await import("../js-yaml-
|
|
25
|
+
const { load } = await import("../js-yaml-DLCVPJ7G.js");
|
|
26
26
|
return load(content);
|
|
27
27
|
};
|
|
28
28
|
var readOverrides = () => {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/definitions/pricing-runtime.json
|
|
6
6
|
var require_pricing_runtime = __commonJS({
|
|
7
7
|
"src/definitions/pricing-runtime.json"(exports, module) {
|
|
8
|
-
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",
|
|
8
|
+
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", [["x-epilot-org-id", "h"]], 1], ["$getExternalCatalogProductRecommendations", "post", "/v1/public/external-catalog/product-recommendations", [["x-epilot-org-id", "h"]], 1], ["$productRecommendations", "post", "/v1/public/product-recommendations", [["X-Ivy-Org-ID", "h"]], 1]], v: "3.0.3" };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -26,7 +26,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
26
26
|
"./docs/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-PWHKNRCX.cjs"))),
|
|
27
27
|
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-PL3IOROO.cjs"))),
|
|
28
28
|
"./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
|
|
29
|
-
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-
|
|
29
|
+
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-BMO7ZFTN.cjs"))),
|
|
30
30
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-DUWDISHP.cjs"))),
|
|
31
31
|
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-IEQ6YBY7.cjs"))),
|
|
32
32
|
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-A3S6ND6R.cjs"))),
|
|
@@ -48,7 +48,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
48
48
|
"./docs/iban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./iban-24GHLFDB.cjs"))),
|
|
49
49
|
"./docs/integration-toolkit.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-VNMDI55O.cjs"))),
|
|
50
50
|
"./docs/journey.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./journey-REBN4TGQ.cjs"))),
|
|
51
|
-
"./docs/kanban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./kanban-
|
|
51
|
+
"./docs/kanban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./kanban-FSATKIGH.cjs"))),
|
|
52
52
|
"./docs/message.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./message-7LNAFKKV.cjs"))),
|
|
53
53
|
"./docs/metering.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./metering-DZNZPPY6.cjs"))),
|
|
54
54
|
"./docs/notes.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./notes-MPWOQC5J.cjs"))),
|
|
@@ -57,7 +57,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
57
57
|
"./docs/partner-directory.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./partner-directory-ZQIBKD5Q.cjs"))),
|
|
58
58
|
"./docs/permissions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./permissions-ZJHUIBWY.cjs"))),
|
|
59
59
|
"./docs/pricing-tier.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-tier-NI35WOUP.cjs"))),
|
|
60
|
-
"./docs/pricing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-
|
|
60
|
+
"./docs/pricing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-XAET4G7T.cjs"))),
|
|
61
61
|
"./docs/purpose.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./purpose-AKOEUHZ4.cjs"))),
|
|
62
62
|
"./docs/query.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./query-JSDB2F2U.cjs"))),
|
|
63
63
|
"./docs/sandbox.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./sandbox-2KN4X66E.cjs"))),
|
|
@@ -159,7 +159,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
159
159
|
"./definitions/partner-directory.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./partner-directory-CG5CYJGB.cjs"))),
|
|
160
160
|
"./definitions/permissions-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./permissions-runtime-O5LH7WOU.cjs"))),
|
|
161
161
|
"./definitions/permissions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./permissions-WCOABHKQ.cjs"))),
|
|
162
|
-
"./definitions/pricing-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-runtime-
|
|
162
|
+
"./definitions/pricing-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-runtime-XDCOKL47.cjs"))),
|
|
163
163
|
"./definitions/pricing-tier-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-tier-runtime-32BCKJ7Y.cjs"))),
|
|
164
164
|
"./definitions/pricing-tier.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-tier-FKQPW2ND.cjs"))),
|
|
165
165
|
"./definitions/pricing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./pricing-VYHPSVKM.cjs"))),
|
|
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
|
5
5
|
// src/definitions/pricing-runtime.json
|
|
6
6
|
var require_pricing_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/pricing-runtime.json"(exports, module) {
|
|
8
|
-
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",
|
|
8
|
+
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", [["x-epilot-org-id", "h"]], 1], ["$getExternalCatalogProductRecommendations", "post", "/v1/public/external-catalog/product-recommendations", [["x-epilot-org-id", "h"]], 1], ["$productRecommendations", "post", "/v1/public/product-recommendations", [["X-Ivy-Org-ID", "h"]], 1]], v: "3.0.3" };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -26,7 +26,7 @@ var globImport_docs = __glob({
|
|
|
26
26
|
"./docs/ai-agents.json": () => import("./ai-agents-IZWFEUSH.js"),
|
|
27
27
|
"./docs/app.json": () => import("./app-5KSVSKDU.js"),
|
|
28
28
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
29
|
-
"./docs/automation.json": () => import("./automation-
|
|
29
|
+
"./docs/automation.json": () => import("./automation-MEZTSUR3.js"),
|
|
30
30
|
"./docs/billing.json": () => import("./billing-IPALEAG2.js"),
|
|
31
31
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-DBEY5PPI.js"),
|
|
32
32
|
"./docs/configuration-hub.json": () => import("./configuration-hub-PMAW44U5.js"),
|
|
@@ -48,7 +48,7 @@ var globImport_docs = __glob({
|
|
|
48
48
|
"./docs/iban.json": () => import("./iban-LDKYDVQV.js"),
|
|
49
49
|
"./docs/integration-toolkit.json": () => import("./integration-toolkit-FRPFOYT2.js"),
|
|
50
50
|
"./docs/journey.json": () => import("./journey-KDR5EU3W.js"),
|
|
51
|
-
"./docs/kanban.json": () => import("./kanban-
|
|
51
|
+
"./docs/kanban.json": () => import("./kanban-F22JXYCG.js"),
|
|
52
52
|
"./docs/message.json": () => import("./message-6IFCB7GH.js"),
|
|
53
53
|
"./docs/metering.json": () => import("./metering-KOSCPPKB.js"),
|
|
54
54
|
"./docs/notes.json": () => import("./notes-3AO5GXIT.js"),
|
|
@@ -57,7 +57,7 @@ var globImport_docs = __glob({
|
|
|
57
57
|
"./docs/partner-directory.json": () => import("./partner-directory-THI7JEXK.js"),
|
|
58
58
|
"./docs/permissions.json": () => import("./permissions-X3SJVSPC.js"),
|
|
59
59
|
"./docs/pricing-tier.json": () => import("./pricing-tier-VUOFK5Q7.js"),
|
|
60
|
-
"./docs/pricing.json": () => import("./pricing-
|
|
60
|
+
"./docs/pricing.json": () => import("./pricing-G67CH3XH.js"),
|
|
61
61
|
"./docs/purpose.json": () => import("./purpose-RBRV3AQZ.js"),
|
|
62
62
|
"./docs/query.json": () => import("./query-RJ4M25PA.js"),
|
|
63
63
|
"./docs/sandbox.json": () => import("./sandbox-L2SOOGGR.js"),
|
|
@@ -159,7 +159,7 @@ var globImport_definitions_json = __glob({
|
|
|
159
159
|
"./definitions/partner-directory.json": () => import("./partner-directory-XJ7KI7EX.js"),
|
|
160
160
|
"./definitions/permissions-runtime.json": () => import("./permissions-runtime-D74HOCVO.js"),
|
|
161
161
|
"./definitions/permissions.json": () => import("./permissions-SGPGANEP.js"),
|
|
162
|
-
"./definitions/pricing-runtime.json": () => import("./pricing-runtime-
|
|
162
|
+
"./definitions/pricing-runtime.json": () => import("./pricing-runtime-2YKEJJMZ.js"),
|
|
163
163
|
"./definitions/pricing-tier-runtime.json": () => import("./pricing-tier-runtime-LEGBNNLA.js"),
|
|
164
164
|
"./definitions/pricing-tier.json": () => import("./pricing-tier-36WV4P4X.js"),
|
|
165
165
|
"./definitions/pricing.json": () => import("./pricing-3RNPCUR6.js"),
|
package/dist/index.cjs
CHANGED
|
@@ -45,7 +45,7 @@ var _chunkWTMV77T2cjs = require('./chunk-WTMV77T2.cjs');
|
|
|
45
45
|
var _chunkN5NFJW7Ycjs = require('./chunk-N5NFJW7Y.cjs');
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var _chunkKP7H52BFcjs = require('./chunk-KP7H52BF.cjs');
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
|
|
@@ -152,7 +152,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
var
|
|
155
|
+
var _chunkAM5TSEMUcjs = require('./chunk-AM5TSEMU.cjs');
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -219,7 +219,7 @@ var resolveClient = (params) => {
|
|
|
219
219
|
}
|
|
220
220
|
if (!entry.instance) {
|
|
221
221
|
const definition = entry.loader();
|
|
222
|
-
entry.instance =
|
|
222
|
+
entry.instance = _chunkAM5TSEMUcjs.createApiClient.call(void 0, {
|
|
223
223
|
definition,
|
|
224
224
|
token: state.token,
|
|
225
225
|
headers: state.globalHeaders,
|
|
@@ -252,7 +252,7 @@ var resetAllClients = (registry) => {
|
|
|
252
252
|
};
|
|
253
253
|
|
|
254
254
|
// src/apis/_registry.ts
|
|
255
|
-
var expandDef = (mod) =>
|
|
255
|
+
var expandDef = (mod) => _chunkAM5TSEMUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
256
256
|
var registerBuiltinApis = (registry) => {
|
|
257
257
|
registerApi({
|
|
258
258
|
registry,
|
|
@@ -432,7 +432,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
432
432
|
registerApi({
|
|
433
433
|
registry,
|
|
434
434
|
name: "pricing",
|
|
435
|
-
loader: () => expandDef(
|
|
435
|
+
loader: () => expandDef(_chunkKP7H52BFcjs.require_pricing_runtime.call(void 0, ))
|
|
436
436
|
});
|
|
437
437
|
registerApi({
|
|
438
438
|
registry,
|
|
@@ -585,9 +585,9 @@ var createSDK = () => {
|
|
|
585
585
|
const available = [...registry.keys()].join(", ");
|
|
586
586
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
587
587
|
}
|
|
588
|
-
return
|
|
588
|
+
return _chunkAM5TSEMUcjs.createApiHandle.call(void 0, {
|
|
589
589
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
590
|
-
createClient: () =>
|
|
590
|
+
createClient: () => _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
591
591
|
apiName: name
|
|
592
592
|
});
|
|
593
593
|
};
|
|
@@ -635,9 +635,9 @@ var createSDK = () => {
|
|
|
635
635
|
return interceptorUse;
|
|
636
636
|
}
|
|
637
637
|
case "help":
|
|
638
|
-
return (apiName) =>
|
|
638
|
+
return (apiName) => _chunkAM5TSEMUcjs.help.call(void 0, apiName);
|
|
639
639
|
case "openapi":
|
|
640
|
-
return (apiName) =>
|
|
640
|
+
return (apiName) => _chunkAM5TSEMUcjs.openapi.call(void 0, apiName);
|
|
641
641
|
case "then":
|
|
642
642
|
case "catch":
|
|
643
643
|
case "finally":
|
|
@@ -667,4 +667,4 @@ var epilot = createSDK();
|
|
|
667
667
|
|
|
668
668
|
|
|
669
669
|
|
|
670
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
670
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkAM5TSEMUcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkAM5TSEMUcjs.help; exports.openapi = _chunkAM5TSEMUcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.cjs';
|
|
10
10
|
import { C as Client$4 } from './app.d-u7Dq42kU.cjs';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-Du6-uiz5.cjs';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.cjs';
|
|
15
15
|
import { C as Client$9 } from './configuration-hub.d-Cqaq2F-W.cjs';
|
|
@@ -30,7 +30,7 @@ import { C as Client$n } from './file.d-DcTJxjp7.cjs';
|
|
|
30
30
|
import { C as Client$o } from './iban.d-BwdiGbxi.cjs';
|
|
31
31
|
import { C as Client$p } from './integration-toolkit.d-Ry-KC9ow.cjs';
|
|
32
32
|
import { C as Client$q } from './journey.d-ClXO0xK8.cjs';
|
|
33
|
-
import { C as Client$r } from './kanban.d-
|
|
33
|
+
import { C as Client$r } from './kanban.d-BHnSRCYW.cjs';
|
|
34
34
|
import { C as Client$s } from './message.d-B5UuSqgw.cjs';
|
|
35
35
|
import { C as Client$t } from './metering.d-DvtPv7wk.cjs';
|
|
36
36
|
import { C as Client$u } from './notes.d-BC-scR42.cjs';
|
|
@@ -38,7 +38,7 @@ import { C as Client$v } from './notification.d-BfBL3lga.cjs';
|
|
|
38
38
|
import { C as Client$w } from './organization.d-DqwnNxMg.cjs';
|
|
39
39
|
import { C as Client$x } from './partner-directory.d-BCIjHoGs.cjs';
|
|
40
40
|
import { C as Client$y } from './permissions.d-l6AT8SYP.cjs';
|
|
41
|
-
import { C as Client$z } from './pricing.d-
|
|
41
|
+
import { C as Client$z } from './pricing.d-BHpMU4KU.cjs';
|
|
42
42
|
import { C as Client$A } from './pricing-tier.d-Cg0jl6n_.cjs';
|
|
43
43
|
import { C as Client$B } from './purpose.d-CbIYfTua.cjs';
|
|
44
44
|
import { C as Client$C } from './query.d-Cmp78IhZ.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
|
9
9
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.js';
|
|
10
10
|
import { C as Client$4 } from './app.d-u7Dq42kU.js';
|
|
11
11
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
12
|
-
import { C as Client$6 } from './automation.d-
|
|
12
|
+
import { C as Client$6 } from './automation.d-Du6-uiz5.js';
|
|
13
13
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.js';
|
|
15
15
|
import { C as Client$9 } from './configuration-hub.d-Cqaq2F-W.js';
|
|
@@ -30,7 +30,7 @@ import { C as Client$n } from './file.d-DcTJxjp7.js';
|
|
|
30
30
|
import { C as Client$o } from './iban.d-BwdiGbxi.js';
|
|
31
31
|
import { C as Client$p } from './integration-toolkit.d-Ry-KC9ow.js';
|
|
32
32
|
import { C as Client$q } from './journey.d-ClXO0xK8.js';
|
|
33
|
-
import { C as Client$r } from './kanban.d-
|
|
33
|
+
import { C as Client$r } from './kanban.d-BHnSRCYW.js';
|
|
34
34
|
import { C as Client$s } from './message.d-B5UuSqgw.js';
|
|
35
35
|
import { C as Client$t } from './metering.d-DvtPv7wk.js';
|
|
36
36
|
import { C as Client$u } from './notes.d-BC-scR42.js';
|
|
@@ -38,7 +38,7 @@ import { C as Client$v } from './notification.d-BfBL3lga.js';
|
|
|
38
38
|
import { C as Client$w } from './organization.d-DqwnNxMg.js';
|
|
39
39
|
import { C as Client$x } from './partner-directory.d-BCIjHoGs.js';
|
|
40
40
|
import { C as Client$y } from './permissions.d-l6AT8SYP.js';
|
|
41
|
-
import { C as Client$z } from './pricing.d-
|
|
41
|
+
import { C as Client$z } from './pricing.d-BHpMU4KU.js';
|
|
42
42
|
import { C as Client$A } from './pricing-tier.d-Cg0jl6n_.js';
|
|
43
43
|
import { C as Client$B } from './purpose.d-CbIYfTua.js';
|
|
44
44
|
import { C as Client$C } from './query.d-Cmp78IhZ.js';
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-6VWCUZ5M.js";
|
|
46
46
|
import {
|
|
47
47
|
require_pricing_runtime
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-63BFJKWV.js";
|
|
49
49
|
import {
|
|
50
50
|
require_purpose_runtime
|
|
51
51
|
} from "./chunk-D7Q4JGN7.js";
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
expand,
|
|
153
153
|
help,
|
|
154
154
|
openapi
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-M25MI6ZX.js";
|
|
156
156
|
import {
|
|
157
157
|
__require
|
|
158
158
|
} from "./chunk-YPSWSI3M.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/js-yaml/dist/js-yaml.mjs
|
|
3
|
+
// ../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/dist/js-yaml.mjs
|
|
4
4
|
function isNothing(subject) {
|
|
5
5
|
return typeof subject === "undefined" || subject === null;
|
|
6
6
|
}
|
|
@@ -864,6 +864,18 @@ function charFromCodepoint(c) {
|
|
|
864
864
|
(c - 65536 & 1023) + 56320
|
|
865
865
|
);
|
|
866
866
|
}
|
|
867
|
+
function setProperty(object, key, value) {
|
|
868
|
+
if (key === "__proto__") {
|
|
869
|
+
Object.defineProperty(object, key, {
|
|
870
|
+
configurable: true,
|
|
871
|
+
enumerable: true,
|
|
872
|
+
writable: true,
|
|
873
|
+
value
|
|
874
|
+
});
|
|
875
|
+
} else {
|
|
876
|
+
object[key] = value;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
867
879
|
var simpleEscapeCheck = new Array(256);
|
|
868
880
|
var simpleEscapeMap = new Array(256);
|
|
869
881
|
for (i = 0; i < 256; i++) {
|
|
@@ -983,7 +995,7 @@ function mergeMappings(state, destination, source, overridableKeys) {
|
|
|
983
995
|
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
984
996
|
key = sourceKeys[index];
|
|
985
997
|
if (!_hasOwnProperty$1.call(destination, key)) {
|
|
986
|
-
destination
|
|
998
|
+
setProperty(destination, key, source[key]);
|
|
987
999
|
overridableKeys[key] = true;
|
|
988
1000
|
}
|
|
989
1001
|
}
|
|
@@ -1023,16 +1035,7 @@ function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valu
|
|
|
1023
1035
|
state.position = startPos || state.position;
|
|
1024
1036
|
throwError(state, "duplicated mapping key");
|
|
1025
1037
|
}
|
|
1026
|
-
|
|
1027
|
-
Object.defineProperty(_result, keyNode, {
|
|
1028
|
-
configurable: true,
|
|
1029
|
-
enumerable: true,
|
|
1030
|
-
writable: true,
|
|
1031
|
-
value: valueNode
|
|
1032
|
-
});
|
|
1033
|
-
} else {
|
|
1034
|
-
_result[keyNode] = valueNode;
|
|
1035
|
-
}
|
|
1038
|
+
setProperty(_result, keyNode, valueNode);
|
|
1036
1039
|
delete overridableKeys[keyNode];
|
|
1037
1040
|
}
|
|
1038
1041
|
return _result;
|
|
@@ -2620,7 +2623,6 @@ var jsYaml = {
|
|
|
2620
2623
|
safeLoadAll,
|
|
2621
2624
|
safeDump
|
|
2622
2625
|
};
|
|
2623
|
-
var js_yaml_default = jsYaml;
|
|
2624
2626
|
export {
|
|
2625
2627
|
CORE_SCHEMA,
|
|
2626
2628
|
DEFAULT_SCHEMA,
|
|
@@ -2629,7 +2631,7 @@ export {
|
|
|
2629
2631
|
Schema,
|
|
2630
2632
|
Type,
|
|
2631
2633
|
YAMLException,
|
|
2632
|
-
|
|
2634
|
+
jsYaml as default,
|
|
2633
2635
|
dump,
|
|
2634
2636
|
load,
|
|
2635
2637
|
loadAll,
|
|
@@ -2641,5 +2643,5 @@ export {
|
|
|
2641
2643
|
/*! Bundled license information:
|
|
2642
2644
|
|
|
2643
2645
|
js-yaml/dist/js-yaml.mjs:
|
|
2644
|
-
(*! js-yaml 4.1.
|
|
2646
|
+
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
2645
2647
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-YPSWSI3M.js";
|
|
2
2
|
|
|
3
3
|
// src/docs/kanban.json
|
|
4
|
-
var kanban_default = '# Kanban API\n\n- **Base URL:** `https://kanban.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/kanban](https://docs.epilot.io/api/kanban)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.kanban.createKanbanBoard(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/kanban\'\n\nconst kanbanClient = getClient()\nauthorize(kanbanClient, () => \'<token>\')\nconst { data } = await kanbanClient.createKanbanBoard(...)\n```\n\n## Operations\n\n**Kanban**\n- [`createKanbanBoard`](#createkanbanboard)\n- [`getKanbanBoards`](#getkanbanboards)\n- [`getKanbanBoard`](#getkanbanboard)\n- [`updateKanbanBoard`](#updatekanbanboard)\n- [`patchKanbanBoard`](#patchkanbanboard)\n- [`deleteKanbanBoard`](#deletekanbanboard)\n- [`setDefaultKanbanBoard`](#setdefaultkanbanboard)\n- [`clearDefaultKanbanBoard`](#cleardefaultkanbanboard)\n\n**Query**\n- [`flowsAutocomplete`](#flowsautocomplete)\n- [`executeFlowsQuery`](#executeflowsquery)\n\n**Schemas**\n- [`Error`](#error)\n- [`BoardSummary`](#boardsummary)\n- [`Board`](#board)\n- [`Swimlane`](#swimlane)\n- [`Sorting`](#sorting)\n- [`GroupBy`](#groupby)\n- [`BoardFilter`](#boardfilter)\n- [`FilterGroup`](#filtergroup)\n- [`FilterOperator`](#filteroperator)\n- [`DynamicDateValue`](#dynamicdatevalue)\n- [`ValueType`](#valuetype)\n- [`FlowsQueryRequest`](#flowsqueryrequest)\n- [`FlowsQueryResult`](#flowsqueryresult)\n- [`FilterItem`](#filteritem)\n\n### `createKanbanBoard`\n\nCreates a new Kanban board with the provided configuration.\n\n`POST /v1/kanban/board`\n\n```ts\nconst { data } = await client.createKanbanBoard(\n null,\n {\n id: \'string\',\n title: \'Board 1\',\n description: \'Board description\',\n created_at: \'1970-01-01T00:00:00.000Z\',\n updated_at: \'1970-01-01T00:00:00.000Z\',\n created_by: \'string\',\n org_id: \'string\',\n updated_by: \'string\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\'],\n config: {\n dataset: \'workflow_tasks_overview\',\n swimlanes: [\n {\n id: \'string\',\n title: \'Swimlane 1\',\n position: 1,\n filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n title_chip_variant: \'success\'\n }\n ],\n card_config: {\n fields: [\'assignee\']\n },\n board_filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n search_query: \'task 1\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `getKanbanBoards`\n\nReturns a list of all Kanban boards accessible to the authenticated user.\n\n`GET /v1/kanban/boards`\n\n```ts\nconst { data } = await client.getKanbanBoards({\n filter: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"]\n }\n]\n```\n\n</details>\n\n---\n\n### `getKanbanBoard`\n\nRetrieves a Kanban board by ID, including its full configuration (swimlanes, filters, sorting, card fields).\n\n`GET /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.getKanbanBoard({\n boardId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `updateKanbanBoard`\n\nFully replaces the configuration of an existing Kanban board by ID.\n\n`PUT /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.updateKanbanBoard(\n {\n boardId: \'example\',\n },\n {\n id: \'string\',\n title: \'Board 1\',\n description: \'Board description\',\n created_at: \'1970-01-01T00:00:00.000Z\',\n updated_at: \'1970-01-01T00:00:00.000Z\',\n created_by: \'string\',\n org_id: \'string\',\n updated_by: \'string\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\'],\n config: {\n dataset: \'workflow_tasks_overview\',\n swimlanes: [\n {\n id: \'string\',\n title: \'Swimlane 1\',\n position: 1,\n filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n title_chip_variant: \'success\'\n }\n ],\n card_config: {\n fields: [\'assignee\']\n },\n board_filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n search_query: \'task 1\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `patchKanbanBoard`\n\nPartially updates fields of an existing Kanban board by ID.\n\n`PATCH /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.patchKanbanBoard(\n {\n boardId: \'example\',\n },\n {\n title: \'Board 1\',\n description: \'Board description\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `deleteKanbanBoard`\n\nPermanently deletes a Kanban board by ID. This action is irreversible.\n\n`DELETE /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.deleteKanbanBoard({\n boardId: \'example\',\n})\n```\n\n---\n\n### `setDefaultKanbanBoard`\n\nSets a Kanban board as the default board for the organization.\n\n`PUT /v1/kanban/org/default-board`\n\n```ts\nconst { data } = await client.setDefaultKanbanBoard({\n boardId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "default_board_id": "string"\n}\n```\n\n</details>\n\n---\n\n### `clearDefaultKanbanBoard`\n\nRemoves the default board configuration for the organization.\n\n`DELETE /v1/kanban/org/default-board`\n\n```ts\nconst { data } = await client.clearDefaultKanbanBoard()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "default_board_id": "string"\n}\n```\n\n</details>\n\n---\n\n### `flowsAutocomplete`\n\nReturns autocomplete suggestions for a given attribute in the Flows dataset.\n\n`GET /v1/kanban/query/flows:autocomplete`\n\n```ts\nconst { data } = await client.flowsAutocomplete({\n input: \'example\',\n attribute: \'example\',\n size: 1,\n from: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": ["value"],\n "hits": 42\n}\n```\n\n</details>\n\n---\n\n### `executeFlowsQuery`\n\nExecutes a query against the Flows dataset and returns paginated results for use in Kanban card rendering.\n\n`POST /v1/kanban/query/flows:execute`\n\n```ts\nconst { data } = await client.executeFlowsQuery(\n null,\n {\n filters: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n from: 0,\n size: 10\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {}\n ],\n "hits": 42,\n "page_number": 1,\n "page_size": 10,\n "total_pages": 5\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `Error`\n\nStandard error response\n\n```ts\ntype Error = {\n message?: string\n status?: number\n}\n```\n\n### `BoardSummary`\n\nSummary representation of a Kanban board, returned in list responses. Does not include swimlane and filter configuration details.\n\n```ts\ntype BoardSummary = {\n id?: string\n title?: string\n description?: string\n created_at?: string // date-time\n updated_at?: string // date-time\n created_by?: string\n org_id?: string\n updated_by?: string\n shared_with?: string[]\n shared_with_org?: boolean\n owners?: string[]\n}\n```\n\n### `Board`\n\nFull representation of a Kanban board, including swimlane layout, filter configuration, card display fields, and sorting options.\n\n```ts\ntype Board = {\n id?: string\n title: string\n description?: string\n created_at?: string // date-time\n updated_at?: string // date-time\n created_by?: string\n org_id?: string\n updated_by?: string\n shared_with?: string[]\n shared_with_org?: boolean\n owners?: string[]\n config: {\n dataset?: string\n swimlanes?: Array<{\n id?: { ... }\n title?: { ... }\n position?: { ... }\n filter?: { ... }\n title_chip_variant?: { ... }\n }>\n card_config?: {\n fields?: { ... }\n }\n board_filter?: {\n items: { ... }\n combination: { ... }\n }\n sorting?: {\n field: { ... }\n direction?: { ... }\n }\n group_by?: {\n field: { ... }\n }\n search_query?: string\n }\n}\n```\n\n### `Swimlane`\n\nA vertical column in a Kanban board that groups workflow tasks or entities matching its filter criteria. Each swimlane has an independent filter and a display position.\n\n```ts\ntype Swimlane = {\n id?: string\n title?: string\n position?: number\n filter?: {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n } | {\n items: { ... }\n combination: { ... }\n }>\n combination: "AND" | "OR"\n }\n title_chip_variant?: string\n}\n```\n\n### `Sorting`\n\nDefines how query results should be sorted. Specify a field name and sort direction.\n\n```ts\ntype Sorting = {\n field: string\n direction?: "asc" | "desc"\n}\n```\n\n### `GroupBy`\n\nDefines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set.\n\n```ts\ntype GroupBy = {\n field: "context_entity" | "phase"\n}\n```\n\n### `BoardFilter`\n\nA filter group containing one or more filter items or nested filter groups. Items are combined using the specified logical operator (AND/OR).\n\n```ts\ntype BoardFilter = {\n items: Array<{\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n } | {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n }>\n combination: "AND" | "OR"\n }>\n combination: "AND" | "OR"\n}\n```\n\n### `FilterGroup`\n\n```ts\ntype FilterGroup = {\n items: Array<{\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n }>\n combination: "AND" | "OR"\n}\n```\n\n### `FilterOperator`\n\nThe comparison operator for filtering\n\n```ts\ntype FilterOperator = "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n```\n\n### `DynamicDateValue`\n\nDynamic date keywords that resolve to actual dates at runtime\n\n```ts\ntype DynamicDateValue = "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER"\n```\n\n### `ValueType`\n\nThe value to compare against - can be a single value (string, number, boolean, or dynamic date) or an array of values\n\n```ts\ntype ValueType = string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n```\n\n### `FlowsQueryRequest`\n\nRequest payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination.\n\n```ts\ntype FlowsQueryRequest = {\n filters?: {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n } | {\n items: { ... }\n combination: { ... }\n }>\n combination: "AND" | "OR"\n }\n sorting?: {\n field: string\n direction?: "asc" | "desc"\n }\n group_by?: {\n field: "context_entity" | "phase"\n }\n from?: number\n size?: number\n}\n```\n\n### `FlowsQueryResult`\n\nPaginated result set returned from a Flows query. Each item in `results` is a workflow task record with dynamic fields depending on the dataset configuration.\n\n```ts\ntype FlowsQueryResult = {\n results?: Record<string, unknown>[]\n hits?: number\n page_number?: number\n page_size?: number\n total_pages?: number\n}\n```\n\n### `FilterItem`\n\n```ts\ntype FilterItem = {\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n}\n```\n';
|
|
4
|
+
var kanban_default = '# Kanban API\n\n- **Base URL:** `https://kanban.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/kanban](https://docs.epilot.io/api/kanban)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.kanban.createKanbanBoard(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/kanban\'\n\nconst kanbanClient = getClient()\nauthorize(kanbanClient, () => \'<token>\')\nconst { data } = await kanbanClient.createKanbanBoard(...)\n```\n\n## Operations\n\n**Kanban**\n- [`createKanbanBoard`](#createkanbanboard)\n- [`getKanbanBoards`](#getkanbanboards)\n- [`getKanbanBoard`](#getkanbanboard)\n- [`updateKanbanBoard`](#updatekanbanboard)\n- [`patchKanbanBoard`](#patchkanbanboard)\n- [`deleteKanbanBoard`](#deletekanbanboard)\n- [`setDefaultKanbanBoard`](#setdefaultkanbanboard)\n- [`clearDefaultKanbanBoard`](#cleardefaultkanbanboard)\n\n**Query**\n- [`flowsAutocomplete`](#flowsautocomplete)\n- [`executeFlowsQuery`](#executeflowsquery)\n\n**Schemas**\n- [`Error`](#error)\n- [`BoardSummary`](#boardsummary)\n- [`Board`](#board)\n- [`Swimlane`](#swimlane)\n- [`Sorting`](#sorting)\n- [`GroupBy`](#groupby)\n- [`BoardFilter`](#boardfilter)\n- [`FilterGroup`](#filtergroup)\n- [`FilterOperator`](#filteroperator)\n- [`DynamicDateValue`](#dynamicdatevalue)\n- [`ValueType`](#valuetype)\n- [`FlowsQueryRequest`](#flowsqueryrequest)\n- [`FlowsQueryResult`](#flowsqueryresult)\n- [`FilterItem`](#filteritem)\n\n### `createKanbanBoard`\n\nCreates a new Kanban board with the provided configuration.\n\n`POST /v1/kanban/board`\n\n```ts\nconst { data } = await client.createKanbanBoard(\n null,\n {\n id: \'string\',\n title: \'Board 1\',\n description: \'Board description\',\n created_at: \'1970-01-01T00:00:00.000Z\',\n updated_at: \'1970-01-01T00:00:00.000Z\',\n created_by: \'string\',\n org_id: \'string\',\n updated_by: \'string\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\'],\n config: {\n dataset: \'workflow_tasks_overview\',\n swimlanes: [\n {\n id: \'string\',\n title: \'Swimlane 1\',\n position: 1,\n filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n title_chip_variant: \'success\'\n }\n ],\n card_config: {\n fields: [\'assignee\']\n },\n board_filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n search_query: \'task 1\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `getKanbanBoards`\n\nReturns a list of all Kanban boards accessible to the authenticated user.\n\n`GET /v1/kanban/boards`\n\n```ts\nconst { data } = await client.getKanbanBoards({\n filter: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n[\n {\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"]\n }\n]\n```\n\n</details>\n\n---\n\n### `getKanbanBoard`\n\nRetrieves a Kanban board by ID, including its full configuration (swimlanes, filters, sorting, card fields).\n\n`GET /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.getKanbanBoard({\n boardId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `updateKanbanBoard`\n\nFully replaces the configuration of an existing Kanban board by ID.\n\n`PUT /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.updateKanbanBoard(\n {\n boardId: \'example\',\n },\n {\n id: \'string\',\n title: \'Board 1\',\n description: \'Board description\',\n created_at: \'1970-01-01T00:00:00.000Z\',\n updated_at: \'1970-01-01T00:00:00.000Z\',\n created_by: \'string\',\n org_id: \'string\',\n updated_by: \'string\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\'],\n config: {\n dataset: \'workflow_tasks_overview\',\n swimlanes: [\n {\n id: \'string\',\n title: \'Swimlane 1\',\n position: 1,\n filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n title_chip_variant: \'success\'\n }\n ],\n card_config: {\n fields: [\'assignee\']\n },\n board_filter: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n search_query: \'task 1\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `patchKanbanBoard`\n\nPartially updates fields of an existing Kanban board by ID.\n\n`PATCH /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.patchKanbanBoard(\n {\n boardId: \'example\',\n },\n {\n title: \'Board 1\',\n description: \'Board description\',\n shared_with: [\'string\'],\n shared_with_org: true,\n owners: [\'string\']\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "id": "string",\n "title": "Board 1",\n "description": "Board description",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "created_by": "string",\n "org_id": "string",\n "updated_by": "string",\n "shared_with": ["string"],\n "shared_with_org": true,\n "owners": ["string"],\n "config": {\n "dataset": "workflow_tasks_overview",\n "swimlanes": [\n {\n "id": "string",\n "title": "Swimlane 1",\n "position": 1,\n "filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "title_chip_variant": "success"\n }\n ],\n "card_config": {\n "fields": ["assignee"]\n },\n "board_filter": {\n "items": [\n {\n "key": "assignee",\n "operator": "EQUALS",\n "value": "100020",\n "data_type": "string"\n }\n ],\n "combination": "OR"\n },\n "sorting": {\n "field": "created_at",\n "direction": "asc"\n },\n "group_by": {\n "field": "context_entity"\n },\n "search_query": "task 1"\n }\n}\n```\n\n</details>\n\n---\n\n### `deleteKanbanBoard`\n\nPermanently deletes a Kanban board by ID. This action is irreversible.\n\n`DELETE /v1/kanban/board/{boardId}`\n\n```ts\nconst { data } = await client.deleteKanbanBoard({\n boardId: \'example\',\n})\n```\n\n---\n\n### `setDefaultKanbanBoard`\n\nSets a Kanban board as the default board for the organization.\n\n`PUT /v1/kanban/org/default-board`\n\n```ts\nconst { data } = await client.setDefaultKanbanBoard({\n boardId: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "default_board_id": "string"\n}\n```\n\n</details>\n\n---\n\n### `clearDefaultKanbanBoard`\n\nRemoves the default board configuration for the organization.\n\n`DELETE /v1/kanban/org/default-board`\n\n```ts\nconst { data } = await client.clearDefaultKanbanBoard()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "message": "string",\n "default_board_id": "string"\n}\n```\n\n</details>\n\n---\n\n### `flowsAutocomplete`\n\nReturns autocomplete suggestions for a given attribute in the Flows dataset.\n\n`GET /v1/kanban/query/flows:autocomplete`\n\n```ts\nconst { data } = await client.flowsAutocomplete({\n input: \'example\',\n attribute: \'example\',\n size: 1,\n from: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": ["value"],\n "hits": 42\n}\n```\n\n</details>\n\n---\n\n### `executeFlowsQuery`\n\nExecutes a query against the Flows dataset and returns paginated results for use in Kanban card rendering.\n\n`POST /v1/kanban/query/flows:execute`\n\n```ts\nconst { data } = await client.executeFlowsQuery(\n null,\n {\n filters: {\n items: [\n {\n key: \'assignee\',\n operator: \'EQUALS\',\n value: \'100020\',\n data_type: \'string\'\n }\n ],\n combination: \'OR\'\n },\n sorting: {\n field: \'created_at\',\n direction: \'asc\'\n },\n group_by: {\n field: \'context_entity\'\n },\n from: 0,\n size: 10\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {}\n ],\n "hits": 42,\n "page_number": 1,\n "page_size": 10,\n "total_pages": 5\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `Error`\n\nStandard error response\n\n```ts\ntype Error = {\n message?: string\n status?: number\n}\n```\n\n### `BoardSummary`\n\nSummary representation of a Kanban board, returned in list responses. Does not include swimlane and filter configuration details.\n\n```ts\ntype BoardSummary = {\n id?: string\n title?: string\n description?: string\n created_at?: string // date-time\n updated_at?: string // date-time\n created_by?: string\n org_id?: string\n updated_by?: string\n shared_with?: string[]\n shared_with_org?: boolean\n owners?: string[]\n}\n```\n\n### `Board`\n\nFull representation of a Kanban board, including swimlane layout, filter configuration, card display fields, and sorting options.\n\n```ts\ntype Board = {\n id?: string\n title: string\n description?: string\n created_at?: string // date-time\n updated_at?: string // date-time\n created_by?: string\n org_id?: string\n updated_by?: string\n shared_with?: string[]\n shared_with_org?: boolean\n owners?: string[]\n config: {\n dataset?: string\n swimlanes?: Array<{\n id?: { ... }\n title?: { ... }\n position?: { ... }\n filter?: { ... }\n title_chip_variant?: { ... }\n }>\n card_config?: {\n fields?: { ... }\n }\n board_filter?: {\n items: { ... }\n combination: { ... }\n }\n sorting?: {\n field: { ... }\n direction?: { ... }\n }\n group_by?: {\n field: { ... }\n }\n search_query?: string\n }\n}\n```\n\n### `Swimlane`\n\nA vertical column in a Kanban board that groups workflow tasks or entities matching its filter criteria. Each swimlane has an independent filter and a display position.\n\n```ts\ntype Swimlane = {\n id?: string\n title?: string\n position?: number\n filter?: {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n } | {\n items: { ... }\n combination: { ... }\n }>\n combination: "AND" | "OR"\n }\n title_chip_variant?: string\n}\n```\n\n### `Sorting`\n\nDefines how query results should be sorted. Specify a field name and sort direction.\n\n```ts\ntype Sorting = {\n field: string\n direction?: "asc" | "desc"\n}\n```\n\n### `GroupBy`\n\nDefines how tasks should be grouped within each swimlane. Tasks with the same group value are returned adjacently in the result set.\n\n```ts\ntype GroupBy = {\n field: "context_entity" | "phase" | "task"\n}\n```\n\n### `BoardFilter`\n\nA filter group containing one or more filter items or nested filter groups. Items are combined using the specified logical operator (AND/OR).\n\n```ts\ntype BoardFilter = {\n items: Array<{\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n } | {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n }>\n combination: "AND" | "OR"\n }>\n combination: "AND" | "OR"\n}\n```\n\n### `FilterGroup`\n\n```ts\ntype FilterGroup = {\n items: Array<{\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n }>\n combination: "AND" | "OR"\n}\n```\n\n### `FilterOperator`\n\nThe comparison operator for filtering\n\n```ts\ntype FilterOperator = "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n```\n\n### `DynamicDateValue`\n\nDynamic date keywords that resolve to actual dates at runtime\n\n```ts\ntype DynamicDateValue = "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER"\n```\n\n### `ValueType`\n\nThe value to compare against - can be a single value (string, number, boolean, or dynamic date) or an array of values\n\n```ts\ntype ValueType = string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n```\n\n### `FlowsQueryRequest`\n\nRequest payload for executing a query against the Flows dataset. Supports filter conditions, sorting, grouping, and offset-based pagination.\n\n```ts\ntype FlowsQueryRequest = {\n filters?: {\n items: Array<{\n key: { ... }\n operator: { ... }\n value?: { ... }\n data_type?: { ... }\n } | {\n items: { ... }\n combination: { ... }\n }>\n combination: "AND" | "OR"\n }\n sorting?: {\n field: string\n direction?: "asc" | "desc"\n }\n group_by?: {\n field: "context_entity" | "phase" | "task"\n }\n from?: number\n size?: number\n}\n```\n\n### `FlowsQueryResult`\n\nPaginated result set returned from a Flows query. Each item in `results` is a workflow task record with dynamic fields depending on the dataset configuration.\n\n```ts\ntype FlowsQueryResult = {\n results?: Record<string, unknown>[]\n hits?: number\n page_number?: number\n page_size?: number\n total_pages?: number\n}\n```\n\n### `FilterItem`\n\n```ts\ntype FilterItem = {\n key: string\n operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"\n value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]\n data_type?: "string" | "number" | "boolean" | "date"\n}\n```\n';
|
|
5
5
|
export {
|
|
6
6
|
kanban_default as default
|
|
7
7
|
};
|