@epilot/sdk 2.4.2 → 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 (364) 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/automation.json +42 -0
  5. package/definitions/calendar-runtime.json +1 -0
  6. package/definitions/calendar.json +675 -0
  7. package/definitions/customer-portal.json +29 -0
  8. package/definitions/notes.json +175 -130
  9. package/definitions/pricing-runtime.json +1 -1
  10. package/definitions/pricing.json +163 -84
  11. package/dist/README-46VYEGGW.js +7 -0
  12. package/dist/README-IVBISSWB.cjs +7 -0
  13. package/dist/{_index-HE4B6FOA.js → _index-5FB6F5YY.js} +3 -0
  14. package/dist/{_index-55HAH24D.cjs → _index-DB2VV4PQ.cjs} +4 -1
  15. package/dist/apis/_registry.d.ts +8 -0
  16. package/dist/apis/access-token.cjs +6 -6
  17. package/dist/apis/access-token.d.ts +9 -12
  18. package/dist/apis/access-token.js +1 -1
  19. package/dist/apis/address-suggestions.cjs +6 -6
  20. package/dist/apis/address-suggestions.d.ts +9 -12
  21. package/dist/apis/address-suggestions.js +1 -1
  22. package/dist/apis/address.cjs +6 -6
  23. package/dist/apis/address.d.ts +9 -12
  24. package/dist/apis/address.js +1 -1
  25. package/dist/apis/ai-agents.cjs +6 -6
  26. package/dist/apis/ai-agents.d.ts +9 -12
  27. package/dist/apis/ai-agents.js +1 -1
  28. package/dist/apis/app.cjs +6 -6
  29. package/dist/apis/app.d.ts +9 -12
  30. package/dist/apis/app.js +1 -1
  31. package/dist/apis/audit-logs.cjs +6 -6
  32. package/dist/apis/audit-logs.d.ts +9 -12
  33. package/dist/apis/audit-logs.js +1 -1
  34. package/dist/apis/automation.cjs +6 -6
  35. package/dist/apis/automation.d.ts +9 -12
  36. package/dist/apis/automation.js +1 -1
  37. package/dist/apis/billing.cjs +6 -6
  38. package/dist/apis/billing.d.ts +9 -12
  39. package/dist/apis/billing.js +1 -1
  40. package/dist/apis/blueprint-manifest.cjs +6 -6
  41. package/dist/apis/blueprint-manifest.d.ts +9 -12
  42. package/dist/apis/blueprint-manifest.js +1 -1
  43. package/dist/apis/calendar.cjs +38 -0
  44. package/dist/apis/calendar.d.ts +15 -0
  45. package/dist/apis/calendar.js +38 -0
  46. package/dist/apis/configuration-hub.cjs +6 -6
  47. package/dist/apis/configuration-hub.d.ts +9 -12
  48. package/dist/apis/configuration-hub.js +1 -1
  49. package/dist/apis/consent.cjs +6 -6
  50. package/dist/apis/consent.d.ts +9 -12
  51. package/dist/apis/consent.js +1 -1
  52. package/dist/apis/customer-portal.cjs +6 -6
  53. package/dist/apis/customer-portal.d.ts +9 -12
  54. package/dist/apis/customer-portal.js +1 -1
  55. package/dist/apis/dashboard.cjs +6 -6
  56. package/dist/apis/dashboard.d.ts +9 -12
  57. package/dist/apis/dashboard.js +1 -1
  58. package/dist/apis/data-governance.cjs +6 -6
  59. package/dist/apis/data-governance.d.ts +9 -12
  60. package/dist/apis/data-governance.js +1 -1
  61. package/dist/apis/deduplication.cjs +6 -6
  62. package/dist/apis/deduplication.d.ts +9 -12
  63. package/dist/apis/deduplication.js +1 -1
  64. package/dist/apis/design.cjs +6 -6
  65. package/dist/apis/design.d.ts +9 -12
  66. package/dist/apis/design.js +1 -1
  67. package/dist/apis/document.cjs +6 -6
  68. package/dist/apis/document.d.ts +9 -12
  69. package/dist/apis/document.js +1 -1
  70. package/dist/apis/email-settings.cjs +6 -6
  71. package/dist/apis/email-settings.d.ts +9 -12
  72. package/dist/apis/email-settings.js +1 -1
  73. package/dist/apis/email-template.cjs +6 -6
  74. package/dist/apis/email-template.d.ts +9 -12
  75. package/dist/apis/email-template.js +1 -1
  76. package/dist/apis/entity-mapping.cjs +6 -6
  77. package/dist/apis/entity-mapping.d.ts +9 -12
  78. package/dist/apis/entity-mapping.js +1 -1
  79. package/dist/apis/entity.cjs +6 -6
  80. package/dist/apis/entity.d.ts +9 -12
  81. package/dist/apis/entity.js +1 -1
  82. package/dist/apis/environments.cjs +6 -6
  83. package/dist/apis/environments.d.ts +9 -12
  84. package/dist/apis/environments.js +1 -1
  85. package/dist/apis/event-catalog.cjs +6 -6
  86. package/dist/apis/event-catalog.d.ts +9 -12
  87. package/dist/apis/event-catalog.js +1 -1
  88. package/dist/apis/file.cjs +6 -6
  89. package/dist/apis/file.d.ts +9 -12
  90. package/dist/apis/file.js +1 -1
  91. package/dist/apis/iban.cjs +6 -6
  92. package/dist/apis/iban.d.ts +9 -12
  93. package/dist/apis/iban.js +1 -1
  94. package/dist/apis/integration-toolkit.cjs +6 -6
  95. package/dist/apis/integration-toolkit.d.ts +9 -12
  96. package/dist/apis/integration-toolkit.js +1 -1
  97. package/dist/apis/journey.cjs +6 -6
  98. package/dist/apis/journey.d.ts +9 -12
  99. package/dist/apis/journey.js +1 -1
  100. package/dist/apis/kanban.cjs +6 -6
  101. package/dist/apis/kanban.d.ts +9 -12
  102. package/dist/apis/kanban.js +1 -1
  103. package/dist/apis/message.cjs +6 -6
  104. package/dist/apis/message.d.ts +9 -12
  105. package/dist/apis/message.js +1 -1
  106. package/dist/apis/metering.cjs +6 -6
  107. package/dist/apis/metering.d.ts +9 -12
  108. package/dist/apis/metering.js +1 -1
  109. package/dist/apis/notes.cjs +6 -6
  110. package/dist/apis/notes.d.ts +9 -12
  111. package/dist/apis/notes.js +1 -1
  112. package/dist/apis/notification.cjs +6 -6
  113. package/dist/apis/notification.d.ts +9 -12
  114. package/dist/apis/notification.js +1 -1
  115. package/dist/apis/organization.cjs +6 -6
  116. package/dist/apis/organization.d.ts +9 -12
  117. package/dist/apis/organization.js +1 -1
  118. package/dist/apis/partner-directory.cjs +6 -6
  119. package/dist/apis/partner-directory.d.ts +9 -12
  120. package/dist/apis/partner-directory.js +1 -1
  121. package/dist/apis/permissions.cjs +6 -6
  122. package/dist/apis/permissions.d.ts +9 -12
  123. package/dist/apis/permissions.js +1 -1
  124. package/dist/apis/pricing-tier.cjs +6 -6
  125. package/dist/apis/pricing-tier.d.ts +9 -12
  126. package/dist/apis/pricing-tier.js +1 -1
  127. package/dist/apis/pricing.cjs +8 -8
  128. package/dist/apis/pricing.d.ts +9 -12
  129. package/dist/apis/pricing.js +2 -2
  130. package/dist/apis/purpose.cjs +6 -6
  131. package/dist/apis/purpose.d.ts +9 -12
  132. package/dist/apis/purpose.js +1 -1
  133. package/dist/apis/query.cjs +6 -6
  134. package/dist/apis/query.d.ts +9 -12
  135. package/dist/apis/query.js +1 -1
  136. package/dist/apis/sandbox.cjs +6 -6
  137. package/dist/apis/sandbox.d.ts +9 -12
  138. package/dist/apis/sandbox.js +1 -1
  139. package/dist/apis/sharing.cjs +6 -6
  140. package/dist/apis/sharing.d.ts +9 -12
  141. package/dist/apis/sharing.js +1 -1
  142. package/dist/apis/submission.cjs +6 -6
  143. package/dist/apis/submission.d.ts +9 -12
  144. package/dist/apis/submission.js +1 -1
  145. package/dist/apis/target.cjs +6 -6
  146. package/dist/apis/target.d.ts +9 -591
  147. package/dist/apis/target.js +1 -1
  148. package/dist/apis/targeting.cjs +6 -6
  149. package/dist/apis/targeting.d.ts +9 -12
  150. package/dist/apis/targeting.js +1 -1
  151. package/dist/apis/template-variables.cjs +6 -6
  152. package/dist/apis/template-variables.d.ts +9 -12
  153. package/dist/apis/template-variables.js +1 -1
  154. package/dist/apis/user.cjs +6 -6
  155. package/dist/apis/user.d.ts +9 -12
  156. package/dist/apis/user.js +1 -1
  157. package/dist/apis/validation-rules.cjs +6 -6
  158. package/dist/apis/validation-rules.d.ts +9 -12
  159. package/dist/apis/validation-rules.js +1 -1
  160. package/dist/apis/webhooks.cjs +6 -6
  161. package/dist/apis/webhooks.d.ts +9 -12
  162. package/dist/apis/webhooks.js +1 -1
  163. package/dist/apis/workflow-definition.cjs +6 -6
  164. package/dist/apis/workflow-definition.d.ts +9 -12
  165. package/dist/apis/workflow-definition.js +1 -1
  166. package/dist/apis/workflow.cjs +6 -6
  167. package/dist/apis/workflow.d.ts +9 -12
  168. package/dist/apis/workflow.js +1 -1
  169. package/dist/authorize.d.ts +3 -0
  170. package/dist/automation-BMO7ZFTN.cjs +7 -0
  171. package/dist/automation-MEZTSUR3.js +7 -0
  172. package/dist/bin/cli.d.ts +1 -0
  173. package/dist/bin/cli.js +1 -1
  174. package/dist/calendar-2YDAYG7S.cjs +7 -0
  175. package/dist/calendar-ACFIHQ2N.js +7 -0
  176. package/dist/calendar-runtime-6CMMEQMG.js +5 -0
  177. package/dist/calendar-runtime-G4SN5PDY.cjs +5 -0
  178. package/dist/{chunk-MEUS7LCE.js → chunk-63BFJKWV.js} +1 -1
  179. package/dist/{chunk-YLJD7G7H.cjs → chunk-CD4OX2U6.cjs} +7 -5
  180. package/dist/chunk-CKLEBO4K.cjs +14 -0
  181. package/dist/chunk-JNH37UUH.js +14 -0
  182. package/dist/{chunk-JXJC6WEW.cjs → chunk-KP7H52BF.cjs} +1 -1
  183. package/dist/{chunk-CQ3AKMIJ.js → chunk-TSV242UN.js} +7 -5
  184. package/dist/client-factory.d.ts +9 -0
  185. package/dist/client-map.d.ts +102 -0
  186. package/dist/compact.d.ts +22 -0
  187. package/dist/help.d.ts +12 -0
  188. package/dist/index.cjs +27 -19
  189. package/dist/index.d.ts +12 -180
  190. package/dist/index.js +22 -14
  191. package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
  192. package/dist/large-response.d.ts +9 -0
  193. package/dist/openapi.d.ts +12 -0
  194. package/dist/overrides.d.ts +9 -0
  195. package/dist/pricing-G67CH3XH.js +7 -0
  196. package/dist/pricing-XAET4G7T.cjs +7 -0
  197. package/dist/{pricing-runtime-JRR4FWFI.js → pricing-runtime-2YKEJJMZ.js} +1 -1
  198. package/dist/{pricing-runtime-6XNS4EOF.cjs → pricing-runtime-XDCOKL47.cjs} +2 -2
  199. package/dist/proxy.d.ts +14 -0
  200. package/dist/registry.d.ts +19 -0
  201. package/dist/retry.d.ts +11 -0
  202. package/dist/sdk.d.ts +29 -0
  203. package/dist/types.d.ts +53 -0
  204. package/docs/automation.md +42 -5
  205. package/docs/calendar.md +441 -0
  206. package/docs/pricing.md +39 -15
  207. package/package.json +10 -1
  208. package/dist/README-6MG272KM.cjs +0 -7
  209. package/dist/README-7N542PBL.js +0 -7
  210. package/dist/access-token.d-CnmUTOlq.d.cts +0 -552
  211. package/dist/access-token.d-CnmUTOlq.d.ts +0 -552
  212. package/dist/address-suggestions.d-_YwTOR-9.d.cts +0 -339
  213. package/dist/address-suggestions.d-_YwTOR-9.d.ts +0 -339
  214. package/dist/address.d-CwAPOVxa.d.cts +0 -437
  215. package/dist/address.d-CwAPOVxa.d.ts +0 -437
  216. package/dist/ai-agents.d-OkXfr2bz.d.cts +0 -1339
  217. package/dist/ai-agents.d-OkXfr2bz.d.ts +0 -1339
  218. package/dist/apis/access-token.d.cts +0 -18
  219. package/dist/apis/address-suggestions.d.cts +0 -18
  220. package/dist/apis/address.d.cts +0 -18
  221. package/dist/apis/ai-agents.d.cts +0 -18
  222. package/dist/apis/app.d.cts +0 -18
  223. package/dist/apis/audit-logs.d.cts +0 -18
  224. package/dist/apis/automation.d.cts +0 -18
  225. package/dist/apis/billing.d.cts +0 -18
  226. package/dist/apis/blueprint-manifest.d.cts +0 -18
  227. package/dist/apis/configuration-hub.d.cts +0 -18
  228. package/dist/apis/consent.d.cts +0 -18
  229. package/dist/apis/customer-portal.d.cts +0 -18
  230. package/dist/apis/dashboard.d.cts +0 -18
  231. package/dist/apis/data-governance.d.cts +0 -18
  232. package/dist/apis/deduplication.d.cts +0 -18
  233. package/dist/apis/design.d.cts +0 -18
  234. package/dist/apis/document.d.cts +0 -18
  235. package/dist/apis/email-settings.d.cts +0 -18
  236. package/dist/apis/email-template.d.cts +0 -18
  237. package/dist/apis/entity-mapping.d.cts +0 -18
  238. package/dist/apis/entity.d.cts +0 -18
  239. package/dist/apis/environments.d.cts +0 -18
  240. package/dist/apis/event-catalog.d.cts +0 -18
  241. package/dist/apis/file.d.cts +0 -18
  242. package/dist/apis/iban.d.cts +0 -18
  243. package/dist/apis/integration-toolkit.d.cts +0 -18
  244. package/dist/apis/journey.d.cts +0 -18
  245. package/dist/apis/kanban.d.cts +0 -18
  246. package/dist/apis/message.d.cts +0 -18
  247. package/dist/apis/metering.d.cts +0 -18
  248. package/dist/apis/notes.d.cts +0 -18
  249. package/dist/apis/notification.d.cts +0 -18
  250. package/dist/apis/organization.d.cts +0 -18
  251. package/dist/apis/partner-directory.d.cts +0 -18
  252. package/dist/apis/permissions.d.cts +0 -18
  253. package/dist/apis/pricing-tier.d.cts +0 -18
  254. package/dist/apis/pricing.d.cts +0 -18
  255. package/dist/apis/purpose.d.cts +0 -18
  256. package/dist/apis/query.d.cts +0 -18
  257. package/dist/apis/sandbox.d.cts +0 -18
  258. package/dist/apis/sharing.d.cts +0 -18
  259. package/dist/apis/submission.d.cts +0 -18
  260. package/dist/apis/target.d.cts +0 -597
  261. package/dist/apis/targeting.d.cts +0 -18
  262. package/dist/apis/template-variables.d.cts +0 -18
  263. package/dist/apis/user.d.cts +0 -18
  264. package/dist/apis/validation-rules.d.cts +0 -18
  265. package/dist/apis/webhooks.d.cts +0 -18
  266. package/dist/apis/workflow-definition.d.cts +0 -18
  267. package/dist/apis/workflow.d.cts +0 -18
  268. package/dist/app.d-u7Dq42kU.d.cts +0 -3391
  269. package/dist/app.d-u7Dq42kU.d.ts +0 -3391
  270. package/dist/audit-logs.d-BRToFqeX.d.cts +0 -287
  271. package/dist/audit-logs.d-BRToFqeX.d.ts +0 -287
  272. package/dist/automation-GFNNLSIN.js +0 -7
  273. package/dist/automation-IOCVCTKR.cjs +0 -7
  274. package/dist/automation.d-CzhG2m4L.d.cts +0 -5252
  275. package/dist/automation.d-CzhG2m4L.d.ts +0 -5252
  276. package/dist/billing.d-Bs8Ku9qE.d.cts +0 -993
  277. package/dist/billing.d-Bs8Ku9qE.d.ts +0 -993
  278. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +0 -4343
  279. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +0 -4343
  280. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  281. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  282. package/dist/consent.d-C2PROHhX.d.cts +0 -265
  283. package/dist/consent.d-C2PROHhX.d.ts +0 -265
  284. package/dist/customer-portal.d-DyZ2n2dW.d.cts +0 -16728
  285. package/dist/customer-portal.d-DyZ2n2dW.d.ts +0 -16728
  286. package/dist/dashboard.d-CsGcA74I.d.cts +0 -440
  287. package/dist/dashboard.d-CsGcA74I.d.ts +0 -440
  288. package/dist/data-governance.d-BbZ466j5.d.cts +0 -1178
  289. package/dist/data-governance.d-BbZ466j5.d.ts +0 -1178
  290. package/dist/deduplication.d-D5GYddVu.d.cts +0 -218
  291. package/dist/deduplication.d-D5GYddVu.d.ts +0 -218
  292. package/dist/design.d-BRre8iLg.d.cts +0 -2346
  293. package/dist/design.d-BRre8iLg.d.ts +0 -2346
  294. package/dist/document.d-DN37pjdx.d.cts +0 -648
  295. package/dist/document.d-DN37pjdx.d.ts +0 -648
  296. package/dist/email-settings.d-B7Q_xT25.d.cts +0 -2417
  297. package/dist/email-settings.d-B7Q_xT25.d.ts +0 -2417
  298. package/dist/email-template.d-gtQkdaXM.d.cts +0 -1188
  299. package/dist/email-template.d-gtQkdaXM.d.ts +0 -1188
  300. package/dist/entity-mapping.d-DKSW3sfy.d.cts +0 -1092
  301. package/dist/entity-mapping.d-DKSW3sfy.d.ts +0 -1092
  302. package/dist/entity.d-BHR9dEon.d.cts +0 -18479
  303. package/dist/entity.d-BHR9dEon.d.ts +0 -18479
  304. package/dist/environments.d-BvqvN-PD.d.cts +0 -382
  305. package/dist/environments.d-BvqvN-PD.d.ts +0 -382
  306. package/dist/event-catalog.d-ENw6HO-w.d.cts +0 -1511
  307. package/dist/event-catalog.d-ENw6HO-w.d.ts +0 -1511
  308. package/dist/file.d-DcTJxjp7.d.cts +0 -2992
  309. package/dist/file.d-DcTJxjp7.d.ts +0 -2992
  310. package/dist/iban.d-BwdiGbxi.d.cts +0 -70
  311. package/dist/iban.d-BwdiGbxi.d.ts +0 -70
  312. package/dist/index.d.cts +0 -180
  313. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +0 -5796
  314. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +0 -5796
  315. package/dist/journey.d-ClXO0xK8.d.cts +0 -1931
  316. package/dist/journey.d-ClXO0xK8.d.ts +0 -1931
  317. package/dist/kanban.d-BHnSRCYW.d.cts +0 -760
  318. package/dist/kanban.d-BHnSRCYW.d.ts +0 -760
  319. package/dist/message.d-B5UuSqgw.d.cts +0 -3811
  320. package/dist/message.d-B5UuSqgw.d.ts +0 -3811
  321. package/dist/metering.d-DvtPv7wk.d.cts +0 -1841
  322. package/dist/metering.d-DvtPv7wk.d.ts +0 -1841
  323. package/dist/notes.d-BC-scR42.d.cts +0 -1046
  324. package/dist/notes.d-BC-scR42.d.ts +0 -1046
  325. package/dist/notification.d-BfBL3lga.d.cts +0 -1147
  326. package/dist/notification.d-BfBL3lga.d.ts +0 -1147
  327. package/dist/organization.d-DqwnNxMg.d.cts +0 -1271
  328. package/dist/organization.d-DqwnNxMg.d.ts +0 -1271
  329. package/dist/partner-directory.d-BCIjHoGs.d.cts +0 -2337
  330. package/dist/partner-directory.d-BCIjHoGs.d.ts +0 -2337
  331. package/dist/permissions.d-l6AT8SYP.d.cts +0 -1279
  332. package/dist/permissions.d-l6AT8SYP.d.ts +0 -1279
  333. package/dist/pricing-4Z4TOETA.cjs +0 -7
  334. package/dist/pricing-C65DTZSX.js +0 -7
  335. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +0 -81
  336. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +0 -81
  337. package/dist/pricing.d-Cv39plGm.d.cts +0 -12200
  338. package/dist/pricing.d-Cv39plGm.d.ts +0 -12200
  339. package/dist/purpose.d-CbIYfTua.d.cts +0 -372
  340. package/dist/purpose.d-CbIYfTua.d.ts +0 -372
  341. package/dist/query.d-Cmp78IhZ.d.cts +0 -2375
  342. package/dist/query.d-Cmp78IhZ.d.ts +0 -2375
  343. package/dist/sandbox.d-BdbOFzDu.d.cts +0 -465
  344. package/dist/sandbox.d-BdbOFzDu.d.ts +0 -465
  345. package/dist/sharing.d-sOXq-gtz.d.cts +0 -571
  346. package/dist/sharing.d-sOXq-gtz.d.ts +0 -571
  347. package/dist/submission.d-BamwfhXw.d.cts +0 -469
  348. package/dist/submission.d-BamwfhXw.d.ts +0 -469
  349. package/dist/targeting.d-BNmcVsNS.d.cts +0 -2057
  350. package/dist/targeting.d-BNmcVsNS.d.ts +0 -2057
  351. package/dist/template-variables.d-Ble9TSBa.d.cts +0 -1320
  352. package/dist/template-variables.d-Ble9TSBa.d.ts +0 -1320
  353. package/dist/types-ChU9Acbv.d.cts +0 -37
  354. package/dist/types-ChU9Acbv.d.ts +0 -37
  355. package/dist/user.d-D18fe97W.d.cts +0 -2270
  356. package/dist/user.d-D18fe97W.d.ts +0 -2270
  357. package/dist/validation-rules.d-Db5c5zTf.d.cts +0 -807
  358. package/dist/validation-rules.d-Db5c5zTf.d.ts +0 -807
  359. package/dist/webhooks.d-pLHIL_io.d.cts +0 -1256
  360. package/dist/webhooks.d-pLHIL_io.d.ts +0 -1256
  361. package/dist/workflow-definition.d-DOeb0KVV.d.cts +0 -1922
  362. package/dist/workflow-definition.d-DOeb0KVV.d.ts +0 -1922
  363. package/dist/workflow.d-CMSKt8oN.d.cts +0 -3151
  364. package/dist/workflow.d-CMSKt8oN.d.ts +0 -3151
@@ -1,597 +1,15 @@
1
- import { A as ApiHandle } from '../types-ChU9Acbv.js';
2
- export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
3
- import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
4
- export { OpenAPIClient } from 'openapi-client-axios';
5
- import 'axios';
6
-
7
- /* Auto-copied from target-client */
8
-
9
-
10
- declare namespace Components {
11
- namespace Parameters {
12
- export type HydrateQueryParam = boolean;
13
- export type StrictQueryParam = boolean;
14
- export type TargetIdPathParam = /**
15
- * example:
16
- * 123e4567-e89b-12d3-a456-426614174000
17
- */
18
- Schemas.BaseUUID /* uuid */;
19
- }
20
- export interface PathParameters {
21
- TargetIdPathParam?: Parameters.TargetIdPathParam;
22
- }
23
- export interface QueryParameters {
24
- HydrateQueryParam?: Parameters.HydrateQueryParam;
25
- StrictQueryParam?: Parameters.StrictQueryParam;
26
- }
27
- namespace RequestBodies {
28
- export type TargetCreateRequest = Schemas.TargetCreate;
29
- export type TargetPatchRequest = Schemas.TargetPatch;
30
- export type TargetUpdateRequest = Schemas.TargetCreate;
31
- }
32
- namespace Responses {
33
- export type ClientErrorResponse = Schemas.ClientError;
34
- export type ServerErrorResponse = Schemas.ServerError;
35
- export type TargetResponse = Schemas.Target;
36
- }
37
- namespace Schemas {
38
- /**
39
- * Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
40
- */
41
- export interface BaseEntityAcl {
42
- view?: string[];
43
- edit?: string[];
44
- delete?: string[];
45
- }
46
- /**
47
- * The user / organization owning this entity.
48
- *
49
- * Note: Owner implicitly has access to the entity regardless of ACLs.
50
- *
51
- */
52
- export interface BaseEntityOwner {
53
- /**
54
- * example:
55
- * 123
56
- */
57
- org_id: string;
58
- /**
59
- * example:
60
- * 123
61
- */
62
- user_id?: string;
63
- }
64
- export interface BaseError {
65
- /**
66
- * example:
67
- * 404
68
- */
69
- status: number;
70
- /**
71
- * example:
72
- * Entity not found
73
- */
74
- message: string;
75
- }
76
- export type BasePurpose = string[] | null;
77
- export interface BaseRelation {
78
- $relation?: {
79
- entity_id?: /**
80
- * example:
81
- * 123e4567-e89b-12d3-a456-426614174000
82
- */
83
- BaseUUID /* uuid */;
84
- _tags?: BaseTags;
85
- }[];
86
- }
87
- export interface BaseSystemFields {
88
- _tags?: BaseTags;
89
- _purpose?: BasePurpose;
90
- _files?: BaseRelation;
91
- /**
92
- * Manifest ID used to create/update the entity
93
- */
94
- _manifest?: string /* uuid */[];
95
- /**
96
- * Additional fields that are not part of the schema
97
- * example:
98
- * {}
99
- */
100
- __additional?: {
101
- [name: string]: any;
102
- } | null;
103
- }
104
- export interface BaseSystemFieldsRequired {
105
- }
106
- export interface BaseSystemReadonlyFields {
107
- _id?: /**
108
- * example:
109
- * 123e4567-e89b-12d3-a456-426614174000
110
- */
111
- BaseUUID /* uuid */;
112
- _schema?: string;
113
- /**
114
- * Organization Id the entity belongs to
115
- */
116
- _org?: string;
117
- _tags?: BaseTags;
118
- _files?: BaseRelation;
119
- _owners?: /**
120
- * The user / organization owning this entity.
121
- *
122
- * Note: Owner implicitly has access to the entity regardless of ACLs.
123
- *
124
- */
125
- BaseEntityOwner[];
126
- _title?: string;
127
- _created_at?: string; // date-time
128
- _updated_at?: string; // date-time
129
- _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ BaseEntityAcl;
130
- }
131
- export type BaseTags = string[] | null;
132
- export interface BaseTarget {
133
- _schema?: "target";
134
- /**
135
- * The description for the target
136
- */
137
- name?: string;
138
- /**
139
- * The description of the target
140
- */
141
- description?: string;
142
- /**
143
- * The schema of the target entities
144
- */
145
- entity_schema?: string;
146
- /**
147
- * The filters on the targeted schema
148
- */
149
- entity_filters?: {
150
- filter?: {
151
- /**
152
- * The list of applied filters on targeted schema
153
- */
154
- items?: {
155
- /**
156
- * The key of the filter
157
- */
158
- key?: string;
159
- /**
160
- * The operator of the filter
161
- */
162
- operator?: string;
163
- value?: string | string[];
164
- }[];
165
- /**
166
- * The combination of the filters
167
- */
168
- combination?: string;
169
- };
170
- };
171
- }
172
- export interface BaseTargetRequired {
173
- }
174
- /**
175
- * example:
176
- * 123e4567-e89b-12d3-a456-426614174000
177
- */
178
- export type BaseUUID = string; // uuid
179
- export type ClientError = BaseError;
180
- export type ServerError = BaseError;
181
- export interface Target {
182
- _id?: /**
183
- * example:
184
- * 123e4567-e89b-12d3-a456-426614174000
185
- */
186
- BaseUUID /* uuid */;
187
- _schema: "target";
188
- /**
189
- * Organization Id the entity belongs to
190
- */
191
- _org: string;
192
- _tags?: BaseTags;
193
- _files?: BaseRelation;
194
- _owners?: /**
195
- * The user / organization owning this entity.
196
- *
197
- * Note: Owner implicitly has access to the entity regardless of ACLs.
198
- *
199
- */
200
- BaseEntityOwner[];
201
- _title?: string;
202
- _created_at?: string; // date-time
203
- _updated_at?: string; // date-time
204
- _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ BaseEntityAcl;
205
- /**
206
- * The description for the target
207
- */
208
- name: string;
209
- /**
210
- * The description of the target
211
- */
212
- description?: string;
213
- /**
214
- * The schema of the target entities
215
- */
216
- entity_schema?: string;
217
- /**
218
- * The filters on the targeted schema
219
- */
220
- entity_filters?: {
221
- filter?: {
222
- /**
223
- * The list of applied filters on targeted schema
224
- */
225
- items?: {
226
- /**
227
- * The key of the filter
228
- */
229
- key?: string;
230
- /**
231
- * The operator of the filter
232
- */
233
- operator?: string;
234
- value?: string | string[];
235
- }[];
236
- /**
237
- * The combination of the filters
238
- */
239
- combination?: string;
240
- };
241
- };
242
- _purpose?: BasePurpose;
243
- /**
244
- * Manifest ID used to create/update the entity
245
- */
246
- _manifest?: string /* uuid */[];
247
- /**
248
- * Additional fields that are not part of the schema
249
- * example:
250
- * {}
251
- */
252
- __additional?: {
253
- [name: string]: any;
254
- } | null;
255
- }
256
- export interface TargetCreate {
257
- _schema?: "target";
258
- /**
259
- * The description for the target
260
- */
261
- name: string;
262
- /**
263
- * The description of the target
264
- */
265
- description?: string;
266
- /**
267
- * The schema of the target entities
268
- */
269
- entity_schema?: string;
270
- /**
271
- * The filters on the targeted schema
272
- */
273
- entity_filters?: {
274
- filter?: {
275
- /**
276
- * The list of applied filters on targeted schema
277
- */
278
- items?: {
279
- /**
280
- * The key of the filter
281
- */
282
- key?: string;
283
- /**
284
- * The operator of the filter
285
- */
286
- operator?: string;
287
- value?: string | string[];
288
- }[];
289
- /**
290
- * The combination of the filters
291
- */
292
- combination?: string;
293
- };
294
- };
295
- _tags?: BaseTags;
296
- _purpose?: BasePurpose;
297
- _files?: BaseRelation;
298
- /**
299
- * Manifest ID used to create/update the entity
300
- */
301
- _manifest?: string /* uuid */[];
302
- /**
303
- * Additional fields that are not part of the schema
304
- * example:
305
- * {}
306
- */
307
- __additional?: {
308
- [name: string]: any;
309
- } | null;
310
- }
311
- export interface TargetPatch {
312
- _schema?: "target";
313
- /**
314
- * The description for the target
315
- */
316
- name?: string;
317
- /**
318
- * The description of the target
319
- */
320
- description?: string;
321
- /**
322
- * The schema of the target entities
323
- */
324
- entity_schema?: string;
325
- /**
326
- * The filters on the targeted schema
327
- */
328
- entity_filters?: {
329
- filter?: {
330
- /**
331
- * The list of applied filters on targeted schema
332
- */
333
- items?: {
334
- /**
335
- * The key of the filter
336
- */
337
- key?: string;
338
- /**
339
- * The operator of the filter
340
- */
341
- operator?: string;
342
- value?: string | string[];
343
- }[];
344
- /**
345
- * The combination of the filters
346
- */
347
- combination?: string;
348
- };
349
- };
350
- _tags?: BaseTags;
351
- _purpose?: BasePurpose;
352
- _files?: BaseRelation;
353
- /**
354
- * Manifest ID used to create/update the entity
355
- */
356
- _manifest?: string /* uuid */[];
357
- /**
358
- * Additional fields that are not part of the schema
359
- * example:
360
- * {}
361
- */
362
- __additional?: {
363
- [name: string]: any;
364
- } | null;
365
- }
366
- }
367
- }
368
- declare namespace Paths {
369
- namespace CreateTarget {
370
- export type RequestBody = Components.RequestBodies.TargetCreateRequest;
371
- namespace Responses {
372
- export type $201 = Components.Responses.TargetResponse;
373
- export type $400 = Components.Responses.ClientErrorResponse;
374
- export type $500 = Components.Responses.ServerErrorResponse;
375
- }
376
- }
377
- namespace DeleteTarget {
378
- namespace Parameters {
379
- export type TargetId = /**
380
- * example:
381
- * 123e4567-e89b-12d3-a456-426614174000
382
- */
383
- Components.Schemas.BaseUUID /* uuid */;
384
- }
385
- export interface PathParameters {
386
- targetId: Parameters.TargetId;
387
- }
388
- namespace Responses {
389
- export type $200 = Components.Responses.TargetResponse;
390
- export type $400 = Components.Responses.ClientErrorResponse;
391
- export type $500 = Components.Responses.ServerErrorResponse;
392
- }
393
- }
394
- namespace GetTarget {
395
- namespace Parameters {
396
- export type Hydrate = boolean;
397
- export type Strict = boolean;
398
- export type TargetId = /**
399
- * example:
400
- * 123e4567-e89b-12d3-a456-426614174000
401
- */
402
- Components.Schemas.BaseUUID /* uuid */;
403
- }
404
- export interface PathParameters {
405
- targetId: Parameters.TargetId;
406
- }
407
- export interface QueryParameters {
408
- hydrate?: Parameters.Hydrate;
409
- strict?: Parameters.Strict;
410
- }
411
- namespace Responses {
412
- export type $200 = Components.Responses.TargetResponse;
413
- export type $400 = Components.Responses.ClientErrorResponse;
414
- export type $500 = Components.Responses.ServerErrorResponse;
415
- }
416
- }
417
- namespace PatchTarget {
418
- namespace Parameters {
419
- export type TargetId = /**
420
- * example:
421
- * 123e4567-e89b-12d3-a456-426614174000
422
- */
423
- Components.Schemas.BaseUUID /* uuid */;
424
- }
425
- export interface PathParameters {
426
- targetId: Parameters.TargetId;
427
- }
428
- export type RequestBody = Components.RequestBodies.TargetPatchRequest;
429
- namespace Responses {
430
- export type $200 = Components.Responses.TargetResponse;
431
- export type $400 = Components.Responses.ClientErrorResponse;
432
- export type $500 = Components.Responses.ServerErrorResponse;
433
- }
434
- }
435
- namespace UpdateTarget {
436
- namespace Parameters {
437
- export type TargetId = /**
438
- * example:
439
- * 123e4567-e89b-12d3-a456-426614174000
440
- */
441
- Components.Schemas.BaseUUID /* uuid */;
442
- }
443
- export interface PathParameters {
444
- targetId: Parameters.TargetId;
445
- }
446
- export type RequestBody = Components.RequestBodies.TargetUpdateRequest;
447
- namespace Responses {
448
- export type $200 = Components.Responses.TargetResponse;
449
- export type $400 = Components.Responses.ClientErrorResponse;
450
- export type $500 = Components.Responses.ServerErrorResponse;
451
- }
452
- }
453
- }
454
-
455
-
456
- interface OperationMethods {
457
- /**
458
- * createTarget - createTarget
459
- *
460
- * Create a new target entity
461
- */
462
- 'createTarget'(
463
- parameters?: Parameters<UnknownParamsObject> | null,
464
- data?: Paths.CreateTarget.RequestBody,
465
- config?: AxiosRequestConfig
466
- ): OperationResponse<Paths.CreateTarget.Responses.$201>
467
- /**
468
- * getTarget - getTarget
469
- *
470
- * Read a specific target entity by a given id
471
- */
472
- 'getTarget'(
473
- parameters?: Parameters<Paths.GetTarget.QueryParameters & Paths.GetTarget.PathParameters> | null,
474
- data?: any,
475
- config?: AxiosRequestConfig
476
- ): OperationResponse<Paths.GetTarget.Responses.$200>
477
- /**
478
- * updateTarget - updateTarget
479
- *
480
- * Completly replace a specific target entity's properties by a given id and a given payload
481
- */
482
- 'updateTarget'(
483
- parameters?: Parameters<Paths.UpdateTarget.PathParameters> | null,
484
- data?: Paths.UpdateTarget.RequestBody,
485
- config?: AxiosRequestConfig
486
- ): OperationResponse<Paths.UpdateTarget.Responses.$200>
487
- /**
488
- * patchTarget - patchTarget
489
- *
490
- * Partially update a specific target entity's properties by a given id and a given payload
491
- */
492
- 'patchTarget'(
493
- parameters?: Parameters<Paths.PatchTarget.PathParameters> | null,
494
- data?: Paths.PatchTarget.RequestBody,
495
- config?: AxiosRequestConfig
496
- ): OperationResponse<Paths.PatchTarget.Responses.$200>
497
- /**
498
- * deleteTarget - deleteTarget
499
- *
500
- * Delete a specific target entity by a given id
501
- */
502
- 'deleteTarget'(
503
- parameters?: Parameters<Paths.DeleteTarget.PathParameters> | null,
504
- data?: any,
505
- config?: AxiosRequestConfig
506
- ): OperationResponse<Paths.DeleteTarget.Responses.$200>
507
- }
508
-
509
- interface PathsDictionary {
510
- ['/v1/target']: {
511
- /**
512
- * createTarget - createTarget
513
- *
514
- * Create a new target entity
515
- */
516
- 'post'(
517
- parameters?: Parameters<UnknownParamsObject> | null,
518
- data?: Paths.CreateTarget.RequestBody,
519
- config?: AxiosRequestConfig
520
- ): OperationResponse<Paths.CreateTarget.Responses.$201>
521
- }
522
- ['/v1/target/{targetId}']: {
523
- /**
524
- * getTarget - getTarget
525
- *
526
- * Read a specific target entity by a given id
527
- */
528
- 'get'(
529
- parameters?: Parameters<Paths.GetTarget.QueryParameters & Paths.GetTarget.PathParameters> | null,
530
- data?: any,
531
- config?: AxiosRequestConfig
532
- ): OperationResponse<Paths.GetTarget.Responses.$200>
533
- /**
534
- * deleteTarget - deleteTarget
535
- *
536
- * Delete a specific target entity by a given id
537
- */
538
- 'delete'(
539
- parameters?: Parameters<Paths.DeleteTarget.PathParameters> | null,
540
- data?: any,
541
- config?: AxiosRequestConfig
542
- ): OperationResponse<Paths.DeleteTarget.Responses.$200>
543
- /**
544
- * patchTarget - patchTarget
545
- *
546
- * Partially update a specific target entity's properties by a given id and a given payload
547
- */
548
- 'patch'(
549
- parameters?: Parameters<Paths.PatchTarget.PathParameters> | null,
550
- data?: Paths.PatchTarget.RequestBody,
551
- config?: AxiosRequestConfig
552
- ): OperationResponse<Paths.PatchTarget.Responses.$200>
553
- /**
554
- * updateTarget - updateTarget
555
- *
556
- * Completly replace a specific target entity's properties by a given id and a given payload
557
- */
558
- 'put'(
559
- parameters?: Parameters<Paths.UpdateTarget.PathParameters> | null,
560
- data?: Paths.UpdateTarget.RequestBody,
561
- config?: AxiosRequestConfig
562
- ): OperationResponse<Paths.UpdateTarget.Responses.$200>
563
- }
564
- }
565
-
566
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
567
-
568
-
569
- type BaseEntityAcl = Components.Schemas.BaseEntityAcl;
570
- type BaseEntityOwner = Components.Schemas.BaseEntityOwner;
571
- type BaseError = Components.Schemas.BaseError;
572
- type BasePurpose = Components.Schemas.BasePurpose;
573
- type BaseRelation = Components.Schemas.BaseRelation;
574
- type BaseSystemFields = Components.Schemas.BaseSystemFields;
575
- type BaseSystemFieldsRequired = Components.Schemas.BaseSystemFieldsRequired;
576
- type BaseSystemReadonlyFields = Components.Schemas.BaseSystemReadonlyFields;
577
- type BaseTags = Components.Schemas.BaseTags;
578
- type BaseTarget = Components.Schemas.BaseTarget;
579
- type BaseTargetRequired = Components.Schemas.BaseTargetRequired;
580
- type BaseUUID = Components.Schemas.BaseUUID;
581
- type ClientError = Components.Schemas.ClientError;
582
- type ServerError = Components.Schemas.ServerError;
583
- type Target = Components.Schemas.Target;
584
- type TargetCreate = Components.Schemas.TargetCreate;
585
- type TargetPatch = Components.Schemas.TargetPatch;
586
-
1
+ import type { ApiHandle } from '../types';
2
+ export { authorize } from '../authorize';
3
+ export type { TokenArg } from '../authorize';
4
+ import type { Client } from '../types/target';
5
+ export type * from '../types/target';
6
+ export type { OpenAPIClient } from 'openapi-client-axios';
587
7
  /** Get the cached singleton client (lazy-initialized on first call) */
588
- declare const getClient: () => Client;
8
+ export declare const getClient: () => Client;
589
9
  /** Create a fresh client instance (not cached) */
590
- declare const createClient: () => Client;
10
+ export declare const createClient: () => Client;
591
11
  /**
592
12
  * API handle — also exposes operations directly:
593
13
  * `target.someOperation(...)` calls forwarded to lazy singleton
594
14
  */
595
- declare const target: ApiHandle<Client>;
596
-
597
- export { type BaseEntityAcl, type BaseEntityOwner, type BaseError, type BasePurpose, type BaseRelation, type BaseSystemFields, type BaseSystemFieldsRequired, type BaseSystemReadonlyFields, type BaseTags, type BaseTarget, type BaseTargetRequired, type BaseUUID, type Client, type ClientError, Components, type OperationMethods, Paths, type PathsDictionary, type ServerError, type Target, type TargetCreate, type TargetPatch, createClient, getClient, target };
15
+ export declare const target: ApiHandle<Client>;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-CQ3AKMIJ.js";
9
+ } from "../chunk-TSV242UN.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/target.ts
@@ -6,25 +6,25 @@ var _chunk5WNEYQIIcjs = require('../chunk-5WNEYQII.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkYLJD7G7Hcjs = require('../chunk-YLJD7G7H.cjs');
9
+ var _chunkCD4OX2U6cjs = require('../chunk-CD4OX2U6.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/targeting.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunk5WNEYQIIcjs.require_targeting_runtime.call(void 0, );
15
- return _chunkYLJD7G7Hcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkCD4OX2U6cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkYLJD7G7Hcjs.createApiClient.call(void 0, { definition: def, apiName: "targeting" });
21
+ _instance = _chunkCD4OX2U6cjs.createApiClient.call(void 0, { definition: def, apiName: "targeting" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkYLJD7G7Hcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkCD4OX2U6cjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkYLJD7G7Hcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "targeting" }),
27
+ createClient: () => _chunkCD4OX2U6cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "targeting" }),
28
28
  apiName: "targeting"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var targeting = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.authorize = _chunkYLJD7G7Hcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.targeting = targeting;
38
+ exports.authorize = _chunkCD4OX2U6cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.targeting = targeting;
@@ -1,18 +1,15 @@
1
- import { A as ApiHandle } from '../types-ChU9Acbv.js';
2
- export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
3
- import { C as Client } from '../targeting.d-BNmcVsNS.js';
4
- export { A as AutomationRecipientPayload, c as AutomationStatus, B as BaseEntityAcl, d as BaseEntityOwner, e as BaseError, f as BaseNanoID, g as BaseRecipientPayload, h as BaseRelation, i as BaseSystemFields, j as BaseSystemFieldsRequired, k as BaseSystemId, l as BaseTags, m as BaseUUID, n as Campaign, o as CampaignStatus, p as ClientError, a as Components, q as CreateRecipientPayload, E as ExecutionSummaryItem, G as GetTargetQueriesParams, J as JobStatus, M as MatchCampaignParams, r as MatchTargetParams, O as OperationMethods, P as Paths, b as PathsDictionary, s as PortalRecipientPayload, t as PortalStatus, R as Recipient, u as RetriggerAutomationsRequest, v as RetriggerAutomationsResult, S as ServerError, T as Target, w as TargetQueryResult, U as UpdatePortalStatusRequest, x as UpdateRecipientPayload } from '../targeting.d-BNmcVsNS.js';
5
- export { OpenAPIClient } from 'openapi-client-axios';
6
- import 'axios';
7
-
1
+ import type { ApiHandle } from '../types';
2
+ export { authorize } from '../authorize';
3
+ export type { TokenArg } from '../authorize';
4
+ import type { Client } from '../types/targeting';
5
+ export type * from '../types/targeting';
6
+ export type { OpenAPIClient } from 'openapi-client-axios';
8
7
  /** Get the cached singleton client (lazy-initialized on first call) */
9
- declare const getClient: () => Client;
8
+ export declare const getClient: () => Client;
10
9
  /** Create a fresh client instance (not cached) */
11
- declare const createClient: () => Client;
10
+ export declare const createClient: () => Client;
12
11
  /**
13
12
  * API handle — also exposes operations directly:
14
13
  * `targeting.someOperation(...)` calls forwarded to lazy singleton
15
14
  */
16
- declare const targeting: ApiHandle<Client>;
17
-
18
- export { Client, createClient, getClient, targeting };
15
+ export declare const targeting: ApiHandle<Client>;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-CQ3AKMIJ.js";
9
+ } from "../chunk-TSV242UN.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/targeting.ts