@epilot/sdk 2.4.3 → 2.4.4-alpha.0

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 (348) hide show
  1. package/README.md +1 -0
  2. package/definitions/app-runtime.json +1 -1
  3. package/definitions/app.json +346 -10
  4. package/definitions/calendar-runtime.json +1 -0
  5. package/definitions/calendar.json +675 -0
  6. package/definitions/customer-portal.json +29 -0
  7. package/definitions/notes.json +175 -130
  8. package/definitions/pricing.json +5 -1
  9. package/dist/README-46VYEGGW.js +7 -0
  10. package/dist/README-IVBISSWB.cjs +7 -0
  11. package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
  12. package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
  13. package/dist/apis/_registry.d.ts +8 -0
  14. package/dist/apis/access-token.cjs +6 -6
  15. package/dist/apis/access-token.d.ts +9 -12
  16. package/dist/apis/access-token.js +1 -1
  17. package/dist/apis/address-suggestions.cjs +6 -6
  18. package/dist/apis/address-suggestions.d.ts +9 -12
  19. package/dist/apis/address-suggestions.js +1 -1
  20. package/dist/apis/address.cjs +6 -6
  21. package/dist/apis/address.d.ts +9 -12
  22. package/dist/apis/address.js +1 -1
  23. package/dist/apis/ai-agents.cjs +6 -6
  24. package/dist/apis/ai-agents.d.ts +9 -12
  25. package/dist/apis/ai-agents.js +1 -1
  26. package/dist/apis/app.cjs +6 -6
  27. package/dist/apis/app.d.ts +9 -12
  28. package/dist/apis/app.js +1 -1
  29. package/dist/apis/audit-logs.cjs +6 -6
  30. package/dist/apis/audit-logs.d.ts +9 -12
  31. package/dist/apis/audit-logs.js +1 -1
  32. package/dist/apis/automation.cjs +6 -6
  33. package/dist/apis/automation.d.ts +9 -12
  34. package/dist/apis/automation.js +1 -1
  35. package/dist/apis/billing.cjs +6 -6
  36. package/dist/apis/billing.d.ts +9 -12
  37. package/dist/apis/billing.js +1 -1
  38. package/dist/apis/blueprint-manifest.cjs +6 -6
  39. package/dist/apis/blueprint-manifest.d.ts +9 -12
  40. package/dist/apis/blueprint-manifest.js +1 -1
  41. package/dist/apis/calendar.cjs +38 -0
  42. package/dist/apis/calendar.d.ts +15 -0
  43. package/dist/apis/calendar.js +38 -0
  44. package/dist/apis/configuration-hub.cjs +6 -6
  45. package/dist/apis/configuration-hub.d.ts +9 -12
  46. package/dist/apis/configuration-hub.js +1 -1
  47. package/dist/apis/consent.cjs +6 -6
  48. package/dist/apis/consent.d.ts +9 -12
  49. package/dist/apis/consent.js +1 -1
  50. package/dist/apis/customer-portal.cjs +6 -6
  51. package/dist/apis/customer-portal.d.ts +9 -12
  52. package/dist/apis/customer-portal.js +1 -1
  53. package/dist/apis/dashboard.cjs +6 -6
  54. package/dist/apis/dashboard.d.ts +9 -12
  55. package/dist/apis/dashboard.js +1 -1
  56. package/dist/apis/data-governance.cjs +6 -6
  57. package/dist/apis/data-governance.d.ts +9 -12
  58. package/dist/apis/data-governance.js +1 -1
  59. package/dist/apis/deduplication.cjs +6 -6
  60. package/dist/apis/deduplication.d.ts +9 -12
  61. package/dist/apis/deduplication.js +1 -1
  62. package/dist/apis/design.cjs +6 -6
  63. package/dist/apis/design.d.ts +9 -12
  64. package/dist/apis/design.js +1 -1
  65. package/dist/apis/document.cjs +6 -6
  66. package/dist/apis/document.d.ts +9 -12
  67. package/dist/apis/document.js +1 -1
  68. package/dist/apis/email-settings.cjs +6 -6
  69. package/dist/apis/email-settings.d.ts +9 -12
  70. package/dist/apis/email-settings.js +1 -1
  71. package/dist/apis/email-template.cjs +6 -6
  72. package/dist/apis/email-template.d.ts +9 -12
  73. package/dist/apis/email-template.js +1 -1
  74. package/dist/apis/entity-mapping.cjs +6 -6
  75. package/dist/apis/entity-mapping.d.ts +9 -12
  76. package/dist/apis/entity-mapping.js +1 -1
  77. package/dist/apis/entity.cjs +6 -6
  78. package/dist/apis/entity.d.ts +9 -12
  79. package/dist/apis/entity.js +1 -1
  80. package/dist/apis/environments.cjs +6 -6
  81. package/dist/apis/environments.d.ts +9 -12
  82. package/dist/apis/environments.js +1 -1
  83. package/dist/apis/event-catalog.cjs +6 -6
  84. package/dist/apis/event-catalog.d.ts +9 -12
  85. package/dist/apis/event-catalog.js +1 -1
  86. package/dist/apis/file.cjs +6 -6
  87. package/dist/apis/file.d.ts +9 -12
  88. package/dist/apis/file.js +1 -1
  89. package/dist/apis/iban.cjs +6 -6
  90. package/dist/apis/iban.d.ts +9 -12
  91. package/dist/apis/iban.js +1 -1
  92. package/dist/apis/integration-toolkit.cjs +6 -6
  93. package/dist/apis/integration-toolkit.d.ts +9 -12
  94. package/dist/apis/integration-toolkit.js +1 -1
  95. package/dist/apis/journey.cjs +6 -6
  96. package/dist/apis/journey.d.ts +9 -12
  97. package/dist/apis/journey.js +1 -1
  98. package/dist/apis/kanban.cjs +6 -6
  99. package/dist/apis/kanban.d.ts +9 -12
  100. package/dist/apis/kanban.js +1 -1
  101. package/dist/apis/message.cjs +6 -6
  102. package/dist/apis/message.d.ts +9 -12
  103. package/dist/apis/message.js +1 -1
  104. package/dist/apis/metering.cjs +6 -6
  105. package/dist/apis/metering.d.ts +9 -12
  106. package/dist/apis/metering.js +1 -1
  107. package/dist/apis/notes.cjs +6 -6
  108. package/dist/apis/notes.d.ts +9 -12
  109. package/dist/apis/notes.js +1 -1
  110. package/dist/apis/notification.cjs +6 -6
  111. package/dist/apis/notification.d.ts +9 -12
  112. package/dist/apis/notification.js +1 -1
  113. package/dist/apis/organization.cjs +6 -6
  114. package/dist/apis/organization.d.ts +9 -12
  115. package/dist/apis/organization.js +1 -1
  116. package/dist/apis/partner-directory.cjs +6 -6
  117. package/dist/apis/partner-directory.d.ts +9 -12
  118. package/dist/apis/partner-directory.js +1 -1
  119. package/dist/apis/permissions.cjs +6 -6
  120. package/dist/apis/permissions.d.ts +9 -12
  121. package/dist/apis/permissions.js +1 -1
  122. package/dist/apis/pricing-tier.cjs +6 -6
  123. package/dist/apis/pricing-tier.d.ts +9 -12
  124. package/dist/apis/pricing-tier.js +1 -1
  125. package/dist/apis/pricing.cjs +6 -6
  126. package/dist/apis/pricing.d.ts +9 -12
  127. package/dist/apis/pricing.js +1 -1
  128. package/dist/apis/purpose.cjs +6 -6
  129. package/dist/apis/purpose.d.ts +9 -12
  130. package/dist/apis/purpose.js +1 -1
  131. package/dist/apis/query.cjs +6 -6
  132. package/dist/apis/query.d.ts +9 -12
  133. package/dist/apis/query.js +1 -1
  134. package/dist/apis/sandbox.cjs +6 -6
  135. package/dist/apis/sandbox.d.ts +9 -12
  136. package/dist/apis/sandbox.js +1 -1
  137. package/dist/apis/sharing.cjs +6 -6
  138. package/dist/apis/sharing.d.ts +9 -12
  139. package/dist/apis/sharing.js +1 -1
  140. package/dist/apis/submission.cjs +6 -6
  141. package/dist/apis/submission.d.ts +9 -12
  142. package/dist/apis/submission.js +1 -1
  143. package/dist/apis/target.cjs +6 -6
  144. package/dist/apis/target.d.ts +9 -591
  145. package/dist/apis/target.js +1 -1
  146. package/dist/apis/targeting.cjs +6 -6
  147. package/dist/apis/targeting.d.ts +9 -12
  148. package/dist/apis/targeting.js +1 -1
  149. package/dist/apis/template-variables.cjs +6 -6
  150. package/dist/apis/template-variables.d.ts +9 -12
  151. package/dist/apis/template-variables.js +1 -1
  152. package/dist/apis/user.cjs +6 -6
  153. package/dist/apis/user.d.ts +9 -12
  154. package/dist/apis/user.js +1 -1
  155. package/dist/apis/validation-rules.cjs +6 -6
  156. package/dist/apis/validation-rules.d.ts +9 -12
  157. package/dist/apis/validation-rules.js +1 -1
  158. package/dist/apis/webhooks.cjs +6 -6
  159. package/dist/apis/webhooks.d.ts +9 -12
  160. package/dist/apis/webhooks.js +1 -1
  161. package/dist/apis/workflow-definition.cjs +6 -6
  162. package/dist/apis/workflow-definition.d.ts +9 -12
  163. package/dist/apis/workflow-definition.js +1 -1
  164. package/dist/apis/workflow.cjs +6 -6
  165. package/dist/apis/workflow.d.ts +9 -12
  166. package/dist/apis/workflow.js +1 -1
  167. package/dist/authorize.d.ts +3 -0
  168. package/dist/bin/cli.d.ts +1 -0
  169. package/dist/bin/cli.js +1 -1
  170. package/dist/calendar-2YDAYG7S.cjs +7 -0
  171. package/dist/calendar-ACFIHQ2N.js +7 -0
  172. package/dist/calendar-runtime-6CMMEQMG.js +5 -0
  173. package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
  174. package/dist/{chunk-AM5TSEMU.cjs → chunk-CD4OX2U6.cjs} +4 -2
  175. package/dist/chunk-CKLEBO4K.cjs +14 -0
  176. package/dist/chunk-JNH37UUH.js +14 -0
  177. package/dist/{chunk-M25MI6ZX.js → chunk-TSV242UN.js} +4 -2
  178. package/dist/client-factory.d.ts +9 -0
  179. package/dist/client-map.d.ts +102 -0
  180. package/dist/compact.d.ts +22 -0
  181. package/dist/help.d.ts +12 -0
  182. package/dist/index.cjs +25 -17
  183. package/dist/index.d.ts +12 -180
  184. package/dist/index.js +21 -13
  185. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  186. package/dist/large-response.d.ts +9 -0
  187. package/dist/openapi.d.ts +12 -0
  188. package/dist/overrides.d.ts +9 -0
  189. package/dist/proxy.d.ts +14 -0
  190. package/dist/registry.d.ts +19 -0
  191. package/dist/retry.d.ts +11 -0
  192. package/dist/sdk.d.ts +29 -0
  193. package/dist/types.d.ts +53 -0
  194. package/docs/calendar.md +441 -0
  195. package/package.json +10 -1
  196. package/dist/README-6MG272KM.cjs +0 -7
  197. package/dist/README-7N542PBL.js +0 -7
  198. package/dist/access-token.d-CnmUTOlq.d.cts +0 -552
  199. package/dist/access-token.d-CnmUTOlq.d.ts +0 -552
  200. package/dist/address-suggestions.d-_YwTOR-9.d.cts +0 -339
  201. package/dist/address-suggestions.d-_YwTOR-9.d.ts +0 -339
  202. package/dist/address.d-CwAPOVxa.d.cts +0 -437
  203. package/dist/address.d-CwAPOVxa.d.ts +0 -437
  204. package/dist/ai-agents.d-OkXfr2bz.d.cts +0 -1339
  205. package/dist/ai-agents.d-OkXfr2bz.d.ts +0 -1339
  206. package/dist/apis/access-token.d.cts +0 -18
  207. package/dist/apis/address-suggestions.d.cts +0 -18
  208. package/dist/apis/address.d.cts +0 -18
  209. package/dist/apis/ai-agents.d.cts +0 -18
  210. package/dist/apis/app.d.cts +0 -18
  211. package/dist/apis/audit-logs.d.cts +0 -18
  212. package/dist/apis/automation.d.cts +0 -18
  213. package/dist/apis/billing.d.cts +0 -18
  214. package/dist/apis/blueprint-manifest.d.cts +0 -18
  215. package/dist/apis/configuration-hub.d.cts +0 -18
  216. package/dist/apis/consent.d.cts +0 -18
  217. package/dist/apis/customer-portal.d.cts +0 -18
  218. package/dist/apis/dashboard.d.cts +0 -18
  219. package/dist/apis/data-governance.d.cts +0 -18
  220. package/dist/apis/deduplication.d.cts +0 -18
  221. package/dist/apis/design.d.cts +0 -18
  222. package/dist/apis/document.d.cts +0 -18
  223. package/dist/apis/email-settings.d.cts +0 -18
  224. package/dist/apis/email-template.d.cts +0 -18
  225. package/dist/apis/entity-mapping.d.cts +0 -18
  226. package/dist/apis/entity.d.cts +0 -18
  227. package/dist/apis/environments.d.cts +0 -18
  228. package/dist/apis/event-catalog.d.cts +0 -18
  229. package/dist/apis/file.d.cts +0 -18
  230. package/dist/apis/iban.d.cts +0 -18
  231. package/dist/apis/integration-toolkit.d.cts +0 -18
  232. package/dist/apis/journey.d.cts +0 -18
  233. package/dist/apis/kanban.d.cts +0 -18
  234. package/dist/apis/message.d.cts +0 -18
  235. package/dist/apis/metering.d.cts +0 -18
  236. package/dist/apis/notes.d.cts +0 -18
  237. package/dist/apis/notification.d.cts +0 -18
  238. package/dist/apis/organization.d.cts +0 -18
  239. package/dist/apis/partner-directory.d.cts +0 -18
  240. package/dist/apis/permissions.d.cts +0 -18
  241. package/dist/apis/pricing-tier.d.cts +0 -18
  242. package/dist/apis/pricing.d.cts +0 -18
  243. package/dist/apis/purpose.d.cts +0 -18
  244. package/dist/apis/query.d.cts +0 -18
  245. package/dist/apis/sandbox.d.cts +0 -18
  246. package/dist/apis/sharing.d.cts +0 -18
  247. package/dist/apis/submission.d.cts +0 -18
  248. package/dist/apis/target.d.cts +0 -597
  249. package/dist/apis/targeting.d.cts +0 -18
  250. package/dist/apis/template-variables.d.cts +0 -18
  251. package/dist/apis/user.d.cts +0 -18
  252. package/dist/apis/validation-rules.d.cts +0 -18
  253. package/dist/apis/webhooks.d.cts +0 -18
  254. package/dist/apis/workflow-definition.d.cts +0 -18
  255. package/dist/apis/workflow.d.cts +0 -18
  256. package/dist/app.d-u7Dq42kU.d.cts +0 -3391
  257. package/dist/app.d-u7Dq42kU.d.ts +0 -3391
  258. package/dist/audit-logs.d-BRToFqeX.d.cts +0 -287
  259. package/dist/audit-logs.d-BRToFqeX.d.ts +0 -287
  260. package/dist/automation.d-Du6-uiz5.d.cts +0 -5283
  261. package/dist/automation.d-Du6-uiz5.d.ts +0 -5283
  262. package/dist/billing.d-Bs8Ku9qE.d.cts +0 -993
  263. package/dist/billing.d-Bs8Ku9qE.d.ts +0 -993
  264. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +0 -4343
  265. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +0 -4343
  266. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  267. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  268. package/dist/consent.d-C2PROHhX.d.cts +0 -265
  269. package/dist/consent.d-C2PROHhX.d.ts +0 -265
  270. package/dist/customer-portal.d-DyZ2n2dW.d.cts +0 -16728
  271. package/dist/customer-portal.d-DyZ2n2dW.d.ts +0 -16728
  272. package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
  273. package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
  274. package/dist/data-governance.d-BbZ466j5.d.cts +0 -1178
  275. package/dist/data-governance.d-BbZ466j5.d.ts +0 -1178
  276. package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
  277. package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
  278. package/dist/design.d-BRre8iLg.d.cts +0 -2346
  279. package/dist/design.d-BRre8iLg.d.ts +0 -2346
  280. package/dist/document.d-DN37pjdx.d.cts +0 -648
  281. package/dist/document.d-DN37pjdx.d.ts +0 -648
  282. package/dist/email-settings.d-B7Q_xT25.d.cts +0 -2417
  283. package/dist/email-settings.d-B7Q_xT25.d.ts +0 -2417
  284. package/dist/email-template.d-gtQkdaXM.d.cts +0 -1188
  285. package/dist/email-template.d-gtQkdaXM.d.ts +0 -1188
  286. package/dist/entity-mapping.d-DKSW3sfy.d.cts +0 -1092
  287. package/dist/entity-mapping.d-DKSW3sfy.d.ts +0 -1092
  288. package/dist/entity.d-BHR9dEon.d.cts +0 -18479
  289. package/dist/entity.d-BHR9dEon.d.ts +0 -18479
  290. package/dist/environments.d-BvqvN-PD.d.cts +0 -382
  291. package/dist/environments.d-BvqvN-PD.d.ts +0 -382
  292. package/dist/event-catalog.d-ENw6HO-w.d.cts +0 -1511
  293. package/dist/event-catalog.d-ENw6HO-w.d.ts +0 -1511
  294. package/dist/file.d-DcTJxjp7.d.cts +0 -2992
  295. package/dist/file.d-DcTJxjp7.d.ts +0 -2992
  296. package/dist/iban.d-BwdiGbxi.d.cts +0 -70
  297. package/dist/iban.d-BwdiGbxi.d.ts +0 -70
  298. package/dist/index.d.cts +0 -180
  299. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +0 -5796
  300. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +0 -5796
  301. package/dist/journey.d-ClXO0xK8.d.cts +0 -1931
  302. package/dist/journey.d-ClXO0xK8.d.ts +0 -1931
  303. package/dist/kanban.d-BHnSRCYW.d.cts +0 -760
  304. package/dist/kanban.d-BHnSRCYW.d.ts +0 -760
  305. package/dist/message.d-B5UuSqgw.d.cts +0 -3811
  306. package/dist/message.d-B5UuSqgw.d.ts +0 -3811
  307. package/dist/metering.d-DvtPv7wk.d.cts +0 -1841
  308. package/dist/metering.d-DvtPv7wk.d.ts +0 -1841
  309. package/dist/notes.d-BC-scR42.d.cts +0 -1046
  310. package/dist/notes.d-BC-scR42.d.ts +0 -1046
  311. package/dist/notification.d-BfBL3lga.d.cts +0 -1147
  312. package/dist/notification.d-BfBL3lga.d.ts +0 -1147
  313. package/dist/organization.d-DqwnNxMg.d.cts +0 -1271
  314. package/dist/organization.d-DqwnNxMg.d.ts +0 -1271
  315. package/dist/partner-directory.d-BCIjHoGs.d.cts +0 -2337
  316. package/dist/partner-directory.d-BCIjHoGs.d.ts +0 -2337
  317. package/dist/permissions.d-l6AT8SYP.d.cts +0 -1279
  318. package/dist/permissions.d-l6AT8SYP.d.ts +0 -1279
  319. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +0 -81
  320. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +0 -81
  321. package/dist/pricing.d-BHpMU4KU.d.cts +0 -12255
  322. package/dist/pricing.d-BHpMU4KU.d.ts +0 -12255
  323. package/dist/purpose.d-CbIYfTua.d.cts +0 -372
  324. package/dist/purpose.d-CbIYfTua.d.ts +0 -372
  325. package/dist/query.d-Cmp78IhZ.d.cts +0 -2375
  326. package/dist/query.d-Cmp78IhZ.d.ts +0 -2375
  327. package/dist/sandbox.d-BdbOFzDu.d.cts +0 -465
  328. package/dist/sandbox.d-BdbOFzDu.d.ts +0 -465
  329. package/dist/sharing.d-sOXq-gtz.d.cts +0 -571
  330. package/dist/sharing.d-sOXq-gtz.d.ts +0 -571
  331. package/dist/submission.d-BamwfhXw.d.cts +0 -469
  332. package/dist/submission.d-BamwfhXw.d.ts +0 -469
  333. package/dist/targeting.d-BNmcVsNS.d.cts +0 -2057
  334. package/dist/targeting.d-BNmcVsNS.d.ts +0 -2057
  335. package/dist/template-variables.d-Ble9TSBa.d.cts +0 -1320
  336. package/dist/template-variables.d-Ble9TSBa.d.ts +0 -1320
  337. package/dist/types-ChU9Acbv.d.cts +0 -37
  338. package/dist/types-ChU9Acbv.d.ts +0 -37
  339. package/dist/user.d-D18fe97W.d.cts +0 -2270
  340. package/dist/user.d-D18fe97W.d.ts +0 -2270
  341. package/dist/validation-rules.d-Db5c5zTf.d.cts +0 -807
  342. package/dist/validation-rules.d-Db5c5zTf.d.ts +0 -807
  343. package/dist/webhooks.d-pLHIL_io.d.cts +0 -1256
  344. package/dist/webhooks.d-pLHIL_io.d.ts +0 -1256
  345. package/dist/workflow-definition.d-DOeb0KVV.d.cts +0 -1922
  346. package/dist/workflow-definition.d-DOeb0KVV.d.ts +0 -1922
  347. package/dist/workflow.d-CMSKt8oN.d.cts +0 -3151
  348. package/dist/workflow.d-CMSKt8oN.d.ts +0 -3151
@@ -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/calendar-runtime.json
6
+ var require_calendar_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
+ "src/definitions/calendar-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://calendar.sls.epilot.io", o: [["listCalendars", "get", "/v1/calendar", [["size", "q"], ["cursor", "q"]]], ["getCalendar", "get", "/v1/calendar/{calendar_id}", [["calendar_id", "p", true]]], ["listEvents", "get", "/v1/calendar/events", [["from", "q", true], ["to", "q", true], ["calendar_id", "q"], ["size", "q"], ["cursor", "q"]]], ["getEvent", "get", "/v1/calendar/events/{event_id}", [["event_id", "p", true]]]], v: "3.0.3" };
9
+ }
10
+ });
11
+
12
+
13
+
14
+ exports.require_calendar_runtime = require_calendar_runtime;
@@ -0,0 +1,14 @@
1
+ import {
2
+ __commonJS
3
+ } from "./chunk-YPSWSI3M.js";
4
+
5
+ // src/definitions/calendar-runtime.json
6
+ var require_calendar_runtime = __commonJS({
7
+ "src/definitions/calendar-runtime.json"(exports, module) {
8
+ module.exports = { s: "https://calendar.sls.epilot.io", o: [["listCalendars", "get", "/v1/calendar", [["size", "q"], ["cursor", "q"]]], ["getCalendar", "get", "/v1/calendar/{calendar_id}", [["calendar_id", "p", true]]], ["listEvents", "get", "/v1/calendar/events", [["from", "q", true], ["to", "q", true], ["calendar_id", "q"], ["size", "q"], ["cursor", "q"]]], ["getEvent", "get", "/v1/calendar/events/{event_id}", [["event_id", "p", true]]]], v: "3.0.3" };
9
+ }
10
+ });
11
+
12
+ export {
13
+ require_calendar_runtime
14
+ };
@@ -18,8 +18,8 @@ var authorize = (client, token) => {
18
18
 
19
19
  // import("./docs/**/*") in src/help.ts
20
20
  var globImport_docs = __glob({
21
- "./docs/README.json": () => import("./README-7N542PBL.js"),
22
- "./docs/_index.json": () => import("./_index-HE4B6FOA.js"),
21
+ "./docs/README.json": () => import("./README-46VYEGGW.js"),
22
+ "./docs/_index.json": () => import("./_index-5FB6F5YY.js"),
23
23
  "./docs/access-token.json": () => import("./access-token-GSQZLDXR.js"),
24
24
  "./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
25
25
  "./docs/address.json": () => import("./address-QVJUGMOG.js"),
@@ -29,6 +29,7 @@ var globImport_docs = __glob({
29
29
  "./docs/automation.json": () => import("./automation-MEZTSUR3.js"),
30
30
  "./docs/billing.json": () => import("./billing-IPALEAG2.js"),
31
31
  "./docs/blueprint-manifest.json": () => import("./blueprint-manifest-DBEY5PPI.js"),
32
+ "./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
32
33
  "./docs/configuration-hub.json": () => import("./configuration-hub-PMAW44U5.js"),
33
34
  "./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
34
35
  "./docs/customer-portal.json": () => import("./customer-portal-RZACUF4N.js"),
@@ -107,6 +108,7 @@ var globImport_definitions_json = __glob({
107
108
  "./definitions/billing.json": () => import("./billing-ASWY7HC3.js"),
108
109
  "./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-5UN52LW5.js"),
109
110
  "./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
111
+ "./definitions/calendar-runtime.json": () => import("./calendar-runtime-6CMMEQMG.js"),
110
112
  "./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-L6IOERSP.js"),
111
113
  "./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
112
114
  "./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
@@ -0,0 +1,9 @@
1
+ import type { AxiosInstance } from 'axios';
2
+ import type { Document } from 'openapi-client-axios';
3
+ import { type TokenArg } from './authorize';
4
+ export declare const createApiClient: <T extends AxiosInstance = AxiosInstance>(params: {
5
+ definition: Document;
6
+ token?: TokenArg | null;
7
+ headers?: Record<string, string>;
8
+ apiName?: string;
9
+ }) => T;
@@ -0,0 +1,102 @@
1
+ import type { Client as AccessTokenClient } from './types/access-token';
2
+ import type { Client as AddressClient } from './types/address';
3
+ import type { Client as AddressSuggestionsClient } from './types/address-suggestions';
4
+ import type { Client as AiAgentsClient } from './types/ai-agents';
5
+ import type { Client as AppClient } from './types/app';
6
+ import type { Client as AuditLogsClient } from './types/audit-logs';
7
+ import type { Client as AutomationClient } from './types/automation';
8
+ import type { Client as BillingClient } from './types/billing';
9
+ import type { Client as BlueprintManifestClient } from './types/blueprint-manifest';
10
+ import type { Client as CalendarClient } from './types/calendar';
11
+ import type { Client as ConfigurationHubClient } from './types/configuration-hub';
12
+ import type { Client as ConsentClient } from './types/consent';
13
+ import type { Client as CustomerPortalClient } from './types/customer-portal';
14
+ import type { Client as DashboardClient } from './types/dashboard';
15
+ import type { Client as DataGovernanceClient } from './types/data-governance';
16
+ import type { Client as DeduplicationClient } from './types/deduplication';
17
+ import type { Client as DesignClient } from './types/design';
18
+ import type { Client as DocumentClient } from './types/document';
19
+ import type { Client as EmailSettingsClient } from './types/email-settings';
20
+ import type { Client as EmailTemplateClient } from './types/email-template';
21
+ import type { Client as EntityClient } from './types/entity';
22
+ import type { Client as EntityMappingClient } from './types/entity-mapping';
23
+ import type { Client as EnvironmentsClient } from './types/environments';
24
+ import type { Client as EventCatalogClient } from './types/event-catalog';
25
+ import type { Client as FileClient } from './types/file';
26
+ import type { Client as IbanClient } from './types/iban';
27
+ import type { Client as IntegrationToolkitClient } from './types/integration-toolkit';
28
+ import type { Client as JourneyClient } from './types/journey';
29
+ import type { Client as KanbanClient } from './types/kanban';
30
+ import type { Client as MessageClient } from './types/message';
31
+ import type { Client as MeteringClient } from './types/metering';
32
+ import type { Client as NotesClient } from './types/notes';
33
+ import type { Client as NotificationClient } from './types/notification';
34
+ import type { Client as OrganizationClient } from './types/organization';
35
+ import type { Client as PartnerDirectoryClient } from './types/partner-directory';
36
+ import type { Client as PermissionsClient } from './types/permissions';
37
+ import type { Client as PricingClient } from './types/pricing';
38
+ import type { Client as PricingTierClient } from './types/pricing-tier';
39
+ import type { Client as PurposeClient } from './types/purpose';
40
+ import type { Client as QueryClient } from './types/query';
41
+ import type { Client as SandboxClient } from './types/sandbox';
42
+ import type { Client as SharingClient } from './types/sharing';
43
+ import type { Client as SubmissionClient } from './types/submission';
44
+ import type { Client as TargetingClient } from './types/targeting';
45
+ import type { Client as TemplateVariablesClient } from './types/template-variables';
46
+ import type { Client as UserClient } from './types/user';
47
+ import type { Client as ValidationRulesClient } from './types/validation-rules';
48
+ import type { Client as WebhooksClient } from './types/webhooks';
49
+ import type { Client as WorkflowClient } from './types/workflow';
50
+ import type { Client as WorkflowDefinitionClient } from './types/workflow-definition';
51
+ export type SDKClientMap = {
52
+ accessToken: AccessTokenClient;
53
+ address: AddressClient;
54
+ addressSuggestions: AddressSuggestionsClient;
55
+ aiAgents: AiAgentsClient;
56
+ app: AppClient;
57
+ auditLogs: AuditLogsClient;
58
+ automation: AutomationClient;
59
+ billing: BillingClient;
60
+ blueprintManifest: BlueprintManifestClient;
61
+ calendar: CalendarClient;
62
+ configurationHub: ConfigurationHubClient;
63
+ consent: ConsentClient;
64
+ customerPortal: CustomerPortalClient;
65
+ dashboard: DashboardClient;
66
+ dataGovernance: DataGovernanceClient;
67
+ deduplication: DeduplicationClient;
68
+ design: DesignClient;
69
+ document: DocumentClient;
70
+ emailSettings: EmailSettingsClient;
71
+ emailTemplate: EmailTemplateClient;
72
+ entity: EntityClient;
73
+ entityMapping: EntityMappingClient;
74
+ environments: EnvironmentsClient;
75
+ eventCatalog: EventCatalogClient;
76
+ file: FileClient;
77
+ iban: IbanClient;
78
+ integrationToolkit: IntegrationToolkitClient;
79
+ journey: JourneyClient;
80
+ kanban: KanbanClient;
81
+ message: MessageClient;
82
+ metering: MeteringClient;
83
+ notes: NotesClient;
84
+ notification: NotificationClient;
85
+ organization: OrganizationClient;
86
+ partnerDirectory: PartnerDirectoryClient;
87
+ permissions: PermissionsClient;
88
+ pricing: PricingClient;
89
+ pricingTier: PricingTierClient;
90
+ purpose: PurposeClient;
91
+ query: QueryClient;
92
+ sandbox: SandboxClient;
93
+ sharing: SharingClient;
94
+ submission: SubmissionClient;
95
+ targeting: TargetingClient;
96
+ templateVariables: TemplateVariablesClient;
97
+ user: UserClient;
98
+ validationRules: ValidationRulesClient;
99
+ webhooks: WebhooksClient;
100
+ workflow: WorkflowClient;
101
+ workflowDefinition: WorkflowDefinitionClient;
102
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Compact OpenAPI definition format for reduced bundle size.
3
+ *
4
+ * Encodes only the fields openapi-client-axios reads at runtime:
5
+ * paths, operationId, parameters (name, in, required, style, explode),
6
+ * requestBody presence, servers, and $ref component parameters.
7
+ */
8
+ type CP = [name: string, loc: 'p' | 'q' | 'h' | 'c', ...rest: (boolean | string)[]];
9
+ type CR = [ref: string];
10
+ export type CompactDefinition = {
11
+ s: string;
12
+ sv?: Record<string, {
13
+ default: string;
14
+ enum?: string[];
15
+ }>;
16
+ v?: string;
17
+ o: [id: string, m: string, p: string, ps?: (CP | CR)[], b?: 0 | 1][];
18
+ cp?: Record<string, CP>;
19
+ pp?: Record<string, (CP | CR)[]>;
20
+ };
21
+ export declare const expand: (c: CompactDefinition) => Record<string, unknown>;
22
+ export {};
package/dist/help.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Lazy-loaded help system — returns markdown docs for SDK APIs.
3
+ * Each doc is loaded via dynamic import() so only the requested doc affects bundle size.
4
+ */
5
+ /**
6
+ * Get help for a specific API or general SDK help.
7
+ *
8
+ * @example
9
+ * await help() // general SDK docs
10
+ * await help('entity') // entity API docs
11
+ */
12
+ export declare const help: (apiName?: string) => Promise<string>;
package/dist/index.cjs CHANGED
@@ -1,5 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
+ var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
4
+
5
+
3
6
  var _chunkHHMXS5NCcjs = require('./chunk-HHMXS5NC.cjs');
4
7
 
5
8
 
@@ -9,6 +12,9 @@ var _chunkCYS6QBW6cjs = require('./chunk-CYS6QBW6.cjs');
9
12
  var _chunkQNZPOA54cjs = require('./chunk-QNZPOA54.cjs');
10
13
 
11
14
 
15
+ var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
16
+
17
+
12
18
  var _chunkNEVFKRDUcjs = require('./chunk-NEVFKRDU.cjs');
13
19
 
14
20
 
@@ -27,7 +33,7 @@ var _chunk4QCVVDTAcjs = require('./chunk-4QCVVDTA.cjs');
27
33
  var _chunkZ5TVWG3Icjs = require('./chunk-Z5TVWG3I.cjs');
28
34
 
29
35
 
30
- var _chunkJIUTCNTBcjs = require('./chunk-JIUTCNTB.cjs');
36
+ var _chunkM2SSGV7Kcjs = require('./chunk-M2SSGV7K.cjs');
31
37
 
32
38
 
33
39
  var _chunkGWKHOJGDcjs = require('./chunk-GWKHOJGD.cjs');
@@ -51,7 +57,7 @@ var _chunkKP7H52BFcjs = require('./chunk-KP7H52BF.cjs');
51
57
  var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
52
58
 
53
59
 
54
- var _chunkXDZ2JKJ4cjs = require('./chunk-XDZ2JKJ4.cjs');
60
+ var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
55
61
 
56
62
 
57
63
  var _chunk4W22EIRFcjs = require('./chunk-4W22EIRF.cjs');
@@ -75,7 +81,7 @@ var _chunkDUHAG5COcjs = require('./chunk-DUHAG5CO.cjs');
75
81
  var _chunk4ZMLRFDXcjs = require('./chunk-4ZMLRFDX.cjs');
76
82
 
77
83
 
78
- var _chunkM2SSGV7Kcjs = require('./chunk-M2SSGV7K.cjs');
84
+ var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
79
85
 
80
86
 
81
87
  var _chunkEIIIKDOJcjs = require('./chunk-EIIIKDOJ.cjs');
@@ -99,15 +105,15 @@ var _chunkUBQCDPW6cjs = require('./chunk-UBQCDPW6.cjs');
99
105
  var _chunkI6DG26UJcjs = require('./chunk-I6DG26UJ.cjs');
100
106
 
101
107
 
102
- var _chunkBLNXQAMXcjs = require('./chunk-BLNXQAMX.cjs');
103
-
104
-
105
108
  var _chunkG5FKTWUCcjs = require('./chunk-G5FKTWUC.cjs');
106
109
 
107
110
 
108
111
  var _chunkL544VG3Bcjs = require('./chunk-L544VG3B.cjs');
109
112
 
110
113
 
114
+ var _chunkCKLEBO4Kcjs = require('./chunk-CKLEBO4K.cjs');
115
+
116
+
111
117
  var _chunkZSONBZIFcjs = require('./chunk-ZSONBZIF.cjs');
112
118
 
113
119
 
@@ -123,9 +129,6 @@ var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
123
129
  var _chunkZL6KDJFTcjs = require('./chunk-ZL6KDJFT.cjs');
124
130
 
125
131
 
126
- var _chunkIAHSYVYBcjs = require('./chunk-IAHSYVYB.cjs');
127
-
128
-
129
132
  var _chunkOXJOO2YFcjs = require('./chunk-OXJOO2YF.cjs');
130
133
 
131
134
 
@@ -152,7 +155,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
152
155
 
153
156
 
154
157
 
155
- var _chunkAM5TSEMUcjs = require('./chunk-AM5TSEMU.cjs');
158
+ var _chunkCD4OX2U6cjs = require('./chunk-CD4OX2U6.cjs');
156
159
 
157
160
 
158
161
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -219,7 +222,7 @@ var resolveClient = (params) => {
219
222
  }
220
223
  if (!entry.instance) {
221
224
  const definition = entry.loader();
222
- entry.instance = _chunkAM5TSEMUcjs.createApiClient.call(void 0, {
225
+ entry.instance = _chunkCD4OX2U6cjs.createApiClient.call(void 0, {
223
226
  definition,
224
227
  token: state.token,
225
228
  headers: state.globalHeaders,
@@ -252,7 +255,7 @@ var resetAllClients = (registry) => {
252
255
  };
253
256
 
254
257
  // src/apis/_registry.ts
255
- var expandDef = (mod) => _chunkAM5TSEMUcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
258
+ var expandDef = (mod) => _chunkCD4OX2U6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
256
259
  var registerBuiltinApis = (registry) => {
257
260
  registerApi({
258
261
  registry,
@@ -299,6 +302,11 @@ var registerBuiltinApis = (registry) => {
299
302
  name: "blueprintManifest",
300
303
  loader: () => expandDef(_chunkL544VG3Bcjs.require_blueprint_manifest_runtime.call(void 0, ))
301
304
  });
305
+ registerApi({
306
+ registry,
307
+ name: "calendar",
308
+ loader: () => expandDef(_chunkCKLEBO4Kcjs.require_calendar_runtime.call(void 0, ))
309
+ });
302
310
  registerApi({
303
311
  registry,
304
312
  name: "configurationHub",
@@ -585,9 +593,9 @@ var createSDK = () => {
585
593
  const available = [...registry.keys()].join(", ");
586
594
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
587
595
  }
588
- return _chunkAM5TSEMUcjs.createApiHandle.call(void 0, {
596
+ return _chunkCD4OX2U6cjs.createApiHandle.call(void 0, {
589
597
  resolveClient: () => resolveClient({ registry, name, state }),
590
- createClient: () => _chunkAM5TSEMUcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
598
+ createClient: () => _chunkCD4OX2U6cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
591
599
  apiName: name
592
600
  });
593
601
  };
@@ -635,9 +643,9 @@ var createSDK = () => {
635
643
  return interceptorUse;
636
644
  }
637
645
  case "help":
638
- return (apiName) => _chunkAM5TSEMUcjs.help.call(void 0, apiName);
646
+ return (apiName) => _chunkCD4OX2U6cjs.help.call(void 0, apiName);
639
647
  case "openapi":
640
- return (apiName) => _chunkAM5TSEMUcjs.openapi.call(void 0, apiName);
648
+ return (apiName) => _chunkCD4OX2U6cjs.openapi.call(void 0, apiName);
641
649
  case "then":
642
650
  case "catch":
643
651
  case "finally":
@@ -667,4 +675,4 @@ var epilot = createSDK();
667
675
 
668
676
 
669
677
 
670
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkAM5TSEMUcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkAM5TSEMUcjs.help; exports.openapi = _chunkAM5TSEMUcjs.openapi;
678
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkCD4OX2U6cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkCD4OX2U6cjs.help; exports.openapi = _chunkCD4OX2U6cjs.openapi;
package/dist/index.d.ts CHANGED
@@ -1,180 +1,12 @@
1
- import * as openapi_client_axios from 'openapi-client-axios';
2
- import { Document } from 'openapi-client-axios';
3
- import { AxiosInstance, InternalAxiosRequestConfig, AxiosResponse } from 'axios';
4
- import { T as TokenArg, H as HeadersConfig, A as ApiHandle } from './types-ChU9Acbv.js';
5
- export { I as Interceptor, O as OverridesConfig, a as authorize } from './types-ChU9Acbv.js';
6
- import { C as Client } from './access-token.d-CnmUTOlq.js';
7
- import { C as Client$1 } from './address.d-CwAPOVxa.js';
8
- import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
9
- import { C as Client$3 } from './ai-agents.d-OkXfr2bz.js';
10
- import { C as Client$4 } from './app.d-u7Dq42kU.js';
11
- import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
- import { C as Client$6 } from './automation.d-Du6-uiz5.js';
13
- import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
14
- import { C as Client$8 } from './blueprint-manifest.d-BPyzoR0X.js';
15
- import { C as Client$9 } from './configuration-hub.d-Cqaq2F-W.js';
16
- import { C as Client$a } from './consent.d-C2PROHhX.js';
17
- import { C as Client$b } from './customer-portal.d-DyZ2n2dW.js';
18
- import { C as Client$c } from './dashboard.d-CsGcA74I.js';
19
- import { C as Client$d } from './data-governance.d-BbZ466j5.js';
20
- import { C as Client$e } from './deduplication.d-D5GYddVu.js';
21
- import { C as Client$f } from './design.d-BRre8iLg.js';
22
- import { C as Client$g } from './document.d-DN37pjdx.js';
23
- import { C as Client$h } from './email-settings.d-B7Q_xT25.js';
24
- import { C as Client$i } from './email-template.d-gtQkdaXM.js';
25
- import { C as Client$j } from './entity.d-BHR9dEon.js';
26
- import { C as Client$k } from './entity-mapping.d-DKSW3sfy.js';
27
- import { C as Client$l } from './environments.d-BvqvN-PD.js';
28
- import { C as Client$m } from './event-catalog.d-ENw6HO-w.js';
29
- import { C as Client$n } from './file.d-DcTJxjp7.js';
30
- import { C as Client$o } from './iban.d-BwdiGbxi.js';
31
- import { C as Client$p } from './integration-toolkit.d-Ry-KC9ow.js';
32
- import { C as Client$q } from './journey.d-ClXO0xK8.js';
33
- import { C as Client$r } from './kanban.d-BHnSRCYW.js';
34
- import { C as Client$s } from './message.d-B5UuSqgw.js';
35
- import { C as Client$t } from './metering.d-DvtPv7wk.js';
36
- import { C as Client$u } from './notes.d-BC-scR42.js';
37
- import { C as Client$v } from './notification.d-BfBL3lga.js';
38
- import { C as Client$w } from './organization.d-DqwnNxMg.js';
39
- import { C as Client$x } from './partner-directory.d-BCIjHoGs.js';
40
- import { C as Client$y } from './permissions.d-l6AT8SYP.js';
41
- import { C as Client$z } from './pricing.d-BHpMU4KU.js';
42
- import { C as Client$A } from './pricing-tier.d-Cg0jl6n_.js';
43
- import { C as Client$B } from './purpose.d-CbIYfTua.js';
44
- import { C as Client$C } from './query.d-Cmp78IhZ.js';
45
- import { C as Client$D } from './sandbox.d-BdbOFzDu.js';
46
- import { C as Client$E } from './sharing.d-sOXq-gtz.js';
47
- import { C as Client$F } from './submission.d-BamwfhXw.js';
48
- import { C as Client$G } from './targeting.d-BNmcVsNS.js';
49
- import { C as Client$H } from './template-variables.d-Ble9TSBa.js';
50
- import { C as Client$I } from './user.d-D18fe97W.js';
51
- import { C as Client$J } from './validation-rules.d-Db5c5zTf.js';
52
- import { C as Client$K } from './webhooks.d-pLHIL_io.js';
53
- import { C as Client$L } from './workflow.d-CMSKt8oN.js';
54
- import { C as Client$M } from './workflow-definition.d-DOeb0KVV.js';
55
-
56
- type SDKClientMap = {
57
- accessToken: Client;
58
- address: Client$1;
59
- addressSuggestions: Client$2;
60
- aiAgents: Client$3;
61
- app: Client$4;
62
- auditLogs: Client$5;
63
- automation: Client$6;
64
- billing: Client$7;
65
- blueprintManifest: Client$8;
66
- configurationHub: Client$9;
67
- consent: Client$a;
68
- customerPortal: Client$b;
69
- dashboard: Client$c;
70
- dataGovernance: Client$d;
71
- deduplication: Client$e;
72
- design: Client$f;
73
- document: Client$g;
74
- emailSettings: Client$h;
75
- emailTemplate: Client$i;
76
- entity: Client$j;
77
- entityMapping: Client$k;
78
- environments: Client$l;
79
- eventCatalog: Client$m;
80
- file: Client$n;
81
- iban: Client$o;
82
- integrationToolkit: Client$p;
83
- journey: Client$q;
84
- kanban: Client$r;
85
- message: Client$s;
86
- metering: Client$t;
87
- notes: Client$u;
88
- notification: Client$v;
89
- organization: Client$w;
90
- partnerDirectory: Client$x;
91
- permissions: Client$y;
92
- pricing: Client$z;
93
- pricingTier: Client$A;
94
- purpose: Client$B;
95
- query: Client$C;
96
- sandbox: Client$D;
97
- sharing: Client$E;
98
- submission: Client$F;
99
- targeting: Client$G;
100
- templateVariables: Client$H;
101
- user: Client$I;
102
- validationRules: Client$J;
103
- webhooks: Client$K;
104
- workflow: Client$L;
105
- workflowDefinition: Client$M;
106
- };
107
-
108
- type LargeResponseConfig = {
109
- /** Enable large response handling. Default: true */
110
- enabled?: boolean;
111
- };
112
- declare const applyLargeResponseInterceptor: (params: {
113
- client: AxiosInstance;
114
- config: LargeResponseConfig;
115
- }) => void;
116
-
117
- type RetryConfig = {
118
- /** Maximum number of retries for 429 responses. Set to 0 to disable. Default: 3 */
119
- maxRetries?: number;
120
- /** Default delay in ms when Retry-After header is missing. Default: 1000 */
121
- defaultDelayMs?: number;
122
- };
123
- declare const applyRetryInterceptor: (params: {
124
- client: AxiosInstance;
125
- config: RetryConfig;
126
- }) => void;
127
-
128
- type InterceptorUse = {
129
- request: (fulfilled: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig | Promise<InternalAxiosRequestConfig>, rejected?: (error: unknown) => unknown) => void;
130
- response: (fulfilled: (response: AxiosResponse) => AxiosResponse | Promise<AxiosResponse>, rejected?: (error: unknown) => unknown) => void;
131
- };
132
- type EpilotSDK = {
133
- /** Set a Bearer token (static string or async function) for all clients */
134
- authorize: (token: TokenArg) => void;
135
- /** Set global default headers applied to all clients (e.g. x-epilot-org-id) */
136
- headers: (headers: HeadersConfig) => void;
137
- /** Register global axios interceptors applied to all clients */
138
- interceptors: InterceptorUse;
139
- /** Configure retry behavior for 429 Too Many Requests responses */
140
- retry: (config: RetryConfig) => void;
141
- /** Configure large response handling for S3-backed payloads */
142
- largeResponse: (config: LargeResponseConfig) => void;
143
- /** Get markdown docs. No args = general SDK help, with API name = API-specific docs */
144
- help: (apiName?: string) => Promise<string>;
145
- /** Get the full OpenAPI specification for an API (lazy-loaded) */
146
- openapi: (apiName: string) => Promise<openapi_client_axios.Document>;
147
- } & {
148
- [K in keyof SDKClientMap]: ApiHandle<SDKClientMap[K]>;
149
- } & Record<string, ApiHandle<AxiosInstance>>;
150
- declare const createSDK: () => EpilotSDK;
151
-
152
- /**
153
- * Lazy-loaded help system — returns markdown docs for SDK APIs.
154
- * Each doc is loaded via dynamic import() so only the requested doc affects bundle size.
155
- */
156
- /**
157
- * Get help for a specific API or general SDK help.
158
- *
159
- * @example
160
- * await help() // general SDK docs
161
- * await help('entity') // entity API docs
162
- */
163
- declare const help: (apiName?: string) => Promise<string>;
164
-
165
- /**
166
- * Lazy-loaded OpenAPI spec — returns the full OpenAPI JSON document for an API.
167
- * Each spec is loaded via dynamic import() so only the requested spec affects bundle size.
168
- */
169
-
170
- /**
171
- * Get the full OpenAPI specification for an API.
172
- *
173
- * @example
174
- * await openapi('entity') // full entity OpenAPI spec
175
- */
176
- declare const openapi: (apiName: string) => Promise<Document>;
177
-
178
- declare const epilot: EpilotSDK;
179
-
180
- export { ApiHandle, type EpilotSDK, HeadersConfig, type InterceptorUse, type LargeResponseConfig, type RetryConfig, TokenArg, applyLargeResponseInterceptor, applyRetryInterceptor, createSDK, epilot, help, openapi };
1
+ export type { TokenArg } from './authorize';
2
+ export { authorize } from './authorize';
3
+ export { help } from './help';
4
+ export { openapi } from './openapi';
5
+ export type { LargeResponseConfig } from './large-response';
6
+ export { applyLargeResponseInterceptor } from './large-response';
7
+ export type { RetryConfig } from './retry';
8
+ export { applyRetryInterceptor } from './retry';
9
+ export type { EpilotSDK, InterceptorUse } from './sdk';
10
+ export { createSDK } from './sdk';
11
+ export type { ApiHandle, HeadersConfig, Interceptor, OverridesConfig } from './types';
12
+ export declare const epilot: import("./sdk").EpilotSDK;
package/dist/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ import {
2
+ require_validation_rules_runtime
3
+ } from "./chunk-7IKQIVUS.js";
1
4
  import {
2
5
  require_webhooks_runtime
3
6
  } from "./chunk-A7AAVJGM.js";
@@ -7,6 +10,9 @@ import {
7
10
  import {
8
11
  require_workflow_runtime
9
12
  } from "./chunk-KQKBSWGI.js";
13
+ import {
14
+ require_query_runtime
15
+ } from "./chunk-MM5JDJFO.js";
10
16
  import {
11
17
  require_sandbox_runtime
12
18
  } from "./chunk-UUVJYJHD.js";
@@ -26,8 +32,8 @@ import {
26
32
  require_user_runtime
27
33
  } from "./chunk-3XKBB5AE.js";
28
34
  import {
29
- require_validation_rules_runtime
30
- } from "./chunk-7IKQIVUS.js";
35
+ require_notes_runtime
36
+ } from "./chunk-RW5JOHG7.js";
31
37
  import {
32
38
  require_notification_runtime
33
39
  } from "./chunk-DZ3P537S.js";
@@ -50,8 +56,8 @@ import {
50
56
  require_purpose_runtime
51
57
  } from "./chunk-D7Q4JGN7.js";
52
58
  import {
53
- require_query_runtime
54
- } from "./chunk-MM5JDJFO.js";
59
+ require_event_catalog_runtime
60
+ } from "./chunk-TME4YJNP.js";
55
61
  import {
56
62
  require_file_runtime
57
63
  } from "./chunk-E2WMGOM5.js";
@@ -74,8 +80,8 @@ import {
74
80
  require_metering_runtime
75
81
  } from "./chunk-265TE2OV.js";
76
82
  import {
77
- require_notes_runtime
78
- } from "./chunk-RW5JOHG7.js";
83
+ require_deduplication_runtime
84
+ } from "./chunk-X2SC4GW5.js";
79
85
  import {
80
86
  require_design_runtime
81
87
  } from "./chunk-KIWRGUKM.js";
@@ -97,15 +103,15 @@ import {
97
103
  import {
98
104
  require_environments_runtime
99
105
  } from "./chunk-2LEEXRJX.js";
100
- import {
101
- require_event_catalog_runtime
102
- } from "./chunk-TME4YJNP.js";
103
106
  import {
104
107
  require_billing_runtime
105
108
  } from "./chunk-CSK5ZUTS.js";
106
109
  import {
107
110
  require_blueprint_manifest_runtime
108
111
  } from "./chunk-O2YVXGPZ.js";
112
+ import {
113
+ require_calendar_runtime
114
+ } from "./chunk-JNH37UUH.js";
109
115
  import {
110
116
  require_configuration_hub_runtime
111
117
  } from "./chunk-ONOGGR6Q.js";
@@ -121,9 +127,6 @@ import {
121
127
  import {
122
128
  require_data_governance_runtime
123
129
  } from "./chunk-5ED7FB3Q.js";
124
- import {
125
- require_deduplication_runtime
126
- } from "./chunk-X2SC4GW5.js";
127
130
  import {
128
131
  require_access_token_runtime
129
132
  } from "./chunk-XSE4CFSM.js";
@@ -152,7 +155,7 @@ import {
152
155
  expand,
153
156
  help,
154
157
  openapi
155
- } from "./chunk-M25MI6ZX.js";
158
+ } from "./chunk-TSV242UN.js";
156
159
  import {
157
160
  __require
158
161
  } from "./chunk-YPSWSI3M.js";
@@ -299,6 +302,11 @@ var registerBuiltinApis = (registry) => {
299
302
  name: "blueprintManifest",
300
303
  loader: () => expandDef(require_blueprint_manifest_runtime())
301
304
  });
305
+ registerApi({
306
+ registry,
307
+ name: "calendar",
308
+ loader: () => expandDef(require_calendar_runtime())
309
+ });
302
310
  registerApi({
303
311
  registry,
304
312
  name: "configurationHub",