@epilot/sdk 2.4.3 → 2.4.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/definitions/app-runtime.json +1 -1
- package/definitions/app.json +346 -10
- package/definitions/calendar-runtime.json +1 -0
- package/definitions/calendar.json +675 -0
- package/definitions/customer-portal.json +29 -0
- package/definitions/notes.json +175 -130
- package/definitions/pricing.json +5 -1
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
- package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
- package/dist/apis/_registry.d.ts +8 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.d.ts +9 -12
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.d.ts +9 -12
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.d.ts +9 -12
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.ts +9 -12
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.ts +9 -12
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.d.ts +9 -12
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.ts +9 -12
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.d.ts +9 -12
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.d.ts +9 -12
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +38 -0
- package/dist/apis/calendar.d.ts +15 -0
- package/dist/apis/calendar.js +38 -0
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.d.ts +9 -12
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.d.ts +9 -12
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.d.ts +9 -12
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.d.ts +9 -12
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.d.ts +9 -12
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.d.ts +9 -12
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.ts +9 -12
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.d.ts +9 -12
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.d.ts +9 -12
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.d.ts +9 -12
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.d.ts +9 -12
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.ts +9 -12
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.d.ts +9 -12
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.d.ts +9 -12
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.d.ts +9 -12
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.d.ts +9 -12
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.d.ts +9 -12
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.ts +9 -12
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.d.ts +9 -12
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.d.ts +9 -12
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.d.ts +9 -12
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.d.ts +9 -12
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.d.ts +9 -12
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.d.ts +9 -12
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.d.ts +9 -12
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.d.ts +9 -12
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.d.ts +9 -12
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.d.ts +9 -12
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.d.ts +9 -12
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.d.ts +9 -12
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.d.ts +9 -12
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.d.ts +9 -12
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.d.ts +9 -12
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.d.ts +9 -591
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.ts +9 -12
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.d.ts +9 -12
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.d.ts +9 -12
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.d.ts +9 -12
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.d.ts +9 -12
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.ts +9 -12
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.d.ts +9 -12
- package/dist/apis/workflow.js +1 -1
- package/dist/authorize.d.ts +3 -0
- package/dist/bin/cli.d.ts +1 -0
- package/dist/bin/cli.js +1 -1
- package/dist/calendar-2YDAYG7S.cjs +7 -0
- package/dist/calendar-ACFIHQ2N.js +7 -0
- package/dist/calendar-runtime-6CMMEQMG.js +5 -0
- package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
- package/dist/{chunk-AM5TSEMU.cjs → chunk-CD4OX2U6.cjs} +4 -2
- package/dist/chunk-CKLEBO4K.cjs +14 -0
- package/dist/chunk-JNH37UUH.js +14 -0
- package/dist/{chunk-M25MI6ZX.js → chunk-TSV242UN.js} +4 -2
- package/dist/client-factory.d.ts +9 -0
- package/dist/client-map.d.ts +102 -0
- package/dist/compact.d.ts +22 -0
- package/dist/help.d.ts +12 -0
- package/dist/index.cjs +25 -17
- package/dist/index.d.ts +12 -180
- package/dist/index.js +21 -13
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/dist/large-response.d.ts +9 -0
- package/dist/openapi.d.ts +12 -0
- package/dist/overrides.d.ts +9 -0
- package/dist/proxy.d.ts +14 -0
- package/dist/registry.d.ts +19 -0
- package/dist/retry.d.ts +11 -0
- package/dist/sdk.d.ts +29 -0
- package/dist/types.d.ts +53 -0
- package/docs/calendar.md +441 -0
- package/package.json +10 -1
- package/dist/README-6MG272KM.cjs +0 -7
- package/dist/README-7N542PBL.js +0 -7
- package/dist/access-token.d-CnmUTOlq.d.cts +0 -552
- package/dist/access-token.d-CnmUTOlq.d.ts +0 -552
- package/dist/address-suggestions.d-_YwTOR-9.d.cts +0 -339
- package/dist/address-suggestions.d-_YwTOR-9.d.ts +0 -339
- package/dist/address.d-CwAPOVxa.d.cts +0 -437
- package/dist/address.d-CwAPOVxa.d.ts +0 -437
- package/dist/ai-agents.d-OkXfr2bz.d.cts +0 -1339
- package/dist/ai-agents.d-OkXfr2bz.d.ts +0 -1339
- package/dist/apis/access-token.d.cts +0 -18
- package/dist/apis/address-suggestions.d.cts +0 -18
- package/dist/apis/address.d.cts +0 -18
- package/dist/apis/ai-agents.d.cts +0 -18
- package/dist/apis/app.d.cts +0 -18
- package/dist/apis/audit-logs.d.cts +0 -18
- package/dist/apis/automation.d.cts +0 -18
- package/dist/apis/billing.d.cts +0 -18
- package/dist/apis/blueprint-manifest.d.cts +0 -18
- package/dist/apis/configuration-hub.d.cts +0 -18
- package/dist/apis/consent.d.cts +0 -18
- package/dist/apis/customer-portal.d.cts +0 -18
- package/dist/apis/dashboard.d.cts +0 -18
- package/dist/apis/data-governance.d.cts +0 -18
- package/dist/apis/deduplication.d.cts +0 -18
- package/dist/apis/design.d.cts +0 -18
- package/dist/apis/document.d.cts +0 -18
- package/dist/apis/email-settings.d.cts +0 -18
- package/dist/apis/email-template.d.cts +0 -18
- package/dist/apis/entity-mapping.d.cts +0 -18
- package/dist/apis/entity.d.cts +0 -18
- package/dist/apis/environments.d.cts +0 -18
- package/dist/apis/event-catalog.d.cts +0 -18
- package/dist/apis/file.d.cts +0 -18
- package/dist/apis/iban.d.cts +0 -18
- package/dist/apis/integration-toolkit.d.cts +0 -18
- package/dist/apis/journey.d.cts +0 -18
- package/dist/apis/kanban.d.cts +0 -18
- package/dist/apis/message.d.cts +0 -18
- package/dist/apis/metering.d.cts +0 -18
- package/dist/apis/notes.d.cts +0 -18
- package/dist/apis/notification.d.cts +0 -18
- package/dist/apis/organization.d.cts +0 -18
- package/dist/apis/partner-directory.d.cts +0 -18
- package/dist/apis/permissions.d.cts +0 -18
- package/dist/apis/pricing-tier.d.cts +0 -18
- package/dist/apis/pricing.d.cts +0 -18
- package/dist/apis/purpose.d.cts +0 -18
- package/dist/apis/query.d.cts +0 -18
- package/dist/apis/sandbox.d.cts +0 -18
- package/dist/apis/sharing.d.cts +0 -18
- package/dist/apis/submission.d.cts +0 -18
- package/dist/apis/target.d.cts +0 -597
- package/dist/apis/targeting.d.cts +0 -18
- package/dist/apis/template-variables.d.cts +0 -18
- package/dist/apis/user.d.cts +0 -18
- package/dist/apis/validation-rules.d.cts +0 -18
- package/dist/apis/webhooks.d.cts +0 -18
- package/dist/apis/workflow-definition.d.cts +0 -18
- package/dist/apis/workflow.d.cts +0 -18
- package/dist/app.d-u7Dq42kU.d.cts +0 -3391
- package/dist/app.d-u7Dq42kU.d.ts +0 -3391
- package/dist/audit-logs.d-BRToFqeX.d.cts +0 -287
- package/dist/audit-logs.d-BRToFqeX.d.ts +0 -287
- package/dist/automation.d-Du6-uiz5.d.cts +0 -5283
- package/dist/automation.d-Du6-uiz5.d.ts +0 -5283
- package/dist/billing.d-Bs8Ku9qE.d.cts +0 -993
- package/dist/billing.d-Bs8Ku9qE.d.ts +0 -993
- package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +0 -4343
- package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +0 -4343
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
- package/dist/consent.d-C2PROHhX.d.cts +0 -265
- package/dist/consent.d-C2PROHhX.d.ts +0 -265
- package/dist/customer-portal.d-DyZ2n2dW.d.cts +0 -16728
- package/dist/customer-portal.d-DyZ2n2dW.d.ts +0 -16728
- package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
- package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
- package/dist/data-governance.d-BbZ466j5.d.cts +0 -1178
- package/dist/data-governance.d-BbZ466j5.d.ts +0 -1178
- package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
- package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
- package/dist/design.d-BRre8iLg.d.cts +0 -2346
- package/dist/design.d-BRre8iLg.d.ts +0 -2346
- package/dist/document.d-DN37pjdx.d.cts +0 -648
- package/dist/document.d-DN37pjdx.d.ts +0 -648
- package/dist/email-settings.d-B7Q_xT25.d.cts +0 -2417
- package/dist/email-settings.d-B7Q_xT25.d.ts +0 -2417
- package/dist/email-template.d-gtQkdaXM.d.cts +0 -1188
- package/dist/email-template.d-gtQkdaXM.d.ts +0 -1188
- package/dist/entity-mapping.d-DKSW3sfy.d.cts +0 -1092
- package/dist/entity-mapping.d-DKSW3sfy.d.ts +0 -1092
- package/dist/entity.d-BHR9dEon.d.cts +0 -18479
- package/dist/entity.d-BHR9dEon.d.ts +0 -18479
- package/dist/environments.d-BvqvN-PD.d.cts +0 -382
- package/dist/environments.d-BvqvN-PD.d.ts +0 -382
- package/dist/event-catalog.d-ENw6HO-w.d.cts +0 -1511
- package/dist/event-catalog.d-ENw6HO-w.d.ts +0 -1511
- package/dist/file.d-DcTJxjp7.d.cts +0 -2992
- package/dist/file.d-DcTJxjp7.d.ts +0 -2992
- package/dist/iban.d-BwdiGbxi.d.cts +0 -70
- package/dist/iban.d-BwdiGbxi.d.ts +0 -70
- package/dist/index.d.cts +0 -180
- package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +0 -5796
- package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +0 -5796
- package/dist/journey.d-ClXO0xK8.d.cts +0 -1931
- package/dist/journey.d-ClXO0xK8.d.ts +0 -1931
- package/dist/kanban.d-BHnSRCYW.d.cts +0 -760
- package/dist/kanban.d-BHnSRCYW.d.ts +0 -760
- package/dist/message.d-B5UuSqgw.d.cts +0 -3811
- package/dist/message.d-B5UuSqgw.d.ts +0 -3811
- package/dist/metering.d-DvtPv7wk.d.cts +0 -1841
- package/dist/metering.d-DvtPv7wk.d.ts +0 -1841
- package/dist/notes.d-BC-scR42.d.cts +0 -1046
- package/dist/notes.d-BC-scR42.d.ts +0 -1046
- package/dist/notification.d-BfBL3lga.d.cts +0 -1147
- package/dist/notification.d-BfBL3lga.d.ts +0 -1147
- package/dist/organization.d-DqwnNxMg.d.cts +0 -1271
- package/dist/organization.d-DqwnNxMg.d.ts +0 -1271
- package/dist/partner-directory.d-BCIjHoGs.d.cts +0 -2337
- package/dist/partner-directory.d-BCIjHoGs.d.ts +0 -2337
- package/dist/permissions.d-l6AT8SYP.d.cts +0 -1279
- package/dist/permissions.d-l6AT8SYP.d.ts +0 -1279
- package/dist/pricing-tier.d-Cg0jl6n_.d.cts +0 -81
- package/dist/pricing-tier.d-Cg0jl6n_.d.ts +0 -81
- package/dist/pricing.d-BHpMU4KU.d.cts +0 -12255
- package/dist/pricing.d-BHpMU4KU.d.ts +0 -12255
- package/dist/purpose.d-CbIYfTua.d.cts +0 -372
- package/dist/purpose.d-CbIYfTua.d.ts +0 -372
- package/dist/query.d-Cmp78IhZ.d.cts +0 -2375
- package/dist/query.d-Cmp78IhZ.d.ts +0 -2375
- package/dist/sandbox.d-BdbOFzDu.d.cts +0 -465
- package/dist/sandbox.d-BdbOFzDu.d.ts +0 -465
- package/dist/sharing.d-sOXq-gtz.d.cts +0 -571
- package/dist/sharing.d-sOXq-gtz.d.ts +0 -571
- package/dist/submission.d-BamwfhXw.d.cts +0 -469
- package/dist/submission.d-BamwfhXw.d.ts +0 -469
- package/dist/targeting.d-BNmcVsNS.d.cts +0 -2057
- package/dist/targeting.d-BNmcVsNS.d.ts +0 -2057
- package/dist/template-variables.d-Ble9TSBa.d.cts +0 -1320
- package/dist/template-variables.d-Ble9TSBa.d.ts +0 -1320
- package/dist/types-ChU9Acbv.d.cts +0 -37
- package/dist/types-ChU9Acbv.d.ts +0 -37
- package/dist/user.d-D18fe97W.d.cts +0 -2270
- package/dist/user.d-D18fe97W.d.ts +0 -2270
- package/dist/validation-rules.d-Db5c5zTf.d.cts +0 -807
- package/dist/validation-rules.d-Db5c5zTf.d.ts +0 -807
- package/dist/webhooks.d-pLHIL_io.d.cts +0 -1256
- package/dist/webhooks.d-pLHIL_io.d.ts +0 -1256
- package/dist/workflow-definition.d-DOeb0KVV.d.cts +0 -1922
- package/dist/workflow-definition.d-DOeb0KVV.d.ts +0 -1922
- package/dist/workflow.d-CMSKt8oN.d.cts +0 -3151
- package/dist/workflow.d-CMSKt8oN.d.ts +0 -3151
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/definitions/calendar-runtime.json
|
|
6
|
+
var require_calendar_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/calendar-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://calendar.sls.epilot.io", o: [["listCalendars", "get", "/v1/calendar", [["size", "q"], ["cursor", "q"]]], ["getCalendar", "get", "/v1/calendar/{calendar_id}", [["calendar_id", "p", true]]], ["listEvents", "get", "/v1/calendar/events", [["from", "q", true], ["to", "q", true], ["calendar_id", "q"], ["size", "q"], ["cursor", "q"]]], ["getEvent", "get", "/v1/calendar/events/{event_id}", [["event_id", "p", true]]]], v: "3.0.3" };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_calendar_runtime = require_calendar_runtime;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/calendar-runtime.json
|
|
6
|
+
var require_calendar_runtime = __commonJS({
|
|
7
|
+
"src/definitions/calendar-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://calendar.sls.epilot.io", o: [["listCalendars", "get", "/v1/calendar", [["size", "q"], ["cursor", "q"]]], ["getCalendar", "get", "/v1/calendar/{calendar_id}", [["calendar_id", "p", true]]], ["listEvents", "get", "/v1/calendar/events", [["from", "q", true], ["to", "q", true], ["calendar_id", "q"], ["size", "q"], ["cursor", "q"]]], ["getEvent", "get", "/v1/calendar/events/{event_id}", [["event_id", "p", true]]]], v: "3.0.3" };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_calendar_runtime
|
|
14
|
+
};
|
|
@@ -18,8 +18,8 @@ var authorize = (client, token) => {
|
|
|
18
18
|
|
|
19
19
|
// import("./docs/**/*") in src/help.ts
|
|
20
20
|
var globImport_docs = __glob({
|
|
21
|
-
"./docs/README.json": () => import("./README-
|
|
22
|
-
"./docs/_index.json": () => import("./_index-
|
|
21
|
+
"./docs/README.json": () => import("./README-46VYEGGW.js"),
|
|
22
|
+
"./docs/_index.json": () => import("./_index-5FB6F5YY.js"),
|
|
23
23
|
"./docs/access-token.json": () => import("./access-token-GSQZLDXR.js"),
|
|
24
24
|
"./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
|
|
25
25
|
"./docs/address.json": () => import("./address-QVJUGMOG.js"),
|
|
@@ -29,6 +29,7 @@ var globImport_docs = __glob({
|
|
|
29
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
|
+
"./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
|
|
32
33
|
"./docs/configuration-hub.json": () => import("./configuration-hub-PMAW44U5.js"),
|
|
33
34
|
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
34
35
|
"./docs/customer-portal.json": () => import("./customer-portal-RZACUF4N.js"),
|
|
@@ -107,6 +108,7 @@ var globImport_definitions_json = __glob({
|
|
|
107
108
|
"./definitions/billing.json": () => import("./billing-ASWY7HC3.js"),
|
|
108
109
|
"./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-5UN52LW5.js"),
|
|
109
110
|
"./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
|
|
111
|
+
"./definitions/calendar-runtime.json": () => import("./calendar-runtime-6CMMEQMG.js"),
|
|
110
112
|
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-L6IOERSP.js"),
|
|
111
113
|
"./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
|
|
112
114
|
"./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AxiosInstance } from 'axios';
|
|
2
|
+
import type { Document } from 'openapi-client-axios';
|
|
3
|
+
import { type TokenArg } from './authorize';
|
|
4
|
+
export declare const createApiClient: <T extends AxiosInstance = AxiosInstance>(params: {
|
|
5
|
+
definition: Document;
|
|
6
|
+
token?: TokenArg | null;
|
|
7
|
+
headers?: Record<string, string>;
|
|
8
|
+
apiName?: string;
|
|
9
|
+
}) => T;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { Client as AccessTokenClient } from './types/access-token';
|
|
2
|
+
import type { Client as AddressClient } from './types/address';
|
|
3
|
+
import type { Client as AddressSuggestionsClient } from './types/address-suggestions';
|
|
4
|
+
import type { Client as AiAgentsClient } from './types/ai-agents';
|
|
5
|
+
import type { Client as AppClient } from './types/app';
|
|
6
|
+
import type { Client as AuditLogsClient } from './types/audit-logs';
|
|
7
|
+
import type { Client as AutomationClient } from './types/automation';
|
|
8
|
+
import type { Client as BillingClient } from './types/billing';
|
|
9
|
+
import type { Client as BlueprintManifestClient } from './types/blueprint-manifest';
|
|
10
|
+
import type { Client as CalendarClient } from './types/calendar';
|
|
11
|
+
import type { Client as ConfigurationHubClient } from './types/configuration-hub';
|
|
12
|
+
import type { Client as ConsentClient } from './types/consent';
|
|
13
|
+
import type { Client as CustomerPortalClient } from './types/customer-portal';
|
|
14
|
+
import type { Client as DashboardClient } from './types/dashboard';
|
|
15
|
+
import type { Client as DataGovernanceClient } from './types/data-governance';
|
|
16
|
+
import type { Client as DeduplicationClient } from './types/deduplication';
|
|
17
|
+
import type { Client as DesignClient } from './types/design';
|
|
18
|
+
import type { Client as DocumentClient } from './types/document';
|
|
19
|
+
import type { Client as EmailSettingsClient } from './types/email-settings';
|
|
20
|
+
import type { Client as EmailTemplateClient } from './types/email-template';
|
|
21
|
+
import type { Client as EntityClient } from './types/entity';
|
|
22
|
+
import type { Client as EntityMappingClient } from './types/entity-mapping';
|
|
23
|
+
import type { Client as EnvironmentsClient } from './types/environments';
|
|
24
|
+
import type { Client as EventCatalogClient } from './types/event-catalog';
|
|
25
|
+
import type { Client as FileClient } from './types/file';
|
|
26
|
+
import type { Client as IbanClient } from './types/iban';
|
|
27
|
+
import type { Client as IntegrationToolkitClient } from './types/integration-toolkit';
|
|
28
|
+
import type { Client as JourneyClient } from './types/journey';
|
|
29
|
+
import type { Client as KanbanClient } from './types/kanban';
|
|
30
|
+
import type { Client as MessageClient } from './types/message';
|
|
31
|
+
import type { Client as MeteringClient } from './types/metering';
|
|
32
|
+
import type { Client as NotesClient } from './types/notes';
|
|
33
|
+
import type { Client as NotificationClient } from './types/notification';
|
|
34
|
+
import type { Client as OrganizationClient } from './types/organization';
|
|
35
|
+
import type { Client as PartnerDirectoryClient } from './types/partner-directory';
|
|
36
|
+
import type { Client as PermissionsClient } from './types/permissions';
|
|
37
|
+
import type { Client as PricingClient } from './types/pricing';
|
|
38
|
+
import type { Client as PricingTierClient } from './types/pricing-tier';
|
|
39
|
+
import type { Client as PurposeClient } from './types/purpose';
|
|
40
|
+
import type { Client as QueryClient } from './types/query';
|
|
41
|
+
import type { Client as SandboxClient } from './types/sandbox';
|
|
42
|
+
import type { Client as SharingClient } from './types/sharing';
|
|
43
|
+
import type { Client as SubmissionClient } from './types/submission';
|
|
44
|
+
import type { Client as TargetingClient } from './types/targeting';
|
|
45
|
+
import type { Client as TemplateVariablesClient } from './types/template-variables';
|
|
46
|
+
import type { Client as UserClient } from './types/user';
|
|
47
|
+
import type { Client as ValidationRulesClient } from './types/validation-rules';
|
|
48
|
+
import type { Client as WebhooksClient } from './types/webhooks';
|
|
49
|
+
import type { Client as WorkflowClient } from './types/workflow';
|
|
50
|
+
import type { Client as WorkflowDefinitionClient } from './types/workflow-definition';
|
|
51
|
+
export type SDKClientMap = {
|
|
52
|
+
accessToken: AccessTokenClient;
|
|
53
|
+
address: AddressClient;
|
|
54
|
+
addressSuggestions: AddressSuggestionsClient;
|
|
55
|
+
aiAgents: AiAgentsClient;
|
|
56
|
+
app: AppClient;
|
|
57
|
+
auditLogs: AuditLogsClient;
|
|
58
|
+
automation: AutomationClient;
|
|
59
|
+
billing: BillingClient;
|
|
60
|
+
blueprintManifest: BlueprintManifestClient;
|
|
61
|
+
calendar: CalendarClient;
|
|
62
|
+
configurationHub: ConfigurationHubClient;
|
|
63
|
+
consent: ConsentClient;
|
|
64
|
+
customerPortal: CustomerPortalClient;
|
|
65
|
+
dashboard: DashboardClient;
|
|
66
|
+
dataGovernance: DataGovernanceClient;
|
|
67
|
+
deduplication: DeduplicationClient;
|
|
68
|
+
design: DesignClient;
|
|
69
|
+
document: DocumentClient;
|
|
70
|
+
emailSettings: EmailSettingsClient;
|
|
71
|
+
emailTemplate: EmailTemplateClient;
|
|
72
|
+
entity: EntityClient;
|
|
73
|
+
entityMapping: EntityMappingClient;
|
|
74
|
+
environments: EnvironmentsClient;
|
|
75
|
+
eventCatalog: EventCatalogClient;
|
|
76
|
+
file: FileClient;
|
|
77
|
+
iban: IbanClient;
|
|
78
|
+
integrationToolkit: IntegrationToolkitClient;
|
|
79
|
+
journey: JourneyClient;
|
|
80
|
+
kanban: KanbanClient;
|
|
81
|
+
message: MessageClient;
|
|
82
|
+
metering: MeteringClient;
|
|
83
|
+
notes: NotesClient;
|
|
84
|
+
notification: NotificationClient;
|
|
85
|
+
organization: OrganizationClient;
|
|
86
|
+
partnerDirectory: PartnerDirectoryClient;
|
|
87
|
+
permissions: PermissionsClient;
|
|
88
|
+
pricing: PricingClient;
|
|
89
|
+
pricingTier: PricingTierClient;
|
|
90
|
+
purpose: PurposeClient;
|
|
91
|
+
query: QueryClient;
|
|
92
|
+
sandbox: SandboxClient;
|
|
93
|
+
sharing: SharingClient;
|
|
94
|
+
submission: SubmissionClient;
|
|
95
|
+
targeting: TargetingClient;
|
|
96
|
+
templateVariables: TemplateVariablesClient;
|
|
97
|
+
user: UserClient;
|
|
98
|
+
validationRules: ValidationRulesClient;
|
|
99
|
+
webhooks: WebhooksClient;
|
|
100
|
+
workflow: WorkflowClient;
|
|
101
|
+
workflowDefinition: WorkflowDefinitionClient;
|
|
102
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compact OpenAPI definition format for reduced bundle size.
|
|
3
|
+
*
|
|
4
|
+
* Encodes only the fields openapi-client-axios reads at runtime:
|
|
5
|
+
* paths, operationId, parameters (name, in, required, style, explode),
|
|
6
|
+
* requestBody presence, servers, and $ref component parameters.
|
|
7
|
+
*/
|
|
8
|
+
type CP = [name: string, loc: 'p' | 'q' | 'h' | 'c', ...rest: (boolean | string)[]];
|
|
9
|
+
type CR = [ref: string];
|
|
10
|
+
export type CompactDefinition = {
|
|
11
|
+
s: string;
|
|
12
|
+
sv?: Record<string, {
|
|
13
|
+
default: string;
|
|
14
|
+
enum?: string[];
|
|
15
|
+
}>;
|
|
16
|
+
v?: string;
|
|
17
|
+
o: [id: string, m: string, p: string, ps?: (CP | CR)[], b?: 0 | 1][];
|
|
18
|
+
cp?: Record<string, CP>;
|
|
19
|
+
pp?: Record<string, (CP | CR)[]>;
|
|
20
|
+
};
|
|
21
|
+
export declare const expand: (c: CompactDefinition) => Record<string, unknown>;
|
|
22
|
+
export {};
|
package/dist/help.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lazy-loaded help system — returns markdown docs for SDK APIs.
|
|
3
|
+
* Each doc is loaded via dynamic import() so only the requested doc affects bundle size.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Get help for a specific API or general SDK help.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* await help() // general SDK docs
|
|
10
|
+
* await help('entity') // entity API docs
|
|
11
|
+
*/
|
|
12
|
+
export declare const help: (apiName?: string) => Promise<string>;
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
+
var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkHHMXS5NCcjs = require('./chunk-HHMXS5NC.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -9,6 +12,9 @@ var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
|
|
|
9
12
|
var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
|
|
10
13
|
|
|
11
14
|
|
|
15
|
+
var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
12
18
|
var _chunkNEVFKRDUcjs = require('./chunk-NEVFKRDU.cjs');
|
|
13
19
|
|
|
14
20
|
|
|
@@ -27,7 +33,7 @@ var _chunk4QCVVDTAcjs = require('./chunk-4QCVVDTA.cjs');
|
|
|
27
33
|
var _chunkZ5TVWG3Icjs = require('./chunk-Z5TVWG3I.cjs');
|
|
28
34
|
|
|
29
35
|
|
|
30
|
-
var
|
|
36
|
+
var _chunkM2SSGV7Kcjs = require('./chunk-M2SSGV7K.cjs');
|
|
31
37
|
|
|
32
38
|
|
|
33
39
|
var _chunkGWKHOJGDcjs = require('./chunk-GWKHOJGD.cjs');
|
|
@@ -51,7 +57,7 @@ var _chunkKP7H52BFcjs = require('./chunk-KP7H52BF.cjs');
|
|
|
51
57
|
var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
|
|
52
58
|
|
|
53
59
|
|
|
54
|
-
var
|
|
60
|
+
var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
|
|
55
61
|
|
|
56
62
|
|
|
57
63
|
var _chunk4W22EIRFcjs = require('./chunk-4W22EIRF.cjs');
|
|
@@ -75,7 +81,7 @@ var _chunkDUHAG5COcjs = require('./chunk-DUHAG5CO.cjs');
|
|
|
75
81
|
var _chunk4ZMLRFDXcjs = require('./chunk-4ZMLRFDX.cjs');
|
|
76
82
|
|
|
77
83
|
|
|
78
|
-
var
|
|
84
|
+
var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
|
|
79
85
|
|
|
80
86
|
|
|
81
87
|
var _chunkEIIIKDOJcjs = require('./chunk-EIIIKDOJ.cjs');
|
|
@@ -99,15 +105,15 @@ var _chunkUBQCDPW6cjs = require('./chunk-UBQCDPW6.cjs');
|
|
|
99
105
|
var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
|
|
100
106
|
|
|
101
107
|
|
|
102
|
-
var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
|
|
103
|
-
|
|
104
|
-
|
|
105
108
|
var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
|
|
106
109
|
|
|
107
110
|
|
|
108
111
|
var _chunkL544VG3Bcjs = require('./chunk-L544VG3B.cjs');
|
|
109
112
|
|
|
110
113
|
|
|
114
|
+
var _chunkCKLEBO4Kcjs = require('./chunk-CKLEBO4K.cjs');
|
|
115
|
+
|
|
116
|
+
|
|
111
117
|
var _chunkZSONBZIFcjs = require('./chunk-ZSONBZIF.cjs');
|
|
112
118
|
|
|
113
119
|
|
|
@@ -123,9 +129,6 @@ var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
|
|
|
123
129
|
var _chunkZL6KDJFTcjs = require('./chunk-ZL6KDJFT.cjs');
|
|
124
130
|
|
|
125
131
|
|
|
126
|
-
var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
|
|
127
|
-
|
|
128
|
-
|
|
129
132
|
var _chunkOXJOO2YFcjs = require('./chunk-OXJOO2YF.cjs');
|
|
130
133
|
|
|
131
134
|
|
|
@@ -152,7 +155,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
152
155
|
|
|
153
156
|
|
|
154
157
|
|
|
155
|
-
var
|
|
158
|
+
var _chunkCD4OX2U6cjs = require('./chunk-CD4OX2U6.cjs');
|
|
156
159
|
|
|
157
160
|
|
|
158
161
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -219,7 +222,7 @@ var resolveClient = (params) => {
|
|
|
219
222
|
}
|
|
220
223
|
if (!entry.instance) {
|
|
221
224
|
const definition = entry.loader();
|
|
222
|
-
entry.instance =
|
|
225
|
+
entry.instance = _chunkCD4OX2U6cjs.createApiClient.call(void 0, {
|
|
223
226
|
definition,
|
|
224
227
|
token: state.token,
|
|
225
228
|
headers: state.globalHeaders,
|
|
@@ -252,7 +255,7 @@ var resetAllClients = (registry) => {
|
|
|
252
255
|
};
|
|
253
256
|
|
|
254
257
|
// src/apis/_registry.ts
|
|
255
|
-
var expandDef = (mod) =>
|
|
258
|
+
var expandDef = (mod) => _chunkCD4OX2U6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
256
259
|
var registerBuiltinApis = (registry) => {
|
|
257
260
|
registerApi({
|
|
258
261
|
registry,
|
|
@@ -299,6 +302,11 @@ var registerBuiltinApis = (registry) => {
|
|
|
299
302
|
name: "blueprintManifest",
|
|
300
303
|
loader: () => expandDef(_chunkL544VG3Bcjs.require_blueprint_manifest_runtime.call(void 0, ))
|
|
301
304
|
});
|
|
305
|
+
registerApi({
|
|
306
|
+
registry,
|
|
307
|
+
name: "calendar",
|
|
308
|
+
loader: () => expandDef(_chunkCKLEBO4Kcjs.require_calendar_runtime.call(void 0, ))
|
|
309
|
+
});
|
|
302
310
|
registerApi({
|
|
303
311
|
registry,
|
|
304
312
|
name: "configurationHub",
|
|
@@ -585,9 +593,9 @@ var createSDK = () => {
|
|
|
585
593
|
const available = [...registry.keys()].join(", ");
|
|
586
594
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
587
595
|
}
|
|
588
|
-
return
|
|
596
|
+
return _chunkCD4OX2U6cjs.createApiHandle.call(void 0, {
|
|
589
597
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
590
|
-
createClient: () =>
|
|
598
|
+
createClient: () => _chunkCD4OX2U6cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
591
599
|
apiName: name
|
|
592
600
|
});
|
|
593
601
|
};
|
|
@@ -635,9 +643,9 @@ var createSDK = () => {
|
|
|
635
643
|
return interceptorUse;
|
|
636
644
|
}
|
|
637
645
|
case "help":
|
|
638
|
-
return (apiName) =>
|
|
646
|
+
return (apiName) => _chunkCD4OX2U6cjs.help.call(void 0, apiName);
|
|
639
647
|
case "openapi":
|
|
640
|
-
return (apiName) =>
|
|
648
|
+
return (apiName) => _chunkCD4OX2U6cjs.openapi.call(void 0, apiName);
|
|
641
649
|
case "then":
|
|
642
650
|
case "catch":
|
|
643
651
|
case "finally":
|
|
@@ -667,4 +675,4 @@ var epilot = createSDK();
|
|
|
667
675
|
|
|
668
676
|
|
|
669
677
|
|
|
670
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
678
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkCD4OX2U6cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkCD4OX2U6cjs.help; exports.openapi = _chunkCD4OX2U6cjs.openapi;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,180 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
14
|
-
import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.js';
|
|
15
|
-
import { C as Client$9 } from './configuration-hub.d-Cqaq2F-W.js';
|
|
16
|
-
import { C as Client$a } from './consent.d-C2PROHhX.js';
|
|
17
|
-
import { C as Client$b } from './customer-portal.d-DyZ2n2dW.js';
|
|
18
|
-
import { C as Client$c } from './dashboard.d-CsGcA74I.js';
|
|
19
|
-
import { C as Client$d } from './data-governance.d-BbZ466j5.js';
|
|
20
|
-
import { C as Client$e } from './deduplication.d-D5GYddVu.js';
|
|
21
|
-
import { C as Client$f } from './design.d-BRre8iLg.js';
|
|
22
|
-
import { C as Client$g } from './document.d-DN37pjdx.js';
|
|
23
|
-
import { C as Client$h } from './email-settings.d-B7Q_xT25.js';
|
|
24
|
-
import { C as Client$i } from './email-template.d-gtQkdaXM.js';
|
|
25
|
-
import { C as Client$j } from './entity.d-BHR9dEon.js';
|
|
26
|
-
import { C as Client$k } from './entity-mapping.d-DKSW3sfy.js';
|
|
27
|
-
import { C as Client$l } from './environments.d-BvqvN-PD.js';
|
|
28
|
-
import { C as Client$m } from './event-catalog.d-ENw6HO-w.js';
|
|
29
|
-
import { C as Client$n } from './file.d-DcTJxjp7.js';
|
|
30
|
-
import { C as Client$o } from './iban.d-BwdiGbxi.js';
|
|
31
|
-
import { C as Client$p } from './integration-toolkit.d-Ry-KC9ow.js';
|
|
32
|
-
import { C as Client$q } from './journey.d-ClXO0xK8.js';
|
|
33
|
-
import { C as Client$r } from './kanban.d-BHnSRCYW.js';
|
|
34
|
-
import { C as Client$s } from './message.d-B5UuSqgw.js';
|
|
35
|
-
import { C as Client$t } from './metering.d-DvtPv7wk.js';
|
|
36
|
-
import { C as Client$u } from './notes.d-BC-scR42.js';
|
|
37
|
-
import { C as Client$v } from './notification.d-BfBL3lga.js';
|
|
38
|
-
import { C as Client$w } from './organization.d-DqwnNxMg.js';
|
|
39
|
-
import { C as Client$x } from './partner-directory.d-BCIjHoGs.js';
|
|
40
|
-
import { C as Client$y } from './permissions.d-l6AT8SYP.js';
|
|
41
|
-
import { C as Client$z } from './pricing.d-BHpMU4KU.js';
|
|
42
|
-
import { C as Client$A } from './pricing-tier.d-Cg0jl6n_.js';
|
|
43
|
-
import { C as Client$B } from './purpose.d-CbIYfTua.js';
|
|
44
|
-
import { C as Client$C } from './query.d-Cmp78IhZ.js';
|
|
45
|
-
import { C as Client$D } from './sandbox.d-BdbOFzDu.js';
|
|
46
|
-
import { C as Client$E } from './sharing.d-sOXq-gtz.js';
|
|
47
|
-
import { C as Client$F } from './submission.d-BamwfhXw.js';
|
|
48
|
-
import { C as Client$G } from './targeting.d-BNmcVsNS.js';
|
|
49
|
-
import { C as Client$H } from './template-variables.d-Ble9TSBa.js';
|
|
50
|
-
import { C as Client$I } from './user.d-D18fe97W.js';
|
|
51
|
-
import { C as Client$J } from './validation-rules.d-Db5c5zTf.js';
|
|
52
|
-
import { C as Client$K } from './webhooks.d-pLHIL_io.js';
|
|
53
|
-
import { C as Client$L } from './workflow.d-CMSKt8oN.js';
|
|
54
|
-
import { C as Client$M } from './workflow-definition.d-DOeb0KVV.js';
|
|
55
|
-
|
|
56
|
-
type SDKClientMap = {
|
|
57
|
-
accessToken: Client;
|
|
58
|
-
address: Client$1;
|
|
59
|
-
addressSuggestions: Client$2;
|
|
60
|
-
aiAgents: Client$3;
|
|
61
|
-
app: Client$4;
|
|
62
|
-
auditLogs: Client$5;
|
|
63
|
-
automation: Client$6;
|
|
64
|
-
billing: Client$7;
|
|
65
|
-
blueprintManifest: Client$8;
|
|
66
|
-
configurationHub: Client$9;
|
|
67
|
-
consent: Client$a;
|
|
68
|
-
customerPortal: Client$b;
|
|
69
|
-
dashboard: Client$c;
|
|
70
|
-
dataGovernance: Client$d;
|
|
71
|
-
deduplication: Client$e;
|
|
72
|
-
design: Client$f;
|
|
73
|
-
document: Client$g;
|
|
74
|
-
emailSettings: Client$h;
|
|
75
|
-
emailTemplate: Client$i;
|
|
76
|
-
entity: Client$j;
|
|
77
|
-
entityMapping: Client$k;
|
|
78
|
-
environments: Client$l;
|
|
79
|
-
eventCatalog: Client$m;
|
|
80
|
-
file: Client$n;
|
|
81
|
-
iban: Client$o;
|
|
82
|
-
integrationToolkit: Client$p;
|
|
83
|
-
journey: Client$q;
|
|
84
|
-
kanban: Client$r;
|
|
85
|
-
message: Client$s;
|
|
86
|
-
metering: Client$t;
|
|
87
|
-
notes: Client$u;
|
|
88
|
-
notification: Client$v;
|
|
89
|
-
organization: Client$w;
|
|
90
|
-
partnerDirectory: Client$x;
|
|
91
|
-
permissions: Client$y;
|
|
92
|
-
pricing: Client$z;
|
|
93
|
-
pricingTier: Client$A;
|
|
94
|
-
purpose: Client$B;
|
|
95
|
-
query: Client$C;
|
|
96
|
-
sandbox: Client$D;
|
|
97
|
-
sharing: Client$E;
|
|
98
|
-
submission: Client$F;
|
|
99
|
-
targeting: Client$G;
|
|
100
|
-
templateVariables: Client$H;
|
|
101
|
-
user: Client$I;
|
|
102
|
-
validationRules: Client$J;
|
|
103
|
-
webhooks: Client$K;
|
|
104
|
-
workflow: Client$L;
|
|
105
|
-
workflowDefinition: Client$M;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
type LargeResponseConfig = {
|
|
109
|
-
/** Enable large response handling. Default: true */
|
|
110
|
-
enabled?: boolean;
|
|
111
|
-
};
|
|
112
|
-
declare const applyLargeResponseInterceptor: (params: {
|
|
113
|
-
client: AxiosInstance;
|
|
114
|
-
config: LargeResponseConfig;
|
|
115
|
-
}) => void;
|
|
116
|
-
|
|
117
|
-
type RetryConfig = {
|
|
118
|
-
/** Maximum number of retries for 429 responses. Set to 0 to disable. Default: 3 */
|
|
119
|
-
maxRetries?: number;
|
|
120
|
-
/** Default delay in ms when Retry-After header is missing. Default: 1000 */
|
|
121
|
-
defaultDelayMs?: number;
|
|
122
|
-
};
|
|
123
|
-
declare const applyRetryInterceptor: (params: {
|
|
124
|
-
client: AxiosInstance;
|
|
125
|
-
config: RetryConfig;
|
|
126
|
-
}) => void;
|
|
127
|
-
|
|
128
|
-
type InterceptorUse = {
|
|
129
|
-
request: (fulfilled: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig | Promise<InternalAxiosRequestConfig>, rejected?: (error: unknown) => unknown) => void;
|
|
130
|
-
response: (fulfilled: (response: AxiosResponse) => AxiosResponse | Promise<AxiosResponse>, rejected?: (error: unknown) => unknown) => void;
|
|
131
|
-
};
|
|
132
|
-
type EpilotSDK = {
|
|
133
|
-
/** Set a Bearer token (static string or async function) for all clients */
|
|
134
|
-
authorize: (token: TokenArg) => void;
|
|
135
|
-
/** Set global default headers applied to all clients (e.g. x-epilot-org-id) */
|
|
136
|
-
headers: (headers: HeadersConfig) => void;
|
|
137
|
-
/** Register global axios interceptors applied to all clients */
|
|
138
|
-
interceptors: InterceptorUse;
|
|
139
|
-
/** Configure retry behavior for 429 Too Many Requests responses */
|
|
140
|
-
retry: (config: RetryConfig) => void;
|
|
141
|
-
/** Configure large response handling for S3-backed payloads */
|
|
142
|
-
largeResponse: (config: LargeResponseConfig) => void;
|
|
143
|
-
/** Get markdown docs. No args = general SDK help, with API name = API-specific docs */
|
|
144
|
-
help: (apiName?: string) => Promise<string>;
|
|
145
|
-
/** Get the full OpenAPI specification for an API (lazy-loaded) */
|
|
146
|
-
openapi: (apiName: string) => Promise<openapi_client_axios.Document>;
|
|
147
|
-
} & {
|
|
148
|
-
[K in keyof SDKClientMap]: ApiHandle<SDKClientMap[K]>;
|
|
149
|
-
} & Record<string, ApiHandle<AxiosInstance>>;
|
|
150
|
-
declare const createSDK: () => EpilotSDK;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* Lazy-loaded help system — returns markdown docs for SDK APIs.
|
|
154
|
-
* Each doc is loaded via dynamic import() so only the requested doc affects bundle size.
|
|
155
|
-
*/
|
|
156
|
-
/**
|
|
157
|
-
* Get help for a specific API or general SDK help.
|
|
158
|
-
*
|
|
159
|
-
* @example
|
|
160
|
-
* await help() // general SDK docs
|
|
161
|
-
* await help('entity') // entity API docs
|
|
162
|
-
*/
|
|
163
|
-
declare const help: (apiName?: string) => Promise<string>;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Lazy-loaded OpenAPI spec — returns the full OpenAPI JSON document for an API.
|
|
167
|
-
* Each spec is loaded via dynamic import() so only the requested spec affects bundle size.
|
|
168
|
-
*/
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Get the full OpenAPI specification for an API.
|
|
172
|
-
*
|
|
173
|
-
* @example
|
|
174
|
-
* await openapi('entity') // full entity OpenAPI spec
|
|
175
|
-
*/
|
|
176
|
-
declare const openapi: (apiName: string) => Promise<Document>;
|
|
177
|
-
|
|
178
|
-
declare const epilot: EpilotSDK;
|
|
179
|
-
|
|
180
|
-
export { ApiHandle, type EpilotSDK, HeadersConfig, type InterceptorUse, type LargeResponseConfig, type RetryConfig, TokenArg, applyLargeResponseInterceptor, applyRetryInterceptor, createSDK, epilot, help, openapi };
|
|
1
|
+
export type { TokenArg } from './authorize';
|
|
2
|
+
export { authorize } from './authorize';
|
|
3
|
+
export { help } from './help';
|
|
4
|
+
export { openapi } from './openapi';
|
|
5
|
+
export type { LargeResponseConfig } from './large-response';
|
|
6
|
+
export { applyLargeResponseInterceptor } from './large-response';
|
|
7
|
+
export type { RetryConfig } from './retry';
|
|
8
|
+
export { applyRetryInterceptor } from './retry';
|
|
9
|
+
export type { EpilotSDK, InterceptorUse } from './sdk';
|
|
10
|
+
export { createSDK } from './sdk';
|
|
11
|
+
export type { ApiHandle, HeadersConfig, Interceptor, OverridesConfig } from './types';
|
|
12
|
+
export declare const epilot: import("./sdk").EpilotSDK;
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_validation_rules_runtime
|
|
3
|
+
} from "./chunk-7IKQIVUS.js";
|
|
1
4
|
import {
|
|
2
5
|
require_webhooks_runtime
|
|
3
6
|
} from "./chunk-A7AAVJGM.js";
|
|
@@ -7,6 +10,9 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
require_workflow_runtime
|
|
9
12
|
} from "./chunk-KQKBSWGI.js";
|
|
13
|
+
import {
|
|
14
|
+
require_query_runtime
|
|
15
|
+
} from "./chunk-MM5JDJFO.js";
|
|
10
16
|
import {
|
|
11
17
|
require_sandbox_runtime
|
|
12
18
|
} from "./chunk-UUVJYJHD.js";
|
|
@@ -26,8 +32,8 @@ import {
|
|
|
26
32
|
require_user_runtime
|
|
27
33
|
} from "./chunk-3XKBB5AE.js";
|
|
28
34
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./chunk-
|
|
35
|
+
require_notes_runtime
|
|
36
|
+
} from "./chunk-RW5JOHG7.js";
|
|
31
37
|
import {
|
|
32
38
|
require_notification_runtime
|
|
33
39
|
} from "./chunk-DZ3P537S.js";
|
|
@@ -50,8 +56,8 @@ import {
|
|
|
50
56
|
require_purpose_runtime
|
|
51
57
|
} from "./chunk-D7Q4JGN7.js";
|
|
52
58
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./chunk-
|
|
59
|
+
require_event_catalog_runtime
|
|
60
|
+
} from "./chunk-TME4YJNP.js";
|
|
55
61
|
import {
|
|
56
62
|
require_file_runtime
|
|
57
63
|
} from "./chunk-E2WMGOM5.js";
|
|
@@ -74,8 +80,8 @@ import {
|
|
|
74
80
|
require_metering_runtime
|
|
75
81
|
} from "./chunk-265TE2OV.js";
|
|
76
82
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./chunk-
|
|
83
|
+
require_deduplication_runtime
|
|
84
|
+
} from "./chunk-X2SC4GW5.js";
|
|
79
85
|
import {
|
|
80
86
|
require_design_runtime
|
|
81
87
|
} from "./chunk-KIWRGUKM.js";
|
|
@@ -97,15 +103,15 @@ import {
|
|
|
97
103
|
import {
|
|
98
104
|
require_environments_runtime
|
|
99
105
|
} from "./chunk-2LEEXRJX.js";
|
|
100
|
-
import {
|
|
101
|
-
require_event_catalog_runtime
|
|
102
|
-
} from "./chunk-TME4YJNP.js";
|
|
103
106
|
import {
|
|
104
107
|
require_billing_runtime
|
|
105
108
|
} from "./chunk-CSK5ZUTS.js";
|
|
106
109
|
import {
|
|
107
110
|
require_blueprint_manifest_runtime
|
|
108
111
|
} from "./chunk-O2YVXGPZ.js";
|
|
112
|
+
import {
|
|
113
|
+
require_calendar_runtime
|
|
114
|
+
} from "./chunk-JNH37UUH.js";
|
|
109
115
|
import {
|
|
110
116
|
require_configuration_hub_runtime
|
|
111
117
|
} from "./chunk-ONOGGR6Q.js";
|
|
@@ -121,9 +127,6 @@ import {
|
|
|
121
127
|
import {
|
|
122
128
|
require_data_governance_runtime
|
|
123
129
|
} from "./chunk-5ED7FB3Q.js";
|
|
124
|
-
import {
|
|
125
|
-
require_deduplication_runtime
|
|
126
|
-
} from "./chunk-X2SC4GW5.js";
|
|
127
130
|
import {
|
|
128
131
|
require_access_token_runtime
|
|
129
132
|
} from "./chunk-XSE4CFSM.js";
|
|
@@ -152,7 +155,7 @@ import {
|
|
|
152
155
|
expand,
|
|
153
156
|
help,
|
|
154
157
|
openapi
|
|
155
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-TSV242UN.js";
|
|
156
159
|
import {
|
|
157
160
|
__require
|
|
158
161
|
} from "./chunk-YPSWSI3M.js";
|
|
@@ -299,6 +302,11 @@ var registerBuiltinApis = (registry) => {
|
|
|
299
302
|
name: "blueprintManifest",
|
|
300
303
|
loader: () => expandDef(require_blueprint_manifest_runtime())
|
|
301
304
|
});
|
|
305
|
+
registerApi({
|
|
306
|
+
registry,
|
|
307
|
+
name: "calendar",
|
|
308
|
+
loader: () => expandDef(require_calendar_runtime())
|
|
309
|
+
});
|
|
302
310
|
registerApi({
|
|
303
311
|
registry,
|
|
304
312
|
name: "configurationHub",
|