@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,171 @@
1
+ /**
2
+ * enbbox API
3
+ * Notification infrastructure API — open-source alternative to Novu/Courier
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { JobLog } from '../models';
16
+ import type { NotificationLog } from '../models';
17
+ /**
18
+ * NotificationsApi - axios parameter creator
19
+ */
20
+ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary GET /v1/notifications/:id
24
+ * @param {string} id Notification ID
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ getNotification: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ *
31
+ * @summary GET /v1/notifications/:id/jobs
32
+ * @param {string} id Notification ID
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ getNotificationJobs: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ *
39
+ * @summary GET /v1/notifications
40
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
41
+ * @param {number | null} [page] Zero-based page index (default: 0).
42
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ listNotifications: (limit?: number | null, page?: number | null, q?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
+ };
48
+ /**
49
+ * NotificationsApi - functional programming interface
50
+ */
51
+ export declare const NotificationsApiFp: (configuration?: Configuration) => {
52
+ /**
53
+ *
54
+ * @summary GET /v1/notifications/:id
55
+ * @param {string} id Notification ID
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ getNotification(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationLog>>;
60
+ /**
61
+ *
62
+ * @summary GET /v1/notifications/:id/jobs
63
+ * @param {string} id Notification ID
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ getNotificationJobs(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JobLog>>>;
68
+ /**
69
+ *
70
+ * @summary GET /v1/notifications
71
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
72
+ * @param {number | null} [page] Zero-based page index (default: 0).
73
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ listNotifications(limit?: number | null, page?: number | null, q?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationLog>>>;
78
+ };
79
+ /**
80
+ * NotificationsApi - factory interface
81
+ */
82
+ export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
83
+ /**
84
+ *
85
+ * @summary GET /v1/notifications/:id
86
+ * @param {string} id Notification ID
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ getNotification(id: string, options?: RawAxiosRequestConfig): AxiosPromise<NotificationLog>;
91
+ /**
92
+ *
93
+ * @summary GET /v1/notifications/:id/jobs
94
+ * @param {string} id Notification ID
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ getNotificationJobs(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<JobLog>>;
99
+ /**
100
+ *
101
+ * @summary GET /v1/notifications
102
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
103
+ * @param {number | null} [page] Zero-based page index (default: 0).
104
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ listNotifications(limit?: number | null, page?: number | null, q?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<NotificationLog>>;
109
+ };
110
+ /**
111
+ * NotificationsApi - interface
112
+ */
113
+ export interface NotificationsApiInterface {
114
+ /**
115
+ *
116
+ * @summary GET /v1/notifications/:id
117
+ * @param {string} id Notification ID
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ getNotification(id: string, options?: RawAxiosRequestConfig): AxiosPromise<NotificationLog>;
122
+ /**
123
+ *
124
+ * @summary GET /v1/notifications/:id/jobs
125
+ * @param {string} id Notification ID
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ getNotificationJobs(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<JobLog>>;
130
+ /**
131
+ *
132
+ * @summary GET /v1/notifications
133
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
134
+ * @param {number | null} [page] Zero-based page index (default: 0).
135
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ listNotifications(limit?: number | null, page?: number | null, q?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<NotificationLog>>;
140
+ }
141
+ /**
142
+ * NotificationsApi - object-oriented interface
143
+ */
144
+ export declare class NotificationsApi extends BaseAPI implements NotificationsApiInterface {
145
+ /**
146
+ *
147
+ * @summary GET /v1/notifications/:id
148
+ * @param {string} id Notification ID
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ getNotification(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationLog, any, {}>>;
153
+ /**
154
+ *
155
+ * @summary GET /v1/notifications/:id/jobs
156
+ * @param {string} id Notification ID
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ getNotificationJobs(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobLog[], any, {}>>;
161
+ /**
162
+ *
163
+ * @summary GET /v1/notifications
164
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
165
+ * @param {number | null} [page] Zero-based page index (default: 0).
166
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ listNotifications(limit?: number | null, page?: number | null, q?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationLog[], any, {}>>;
171
+ }
@@ -0,0 +1,284 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * enbbox API
6
+ * Notification infrastructure API — open-source alternative to Novu/Courier
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const common_1 = require("../common");
30
+ // @ts-ignore
31
+ const base_1 = require("../base");
32
+ /**
33
+ * NotificationsApi - axios parameter creator
34
+ */
35
+ const NotificationsApiAxiosParamCreator = function (configuration) {
36
+ return {
37
+ /**
38
+ *
39
+ * @summary GET /v1/notifications/:id
40
+ * @param {string} id Notification ID
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ getNotification: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
45
+ // verify required parameter 'id' is not null or undefined
46
+ (0, common_1.assertParamExists)('getNotification', 'id', id);
47
+ const localVarPath = `/v1/notifications/{id}/`
48
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication bearer_auth required
59
+ // http bearer authentication required
60
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
+ localVarHeaderParameter['Accept'] = 'application/json';
62
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ return {
66
+ url: (0, common_1.toPathString)(localVarUrlObj),
67
+ options: localVarRequestOptions,
68
+ };
69
+ }),
70
+ /**
71
+ *
72
+ * @summary GET /v1/notifications/:id/jobs
73
+ * @param {string} id Notification ID
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ getNotificationJobs: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
78
+ // verify required parameter 'id' is not null or undefined
79
+ (0, common_1.assertParamExists)('getNotificationJobs', 'id', id);
80
+ const localVarPath = `/v1/notifications/{id}/jobs/`
81
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication bearer_auth required
92
+ // http bearer authentication required
93
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Accept'] = 'application/json';
95
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
96
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
+ return {
99
+ url: (0, common_1.toPathString)(localVarUrlObj),
100
+ options: localVarRequestOptions,
101
+ };
102
+ }),
103
+ /**
104
+ *
105
+ * @summary GET /v1/notifications
106
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
107
+ * @param {number | null} [page] Zero-based page index (default: 0).
108
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ listNotifications: (limit_1, page_1, q_1, ...args_1) => __awaiter(this, [limit_1, page_1, q_1, ...args_1], void 0, function* (limit, page, q, options = {}) {
113
+ const localVarPath = `/v1/notifications/`;
114
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
115
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
116
+ let baseOptions;
117
+ if (configuration) {
118
+ baseOptions = configuration.baseOptions;
119
+ }
120
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
121
+ const localVarHeaderParameter = {};
122
+ const localVarQueryParameter = {};
123
+ // authentication bearer_auth required
124
+ // http bearer authentication required
125
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
126
+ if (limit !== undefined) {
127
+ localVarQueryParameter['limit'] = limit;
128
+ }
129
+ if (page !== undefined) {
130
+ localVarQueryParameter['page'] = page;
131
+ }
132
+ if (q !== undefined) {
133
+ localVarQueryParameter['q'] = q;
134
+ }
135
+ localVarHeaderParameter['Accept'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ return {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ };
143
+ }),
144
+ };
145
+ };
146
+ exports.NotificationsApiAxiosParamCreator = NotificationsApiAxiosParamCreator;
147
+ /**
148
+ * NotificationsApi - functional programming interface
149
+ */
150
+ const NotificationsApiFp = function (configuration) {
151
+ const localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
152
+ return {
153
+ /**
154
+ *
155
+ * @summary GET /v1/notifications/:id
156
+ * @param {string} id Notification ID
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ getNotification(id, options) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ var _a, _b, _c;
163
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotification(id, options);
164
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
165
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.getNotification']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
166
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
167
+ });
168
+ },
169
+ /**
170
+ *
171
+ * @summary GET /v1/notifications/:id/jobs
172
+ * @param {string} id Notification ID
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ getNotificationJobs(id, options) {
177
+ return __awaiter(this, void 0, void 0, function* () {
178
+ var _a, _b, _c;
179
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotificationJobs(id, options);
180
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
181
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.getNotificationJobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
182
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
183
+ });
184
+ },
185
+ /**
186
+ *
187
+ * @summary GET /v1/notifications
188
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
189
+ * @param {number | null} [page] Zero-based page index (default: 0).
190
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ listNotifications(limit, page, q, options) {
195
+ return __awaiter(this, void 0, void 0, function* () {
196
+ var _a, _b, _c;
197
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listNotifications(limit, page, q, options);
198
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
199
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NotificationsApi.listNotifications']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
200
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
201
+ });
202
+ },
203
+ };
204
+ };
205
+ exports.NotificationsApiFp = NotificationsApiFp;
206
+ /**
207
+ * NotificationsApi - factory interface
208
+ */
209
+ const NotificationsApiFactory = function (configuration, basePath, axios) {
210
+ const localVarFp = (0, exports.NotificationsApiFp)(configuration);
211
+ return {
212
+ /**
213
+ *
214
+ * @summary GET /v1/notifications/:id
215
+ * @param {string} id Notification ID
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ getNotification(id, options) {
220
+ return localVarFp.getNotification(id, options).then((request) => request(axios, basePath));
221
+ },
222
+ /**
223
+ *
224
+ * @summary GET /v1/notifications/:id/jobs
225
+ * @param {string} id Notification ID
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ */
229
+ getNotificationJobs(id, options) {
230
+ return localVarFp.getNotificationJobs(id, options).then((request) => request(axios, basePath));
231
+ },
232
+ /**
233
+ *
234
+ * @summary GET /v1/notifications
235
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
236
+ * @param {number | null} [page] Zero-based page index (default: 0).
237
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
238
+ * @param {*} [options] Override http request option.
239
+ * @throws {RequiredError}
240
+ */
241
+ listNotifications(limit, page, q, options) {
242
+ return localVarFp.listNotifications(limit, page, q, options).then((request) => request(axios, basePath));
243
+ },
244
+ };
245
+ };
246
+ exports.NotificationsApiFactory = NotificationsApiFactory;
247
+ /**
248
+ * NotificationsApi - object-oriented interface
249
+ */
250
+ class NotificationsApi extends base_1.BaseAPI {
251
+ /**
252
+ *
253
+ * @summary GET /v1/notifications/:id
254
+ * @param {string} id Notification ID
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ getNotification(id, options) {
259
+ return (0, exports.NotificationsApiFp)(this.configuration).getNotification(id, options).then((request) => request(this.axios, this.basePath));
260
+ }
261
+ /**
262
+ *
263
+ * @summary GET /v1/notifications/:id/jobs
264
+ * @param {string} id Notification ID
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ getNotificationJobs(id, options) {
269
+ return (0, exports.NotificationsApiFp)(this.configuration).getNotificationJobs(id, options).then((request) => request(this.axios, this.basePath));
270
+ }
271
+ /**
272
+ *
273
+ * @summary GET /v1/notifications
274
+ * @param {number | null} [limit] Maximum number of items per page (1–100, default: 10).
275
+ * @param {number | null} [page] Zero-based page index (default: 0).
276
+ * @param {string | null} [q] Optional full-text search query (e.g. subscriber_id, transaction_id).
277
+ * @param {*} [options] Override http request option.
278
+ * @throws {RequiredError}
279
+ */
280
+ listNotifications(limit, page, q, options) {
281
+ return (0, exports.NotificationsApiFp)(this.configuration).listNotifications(limit, page, q, options).then((request) => request(this.axios, this.basePath));
282
+ }
283
+ }
284
+ exports.NotificationsApi = NotificationsApi;
@@ -0,0 +1,176 @@
1
+ /**
2
+ * enbbox API
3
+ * Notification infrastructure API — open-source alternative to Novu/Courier
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { PreferenceRecord } from '../models';
16
+ import type { UpdatePreference } from '../models';
17
+ /**
18
+ * PreferencesApi - axios parameter creator
19
+ */
20
+ export declare const PreferencesApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @summary GET /v1/subscribers/:id/preferences
24
+ * @param {string} id Subscriber ID
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ listPreferences: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ *
31
+ * @summary PATCH /v1/subscribers/:id/preferences
32
+ * @param {string} id Subscriber ID
33
+ * @param {UpdatePreference} updatePreference
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ updateGlobalPreference: (id: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ *
40
+ * @summary PATCH /v1/subscribers/:id/preferences/:workflowId
41
+ * @param {string} id Subscriber ID
42
+ * @param {string} workflowId Workflow ID
43
+ * @param {UpdatePreference} updatePreference
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ updateWorkflowPreference: (id: string, workflowId: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ };
49
+ /**
50
+ * PreferencesApi - functional programming interface
51
+ */
52
+ export declare const PreferencesApiFp: (configuration?: Configuration) => {
53
+ /**
54
+ *
55
+ * @summary GET /v1/subscribers/:id/preferences
56
+ * @param {string} id Subscriber ID
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ listPreferences(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PreferenceRecord>>>;
61
+ /**
62
+ *
63
+ * @summary PATCH /v1/subscribers/:id/preferences
64
+ * @param {string} id Subscriber ID
65
+ * @param {UpdatePreference} updatePreference
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ updateGlobalPreference(id: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferenceRecord>>;
70
+ /**
71
+ *
72
+ * @summary PATCH /v1/subscribers/:id/preferences/:workflowId
73
+ * @param {string} id Subscriber ID
74
+ * @param {string} workflowId Workflow ID
75
+ * @param {UpdatePreference} updatePreference
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ updateWorkflowPreference(id: string, workflowId: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PreferenceRecord>>;
80
+ };
81
+ /**
82
+ * PreferencesApi - factory interface
83
+ */
84
+ export declare const PreferencesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
85
+ /**
86
+ *
87
+ * @summary GET /v1/subscribers/:id/preferences
88
+ * @param {string} id Subscriber ID
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ listPreferences(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PreferenceRecord>>;
93
+ /**
94
+ *
95
+ * @summary PATCH /v1/subscribers/:id/preferences
96
+ * @param {string} id Subscriber ID
97
+ * @param {UpdatePreference} updatePreference
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ updateGlobalPreference(id: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): AxiosPromise<PreferenceRecord>;
102
+ /**
103
+ *
104
+ * @summary PATCH /v1/subscribers/:id/preferences/:workflowId
105
+ * @param {string} id Subscriber ID
106
+ * @param {string} workflowId Workflow ID
107
+ * @param {UpdatePreference} updatePreference
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ updateWorkflowPreference(id: string, workflowId: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): AxiosPromise<PreferenceRecord>;
112
+ };
113
+ /**
114
+ * PreferencesApi - interface
115
+ */
116
+ export interface PreferencesApiInterface {
117
+ /**
118
+ *
119
+ * @summary GET /v1/subscribers/:id/preferences
120
+ * @param {string} id Subscriber ID
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ listPreferences(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PreferenceRecord>>;
125
+ /**
126
+ *
127
+ * @summary PATCH /v1/subscribers/:id/preferences
128
+ * @param {string} id Subscriber ID
129
+ * @param {UpdatePreference} updatePreference
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ updateGlobalPreference(id: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): AxiosPromise<PreferenceRecord>;
134
+ /**
135
+ *
136
+ * @summary PATCH /v1/subscribers/:id/preferences/:workflowId
137
+ * @param {string} id Subscriber ID
138
+ * @param {string} workflowId Workflow ID
139
+ * @param {UpdatePreference} updatePreference
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ updateWorkflowPreference(id: string, workflowId: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): AxiosPromise<PreferenceRecord>;
144
+ }
145
+ /**
146
+ * PreferencesApi - object-oriented interface
147
+ */
148
+ export declare class PreferencesApi extends BaseAPI implements PreferencesApiInterface {
149
+ /**
150
+ *
151
+ * @summary GET /v1/subscribers/:id/preferences
152
+ * @param {string} id Subscriber ID
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ listPreferences(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferenceRecord[], any, {}>>;
157
+ /**
158
+ *
159
+ * @summary PATCH /v1/subscribers/:id/preferences
160
+ * @param {string} id Subscriber ID
161
+ * @param {UpdatePreference} updatePreference
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ updateGlobalPreference(id: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferenceRecord, any, {}>>;
166
+ /**
167
+ *
168
+ * @summary PATCH /v1/subscribers/:id/preferences/:workflowId
169
+ * @param {string} id Subscriber ID
170
+ * @param {string} workflowId Workflow ID
171
+ * @param {UpdatePreference} updatePreference
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ updateWorkflowPreference(id: string, workflowId: string, updatePreference: UpdatePreference, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreferenceRecord, any, {}>>;
176
+ }