@epilot/sdk 2.7.1 → 2.7.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 (225) hide show
  1. package/definitions/app.json +101 -8
  2. package/definitions/configuration-hub-runtime.json +1 -1
  3. package/definitions/configuration-hub.json +623 -0
  4. package/definitions/customer-portal.json +72 -58
  5. package/definitions/design-runtime.json +1 -1
  6. package/definitions/design.json +52 -12
  7. package/definitions/file-runtime.json +1 -1
  8. package/definitions/file.json +88 -4
  9. package/definitions/journey-runtime.json +1 -1
  10. package/definitions/journey.json +21 -1
  11. package/definitions/notes-runtime.json +1 -1
  12. package/definitions/notes.json +123 -1
  13. package/definitions/pricing.json +149 -404
  14. package/dist/apis/access-token.cjs +6 -6
  15. package/dist/apis/access-token.js +1 -1
  16. package/dist/apis/address-suggestions.cjs +6 -6
  17. package/dist/apis/address-suggestions.js +1 -1
  18. package/dist/apis/address.cjs +6 -6
  19. package/dist/apis/address.js +1 -1
  20. package/dist/apis/ai-agents.cjs +6 -6
  21. package/dist/apis/ai-agents.js +1 -1
  22. package/dist/apis/app.cjs +6 -6
  23. package/dist/apis/app.d.cts +2 -2
  24. package/dist/apis/app.d.ts +2 -2
  25. package/dist/apis/app.js +1 -1
  26. package/dist/apis/audit-logs.cjs +6 -6
  27. package/dist/apis/audit-logs.js +1 -1
  28. package/dist/apis/automation.cjs +6 -6
  29. package/dist/apis/automation.js +1 -1
  30. package/dist/apis/billing.cjs +6 -6
  31. package/dist/apis/billing.js +1 -1
  32. package/dist/apis/blueprint-manifest.cjs +6 -6
  33. package/dist/apis/blueprint-manifest.js +1 -1
  34. package/dist/apis/calendar.cjs +6 -6
  35. package/dist/apis/calendar.js +1 -1
  36. package/dist/apis/configuration-hub.cjs +8 -8
  37. package/dist/apis/configuration-hub.d.cts +2 -2
  38. package/dist/apis/configuration-hub.d.ts +2 -2
  39. package/dist/apis/configuration-hub.js +2 -2
  40. package/dist/apis/consent.cjs +6 -6
  41. package/dist/apis/consent.js +1 -1
  42. package/dist/apis/customer-portal.cjs +6 -6
  43. package/dist/apis/customer-portal.d.cts +2 -2
  44. package/dist/apis/customer-portal.d.ts +2 -2
  45. package/dist/apis/customer-portal.js +1 -1
  46. package/dist/apis/dashboard.cjs +6 -6
  47. package/dist/apis/dashboard.js +1 -1
  48. package/dist/apis/data-governance.cjs +6 -6
  49. package/dist/apis/data-governance.js +1 -1
  50. package/dist/apis/deduplication.cjs +6 -6
  51. package/dist/apis/deduplication.js +1 -1
  52. package/dist/apis/design.cjs +8 -8
  53. package/dist/apis/design.d.cts +2 -2
  54. package/dist/apis/design.d.ts +2 -2
  55. package/dist/apis/design.js +2 -2
  56. package/dist/apis/document.cjs +6 -6
  57. package/dist/apis/document.js +1 -1
  58. package/dist/apis/email-settings.cjs +6 -6
  59. package/dist/apis/email-settings.js +1 -1
  60. package/dist/apis/email-template.cjs +6 -6
  61. package/dist/apis/email-template.js +1 -1
  62. package/dist/apis/entity-mapping.cjs +6 -6
  63. package/dist/apis/entity-mapping.js +1 -1
  64. package/dist/apis/entity.cjs +6 -6
  65. package/dist/apis/entity.js +1 -1
  66. package/dist/apis/environments.cjs +6 -6
  67. package/dist/apis/environments.js +1 -1
  68. package/dist/apis/event-catalog.cjs +6 -6
  69. package/dist/apis/event-catalog.js +1 -1
  70. package/dist/apis/file.cjs +8 -8
  71. package/dist/apis/file.d.cts +2 -2
  72. package/dist/apis/file.d.ts +2 -2
  73. package/dist/apis/file.js +2 -2
  74. package/dist/apis/iban.cjs +6 -6
  75. package/dist/apis/iban.js +1 -1
  76. package/dist/apis/integration-toolkit.cjs +6 -6
  77. package/dist/apis/integration-toolkit.js +1 -1
  78. package/dist/apis/journey.cjs +8 -8
  79. package/dist/apis/journey.d.cts +2 -2
  80. package/dist/apis/journey.d.ts +2 -2
  81. package/dist/apis/journey.js +2 -2
  82. package/dist/apis/kanban.cjs +6 -6
  83. package/dist/apis/kanban.js +1 -1
  84. package/dist/apis/message.cjs +6 -6
  85. package/dist/apis/message.js +1 -1
  86. package/dist/apis/metering.cjs +6 -6
  87. package/dist/apis/metering.js +1 -1
  88. package/dist/apis/notes.cjs +8 -8
  89. package/dist/apis/notes.d.cts +2 -2
  90. package/dist/apis/notes.d.ts +2 -2
  91. package/dist/apis/notes.js +2 -2
  92. package/dist/apis/notification.cjs +6 -6
  93. package/dist/apis/notification.js +1 -1
  94. package/dist/apis/organization.cjs +6 -6
  95. package/dist/apis/organization.js +1 -1
  96. package/dist/apis/partner-directory.cjs +6 -6
  97. package/dist/apis/partner-directory.js +1 -1
  98. package/dist/apis/permissions.cjs +6 -6
  99. package/dist/apis/permissions.js +1 -1
  100. package/dist/apis/pricing-tier.cjs +6 -6
  101. package/dist/apis/pricing-tier.js +1 -1
  102. package/dist/apis/pricing.cjs +6 -6
  103. package/dist/apis/pricing.d.cts +2 -2
  104. package/dist/apis/pricing.d.ts +2 -2
  105. package/dist/apis/pricing.js +1 -1
  106. package/dist/apis/purpose.cjs +6 -6
  107. package/dist/apis/purpose.js +1 -1
  108. package/dist/apis/query.cjs +6 -6
  109. package/dist/apis/query.js +1 -1
  110. package/dist/apis/sandbox.cjs +6 -6
  111. package/dist/apis/sandbox.js +1 -1
  112. package/dist/apis/sharing.cjs +6 -6
  113. package/dist/apis/sharing.js +1 -1
  114. package/dist/apis/submission.cjs +6 -6
  115. package/dist/apis/submission.js +1 -1
  116. package/dist/apis/target.cjs +6 -6
  117. package/dist/apis/target.js +1 -1
  118. package/dist/apis/targeting.cjs +6 -6
  119. package/dist/apis/targeting.js +1 -1
  120. package/dist/apis/template-variables.cjs +6 -6
  121. package/dist/apis/template-variables.js +1 -1
  122. package/dist/apis/user.cjs +6 -6
  123. package/dist/apis/user.js +1 -1
  124. package/dist/apis/validation-rules.cjs +6 -6
  125. package/dist/apis/validation-rules.js +1 -1
  126. package/dist/apis/webhooks.cjs +6 -6
  127. package/dist/apis/webhooks.js +1 -1
  128. package/dist/apis/workflow-definition.cjs +6 -6
  129. package/dist/apis/workflow-definition.js +1 -1
  130. package/dist/apis/workflow.cjs +6 -6
  131. package/dist/apis/workflow.js +1 -1
  132. package/dist/{app-SSF545U7.cjs → app-74LECFMK.cjs} +1 -1
  133. package/dist/{app-34OBBTA4.js → app-GNUHCGPO.js} +1 -1
  134. package/dist/{app.d--5n0FQQ4.d.cts → app.d-BOR23dso.d.cts} +104 -4
  135. package/dist/{app.d--5n0FQQ4.d.ts → app.d-BOR23dso.d.ts} +104 -4
  136. package/dist/bin/cli.js +1 -1
  137. package/dist/{chunk-SCMAZ73K.js → chunk-2FJMQLXE.js} +28 -19
  138. package/dist/chunk-4M5V6BIT.cjs +14 -0
  139. package/dist/chunk-JOUTFBLN.js +14 -0
  140. package/dist/chunk-LAWKCWVU.cjs +14 -0
  141. package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
  142. package/dist/chunk-P4NA7NWG.js +14 -0
  143. package/dist/{chunk-R7XDTILZ.cjs → chunk-QNMDISUR.cjs} +28 -19
  144. package/dist/chunk-RDVFQOCQ.js +14 -0
  145. package/dist/chunk-WHXYES2D.cjs +14 -0
  146. package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
  147. package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
  148. package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
  149. package/dist/configuration-hub-E7S4JB2T.js +7 -0
  150. package/dist/configuration-hub-Q5JBYB52.cjs +7 -0
  151. package/dist/{configuration-hub-runtime-L6IOERSP.js → configuration-hub-runtime-CXME7TCX.js} +1 -1
  152. package/dist/{configuration-hub-runtime-I5Y67CXD.cjs → configuration-hub-runtime-QVLJKEZD.cjs} +2 -2
  153. package/dist/configuration-hub.d-CbSJDa7k.d.cts +1096 -0
  154. package/dist/configuration-hub.d-CbSJDa7k.d.ts +1096 -0
  155. package/dist/customer-portal-IBM3K2EZ.cjs +7 -0
  156. package/dist/customer-portal-XPYKMIIA.js +7 -0
  157. package/dist/{customer-portal.d-C7ZCbjiY.d.cts → customer-portal.d-CTTCBAZI.d.cts} +217 -61
  158. package/dist/{customer-portal.d-C7ZCbjiY.d.ts → customer-portal.d-CTTCBAZI.d.ts} +217 -61
  159. package/dist/design-DUFBH5ZB.js +7 -0
  160. package/dist/design-W3D3UPGB.cjs +7 -0
  161. package/dist/design-runtime-3RHYNHUV.cjs +5 -0
  162. package/dist/{design-runtime-QMJM4FAF.js → design-runtime-DLMA4EHQ.js} +1 -1
  163. package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
  164. package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
  165. package/dist/file-BGJVE7QG.cjs +7 -0
  166. package/dist/file-DRLPMLFW.js +7 -0
  167. package/dist/file-runtime-7AWKNQU6.cjs +5 -0
  168. package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
  169. package/dist/{file.d-DTlrbI40.d.cts → file.d-Rq_mbdOo.d.cts} +145 -5
  170. package/dist/{file.d-DTlrbI40.d.ts → file.d-Rq_mbdOo.d.ts} +145 -5
  171. package/dist/index.cjs +18 -18
  172. package/dist/index.d.cts +8 -8
  173. package/dist/index.d.ts +8 -8
  174. package/dist/index.js +6 -6
  175. package/dist/journey-4DIIPRU4.js +7 -0
  176. package/dist/journey-ATC3Y5AW.cjs +7 -0
  177. package/dist/{journey-runtime-SPBL3F32.cjs → journey-runtime-G2O5C3N2.cjs} +2 -2
  178. package/dist/{journey-runtime-YXIAOTMD.js → journey-runtime-RI2LJO5S.js} +1 -1
  179. package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BenIUWaO.d.cts} +9 -3
  180. package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BenIUWaO.d.ts} +9 -3
  181. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  182. package/dist/notes-6JESMRLW.js +7 -0
  183. package/dist/notes-SLEUSNP4.cjs +7 -0
  184. package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
  185. package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
  186. package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
  187. package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
  188. package/dist/pricing-F7HQ6BWC.cjs +7 -0
  189. package/dist/pricing-YCD4EUGI.js +7 -0
  190. package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-exMaGWm1.d.cts} +140 -280
  191. package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-exMaGWm1.d.ts} +140 -280
  192. package/docs/app.md +34 -10
  193. package/docs/configuration-hub.md +660 -0
  194. package/docs/customer-portal.md +221 -159
  195. package/docs/design.md +81 -4
  196. package/docs/file.md +81 -0
  197. package/docs/journey.md +2 -0
  198. package/docs/notes.md +47 -1
  199. package/docs/pricing.md +269 -218
  200. package/package.json +1 -1
  201. package/dist/chunk-3APTSPY4.js +0 -14
  202. package/dist/chunk-EIIIKDOJ.cjs +0 -14
  203. package/dist/chunk-KIWRGUKM.js +0 -14
  204. package/dist/chunk-MB6NKETA.cjs +0 -14
  205. package/dist/chunk-OPXGJKZR.cjs +0 -14
  206. package/dist/chunk-VSZEOCIE.js +0 -14
  207. package/dist/configuration-hub-A3S6ND6R.cjs +0 -7
  208. package/dist/configuration-hub-PMAW44U5.js +0 -7
  209. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  210. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  211. package/dist/customer-portal-7HYSBH7H.cjs +0 -7
  212. package/dist/customer-portal-X4LJX6AU.js +0 -7
  213. package/dist/design-DROLIWS3.js +0 -7
  214. package/dist/design-XZKOZLTR.cjs +0 -7
  215. package/dist/design-runtime-OXEXKZVG.cjs +0 -5
  216. package/dist/file-P2FUUER2.js +0 -7
  217. package/dist/file-XTY74SIX.cjs +0 -7
  218. package/dist/file-runtime-24S3QPA7.cjs +0 -5
  219. package/dist/journey-KDR5EU3W.js +0 -7
  220. package/dist/journey-REBN4TGQ.cjs +0 -7
  221. package/dist/notes-K2IIFCX3.cjs +0 -7
  222. package/dist/notes-Q7JGS7O3.js +0 -7
  223. package/dist/notes-runtime-E3YYF74V.cjs +0 -5
  224. package/dist/pricing-FODHQFCB.cjs +0 -7
  225. package/dist/pricing-XRIDVZFC.js +0 -7
@@ -1577,13 +1577,14 @@ declare namespace Components {
1577
1577
  * - 200 with a JSON body of shape:
1578
1578
  * {
1579
1579
  * "type_options": [
1580
- * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
1580
+ * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
1581
1581
  * ...
1582
1582
  * ],
1583
1583
  * "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
1584
1584
  * "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
1585
1585
  * }
1586
1586
  * Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
1587
+ * Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
1587
1588
  * `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
1588
1589
  * - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
1589
1590
  * - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
@@ -1672,7 +1673,19 @@ declare namespace Components {
1672
1673
  /**
1673
1674
  * Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
1674
1675
  */
1676
+ data_path?: string;
1677
+ /**
1678
+ * Deprecated. Use `data_path` instead.
1679
+ */
1675
1680
  dataPath?: string;
1681
+ /**
1682
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1683
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1684
+ *
1685
+ * example:
1686
+ * error.message
1687
+ */
1688
+ error_message_path?: string;
1676
1689
  };
1677
1690
  /**
1678
1691
  * Deprecated. Prefer `secure_proxy` instead.
@@ -1732,10 +1745,24 @@ declare namespace Components {
1732
1745
  [key: string]: any;
1733
1746
  };
1734
1747
  /**
1735
- * Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
1748
+ * Deprecated. Use `resolved.result` instead. Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
1736
1749
  */
1737
1750
  result?: string;
1738
1751
  };
1752
+ resolved?: {
1753
+ /**
1754
+ * Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
1755
+ */
1756
+ result?: string;
1757
+ /**
1758
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1759
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1760
+ *
1761
+ * example:
1762
+ * error.message
1763
+ */
1764
+ error_message_path?: string;
1765
+ };
1739
1766
  /**
1740
1767
  * Mode of contract assignment. See hook description for mode details.
1741
1768
  */
@@ -1817,7 +1844,19 @@ declare namespace Components {
1817
1844
  /**
1818
1845
  * Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
1819
1846
  */
1847
+ data_path?: string;
1848
+ /**
1849
+ * Deprecated. Use `data_path` instead.
1850
+ */
1820
1851
  dataPath?: string;
1852
+ /**
1853
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1854
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1855
+ *
1856
+ * example:
1857
+ * error.message
1858
+ */
1859
+ error_message_path?: string;
1821
1860
  };
1822
1861
  /**
1823
1862
  * Deprecated. Prefer `secure_proxy` instead.
@@ -1876,6 +1915,16 @@ declare namespace Components {
1876
1915
  [name: string]: any;
1877
1916
  };
1878
1917
  };
1918
+ resolved?: {
1919
+ /**
1920
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1921
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1922
+ *
1923
+ * example:
1924
+ * error.message
1925
+ */
1926
+ error_message_path?: string;
1927
+ };
1879
1928
  /**
1880
1929
  * Deprecated. Prefer `secure_proxy` instead.
1881
1930
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
@@ -1938,6 +1987,10 @@ declare namespace Components {
1938
1987
  * example:
1939
1988
  * data.results
1940
1989
  */
1990
+ data_path?: string;
1991
+ /**
1992
+ * Deprecated. Use `data_path` instead.
1993
+ */
1941
1994
  dataPath?: string;
1942
1995
  /**
1943
1996
  * Counter identifier(s) used to match against the meter's counters.
@@ -1971,6 +2024,14 @@ declare namespace Components {
1971
2024
  * {{CallResponse.data.lower_limit}}
1972
2025
  */
1973
2026
  lower_limit?: string;
2027
+ /**
2028
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2029
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2030
+ *
2031
+ * example:
2032
+ * error.message
2033
+ */
2034
+ error_message_path?: string;
1974
2035
  };
1975
2036
  /**
1976
2037
  * Deprecated. Prefer `secure_proxy` instead.
@@ -2031,7 +2092,19 @@ declare namespace Components {
2031
2092
  /**
2032
2093
  * Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
2033
2094
  */
2095
+ data_path?: string;
2096
+ /**
2097
+ * Deprecated. Use `data_path` instead.
2098
+ */
2034
2099
  dataPath?: string;
2100
+ /**
2101
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2102
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2103
+ *
2104
+ * example:
2105
+ * error.message
2106
+ */
2107
+ error_message_path?: string;
2035
2108
  };
2036
2109
  /**
2037
2110
  * Deprecated. Prefer `secure_proxy` instead.
@@ -2083,10 +2156,24 @@ declare namespace Components {
2083
2156
  [key: string]: any;
2084
2157
  };
2085
2158
  /**
2086
- * Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
2159
+ * Deprecated. Use `resolved.result` instead. Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
2087
2160
  */
2088
2161
  result: string;
2089
2162
  };
2163
+ resolved?: {
2164
+ /**
2165
+ * Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
2166
+ */
2167
+ result?: string;
2168
+ /**
2169
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2170
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2171
+ *
2172
+ * example:
2173
+ * error.message
2174
+ */
2175
+ error_message_path?: string;
2176
+ };
2090
2177
  /**
2091
2178
  * Deprecated. Prefer `secure_proxy` instead.
2092
2179
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
@@ -2100,13 +2187,14 @@ declare namespace Components {
2100
2187
  * - 200 with a JSON body of shape:
2101
2188
  * {
2102
2189
  * "type_options": [
2103
- * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
2190
+ * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
2104
2191
  * ...
2105
2192
  * ],
2106
2193
  * "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
2107
2194
  * "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
2108
2195
  * }
2109
2196
  * Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
2197
+ * Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
2110
2198
  * `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
2111
2199
  * - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
2112
2200
  * - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
@@ -2154,7 +2242,19 @@ declare namespace Components {
2154
2242
  /**
2155
2243
  * Optional path to the metadata object in the response. If omitted, the metadata is assumed to be on the top level.
2156
2244
  */
2245
+ data_path?: string;
2246
+ /**
2247
+ * Deprecated. Use `data_path` instead.
2248
+ */
2157
2249
  dataPath?: string;
2250
+ /**
2251
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2252
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2253
+ *
2254
+ * example:
2255
+ * error.message
2256
+ */
2257
+ error_message_path?: string;
2158
2258
  };
2159
2259
  /**
2160
2260
  * Deprecated. Prefer `secure_proxy` instead.
@@ -1577,13 +1577,14 @@ declare namespace Components {
1577
1577
  * - 200 with a JSON body of shape:
1578
1578
  * {
1579
1579
  * "type_options": [
1580
- * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
1580
+ * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
1581
1581
  * ...
1582
1582
  * ],
1583
1583
  * "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
1584
1584
  * "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
1585
1585
  * }
1586
1586
  * Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
1587
+ * Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
1587
1588
  * `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
1588
1589
  * - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
1589
1590
  * - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
@@ -1672,7 +1673,19 @@ declare namespace Components {
1672
1673
  /**
1673
1674
  * Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
1674
1675
  */
1676
+ data_path?: string;
1677
+ /**
1678
+ * Deprecated. Use `data_path` instead.
1679
+ */
1675
1680
  dataPath?: string;
1681
+ /**
1682
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1683
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1684
+ *
1685
+ * example:
1686
+ * error.message
1687
+ */
1688
+ error_message_path?: string;
1676
1689
  };
1677
1690
  /**
1678
1691
  * Deprecated. Prefer `secure_proxy` instead.
@@ -1732,10 +1745,24 @@ declare namespace Components {
1732
1745
  [key: string]: any;
1733
1746
  };
1734
1747
  /**
1735
- * Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
1748
+ * Deprecated. Use `resolved.result` instead. Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
1736
1749
  */
1737
1750
  result?: string;
1738
1751
  };
1752
+ resolved?: {
1753
+ /**
1754
+ * Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
1755
+ */
1756
+ result?: string;
1757
+ /**
1758
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1759
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1760
+ *
1761
+ * example:
1762
+ * error.message
1763
+ */
1764
+ error_message_path?: string;
1765
+ };
1739
1766
  /**
1740
1767
  * Mode of contract assignment. See hook description for mode details.
1741
1768
  */
@@ -1817,7 +1844,19 @@ declare namespace Components {
1817
1844
  /**
1818
1845
  * Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
1819
1846
  */
1847
+ data_path?: string;
1848
+ /**
1849
+ * Deprecated. Use `data_path` instead.
1850
+ */
1820
1851
  dataPath?: string;
1852
+ /**
1853
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1854
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1855
+ *
1856
+ * example:
1857
+ * error.message
1858
+ */
1859
+ error_message_path?: string;
1821
1860
  };
1822
1861
  /**
1823
1862
  * Deprecated. Prefer `secure_proxy` instead.
@@ -1876,6 +1915,16 @@ declare namespace Components {
1876
1915
  [name: string]: any;
1877
1916
  };
1878
1917
  };
1918
+ resolved?: {
1919
+ /**
1920
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
1921
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
1922
+ *
1923
+ * example:
1924
+ * error.message
1925
+ */
1926
+ error_message_path?: string;
1927
+ };
1879
1928
  /**
1880
1929
  * Deprecated. Prefer `secure_proxy` instead.
1881
1930
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
@@ -1938,6 +1987,10 @@ declare namespace Components {
1938
1987
  * example:
1939
1988
  * data.results
1940
1989
  */
1990
+ data_path?: string;
1991
+ /**
1992
+ * Deprecated. Use `data_path` instead.
1993
+ */
1941
1994
  dataPath?: string;
1942
1995
  /**
1943
1996
  * Counter identifier(s) used to match against the meter's counters.
@@ -1971,6 +2024,14 @@ declare namespace Components {
1971
2024
  * {{CallResponse.data.lower_limit}}
1972
2025
  */
1973
2026
  lower_limit?: string;
2027
+ /**
2028
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2029
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2030
+ *
2031
+ * example:
2032
+ * error.message
2033
+ */
2034
+ error_message_path?: string;
1974
2035
  };
1975
2036
  /**
1976
2037
  * Deprecated. Prefer `secure_proxy` instead.
@@ -2031,7 +2092,19 @@ declare namespace Components {
2031
2092
  /**
2032
2093
  * Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
2033
2094
  */
2095
+ data_path?: string;
2096
+ /**
2097
+ * Deprecated. Use `data_path` instead.
2098
+ */
2034
2099
  dataPath?: string;
2100
+ /**
2101
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2102
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2103
+ *
2104
+ * example:
2105
+ * error.message
2106
+ */
2107
+ error_message_path?: string;
2035
2108
  };
2036
2109
  /**
2037
2110
  * Deprecated. Prefer `secure_proxy` instead.
@@ -2083,10 +2156,24 @@ declare namespace Components {
2083
2156
  [key: string]: any;
2084
2157
  };
2085
2158
  /**
2086
- * Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
2159
+ * Deprecated. Use `resolved.result` instead. Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
2087
2160
  */
2088
2161
  result: string;
2089
2162
  };
2163
+ resolved?: {
2164
+ /**
2165
+ * Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
2166
+ */
2167
+ result?: string;
2168
+ /**
2169
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2170
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2171
+ *
2172
+ * example:
2173
+ * error.message
2174
+ */
2175
+ error_message_path?: string;
2176
+ };
2090
2177
  /**
2091
2178
  * Deprecated. Prefer `secure_proxy` instead.
2092
2179
  * If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
@@ -2100,13 +2187,14 @@ declare namespace Components {
2100
2187
  * - 200 with a JSON body of shape:
2101
2188
  * {
2102
2189
  * "type_options": [
2103
- * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
2190
+ * { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
2104
2191
  * ...
2105
2192
  * ],
2106
2193
  * "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
2107
2194
  * "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
2108
2195
  * }
2109
2196
  * Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
2197
+ * Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
2110
2198
  * `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
2111
2199
  * - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
2112
2200
  * - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
@@ -2154,7 +2242,19 @@ declare namespace Components {
2154
2242
  /**
2155
2243
  * Optional path to the metadata object in the response. If omitted, the metadata is assumed to be on the top level.
2156
2244
  */
2245
+ data_path?: string;
2246
+ /**
2247
+ * Deprecated. Use `data_path` instead.
2248
+ */
2157
2249
  dataPath?: string;
2250
+ /**
2251
+ * Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
2252
+ * If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
2253
+ *
2254
+ * example:
2255
+ * error.message
2256
+ */
2257
+ error_message_path?: string;
2158
2258
  };
2159
2259
  /**
2160
2260
  * Deprecated. Prefer `secure_proxy` instead.
package/dist/bin/cli.js CHANGED
@@ -22,7 +22,7 @@ Examples:
22
22
  };
23
23
  var isYamlFile = (filePath) => filePath.endsWith(".yaml") || filePath.endsWith(".yml");
24
24
  var parseYaml = async (content) => {
25
- const { load } = await import("../js-yaml-UPZKYVRY.js");
25
+ const { load } = await import("../js-yaml-DLCVPJ7G.js");
26
26
  return load(content);
27
27
  };
28
28
  var readOverrides = () => {
@@ -3,16 +3,25 @@ import {
3
3
  } from "./chunk-YPSWSI3M.js";
4
4
 
5
5
  // src/authorize.ts
6
+ var AUTH_INTERCEPTOR_KEY = /* @__PURE__ */ Symbol.for("@epilot/sdk:authInterceptorId");
6
7
  var authorize = (client, token) => {
8
+ const marked = client;
9
+ const prev = marked[AUTH_INTERCEPTOR_KEY];
10
+ if (typeof prev === "number") {
11
+ client.interceptors.request.eject(prev);
12
+ marked[AUTH_INTERCEPTOR_KEY] = void 0;
13
+ }
7
14
  if (typeof token === "string") {
8
15
  client.defaults.headers.common.authorization = `Bearer ${token}`;
9
- } else {
10
- client.interceptors.request.use(async (config) => {
11
- const resolved = await token();
12
- config.headers.authorization = `Bearer ${resolved}`;
13
- return config;
14
- });
16
+ return client;
15
17
  }
18
+ delete client.defaults.headers.common.authorization;
19
+ const id = client.interceptors.request.use(async (config) => {
20
+ const resolved = await token();
21
+ config.headers.authorization = `Bearer ${resolved}`;
22
+ return config;
23
+ });
24
+ marked[AUTH_INTERCEPTOR_KEY] = id;
16
25
  return client;
17
26
  };
18
27
 
@@ -24,19 +33,19 @@ var globImport_docs = __glob({
24
33
  "./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
25
34
  "./docs/address.json": () => import("./address-QVJUGMOG.js"),
26
35
  "./docs/ai-agents.json": () => import("./ai-agents-IZWFEUSH.js"),
27
- "./docs/app.json": () => import("./app-34OBBTA4.js"),
36
+ "./docs/app.json": () => import("./app-GNUHCGPO.js"),
28
37
  "./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
29
38
  "./docs/automation.json": () => import("./automation-MEZTSUR3.js"),
30
39
  "./docs/billing.json": () => import("./billing-IPALEAG2.js"),
31
40
  "./docs/blueprint-manifest.json": () => import("./blueprint-manifest-DBEY5PPI.js"),
32
41
  "./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
33
- "./docs/configuration-hub.json": () => import("./configuration-hub-PMAW44U5.js"),
42
+ "./docs/configuration-hub.json": () => import("./configuration-hub-E7S4JB2T.js"),
34
43
  "./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
35
- "./docs/customer-portal.json": () => import("./customer-portal-X4LJX6AU.js"),
44
+ "./docs/customer-portal.json": () => import("./customer-portal-XPYKMIIA.js"),
36
45
  "./docs/dashboard.json": () => import("./dashboard-UTPGXFW5.js"),
37
46
  "./docs/data-governance.json": () => import("./data-governance-36Y33JVG.js"),
38
47
  "./docs/deduplication.json": () => import("./deduplication-G2ZY4NMX.js"),
39
- "./docs/design.json": () => import("./design-DROLIWS3.js"),
48
+ "./docs/design.json": () => import("./design-DUFBH5ZB.js"),
40
49
  "./docs/document.json": () => import("./document-CY2A2OE7.js"),
41
50
  "./docs/email-settings.json": () => import("./email-settings-YUK3DXFJ.js"),
42
51
  "./docs/email-template.json": () => import("./email-template-WYROV3UG.js"),
@@ -45,20 +54,20 @@ var globImport_docs = __glob({
45
54
  "./docs/environments.json": () => import("./environments-PXJOTQVM.js"),
46
55
  "./docs/erp-integration.json": () => import("./erp-integration-SBQJ6HEG.js"),
47
56
  "./docs/event-catalog.json": () => import("./event-catalog-37B6JC7G.js"),
48
- "./docs/file.json": () => import("./file-P2FUUER2.js"),
57
+ "./docs/file.json": () => import("./file-DRLPMLFW.js"),
49
58
  "./docs/iban.json": () => import("./iban-LDKYDVQV.js"),
50
59
  "./docs/integration-toolkit.json": () => import("./integration-toolkit-XAFQXNQY.js"),
51
- "./docs/journey.json": () => import("./journey-KDR5EU3W.js"),
60
+ "./docs/journey.json": () => import("./journey-4DIIPRU4.js"),
52
61
  "./docs/kanban.json": () => import("./kanban-F22JXYCG.js"),
53
62
  "./docs/message.json": () => import("./message-6IFCB7GH.js"),
54
63
  "./docs/metering.json": () => import("./metering-3IUSYAGN.js"),
55
- "./docs/notes.json": () => import("./notes-Q7JGS7O3.js"),
64
+ "./docs/notes.json": () => import("./notes-6JESMRLW.js"),
56
65
  "./docs/notification.json": () => import("./notification-VWDZRSFZ.js"),
57
66
  "./docs/organization.json": () => import("./organization-ZERPH2IH.js"),
58
67
  "./docs/partner-directory.json": () => import("./partner-directory-THI7JEXK.js"),
59
68
  "./docs/permissions.json": () => import("./permissions-X3SJVSPC.js"),
60
69
  "./docs/pricing-tier.json": () => import("./pricing-tier-VUOFK5Q7.js"),
61
- "./docs/pricing.json": () => import("./pricing-XRIDVZFC.js"),
70
+ "./docs/pricing.json": () => import("./pricing-YCD4EUGI.js"),
62
71
  "./docs/purpose.json": () => import("./purpose-RBRV3AQZ.js"),
63
72
  "./docs/query.json": () => import("./query-RJ4M25PA.js"),
64
73
  "./docs/sandbox.json": () => import("./sandbox-L2SOOGGR.js"),
@@ -109,7 +118,7 @@ var globImport_definitions_json = __glob({
109
118
  "./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-5UN52LW5.js"),
110
119
  "./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
111
120
  "./definitions/calendar-runtime.json": () => import("./calendar-runtime-6CMMEQMG.js"),
112
- "./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-L6IOERSP.js"),
121
+ "./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-CXME7TCX.js"),
113
122
  "./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
114
123
  "./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
115
124
  "./definitions/customer-portal-runtime.json": () => import("./customer-portal-runtime-ZYU3WIXY.js"),
@@ -120,7 +129,7 @@ var globImport_definitions_json = __glob({
120
129
  "./definitions/data-governance.json": () => import("./data-governance-PLS5TJ7Z.js"),
121
130
  "./definitions/deduplication-runtime.json": () => import("./deduplication-runtime-VL4R2VIG.js"),
122
131
  "./definitions/deduplication.json": () => import("./deduplication-RKLRTNZU.js"),
123
- "./definitions/design-runtime.json": () => import("./design-runtime-QMJM4FAF.js"),
132
+ "./definitions/design-runtime.json": () => import("./design-runtime-DLMA4EHQ.js"),
124
133
  "./definitions/design.json": () => import("./design-VLRA2WGV.js"),
125
134
  "./definitions/document-runtime.json": () => import("./document-runtime-GFEBGNMS.js"),
126
135
  "./definitions/document.json": () => import("./document-SEZ45XAO.js"),
@@ -138,12 +147,12 @@ var globImport_definitions_json = __glob({
138
147
  "./definitions/erp-integration.json": () => import("./erp-integration-735KQ73W.js"),
139
148
  "./definitions/event-catalog-runtime.json": () => import("./event-catalog-runtime-N262TQ3Y.js"),
140
149
  "./definitions/event-catalog.json": () => import("./event-catalog-ZUFXLY7B.js"),
141
- "./definitions/file-runtime.json": () => import("./file-runtime-BIRMXYRH.js"),
150
+ "./definitions/file-runtime.json": () => import("./file-runtime-DKGFS44O.js"),
142
151
  "./definitions/file.json": () => import("./file-EJJBQEQI.js"),
143
152
  "./definitions/iban-runtime.json": () => import("./iban-runtime-EVXLFPPP.js"),
144
153
  "./definitions/iban.json": () => import("./iban-HXFDAF4I.js"),
145
154
  "./definitions/integration-toolkit-runtime.json": () => import("./integration-toolkit-runtime-YR4CIMKH.js"),
146
- "./definitions/journey-runtime.json": () => import("./journey-runtime-YXIAOTMD.js"),
155
+ "./definitions/journey-runtime.json": () => import("./journey-runtime-RI2LJO5S.js"),
147
156
  "./definitions/journey.json": () => import("./journey-KW3ZFQAL.js"),
148
157
  "./definitions/kanban-runtime.json": () => import("./kanban-runtime-R6EWHBFS.js"),
149
158
  "./definitions/kanban.json": () => import("./kanban-QXQEQIF4.js"),
@@ -151,7 +160,7 @@ var globImport_definitions_json = __glob({
151
160
  "./definitions/message.json": () => import("./message-M62W3KP2.js"),
152
161
  "./definitions/metering-runtime.json": () => import("./metering-runtime-KZMJKKUZ.js"),
153
162
  "./definitions/metering.json": () => import("./metering-W3TA6ZUQ.js"),
154
- "./definitions/notes-runtime.json": () => import("./notes-runtime-CVNAVKPP.js"),
163
+ "./definitions/notes-runtime.json": () => import("./notes-runtime-I4SWR3PZ.js"),
155
164
  "./definitions/notes.json": () => import("./notes-4LVCGLBE.js"),
156
165
  "./definitions/notification-runtime.json": () => import("./notification-runtime-KREP32YP.js"),
157
166
  "./definitions/notification.json": () => import("./notification-MJQGIBM7.js"),
@@ -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/file-runtime.json
6
+ var require_file_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/file-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://file.sls.epilot.io", o: [["uploadFileV2", "post", "/v2/files/upload", [["file_entity_id", "q"]], 1], ["saveFileV2", "post", "/v2/files", [["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["StrictQueryParam"], ["AsyncOperationQueryParam"], ["DeleteTempFileQueryParam"], ["VersionOnlyQueryParam"]], 1], ["uploadFile", "post", "/v1/files/upload", [["file_entity_id", "q"]], 1], ["saveFile", "post", "/v1/files", [["ActivityIdQueryParam"], ["AsyncOperationQueryParam"], ["VersionOnlyQueryParam"]], 1], ["getFile", "get", "/v2/files/{id}", [["id", "p", true], ["source_url", "q"], ["StrictQueryParam"], ["AsyncOperationQueryParam"]]], ["deleteFile", "delete", "/v2/files/{id}", [["id", "p", true], ["purge", "q"], ["ActivityIdQueryParam"], ["StrictQueryParam"]]], ["downloadFile", "get", "/v1/files/{id}/download", [["id", "p", true], ["version", "q"], ["attachment", "q"]]], ["downloadS3File", "post", "/v1/files:downloadS3", [["s3_key", "q", true], ["s3_bucket", "q", true], ["attachment", "q"]]], ["downloadFiles", "post", "/v1/files:downloadFiles", null, 1], ["createZipJob", "post", "/v1/files:zipJob", null, 1], ["getZipJob", "get", "/v1/files:zipJob/{job_id}", [["job_id", "p", true]]], ["generateFileSummary", "post", "/v1/files/{id}/summary:generate", [["id", "p", true]]], ["previewFile", "get", "/v1/files/{id}/preview", [["id", "p", true], ["version", "q"], ["w", "q"], ["h", "q"]]], ["previewS3File", "post", "/v1/files:previewS3", [["w", "q"], ["h", "q"]], 1], ["previewS3FileGet", "get", "/v1/files:previewS3", [["key", "q", true], ["bucket", "q", true], ["w", "q"], ["h", "q"]]], ["previewPublicFile", "get", "/v1/files/public/{id}/preview", [["id", "p", true], ["version", "q"], ["w", "q"], ["h", "q"], ["org_id", "q"]]], ["getSession", "get", "/v1/files/session"], ["deleteSession", "delete", "/v1/files/session"], ["generatePublicLink", "post", "/v1/files/{id}/public/links", [["id", "p", true]]], ["listPublicLinksForFile", "get", "/v1/files/{id}/public/links", [["id", "p", true]]], ["accessPublicLink", "get", "/v1/files/public/links/{id}/{filename}", [["id", "p", true], ["filename", "p", true], ["hash", "q"]]], ["revokePublicLink", "delete", "/v1/files/public/links/{id}", [["id", "p", true]]], ["verifyCustomDownloadUrl", "post", "/v1/files/download:verify", null, 1], ["uploadFilePublic", "post", "/v1/files/public/upload", null, 1], ["getUserSchemaFileCollections", "get", "/v1/{slug}/collections", [["slug", "p", true]]], ["createUserSchemaFileCollection", "post", "/v1/{slug}/collections", [["slug", "p", true]], 1], ["updateUserSchemaFileCollection", "put", "/v1/{slug}/collections/{collectionSlug}", [["slug", "p", true], ["collectionSlug", "p", true]], 1], ["deleteUserSchemaFileCollection", "delete", "/v1/{slug}/collections/{collectionSlug}", [["slug", "p", true], ["collectionSlug", "p", true]]], ["getFilesInCollection", "get", "/v1/entity/{id}/collections/{collectionSlug}/files", [["EntityIdPathParam"], ["collectionSlug", "p", true]]], ["getGlobalFileCollections", "get", "/v1/collections/{schemaSlug}", [["schemaSlug", "p", true]]]], v: "3.0.3", cp: { EntityIdPathParam: ["id", "p", true], StrictQueryParam: ["strict", "q"], ActivityIdQueryParam: ["activity_id", "q"], FillActivityQueryParam: ["fill_activity", "q"], AsyncOperationQueryParam: ["async", "q"], DeleteTempFileQueryParam: ["delete_temp_file", "q"], VersionOnlyQueryParam: ["version_only", "q"] } };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_file_runtime = require_file_runtime;
@@ -0,0 +1,14 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-YPSWSI3M.js";
4
+
5
+ // src/definitions/journey-runtime.json
6
+ var require_journey_runtime = __commonJS({
7
+ "src/definitions/journey-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://journey-config.sls.epilot.io", o: [["getJourneysByOrgId", "get", "/v1/journey/organization/{id}", [["id", "p", true], ["hydrate", "q"]]], ["getJourney", "get", "/v1/journey/configuration/{id}", [["id", "p", true], ["version", "q"], ["source", "q"], ["orgId", "q"]]], ["removeJourney", "delete", "/v1/journey/configuration/{id}", [["id", "p", true]]], ["getJourneyProducts", "get", "/v1/journey/products/{id}", [["id", "p", true], ["source", "q"], ["postal_code", "q"], ["city", "q"], ["street", "q"], ["street_number", "q"]]], ["createJourney", "post", "/v1/journey/configuration", [["skipAutomation", "q"]], 1], ["updateJourney", "put", "/v1/journey/configuration", null, 1], ["patchUpdateJourney", "patch", "/v1/journey/configuration", null, 1], ["searchJourneys", "post", "/v1/journey/configuration/search", null, 1], ["generateDocument", "post", "/v1/journey/document:generate", null, 1], ["createJourneyV2", "post", "/v2/journey/configuration", [["skipAutomation", "q"]], 1], ["updateJourneyV2", "put", "/v2/journey/configuration", null, 1], ["patchUpdateJourneyV2", "patch", "/v2/journey/configuration", null, 1], ["getJourneyV2", "get", "/v2/journey/configuration/{id}", [["id", "p", true], ["version", "q"]]], ["removeJourneyV2", "delete", "/v2/journey/configuration/{id}", [["id", "p", true]]], ["getSettingsForJourney", "get", "/v1/journey/{id}/settings", [["id", "p", true]]], ["getButtonOptions", "get", "/v1/journey/button-options", [["fileId", "q", true]]]], v: "3.0.0" };
9
+ }
10
+ });
11
+
12
+ export {
13
+ require_journey_runtime
14
+ };
@@ -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/journey-runtime.json
6
+ var require_journey_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/journey-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://journey-config.sls.epilot.io", o: [["getJourneysByOrgId", "get", "/v1/journey/organization/{id}", [["id", "p", true], ["hydrate", "q"]]], ["getJourney", "get", "/v1/journey/configuration/{id}", [["id", "p", true], ["version", "q"], ["source", "q"], ["orgId", "q"]]], ["removeJourney", "delete", "/v1/journey/configuration/{id}", [["id", "p", true]]], ["getJourneyProducts", "get", "/v1/journey/products/{id}", [["id", "p", true], ["source", "q"], ["postal_code", "q"], ["city", "q"], ["street", "q"], ["street_number", "q"]]], ["createJourney", "post", "/v1/journey/configuration", [["skipAutomation", "q"]], 1], ["updateJourney", "put", "/v1/journey/configuration", null, 1], ["patchUpdateJourney", "patch", "/v1/journey/configuration", null, 1], ["searchJourneys", "post", "/v1/journey/configuration/search", null, 1], ["generateDocument", "post", "/v1/journey/document:generate", null, 1], ["createJourneyV2", "post", "/v2/journey/configuration", [["skipAutomation", "q"]], 1], ["updateJourneyV2", "put", "/v2/journey/configuration", null, 1], ["patchUpdateJourneyV2", "patch", "/v2/journey/configuration", null, 1], ["getJourneyV2", "get", "/v2/journey/configuration/{id}", [["id", "p", true], ["version", "q"]]], ["removeJourneyV2", "delete", "/v2/journey/configuration/{id}", [["id", "p", true]]], ["getSettingsForJourney", "get", "/v1/journey/{id}/settings", [["id", "p", true]]], ["getButtonOptions", "get", "/v1/journey/button-options", [["fileId", "q", true]]]], v: "3.0.0" };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_journey_runtime = require_journey_runtime;
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
5
5
  // src/definitions/configuration-hub-runtime.json
6
6
  var require_configuration_hub_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
7
  "src/definitions/configuration-hub-runtime.json"(exports, module) {
8
- module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["rebuildIndex", "post", "/v1/configs/index:rebuild"]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"] } };
8
+ module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["createSyncJob", "post", "/v1/configs/sync-jobs", null, 1], ["listSyncJobs", "get", "/v1/configs/sync-jobs", [["CursorParam"], ["SizeParam"], ["status", "q"]]], ["getSyncJob", "get", "/v1/configs/sync-jobs/{id}", [["SyncJobId"]]], ["retrySyncJob", "post", "/v1/configs/sync-jobs/{id}/retry", [["SyncJobId"]], 1], ["listSyncJobResources", "get", "/v1/configs/sync-jobs/{id}/resources", [["SyncJobId"], ["CursorParam"], ["SizeParam"], ["status", "q"]]], ["rebuildIndex", "post", "/v1/configs/index:rebuild"]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"], SyncJobId: ["id", "p", true] } };
9
9
  }
10
10
  });
11
11