@epilot/sdk 2.0.0-alpha.1 → 2.0.0-beta.1

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 (286) hide show
  1. package/README.md +59 -51
  2. package/dist/{access-token-Y5JR7PRG.js → access-token-4WG44JE6.js} +0 -2
  3. package/dist/{access-token-MYDOBCIY.cjs → access-token-IWRB3AQC.cjs} +1 -3
  4. package/dist/{address-LQUTDOUA.cjs → address-RCFHYZ32.cjs} +1 -3
  5. package/dist/{address-3RQRG3MK.js → address-YDZSS2Q2.js} +0 -2
  6. package/dist/{address-suggestions-QNK5JWNH.js → address-suggestions-44CVMN3H.js} +0 -2
  7. package/dist/{address-suggestions-PEKSA7B2.cjs → address-suggestions-RQNIFLF6.cjs} +1 -3
  8. package/dist/{ai-agents-OHP2F243.js → ai-agents-7WY6J45W.js} +0 -2
  9. package/dist/{ai-agents-MO4PK2RJ.cjs → ai-agents-TIBOWGRB.cjs} +1 -3
  10. package/dist/apis/access-token.cjs +1 -2
  11. package/dist/apis/access-token.d.cts +2 -2
  12. package/dist/apis/access-token.d.ts +2 -2
  13. package/dist/apis/access-token.js +1 -2
  14. package/dist/apis/address-suggestions.cjs +1 -2
  15. package/dist/apis/address-suggestions.d.cts +2 -2
  16. package/dist/apis/address-suggestions.d.ts +2 -2
  17. package/dist/apis/address-suggestions.js +1 -2
  18. package/dist/apis/address.cjs +1 -2
  19. package/dist/apis/address.d.cts +2 -2
  20. package/dist/apis/address.d.ts +2 -2
  21. package/dist/apis/address.js +1 -2
  22. package/dist/apis/ai-agents.cjs +1 -2
  23. package/dist/apis/ai-agents.d.cts +2 -2
  24. package/dist/apis/ai-agents.d.ts +2 -2
  25. package/dist/apis/ai-agents.js +1 -2
  26. package/dist/apis/app.cjs +1 -2
  27. package/dist/apis/app.d.cts +2 -2
  28. package/dist/apis/app.d.ts +2 -2
  29. package/dist/apis/app.js +1 -2
  30. package/dist/apis/audit-logs.cjs +1 -2
  31. package/dist/apis/audit-logs.d.cts +2 -2
  32. package/dist/apis/audit-logs.d.ts +2 -2
  33. package/dist/apis/audit-logs.js +1 -2
  34. package/dist/apis/automation.cjs +1 -2
  35. package/dist/apis/automation.d.cts +2 -2
  36. package/dist/apis/automation.d.ts +2 -2
  37. package/dist/apis/automation.js +1 -2
  38. package/dist/apis/billing.cjs +1 -2
  39. package/dist/apis/billing.d.cts +2 -2
  40. package/dist/apis/billing.d.ts +2 -2
  41. package/dist/apis/billing.js +1 -2
  42. package/dist/apis/blueprint-manifest.cjs +1 -2
  43. package/dist/apis/blueprint-manifest.d.cts +2 -2
  44. package/dist/apis/blueprint-manifest.d.ts +2 -2
  45. package/dist/apis/blueprint-manifest.js +1 -2
  46. package/dist/apis/consent.cjs +1 -2
  47. package/dist/apis/consent.d.cts +2 -2
  48. package/dist/apis/consent.d.ts +2 -2
  49. package/dist/apis/consent.js +1 -2
  50. package/dist/apis/customer-portal.cjs +1 -2
  51. package/dist/apis/customer-portal.d.cts +2 -2
  52. package/dist/apis/customer-portal.d.ts +2 -2
  53. package/dist/apis/customer-portal.js +1 -2
  54. package/dist/apis/data-management.cjs +1 -2
  55. package/dist/apis/data-management.d.cts +2 -2
  56. package/dist/apis/data-management.d.ts +2 -2
  57. package/dist/apis/data-management.js +1 -2
  58. package/dist/apis/deduplication.cjs +1 -2
  59. package/dist/apis/deduplication.d.cts +2 -2
  60. package/dist/apis/deduplication.d.ts +2 -2
  61. package/dist/apis/deduplication.js +1 -2
  62. package/dist/apis/design.cjs +1 -2
  63. package/dist/apis/design.d.cts +2 -2
  64. package/dist/apis/design.d.ts +2 -2
  65. package/dist/apis/design.js +1 -2
  66. package/dist/apis/discussion.cjs +1 -2
  67. package/dist/apis/discussion.d.cts +2 -2
  68. package/dist/apis/discussion.d.ts +2 -2
  69. package/dist/apis/discussion.js +1 -2
  70. package/dist/apis/document.cjs +1 -2
  71. package/dist/apis/document.d.cts +2 -2
  72. package/dist/apis/document.d.ts +2 -2
  73. package/dist/apis/document.js +1 -2
  74. package/dist/apis/email-settings.cjs +1 -2
  75. package/dist/apis/email-settings.d.cts +2 -2
  76. package/dist/apis/email-settings.d.ts +2 -2
  77. package/dist/apis/email-settings.js +1 -2
  78. package/dist/apis/email-template.cjs +1 -2
  79. package/dist/apis/email-template.d.cts +2 -2
  80. package/dist/apis/email-template.d.ts +2 -2
  81. package/dist/apis/email-template.js +1 -2
  82. package/dist/apis/entity-mapping.cjs +1 -2
  83. package/dist/apis/entity-mapping.d.cts +2 -2
  84. package/dist/apis/entity-mapping.d.ts +2 -2
  85. package/dist/apis/entity-mapping.js +1 -2
  86. package/dist/apis/entity.cjs +1 -2
  87. package/dist/apis/entity.d.cts +2 -2
  88. package/dist/apis/entity.d.ts +2 -2
  89. package/dist/apis/entity.js +1 -2
  90. package/dist/apis/environments.cjs +1 -2
  91. package/dist/apis/environments.d.cts +2 -2
  92. package/dist/apis/environments.d.ts +2 -2
  93. package/dist/apis/environments.js +1 -2
  94. package/dist/apis/erp-integration.cjs +1 -2
  95. package/dist/apis/erp-integration.d.cts +2 -2
  96. package/dist/apis/erp-integration.d.ts +2 -2
  97. package/dist/apis/erp-integration.js +1 -2
  98. package/dist/apis/event-catalog.cjs +1 -2
  99. package/dist/apis/event-catalog.d.cts +2 -2
  100. package/dist/apis/event-catalog.d.ts +2 -2
  101. package/dist/apis/event-catalog.js +1 -2
  102. package/dist/apis/file.cjs +1 -2
  103. package/dist/apis/file.d.cts +2 -2
  104. package/dist/apis/file.d.ts +2 -2
  105. package/dist/apis/file.js +1 -2
  106. package/dist/apis/iban.cjs +1 -2
  107. package/dist/apis/iban.d.cts +2 -2
  108. package/dist/apis/iban.d.ts +2 -2
  109. package/dist/apis/iban.js +1 -2
  110. package/dist/apis/journey.cjs +1 -2
  111. package/dist/apis/journey.d.cts +2 -2
  112. package/dist/apis/journey.d.ts +2 -2
  113. package/dist/apis/journey.js +1 -2
  114. package/dist/apis/kanban.cjs +1 -2
  115. package/dist/apis/kanban.d.cts +2 -2
  116. package/dist/apis/kanban.d.ts +2 -2
  117. package/dist/apis/kanban.js +1 -2
  118. package/dist/apis/message.cjs +1 -2
  119. package/dist/apis/message.d.cts +2 -2
  120. package/dist/apis/message.d.ts +2 -2
  121. package/dist/apis/message.js +1 -2
  122. package/dist/apis/metering.cjs +1 -2
  123. package/dist/apis/metering.d.cts +2 -2
  124. package/dist/apis/metering.d.ts +2 -2
  125. package/dist/apis/metering.js +1 -2
  126. package/dist/apis/notes.cjs +1 -2
  127. package/dist/apis/notes.d.cts +2 -2
  128. package/dist/apis/notes.d.ts +2 -2
  129. package/dist/apis/notes.js +1 -2
  130. package/dist/apis/notification.cjs +1 -2
  131. package/dist/apis/notification.d.cts +2 -2
  132. package/dist/apis/notification.d.ts +2 -2
  133. package/dist/apis/notification.js +1 -2
  134. package/dist/apis/organization.cjs +1 -2
  135. package/dist/apis/organization.d.cts +2 -2
  136. package/dist/apis/organization.d.ts +2 -2
  137. package/dist/apis/organization.js +1 -2
  138. package/dist/apis/partner-directory.cjs +1 -2
  139. package/dist/apis/partner-directory.d.cts +2 -2
  140. package/dist/apis/partner-directory.d.ts +2 -2
  141. package/dist/apis/partner-directory.js +1 -2
  142. package/dist/apis/permissions.cjs +1 -2
  143. package/dist/apis/permissions.d.cts +2 -2
  144. package/dist/apis/permissions.d.ts +2 -2
  145. package/dist/apis/permissions.js +1 -2
  146. package/dist/apis/pricing-tier.cjs +1 -2
  147. package/dist/apis/pricing-tier.d.cts +2 -2
  148. package/dist/apis/pricing-tier.d.ts +2 -2
  149. package/dist/apis/pricing-tier.js +1 -2
  150. package/dist/apis/pricing.cjs +1 -2
  151. package/dist/apis/pricing.d.cts +2 -2
  152. package/dist/apis/pricing.d.ts +2 -2
  153. package/dist/apis/pricing.js +1 -2
  154. package/dist/apis/purpose.cjs +1 -2
  155. package/dist/apis/purpose.d.cts +2 -2
  156. package/dist/apis/purpose.d.ts +2 -2
  157. package/dist/apis/purpose.js +1 -2
  158. package/dist/apis/sandbox.cjs +1 -2
  159. package/dist/apis/sandbox.d.cts +2 -2
  160. package/dist/apis/sandbox.d.ts +2 -2
  161. package/dist/apis/sandbox.js +1 -2
  162. package/dist/apis/submission.cjs +1 -2
  163. package/dist/apis/submission.d.cts +2 -2
  164. package/dist/apis/submission.d.ts +2 -2
  165. package/dist/apis/submission.js +1 -2
  166. package/dist/apis/targeting.cjs +1 -2
  167. package/dist/apis/targeting.d.cts +2 -2
  168. package/dist/apis/targeting.d.ts +2 -2
  169. package/dist/apis/targeting.js +1 -2
  170. package/dist/apis/template-variables.cjs +1 -2
  171. package/dist/apis/template-variables.d.cts +2 -2
  172. package/dist/apis/template-variables.d.ts +2 -2
  173. package/dist/apis/template-variables.js +1 -2
  174. package/dist/apis/user.cjs +1 -2
  175. package/dist/apis/user.d.cts +2 -2
  176. package/dist/apis/user.d.ts +2 -2
  177. package/dist/apis/user.js +1 -2
  178. package/dist/apis/validation-rules.cjs +1 -2
  179. package/dist/apis/validation-rules.d.cts +2 -2
  180. package/dist/apis/validation-rules.d.ts +2 -2
  181. package/dist/apis/validation-rules.js +1 -2
  182. package/dist/apis/webhooks.cjs +1 -2
  183. package/dist/apis/webhooks.d.cts +2 -2
  184. package/dist/apis/webhooks.d.ts +2 -2
  185. package/dist/apis/webhooks.js +1 -2
  186. package/dist/apis/workflow-definition.cjs +1 -2
  187. package/dist/apis/workflow-definition.d.cts +2 -2
  188. package/dist/apis/workflow-definition.d.ts +2 -2
  189. package/dist/apis/workflow-definition.js +1 -2
  190. package/dist/apis/workflow.cjs +1 -2
  191. package/dist/apis/workflow.d.cts +2 -2
  192. package/dist/apis/workflow.d.ts +2 -2
  193. package/dist/apis/workflow.js +1 -2
  194. package/dist/{app-UUTBO3WJ.js → app-BUVEXAK3.js} +0 -2
  195. package/dist/{app-XJGY6SHO.cjs → app-SWOVCSF6.cjs} +1 -3
  196. package/dist/{audit-logs-4IJYIOXF.js → audit-logs-EZF74KKE.js} +0 -2
  197. package/dist/{audit-logs-UWLCPBB4.cjs → audit-logs-ZNE4XISB.cjs} +1 -3
  198. package/dist/{automation-4UQADTDO.cjs → automation-F4AXMRUS.cjs} +1 -3
  199. package/dist/{automation-PVXTQLZX.js → automation-NSOLJEPW.js} +0 -2
  200. package/dist/{billing-FI4V4UX5.cjs → billing-FXH4A3ET.cjs} +1 -3
  201. package/dist/{billing-OMWNJHGW.js → billing-PW2UJOFR.js} +0 -2
  202. package/dist/{blueprint-manifest-CPQAL76N.cjs → blueprint-manifest-N4UM55KM.cjs} +1 -3
  203. package/dist/{blueprint-manifest-FIMGDHSH.js → blueprint-manifest-U3DMIHGW.js} +0 -2
  204. package/dist/{consent-NHDCDJMK.js → consent-NL2FMBRZ.js} +0 -2
  205. package/dist/{consent-R5GU3WCK.cjs → consent-XLVBVWHP.cjs} +1 -3
  206. package/dist/{customer-portal-6AV2W43T.cjs → customer-portal-6NZR53MJ.cjs} +1 -3
  207. package/dist/{customer-portal-EY57GJYV.js → customer-portal-PXA64RS2.js} +0 -2
  208. package/dist/{data-management-ILQUYNTN.cjs → data-management-7VCKRRKT.cjs} +1 -3
  209. package/dist/{data-management-QMXOLOEG.js → data-management-CWNNHKNR.js} +0 -2
  210. package/dist/{deduplication-IVXANO7S.cjs → deduplication-AHDZHLWJ.cjs} +1 -3
  211. package/dist/{deduplication-WN45DVK3.js → deduplication-UNYDU6FC.js} +0 -2
  212. package/dist/{design-UHMRO3PG.js → design-GTK6ERS7.js} +0 -2
  213. package/dist/{design-ONRLY6XI.cjs → design-HINGIGZM.cjs} +1 -3
  214. package/dist/{discussion-VWMWL2AF.js → discussion-5AQSWLCJ.js} +0 -2
  215. package/dist/{discussion-4CZIG3ZM.cjs → discussion-ZHZII3JN.cjs} +1 -3
  216. package/dist/{document-PCKNZA4K.cjs → document-3DJGB6C5.cjs} +1 -3
  217. package/dist/{document-CN3JNXFF.js → document-4EBYTKOK.js} +0 -2
  218. package/dist/{email-settings-YE2XB2ZU.cjs → email-settings-37WEBRIE.cjs} +1 -3
  219. package/dist/{email-settings-ANURQMKZ.js → email-settings-WYXVYZA5.js} +0 -2
  220. package/dist/{email-template-BUJBC6HH.cjs → email-template-AJGRNOGO.cjs} +1 -3
  221. package/dist/{email-template-4QI4YS4J.js → email-template-L3LCVGGX.js} +0 -2
  222. package/dist/{entity-BCFE3UJT.cjs → entity-FK3QEH7K.cjs} +1 -3
  223. package/dist/{entity-VEXNQC4Y.js → entity-VCBDLBZ5.js} +0 -2
  224. package/dist/{entity-mapping-QK7MGNAW.js → entity-mapping-LEEXGKNQ.js} +0 -2
  225. package/dist/{entity-mapping-PHRLSYP7.cjs → entity-mapping-OIA23UV2.cjs} +1 -3
  226. package/dist/{environments-AV7W6SLT.js → environments-NX2KO6PH.js} +0 -2
  227. package/dist/{environments-266S44UM.cjs → environments-PDN2RNB6.cjs} +1 -3
  228. package/dist/{erp-integration-5WNBCGWS.cjs → erp-integration-C7XAKQOQ.cjs} +1 -3
  229. package/dist/{erp-integration-EMI5WIWA.js → erp-integration-TA23TPTK.js} +0 -2
  230. package/dist/{event-catalog-KKMXV5LB.js → event-catalog-CXGU2MWM.js} +0 -2
  231. package/dist/{event-catalog-DBWYKQ6J.cjs → event-catalog-JHJU3EPR.cjs} +1 -3
  232. package/dist/{file-Q66N5XMG.cjs → file-FIIYM6KO.cjs} +1 -3
  233. package/dist/{file-3ZLMS6TL.js → file-GRLGXATS.js} +0 -2
  234. package/dist/{iban-Q27INTOC.js → iban-IQH45QEI.js} +0 -2
  235. package/dist/{iban-HSXVSIFW.cjs → iban-YHV77AIE.cjs} +1 -3
  236. package/dist/index.cjs +55 -62
  237. package/dist/index.d.cts +5 -5
  238. package/dist/index.d.ts +5 -5
  239. package/dist/index.js +55 -62
  240. package/dist/{journey-T2Y72EBS.cjs → journey-B5Q2FQUI.cjs} +1 -3
  241. package/dist/{journey-DGKXVWZQ.js → journey-XW3RJCI3.js} +0 -2
  242. package/dist/{kanban-A4B6RCJ2.cjs → kanban-4LZGTSAF.cjs} +1 -3
  243. package/dist/{kanban-PP6WJVT2.js → kanban-NRSJ6S4X.js} +0 -2
  244. package/dist/{message-D6JY4GJH.cjs → message-IV6F3CN5.cjs} +1 -3
  245. package/dist/{message-HFX2DDCV.js → message-VYRBWAWQ.js} +0 -2
  246. package/dist/{metering-F63PNFCZ.js → metering-BOIQK6LV.js} +0 -2
  247. package/dist/{metering-63MJFCS2.cjs → metering-WJVI6BHJ.cjs} +1 -3
  248. package/dist/{notes-GMWTQCMB.js → notes-XXYAHYEC.js} +0 -2
  249. package/dist/{notes-FTL5H4JE.cjs → notes-ZQR635GX.cjs} +1 -3
  250. package/dist/{notification-WXFSOORN.cjs → notification-7APLCFR5.cjs} +1 -3
  251. package/dist/{notification-XHG3TIBW.js → notification-B634CDPT.js} +0 -2
  252. package/dist/{organization-XIFV7MWP.cjs → organization-BXJ2BPQB.cjs} +1 -3
  253. package/dist/{organization-CPXTUDJO.js → organization-WGTTJC22.js} +0 -2
  254. package/dist/{partner-directory-FKWPPO7F.cjs → partner-directory-IHOFVMEK.cjs} +1 -3
  255. package/dist/{partner-directory-4WCHPJRO.js → partner-directory-K6CQVWVG.js} +0 -2
  256. package/dist/{permissions-PBTK5CCD.cjs → permissions-J7BIGOLO.cjs} +1 -3
  257. package/dist/{permissions-5E36GPG3.js → permissions-XRJ6WEZR.js} +0 -2
  258. package/dist/{pricing-FZQKL4DW.cjs → pricing-GSIASLCP.cjs} +1 -3
  259. package/dist/{pricing-FDWEBIQU.js → pricing-VVOEIVQC.js} +0 -2
  260. package/dist/{pricing-tier-F4HE6WIM.cjs → pricing-tier-NHXSXS7D.cjs} +1 -3
  261. package/dist/{pricing-tier-34O624R4.js → pricing-tier-U5KRZDL2.js} +0 -2
  262. package/dist/{purpose-MX33NU5H.js → purpose-K655DFAO.js} +0 -2
  263. package/dist/{purpose-47HJIG2Q.cjs → purpose-XH2OQHGH.cjs} +1 -3
  264. package/dist/{sandbox-7QNLGFN2.cjs → sandbox-4DRHKRB6.cjs} +1 -3
  265. package/dist/{sandbox-TZCXHBJN.js → sandbox-PV747LWK.js} +0 -2
  266. package/dist/{submission-6LSPBI27.js → submission-7NPVVBLM.js} +0 -2
  267. package/dist/{submission-DBQNDJ4B.cjs → submission-RUDXWIRC.cjs} +1 -3
  268. package/dist/{targeting-MTQ6JBCY.js → targeting-4ID5YPCA.js} +0 -2
  269. package/dist/{targeting-HZRCLNIF.cjs → targeting-DOARNZSZ.cjs} +1 -3
  270. package/dist/{template-variables-VPNIMC7L.cjs → template-variables-HAYGELOR.cjs} +1 -3
  271. package/dist/{template-variables-S6IXK7SF.js → template-variables-XSEX25IR.js} +0 -2
  272. package/dist/{types-C5cGIwtq.d.cts → types-DNnaR-86.d.cts} +10 -4
  273. package/dist/{types-C5cGIwtq.d.ts → types-DNnaR-86.d.ts} +10 -4
  274. package/dist/{user-BHH4DAA5.cjs → user-DPU5W4TD.cjs} +1 -3
  275. package/dist/{user-KBXFVRPI.js → user-HJCIYGFV.js} +0 -2
  276. package/dist/{validation-rules-UGQY4ASY.js → validation-rules-2Z3W27TI.js} +0 -2
  277. package/dist/{validation-rules-4V7KAWGW.cjs → validation-rules-STLI5T53.cjs} +1 -3
  278. package/dist/{webhooks-JR475VD4.js → webhooks-OYG6A7LP.js} +0 -2
  279. package/dist/{webhooks-X64U3KCB.cjs → webhooks-QV777IJ3.cjs} +1 -3
  280. package/dist/{workflow-DWSAHA5Q.js → workflow-3PROUTPA.js} +0 -2
  281. package/dist/{workflow-7ANPQZDP.cjs → workflow-STQM54XS.cjs} +1 -3
  282. package/dist/{workflow-definition-2M3JBCUI.cjs → workflow-definition-3VVAPDSE.cjs} +1 -3
  283. package/dist/{workflow-definition-WLPGEU55.js → workflow-definition-WEU344MV.js} +0 -2
  284. package/package.json +2 -2
  285. package/dist/chunk-3RG5ZIWI.js +0 -10
  286. package/dist/chunk-OBGZSXTJ.cjs +0 -10
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  <h1 align="center"><img alt="epilot" src="https://raw.githubusercontent.com/epilot-dev/sdk-js/main/logo.png" width="200"><br>@epilot/sdk</h1>
2
2
 
3
+ <p align="center">
4
+ <a href="https://github.com/epilot-dev/sdk-js/actions?query=workflow%3ACI"><img src="https://github.com/epilot-dev/sdk-js/workflows/CI/badge.svg" alt="CI"></a>
5
+ <a href="https://www.npmjs.com/package/@epilot/sdk"><img src="https://img.shields.io/npm/v/@epilot/sdk.svg" alt="npm version"></a>
6
+ <a href="https://github.com/epilot-dev/sdk-js/blob/main/"><img src="http://img.shields.io/:license-mit-blue.svg" alt="License"></a>
7
+ </p>
8
+
3
9
  <p align="center">JavaScript/TypeScript SDK for epilot APIs. Full types, tree-shakeable imports, and lazy-loaded OpenAPI specs.</p>
4
10
 
5
11
  ## Install
@@ -135,20 +141,55 @@ epilot.authorize(async () => await getTokenFromSession())
135
141
  epilot.authorize('my-static-api-token')
136
142
  ```
137
143
 
138
- ### Interceptors
144
+ ## Fresh Client Instance
145
+
146
+ ```ts
147
+ import { createClient, authorize } from '@epilot/sdk/entity'
148
+
149
+ const entityClient = await createClient()
150
+ authorize(entityClient, () => '<my-token>')
151
+ entityClient.defaults.headers.common['x-epilot-org-id'] = 'org-123'
152
+ ```
139
153
 
140
- Use interceptors for custom request/response processing:
154
+ ## Multiple SDK Instances
141
155
 
142
156
  ```ts
143
- import { epilot } from '@epilot/sdk'
157
+ import { createSDK } from '@epilot/sdk'
144
158
 
159
+ const sdk1 = createSDK()
160
+ sdk1.authorize(() => '<token-for-org-1>')
161
+ sdk1.headers({ 'x-epilot-org-id': 'org-1' })
162
+
163
+ const sdk2 = createSDK()
164
+ sdk2.authorize(() => '<token-for-org-2>')
165
+ sdk2.headers({ 'x-epilot-org-id': 'org-2' })
166
+ ```
167
+
168
+
169
+ ## Interceptors
170
+
171
+ Use axios interceptors for custom request/response processing. Since clients are axios instances, you can use `client.interceptors` directly:
172
+
173
+ ```ts
174
+ entityClient.interceptors.response.use((response) => {
175
+ console.debug(`${response.config.method?.toUpperCase()} ${response.config.url}`, {
176
+ status: response.status,
177
+ data: response.data,
178
+ })
179
+ return response
180
+ })
181
+ ```
182
+
183
+ Or register global interceptors applied to all clients:
184
+
185
+ ```ts
145
186
  epilot.interceptors.request((config) => {
146
187
  config.headers['x-correlation-id'] = generateTraceId()
147
188
  return config
148
189
  })
149
190
  ```
150
191
 
151
- ### Auto-Retry (429 Too Many Requests)
192
+ ## Auto-Retry (429 Too Many Requests)
152
193
 
153
194
  The SDK automatically retries requests that receive a `429 Too Many Requests` response. It respects the `Retry-After` header (in seconds) to determine how long to wait before retrying.
154
195
 
@@ -180,7 +221,7 @@ authorize(entityClient, () => '<my-token>')
180
221
  applyRetryInterceptor({ client: entityClient, config: { maxRetries: 3 } })
181
222
  ```
182
223
 
183
- ### Large Response Handling (413 Payload Too Large)
224
+ ## Large Response Handling (413 Payload Too Large)
184
225
 
185
226
  epilot APIs use a [large response middleware](https://github.com/epilot-dev/aws-lambda-utility-middlewares) to work around the AWS Lambda 6MB response limit. When a response exceeds ~5.1MB, the API uploads the payload to S3 and returns a presigned URL instead.
186
227
 
@@ -204,46 +245,6 @@ authorize(entityClient, () => '<my-token>')
204
245
  applyLargeResponseInterceptor({ client: entityClient, config: { enabled: true } })
205
246
  ```
206
247
 
207
- ### Backend Internal Calls (Pass Headers)
208
-
209
- ```ts
210
- import { epilot } from '@epilot/sdk'
211
-
212
- const setupInternalClient = (incomingHeaders: Record<string, string>) => {
213
- epilot.authorize(() => incomingHeaders.authorization.replace('Bearer ', ''))
214
-
215
- epilot.headers({
216
- 'x-ivy-org-id': incomingHeaders['x-ivy-org-id'],
217
- 'x-epilot-org-id': incomingHeaders['x-epilot-org-id'],
218
- 'x-epilot-user-id': incomingHeaders['x-epilot-user-id'],
219
- })
220
- }
221
- ```
222
-
223
- ## Fresh Client Instance
224
-
225
- ```ts
226
- import { createClient, authorize } from '@epilot/sdk/entity'
227
-
228
- const entityClient = await createClient()
229
- authorize(entityClient, () => '<my-token>')
230
- entityClient.defaults.headers.common['x-epilot-org-id'] = 'org-123'
231
- ```
232
-
233
- ## Multiple SDK Instances
234
-
235
- ```ts
236
- import { createSDK } from '@epilot/sdk'
237
-
238
- const sdk1 = createSDK()
239
- sdk1.authorize(() => '<token-for-org-1>')
240
- sdk1.headers({ 'x-epilot-org-id': 'org-1' })
241
-
242
- const sdk2 = createSDK()
243
- sdk2.authorize(() => '<token-for-org-2>')
244
- sdk2.headers({ 'x-epilot-org-id': 'org-2' })
245
- ```
246
-
247
248
  ## Overrides & Custom APIs
248
249
 
249
250
  Override built-in API specs or register custom APIs via `.epilot/sdk-overrides.json`. This is useful for testing new versions of an API spec or getting the latest types without waiting for an SDK release.
@@ -274,7 +275,8 @@ npx epilot-sdk override entity ./my-local-entity-spec.yaml
274
275
  npx epilot-sdk typegen
275
276
  ```
276
277
 
277
- ## Migration from `@epilot/*-client`
278
+ <details>
279
+ <summary>Migration from <code>@epilot/*-client</code></summary>
278
280
 
279
281
  ### Singleton import
280
282
 
@@ -305,12 +307,16 @@ const entityClient = await createClient()
305
307
  ```ts
306
308
  // Before
307
309
  import type { Client, Components } from '@epilot/entity-client'
310
+ type MyEntity = Components.Schemas.Entity
308
311
 
309
- // After (Client, OperationMethods, PathsDictionary are re-exported)
310
- import type { Client } from '@epilot/sdk/entity'
312
+ // After
313
+ import type { Client, Entity } from '@epilot/sdk/entity'
311
314
  ```
312
315
 
313
- ## Client LifecycleV
316
+ </details>
317
+
318
+ <details>
319
+ <summary>Client Lifecycle</summary>
314
320
 
315
321
  When you call `authorize()`, `headers()`, `retry()`, `largeResponse()`, or `interceptors`, the SDK invalidates all cached client instances. The next operation call creates a fresh client with the updated configuration.
316
322
 
@@ -319,16 +325,18 @@ When you call `authorize()`, `headers()`, `retry()`, `largeResponse()`, or `inte
319
325
  **Direct `getClient()` references can go stale** — if you hold a reference and then change config, your reference still points to the old client:
320
326
 
321
327
  ```ts
322
- const client = await epilot.entity.getClient()
328
+ const entityClient = await epilot.entity.getClient()
323
329
 
324
330
  epilot.authorize('new-token') // invalidates all cached clients
325
331
 
326
- // client still has the old token
332
+ // entityClient still has the old token
327
333
  // epilot.entity.getEntity(...) will use a new client with the new token
328
334
  ```
329
335
 
330
336
  If you need a long-lived reference that survives config changes, call `getClient()` again after changing config — or use proxy operations directly.
331
337
 
338
+ </details>
339
+
332
340
 
333
341
  ## API Reference
334
342
 
@@ -1,5 +1,3 @@
1
- import "./chunk-3RG5ZIWI.js";
2
-
3
1
  // src/definitions/access-token.json
4
2
  var openapi = "3.0.3";
5
3
  var info = {
@@ -1,6 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OBGZSXTJ.cjs');
2
-
3
- // src/definitions/access-token.json
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/definitions/access-token.json
4
2
  var openapi = "3.0.3";
5
3
  var info = {
6
4
  title: "",
@@ -1,6 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OBGZSXTJ.cjs');
2
-
3
- // src/definitions/address.json
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/definitions/address.json
4
2
  var openapi = "3.1.0";
5
3
  var info = {
6
4
  title: "",
@@ -1,5 +1,3 @@
1
- import "./chunk-3RG5ZIWI.js";
2
-
3
1
  // src/definitions/address.json
4
2
  var openapi = "3.1.0";
5
3
  var info = {
@@ -1,5 +1,3 @@
1
- import "./chunk-3RG5ZIWI.js";
2
-
3
1
  // src/definitions/address-suggestions.json
4
2
  var openapi = "3.0.3";
5
3
  var info = {
@@ -1,6 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OBGZSXTJ.cjs');
2
-
3
- // src/definitions/address-suggestions.json
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/definitions/address-suggestions.json
4
2
  var openapi = "3.0.3";
5
3
  var info = {
6
4
  title: "",
@@ -1,5 +1,3 @@
1
- import "./chunk-3RG5ZIWI.js";
2
-
3
1
  // src/definitions/ai-agents.json
4
2
  var openapi = "3.0.0";
5
3
  var info = {
@@ -1,6 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OBGZSXTJ.cjs');
2
-
3
- // src/definitions/ai-agents.json
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/definitions/ai-agents.json
4
2
  var openapi = "3.0.0";
5
3
  var info = {
6
4
  title: "",
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/access-token.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../access-token-MYDOBCIY.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../access-token-IWRB3AQC.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../access-token.d-BuXO-21p.cjs';
4
4
  export { A as AccessToken, a as AccessTokenId, b as AccessTokenItem, c as AccessTokenJourneyId, d as AccessTokenName, e as AccessTokenParameters, f as AccessTokenType, g as AppTokenParameters, h as Assignments, i as AssumeTokenParameters, E as ExpiresIn, J as JourneyTokenParameters, O as OperationMethods, P as PathsDictionary, j as PortalId, k as PortalTokenParameters, R as RoleId, T as TokenParameters } from '../access-token.d-BuXO-21p.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../access-token.d-BuXO-21p.js';
4
4
  export { A as AccessToken, a as AccessTokenId, b as AccessTokenItem, c as AccessTokenJourneyId, d as AccessTokenName, e as AccessTokenParameters, f as AccessTokenType, g as AppTokenParameters, h as Assignments, i as AssumeTokenParameters, E as ExpiresIn, J as JourneyTokenParameters, O as OperationMethods, P as PathsDictionary, j as PortalId, k as PortalTokenParameters, R as RoleId, T as TokenParameters } from '../access-token.d-BuXO-21p.js';
5
5
  import 'axios';
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/access-token.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../access-token-Y5JR7PRG.js");
9
+ const mod = await import("../access-token-4WG44JE6.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/address-suggestions.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../address-suggestions-PEKSA7B2.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../address-suggestions-RQNIFLF6.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../address-suggestions.d-Cay0qOfA.cjs';
4
4
  export { A as AddressSuggestion, a as AddressSuggestionError, b as AddressSuggestions, c as AvailabilityLocation, d as AvailabilityResult, E as Error, O as OperationMethods, P as PathsDictionary, V as ValidateAddressFileError, e as ValidateAddressFileResult, f as ValidateAddressSuggestionsFileResult } from '../address-suggestions.d-Cay0qOfA.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../address-suggestions.d-Cay0qOfA.js';
4
4
  export { A as AddressSuggestion, a as AddressSuggestionError, b as AddressSuggestions, c as AvailabilityLocation, d as AvailabilityResult, E as Error, O as OperationMethods, P as PathsDictionary, V as ValidateAddressFileError, e as ValidateAddressFileResult, f as ValidateAddressSuggestionsFileResult } from '../address-suggestions.d-Cay0qOfA.js';
5
5
  import 'axios';
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/address-suggestions.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../address-suggestions-QNK5JWNH.js");
9
+ const mod = await import("../address-suggestions-44CVMN3H.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/address.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../address-LQUTDOUA.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../address-RCFHYZ32.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../address.d-D-oZY0rk.cjs';
4
4
  export { A as AddressSuggestion, a as AddressSuggestions, b as AvailabilityCheckParams, c as AvailabilityDate, d as AvailabilityFilters, e as AvailabilityLocation, f as AvailabilityResult, E as ErrorResponse, O as OperationMethods, P as PathsDictionary, V as ValidateAvailabilityFileError, g as ValidateAvailabilityFileResult } from '../address.d-D-oZY0rk.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../address.d-D-oZY0rk.js';
4
4
  export { A as AddressSuggestion, a as AddressSuggestions, b as AvailabilityCheckParams, c as AvailabilityDate, d as AvailabilityFilters, e as AvailabilityLocation, f as AvailabilityResult, E as ErrorResponse, O as OperationMethods, P as PathsDictionary, V as ValidateAvailabilityFileError, g as ValidateAvailabilityFileResult } from '../address.d-D-oZY0rk.js';
5
5
  import 'axios';
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/address.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../address-3RQRG3MK.js");
9
+ const mod = await import("../address-YDZSS2Q2.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/ai-agents.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../ai-agents-MO4PK2RJ.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../ai-agents-TIBOWGRB.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../ai-agents.d-B4_CZTCP.cjs';
4
4
  export { A as AgentDefinition, a as AgentId, b as AgentSource, c as ApproveExecutionRequest, d as CreateAgentRequest, E as Error, e as ExecuteAgentRequest, f as ExecutionContext, g as ExecutionError, h as ExecutionIteration, i as ExecutionMetrics, j as ExecutionMode, k as ExecutionPattern, l as ExecutionResponse, m as ExecutionStatus, n as ExecutionTrace, I as InputParameterDefinition, o as InputParametersSchema, L as ListAgentsResponse, p as ListExecutionsResponse, M as ModelConfig, O as OperationMethods, q as ParameterType, P as PathsDictionary, r as PendingAction, s as PreviewActionType, t as PreviewChange, u as PreviewEntity, v as PreviewValue, R as RejectExecutionRequest, S as SkillAvailability, w as SkillCategory, T as ToolDefinition, x as ToolPreview, U as UpdateAgentRequest } from '../ai-agents.d-B4_CZTCP.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../ai-agents.d-B4_CZTCP.js';
4
4
  export { A as AgentDefinition, a as AgentId, b as AgentSource, c as ApproveExecutionRequest, d as CreateAgentRequest, E as Error, e as ExecuteAgentRequest, f as ExecutionContext, g as ExecutionError, h as ExecutionIteration, i as ExecutionMetrics, j as ExecutionMode, k as ExecutionPattern, l as ExecutionResponse, m as ExecutionStatus, n as ExecutionTrace, I as InputParameterDefinition, o as InputParametersSchema, L as ListAgentsResponse, p as ListExecutionsResponse, M as ModelConfig, O as OperationMethods, q as ParameterType, P as PathsDictionary, r as PendingAction, s as PreviewActionType, t as PreviewChange, u as PreviewEntity, v as PreviewValue, R as RejectExecutionRequest, S as SkillAvailability, w as SkillCategory, T as ToolDefinition, x as ToolPreview, U as UpdateAgentRequest } from '../ai-agents.d-B4_CZTCP.js';
5
5
  import 'axios';
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/ai-agents.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../ai-agents-OHP2F243.js");
9
+ const mod = await import("../ai-agents-7WY6J45W.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
package/dist/apis/app.cjs CHANGED
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/app.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../app-XJGY6SHO.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../app-SWOVCSF6.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../app.d-BKyfin-q.cjs';
4
4
  export { A as Actor, a as AggregatedEvents, b as AppBridgeSurfaceConfig, c as AppEventData, d as Audit, e as Author, B as BaseComponent, f as BaseComponentCommon, g as BaseCustomActionConfig, h as BatchEventRequest, i as BillingFrequency, j as BlueprintRef, k as BooleanArg, l as CallerIdentity, m as ComponentType, n as Configuration, o as ConfigurationMetadata, p as ConfigurationVersion, q as CustomCapabilityComponent, r as CustomFlowActionComponent, s as CustomFlowConfig, t as CustomPageComponent, u as CustomPageConfig, E as EnumArg, v as ErpInformToolkitComponent, w as EventsQuery, x as EventsQueryResponse, y as ExternalIntegrationCustomActionConfig, z as ExternalProductCatalogAuthBlock, D as ExternalProductCatalogComponent, F as ExternalProductCatalogConfig, G as ExternalProductCatalogHookProductRecommendations, H as ExternalProductCatalogHookProducts, I as Grants, J as Installation, K as JourneyBlockComponent, L as JourneyBlockComponentArgs, M as JourneyBlockConfig, N as NotificationConfig, Q as NotificationEvent, O as OperationMethods, R as Option, S as Options, T as OptionsRef, U as OverrideDevMode, P as PathsDictionary, V as PortalBlockComponent, W as PortalBlockConfig, X as PortalBlockSurfaceConfig, Y as PortalExtensionAuthBlock, Z as PortalExtensionComponent, _ as PortalExtensionConfig, $ as PortalExtensionHookConsumptionDataRetrieval, a0 as PortalExtensionHookContractIdentification, a1 as PortalExtensionHookCostDataRetrieval, a2 as PortalExtensionHookMeterReadingPlausibilityCheck, a3 as PortalExtensionHookPriceDataRetrieval, a4 as PortalExtensionHookRegistrationIdentifiersCheck, a5 as PortalExtensionSeamlessLink, a6 as Pricing, a7 as PublicConfiguration, a8 as RawEvents, a9 as Review, aa as Role, ab as S3Reference, ac as SandboxCustomActionConfig, ad as TextArg, ae as TranslatedString } from '../app.d-BKyfin-q.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../app.d-BKyfin-q.js';
4
4
  export { A as Actor, a as AggregatedEvents, b as AppBridgeSurfaceConfig, c as AppEventData, d as Audit, e as Author, B as BaseComponent, f as BaseComponentCommon, g as BaseCustomActionConfig, h as BatchEventRequest, i as BillingFrequency, j as BlueprintRef, k as BooleanArg, l as CallerIdentity, m as ComponentType, n as Configuration, o as ConfigurationMetadata, p as ConfigurationVersion, q as CustomCapabilityComponent, r as CustomFlowActionComponent, s as CustomFlowConfig, t as CustomPageComponent, u as CustomPageConfig, E as EnumArg, v as ErpInformToolkitComponent, w as EventsQuery, x as EventsQueryResponse, y as ExternalIntegrationCustomActionConfig, z as ExternalProductCatalogAuthBlock, D as ExternalProductCatalogComponent, F as ExternalProductCatalogConfig, G as ExternalProductCatalogHookProductRecommendations, H as ExternalProductCatalogHookProducts, I as Grants, J as Installation, K as JourneyBlockComponent, L as JourneyBlockComponentArgs, M as JourneyBlockConfig, N as NotificationConfig, Q as NotificationEvent, O as OperationMethods, R as Option, S as Options, T as OptionsRef, U as OverrideDevMode, P as PathsDictionary, V as PortalBlockComponent, W as PortalBlockConfig, X as PortalBlockSurfaceConfig, Y as PortalExtensionAuthBlock, Z as PortalExtensionComponent, _ as PortalExtensionConfig, $ as PortalExtensionHookConsumptionDataRetrieval, a0 as PortalExtensionHookContractIdentification, a1 as PortalExtensionHookCostDataRetrieval, a2 as PortalExtensionHookMeterReadingPlausibilityCheck, a3 as PortalExtensionHookPriceDataRetrieval, a4 as PortalExtensionHookRegistrationIdentifiersCheck, a5 as PortalExtensionSeamlessLink, a6 as Pricing, a7 as PublicConfiguration, a8 as RawEvents, a9 as Review, aa as Role, ab as S3Reference, ac as SandboxCustomActionConfig, ad as TextArg, ae as TranslatedString } from '../app.d-BKyfin-q.js';
5
5
  import 'axios';
package/dist/apis/app.js CHANGED
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/app.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../app-UUTBO3WJ.js");
9
+ const mod = await import("../app-BUVEXAK3.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/audit-logs.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../audit-logs-UWLCPBB4.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../audit-logs-ZNE4XISB.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../audit-logs.d-19BKb-ur.cjs';
4
4
  export { a as Caller, E as Event, H as HttpContext, O as OperationMethods, P as PathsDictionary, S as SearchOptions } from '../audit-logs.d-19BKb-ur.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../audit-logs.d-19BKb-ur.js';
4
4
  export { a as Caller, E as Event, H as HttpContext, O as OperationMethods, P as PathsDictionary, S as SearchOptions } from '../audit-logs.d-19BKb-ur.js';
5
5
  import 'axios';
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/audit-logs.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../audit-logs-4IJYIOXF.js");
9
+ const mod = await import("../audit-logs-EZF74KKE.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/automation.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../automation-4UQADTDO.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../automation-F4AXMRUS.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../automation.d-DKl2VtnW.cjs';
4
4
  export { A as ActionCondition, a as ActionSchedule, b as ActionScheduleSource, c as ActivityId, d as ActivityTrigger, e as AnyAction, f as AnyActionConfig, g as AnyTrigger, h as AnythingButCondition, i as ApiCallerContext, j as ApiSubmissionTrigger, k as AppendValueMapper, l as AssignThreadAction, m as AssignThreadConfig, n as AssignUsersToStep, o as AutomationAction, p as AutomationActionConfig, q as AutomationActionExecutionState, r as AutomationActionId, s as AutomationExecution, t as AutomationExecutionId, u as AutomationFlow, v as AutomationFlowId, w as AutomationTrigger, B as BulkTriggerJob, x as BulkTriggerRequest, y as CancellationReason, z as CartCheckoutAction, D as CartCheckoutActionConfig, E as CartCheckoutConfig, F as Comparison, G as ConditionStatement, H as CopyValueMapper, I as CreateDocumentAction, J as CreateDocumentActionConfig, K as CreateDocumentConfig, L as CustomAction, M as DiffAdded, N as DiffDeleted, Q as DiffUpdated, R as EntityId, S as EntityItemSnapshot, T as EntityManualTrigger, U as EntityOperation, V as EntityOperationTrigger, W as EntityRef, X as EntitySearchFilter, Y as EntitySearchFilterValue, Z as EqualsIgnoreCaseCondition, _ as ErrorCode, $ as ErrorDetail, a0 as ErrorObject, a1 as ErrorOutput, a2 as ExecItem, a3 as ExecutionChain, a4 as ExecutionStatus, a5 as ExistsCondition, a6 as FilterConditionOnEvent, a7 as FlowExecutionCancelAction, a8 as FlowExecutionCancelActionConfig, a9 as FlowExecutionCancelConfig, aa as FlowsTrigger, ab as FrontendSubmitTrigger, ac as GetExecutionsResp, ad as InformERPAction, ae as InformERPActionConfig, af as InformERPConfig, ag as JobId, ah as JourneySubmitTrigger, ai as MapEntityAction, aj as MapEntityActionConfig, ak as MapEntityConfig, al as MappingAttribute, am as MappingAttributeMode, an as MappingAttributeV2, ao as MappingConfigRef, ap as MoveThreadAction, aq as MoveThreadConfig, ar as NewEmailThreadTrigger, as as NumericCondition, O as OperationMethods, at as OperationNode, au as OperationObjectNode, av as OrCondition, aw as OrConditionForDiff, ax as OrganizationId, ay as PatchBulkJobRequest, P as PathsDictionary, az as PrefixCondition, aA as PrimitiveJSONValue, aB as ReceivedEmailTrigger, aC as RelationAttribute, aD as ResumeReq, aE as ResumeResp, aF as ResumeToken, aG as RetryReq, aH as RetryStrategy, aI as SearchAutomationsResp, aJ as SendEmailAction, aK as SendEmailActionConfig, aL as SendEmailCondition, aM as SendEmailConfig, aN as SetValueMapper, aO as StartExecutionRequest, aP as SuffixCondition, aQ as TriggerCondition, aR as TriggerContext, aS as TriggerEventAction, aT as TriggerEventActionConfig, aU as TriggerEventConfig, aV as TriggerEventEntityActivity, aW as TriggerEventEntityOperation, aX as TriggerEventFlowAutomationTask, aY as TriggerEventManual, aZ as TriggerEventMessaging, a_ as TriggerShareEntityAction, a$ as TriggerShareEntityActionConfig, b0 as TriggerShareEntityConfig, b1 as TriggerWebhookAction, b2 as TriggerWebhookActionConfig, b3 as TriggerWebhookConfig, b4 as TriggerWorkflowAction, b5 as TriggerWorkflowActionConfig, b6 as TriggerWorkflowCondition, b7 as TriggerWorkflowConfig, b8 as WildcardCondition, b9 as WorkflowContext, ba as WorkflowContextRole, bb as WorkflowExecutionContext } from '../automation.d-DKl2VtnW.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../automation.d-DKl2VtnW.js';
4
4
  export { A as ActionCondition, a as ActionSchedule, b as ActionScheduleSource, c as ActivityId, d as ActivityTrigger, e as AnyAction, f as AnyActionConfig, g as AnyTrigger, h as AnythingButCondition, i as ApiCallerContext, j as ApiSubmissionTrigger, k as AppendValueMapper, l as AssignThreadAction, m as AssignThreadConfig, n as AssignUsersToStep, o as AutomationAction, p as AutomationActionConfig, q as AutomationActionExecutionState, r as AutomationActionId, s as AutomationExecution, t as AutomationExecutionId, u as AutomationFlow, v as AutomationFlowId, w as AutomationTrigger, B as BulkTriggerJob, x as BulkTriggerRequest, y as CancellationReason, z as CartCheckoutAction, D as CartCheckoutActionConfig, E as CartCheckoutConfig, F as Comparison, G as ConditionStatement, H as CopyValueMapper, I as CreateDocumentAction, J as CreateDocumentActionConfig, K as CreateDocumentConfig, L as CustomAction, M as DiffAdded, N as DiffDeleted, Q as DiffUpdated, R as EntityId, S as EntityItemSnapshot, T as EntityManualTrigger, U as EntityOperation, V as EntityOperationTrigger, W as EntityRef, X as EntitySearchFilter, Y as EntitySearchFilterValue, Z as EqualsIgnoreCaseCondition, _ as ErrorCode, $ as ErrorDetail, a0 as ErrorObject, a1 as ErrorOutput, a2 as ExecItem, a3 as ExecutionChain, a4 as ExecutionStatus, a5 as ExistsCondition, a6 as FilterConditionOnEvent, a7 as FlowExecutionCancelAction, a8 as FlowExecutionCancelActionConfig, a9 as FlowExecutionCancelConfig, aa as FlowsTrigger, ab as FrontendSubmitTrigger, ac as GetExecutionsResp, ad as InformERPAction, ae as InformERPActionConfig, af as InformERPConfig, ag as JobId, ah as JourneySubmitTrigger, ai as MapEntityAction, aj as MapEntityActionConfig, ak as MapEntityConfig, al as MappingAttribute, am as MappingAttributeMode, an as MappingAttributeV2, ao as MappingConfigRef, ap as MoveThreadAction, aq as MoveThreadConfig, ar as NewEmailThreadTrigger, as as NumericCondition, O as OperationMethods, at as OperationNode, au as OperationObjectNode, av as OrCondition, aw as OrConditionForDiff, ax as OrganizationId, ay as PatchBulkJobRequest, P as PathsDictionary, az as PrefixCondition, aA as PrimitiveJSONValue, aB as ReceivedEmailTrigger, aC as RelationAttribute, aD as ResumeReq, aE as ResumeResp, aF as ResumeToken, aG as RetryReq, aH as RetryStrategy, aI as SearchAutomationsResp, aJ as SendEmailAction, aK as SendEmailActionConfig, aL as SendEmailCondition, aM as SendEmailConfig, aN as SetValueMapper, aO as StartExecutionRequest, aP as SuffixCondition, aQ as TriggerCondition, aR as TriggerContext, aS as TriggerEventAction, aT as TriggerEventActionConfig, aU as TriggerEventConfig, aV as TriggerEventEntityActivity, aW as TriggerEventEntityOperation, aX as TriggerEventFlowAutomationTask, aY as TriggerEventManual, aZ as TriggerEventMessaging, a_ as TriggerShareEntityAction, a$ as TriggerShareEntityActionConfig, b0 as TriggerShareEntityConfig, b1 as TriggerWebhookAction, b2 as TriggerWebhookActionConfig, b3 as TriggerWebhookConfig, b4 as TriggerWorkflowAction, b5 as TriggerWorkflowActionConfig, b6 as TriggerWorkflowCondition, b7 as TriggerWorkflowConfig, b8 as WildcardCondition, b9 as WorkflowContext, ba as WorkflowContextRole, bb as WorkflowExecutionContext } from '../automation.d-DKl2VtnW.js';
5
5
  import 'axios';
@@ -3,11 +3,10 @@ import {
3
3
  createApiClient,
4
4
  createApiHandle
5
5
  } from "../chunk-UCDXDIUX.js";
6
- import "../chunk-3RG5ZIWI.js";
7
6
 
8
7
  // src/apis/automation.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await import("../automation-PVXTQLZX.js");
9
+ const mod = await import("../automation-NSOLJEPW.js");
11
10
  return mod.default ?? mod;
12
11
  };
13
12
  var _instance = null;
@@ -3,11 +3,10 @@
3
3
 
4
4
 
5
5
  var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
6
- require('../chunk-OBGZSXTJ.cjs');
7
6
 
8
7
  // src/apis/billing.ts
9
8
  var loadDefinition = async () => {
10
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../billing-FI4V4UX5.cjs")));
9
+ const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../billing-FXH4A3ET.cjs")));
11
10
  return _nullishCoalesce(mod.default, () => ( mod));
12
11
  };
13
12
  var _instance = null;
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.cjs';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
3
3
  import { C as Client } from '../billing.d-58fUMBqj.cjs';
4
4
  export { B as Balance, a as BaseBillingEvent, b as BaseEntity, c as BillingEvent, d as Contract, e as ContractItem, f as Currency, E as EntityId, g as EntityRelationItem, h as EntitySlug, I as InstallmentEvent, O as OperationMethods, P as PathsDictionary, R as ReimbursementEvent } from '../billing.d-58fUMBqj.cjs';
5
5
  import 'axios';
@@ -1,5 +1,5 @@
1
- import { A as ApiHandle } from '../types-C5cGIwtq.js';
2
- export { T as TokenArg, a as authorize } from '../types-C5cGIwtq.js';
1
+ import { A as ApiHandle } from '../types-DNnaR-86.js';
2
+ export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
3
3
  import { C as Client } from '../billing.d-58fUMBqj.js';
4
4
  export { B as Balance, a as BaseBillingEvent, b as BaseEntity, c as BillingEvent, d as Contract, e as ContractItem, f as Currency, E as EntityId, g as EntityRelationItem, h as EntitySlug, I as InstallmentEvent, O as OperationMethods, P as PathsDictionary, R as ReimbursementEvent } from '../billing.d-58fUMBqj.js';
5
5
  import 'axios';