@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.
Files changed (133) hide show
  1. package/definitions/event-catalog.json +16 -0
  2. package/definitions/integration-toolkit.json +2 -1
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/chat.cjs +6 -6
  24. package/dist/apis/chat.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.d.cts +2 -2
  53. package/dist/apis/event-catalog.d.ts +2 -2
  54. package/dist/apis/event-catalog.js +1 -1
  55. package/dist/apis/file.cjs +6 -6
  56. package/dist/apis/file.js +1 -1
  57. package/dist/apis/iban.cjs +6 -6
  58. package/dist/apis/iban.js +1 -1
  59. package/dist/apis/identity.cjs +6 -6
  60. package/dist/apis/identity.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +10 -6
  62. package/dist/apis/integration-toolkit.d.cts +2 -2
  63. package/dist/apis/integration-toolkit.d.ts +2 -2
  64. package/dist/apis/integration-toolkit.js +5 -1
  65. package/dist/apis/journey.cjs +6 -6
  66. package/dist/apis/journey.js +1 -1
  67. package/dist/apis/kanban.cjs +6 -6
  68. package/dist/apis/kanban.js +1 -1
  69. package/dist/apis/message.cjs +6 -6
  70. package/dist/apis/message.js +1 -1
  71. package/dist/apis/metering.cjs +6 -6
  72. package/dist/apis/metering.js +1 -1
  73. package/dist/apis/notes.cjs +6 -6
  74. package/dist/apis/notes.js +1 -1
  75. package/dist/apis/notification.cjs +6 -6
  76. package/dist/apis/notification.js +1 -1
  77. package/dist/apis/organization.cjs +6 -6
  78. package/dist/apis/organization.js +1 -1
  79. package/dist/apis/partner-directory.cjs +6 -6
  80. package/dist/apis/partner-directory.js +1 -1
  81. package/dist/apis/permissions.cjs +6 -6
  82. package/dist/apis/permissions.js +1 -1
  83. package/dist/apis/pricing-tier.cjs +6 -6
  84. package/dist/apis/pricing-tier.js +1 -1
  85. package/dist/apis/pricing.cjs +6 -6
  86. package/dist/apis/pricing.js +1 -1
  87. package/dist/apis/purpose.cjs +6 -6
  88. package/dist/apis/purpose.js +1 -1
  89. package/dist/apis/query.cjs +6 -6
  90. package/dist/apis/query.js +1 -1
  91. package/dist/apis/sandbox.cjs +6 -6
  92. package/dist/apis/sandbox.js +1 -1
  93. package/dist/apis/sharing.cjs +6 -6
  94. package/dist/apis/sharing.js +1 -1
  95. package/dist/apis/snapshot.cjs +6 -6
  96. package/dist/apis/snapshot.js +1 -1
  97. package/dist/apis/submission.cjs +6 -6
  98. package/dist/apis/submission.js +1 -1
  99. package/dist/apis/target.cjs +6 -6
  100. package/dist/apis/target.js +1 -1
  101. package/dist/apis/targeting.cjs +6 -6
  102. package/dist/apis/targeting.js +1 -1
  103. package/dist/apis/template-variables.cjs +6 -6
  104. package/dist/apis/template-variables.js +1 -1
  105. package/dist/apis/user.cjs +6 -6
  106. package/dist/apis/user.js +1 -1
  107. package/dist/apis/validation-rules.cjs +6 -6
  108. package/dist/apis/validation-rules.js +1 -1
  109. package/dist/apis/webhooks.cjs +6 -6
  110. package/dist/apis/webhooks.js +1 -1
  111. package/dist/apis/workflow-definition.cjs +6 -6
  112. package/dist/apis/workflow-definition.js +1 -1
  113. package/dist/apis/workflow.cjs +6 -6
  114. package/dist/apis/workflow.js +1 -1
  115. package/dist/{chunk-5NZXNIBE.cjs → chunk-KP2RRRO5.cjs} +2 -2
  116. package/dist/{chunk-KHQACGLY.js → chunk-UORN27QE.js} +2 -2
  117. package/dist/event-catalog-R4ZGZQVY.js +7 -0
  118. package/dist/event-catalog-YYCD2DBK.cjs +7 -0
  119. package/dist/{event-catalog.d-BQqG_LGF.d.cts → event-catalog.d-BrAxYS9D.d.cts} +21 -0
  120. package/dist/{event-catalog.d-BQqG_LGF.d.ts → event-catalog.d-BrAxYS9D.d.ts} +21 -0
  121. package/dist/index.cjs +8 -8
  122. package/dist/index.d.cts +2 -2
  123. package/dist/index.d.ts +2 -2
  124. package/dist/index.js +1 -1
  125. package/dist/{integration-toolkit-GGXTCIBG.cjs → integration-toolkit-CG6SFVKC.cjs} +1 -1
  126. package/dist/{integration-toolkit-XPSFIGHA.js → integration-toolkit-TLIEE3DY.js} +1 -1
  127. package/dist/{integration-toolkit.d-93TYFohH.d.cts → integration-toolkit.d-CLlaZx6b.d.cts} +1 -1
  128. package/dist/{integration-toolkit.d-93TYFohH.d.ts → integration-toolkit.d-CLlaZx6b.d.ts} +1 -1
  129. package/docs/event-catalog.md +41 -12
  130. package/docs/integration-toolkit.md +1 -1
  131. package/package.json +1 -1
  132. package/dist/event-catalog-5HHAS7NI.js +0 -7
  133. 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 _chunk5NZXNIBEcjs = require('./chunk-5NZXNIBE.cjs');
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 = _chunk5NZXNIBEcjs.createApiClient.call(void 0, {
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) => _chunk5NZXNIBEcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( 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 _chunk5NZXNIBEcjs.createApiHandle.call(void 0, {
620
+ return _chunkKP2RRRO5cjs.createApiHandle.call(void 0, {
621
621
  resolveClient: () => resolveClient({ registry, name, state }),
622
- createClient: () => _chunk5NZXNIBEcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
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) => _chunk5NZXNIBEcjs.help.call(void 0, apiName);
670
+ return (apiName) => _chunkKP2RRRO5cjs.help.call(void 0, apiName);
671
671
  case "openapi":
672
- return (apiName) => _chunk5NZXNIBEcjs.openapi.call(void 0, 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 = _chunk5NZXNIBEcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk5NZXNIBEcjs.help; exports.openapi = _chunk5NZXNIBEcjs.openapi;
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-BQqG_LGF.cjs';
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-93TYFohH.cjs';
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-BQqG_LGF.js';
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-93TYFohH.js';
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';
package/dist/index.js CHANGED
@@ -164,7 +164,7 @@ import {
164
164
  expand,
165
165
  help,
166
166
  openapi
167
- } from "./chunk-KHQACGLY.js";
167
+ } from "./chunk-UORN27QE.js";
168
168
  import {
169
169
  __require
170
170
  } from "./chunk-YPSWSI3M.js";