@epilot/sdk 2.20.47 → 2.20.48
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/event-catalog.json +16 -0
- package/definitions/integration-toolkit.json +2 -1
- 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.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/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +6 -6
- package/dist/apis/chat.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.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +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/identity.cjs +6 -6
- package/dist/apis/identity.js +1 -1
- package/dist/apis/integration-toolkit.cjs +10 -6
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +5 -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.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 +6 -6
- package/dist/apis/pricing.js +1 -1
- 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/snapshot.cjs +6 -6
- package/dist/apis/snapshot.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/{chunk-5NZXNIBE.cjs → chunk-KP2RRRO5.cjs} +2 -2
- package/dist/{chunk-KHQACGLY.js → chunk-UORN27QE.js} +2 -2
- package/dist/event-catalog-R4ZGZQVY.js +7 -0
- package/dist/event-catalog-YYCD2DBK.cjs +7 -0
- package/dist/{event-catalog.d-BQqG_LGF.d.cts → event-catalog.d-BrAxYS9D.d.cts} +21 -0
- package/dist/{event-catalog.d-BQqG_LGF.d.ts → event-catalog.d-BrAxYS9D.d.ts} +21 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{integration-toolkit-GGXTCIBG.cjs → integration-toolkit-CG6SFVKC.cjs} +1 -1
- package/dist/{integration-toolkit-XPSFIGHA.js → integration-toolkit-TLIEE3DY.js} +1 -1
- package/dist/{integration-toolkit.d-93TYFohH.d.cts → integration-toolkit.d-CLlaZx6b.d.cts} +1 -1
- package/dist/{integration-toolkit.d-93TYFohH.d.ts → integration-toolkit.d-CLlaZx6b.d.ts} +1 -1
- package/docs/event-catalog.md +41 -12
- package/docs/integration-toolkit.md +1 -1
- package/package.json +1 -1
- package/dist/event-catalog-5HHAS7NI.js +0 -7
- package/dist/event-catalog-SAH4ZEOO.cjs +0 -7
|
@@ -394,6 +394,12 @@ declare namespace Components {
|
|
|
394
394
|
* active
|
|
395
395
|
*/
|
|
396
396
|
event_status?: "active" | "deprecated" | "draft" | "disabled";
|
|
397
|
+
/**
|
|
398
|
+
* When a custom event was deprecated. Only present on deprecated custom events.
|
|
399
|
+
* example:
|
|
400
|
+
* 2026-09-30T12:00:00.000Z
|
|
401
|
+
*/
|
|
402
|
+
deprecated_at?: string; // date-time
|
|
397
403
|
/**
|
|
398
404
|
* Tags associated with the event for categorization and filtering
|
|
399
405
|
*
|
|
@@ -616,6 +622,12 @@ declare namespace Components {
|
|
|
616
622
|
* active
|
|
617
623
|
*/
|
|
618
624
|
event_status?: "active" | "deprecated" | "draft" | "disabled";
|
|
625
|
+
/**
|
|
626
|
+
* When a custom event was deprecated. Only present on deprecated custom events.
|
|
627
|
+
* example:
|
|
628
|
+
* 2026-09-30T12:00:00.000Z
|
|
629
|
+
*/
|
|
630
|
+
deprecated_at?: string; // date-time
|
|
619
631
|
/**
|
|
620
632
|
* Tags associated with the event for categorization and filtering
|
|
621
633
|
*
|
|
@@ -951,6 +963,15 @@ declare namespace Components {
|
|
|
951
963
|
export interface EventMapping {
|
|
952
964
|
mode: "guided" | "jsonata";
|
|
953
965
|
jsonata?: string;
|
|
966
|
+
/**
|
|
967
|
+
* How the mapped fields relate to the entity data. `extend` emits the mapped fields followed by
|
|
968
|
+
* every graph node; `replace` emits only the mapped fields, so the graph is hydrated to compute
|
|
969
|
+
* them but never travels with the event. A replace-mode event can only gain fields in later
|
|
970
|
+
* versions, because remapping an existing field needs the entity data in the payload to
|
|
971
|
+
* rebuild its previous value.
|
|
972
|
+
*
|
|
973
|
+
*/
|
|
974
|
+
payload?: "extend" | "replace";
|
|
954
975
|
}
|
|
955
976
|
/**
|
|
956
977
|
* A lightweight event summary returned by the v2 history endpoint.
|
|
@@ -394,6 +394,12 @@ declare namespace Components {
|
|
|
394
394
|
* active
|
|
395
395
|
*/
|
|
396
396
|
event_status?: "active" | "deprecated" | "draft" | "disabled";
|
|
397
|
+
/**
|
|
398
|
+
* When a custom event was deprecated. Only present on deprecated custom events.
|
|
399
|
+
* example:
|
|
400
|
+
* 2026-09-30T12:00:00.000Z
|
|
401
|
+
*/
|
|
402
|
+
deprecated_at?: string; // date-time
|
|
397
403
|
/**
|
|
398
404
|
* Tags associated with the event for categorization and filtering
|
|
399
405
|
*
|
|
@@ -616,6 +622,12 @@ declare namespace Components {
|
|
|
616
622
|
* active
|
|
617
623
|
*/
|
|
618
624
|
event_status?: "active" | "deprecated" | "draft" | "disabled";
|
|
625
|
+
/**
|
|
626
|
+
* When a custom event was deprecated. Only present on deprecated custom events.
|
|
627
|
+
* example:
|
|
628
|
+
* 2026-09-30T12:00:00.000Z
|
|
629
|
+
*/
|
|
630
|
+
deprecated_at?: string; // date-time
|
|
619
631
|
/**
|
|
620
632
|
* Tags associated with the event for categorization and filtering
|
|
621
633
|
*
|
|
@@ -951,6 +963,15 @@ declare namespace Components {
|
|
|
951
963
|
export interface EventMapping {
|
|
952
964
|
mode: "guided" | "jsonata";
|
|
953
965
|
jsonata?: string;
|
|
966
|
+
/**
|
|
967
|
+
* How the mapped fields relate to the entity data. `extend` emits the mapped fields followed by
|
|
968
|
+
* every graph node; `replace` emits only the mapped fields, so the graph is hydrated to compute
|
|
969
|
+
* them but never travels with the event. A replace-mode event can only gain fields in later
|
|
970
|
+
* versions, because remapping an existing field needs the entity data in the payload to
|
|
971
|
+
* rebuild its previous value.
|
|
972
|
+
*
|
|
973
|
+
*/
|
|
974
|
+
payload?: "extend" | "replace";
|
|
954
975
|
}
|
|
955
976
|
/**
|
|
956
977
|
* A lightweight event summary returned by the v2 history endpoint.
|
package/dist/index.cjs
CHANGED
|
@@ -164,7 +164,7 @@ var _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
|
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
var
|
|
167
|
+
var _chunkKP2RRRO5cjs = require('./chunk-KP2RRRO5.cjs');
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -231,7 +231,7 @@ var resolveClient = (params) => {
|
|
|
231
231
|
}
|
|
232
232
|
if (!entry.instance) {
|
|
233
233
|
const definition = entry.loader();
|
|
234
|
-
entry.instance =
|
|
234
|
+
entry.instance = _chunkKP2RRRO5cjs.createApiClient.call(void 0, {
|
|
235
235
|
definition,
|
|
236
236
|
token: state.token,
|
|
237
237
|
headers: state.globalHeaders,
|
|
@@ -264,7 +264,7 @@ var resetAllClients = (registry) => {
|
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
// src/apis/_registry.ts
|
|
267
|
-
var expandDef = (mod) =>
|
|
267
|
+
var expandDef = (mod) => _chunkKP2RRRO5cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
268
268
|
var registerBuiltinApis = (registry) => {
|
|
269
269
|
registerApi({
|
|
270
270
|
registry,
|
|
@@ -617,9 +617,9 @@ var createSDK = () => {
|
|
|
617
617
|
const available = [...registry.keys()].join(", ");
|
|
618
618
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
619
619
|
}
|
|
620
|
-
return
|
|
620
|
+
return _chunkKP2RRRO5cjs.createApiHandle.call(void 0, {
|
|
621
621
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
622
|
-
createClient: () =>
|
|
622
|
+
createClient: () => _chunkKP2RRRO5cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
623
623
|
apiName: name
|
|
624
624
|
});
|
|
625
625
|
};
|
|
@@ -667,9 +667,9 @@ var createSDK = () => {
|
|
|
667
667
|
return interceptorUse;
|
|
668
668
|
}
|
|
669
669
|
case "help":
|
|
670
|
-
return (apiName) =>
|
|
670
|
+
return (apiName) => _chunkKP2RRRO5cjs.help.call(void 0, apiName);
|
|
671
671
|
case "openapi":
|
|
672
|
-
return (apiName) =>
|
|
672
|
+
return (apiName) => _chunkKP2RRRO5cjs.openapi.call(void 0, apiName);
|
|
673
673
|
case "then":
|
|
674
674
|
case "catch":
|
|
675
675
|
case "finally":
|
|
@@ -699,4 +699,4 @@ var epilot = createSDK();
|
|
|
699
699
|
|
|
700
700
|
|
|
701
701
|
|
|
702
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
702
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkKP2RRRO5cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkKP2RRRO5cjs.help; exports.openapi = _chunkKP2RRRO5cjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -27,11 +27,11 @@ import { C as Client$k } from './email-template.d-gtQkdaXM.cjs';
|
|
|
27
27
|
import { C as Client$l } from './entity.d-BwsBk0Po.cjs';
|
|
28
28
|
import { C as Client$m } from './entity-mapping.d-8MtWa2_L.cjs';
|
|
29
29
|
import { C as Client$n } from './environments.d-qL1urwAq.cjs';
|
|
30
|
-
import { C as Client$o } from './event-catalog.d-
|
|
30
|
+
import { C as Client$o } from './event-catalog.d-BrAxYS9D.cjs';
|
|
31
31
|
import { C as Client$p } from './file.d-DELNV63w.cjs';
|
|
32
32
|
import { C as Client$q } from './iban.d-BwdiGbxi.cjs';
|
|
33
33
|
import { C as Client$r } from './identity.d-BBL0NI_O.cjs';
|
|
34
|
-
import { C as Client$s } from './integration-toolkit.d-
|
|
34
|
+
import { C as Client$s } from './integration-toolkit.d-CLlaZx6b.cjs';
|
|
35
35
|
import { C as Client$t } from './journey.d-Dj93v-Lw.cjs';
|
|
36
36
|
import { C as Client$u } from './kanban.d-BHnSRCYW.cjs';
|
|
37
37
|
import { C as Client$v } from './message.d-DwnqO-Us.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -27,11 +27,11 @@ import { C as Client$k } from './email-template.d-gtQkdaXM.js';
|
|
|
27
27
|
import { C as Client$l } from './entity.d-BwsBk0Po.js';
|
|
28
28
|
import { C as Client$m } from './entity-mapping.d-8MtWa2_L.js';
|
|
29
29
|
import { C as Client$n } from './environments.d-qL1urwAq.js';
|
|
30
|
-
import { C as Client$o } from './event-catalog.d-
|
|
30
|
+
import { C as Client$o } from './event-catalog.d-BrAxYS9D.js';
|
|
31
31
|
import { C as Client$p } from './file.d-DELNV63w.js';
|
|
32
32
|
import { C as Client$q } from './iban.d-BwdiGbxi.js';
|
|
33
33
|
import { C as Client$r } from './identity.d-BBL0NI_O.js';
|
|
34
|
-
import { C as Client$s } from './integration-toolkit.d-
|
|
34
|
+
import { C as Client$s } from './integration-toolkit.d-CLlaZx6b.js';
|
|
35
35
|
import { C as Client$t } from './journey.d-Dj93v-Lw.js';
|
|
36
36
|
import { C as Client$u } from './kanban.d-BHnSRCYW.js';
|
|
37
37
|
import { C as Client$v } from './message.d-DwnqO-Us.js';
|