@epilot/sdk 2.20.1 → 2.20.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.
Files changed (162) hide show
  1. package/definitions/automation-runtime.json +1 -1
  2. package/definitions/automation.json +344 -12
  3. package/definitions/event-catalog-runtime.json +1 -1
  4. package/definitions/event-catalog.json +431 -12
  5. package/definitions/journey-runtime.json +1 -1
  6. package/definitions/journey.json +80 -0
  7. package/dist/apis/access-token.cjs +6 -6
  8. package/dist/apis/access-token.js +1 -1
  9. package/dist/apis/address-suggestions.cjs +6 -6
  10. package/dist/apis/address-suggestions.js +1 -1
  11. package/dist/apis/address.cjs +6 -6
  12. package/dist/apis/address.js +1 -1
  13. package/dist/apis/ai-agents.cjs +6 -6
  14. package/dist/apis/ai-agents.js +1 -1
  15. package/dist/apis/app.cjs +6 -6
  16. package/dist/apis/app.js +1 -1
  17. package/dist/apis/audit-logs.cjs +6 -6
  18. package/dist/apis/audit-logs.js +1 -1
  19. package/dist/apis/automation.cjs +8 -8
  20. package/dist/apis/automation.d.cts +2 -2
  21. package/dist/apis/automation.d.ts +2 -2
  22. package/dist/apis/automation.js +2 -2
  23. package/dist/apis/billing.cjs +6 -6
  24. package/dist/apis/billing.js +1 -1
  25. package/dist/apis/blueprint-manifest.cjs +6 -6
  26. package/dist/apis/blueprint-manifest.js +1 -1
  27. package/dist/apis/calendar.cjs +6 -6
  28. package/dist/apis/calendar.js +1 -1
  29. package/dist/apis/configuration-hub.cjs +6 -6
  30. package/dist/apis/configuration-hub.js +1 -1
  31. package/dist/apis/consent.cjs +6 -6
  32. package/dist/apis/consent.js +1 -1
  33. package/dist/apis/customer-portal.cjs +6 -6
  34. package/dist/apis/customer-portal.js +1 -1
  35. package/dist/apis/dashboard.cjs +6 -6
  36. package/dist/apis/dashboard.js +1 -1
  37. package/dist/apis/data-governance.cjs +6 -6
  38. package/dist/apis/data-governance.js +1 -1
  39. package/dist/apis/deduplication.cjs +6 -6
  40. package/dist/apis/deduplication.js +1 -1
  41. package/dist/apis/design.cjs +6 -6
  42. package/dist/apis/design.js +1 -1
  43. package/dist/apis/document.cjs +6 -6
  44. package/dist/apis/document.js +1 -1
  45. package/dist/apis/email-settings.cjs +6 -6
  46. package/dist/apis/email-settings.js +1 -1
  47. package/dist/apis/email-template.cjs +6 -6
  48. package/dist/apis/email-template.js +1 -1
  49. package/dist/apis/entity-mapping.cjs +6 -6
  50. package/dist/apis/entity-mapping.js +1 -1
  51. package/dist/apis/entity.cjs +6 -6
  52. package/dist/apis/entity.js +1 -1
  53. package/dist/apis/environments.cjs +6 -6
  54. package/dist/apis/environments.js +1 -1
  55. package/dist/apis/event-catalog.cjs +8 -8
  56. package/dist/apis/event-catalog.d.cts +2 -2
  57. package/dist/apis/event-catalog.d.ts +2 -2
  58. package/dist/apis/event-catalog.js +2 -2
  59. package/dist/apis/file.cjs +6 -6
  60. package/dist/apis/file.js +1 -1
  61. package/dist/apis/iban.cjs +6 -6
  62. package/dist/apis/iban.js +1 -1
  63. package/dist/apis/integration-toolkit.cjs +6 -6
  64. package/dist/apis/integration-toolkit.js +1 -1
  65. package/dist/apis/journey.cjs +8 -8
  66. package/dist/apis/journey.d.cts +2 -2
  67. package/dist/apis/journey.d.ts +2 -2
  68. package/dist/apis/journey.js +2 -2
  69. package/dist/apis/kanban.cjs +6 -6
  70. package/dist/apis/kanban.js +1 -1
  71. package/dist/apis/message.cjs +6 -6
  72. package/dist/apis/message.js +1 -1
  73. package/dist/apis/metering.cjs +6 -6
  74. package/dist/apis/metering.js +1 -1
  75. package/dist/apis/notes.cjs +6 -6
  76. package/dist/apis/notes.js +1 -1
  77. package/dist/apis/notification.cjs +6 -6
  78. package/dist/apis/notification.js +1 -1
  79. package/dist/apis/organization.cjs +6 -6
  80. package/dist/apis/organization.js +1 -1
  81. package/dist/apis/partner-directory.cjs +6 -6
  82. package/dist/apis/partner-directory.js +1 -1
  83. package/dist/apis/permissions.cjs +6 -6
  84. package/dist/apis/permissions.js +1 -1
  85. package/dist/apis/pricing-tier.cjs +6 -6
  86. package/dist/apis/pricing-tier.js +1 -1
  87. package/dist/apis/pricing.cjs +6 -6
  88. package/dist/apis/pricing.js +1 -1
  89. package/dist/apis/purpose.cjs +6 -6
  90. package/dist/apis/purpose.js +1 -1
  91. package/dist/apis/query.cjs +6 -6
  92. package/dist/apis/query.js +1 -1
  93. package/dist/apis/sandbox.cjs +6 -6
  94. package/dist/apis/sandbox.js +1 -1
  95. package/dist/apis/sharing.cjs +6 -6
  96. package/dist/apis/sharing.js +1 -1
  97. package/dist/apis/snapshot.cjs +6 -6
  98. package/dist/apis/snapshot.js +1 -1
  99. package/dist/apis/submission.cjs +6 -6
  100. package/dist/apis/submission.js +1 -1
  101. package/dist/apis/target.cjs +6 -6
  102. package/dist/apis/target.js +1 -1
  103. package/dist/apis/targeting.cjs +6 -6
  104. package/dist/apis/targeting.js +1 -1
  105. package/dist/apis/template-variables.cjs +6 -6
  106. package/dist/apis/template-variables.js +1 -1
  107. package/dist/apis/user.cjs +6 -6
  108. package/dist/apis/user.js +1 -1
  109. package/dist/apis/validation-rules.cjs +6 -6
  110. package/dist/apis/validation-rules.js +1 -1
  111. package/dist/apis/webhooks.cjs +6 -6
  112. package/dist/apis/webhooks.js +1 -1
  113. package/dist/apis/workflow-definition.cjs +6 -6
  114. package/dist/apis/workflow-definition.js +1 -1
  115. package/dist/apis/workflow.cjs +6 -6
  116. package/dist/apis/workflow.js +1 -1
  117. package/dist/automation-23XNDPBF.cjs +7 -0
  118. package/dist/automation-OMESM3H3.js +7 -0
  119. package/dist/{automation-runtime-RM5EOZH2.cjs → automation-runtime-KLCXZKEC.cjs} +2 -2
  120. package/dist/{automation-runtime-ORW5BVCD.js → automation-runtime-Y52HM57N.js} +1 -1
  121. package/dist/{automation.d-BnQFR6k8.d.cts → automation.d-D8JxyoFa.d.cts} +317 -21
  122. package/dist/{automation.d-BnQFR6k8.d.ts → automation.d-D8JxyoFa.d.ts} +317 -21
  123. package/dist/chunk-CIKDOXDL.cjs +14 -0
  124. package/dist/chunk-EEKJGTAS.js +14 -0
  125. package/dist/{chunk-LWW6JFX2.js → chunk-HJU7FD4A.js} +6 -6
  126. package/dist/chunk-MPZICOVZ.cjs +14 -0
  127. package/dist/chunk-QW3ROE6H.js +14 -0
  128. package/dist/chunk-WOUASZJW.cjs +14 -0
  129. package/dist/{chunk-L7RZB4SO.cjs → chunk-WYK7GSET.cjs} +6 -6
  130. package/dist/chunk-XJUB5BYM.js +14 -0
  131. package/dist/event-catalog-4FVQZ65M.cjs +7 -0
  132. package/dist/event-catalog-PEOHXUJO.js +7 -0
  133. package/dist/{event-catalog-runtime-RH7542GL.cjs → event-catalog-runtime-AME244T7.cjs} +2 -2
  134. package/dist/{event-catalog-runtime-JUSLF3UR.js → event-catalog-runtime-Q3MKEDG4.js} +1 -1
  135. package/dist/{event-catalog.d-QIhhewVH.d.cts → event-catalog.d-Bd2wmtlZ.d.cts} +335 -179
  136. package/dist/{event-catalog.d-QIhhewVH.d.ts → event-catalog.d-Bd2wmtlZ.d.ts} +335 -179
  137. package/dist/index.cjs +14 -14
  138. package/dist/index.d.cts +3 -3
  139. package/dist/index.d.ts +3 -3
  140. package/dist/index.js +4 -4
  141. package/dist/journey-2HHH7MLM.js +7 -0
  142. package/dist/journey-4CXKZMKV.cjs +7 -0
  143. package/dist/{journey-runtime-WGTU2NGN.js → journey-runtime-33QDS2WK.js} +1 -1
  144. package/dist/{journey-runtime-JICGEAMK.cjs → journey-runtime-PAJVCFMZ.cjs} +2 -2
  145. package/dist/{journey.d-B0Ju_TOw.d.cts → journey.d-bxl2l7qg.d.cts} +43 -1
  146. package/dist/{journey.d-B0Ju_TOw.d.ts → journey.d-bxl2l7qg.d.ts} +43 -1
  147. package/docs/automation.md +237 -45
  148. package/docs/event-catalog.md +483 -64
  149. package/docs/journey.md +56 -0
  150. package/package.json +1 -1
  151. package/dist/automation-3HMHBP6P.cjs +0 -7
  152. package/dist/automation-GIJB3MOI.js +0 -7
  153. package/dist/chunk-ADSWGLIV.cjs +0 -14
  154. package/dist/chunk-FDS727SL.cjs +0 -14
  155. package/dist/chunk-HP7PHGTJ.js +0 -14
  156. package/dist/chunk-LCE7N4ZL.js +0 -14
  157. package/dist/chunk-M4FO2MI4.js +0 -14
  158. package/dist/chunk-T5KE6FXF.cjs +0 -14
  159. package/dist/event-catalog-6ZSSF5JU.cjs +0 -7
  160. package/dist/event-catalog-RS4LJMY2.js +0 -7
  161. package/dist/journey-JS7SZKNJ.js +0 -7
  162. package/dist/journey-N7HRM2JJ.cjs +0 -7
@@ -982,6 +982,14 @@ declare namespace Components {
982
982
  code: "not_found" | "unsupported_type" | "not_set" | "invalid_value" | "incompatible_consumer";
983
983
  }[];
984
984
  }
985
+ export interface JourneyEnvironmentVariablesResponse {
986
+ items: {
987
+ key: string;
988
+ type: "Map";
989
+ value: EnvironmentMap;
990
+ description?: string;
991
+ }[];
992
+ }
985
993
  export interface JourneyFeatureFlags {
986
994
  featureFlags?: {
987
995
  [name: string]: any;
@@ -1781,6 +1789,17 @@ declare namespace Paths {
1781
1789
  }
1782
1790
  }
1783
1791
  }
1792
+ namespace GetJourneyEnvironmentVariables {
1793
+ namespace Responses {
1794
+ export type $200 = Components.Schemas.JourneyEnvironmentVariablesResponse;
1795
+ export interface $401 {
1796
+ }
1797
+ export interface $403 {
1798
+ }
1799
+ export interface $502 {
1800
+ }
1801
+ }
1802
+ }
1784
1803
  namespace GetJourneyProducts {
1785
1804
  namespace Parameters {
1786
1805
  export type City = string;
@@ -2310,6 +2329,16 @@ interface OperationMethods {
2310
2329
  data?: any,
2311
2330
  config?: AxiosRequestConfig
2312
2331
  ): OperationResponse<Paths.GetJourneyEnvironment.Responses.$200>
2332
+ /**
2333
+ * getJourneyEnvironmentVariables - getJourneyEnvironmentVariables
2334
+ *
2335
+ * List the organization's environment variables that a journey block may use as an options source. Only Map variables that currently hold a valid value are returned. Intended for the journey builder's authoring UI; requires a journey authoring token, not an environments token.
2336
+ */
2337
+ 'getJourneyEnvironmentVariables'(
2338
+ parameters?: Parameters<UnknownParamsObject> | null,
2339
+ data?: any,
2340
+ config?: AxiosRequestConfig
2341
+ ): OperationResponse<Paths.GetJourneyEnvironmentVariables.Responses.$200>
2313
2342
  /**
2314
2343
  * getJourneyProducts - getJourneyProducts
2315
2344
  *
@@ -2500,6 +2529,18 @@ interface PathsDictionary {
2500
2529
  config?: AxiosRequestConfig
2501
2530
  ): OperationResponse<Paths.GetJourneyEnvironment.Responses.$200>
2502
2531
  }
2532
+ ['/v1/journey/environment-variables']: {
2533
+ /**
2534
+ * getJourneyEnvironmentVariables - getJourneyEnvironmentVariables
2535
+ *
2536
+ * List the organization's environment variables that a journey block may use as an options source. Only Map variables that currently hold a valid value are returned. Intended for the journey builder's authoring UI; requires a journey authoring token, not an environments token.
2537
+ */
2538
+ 'get'(
2539
+ parameters?: Parameters<UnknownParamsObject> | null,
2540
+ data?: any,
2541
+ config?: AxiosRequestConfig
2542
+ ): OperationResponse<Paths.GetJourneyEnvironmentVariables.Responses.$200>
2543
+ }
2503
2544
  ['/v1/journey/products/{id}']: {
2504
2545
  /**
2505
2546
  * getJourneyProducts - getJourneyProducts
@@ -2675,6 +2716,7 @@ type JourneyAuditInfo = Components.Schemas.JourneyAuditInfo;
2675
2716
  type JourneyCreationRequest = Components.Schemas.JourneyCreationRequest;
2676
2717
  type JourneyCreationRequestV2 = Components.Schemas.JourneyCreationRequestV2;
2677
2718
  type JourneyEnvironmentResponse = Components.Schemas.JourneyEnvironmentResponse;
2719
+ type JourneyEnvironmentVariablesResponse = Components.Schemas.JourneyEnvironmentVariablesResponse;
2678
2720
  type JourneyFeatureFlags = Components.Schemas.JourneyFeatureFlags;
2679
2721
  type JourneyProductsResponse = Components.Schemas.JourneyProductsResponse;
2680
2722
  type JourneyResponse = Components.Schemas.JourneyResponse;
@@ -2688,4 +2730,4 @@ type SearchJourneysResponse = Components.Schemas.SearchJourneysResponse;
2688
2730
  type TemplateSettings = Components.Schemas.TemplateSettings;
2689
2731
  type ValidationRuleRef = Components.Schemas.ValidationRuleRef;
2690
2732
 
2691
- export { type ButtonOption as B, type Client as C, type EnvironmentMap as E, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type EnvironmentMapEntry as c, type GenerateDocumentResponse as d, type GetJourneysResponse as e, GetSettingsForJourney as f, type JourneyActivationGuarantee as g, type JourneyAuditInfo as h, type JourneyCreationRequest as i, type JourneyCreationRequestV2 as j, type JourneyEnvironmentResponse as k, type JourneyFeatureFlags as l, type JourneyProductsResponse as m, type JourneyResponse as n, type JourneyValidationError as o, type JourneyValidationResponse as p, type PatchUpdateJourneyRequest as q, type SearchJourneysQueryRequest as r, type SearchJourneysResponse as s };
2733
+ export { type ButtonOption as B, type Client as C, type EnvironmentMap as E, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type EnvironmentMapEntry as c, type GenerateDocumentResponse as d, type GetJourneysResponse as e, GetSettingsForJourney as f, type JourneyActivationGuarantee as g, type JourneyAuditInfo as h, type JourneyCreationRequest as i, type JourneyCreationRequestV2 as j, type JourneyEnvironmentResponse as k, type JourneyEnvironmentVariablesResponse as l, type JourneyFeatureFlags as m, type JourneyProductsResponse as n, type JourneyResponse as o, type JourneyValidationError as p, type JourneyValidationResponse as q, type PatchUpdateJourneyRequest as r, type SearchJourneysQueryRequest as s, type SearchJourneysResponse as t };
@@ -982,6 +982,14 @@ declare namespace Components {
982
982
  code: "not_found" | "unsupported_type" | "not_set" | "invalid_value" | "incompatible_consumer";
983
983
  }[];
984
984
  }
985
+ export interface JourneyEnvironmentVariablesResponse {
986
+ items: {
987
+ key: string;
988
+ type: "Map";
989
+ value: EnvironmentMap;
990
+ description?: string;
991
+ }[];
992
+ }
985
993
  export interface JourneyFeatureFlags {
986
994
  featureFlags?: {
987
995
  [name: string]: any;
@@ -1781,6 +1789,17 @@ declare namespace Paths {
1781
1789
  }
1782
1790
  }
1783
1791
  }
1792
+ namespace GetJourneyEnvironmentVariables {
1793
+ namespace Responses {
1794
+ export type $200 = Components.Schemas.JourneyEnvironmentVariablesResponse;
1795
+ export interface $401 {
1796
+ }
1797
+ export interface $403 {
1798
+ }
1799
+ export interface $502 {
1800
+ }
1801
+ }
1802
+ }
1784
1803
  namespace GetJourneyProducts {
1785
1804
  namespace Parameters {
1786
1805
  export type City = string;
@@ -2310,6 +2329,16 @@ interface OperationMethods {
2310
2329
  data?: any,
2311
2330
  config?: AxiosRequestConfig
2312
2331
  ): OperationResponse<Paths.GetJourneyEnvironment.Responses.$200>
2332
+ /**
2333
+ * getJourneyEnvironmentVariables - getJourneyEnvironmentVariables
2334
+ *
2335
+ * List the organization's environment variables that a journey block may use as an options source. Only Map variables that currently hold a valid value are returned. Intended for the journey builder's authoring UI; requires a journey authoring token, not an environments token.
2336
+ */
2337
+ 'getJourneyEnvironmentVariables'(
2338
+ parameters?: Parameters<UnknownParamsObject> | null,
2339
+ data?: any,
2340
+ config?: AxiosRequestConfig
2341
+ ): OperationResponse<Paths.GetJourneyEnvironmentVariables.Responses.$200>
2313
2342
  /**
2314
2343
  * getJourneyProducts - getJourneyProducts
2315
2344
  *
@@ -2500,6 +2529,18 @@ interface PathsDictionary {
2500
2529
  config?: AxiosRequestConfig
2501
2530
  ): OperationResponse<Paths.GetJourneyEnvironment.Responses.$200>
2502
2531
  }
2532
+ ['/v1/journey/environment-variables']: {
2533
+ /**
2534
+ * getJourneyEnvironmentVariables - getJourneyEnvironmentVariables
2535
+ *
2536
+ * List the organization's environment variables that a journey block may use as an options source. Only Map variables that currently hold a valid value are returned. Intended for the journey builder's authoring UI; requires a journey authoring token, not an environments token.
2537
+ */
2538
+ 'get'(
2539
+ parameters?: Parameters<UnknownParamsObject> | null,
2540
+ data?: any,
2541
+ config?: AxiosRequestConfig
2542
+ ): OperationResponse<Paths.GetJourneyEnvironmentVariables.Responses.$200>
2543
+ }
2503
2544
  ['/v1/journey/products/{id}']: {
2504
2545
  /**
2505
2546
  * getJourneyProducts - getJourneyProducts
@@ -2675,6 +2716,7 @@ type JourneyAuditInfo = Components.Schemas.JourneyAuditInfo;
2675
2716
  type JourneyCreationRequest = Components.Schemas.JourneyCreationRequest;
2676
2717
  type JourneyCreationRequestV2 = Components.Schemas.JourneyCreationRequestV2;
2677
2718
  type JourneyEnvironmentResponse = Components.Schemas.JourneyEnvironmentResponse;
2719
+ type JourneyEnvironmentVariablesResponse = Components.Schemas.JourneyEnvironmentVariablesResponse;
2678
2720
  type JourneyFeatureFlags = Components.Schemas.JourneyFeatureFlags;
2679
2721
  type JourneyProductsResponse = Components.Schemas.JourneyProductsResponse;
2680
2722
  type JourneyResponse = Components.Schemas.JourneyResponse;
@@ -2688,4 +2730,4 @@ type SearchJourneysResponse = Components.Schemas.SearchJourneysResponse;
2688
2730
  type TemplateSettings = Components.Schemas.TemplateSettings;
2689
2731
  type ValidationRuleRef = Components.Schemas.ValidationRuleRef;
2690
2732
 
2691
- export { type ButtonOption as B, type Client as C, type EnvironmentMap as E, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type EnvironmentMapEntry as c, type GenerateDocumentResponse as d, type GetJourneysResponse as e, GetSettingsForJourney as f, type JourneyActivationGuarantee as g, type JourneyAuditInfo as h, type JourneyCreationRequest as i, type JourneyCreationRequestV2 as j, type JourneyEnvironmentResponse as k, type JourneyFeatureFlags as l, type JourneyProductsResponse as m, type JourneyResponse as n, type JourneyValidationError as o, type JourneyValidationResponse as p, type PatchUpdateJourneyRequest as q, type SearchJourneysQueryRequest as r, type SearchJourneysResponse as s };
2733
+ export { type ButtonOption as B, type Client as C, type EnvironmentMap as E, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, Paths as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, Components as a, type PathsDictionary as b, type EnvironmentMapEntry as c, type GenerateDocumentResponse as d, type GetJourneysResponse as e, GetSettingsForJourney as f, type JourneyActivationGuarantee as g, type JourneyAuditInfo as h, type JourneyCreationRequest as i, type JourneyCreationRequestV2 as j, type JourneyEnvironmentResponse as k, type JourneyEnvironmentVariablesResponse as l, type JourneyFeatureFlags as m, type JourneyProductsResponse as n, type JourneyResponse as o, type JourneyValidationError as p, type JourneyValidationResponse as q, type PatchUpdateJourneyRequest as r, type SearchJourneysQueryRequest as s, type SearchJourneysResponse as t };