@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,571 +0,0 @@
1
- import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
-
3
- /* Auto-copied from sharing-client */
4
-
5
-
6
- declare namespace Components {
7
- namespace Parameters {
8
- export type PartnerOrgIdPath = string;
9
- }
10
- export interface PathParameters {
11
- PartnerOrgIdPath?: Parameters.PartnerOrgIdPath;
12
- }
13
- namespace Schemas {
14
- export interface AcceptOfferPayload {
15
- partner_org_id: string;
16
- sharing_org_id: string;
17
- entity_id: string;
18
- }
19
- export interface AssignRolePayload {
20
- template_role_id: string;
21
- }
22
- export interface EntityResource {
23
- schema: string;
24
- entity_id: string;
25
- parent_entity_id?: string | null;
26
- offer_accepted?: boolean;
27
- updated_at?: string;
28
- created_at?: string;
29
- }
30
- export interface EntityResourceInput {
31
- schema: string;
32
- entity_id: string;
33
- parent_entity_id?: string | null;
34
- offer_accepted?: boolean;
35
- }
36
- export interface OfferEntityPayload {
37
- offer: PartnerOfferedEntitiesInput[];
38
- unoffer: PartnerOfferedEntitiesInput[];
39
- }
40
- export interface OfferEntityResource {
41
- schema: string;
42
- entity_id: string;
43
- parent_entity_id?: string | null;
44
- offer_status: OfferStatusEnum;
45
- offered_by_user_id?: string;
46
- updated_at?: string;
47
- created_at?: string;
48
- }
49
- export interface OfferEntityResourceInput {
50
- schema: string;
51
- entity_id: string;
52
- parent_entity_id?: string | null;
53
- }
54
- export interface OfferStatus {
55
- entity: PartialEntity;
56
- offer_status: OfferStatusEnum;
57
- status_changed_at?: string;
58
- offered_at?: string;
59
- accepted_by_org_id?: string;
60
- }
61
- export type OfferStatusEnum = "EXPIRED" | "UNAVAILABLE" | "PENDING" | "DECLINED" | "ACCEPTED";
62
- export interface PartialEntity {
63
- _schema: string;
64
- _id: string;
65
- _title: string;
66
- _created_at: string;
67
- _updated_at: string;
68
- }
69
- export interface PartnerEntitiesInput {
70
- partner_org_id: string;
71
- entities: EntityResourceInput[];
72
- }
73
- export interface PartnerEntityInput {
74
- entity: EntityResourceInput;
75
- partner_org_id: string;
76
- }
77
- export interface PartnerOfferedEntitiesInput {
78
- partner_org_id: string;
79
- offered_entities: OfferEntityResourceInput[];
80
- }
81
- export interface PartnerSharingConfig {
82
- /**
83
- * ID of the organization that is sharing the entities
84
- */
85
- sharing_org_id: string;
86
- /**
87
- * ID of the organization that receives access to the entities
88
- */
89
- partner_org_id: string;
90
- users?: string[];
91
- partner_status?: PartnerStatus;
92
- entities?: EntityResource[];
93
- offered_entities?: OfferEntityResource[];
94
- template_role_id?: string;
95
- template_role_grants?: TemplateRoleGrant[];
96
- generated_role_id?: string;
97
- user_limit?: number | null;
98
- created_at?: string;
99
- updated_at?: string;
100
- }
101
- export type PartnerStatus = "REGISTERED" | "UNREGISTERED";
102
- export interface SearchSharingConfigurationsPayload {
103
- entities: EntityResourceInput[];
104
- }
105
- export interface ShareChildEntityPayload {
106
- share: PartnerEntityInput[];
107
- unshare: PartnerEntityInput[];
108
- }
109
- export interface SharingEntityPayload {
110
- share: PartnerEntitiesInput[];
111
- unshare: PartnerEntitiesInput[];
112
- }
113
- export interface TemplateRoleGrant {
114
- action: string;
115
- resource: string;
116
- /**
117
- * allow or deny
118
- */
119
- effect?: string;
120
- }
121
- export interface UpdateSharingConfigurationPayload {
122
- user_limit?: number | null;
123
- }
124
- }
125
- }
126
- declare namespace Paths {
127
- namespace AcceptOffer {
128
- export type RequestBody = Components.Schemas.AcceptOfferPayload;
129
- namespace Responses {
130
- export type $200 = Components.Schemas.PartnerSharingConfig;
131
- export interface $400 {
132
- }
133
- }
134
- }
135
- namespace AssignRoleToConfiguration {
136
- namespace Parameters {
137
- export type PartnerOrgId = string;
138
- }
139
- export interface PathParameters {
140
- partner_org_id: Parameters.PartnerOrgId;
141
- }
142
- export type RequestBody = Components.Schemas.AssignRolePayload;
143
- namespace Responses {
144
- export type $200 = Components.Schemas.PartnerSharingConfig;
145
- export interface $400 {
146
- }
147
- export interface $401 {
148
- }
149
- }
150
- }
151
- namespace DeleteSharingConfiguration {
152
- namespace Parameters {
153
- export type PartnerOrgId = string;
154
- }
155
- export interface PathParameters {
156
- partner_org_id: Parameters.PartnerOrgId;
157
- }
158
- namespace Responses {
159
- export type $200 = Components.Schemas.PartnerSharingConfig;
160
- export interface $401 {
161
- }
162
- }
163
- }
164
- namespace GetConfigurationsByTemplateRole {
165
- namespace Parameters {
166
- export type TemplateRoleId = string;
167
- }
168
- export interface PathParameters {
169
- template_role_id: Parameters.TemplateRoleId;
170
- }
171
- namespace Responses {
172
- export type $200 = Components.Schemas.PartnerSharingConfig[];
173
- export interface $401 {
174
- }
175
- export interface $403 {
176
- }
177
- }
178
- }
179
- namespace GetOfferStatus {
180
- namespace Parameters {
181
- export type EntityId = string;
182
- export type PartnerOrgId = string;
183
- export type SharingOrgId = string;
184
- }
185
- export interface QueryParameters {
186
- partner_org_id: Parameters.PartnerOrgId;
187
- sharing_org_id: Parameters.SharingOrgId;
188
- entity_id: Parameters.EntityId;
189
- }
190
- namespace Responses {
191
- export type $200 = Components.Schemas.OfferStatus;
192
- export interface $400 {
193
- }
194
- }
195
- }
196
- namespace GetSharingConfiguration {
197
- namespace Parameters {
198
- export type PartnerOrgId = string;
199
- }
200
- export interface PathParameters {
201
- partner_org_id: Parameters.PartnerOrgId;
202
- }
203
- namespace Responses {
204
- export type $200 = Components.Schemas.PartnerSharingConfig;
205
- export interface $401 {
206
- }
207
- export interface $404 {
208
- }
209
- }
210
- }
211
- namespace GetSharingConfigurations {
212
- namespace Parameters {
213
- export type PartnerOrgIds = string[];
214
- }
215
- export interface QueryParameters {
216
- partner_org_ids: Parameters.PartnerOrgIds;
217
- }
218
- namespace Responses {
219
- export type $200 = Components.Schemas.PartnerSharingConfig[];
220
- export interface $401 {
221
- }
222
- }
223
- }
224
- namespace OfferEntityToPartners {
225
- export type RequestBody = Components.Schemas.OfferEntityPayload;
226
- namespace Responses {
227
- export type $200 = Components.Schemas.PartnerSharingConfig[];
228
- export interface $400 {
229
- }
230
- export interface $401 {
231
- }
232
- }
233
- }
234
- namespace SearchPartnerSharingConfigurations {
235
- export type RequestBody = Components.Schemas.SearchSharingConfigurationsPayload;
236
- namespace Responses {
237
- export type $200 = Components.Schemas.PartnerSharingConfig[];
238
- export interface $401 {
239
- }
240
- }
241
- }
242
- namespace ShareChildEntityWithPartners {
243
- export type RequestBody = Components.Schemas.ShareChildEntityPayload;
244
- namespace Responses {
245
- export type $200 = Components.Schemas.PartnerSharingConfig[];
246
- export interface $400 {
247
- }
248
- export interface $401 {
249
- }
250
- }
251
- }
252
- namespace ShareEntityWithPartners {
253
- export type RequestBody = Components.Schemas.SharingEntityPayload;
254
- namespace Responses {
255
- export type $200 = Components.Schemas.PartnerSharingConfig[];
256
- export interface $400 {
257
- }
258
- export interface $401 {
259
- }
260
- }
261
- }
262
- namespace UpdateSharingConfiguration {
263
- namespace Parameters {
264
- export type PartnerOrgId = string;
265
- }
266
- export interface PathParameters {
267
- partner_org_id: Parameters.PartnerOrgId;
268
- }
269
- export type RequestBody = Components.Schemas.UpdateSharingConfigurationPayload;
270
- namespace Responses {
271
- export type $200 = Components.Schemas.PartnerSharingConfig;
272
- export interface $400 {
273
- }
274
- export interface $401 {
275
- }
276
- }
277
- }
278
- }
279
-
280
-
281
- interface OperationMethods {
282
- /**
283
- * getSharingConfiguration - Get sharing configuration for a partner
284
- *
285
- * Returns the sharing configuration for a specific partner organization, including shared entities, offered entities, and assigned users.
286
- */
287
- 'getSharingConfiguration'(
288
- parameters?: Parameters<Paths.GetSharingConfiguration.PathParameters> | null,
289
- data?: any,
290
- config?: AxiosRequestConfig
291
- ): OperationResponse<Paths.GetSharingConfiguration.Responses.$200>
292
- /**
293
- * updateSharingConfiguration - Update sharing configuration for a partner
294
- *
295
- * Updates the sharing configuration for a partner, such as the user limit. Also patches the internal role if the user limit changes.
296
- */
297
- 'updateSharingConfiguration'(
298
- parameters?: Parameters<Paths.UpdateSharingConfiguration.PathParameters> | null,
299
- data?: Paths.UpdateSharingConfiguration.RequestBody,
300
- config?: AxiosRequestConfig
301
- ): OperationResponse<Paths.UpdateSharingConfiguration.Responses.$200>
302
- /**
303
- * deleteSharingConfiguration - Delete sharing configuration for a partner
304
- *
305
- * Deletes the sharing configuration for a partner, removing all shared and offered entity access.
306
- */
307
- 'deleteSharingConfiguration'(
308
- parameters?: Parameters<Paths.DeleteSharingConfiguration.PathParameters> | null,
309
- data?: any,
310
- config?: AxiosRequestConfig
311
- ): OperationResponse<Paths.DeleteSharingConfiguration.Responses.$200>
312
- /**
313
- * assignRoleToConfiguration - Assign a template role to a partner sharing configuration
314
- *
315
- * Assigns a template role to a partner sharing configuration. The role grants are copied into the configuration for entity access control.
316
- */
317
- 'assignRoleToConfiguration'(
318
- parameters?: Parameters<Paths.AssignRoleToConfiguration.PathParameters> | null,
319
- data?: Paths.AssignRoleToConfiguration.RequestBody,
320
- config?: AxiosRequestConfig
321
- ): OperationResponse<Paths.AssignRoleToConfiguration.Responses.$200>
322
- /**
323
- * getSharingConfigurations - Get sharing configurations for multiple partners
324
- *
325
- * Returns sharing configurations for multiple partner organizations in a single batch request.
326
- */
327
- 'getSharingConfigurations'(
328
- parameters?: Parameters<Paths.GetSharingConfigurations.QueryParameters> | null,
329
- data?: any,
330
- config?: AxiosRequestConfig
331
- ): OperationResponse<Paths.GetSharingConfigurations.Responses.$200>
332
- /**
333
- * searchPartnerSharingConfigurations - Search partner sharing configurations by entities
334
- *
335
- * Searches for partner sharing configurations that have access to the given entities. Returns configurations with their shared and offered entity lists.
336
- */
337
- 'searchPartnerSharingConfigurations'(
338
- parameters?: Parameters<UnknownParamsObject> | null,
339
- data?: Paths.SearchPartnerSharingConfigurations.RequestBody,
340
- config?: AxiosRequestConfig
341
- ): OperationResponse<Paths.SearchPartnerSharingConfigurations.Responses.$200>
342
- /**
343
- * getConfigurationsByTemplateRole - Get sharing configurations that use a specific template role
344
- *
345
- * Returns all partner sharing configurations that reference the given template role ID. Useful for checking role usage before deletion.
346
- */
347
- 'getConfigurationsByTemplateRole'(
348
- parameters?: Parameters<Paths.GetConfigurationsByTemplateRole.PathParameters> | null,
349
- data?: any,
350
- config?: AxiosRequestConfig
351
- ): OperationResponse<Paths.GetConfigurationsByTemplateRole.Responses.$200>
352
- /**
353
- * shareEntityWithPartners - Share or unshare entities with partners
354
- *
355
- * Shares or unshares top-level entities with one or more partner organizations. Publishes sharing events for downstream processing.
356
- */
357
- 'shareEntityWithPartners'(
358
- parameters?: Parameters<UnknownParamsObject> | null,
359
- data?: Paths.ShareEntityWithPartners.RequestBody,
360
- config?: AxiosRequestConfig
361
- ): OperationResponse<Paths.ShareEntityWithPartners.Responses.$200>
362
- /**
363
- * shareChildEntityWithPartners - Share or unshare child entities with partners
364
- *
365
- * Shares or unshares child entities (entities that belong to an already-shared parent) with partner organizations.
366
- */
367
- 'shareChildEntityWithPartners'(
368
- parameters?: Parameters<UnknownParamsObject> | null,
369
- data?: Paths.ShareChildEntityWithPartners.RequestBody,
370
- config?: AxiosRequestConfig
371
- ): OperationResponse<Paths.ShareChildEntityWithPartners.Responses.$200>
372
- /**
373
- * offerEntityToPartners - Offer or unoffer entities to partners (First Come First Served)
374
- *
375
- * Offers or unoffers entities to partner organizations using a First Come First Served model. Only one partner can accept each offered entity.
376
- */
377
- 'offerEntityToPartners'(
378
- parameters?: Parameters<UnknownParamsObject> | null,
379
- data?: Paths.OfferEntityToPartners.RequestBody,
380
- config?: AxiosRequestConfig
381
- ): OperationResponse<Paths.OfferEntityToPartners.Responses.$200>
382
- /**
383
- * getOfferStatus - Get the status of an entity offer (public, no auth required)
384
- *
385
- * Returns the current status of an entity offer (pending, accepted, expired). This is a public endpoint used from partner-facing pages without authentication.
386
- */
387
- 'getOfferStatus'(
388
- parameters?: Parameters<Paths.GetOfferStatus.QueryParameters> | null,
389
- data?: any,
390
- config?: AxiosRequestConfig
391
- ): OperationResponse<Paths.GetOfferStatus.Responses.$200>
392
- /**
393
- * acceptOffer - Accept an entity offer (public, no auth required)
394
- *
395
- * Accepts an entity offer on behalf of a partner organization. This is a public endpoint used from partner-facing pages without authentication. Only one partner can accept each offer.
396
- */
397
- 'acceptOffer'(
398
- parameters?: Parameters<UnknownParamsObject> | null,
399
- data?: Paths.AcceptOffer.RequestBody,
400
- config?: AxiosRequestConfig
401
- ): OperationResponse<Paths.AcceptOffer.Responses.$200>
402
- }
403
-
404
- interface PathsDictionary {
405
- ['/v1/sharing/configurations/{partner_org_id}']: {
406
- /**
407
- * getSharingConfiguration - Get sharing configuration for a partner
408
- *
409
- * Returns the sharing configuration for a specific partner organization, including shared entities, offered entities, and assigned users.
410
- */
411
- 'get'(
412
- parameters?: Parameters<Paths.GetSharingConfiguration.PathParameters> | null,
413
- data?: any,
414
- config?: AxiosRequestConfig
415
- ): OperationResponse<Paths.GetSharingConfiguration.Responses.$200>
416
- /**
417
- * updateSharingConfiguration - Update sharing configuration for a partner
418
- *
419
- * Updates the sharing configuration for a partner, such as the user limit. Also patches the internal role if the user limit changes.
420
- */
421
- 'patch'(
422
- parameters?: Parameters<Paths.UpdateSharingConfiguration.PathParameters> | null,
423
- data?: Paths.UpdateSharingConfiguration.RequestBody,
424
- config?: AxiosRequestConfig
425
- ): OperationResponse<Paths.UpdateSharingConfiguration.Responses.$200>
426
- /**
427
- * deleteSharingConfiguration - Delete sharing configuration for a partner
428
- *
429
- * Deletes the sharing configuration for a partner, removing all shared and offered entity access.
430
- */
431
- 'delete'(
432
- parameters?: Parameters<Paths.DeleteSharingConfiguration.PathParameters> | null,
433
- data?: any,
434
- config?: AxiosRequestConfig
435
- ): OperationResponse<Paths.DeleteSharingConfiguration.Responses.$200>
436
- }
437
- ['/v1/sharing/configurations/{partner_org_id}/role']: {
438
- /**
439
- * assignRoleToConfiguration - Assign a template role to a partner sharing configuration
440
- *
441
- * Assigns a template role to a partner sharing configuration. The role grants are copied into the configuration for entity access control.
442
- */
443
- 'put'(
444
- parameters?: Parameters<Paths.AssignRoleToConfiguration.PathParameters> | null,
445
- data?: Paths.AssignRoleToConfiguration.RequestBody,
446
- config?: AxiosRequestConfig
447
- ): OperationResponse<Paths.AssignRoleToConfiguration.Responses.$200>
448
- }
449
- ['/v1/sharing/configurations']: {
450
- /**
451
- * getSharingConfigurations - Get sharing configurations for multiple partners
452
- *
453
- * Returns sharing configurations for multiple partner organizations in a single batch request.
454
- */
455
- 'get'(
456
- parameters?: Parameters<Paths.GetSharingConfigurations.QueryParameters> | null,
457
- data?: any,
458
- config?: AxiosRequestConfig
459
- ): OperationResponse<Paths.GetSharingConfigurations.Responses.$200>
460
- }
461
- ['/v1/sharing/configurations:search']: {
462
- /**
463
- * searchPartnerSharingConfigurations - Search partner sharing configurations by entities
464
- *
465
- * Searches for partner sharing configurations that have access to the given entities. Returns configurations with their shared and offered entity lists.
466
- */
467
- 'post'(
468
- parameters?: Parameters<UnknownParamsObject> | null,
469
- data?: Paths.SearchPartnerSharingConfigurations.RequestBody,
470
- config?: AxiosRequestConfig
471
- ): OperationResponse<Paths.SearchPartnerSharingConfigurations.Responses.$200>
472
- }
473
- ['/v1/sharing/configurations/by-role/{template_role_id}']: {
474
- /**
475
- * getConfigurationsByTemplateRole - Get sharing configurations that use a specific template role
476
- *
477
- * Returns all partner sharing configurations that reference the given template role ID. Useful for checking role usage before deletion.
478
- */
479
- 'get'(
480
- parameters?: Parameters<Paths.GetConfigurationsByTemplateRole.PathParameters> | null,
481
- data?: any,
482
- config?: AxiosRequestConfig
483
- ): OperationResponse<Paths.GetConfigurationsByTemplateRole.Responses.$200>
484
- }
485
- ['/v1/sharing/entities:share']: {
486
- /**
487
- * shareEntityWithPartners - Share or unshare entities with partners
488
- *
489
- * Shares or unshares top-level entities with one or more partner organizations. Publishes sharing events for downstream processing.
490
- */
491
- 'post'(
492
- parameters?: Parameters<UnknownParamsObject> | null,
493
- data?: Paths.ShareEntityWithPartners.RequestBody,
494
- config?: AxiosRequestConfig
495
- ): OperationResponse<Paths.ShareEntityWithPartners.Responses.$200>
496
- }
497
- ['/v1/sharing/entities:share-child']: {
498
- /**
499
- * shareChildEntityWithPartners - Share or unshare child entities with partners
500
- *
501
- * Shares or unshares child entities (entities that belong to an already-shared parent) with partner organizations.
502
- */
503
- 'post'(
504
- parameters?: Parameters<UnknownParamsObject> | null,
505
- data?: Paths.ShareChildEntityWithPartners.RequestBody,
506
- config?: AxiosRequestConfig
507
- ): OperationResponse<Paths.ShareChildEntityWithPartners.Responses.$200>
508
- }
509
- ['/v1/sharing/entities:offer']: {
510
- /**
511
- * offerEntityToPartners - Offer or unoffer entities to partners (First Come First Served)
512
- *
513
- * Offers or unoffers entities to partner organizations using a First Come First Served model. Only one partner can accept each offered entity.
514
- */
515
- 'post'(
516
- parameters?: Parameters<UnknownParamsObject> | null,
517
- data?: Paths.OfferEntityToPartners.RequestBody,
518
- config?: AxiosRequestConfig
519
- ): OperationResponse<Paths.OfferEntityToPartners.Responses.$200>
520
- }
521
- ['/v1/sharing/offers/status']: {
522
- /**
523
- * getOfferStatus - Get the status of an entity offer (public, no auth required)
524
- *
525
- * Returns the current status of an entity offer (pending, accepted, expired). This is a public endpoint used from partner-facing pages without authentication.
526
- */
527
- 'get'(
528
- parameters?: Parameters<Paths.GetOfferStatus.QueryParameters> | null,
529
- data?: any,
530
- config?: AxiosRequestConfig
531
- ): OperationResponse<Paths.GetOfferStatus.Responses.$200>
532
- }
533
- ['/v1/sharing/offers:accept']: {
534
- /**
535
- * acceptOffer - Accept an entity offer (public, no auth required)
536
- *
537
- * Accepts an entity offer on behalf of a partner organization. This is a public endpoint used from partner-facing pages without authentication. Only one partner can accept each offer.
538
- */
539
- 'post'(
540
- parameters?: Parameters<UnknownParamsObject> | null,
541
- data?: Paths.AcceptOffer.RequestBody,
542
- config?: AxiosRequestConfig
543
- ): OperationResponse<Paths.AcceptOffer.Responses.$200>
544
- }
545
- }
546
-
547
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
548
-
549
-
550
- type AcceptOfferPayload = Components.Schemas.AcceptOfferPayload;
551
- type AssignRolePayload = Components.Schemas.AssignRolePayload;
552
- type EntityResource = Components.Schemas.EntityResource;
553
- type EntityResourceInput = Components.Schemas.EntityResourceInput;
554
- type OfferEntityPayload = Components.Schemas.OfferEntityPayload;
555
- type OfferEntityResource = Components.Schemas.OfferEntityResource;
556
- type OfferEntityResourceInput = Components.Schemas.OfferEntityResourceInput;
557
- type OfferStatus = Components.Schemas.OfferStatus;
558
- type OfferStatusEnum = Components.Schemas.OfferStatusEnum;
559
- type PartialEntity = Components.Schemas.PartialEntity;
560
- type PartnerEntitiesInput = Components.Schemas.PartnerEntitiesInput;
561
- type PartnerEntityInput = Components.Schemas.PartnerEntityInput;
562
- type PartnerOfferedEntitiesInput = Components.Schemas.PartnerOfferedEntitiesInput;
563
- type PartnerSharingConfig = Components.Schemas.PartnerSharingConfig;
564
- type PartnerStatus = Components.Schemas.PartnerStatus;
565
- type SearchSharingConfigurationsPayload = Components.Schemas.SearchSharingConfigurationsPayload;
566
- type ShareChildEntityPayload = Components.Schemas.ShareChildEntityPayload;
567
- type SharingEntityPayload = Components.Schemas.SharingEntityPayload;
568
- type TemplateRoleGrant = Components.Schemas.TemplateRoleGrant;
569
- type UpdateSharingConfigurationPayload = Components.Schemas.UpdateSharingConfigurationPayload;
570
-
571
- export { type AcceptOfferPayload as A, type Client as C, type EntityResource as E, type OperationMethods as O, Paths as P, type SearchSharingConfigurationsPayload as S, type TemplateRoleGrant as T, type UpdateSharingConfigurationPayload as U, Components as a, type PathsDictionary as b, type AssignRolePayload as c, type EntityResourceInput as d, type OfferEntityPayload as e, type OfferEntityResource as f, type OfferEntityResourceInput as g, type OfferStatus as h, type OfferStatusEnum as i, type PartialEntity as j, type PartnerEntitiesInput as k, type PartnerEntityInput as l, type PartnerOfferedEntitiesInput as m, type PartnerSharingConfig as n, type PartnerStatus as o, type ShareChildEntityPayload as p, type SharingEntityPayload as q };