@enbbox/api 1.0.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 (750) hide show
  1. package/README.md +380 -0
  2. package/dist/api/activity-api.d.ts +381 -0
  3. package/dist/api/activity-api.js +636 -0
  4. package/dist/api/billing-api.d.ts +337 -0
  5. package/dist/api/billing-api.js +571 -0
  6. package/dist/api/channel-connections-api.d.ts +263 -0
  7. package/dist/api/channel-connections-api.js +437 -0
  8. package/dist/api/channel-endpoints-api.d.ts +263 -0
  9. package/dist/api/channel-endpoints-api.js +437 -0
  10. package/dist/api/contexts-api.d.ts +278 -0
  11. package/dist/api/contexts-api.js +458 -0
  12. package/dist/api/events-api.d.ts +203 -0
  13. package/dist/api/events-api.js +341 -0
  14. package/dist/api/feature-flags-api.d.ts +74 -0
  15. package/dist/api/feature-flags-api.js +124 -0
  16. package/dist/api/health-api.d.ts +144 -0
  17. package/dist/api/health-api.js +237 -0
  18. package/dist/api/inbound-parse-api.d.ts +79 -0
  19. package/dist/api/inbound-parse-api.js +129 -0
  20. package/dist/api/inbox-api.d.ts +582 -0
  21. package/dist/api/inbox-api.js +976 -0
  22. package/dist/api/integrations-api.d.ts +420 -0
  23. package/dist/api/integrations-api.js +707 -0
  24. package/dist/api/layouts-api.d.ts +431 -0
  25. package/dist/api/layouts-api.js +721 -0
  26. package/dist/api/messages-api.d.ts +185 -0
  27. package/dist/api/messages-api.js +303 -0
  28. package/dist/api/metrics-api.d.ts +74 -0
  29. package/dist/api/metrics-api.js +121 -0
  30. package/dist/api/notification-groups-api.d.ts +202 -0
  31. package/dist/api/notification-groups-api.js +340 -0
  32. package/dist/api/notifications-api.d.ts +171 -0
  33. package/dist/api/notifications-api.js +284 -0
  34. package/dist/api/preferences-api.d.ts +176 -0
  35. package/dist/api/preferences-api.js +293 -0
  36. package/dist/api/projects-api.d.ts +541 -0
  37. package/dist/api/projects-api.js +915 -0
  38. package/dist/api/subscribers-api.d.ts +780 -0
  39. package/dist/api/subscribers-api.js +1292 -0
  40. package/dist/api/topics-api.d.ts +689 -0
  41. package/dist/api/topics-api.js +1143 -0
  42. package/dist/api/translations-api.d.ts +239 -0
  43. package/dist/api/translations-api.js +405 -0
  44. package/dist/api/webhooks-api.d.ts +208 -0
  45. package/dist/api/webhooks-api.js +344 -0
  46. package/dist/api/workflows-api.d.ts +493 -0
  47. package/dist/api/workflows-api.js +820 -0
  48. package/dist/api.d.ts +34 -0
  49. package/dist/api.js +52 -0
  50. package/dist/base.d.ts +42 -0
  51. package/dist/base.js +46 -0
  52. package/dist/common.d.ts +34 -0
  53. package/dist/common.js +139 -0
  54. package/dist/configuration.d.ts +98 -0
  55. package/dist/configuration.js +44 -0
  56. package/dist/esm/api/activity-api.d.ts +381 -0
  57. package/dist/esm/api/activity-api.js +629 -0
  58. package/dist/esm/api/billing-api.d.ts +337 -0
  59. package/dist/esm/api/billing-api.js +564 -0
  60. package/dist/esm/api/channel-connections-api.d.ts +263 -0
  61. package/dist/esm/api/channel-connections-api.js +430 -0
  62. package/dist/esm/api/channel-endpoints-api.d.ts +263 -0
  63. package/dist/esm/api/channel-endpoints-api.js +430 -0
  64. package/dist/esm/api/contexts-api.d.ts +278 -0
  65. package/dist/esm/api/contexts-api.js +451 -0
  66. package/dist/esm/api/events-api.d.ts +203 -0
  67. package/dist/esm/api/events-api.js +334 -0
  68. package/dist/esm/api/feature-flags-api.d.ts +74 -0
  69. package/dist/esm/api/feature-flags-api.js +117 -0
  70. package/dist/esm/api/health-api.d.ts +144 -0
  71. package/dist/esm/api/health-api.js +230 -0
  72. package/dist/esm/api/inbound-parse-api.d.ts +79 -0
  73. package/dist/esm/api/inbound-parse-api.js +122 -0
  74. package/dist/esm/api/inbox-api.d.ts +582 -0
  75. package/dist/esm/api/inbox-api.js +969 -0
  76. package/dist/esm/api/integrations-api.d.ts +420 -0
  77. package/dist/esm/api/integrations-api.js +700 -0
  78. package/dist/esm/api/layouts-api.d.ts +431 -0
  79. package/dist/esm/api/layouts-api.js +714 -0
  80. package/dist/esm/api/messages-api.d.ts +185 -0
  81. package/dist/esm/api/messages-api.js +296 -0
  82. package/dist/esm/api/metrics-api.d.ts +74 -0
  83. package/dist/esm/api/metrics-api.js +114 -0
  84. package/dist/esm/api/notification-groups-api.d.ts +202 -0
  85. package/dist/esm/api/notification-groups-api.js +333 -0
  86. package/dist/esm/api/notifications-api.d.ts +171 -0
  87. package/dist/esm/api/notifications-api.js +277 -0
  88. package/dist/esm/api/preferences-api.d.ts +176 -0
  89. package/dist/esm/api/preferences-api.js +286 -0
  90. package/dist/esm/api/projects-api.d.ts +541 -0
  91. package/dist/esm/api/projects-api.js +908 -0
  92. package/dist/esm/api/subscribers-api.d.ts +780 -0
  93. package/dist/esm/api/subscribers-api.js +1285 -0
  94. package/dist/esm/api/topics-api.d.ts +689 -0
  95. package/dist/esm/api/topics-api.js +1136 -0
  96. package/dist/esm/api/translations-api.d.ts +239 -0
  97. package/dist/esm/api/translations-api.js +398 -0
  98. package/dist/esm/api/webhooks-api.d.ts +208 -0
  99. package/dist/esm/api/webhooks-api.js +337 -0
  100. package/dist/esm/api/workflows-api.d.ts +493 -0
  101. package/dist/esm/api/workflows-api.js +813 -0
  102. package/dist/esm/api.d.ts +34 -0
  103. package/dist/esm/api.js +36 -0
  104. package/dist/esm/base.d.ts +42 -0
  105. package/dist/esm/base.js +41 -0
  106. package/dist/esm/common.d.ts +34 -0
  107. package/dist/esm/common.js +126 -0
  108. package/dist/esm/configuration.d.ts +98 -0
  109. package/dist/esm/configuration.js +40 -0
  110. package/dist/esm/index.d.ts +14 -0
  111. package/dist/esm/index.js +16 -0
  112. package/dist/esm/models/action-body.d.ts +20 -0
  113. package/dist/esm/models/action-body.js +14 -0
  114. package/dist/esm/models/action-record.d.ts +22 -0
  115. package/dist/esm/models/action-record.js +14 -0
  116. package/dist/esm/models/action-type.d.ts +22 -0
  117. package/dist/esm/models/action-type.js +23 -0
  118. package/dist/esm/models/activity-chart-point.d.ts +40 -0
  119. package/dist/esm/models/activity-chart-point.js +14 -0
  120. package/dist/esm/models/activity-record.d.ts +56 -0
  121. package/dist/esm/models/activity-record.js +14 -0
  122. package/dist/esm/models/activity-request-record.d.ts +40 -0
  123. package/dist/esm/models/activity-request-record.js +14 -0
  124. package/dist/esm/models/activity-stats.d.ts +40 -0
  125. package/dist/esm/models/activity-stats.js +14 -0
  126. package/dist/esm/models/actor-type.d.ts +21 -0
  127. package/dist/esm/models/actor-type.js +22 -0
  128. package/dist/esm/models/api-key-created.d.ts +32 -0
  129. package/dist/esm/models/api-key-created.js +14 -0
  130. package/dist/esm/models/api-key-info.d.ts +32 -0
  131. package/dist/esm/models/api-key-info.js +14 -0
  132. package/dist/esm/models/auto-configure-result.d.ts +17 -0
  133. package/dist/esm/models/auto-configure-result.js +14 -0
  134. package/dist/esm/models/billing-interval.d.ts +19 -0
  135. package/dist/esm/models/billing-interval.js +20 -0
  136. package/dist/esm/models/branding.d.ts +40 -0
  137. package/dist/esm/models/branding.js +14 -0
  138. package/dist/esm/models/broadcast-trigger.d.ts +23 -0
  139. package/dist/esm/models/broadcast-trigger.js +14 -0
  140. package/dist/esm/models/bulk-create-subscribers.d.ts +18 -0
  141. package/dist/esm/models/bulk-create-subscribers.js +14 -0
  142. package/dist/esm/models/bulk-preference-item.d.ts +17 -0
  143. package/dist/esm/models/bulk-preference-item.js +14 -0
  144. package/dist/esm/models/bulk-preferences.d.ts +18 -0
  145. package/dist/esm/models/bulk-preferences.js +14 -0
  146. package/dist/esm/models/bulk-result.d.ts +16 -0
  147. package/dist/esm/models/bulk-result.js +14 -0
  148. package/dist/esm/models/bulk-trigger.d.ts +21 -0
  149. package/dist/esm/models/bulk-trigger.js +14 -0
  150. package/dist/esm/models/channel-connection-record.d.ts +37 -0
  151. package/dist/esm/models/channel-connection-record.js +14 -0
  152. package/dist/esm/models/channel-endpoint-record.d.ts +41 -0
  153. package/dist/esm/models/channel-endpoint-record.js +14 -0
  154. package/dist/esm/models/channel-preferences.d.ts +21 -0
  155. package/dist/esm/models/channel-preferences.js +14 -0
  156. package/dist/esm/models/channel-type.d.ts +22 -0
  157. package/dist/esm/models/channel-type.js +23 -0
  158. package/dist/esm/models/chart-query.d.ts +20 -0
  159. package/dist/esm/models/chart-query.js +14 -0
  160. package/dist/esm/models/chat-oauth-request.d.ts +15 -0
  161. package/dist/esm/models/chat-oauth-request.js +14 -0
  162. package/dist/esm/models/chat-oauth.d.ts +17 -0
  163. package/dist/esm/models/chat-oauth.js +14 -0
  164. package/dist/esm/models/checkout-session.d.ts +25 -0
  165. package/dist/esm/models/checkout-session.js +14 -0
  166. package/dist/esm/models/context-record.d.ts +36 -0
  167. package/dist/esm/models/context-record.js +14 -0
  168. package/dist/esm/models/create-channel-connection.d.ts +29 -0
  169. package/dist/esm/models/create-channel-connection.js +14 -0
  170. package/dist/esm/models/create-channel-endpoint.d.ts +33 -0
  171. package/dist/esm/models/create-channel-endpoint.js +14 -0
  172. package/dist/esm/models/create-checkout.d.ts +25 -0
  173. package/dist/esm/models/create-checkout.js +14 -0
  174. package/dist/esm/models/create-context.d.ts +28 -0
  175. package/dist/esm/models/create-context.js +14 -0
  176. package/dist/esm/models/create-integration.d.ts +41 -0
  177. package/dist/esm/models/create-integration.js +14 -0
  178. package/dist/esm/models/create-layout.d.ts +28 -0
  179. package/dist/esm/models/create-layout.js +14 -0
  180. package/dist/esm/models/create-notification-group.d.ts +20 -0
  181. package/dist/esm/models/create-notification-group.js +14 -0
  182. package/dist/esm/models/create-project.d.ts +20 -0
  183. package/dist/esm/models/create-project.js +14 -0
  184. package/dist/esm/models/create-subscriber.d.ts +52 -0
  185. package/dist/esm/models/create-subscriber.js +14 -0
  186. package/dist/esm/models/create-subscription.d.ts +17 -0
  187. package/dist/esm/models/create-subscription.js +14 -0
  188. package/dist/esm/models/create-topic.d.ts +24 -0
  189. package/dist/esm/models/create-topic.js +14 -0
  190. package/dist/esm/models/create-webhook.d.ts +24 -0
  191. package/dist/esm/models/create-webhook.js +14 -0
  192. package/dist/esm/models/create-workflow.d.ts +50 -0
  193. package/dist/esm/models/create-workflow.js +14 -0
  194. package/dist/esm/models/cta-type.d.ts +18 -0
  195. package/dist/esm/models/cta-type.js +19 -0
  196. package/dist/esm/models/cursor-meta.d.ts +32 -0
  197. package/dist/esm/models/cursor-meta.js +14 -0
  198. package/dist/esm/models/cursor-paginated-feed-item-data-inner.d.ts +34 -0
  199. package/dist/esm/models/cursor-paginated-feed-item-data-inner.js +14 -0
  200. package/dist/esm/models/cursor-paginated-feed-item.d.ts +26 -0
  201. package/dist/esm/models/cursor-paginated-feed-item.js +14 -0
  202. package/dist/esm/models/cursor-paginated-message-record-data-inner.d.ts +39 -0
  203. package/dist/esm/models/cursor-paginated-message-record-data-inner.js +14 -0
  204. package/dist/esm/models/cursor-paginated-message-record.d.ts +26 -0
  205. package/dist/esm/models/cursor-paginated-message-record.js +14 -0
  206. package/dist/esm/models/cursor-pagination.d.ts +28 -0
  207. package/dist/esm/models/cursor-pagination.js +14 -0
  208. package/dist/esm/models/delete-subscription.d.ts +14 -0
  209. package/dist/esm/models/delete-subscription.js +14 -0
  210. package/dist/esm/models/delivery-ack.d.ts +17 -0
  211. package/dist/esm/models/delivery-ack.js +14 -0
  212. package/dist/esm/models/delivery-status-webhook.d.ts +23 -0
  213. package/dist/esm/models/delivery-status-webhook.js +14 -0
  214. package/dist/esm/models/dns-settings.d.ts +24 -0
  215. package/dist/esm/models/dns-settings.js +14 -0
  216. package/dist/esm/models/engagement-stats-response.d.ts +32 -0
  217. package/dist/esm/models/engagement-stats-response.js +14 -0
  218. package/dist/esm/models/entitlement-item.d.ts +28 -0
  219. package/dist/esm/models/entitlement-item.js +14 -0
  220. package/dist/esm/models/entitlements.d.ts +18 -0
  221. package/dist/esm/models/entitlements.js +14 -0
  222. package/dist/esm/models/error-detail.d.ts +32 -0
  223. package/dist/esm/models/error-detail.js +14 -0
  224. package/dist/esm/models/events-usage.d.ts +24 -0
  225. package/dist/esm/models/events-usage.js +14 -0
  226. package/dist/esm/models/feed-item.d.ts +34 -0
  227. package/dist/esm/models/feed-item.js +14 -0
  228. package/dist/esm/models/feed-query.d.ts +22 -0
  229. package/dist/esm/models/feed-query.js +14 -0
  230. package/dist/esm/models/inbox-notification.d.ts +33 -0
  231. package/dist/esm/models/inbox-notification.js +14 -0
  232. package/dist/esm/models/inbox-preference.d.ts +19 -0
  233. package/dist/esm/models/inbox-preference.js +14 -0
  234. package/dist/esm/models/inbox-query.d.ts +20 -0
  235. package/dist/esm/models/inbox-query.js +14 -0
  236. package/dist/esm/models/index.d.ts +158 -0
  237. package/dist/esm/models/index.js +158 -0
  238. package/dist/esm/models/init-session-request.d.ts +24 -0
  239. package/dist/esm/models/init-session-request.js +14 -0
  240. package/dist/esm/models/init-session-response.d.ts +24 -0
  241. package/dist/esm/models/init-session-response.js +14 -0
  242. package/dist/esm/models/integration-record.d.ts +49 -0
  243. package/dist/esm/models/integration-record.js +14 -0
  244. package/dist/esm/models/invite-member-body.d.ts +24 -0
  245. package/dist/esm/models/invite-member-body.js +14 -0
  246. package/dist/esm/models/invite-member.d.ts +24 -0
  247. package/dist/esm/models/invite-member.js +14 -0
  248. package/dist/esm/models/job-log.d.ts +41 -0
  249. package/dist/esm/models/job-log.js +14 -0
  250. package/dist/esm/models/layout-preview-result.d.ts +17 -0
  251. package/dist/esm/models/layout-preview-result.js +14 -0
  252. package/dist/esm/models/layout-preview.d.ts +17 -0
  253. package/dist/esm/models/layout-preview.js +14 -0
  254. package/dist/esm/models/layout-record.d.ts +31 -0
  255. package/dist/esm/models/layout-record.js +14 -0
  256. package/dist/esm/models/layout-usage-item.d.ts +18 -0
  257. package/dist/esm/models/layout-usage-item.js +14 -0
  258. package/dist/esm/models/mark-all.d.ts +17 -0
  259. package/dist/esm/models/mark-all.js +14 -0
  260. package/dist/esm/models/mark-messages.d.ts +18 -0
  261. package/dist/esm/models/mark-messages.js +14 -0
  262. package/dist/esm/models/mark-result.d.ts +17 -0
  263. package/dist/esm/models/mark-result.js +14 -0
  264. package/dist/esm/models/member-record.d.ts +32 -0
  265. package/dist/esm/models/member-record.js +14 -0
  266. package/dist/esm/models/member-role.d.ts +21 -0
  267. package/dist/esm/models/member-role.js +22 -0
  268. package/dist/esm/models/member-status.d.ts +20 -0
  269. package/dist/esm/models/member-status.js +21 -0
  270. package/dist/esm/models/message-query.d.ts +40 -0
  271. package/dist/esm/models/message-query.js +14 -0
  272. package/dist/esm/models/message-record.d.ts +39 -0
  273. package/dist/esm/models/message-record.js +14 -0
  274. package/dist/esm/models/notification-count.d.ts +19 -0
  275. package/dist/esm/models/notification-count.js +14 -0
  276. package/dist/esm/models/notification-group-record.d.ts +24 -0
  277. package/dist/esm/models/notification-group-record.js +14 -0
  278. package/dist/esm/models/notification-log.d.ts +33 -0
  279. package/dist/esm/models/notification-log.js +14 -0
  280. package/dist/esm/models/notification-query.d.ts +28 -0
  281. package/dist/esm/models/notification-query.js +14 -0
  282. package/dist/esm/models/offset-meta.d.ts +32 -0
  283. package/dist/esm/models/offset-meta.js +14 -0
  284. package/dist/esm/models/offset-pagination.d.ts +32 -0
  285. package/dist/esm/models/offset-pagination.js +14 -0
  286. package/dist/esm/models/online-status.d.ts +17 -0
  287. package/dist/esm/models/online-status.js +14 -0
  288. package/dist/esm/models/paginated-channel-connection-record-data-inner.d.ts +37 -0
  289. package/dist/esm/models/paginated-channel-connection-record-data-inner.js +14 -0
  290. package/dist/esm/models/paginated-channel-connection-record.d.ts +26 -0
  291. package/dist/esm/models/paginated-channel-connection-record.js +14 -0
  292. package/dist/esm/models/paginated-channel-endpoint-record-data-inner.d.ts +41 -0
  293. package/dist/esm/models/paginated-channel-endpoint-record-data-inner.js +14 -0
  294. package/dist/esm/models/paginated-channel-endpoint-record.d.ts +26 -0
  295. package/dist/esm/models/paginated-channel-endpoint-record.js +14 -0
  296. package/dist/esm/models/paginated-context-record-data-inner.d.ts +36 -0
  297. package/dist/esm/models/paginated-context-record-data-inner.js +14 -0
  298. package/dist/esm/models/paginated-context-record.d.ts +26 -0
  299. package/dist/esm/models/paginated-context-record.js +14 -0
  300. package/dist/esm/models/paginated-integration-record-data-inner.d.ts +49 -0
  301. package/dist/esm/models/paginated-integration-record-data-inner.js +14 -0
  302. package/dist/esm/models/paginated-integration-record.d.ts +26 -0
  303. package/dist/esm/models/paginated-integration-record.js +14 -0
  304. package/dist/esm/models/paginated-layout-record-data-inner.d.ts +31 -0
  305. package/dist/esm/models/paginated-layout-record-data-inner.js +14 -0
  306. package/dist/esm/models/paginated-layout-record.d.ts +26 -0
  307. package/dist/esm/models/paginated-layout-record.js +14 -0
  308. package/dist/esm/models/paginated-subscriber-record-data-inner.d.ts +61 -0
  309. package/dist/esm/models/paginated-subscriber-record-data-inner.js +14 -0
  310. package/dist/esm/models/paginated-subscriber-record.d.ts +26 -0
  311. package/dist/esm/models/paginated-subscriber-record.js +14 -0
  312. package/dist/esm/models/paginated-topic-record-data-inner.d.ts +22 -0
  313. package/dist/esm/models/paginated-topic-record-data-inner.js +14 -0
  314. package/dist/esm/models/paginated-topic-record.d.ts +26 -0
  315. package/dist/esm/models/paginated-topic-record.js +14 -0
  316. package/dist/esm/models/paginated-topic-subscription-record-data-inner.d.ts +33 -0
  317. package/dist/esm/models/paginated-topic-subscription-record-data-inner.js +14 -0
  318. package/dist/esm/models/paginated-topic-subscription-record.d.ts +26 -0
  319. package/dist/esm/models/paginated-topic-subscription-record.js +14 -0
  320. package/dist/esm/models/paginated-workflow-record-data-inner.d.ts +52 -0
  321. package/dist/esm/models/paginated-workflow-record-data-inner.js +14 -0
  322. package/dist/esm/models/paginated-workflow-record.d.ts +26 -0
  323. package/dist/esm/models/paginated-workflow-record.js +14 -0
  324. package/dist/esm/models/pagination-query.d.ts +28 -0
  325. package/dist/esm/models/pagination-query.js +14 -0
  326. package/dist/esm/models/patch-credentials.d.ts +23 -0
  327. package/dist/esm/models/patch-credentials.js +14 -0
  328. package/dist/esm/models/plan-limits-response.d.ts +45 -0
  329. package/dist/esm/models/plan-limits-response.js +14 -0
  330. package/dist/esm/models/plan.d.ts +22 -0
  331. package/dist/esm/models/plan.js +23 -0
  332. package/dist/esm/models/portal-url.d.ts +20 -0
  333. package/dist/esm/models/portal-url.js +14 -0
  334. package/dist/esm/models/preference-channels.d.ts +21 -0
  335. package/dist/esm/models/preference-channels.js +14 -0
  336. package/dist/esm/models/preference-record.d.ts +24 -0
  337. package/dist/esm/models/preference-record.js +14 -0
  338. package/dist/esm/models/preview-result.d.ts +14 -0
  339. package/dist/esm/models/preview-result.js +14 -0
  340. package/dist/esm/models/price-info.d.ts +32 -0
  341. package/dist/esm/models/price-info.js +14 -0
  342. package/dist/esm/models/prices.d.ts +18 -0
  343. package/dist/esm/models/prices.js +14 -0
  344. package/dist/esm/models/project-record.d.ts +34 -0
  345. package/dist/esm/models/project-record.js +14 -0
  346. package/dist/esm/models/set-credentials.d.ts +23 -0
  347. package/dist/esm/models/set-credentials.js +14 -0
  348. package/dist/esm/models/step-preview.d.ts +17 -0
  349. package/dist/esm/models/step-preview.js +14 -0
  350. package/dist/esm/models/step-record.d.ts +30 -0
  351. package/dist/esm/models/step-record.js +14 -0
  352. package/dist/esm/models/step-type.d.ts +27 -0
  353. package/dist/esm/models/step-type.js +28 -0
  354. package/dist/esm/models/subscriber-credential.d.ts +20 -0
  355. package/dist/esm/models/subscriber-credential.js +14 -0
  356. package/dist/esm/models/subscriber-payload.d.ts +17 -0
  357. package/dist/esm/models/subscriber-payload.js +14 -0
  358. package/dist/esm/models/subscriber-record.d.ts +61 -0
  359. package/dist/esm/models/subscriber-record.js +14 -0
  360. package/dist/esm/models/subscription.d.ts +59 -0
  361. package/dist/esm/models/subscription.js +14 -0
  362. package/dist/esm/models/sync-workflow.d.ts +18 -0
  363. package/dist/esm/models/sync-workflow.js +14 -0
  364. package/dist/esm/models/system-avatar-icon.d.ts +23 -0
  365. package/dist/esm/models/system-avatar-icon.js +24 -0
  366. package/dist/esm/models/topic-record.d.ts +22 -0
  367. package/dist/esm/models/topic-record.js +14 -0
  368. package/dist/esm/models/topic-subscribers.d.ts +17 -0
  369. package/dist/esm/models/topic-subscribers.js +14 -0
  370. package/dist/esm/models/topic-subscription-record.d.ts +33 -0
  371. package/dist/esm/models/topic-subscription-record.js +14 -0
  372. package/dist/esm/models/topic-subscription.d.ts +21 -0
  373. package/dist/esm/models/topic-subscription.js +14 -0
  374. package/dist/esm/models/trial-info.d.ts +32 -0
  375. package/dist/esm/models/trial-info.js +14 -0
  376. package/dist/esm/models/trigger-event.d.ts +41 -0
  377. package/dist/esm/models/trigger-event.js +14 -0
  378. package/dist/esm/models/trigger-recipients-one-of.d.ts +17 -0
  379. package/dist/esm/models/trigger-recipients-one-of.js +14 -0
  380. package/dist/esm/models/trigger-recipients.d.ts +18 -0
  381. package/dist/esm/models/trigger-recipients.js +14 -0
  382. package/dist/esm/models/trigger-result.d.ts +29 -0
  383. package/dist/esm/models/trigger-result.js +14 -0
  384. package/dist/esm/models/trigger-status.d.ts +24 -0
  385. package/dist/esm/models/trigger-status.js +25 -0
  386. package/dist/esm/models/unseen-count.d.ts +17 -0
  387. package/dist/esm/models/unseen-count.js +14 -0
  388. package/dist/esm/models/update-channel-connection.d.ts +17 -0
  389. package/dist/esm/models/update-channel-connection.js +14 -0
  390. package/dist/esm/models/update-channel-endpoint.d.ts +21 -0
  391. package/dist/esm/models/update-channel-endpoint.js +14 -0
  392. package/dist/esm/models/update-context.d.ts +20 -0
  393. package/dist/esm/models/update-context.js +14 -0
  394. package/dist/esm/models/update-inbox-preferences.d.ts +21 -0
  395. package/dist/esm/models/update-inbox-preferences.js +14 -0
  396. package/dist/esm/models/update-integration.d.ts +32 -0
  397. package/dist/esm/models/update-integration.js +14 -0
  398. package/dist/esm/models/update-layout.d.ts +23 -0
  399. package/dist/esm/models/update-layout.js +14 -0
  400. package/dist/esm/models/update-notification-group.d.ts +20 -0
  401. package/dist/esm/models/update-notification-group.js +14 -0
  402. package/dist/esm/models/update-preference.d.ts +19 -0
  403. package/dist/esm/models/update-preference.js +14 -0
  404. package/dist/esm/models/update-project.d.ts +25 -0
  405. package/dist/esm/models/update-project.js +14 -0
  406. package/dist/esm/models/update-subscriber.d.ts +48 -0
  407. package/dist/esm/models/update-subscriber.js +14 -0
  408. package/dist/esm/models/update-subscription-meta.d.ts +17 -0
  409. package/dist/esm/models/update-subscription-meta.js +14 -0
  410. package/dist/esm/models/update-topic.d.ts +20 -0
  411. package/dist/esm/models/update-topic.js +14 -0
  412. package/dist/esm/models/update-workflow.d.ts +42 -0
  413. package/dist/esm/models/update-workflow.js +14 -0
  414. package/dist/esm/models/usage.d.ts +49 -0
  415. package/dist/esm/models/usage.js +14 -0
  416. package/dist/esm/models/webhook-record.d.ts +40 -0
  417. package/dist/esm/models/webhook-record.js +14 -0
  418. package/dist/esm/models/widget-settings.d.ts +20 -0
  419. package/dist/esm/models/widget-settings.js +14 -0
  420. package/dist/esm/models/workflow-record.d.ts +52 -0
  421. package/dist/esm/models/workflow-record.js +14 -0
  422. package/dist/esm/models/workflow-run-record.d.ts +40 -0
  423. package/dist/esm/models/workflow-run-record.js +14 -0
  424. package/dist/esm/models/workflow-stats-response.d.ts +32 -0
  425. package/dist/esm/models/workflow-stats-response.js +14 -0
  426. package/dist/esm/models/workflow-status.d.ts +20 -0
  427. package/dist/esm/models/workflow-status.js +14 -0
  428. package/dist/esm/models/workflow-step-create.d.ts +41 -0
  429. package/dist/esm/models/workflow-step-create.js +14 -0
  430. package/dist/index.d.ts +14 -0
  431. package/dist/index.js +32 -0
  432. package/dist/models/action-body.d.ts +20 -0
  433. package/dist/models/action-body.js +15 -0
  434. package/dist/models/action-record.d.ts +22 -0
  435. package/dist/models/action-record.js +15 -0
  436. package/dist/models/action-type.d.ts +22 -0
  437. package/dist/models/action-type.js +26 -0
  438. package/dist/models/activity-chart-point.d.ts +40 -0
  439. package/dist/models/activity-chart-point.js +15 -0
  440. package/dist/models/activity-record.d.ts +56 -0
  441. package/dist/models/activity-record.js +15 -0
  442. package/dist/models/activity-request-record.d.ts +40 -0
  443. package/dist/models/activity-request-record.js +15 -0
  444. package/dist/models/activity-stats.d.ts +40 -0
  445. package/dist/models/activity-stats.js +15 -0
  446. package/dist/models/actor-type.d.ts +21 -0
  447. package/dist/models/actor-type.js +25 -0
  448. package/dist/models/api-key-created.d.ts +32 -0
  449. package/dist/models/api-key-created.js +15 -0
  450. package/dist/models/api-key-info.d.ts +32 -0
  451. package/dist/models/api-key-info.js +15 -0
  452. package/dist/models/auto-configure-result.d.ts +17 -0
  453. package/dist/models/auto-configure-result.js +15 -0
  454. package/dist/models/billing-interval.d.ts +19 -0
  455. package/dist/models/billing-interval.js +23 -0
  456. package/dist/models/branding.d.ts +40 -0
  457. package/dist/models/branding.js +15 -0
  458. package/dist/models/broadcast-trigger.d.ts +23 -0
  459. package/dist/models/broadcast-trigger.js +15 -0
  460. package/dist/models/bulk-create-subscribers.d.ts +18 -0
  461. package/dist/models/bulk-create-subscribers.js +15 -0
  462. package/dist/models/bulk-preference-item.d.ts +17 -0
  463. package/dist/models/bulk-preference-item.js +15 -0
  464. package/dist/models/bulk-preferences.d.ts +18 -0
  465. package/dist/models/bulk-preferences.js +15 -0
  466. package/dist/models/bulk-result.d.ts +16 -0
  467. package/dist/models/bulk-result.js +15 -0
  468. package/dist/models/bulk-trigger.d.ts +21 -0
  469. package/dist/models/bulk-trigger.js +15 -0
  470. package/dist/models/channel-connection-record.d.ts +37 -0
  471. package/dist/models/channel-connection-record.js +15 -0
  472. package/dist/models/channel-endpoint-record.d.ts +41 -0
  473. package/dist/models/channel-endpoint-record.js +15 -0
  474. package/dist/models/channel-preferences.d.ts +21 -0
  475. package/dist/models/channel-preferences.js +15 -0
  476. package/dist/models/channel-type.d.ts +22 -0
  477. package/dist/models/channel-type.js +26 -0
  478. package/dist/models/chart-query.d.ts +20 -0
  479. package/dist/models/chart-query.js +15 -0
  480. package/dist/models/chat-oauth-request.d.ts +15 -0
  481. package/dist/models/chat-oauth-request.js +15 -0
  482. package/dist/models/chat-oauth.d.ts +17 -0
  483. package/dist/models/chat-oauth.js +15 -0
  484. package/dist/models/checkout-session.d.ts +25 -0
  485. package/dist/models/checkout-session.js +15 -0
  486. package/dist/models/context-record.d.ts +36 -0
  487. package/dist/models/context-record.js +15 -0
  488. package/dist/models/create-channel-connection.d.ts +29 -0
  489. package/dist/models/create-channel-connection.js +15 -0
  490. package/dist/models/create-channel-endpoint.d.ts +33 -0
  491. package/dist/models/create-channel-endpoint.js +15 -0
  492. package/dist/models/create-checkout.d.ts +25 -0
  493. package/dist/models/create-checkout.js +15 -0
  494. package/dist/models/create-context.d.ts +28 -0
  495. package/dist/models/create-context.js +15 -0
  496. package/dist/models/create-integration.d.ts +41 -0
  497. package/dist/models/create-integration.js +15 -0
  498. package/dist/models/create-layout.d.ts +28 -0
  499. package/dist/models/create-layout.js +15 -0
  500. package/dist/models/create-notification-group.d.ts +20 -0
  501. package/dist/models/create-notification-group.js +15 -0
  502. package/dist/models/create-project.d.ts +20 -0
  503. package/dist/models/create-project.js +15 -0
  504. package/dist/models/create-subscriber.d.ts +52 -0
  505. package/dist/models/create-subscriber.js +15 -0
  506. package/dist/models/create-subscription.d.ts +17 -0
  507. package/dist/models/create-subscription.js +15 -0
  508. package/dist/models/create-topic.d.ts +24 -0
  509. package/dist/models/create-topic.js +15 -0
  510. package/dist/models/create-webhook.d.ts +24 -0
  511. package/dist/models/create-webhook.js +15 -0
  512. package/dist/models/create-workflow.d.ts +50 -0
  513. package/dist/models/create-workflow.js +15 -0
  514. package/dist/models/cta-type.d.ts +18 -0
  515. package/dist/models/cta-type.js +22 -0
  516. package/dist/models/cursor-meta.d.ts +32 -0
  517. package/dist/models/cursor-meta.js +15 -0
  518. package/dist/models/cursor-paginated-feed-item-data-inner.d.ts +34 -0
  519. package/dist/models/cursor-paginated-feed-item-data-inner.js +15 -0
  520. package/dist/models/cursor-paginated-feed-item.d.ts +26 -0
  521. package/dist/models/cursor-paginated-feed-item.js +15 -0
  522. package/dist/models/cursor-paginated-message-record-data-inner.d.ts +39 -0
  523. package/dist/models/cursor-paginated-message-record-data-inner.js +15 -0
  524. package/dist/models/cursor-paginated-message-record.d.ts +26 -0
  525. package/dist/models/cursor-paginated-message-record.js +15 -0
  526. package/dist/models/cursor-pagination.d.ts +28 -0
  527. package/dist/models/cursor-pagination.js +15 -0
  528. package/dist/models/delete-subscription.d.ts +14 -0
  529. package/dist/models/delete-subscription.js +15 -0
  530. package/dist/models/delivery-ack.d.ts +17 -0
  531. package/dist/models/delivery-ack.js +15 -0
  532. package/dist/models/delivery-status-webhook.d.ts +23 -0
  533. package/dist/models/delivery-status-webhook.js +15 -0
  534. package/dist/models/dns-settings.d.ts +24 -0
  535. package/dist/models/dns-settings.js +15 -0
  536. package/dist/models/engagement-stats-response.d.ts +32 -0
  537. package/dist/models/engagement-stats-response.js +15 -0
  538. package/dist/models/entitlement-item.d.ts +28 -0
  539. package/dist/models/entitlement-item.js +15 -0
  540. package/dist/models/entitlements.d.ts +18 -0
  541. package/dist/models/entitlements.js +15 -0
  542. package/dist/models/error-detail.d.ts +32 -0
  543. package/dist/models/error-detail.js +15 -0
  544. package/dist/models/events-usage.d.ts +24 -0
  545. package/dist/models/events-usage.js +15 -0
  546. package/dist/models/feed-item.d.ts +34 -0
  547. package/dist/models/feed-item.js +15 -0
  548. package/dist/models/feed-query.d.ts +22 -0
  549. package/dist/models/feed-query.js +15 -0
  550. package/dist/models/inbox-notification.d.ts +33 -0
  551. package/dist/models/inbox-notification.js +15 -0
  552. package/dist/models/inbox-preference.d.ts +19 -0
  553. package/dist/models/inbox-preference.js +15 -0
  554. package/dist/models/inbox-query.d.ts +20 -0
  555. package/dist/models/inbox-query.js +15 -0
  556. package/dist/models/index.d.ts +158 -0
  557. package/dist/models/index.js +174 -0
  558. package/dist/models/init-session-request.d.ts +24 -0
  559. package/dist/models/init-session-request.js +15 -0
  560. package/dist/models/init-session-response.d.ts +24 -0
  561. package/dist/models/init-session-response.js +15 -0
  562. package/dist/models/integration-record.d.ts +49 -0
  563. package/dist/models/integration-record.js +15 -0
  564. package/dist/models/invite-member-body.d.ts +24 -0
  565. package/dist/models/invite-member-body.js +15 -0
  566. package/dist/models/invite-member.d.ts +24 -0
  567. package/dist/models/invite-member.js +15 -0
  568. package/dist/models/job-log.d.ts +41 -0
  569. package/dist/models/job-log.js +15 -0
  570. package/dist/models/layout-preview-result.d.ts +17 -0
  571. package/dist/models/layout-preview-result.js +15 -0
  572. package/dist/models/layout-preview.d.ts +17 -0
  573. package/dist/models/layout-preview.js +15 -0
  574. package/dist/models/layout-record.d.ts +31 -0
  575. package/dist/models/layout-record.js +15 -0
  576. package/dist/models/layout-usage-item.d.ts +18 -0
  577. package/dist/models/layout-usage-item.js +15 -0
  578. package/dist/models/mark-all.d.ts +17 -0
  579. package/dist/models/mark-all.js +15 -0
  580. package/dist/models/mark-messages.d.ts +18 -0
  581. package/dist/models/mark-messages.js +15 -0
  582. package/dist/models/mark-result.d.ts +17 -0
  583. package/dist/models/mark-result.js +15 -0
  584. package/dist/models/member-record.d.ts +32 -0
  585. package/dist/models/member-record.js +15 -0
  586. package/dist/models/member-role.d.ts +21 -0
  587. package/dist/models/member-role.js +25 -0
  588. package/dist/models/member-status.d.ts +20 -0
  589. package/dist/models/member-status.js +24 -0
  590. package/dist/models/message-query.d.ts +40 -0
  591. package/dist/models/message-query.js +15 -0
  592. package/dist/models/message-record.d.ts +39 -0
  593. package/dist/models/message-record.js +15 -0
  594. package/dist/models/notification-count.d.ts +19 -0
  595. package/dist/models/notification-count.js +15 -0
  596. package/dist/models/notification-group-record.d.ts +24 -0
  597. package/dist/models/notification-group-record.js +15 -0
  598. package/dist/models/notification-log.d.ts +33 -0
  599. package/dist/models/notification-log.js +15 -0
  600. package/dist/models/notification-query.d.ts +28 -0
  601. package/dist/models/notification-query.js +15 -0
  602. package/dist/models/offset-meta.d.ts +32 -0
  603. package/dist/models/offset-meta.js +15 -0
  604. package/dist/models/offset-pagination.d.ts +32 -0
  605. package/dist/models/offset-pagination.js +15 -0
  606. package/dist/models/online-status.d.ts +17 -0
  607. package/dist/models/online-status.js +15 -0
  608. package/dist/models/paginated-channel-connection-record-data-inner.d.ts +37 -0
  609. package/dist/models/paginated-channel-connection-record-data-inner.js +15 -0
  610. package/dist/models/paginated-channel-connection-record.d.ts +26 -0
  611. package/dist/models/paginated-channel-connection-record.js +15 -0
  612. package/dist/models/paginated-channel-endpoint-record-data-inner.d.ts +41 -0
  613. package/dist/models/paginated-channel-endpoint-record-data-inner.js +15 -0
  614. package/dist/models/paginated-channel-endpoint-record.d.ts +26 -0
  615. package/dist/models/paginated-channel-endpoint-record.js +15 -0
  616. package/dist/models/paginated-context-record-data-inner.d.ts +36 -0
  617. package/dist/models/paginated-context-record-data-inner.js +15 -0
  618. package/dist/models/paginated-context-record.d.ts +26 -0
  619. package/dist/models/paginated-context-record.js +15 -0
  620. package/dist/models/paginated-integration-record-data-inner.d.ts +49 -0
  621. package/dist/models/paginated-integration-record-data-inner.js +15 -0
  622. package/dist/models/paginated-integration-record.d.ts +26 -0
  623. package/dist/models/paginated-integration-record.js +15 -0
  624. package/dist/models/paginated-layout-record-data-inner.d.ts +31 -0
  625. package/dist/models/paginated-layout-record-data-inner.js +15 -0
  626. package/dist/models/paginated-layout-record.d.ts +26 -0
  627. package/dist/models/paginated-layout-record.js +15 -0
  628. package/dist/models/paginated-subscriber-record-data-inner.d.ts +61 -0
  629. package/dist/models/paginated-subscriber-record-data-inner.js +15 -0
  630. package/dist/models/paginated-subscriber-record.d.ts +26 -0
  631. package/dist/models/paginated-subscriber-record.js +15 -0
  632. package/dist/models/paginated-topic-record-data-inner.d.ts +22 -0
  633. package/dist/models/paginated-topic-record-data-inner.js +15 -0
  634. package/dist/models/paginated-topic-record.d.ts +26 -0
  635. package/dist/models/paginated-topic-record.js +15 -0
  636. package/dist/models/paginated-topic-subscription-record-data-inner.d.ts +33 -0
  637. package/dist/models/paginated-topic-subscription-record-data-inner.js +15 -0
  638. package/dist/models/paginated-topic-subscription-record.d.ts +26 -0
  639. package/dist/models/paginated-topic-subscription-record.js +15 -0
  640. package/dist/models/paginated-workflow-record-data-inner.d.ts +52 -0
  641. package/dist/models/paginated-workflow-record-data-inner.js +15 -0
  642. package/dist/models/paginated-workflow-record.d.ts +26 -0
  643. package/dist/models/paginated-workflow-record.js +15 -0
  644. package/dist/models/pagination-query.d.ts +28 -0
  645. package/dist/models/pagination-query.js +15 -0
  646. package/dist/models/patch-credentials.d.ts +23 -0
  647. package/dist/models/patch-credentials.js +15 -0
  648. package/dist/models/plan-limits-response.d.ts +45 -0
  649. package/dist/models/plan-limits-response.js +15 -0
  650. package/dist/models/plan.d.ts +22 -0
  651. package/dist/models/plan.js +26 -0
  652. package/dist/models/portal-url.d.ts +20 -0
  653. package/dist/models/portal-url.js +15 -0
  654. package/dist/models/preference-channels.d.ts +21 -0
  655. package/dist/models/preference-channels.js +15 -0
  656. package/dist/models/preference-record.d.ts +24 -0
  657. package/dist/models/preference-record.js +15 -0
  658. package/dist/models/preview-result.d.ts +14 -0
  659. package/dist/models/preview-result.js +15 -0
  660. package/dist/models/price-info.d.ts +32 -0
  661. package/dist/models/price-info.js +15 -0
  662. package/dist/models/prices.d.ts +18 -0
  663. package/dist/models/prices.js +15 -0
  664. package/dist/models/project-record.d.ts +34 -0
  665. package/dist/models/project-record.js +15 -0
  666. package/dist/models/set-credentials.d.ts +23 -0
  667. package/dist/models/set-credentials.js +15 -0
  668. package/dist/models/step-preview.d.ts +17 -0
  669. package/dist/models/step-preview.js +15 -0
  670. package/dist/models/step-record.d.ts +30 -0
  671. package/dist/models/step-record.js +15 -0
  672. package/dist/models/step-type.d.ts +27 -0
  673. package/dist/models/step-type.js +31 -0
  674. package/dist/models/subscriber-credential.d.ts +20 -0
  675. package/dist/models/subscriber-credential.js +15 -0
  676. package/dist/models/subscriber-payload.d.ts +17 -0
  677. package/dist/models/subscriber-payload.js +15 -0
  678. package/dist/models/subscriber-record.d.ts +61 -0
  679. package/dist/models/subscriber-record.js +15 -0
  680. package/dist/models/subscription.d.ts +59 -0
  681. package/dist/models/subscription.js +15 -0
  682. package/dist/models/sync-workflow.d.ts +18 -0
  683. package/dist/models/sync-workflow.js +15 -0
  684. package/dist/models/system-avatar-icon.d.ts +23 -0
  685. package/dist/models/system-avatar-icon.js +27 -0
  686. package/dist/models/topic-record.d.ts +22 -0
  687. package/dist/models/topic-record.js +15 -0
  688. package/dist/models/topic-subscribers.d.ts +17 -0
  689. package/dist/models/topic-subscribers.js +15 -0
  690. package/dist/models/topic-subscription-record.d.ts +33 -0
  691. package/dist/models/topic-subscription-record.js +15 -0
  692. package/dist/models/topic-subscription.d.ts +21 -0
  693. package/dist/models/topic-subscription.js +15 -0
  694. package/dist/models/trial-info.d.ts +32 -0
  695. package/dist/models/trial-info.js +15 -0
  696. package/dist/models/trigger-event.d.ts +41 -0
  697. package/dist/models/trigger-event.js +15 -0
  698. package/dist/models/trigger-recipients-one-of.d.ts +17 -0
  699. package/dist/models/trigger-recipients-one-of.js +15 -0
  700. package/dist/models/trigger-recipients.d.ts +18 -0
  701. package/dist/models/trigger-recipients.js +15 -0
  702. package/dist/models/trigger-result.d.ts +29 -0
  703. package/dist/models/trigger-result.js +15 -0
  704. package/dist/models/trigger-status.d.ts +24 -0
  705. package/dist/models/trigger-status.js +28 -0
  706. package/dist/models/unseen-count.d.ts +17 -0
  707. package/dist/models/unseen-count.js +15 -0
  708. package/dist/models/update-channel-connection.d.ts +17 -0
  709. package/dist/models/update-channel-connection.js +15 -0
  710. package/dist/models/update-channel-endpoint.d.ts +21 -0
  711. package/dist/models/update-channel-endpoint.js +15 -0
  712. package/dist/models/update-context.d.ts +20 -0
  713. package/dist/models/update-context.js +15 -0
  714. package/dist/models/update-inbox-preferences.d.ts +21 -0
  715. package/dist/models/update-inbox-preferences.js +15 -0
  716. package/dist/models/update-integration.d.ts +32 -0
  717. package/dist/models/update-integration.js +15 -0
  718. package/dist/models/update-layout.d.ts +23 -0
  719. package/dist/models/update-layout.js +15 -0
  720. package/dist/models/update-notification-group.d.ts +20 -0
  721. package/dist/models/update-notification-group.js +15 -0
  722. package/dist/models/update-preference.d.ts +19 -0
  723. package/dist/models/update-preference.js +15 -0
  724. package/dist/models/update-project.d.ts +25 -0
  725. package/dist/models/update-project.js +15 -0
  726. package/dist/models/update-subscriber.d.ts +48 -0
  727. package/dist/models/update-subscriber.js +15 -0
  728. package/dist/models/update-subscription-meta.d.ts +17 -0
  729. package/dist/models/update-subscription-meta.js +15 -0
  730. package/dist/models/update-topic.d.ts +20 -0
  731. package/dist/models/update-topic.js +15 -0
  732. package/dist/models/update-workflow.d.ts +42 -0
  733. package/dist/models/update-workflow.js +15 -0
  734. package/dist/models/usage.d.ts +49 -0
  735. package/dist/models/usage.js +15 -0
  736. package/dist/models/webhook-record.d.ts +40 -0
  737. package/dist/models/webhook-record.js +15 -0
  738. package/dist/models/widget-settings.d.ts +20 -0
  739. package/dist/models/widget-settings.js +15 -0
  740. package/dist/models/workflow-record.d.ts +52 -0
  741. package/dist/models/workflow-record.js +15 -0
  742. package/dist/models/workflow-run-record.d.ts +40 -0
  743. package/dist/models/workflow-run-record.js +15 -0
  744. package/dist/models/workflow-stats-response.d.ts +32 -0
  745. package/dist/models/workflow-stats-response.js +15 -0
  746. package/dist/models/workflow-status.d.ts +20 -0
  747. package/dist/models/workflow-status.js +15 -0
  748. package/dist/models/workflow-step-create.d.ts +41 -0
  749. package/dist/models/workflow-step-create.js +15 -0
  750. package/package.json +56 -0
@@ -0,0 +1,908 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * enbbox API
5
+ * Notification infrastructure API — open-source alternative to Novu/Courier
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * ProjectsApi - axios parameter creator
31
+ */
32
+ export const ProjectsApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ *
36
+ * @summary POST /v1/projects/ — create a new project
37
+ * @param {CreateProject} createProject
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ createProject: (createProject_1, ...args_1) => __awaiter(this, [createProject_1, ...args_1], void 0, function* (createProject, options = {}) {
42
+ // verify required parameter 'createProject' is not null or undefined
43
+ assertParamExists('createProject', 'createProject', createProject);
44
+ const localVarPath = `/v1/projects/`;
45
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52
+ const localVarHeaderParameter = {};
53
+ const localVarQueryParameter = {};
54
+ // authentication bearer_auth required
55
+ // http bearer authentication required
56
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
57
+ localVarHeaderParameter['Content-Type'] = 'application/json';
58
+ localVarHeaderParameter['Accept'] = 'application/json';
59
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
60
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
62
+ localVarRequestOptions.data = serializeDataIfNeeded(createProject, localVarRequestOptions, configuration);
63
+ return {
64
+ url: toPathString(localVarUrlObj),
65
+ options: localVarRequestOptions,
66
+ };
67
+ }),
68
+ /**
69
+ *
70
+ * @summary DELETE /v1/projects/{id}/api-keys/{key_id}/ — revoke an API key by ID
71
+ * @param {string} id Project ID
72
+ * @param {string} keyId API Key ID
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ deleteApiKey: (id_1, keyId_1, ...args_1) => __awaiter(this, [id_1, keyId_1, ...args_1], void 0, function* (id, keyId, options = {}) {
77
+ // verify required parameter 'id' is not null or undefined
78
+ assertParamExists('deleteApiKey', 'id', id);
79
+ // verify required parameter 'keyId' is not null or undefined
80
+ assertParamExists('deleteApiKey', 'keyId', keyId);
81
+ const localVarPath = `/v1/projects/{id}/api-keys/{key_id}/`
82
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
83
+ .replace(`{${"key_id"}}`, encodeURIComponent(String(keyId)));
84
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
86
+ let baseOptions;
87
+ if (configuration) {
88
+ baseOptions = configuration.baseOptions;
89
+ }
90
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
91
+ const localVarHeaderParameter = {};
92
+ const localVarQueryParameter = {};
93
+ // authentication bearer_auth required
94
+ // http bearer authentication required
95
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
96
+ localVarHeaderParameter['Accept'] = 'application/json';
97
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
98
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
99
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
100
+ return {
101
+ url: toPathString(localVarUrlObj),
102
+ options: localVarRequestOptions,
103
+ };
104
+ }),
105
+ /**
106
+ *
107
+ * @summary DELETE /v1/projects/{id}/ — delete a project (owner only)
108
+ * @param {string} id Project ID
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ deleteProject: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
113
+ // verify required parameter 'id' is not null or undefined
114
+ assertParamExists('deleteProject', 'id', id);
115
+ const localVarPath = `/v1/projects/{id}/`
116
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
118
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
119
+ let baseOptions;
120
+ if (configuration) {
121
+ baseOptions = configuration.baseOptions;
122
+ }
123
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
124
+ const localVarHeaderParameter = {};
125
+ const localVarQueryParameter = {};
126
+ // authentication bearer_auth required
127
+ // http bearer authentication required
128
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
129
+ localVarHeaderParameter['Accept'] = 'application/json';
130
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
132
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
133
+ return {
134
+ url: toPathString(localVarUrlObj),
135
+ options: localVarRequestOptions,
136
+ };
137
+ }),
138
+ /**
139
+ *
140
+ * @summary POST /v1/projects/{id}/api-keys/ — generate a new API key
141
+ * @param {string} id Project ID
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ generateApiKey: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
146
+ // verify required parameter 'id' is not null or undefined
147
+ assertParamExists('generateApiKey', 'id', id);
148
+ const localVarPath = `/v1/projects/{id}/api-keys/`
149
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
150
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
152
+ let baseOptions;
153
+ if (configuration) {
154
+ baseOptions = configuration.baseOptions;
155
+ }
156
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
157
+ const localVarHeaderParameter = {};
158
+ const localVarQueryParameter = {};
159
+ // authentication bearer_auth required
160
+ // http bearer authentication required
161
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
162
+ localVarHeaderParameter['Accept'] = 'application/json';
163
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
164
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
165
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
166
+ return {
167
+ url: toPathString(localVarUrlObj),
168
+ options: localVarRequestOptions,
169
+ };
170
+ }),
171
+ /**
172
+ *
173
+ * @summary GET /v1/projects/{id}/ — get a project by ID
174
+ * @param {string} id Project ID
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ getProject: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
179
+ // verify required parameter 'id' is not null or undefined
180
+ assertParamExists('getProject', 'id', id);
181
+ const localVarPath = `/v1/projects/{id}/`
182
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
185
+ let baseOptions;
186
+ if (configuration) {
187
+ baseOptions = configuration.baseOptions;
188
+ }
189
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
190
+ const localVarHeaderParameter = {};
191
+ const localVarQueryParameter = {};
192
+ // authentication bearer_auth required
193
+ // http bearer authentication required
194
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
195
+ localVarHeaderParameter['Accept'] = 'application/json';
196
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
197
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
198
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
199
+ return {
200
+ url: toPathString(localVarUrlObj),
201
+ options: localVarRequestOptions,
202
+ };
203
+ }),
204
+ /**
205
+ *
206
+ * @summary POST /v1/projects/{id}/members/ — invite a member
207
+ * @param {string} id Project ID
208
+ * @param {InviteMemberBody} inviteMemberBody
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ inviteMember: (id_1, inviteMemberBody_1, ...args_1) => __awaiter(this, [id_1, inviteMemberBody_1, ...args_1], void 0, function* (id, inviteMemberBody, options = {}) {
213
+ // verify required parameter 'id' is not null or undefined
214
+ assertParamExists('inviteMember', 'id', id);
215
+ // verify required parameter 'inviteMemberBody' is not null or undefined
216
+ assertParamExists('inviteMember', 'inviteMemberBody', inviteMemberBody);
217
+ const localVarPath = `/v1/projects/{id}/members/`
218
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
219
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
220
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
221
+ let baseOptions;
222
+ if (configuration) {
223
+ baseOptions = configuration.baseOptions;
224
+ }
225
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
226
+ const localVarHeaderParameter = {};
227
+ const localVarQueryParameter = {};
228
+ // authentication bearer_auth required
229
+ // http bearer authentication required
230
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
231
+ localVarHeaderParameter['Content-Type'] = 'application/json';
232
+ localVarHeaderParameter['Accept'] = 'application/json';
233
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
234
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
235
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
236
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteMemberBody, localVarRequestOptions, configuration);
237
+ return {
238
+ url: toPathString(localVarUrlObj),
239
+ options: localVarRequestOptions,
240
+ };
241
+ }),
242
+ /**
243
+ *
244
+ * @summary GET /v1/projects/{id}/api-keys/ — list API keys for a project
245
+ * @param {string} id Project ID
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ listApiKeys: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
250
+ // verify required parameter 'id' is not null or undefined
251
+ assertParamExists('listApiKeys', 'id', id);
252
+ const localVarPath = `/v1/projects/{id}/api-keys/`
253
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
254
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
255
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
256
+ let baseOptions;
257
+ if (configuration) {
258
+ baseOptions = configuration.baseOptions;
259
+ }
260
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
261
+ const localVarHeaderParameter = {};
262
+ const localVarQueryParameter = {};
263
+ // authentication bearer_auth required
264
+ // http bearer authentication required
265
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
266
+ localVarHeaderParameter['Accept'] = 'application/json';
267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
270
+ return {
271
+ url: toPathString(localVarUrlObj),
272
+ options: localVarRequestOptions,
273
+ };
274
+ }),
275
+ /**
276
+ *
277
+ * @summary GET /v1/projects/{id}/members/ — list project members
278
+ * @param {string} id Project ID
279
+ * @param {*} [options] Override http request option.
280
+ * @throws {RequiredError}
281
+ */
282
+ listMembers: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
283
+ // verify required parameter 'id' is not null or undefined
284
+ assertParamExists('listMembers', 'id', id);
285
+ const localVarPath = `/v1/projects/{id}/members/`
286
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
287
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
288
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
289
+ let baseOptions;
290
+ if (configuration) {
291
+ baseOptions = configuration.baseOptions;
292
+ }
293
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
294
+ const localVarHeaderParameter = {};
295
+ const localVarQueryParameter = {};
296
+ // authentication bearer_auth required
297
+ // http bearer authentication required
298
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
299
+ localVarHeaderParameter['Accept'] = 'application/json';
300
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
301
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
302
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
303
+ return {
304
+ url: toPathString(localVarUrlObj),
305
+ options: localVarRequestOptions,
306
+ };
307
+ }),
308
+ /**
309
+ *
310
+ * @summary GET /v1/projects/ — list all projects the user is a member of
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ listProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
315
+ const localVarPath = `/v1/projects/`;
316
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
317
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
318
+ let baseOptions;
319
+ if (configuration) {
320
+ baseOptions = configuration.baseOptions;
321
+ }
322
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
323
+ const localVarHeaderParameter = {};
324
+ const localVarQueryParameter = {};
325
+ // authentication bearer_auth required
326
+ // http bearer authentication required
327
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
328
+ localVarHeaderParameter['Accept'] = 'application/json';
329
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
330
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
331
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
332
+ return {
333
+ url: toPathString(localVarUrlObj),
334
+ options: localVarRequestOptions,
335
+ };
336
+ }),
337
+ /**
338
+ *
339
+ * @summary GET /v1/projects/{id}/tags/ — returns unique tags from all workflows in the project
340
+ * @param {string} id Project ID
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ */
344
+ projectTags: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
345
+ // verify required parameter 'id' is not null or undefined
346
+ assertParamExists('projectTags', 'id', id);
347
+ const localVarPath = `/v1/projects/{id}/tags/`
348
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
351
+ let baseOptions;
352
+ if (configuration) {
353
+ baseOptions = configuration.baseOptions;
354
+ }
355
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
356
+ const localVarHeaderParameter = {};
357
+ const localVarQueryParameter = {};
358
+ // authentication bearer_auth required
359
+ // http bearer authentication required
360
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
361
+ localVarHeaderParameter['Accept'] = 'application/json';
362
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
363
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
364
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
365
+ return {
366
+ url: toPathString(localVarUrlObj),
367
+ options: localVarRequestOptions,
368
+ };
369
+ }),
370
+ /**
371
+ *
372
+ * @summary DELETE /v1/projects/{id}/members/{member_id}/ — remove a member
373
+ * @param {string} id Project ID
374
+ * @param {string} memberId Member ID
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ removeMember: (id_1, memberId_1, ...args_1) => __awaiter(this, [id_1, memberId_1, ...args_1], void 0, function* (id, memberId, options = {}) {
379
+ // verify required parameter 'id' is not null or undefined
380
+ assertParamExists('removeMember', 'id', id);
381
+ // verify required parameter 'memberId' is not null or undefined
382
+ assertParamExists('removeMember', 'memberId', memberId);
383
+ const localVarPath = `/v1/projects/{id}/members/{member_id}/`
384
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
385
+ .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
386
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
387
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
388
+ let baseOptions;
389
+ if (configuration) {
390
+ baseOptions = configuration.baseOptions;
391
+ }
392
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
393
+ const localVarHeaderParameter = {};
394
+ const localVarQueryParameter = {};
395
+ // authentication bearer_auth required
396
+ // http bearer authentication required
397
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
398
+ localVarHeaderParameter['Accept'] = 'application/json';
399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
401
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
402
+ return {
403
+ url: toPathString(localVarUrlObj),
404
+ options: localVarRequestOptions,
405
+ };
406
+ }),
407
+ /**
408
+ *
409
+ * @summary PATCH /v1/projects/{id}/ — update a project
410
+ * @param {string} id Project ID
411
+ * @param {UpdateProject} updateProject
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ */
415
+ updateProject: (id_1, updateProject_1, ...args_1) => __awaiter(this, [id_1, updateProject_1, ...args_1], void 0, function* (id, updateProject, options = {}) {
416
+ // verify required parameter 'id' is not null or undefined
417
+ assertParamExists('updateProject', 'id', id);
418
+ // verify required parameter 'updateProject' is not null or undefined
419
+ assertParamExists('updateProject', 'updateProject', updateProject);
420
+ const localVarPath = `/v1/projects/{id}/`
421
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
422
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
423
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
424
+ let baseOptions;
425
+ if (configuration) {
426
+ baseOptions = configuration.baseOptions;
427
+ }
428
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
429
+ const localVarHeaderParameter = {};
430
+ const localVarQueryParameter = {};
431
+ // authentication bearer_auth required
432
+ // http bearer authentication required
433
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
434
+ localVarHeaderParameter['Content-Type'] = 'application/json';
435
+ localVarHeaderParameter['Accept'] = 'application/json';
436
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
437
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
438
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
439
+ localVarRequestOptions.data = serializeDataIfNeeded(updateProject, localVarRequestOptions, configuration);
440
+ return {
441
+ url: toPathString(localVarUrlObj),
442
+ options: localVarRequestOptions,
443
+ };
444
+ }),
445
+ };
446
+ };
447
+ /**
448
+ * ProjectsApi - functional programming interface
449
+ */
450
+ export const ProjectsApiFp = function (configuration) {
451
+ const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration);
452
+ return {
453
+ /**
454
+ *
455
+ * @summary POST /v1/projects/ — create a new project
456
+ * @param {CreateProject} createProject
457
+ * @param {*} [options] Override http request option.
458
+ * @throws {RequiredError}
459
+ */
460
+ createProject(createProject, options) {
461
+ return __awaiter(this, void 0, void 0, function* () {
462
+ var _a, _b, _c;
463
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createProject(createProject, options);
464
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
465
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.createProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
466
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
467
+ });
468
+ },
469
+ /**
470
+ *
471
+ * @summary DELETE /v1/projects/{id}/api-keys/{key_id}/ — revoke an API key by ID
472
+ * @param {string} id Project ID
473
+ * @param {string} keyId API Key ID
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ */
477
+ deleteApiKey(id, keyId, options) {
478
+ return __awaiter(this, void 0, void 0, function* () {
479
+ var _a, _b, _c;
480
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteApiKey(id, keyId, options);
481
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
482
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.deleteApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
483
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
484
+ });
485
+ },
486
+ /**
487
+ *
488
+ * @summary DELETE /v1/projects/{id}/ — delete a project (owner only)
489
+ * @param {string} id Project ID
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ deleteProject(id, options) {
494
+ return __awaiter(this, void 0, void 0, function* () {
495
+ var _a, _b, _c;
496
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteProject(id, options);
497
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
498
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.deleteProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
499
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
500
+ });
501
+ },
502
+ /**
503
+ *
504
+ * @summary POST /v1/projects/{id}/api-keys/ — generate a new API key
505
+ * @param {string} id Project ID
506
+ * @param {*} [options] Override http request option.
507
+ * @throws {RequiredError}
508
+ */
509
+ generateApiKey(id, options) {
510
+ return __awaiter(this, void 0, void 0, function* () {
511
+ var _a, _b, _c;
512
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateApiKey(id, options);
513
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
514
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.generateApiKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
515
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
516
+ });
517
+ },
518
+ /**
519
+ *
520
+ * @summary GET /v1/projects/{id}/ — get a project by ID
521
+ * @param {string} id Project ID
522
+ * @param {*} [options] Override http request option.
523
+ * @throws {RequiredError}
524
+ */
525
+ getProject(id, options) {
526
+ return __awaiter(this, void 0, void 0, function* () {
527
+ var _a, _b, _c;
528
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProject(id, options);
529
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
530
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
531
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
532
+ });
533
+ },
534
+ /**
535
+ *
536
+ * @summary POST /v1/projects/{id}/members/ — invite a member
537
+ * @param {string} id Project ID
538
+ * @param {InviteMemberBody} inviteMemberBody
539
+ * @param {*} [options] Override http request option.
540
+ * @throws {RequiredError}
541
+ */
542
+ inviteMember(id, inviteMemberBody, options) {
543
+ return __awaiter(this, void 0, void 0, function* () {
544
+ var _a, _b, _c;
545
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.inviteMember(id, inviteMemberBody, options);
546
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
547
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.inviteMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
548
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
549
+ });
550
+ },
551
+ /**
552
+ *
553
+ * @summary GET /v1/projects/{id}/api-keys/ — list API keys for a project
554
+ * @param {string} id Project ID
555
+ * @param {*} [options] Override http request option.
556
+ * @throws {RequiredError}
557
+ */
558
+ listApiKeys(id, options) {
559
+ return __awaiter(this, void 0, void 0, function* () {
560
+ var _a, _b, _c;
561
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listApiKeys(id, options);
562
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
563
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.listApiKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
564
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
565
+ });
566
+ },
567
+ /**
568
+ *
569
+ * @summary GET /v1/projects/{id}/members/ — list project members
570
+ * @param {string} id Project ID
571
+ * @param {*} [options] Override http request option.
572
+ * @throws {RequiredError}
573
+ */
574
+ listMembers(id, options) {
575
+ return __awaiter(this, void 0, void 0, function* () {
576
+ var _a, _b, _c;
577
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listMembers(id, options);
578
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
579
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.listMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
580
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
581
+ });
582
+ },
583
+ /**
584
+ *
585
+ * @summary GET /v1/projects/ — list all projects the user is a member of
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ */
589
+ listProjects(options) {
590
+ return __awaiter(this, void 0, void 0, function* () {
591
+ var _a, _b, _c;
592
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProjects(options);
593
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
594
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.listProjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
595
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
596
+ });
597
+ },
598
+ /**
599
+ *
600
+ * @summary GET /v1/projects/{id}/tags/ — returns unique tags from all workflows in the project
601
+ * @param {string} id Project ID
602
+ * @param {*} [options] Override http request option.
603
+ * @throws {RequiredError}
604
+ */
605
+ projectTags(id, options) {
606
+ return __awaiter(this, void 0, void 0, function* () {
607
+ var _a, _b, _c;
608
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.projectTags(id, options);
609
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
610
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.projectTags']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
611
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
612
+ });
613
+ },
614
+ /**
615
+ *
616
+ * @summary DELETE /v1/projects/{id}/members/{member_id}/ — remove a member
617
+ * @param {string} id Project ID
618
+ * @param {string} memberId Member ID
619
+ * @param {*} [options] Override http request option.
620
+ * @throws {RequiredError}
621
+ */
622
+ removeMember(id, memberId, options) {
623
+ return __awaiter(this, void 0, void 0, function* () {
624
+ var _a, _b, _c;
625
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeMember(id, memberId, options);
626
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
627
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.removeMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
628
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
629
+ });
630
+ },
631
+ /**
632
+ *
633
+ * @summary PATCH /v1/projects/{id}/ — update a project
634
+ * @param {string} id Project ID
635
+ * @param {UpdateProject} updateProject
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ */
639
+ updateProject(id, updateProject, options) {
640
+ return __awaiter(this, void 0, void 0, function* () {
641
+ var _a, _b, _c;
642
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateProject(id, updateProject, options);
643
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
644
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.updateProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
645
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
646
+ });
647
+ },
648
+ };
649
+ };
650
+ /**
651
+ * ProjectsApi - factory interface
652
+ */
653
+ export const ProjectsApiFactory = function (configuration, basePath, axios) {
654
+ const localVarFp = ProjectsApiFp(configuration);
655
+ return {
656
+ /**
657
+ *
658
+ * @summary POST /v1/projects/ — create a new project
659
+ * @param {CreateProject} createProject
660
+ * @param {*} [options] Override http request option.
661
+ * @throws {RequiredError}
662
+ */
663
+ createProject(createProject, options) {
664
+ return localVarFp.createProject(createProject, options).then((request) => request(axios, basePath));
665
+ },
666
+ /**
667
+ *
668
+ * @summary DELETE /v1/projects/{id}/api-keys/{key_id}/ — revoke an API key by ID
669
+ * @param {string} id Project ID
670
+ * @param {string} keyId API Key ID
671
+ * @param {*} [options] Override http request option.
672
+ * @throws {RequiredError}
673
+ */
674
+ deleteApiKey(id, keyId, options) {
675
+ return localVarFp.deleteApiKey(id, keyId, options).then((request) => request(axios, basePath));
676
+ },
677
+ /**
678
+ *
679
+ * @summary DELETE /v1/projects/{id}/ — delete a project (owner only)
680
+ * @param {string} id Project ID
681
+ * @param {*} [options] Override http request option.
682
+ * @throws {RequiredError}
683
+ */
684
+ deleteProject(id, options) {
685
+ return localVarFp.deleteProject(id, options).then((request) => request(axios, basePath));
686
+ },
687
+ /**
688
+ *
689
+ * @summary POST /v1/projects/{id}/api-keys/ — generate a new API key
690
+ * @param {string} id Project ID
691
+ * @param {*} [options] Override http request option.
692
+ * @throws {RequiredError}
693
+ */
694
+ generateApiKey(id, options) {
695
+ return localVarFp.generateApiKey(id, options).then((request) => request(axios, basePath));
696
+ },
697
+ /**
698
+ *
699
+ * @summary GET /v1/projects/{id}/ — get a project by ID
700
+ * @param {string} id Project ID
701
+ * @param {*} [options] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ getProject(id, options) {
705
+ return localVarFp.getProject(id, options).then((request) => request(axios, basePath));
706
+ },
707
+ /**
708
+ *
709
+ * @summary POST /v1/projects/{id}/members/ — invite a member
710
+ * @param {string} id Project ID
711
+ * @param {InviteMemberBody} inviteMemberBody
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ inviteMember(id, inviteMemberBody, options) {
716
+ return localVarFp.inviteMember(id, inviteMemberBody, options).then((request) => request(axios, basePath));
717
+ },
718
+ /**
719
+ *
720
+ * @summary GET /v1/projects/{id}/api-keys/ — list API keys for a project
721
+ * @param {string} id Project ID
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ */
725
+ listApiKeys(id, options) {
726
+ return localVarFp.listApiKeys(id, options).then((request) => request(axios, basePath));
727
+ },
728
+ /**
729
+ *
730
+ * @summary GET /v1/projects/{id}/members/ — list project members
731
+ * @param {string} id Project ID
732
+ * @param {*} [options] Override http request option.
733
+ * @throws {RequiredError}
734
+ */
735
+ listMembers(id, options) {
736
+ return localVarFp.listMembers(id, options).then((request) => request(axios, basePath));
737
+ },
738
+ /**
739
+ *
740
+ * @summary GET /v1/projects/ — list all projects the user is a member of
741
+ * @param {*} [options] Override http request option.
742
+ * @throws {RequiredError}
743
+ */
744
+ listProjects(options) {
745
+ return localVarFp.listProjects(options).then((request) => request(axios, basePath));
746
+ },
747
+ /**
748
+ *
749
+ * @summary GET /v1/projects/{id}/tags/ — returns unique tags from all workflows in the project
750
+ * @param {string} id Project ID
751
+ * @param {*} [options] Override http request option.
752
+ * @throws {RequiredError}
753
+ */
754
+ projectTags(id, options) {
755
+ return localVarFp.projectTags(id, options).then((request) => request(axios, basePath));
756
+ },
757
+ /**
758
+ *
759
+ * @summary DELETE /v1/projects/{id}/members/{member_id}/ — remove a member
760
+ * @param {string} id Project ID
761
+ * @param {string} memberId Member ID
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ removeMember(id, memberId, options) {
766
+ return localVarFp.removeMember(id, memberId, options).then((request) => request(axios, basePath));
767
+ },
768
+ /**
769
+ *
770
+ * @summary PATCH /v1/projects/{id}/ — update a project
771
+ * @param {string} id Project ID
772
+ * @param {UpdateProject} updateProject
773
+ * @param {*} [options] Override http request option.
774
+ * @throws {RequiredError}
775
+ */
776
+ updateProject(id, updateProject, options) {
777
+ return localVarFp.updateProject(id, updateProject, options).then((request) => request(axios, basePath));
778
+ },
779
+ };
780
+ };
781
+ /**
782
+ * ProjectsApi - object-oriented interface
783
+ */
784
+ export class ProjectsApi extends BaseAPI {
785
+ /**
786
+ *
787
+ * @summary POST /v1/projects/ — create a new project
788
+ * @param {CreateProject} createProject
789
+ * @param {*} [options] Override http request option.
790
+ * @throws {RequiredError}
791
+ */
792
+ createProject(createProject, options) {
793
+ return ProjectsApiFp(this.configuration).createProject(createProject, options).then((request) => request(this.axios, this.basePath));
794
+ }
795
+ /**
796
+ *
797
+ * @summary DELETE /v1/projects/{id}/api-keys/{key_id}/ — revoke an API key by ID
798
+ * @param {string} id Project ID
799
+ * @param {string} keyId API Key ID
800
+ * @param {*} [options] Override http request option.
801
+ * @throws {RequiredError}
802
+ */
803
+ deleteApiKey(id, keyId, options) {
804
+ return ProjectsApiFp(this.configuration).deleteApiKey(id, keyId, options).then((request) => request(this.axios, this.basePath));
805
+ }
806
+ /**
807
+ *
808
+ * @summary DELETE /v1/projects/{id}/ — delete a project (owner only)
809
+ * @param {string} id Project ID
810
+ * @param {*} [options] Override http request option.
811
+ * @throws {RequiredError}
812
+ */
813
+ deleteProject(id, options) {
814
+ return ProjectsApiFp(this.configuration).deleteProject(id, options).then((request) => request(this.axios, this.basePath));
815
+ }
816
+ /**
817
+ *
818
+ * @summary POST /v1/projects/{id}/api-keys/ — generate a new API key
819
+ * @param {string} id Project ID
820
+ * @param {*} [options] Override http request option.
821
+ * @throws {RequiredError}
822
+ */
823
+ generateApiKey(id, options) {
824
+ return ProjectsApiFp(this.configuration).generateApiKey(id, options).then((request) => request(this.axios, this.basePath));
825
+ }
826
+ /**
827
+ *
828
+ * @summary GET /v1/projects/{id}/ — get a project by ID
829
+ * @param {string} id Project ID
830
+ * @param {*} [options] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ getProject(id, options) {
834
+ return ProjectsApiFp(this.configuration).getProject(id, options).then((request) => request(this.axios, this.basePath));
835
+ }
836
+ /**
837
+ *
838
+ * @summary POST /v1/projects/{id}/members/ — invite a member
839
+ * @param {string} id Project ID
840
+ * @param {InviteMemberBody} inviteMemberBody
841
+ * @param {*} [options] Override http request option.
842
+ * @throws {RequiredError}
843
+ */
844
+ inviteMember(id, inviteMemberBody, options) {
845
+ return ProjectsApiFp(this.configuration).inviteMember(id, inviteMemberBody, options).then((request) => request(this.axios, this.basePath));
846
+ }
847
+ /**
848
+ *
849
+ * @summary GET /v1/projects/{id}/api-keys/ — list API keys for a project
850
+ * @param {string} id Project ID
851
+ * @param {*} [options] Override http request option.
852
+ * @throws {RequiredError}
853
+ */
854
+ listApiKeys(id, options) {
855
+ return ProjectsApiFp(this.configuration).listApiKeys(id, options).then((request) => request(this.axios, this.basePath));
856
+ }
857
+ /**
858
+ *
859
+ * @summary GET /v1/projects/{id}/members/ — list project members
860
+ * @param {string} id Project ID
861
+ * @param {*} [options] Override http request option.
862
+ * @throws {RequiredError}
863
+ */
864
+ listMembers(id, options) {
865
+ return ProjectsApiFp(this.configuration).listMembers(id, options).then((request) => request(this.axios, this.basePath));
866
+ }
867
+ /**
868
+ *
869
+ * @summary GET /v1/projects/ — list all projects the user is a member of
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ */
873
+ listProjects(options) {
874
+ return ProjectsApiFp(this.configuration).listProjects(options).then((request) => request(this.axios, this.basePath));
875
+ }
876
+ /**
877
+ *
878
+ * @summary GET /v1/projects/{id}/tags/ — returns unique tags from all workflows in the project
879
+ * @param {string} id Project ID
880
+ * @param {*} [options] Override http request option.
881
+ * @throws {RequiredError}
882
+ */
883
+ projectTags(id, options) {
884
+ return ProjectsApiFp(this.configuration).projectTags(id, options).then((request) => request(this.axios, this.basePath));
885
+ }
886
+ /**
887
+ *
888
+ * @summary DELETE /v1/projects/{id}/members/{member_id}/ — remove a member
889
+ * @param {string} id Project ID
890
+ * @param {string} memberId Member ID
891
+ * @param {*} [options] Override http request option.
892
+ * @throws {RequiredError}
893
+ */
894
+ removeMember(id, memberId, options) {
895
+ return ProjectsApiFp(this.configuration).removeMember(id, memberId, options).then((request) => request(this.axios, this.basePath));
896
+ }
897
+ /**
898
+ *
899
+ * @summary PATCH /v1/projects/{id}/ — update a project
900
+ * @param {string} id Project ID
901
+ * @param {UpdateProject} updateProject
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ updateProject(id, updateProject, options) {
906
+ return ProjectsApiFp(this.configuration).updateProject(id, updateProject, options).then((request) => request(this.axios, this.basePath));
907
+ }
908
+ }