@unlimited-messaging/sdk 0.1.17 → 0.1.19

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 (437) hide show
  1. package/package.json +1 -1
  2. package/src/api/index.d.ts +1 -0
  3. package/src/api/index.js +1 -0
  4. package/src/api/resources/accounts/client/Client.d.ts +68 -6
  5. package/src/api/resources/accounts/client/Client.js +272 -9
  6. package/src/api/resources/accounts/client/requests/AccountGetGroupRequest.d.ts +9 -0
  7. package/src/api/resources/accounts/client/requests/AccountGetGroupRequest.js +5 -0
  8. package/src/api/resources/accounts/client/requests/AccountLinkAccountRequest.d.ts +3 -0
  9. package/src/api/resources/accounts/client/requests/AccountListGroupsRequest.d.ts +9 -0
  10. package/src/api/resources/accounts/client/requests/AccountListGroupsRequest.js +5 -0
  11. package/src/api/resources/accounts/client/requests/AccountRequestHistoryRequest.d.ts +15 -0
  12. package/src/api/resources/accounts/client/requests/AccountRequestHistoryRequest.js +5 -0
  13. package/src/api/resources/accounts/client/requests/AccountUpdateAccountRequest.d.ts +10 -4
  14. package/src/api/resources/accounts/client/requests/index.d.ts +3 -0
  15. package/src/api/resources/accounts/types/AccountGetAccountResponse.d.ts +8 -0
  16. package/src/api/resources/accounts/types/AccountGetGroupResponse.d.ts +12 -0
  17. package/src/api/resources/accounts/types/AccountGetGroupResponse.js +5 -0
  18. package/src/api/resources/accounts/types/AccountGetGroupResponseMembersItem.d.ts +13 -0
  19. package/src/api/resources/accounts/types/AccountGetGroupResponseMembersItem.js +5 -0
  20. package/src/api/resources/accounts/types/AccountListAccountsResponseItem.d.ts +8 -0
  21. package/src/api/resources/accounts/types/AccountListGroupsResponse.d.ts +7 -0
  22. package/src/api/resources/accounts/types/AccountListGroupsResponse.js +5 -0
  23. package/src/api/resources/accounts/types/AccountListGroupsResponseDataItem.d.ts +9 -0
  24. package/src/api/resources/accounts/types/AccountListGroupsResponseDataItem.js +5 -0
  25. package/src/api/resources/accounts/types/AccountRequestHistoryResponse.d.ts +6 -0
  26. package/src/api/resources/accounts/types/AccountRequestHistoryResponse.js +5 -0
  27. package/src/api/resources/accounts/types/AccountUpdateAccountResponse.d.ts +8 -0
  28. package/src/api/resources/accounts/types/index.d.ts +5 -0
  29. package/src/api/resources/accounts/types/index.js +5 -0
  30. package/src/api/resources/messages/client/Client.d.ts +1 -1
  31. package/src/api/resources/messages/client/Client.js +1 -1
  32. package/src/api/resources/messages/client/requests/MessageSendRequest.d.ts +4 -0
  33. package/src/api/resources/messages/types/MessageFindAllResponseDataItem.d.ts +7 -0
  34. package/src/api/resources/messages/types/MessageFindOneResponse.d.ts +7 -0
  35. package/src/api/resources/messages/types/MessageSendRequestPriority.d.ts +11 -0
  36. package/src/api/resources/messages/types/MessageSendRequestPriority.js +10 -0
  37. package/src/api/resources/messages/types/MessageSendResponse.d.ts +7 -0
  38. package/src/api/resources/messages/types/index.d.ts +1 -0
  39. package/src/api/resources/messages/types/index.js +1 -0
  40. package/src/api/resources/webhooks/client/Client.d.ts +131 -3
  41. package/src/api/resources/webhooks/client/Client.js +131 -3
  42. package/src/api/resources/webhooks/client/requests/WebhookEndpointCreateRequest.d.ts +1 -0
  43. package/src/api/resources/webhooks/client/requests/WebhookEndpointUpdateRequest.d.ts +1 -0
  44. package/src/api/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.d.ts +9 -1
  45. package/src/api/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.js +8 -0
  46. package/src/api/resources/webhooks/types/WebhookEndpointCreateResponse.d.ts +1 -0
  47. package/src/api/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.d.ts +9 -1
  48. package/src/api/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.js +8 -0
  49. package/src/api/resources/webhooks/types/WebhookEndpointFindOneResponse.d.ts +1 -0
  50. package/src/api/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.d.ts +9 -1
  51. package/src/api/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.js +8 -0
  52. package/src/api/resources/webhooks/types/WebhookEndpointListResponseDataItem.d.ts +1 -0
  53. package/src/api/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.d.ts +9 -1
  54. package/src/api/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.js +8 -0
  55. package/src/api/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.d.ts +9 -1
  56. package/src/api/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.js +8 -0
  57. package/src/api/resources/webhooks/types/WebhookEndpointUpdateResponse.d.ts +1 -0
  58. package/src/api/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.d.ts +9 -1
  59. package/src/api/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.js +8 -0
  60. package/src/api/types/WebhookEventAccountStatusChanged.d.ts +10 -0
  61. package/src/api/types/WebhookEventAccountStatusChanged.js +5 -0
  62. package/src/api/types/WebhookEventAccountStatusChangedData.d.ts +7 -0
  63. package/src/api/types/WebhookEventAccountStatusChangedData.js +5 -0
  64. package/src/api/types/WebhookEventAccountStatusChangedDataAccount.d.ts +14 -0
  65. package/src/api/types/WebhookEventAccountStatusChangedDataAccount.js +5 -0
  66. package/src/api/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.d.ts +12 -0
  67. package/src/api/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.js +14 -0
  68. package/src/api/types/WebhookEventAccountStatusChangedDataAccountStatus.d.ts +12 -0
  69. package/src/api/types/WebhookEventAccountStatusChangedDataAccountStatus.js +14 -0
  70. package/src/api/types/WebhookEventAccountStatusChangedType.d.ts +7 -0
  71. package/src/api/types/WebhookEventAccountStatusChangedType.js +9 -0
  72. package/src/api/types/WebhookEventGroupUpdated.d.ts +10 -0
  73. package/src/api/types/WebhookEventGroupUpdated.js +5 -0
  74. package/src/api/types/WebhookEventGroupUpdatedData.d.ts +16 -0
  75. package/src/api/types/WebhookEventGroupUpdatedData.js +5 -0
  76. package/src/api/types/WebhookEventGroupUpdatedDataChannel.d.ts +8 -0
  77. package/src/api/types/WebhookEventGroupUpdatedDataChannel.js +5 -0
  78. package/src/api/types/WebhookEventGroupUpdatedDataChannelAccount.d.ts +7 -0
  79. package/src/api/types/WebhookEventGroupUpdatedDataChannelAccount.js +5 -0
  80. package/src/api/types/WebhookEventGroupUpdatedDataChannelType.d.ts +9 -0
  81. package/src/api/types/WebhookEventGroupUpdatedDataChannelType.js +11 -0
  82. package/src/api/types/WebhookEventGroupUpdatedDataGroup.d.ts +6 -0
  83. package/src/api/types/WebhookEventGroupUpdatedDataGroup.js +5 -0
  84. package/src/api/types/WebhookEventGroupUpdatedType.d.ts +7 -0
  85. package/src/api/types/WebhookEventGroupUpdatedType.js +9 -0
  86. package/src/api/types/WebhookEventMessageDeleted.d.ts +10 -0
  87. package/src/api/types/WebhookEventMessageDeleted.js +5 -0
  88. package/src/api/types/WebhookEventMessageDeletedData.d.ts +8 -0
  89. package/src/api/types/WebhookEventMessageDeletedData.js +5 -0
  90. package/src/api/types/WebhookEventMessageDeletedDataChannel.d.ts +9 -0
  91. package/src/api/types/WebhookEventMessageDeletedDataChannel.js +5 -0
  92. package/src/api/types/WebhookEventMessageDeletedDataChannelAccount.d.ts +7 -0
  93. package/src/api/types/WebhookEventMessageDeletedDataChannelAccount.js +5 -0
  94. package/src/api/types/WebhookEventMessageDeletedDataChannelConversation.d.ts +9 -0
  95. package/src/api/types/WebhookEventMessageDeletedDataChannelConversation.js +5 -0
  96. package/src/api/types/WebhookEventMessageDeletedDataChannelType.d.ts +9 -0
  97. package/src/api/types/WebhookEventMessageDeletedDataChannelType.js +11 -0
  98. package/src/api/types/WebhookEventMessageDeletedDataDeletion.d.ts +12 -0
  99. package/src/api/types/WebhookEventMessageDeletedDataDeletion.js +5 -0
  100. package/src/api/types/WebhookEventMessageDeletedType.d.ts +7 -0
  101. package/src/api/types/WebhookEventMessageDeletedType.js +9 -0
  102. package/src/api/types/WebhookEventMessageEdited.d.ts +10 -0
  103. package/src/api/types/WebhookEventMessageEdited.js +5 -0
  104. package/src/api/types/WebhookEventMessageEditedData.d.ts +8 -0
  105. package/src/api/types/WebhookEventMessageEditedData.js +5 -0
  106. package/src/api/types/WebhookEventMessageEditedDataChannel.d.ts +9 -0
  107. package/src/api/types/WebhookEventMessageEditedDataChannel.js +5 -0
  108. package/src/api/types/WebhookEventMessageEditedDataChannelAccount.d.ts +7 -0
  109. package/src/api/types/WebhookEventMessageEditedDataChannelAccount.js +5 -0
  110. package/src/api/types/WebhookEventMessageEditedDataChannelConversation.d.ts +9 -0
  111. package/src/api/types/WebhookEventMessageEditedDataChannelConversation.js +5 -0
  112. package/src/api/types/WebhookEventMessageEditedDataChannelType.d.ts +9 -0
  113. package/src/api/types/WebhookEventMessageEditedDataChannelType.js +11 -0
  114. package/src/api/types/WebhookEventMessageEditedDataEdit.d.ts +15 -0
  115. package/src/api/types/WebhookEventMessageEditedDataEdit.js +5 -0
  116. package/src/api/types/WebhookEventMessageEditedDataEditKind.d.ts +8 -0
  117. package/src/api/types/WebhookEventMessageEditedDataEditKind.js +10 -0
  118. package/src/api/types/WebhookEventMessageEditedType.d.ts +7 -0
  119. package/src/api/types/WebhookEventMessageEditedType.js +9 -0
  120. package/src/api/types/WebhookEventMessageHistory.d.ts +10 -0
  121. package/src/api/types/WebhookEventMessageHistory.js +5 -0
  122. package/src/api/types/WebhookEventMessageHistoryData.d.ts +12 -0
  123. package/src/api/types/WebhookEventMessageHistoryData.js +5 -0
  124. package/src/api/types/WebhookEventMessageHistoryDataChannel.d.ts +8 -0
  125. package/src/api/types/WebhookEventMessageHistoryDataChannel.js +5 -0
  126. package/src/api/types/WebhookEventMessageHistoryDataChannelAccount.d.ts +7 -0
  127. package/src/api/types/WebhookEventMessageHistoryDataChannelAccount.js +5 -0
  128. package/src/api/types/WebhookEventMessageHistoryDataChannelType.d.ts +9 -0
  129. package/src/api/types/WebhookEventMessageHistoryDataChannelType.js +11 -0
  130. package/src/api/types/WebhookEventMessageHistoryDataMessagesItem.d.ts +27 -0
  131. package/src/api/types/WebhookEventMessageHistoryDataMessagesItem.js +5 -0
  132. package/src/api/types/WebhookEventMessageHistoryDataMessagesItemConversation.d.ts +9 -0
  133. package/src/api/types/WebhookEventMessageHistoryDataMessagesItemConversation.js +5 -0
  134. package/src/api/types/WebhookEventMessageHistoryDataMessagesItemDirection.d.ts +8 -0
  135. package/src/api/types/WebhookEventMessageHistoryDataMessagesItemDirection.js +10 -0
  136. package/src/api/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.d.ts +7 -0
  137. package/src/api/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.js +5 -0
  138. package/src/api/types/WebhookEventMessageHistoryType.d.ts +7 -0
  139. package/src/api/types/WebhookEventMessageHistoryType.js +9 -0
  140. package/src/api/types/WebhookEventMessageReaction.d.ts +10 -0
  141. package/src/api/types/WebhookEventMessageReaction.js +5 -0
  142. package/src/api/types/WebhookEventMessageReactionData.d.ts +8 -0
  143. package/src/api/types/WebhookEventMessageReactionData.js +5 -0
  144. package/src/api/types/WebhookEventMessageReactionDataChannel.d.ts +9 -0
  145. package/src/api/types/WebhookEventMessageReactionDataChannel.js +5 -0
  146. package/src/api/types/WebhookEventMessageReactionDataChannelAccount.d.ts +7 -0
  147. package/src/api/types/WebhookEventMessageReactionDataChannelAccount.js +5 -0
  148. package/src/api/types/WebhookEventMessageReactionDataChannelConversation.d.ts +9 -0
  149. package/src/api/types/WebhookEventMessageReactionDataChannelConversation.js +5 -0
  150. package/src/api/types/WebhookEventMessageReactionDataChannelType.d.ts +9 -0
  151. package/src/api/types/WebhookEventMessageReactionDataChannelType.js +11 -0
  152. package/src/api/types/WebhookEventMessageReactionDataReaction.d.ts +15 -0
  153. package/src/api/types/WebhookEventMessageReactionDataReaction.js +5 -0
  154. package/src/api/types/WebhookEventMessageReactionType.d.ts +7 -0
  155. package/src/api/types/WebhookEventMessageReactionType.js +9 -0
  156. package/src/api/types/WebhookEventMessageReceived.d.ts +10 -0
  157. package/src/api/types/WebhookEventMessageReceived.js +5 -0
  158. package/src/api/types/WebhookEventMessageReceivedData.d.ts +8 -0
  159. package/src/api/types/WebhookEventMessageReceivedData.js +5 -0
  160. package/src/api/types/WebhookEventMessageReceivedDataChannel.d.ts +9 -0
  161. package/src/api/types/WebhookEventMessageReceivedDataChannel.js +5 -0
  162. package/src/api/types/WebhookEventMessageReceivedDataChannelAccount.d.ts +7 -0
  163. package/src/api/types/WebhookEventMessageReceivedDataChannelAccount.js +5 -0
  164. package/src/api/types/WebhookEventMessageReceivedDataChannelConversation.d.ts +9 -0
  165. package/src/api/types/WebhookEventMessageReceivedDataChannelConversation.js +5 -0
  166. package/src/api/types/WebhookEventMessageReceivedDataChannelType.d.ts +9 -0
  167. package/src/api/types/WebhookEventMessageReceivedDataChannelType.js +11 -0
  168. package/src/api/types/WebhookEventMessageReceivedDataMessage.d.ts +26 -0
  169. package/src/api/types/WebhookEventMessageReceivedDataMessage.js +5 -0
  170. package/src/api/types/WebhookEventMessageReceivedDataMessageDirection.d.ts +8 -0
  171. package/src/api/types/WebhookEventMessageReceivedDataMessageDirection.js +10 -0
  172. package/src/api/types/WebhookEventMessageReceivedDataMessageReplyTo.d.ts +7 -0
  173. package/src/api/types/WebhookEventMessageReceivedDataMessageReplyTo.js +5 -0
  174. package/src/api/types/WebhookEventMessageReceivedType.d.ts +7 -0
  175. package/src/api/types/WebhookEventMessageReceivedType.js +9 -0
  176. package/src/api/types/WebhookEventMessageSelfSent.d.ts +10 -0
  177. package/src/api/types/WebhookEventMessageSelfSent.js +5 -0
  178. package/src/api/types/WebhookEventMessageSelfSentData.d.ts +8 -0
  179. package/src/api/types/WebhookEventMessageSelfSentData.js +5 -0
  180. package/src/api/types/WebhookEventMessageSelfSentDataChannel.d.ts +9 -0
  181. package/src/api/types/WebhookEventMessageSelfSentDataChannel.js +5 -0
  182. package/src/api/types/WebhookEventMessageSelfSentDataChannelAccount.d.ts +7 -0
  183. package/src/api/types/WebhookEventMessageSelfSentDataChannelAccount.js +5 -0
  184. package/src/api/types/WebhookEventMessageSelfSentDataChannelConversation.d.ts +9 -0
  185. package/src/api/types/WebhookEventMessageSelfSentDataChannelConversation.js +5 -0
  186. package/src/api/types/WebhookEventMessageSelfSentDataChannelType.d.ts +9 -0
  187. package/src/api/types/WebhookEventMessageSelfSentDataChannelType.js +11 -0
  188. package/src/api/types/WebhookEventMessageSelfSentDataMessage.d.ts +26 -0
  189. package/src/api/types/WebhookEventMessageSelfSentDataMessage.js +5 -0
  190. package/src/api/types/WebhookEventMessageSelfSentDataMessageDirection.d.ts +8 -0
  191. package/src/api/types/WebhookEventMessageSelfSentDataMessageDirection.js +10 -0
  192. package/src/api/types/WebhookEventMessageSelfSentDataMessageReplyTo.d.ts +7 -0
  193. package/src/api/types/WebhookEventMessageSelfSentDataMessageReplyTo.js +5 -0
  194. package/src/api/types/WebhookEventMessageSelfSentType.d.ts +7 -0
  195. package/src/api/types/WebhookEventMessageSelfSentType.js +9 -0
  196. package/src/api/types/WebhookEventMessageStatus.d.ts +10 -0
  197. package/src/api/types/WebhookEventMessageStatus.js +5 -0
  198. package/src/api/types/WebhookEventMessageStatusData.d.ts +8 -0
  199. package/src/api/types/WebhookEventMessageStatusData.js +5 -0
  200. package/src/api/types/WebhookEventMessageStatusDataChannel.d.ts +9 -0
  201. package/src/api/types/WebhookEventMessageStatusDataChannel.js +5 -0
  202. package/src/api/types/WebhookEventMessageStatusDataChannelAccount.d.ts +7 -0
  203. package/src/api/types/WebhookEventMessageStatusDataChannelAccount.js +5 -0
  204. package/src/api/types/WebhookEventMessageStatusDataChannelConversation.d.ts +9 -0
  205. package/src/api/types/WebhookEventMessageStatusDataChannelConversation.js +5 -0
  206. package/src/api/types/WebhookEventMessageStatusDataChannelType.d.ts +9 -0
  207. package/src/api/types/WebhookEventMessageStatusDataChannelType.js +11 -0
  208. package/src/api/types/WebhookEventMessageStatusDataMessage.d.ts +13 -0
  209. package/src/api/types/WebhookEventMessageStatusDataMessage.js +5 -0
  210. package/src/api/types/WebhookEventMessageStatusDataMessagePreviousStatus.d.ts +13 -0
  211. package/src/api/types/WebhookEventMessageStatusDataMessagePreviousStatus.js +15 -0
  212. package/src/api/types/WebhookEventMessageStatusDataMessageStatus.d.ts +13 -0
  213. package/src/api/types/WebhookEventMessageStatusDataMessageStatus.js +15 -0
  214. package/src/api/types/WebhookEventMessageStatusType.d.ts +7 -0
  215. package/src/api/types/WebhookEventMessageStatusType.js +9 -0
  216. package/src/api/types/index.d.ts +78 -0
  217. package/src/api/types/index.js +94 -0
  218. package/src/serialization/index.d.ts +1 -0
  219. package/src/serialization/index.js +1 -0
  220. package/src/serialization/resources/accounts/client/requests/AccountRequestHistoryRequest.d.ts +13 -0
  221. package/src/serialization/resources/accounts/client/requests/AccountRequestHistoryRequest.js +44 -0
  222. package/src/serialization/resources/accounts/client/requests/AccountUpdateAccountRequest.d.ts +5 -1
  223. package/src/serialization/resources/accounts/client/requests/AccountUpdateAccountRequest.js +5 -1
  224. package/src/serialization/resources/accounts/client/requests/index.d.ts +1 -0
  225. package/src/serialization/resources/accounts/client/requests/index.js +3 -1
  226. package/src/serialization/resources/accounts/types/AccountGetAccountResponse.d.ts +4 -0
  227. package/src/serialization/resources/accounts/types/AccountGetAccountResponse.js +4 -0
  228. package/src/serialization/resources/accounts/types/AccountGetGroupResponse.d.ts +17 -0
  229. package/src/serialization/resources/accounts/types/AccountGetGroupResponse.js +48 -0
  230. package/src/serialization/resources/accounts/types/AccountGetGroupResponseMembersItem.d.ts +17 -0
  231. package/src/serialization/resources/accounts/types/AccountGetGroupResponseMembersItem.js +48 -0
  232. package/src/serialization/resources/accounts/types/AccountListAccountsResponseItem.d.ts +4 -0
  233. package/src/serialization/resources/accounts/types/AccountListAccountsResponseItem.js +4 -0
  234. package/src/serialization/resources/accounts/types/AccountListGroupsResponse.d.ts +13 -0
  235. package/src/serialization/resources/accounts/types/AccountListGroupsResponse.js +44 -0
  236. package/src/serialization/resources/accounts/types/AccountListGroupsResponseDataItem.d.ts +14 -0
  237. package/src/serialization/resources/accounts/types/AccountListGroupsResponseDataItem.js +45 -0
  238. package/src/serialization/resources/accounts/types/AccountRequestHistoryResponse.d.ts +12 -0
  239. package/src/serialization/resources/accounts/types/AccountRequestHistoryResponse.js +43 -0
  240. package/src/serialization/resources/accounts/types/AccountUpdateAccountResponse.d.ts +4 -0
  241. package/src/serialization/resources/accounts/types/AccountUpdateAccountResponse.js +4 -0
  242. package/src/serialization/resources/accounts/types/index.d.ts +5 -0
  243. package/src/serialization/resources/accounts/types/index.js +5 -0
  244. package/src/serialization/resources/messages/client/requests/MessageSendRequest.d.ts +3 -0
  245. package/src/serialization/resources/messages/client/requests/MessageSendRequest.js +3 -0
  246. package/src/serialization/resources/messages/types/MessageFindAllResponseDataItem.d.ts +3 -0
  247. package/src/serialization/resources/messages/types/MessageFindAllResponseDataItem.js +3 -0
  248. package/src/serialization/resources/messages/types/MessageFindOneResponse.d.ts +3 -0
  249. package/src/serialization/resources/messages/types/MessageFindOneResponse.js +3 -0
  250. package/src/serialization/resources/messages/types/MessageSendRequestPriority.d.ts +10 -0
  251. package/src/serialization/resources/messages/types/MessageSendRequestPriority.js +41 -0
  252. package/src/serialization/resources/messages/types/MessageSendResponse.d.ts +3 -0
  253. package/src/serialization/resources/messages/types/MessageSendResponse.js +3 -0
  254. package/src/serialization/resources/messages/types/index.d.ts +1 -0
  255. package/src/serialization/resources/messages/types/index.js +1 -0
  256. package/src/serialization/resources/webhooks/client/requests/WebhookEndpointCreateRequest.d.ts +1 -0
  257. package/src/serialization/resources/webhooks/client/requests/WebhookEndpointCreateRequest.js +1 -0
  258. package/src/serialization/resources/webhooks/client/requests/WebhookEndpointUpdateRequest.d.ts +1 -0
  259. package/src/serialization/resources/webhooks/client/requests/WebhookEndpointUpdateRequest.js +1 -0
  260. package/src/serialization/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.d.ts +1 -1
  261. package/src/serialization/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.js +11 -1
  262. package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponse.d.ts +1 -0
  263. package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponse.js +1 -0
  264. package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.d.ts +1 -1
  265. package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.js +11 -1
  266. package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponse.d.ts +1 -0
  267. package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponse.js +1 -0
  268. package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.d.ts +1 -1
  269. package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.js +11 -1
  270. package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItem.d.ts +1 -0
  271. package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItem.js +1 -0
  272. package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.d.ts +1 -1
  273. package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.js +11 -1
  274. package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.d.ts +1 -1
  275. package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.js +11 -1
  276. package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponse.d.ts +1 -0
  277. package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponse.js +1 -0
  278. package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.d.ts +1 -1
  279. package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.js +11 -1
  280. package/src/serialization/types/WebhookEventAccountStatusChanged.d.ts +17 -0
  281. package/src/serialization/types/WebhookEventAccountStatusChanged.js +48 -0
  282. package/src/serialization/types/WebhookEventAccountStatusChangedData.d.ts +13 -0
  283. package/src/serialization/types/WebhookEventAccountStatusChangedData.js +44 -0
  284. package/src/serialization/types/WebhookEventAccountStatusChangedDataAccount.d.ts +21 -0
  285. package/src/serialization/types/WebhookEventAccountStatusChangedDataAccount.js +52 -0
  286. package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.d.ts +10 -0
  287. package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.js +41 -0
  288. package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountStatus.d.ts +10 -0
  289. package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountStatus.js +41 -0
  290. package/src/serialization/types/WebhookEventAccountStatusChangedType.d.ts +10 -0
  291. package/src/serialization/types/WebhookEventAccountStatusChangedType.js +41 -0
  292. package/src/serialization/types/WebhookEventGroupUpdated.d.ts +17 -0
  293. package/src/serialization/types/WebhookEventGroupUpdated.js +48 -0
  294. package/src/serialization/types/WebhookEventGroupUpdatedData.d.ts +23 -0
  295. package/src/serialization/types/WebhookEventGroupUpdatedData.js +54 -0
  296. package/src/serialization/types/WebhookEventGroupUpdatedDataChannel.d.ts +15 -0
  297. package/src/serialization/types/WebhookEventGroupUpdatedDataChannel.js +46 -0
  298. package/src/serialization/types/WebhookEventGroupUpdatedDataChannelAccount.d.ts +13 -0
  299. package/src/serialization/types/WebhookEventGroupUpdatedDataChannelAccount.js +44 -0
  300. package/src/serialization/types/WebhookEventGroupUpdatedDataChannelType.d.ts +10 -0
  301. package/src/serialization/types/WebhookEventGroupUpdatedDataChannelType.js +41 -0
  302. package/src/serialization/types/WebhookEventGroupUpdatedDataGroup.d.ts +12 -0
  303. package/src/serialization/types/WebhookEventGroupUpdatedDataGroup.js +43 -0
  304. package/src/serialization/types/WebhookEventGroupUpdatedType.d.ts +10 -0
  305. package/src/serialization/types/WebhookEventGroupUpdatedType.js +41 -0
  306. package/src/serialization/types/WebhookEventMessageDeleted.d.ts +17 -0
  307. package/src/serialization/types/WebhookEventMessageDeleted.js +48 -0
  308. package/src/serialization/types/WebhookEventMessageDeletedData.d.ts +15 -0
  309. package/src/serialization/types/WebhookEventMessageDeletedData.js +46 -0
  310. package/src/serialization/types/WebhookEventMessageDeletedDataChannel.d.ts +17 -0
  311. package/src/serialization/types/WebhookEventMessageDeletedDataChannel.js +48 -0
  312. package/src/serialization/types/WebhookEventMessageDeletedDataChannelAccount.d.ts +13 -0
  313. package/src/serialization/types/WebhookEventMessageDeletedDataChannelAccount.js +44 -0
  314. package/src/serialization/types/WebhookEventMessageDeletedDataChannelConversation.d.ts +15 -0
  315. package/src/serialization/types/WebhookEventMessageDeletedDataChannelConversation.js +46 -0
  316. package/src/serialization/types/WebhookEventMessageDeletedDataChannelType.d.ts +10 -0
  317. package/src/serialization/types/WebhookEventMessageDeletedDataChannelType.js +41 -0
  318. package/src/serialization/types/WebhookEventMessageDeletedDataDeletion.d.ts +18 -0
  319. package/src/serialization/types/WebhookEventMessageDeletedDataDeletion.js +49 -0
  320. package/src/serialization/types/WebhookEventMessageDeletedType.d.ts +10 -0
  321. package/src/serialization/types/WebhookEventMessageDeletedType.js +41 -0
  322. package/src/serialization/types/WebhookEventMessageEdited.d.ts +17 -0
  323. package/src/serialization/types/WebhookEventMessageEdited.js +48 -0
  324. package/src/serialization/types/WebhookEventMessageEditedData.d.ts +15 -0
  325. package/src/serialization/types/WebhookEventMessageEditedData.js +46 -0
  326. package/src/serialization/types/WebhookEventMessageEditedDataChannel.d.ts +17 -0
  327. package/src/serialization/types/WebhookEventMessageEditedDataChannel.js +48 -0
  328. package/src/serialization/types/WebhookEventMessageEditedDataChannelAccount.d.ts +13 -0
  329. package/src/serialization/types/WebhookEventMessageEditedDataChannelAccount.js +44 -0
  330. package/src/serialization/types/WebhookEventMessageEditedDataChannelConversation.d.ts +15 -0
  331. package/src/serialization/types/WebhookEventMessageEditedDataChannelConversation.js +46 -0
  332. package/src/serialization/types/WebhookEventMessageEditedDataChannelType.d.ts +10 -0
  333. package/src/serialization/types/WebhookEventMessageEditedDataChannelType.js +41 -0
  334. package/src/serialization/types/WebhookEventMessageEditedDataEdit.d.ts +21 -0
  335. package/src/serialization/types/WebhookEventMessageEditedDataEdit.js +52 -0
  336. package/src/serialization/types/WebhookEventMessageEditedDataEditKind.d.ts +10 -0
  337. package/src/serialization/types/WebhookEventMessageEditedDataEditKind.js +41 -0
  338. package/src/serialization/types/WebhookEventMessageEditedType.d.ts +10 -0
  339. package/src/serialization/types/WebhookEventMessageEditedType.js +41 -0
  340. package/src/serialization/types/WebhookEventMessageHistory.d.ts +17 -0
  341. package/src/serialization/types/WebhookEventMessageHistory.js +48 -0
  342. package/src/serialization/types/WebhookEventMessageHistoryData.d.ts +19 -0
  343. package/src/serialization/types/WebhookEventMessageHistoryData.js +50 -0
  344. package/src/serialization/types/WebhookEventMessageHistoryDataChannel.d.ts +15 -0
  345. package/src/serialization/types/WebhookEventMessageHistoryDataChannel.js +46 -0
  346. package/src/serialization/types/WebhookEventMessageHistoryDataChannelAccount.d.ts +13 -0
  347. package/src/serialization/types/WebhookEventMessageHistoryDataChannelAccount.js +44 -0
  348. package/src/serialization/types/WebhookEventMessageHistoryDataChannelType.d.ts +10 -0
  349. package/src/serialization/types/WebhookEventMessageHistoryDataChannelType.js +41 -0
  350. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItem.d.ts +35 -0
  351. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItem.js +66 -0
  352. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemConversation.d.ts +15 -0
  353. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemConversation.js +46 -0
  354. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemDirection.d.ts +10 -0
  355. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemDirection.js +41 -0
  356. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.d.ts +13 -0
  357. package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.js +44 -0
  358. package/src/serialization/types/WebhookEventMessageHistoryType.d.ts +10 -0
  359. package/src/serialization/types/WebhookEventMessageHistoryType.js +41 -0
  360. package/src/serialization/types/WebhookEventMessageReaction.d.ts +17 -0
  361. package/src/serialization/types/WebhookEventMessageReaction.js +48 -0
  362. package/src/serialization/types/WebhookEventMessageReactionData.d.ts +15 -0
  363. package/src/serialization/types/WebhookEventMessageReactionData.js +46 -0
  364. package/src/serialization/types/WebhookEventMessageReactionDataChannel.d.ts +17 -0
  365. package/src/serialization/types/WebhookEventMessageReactionDataChannel.js +48 -0
  366. package/src/serialization/types/WebhookEventMessageReactionDataChannelAccount.d.ts +13 -0
  367. package/src/serialization/types/WebhookEventMessageReactionDataChannelAccount.js +44 -0
  368. package/src/serialization/types/WebhookEventMessageReactionDataChannelConversation.d.ts +15 -0
  369. package/src/serialization/types/WebhookEventMessageReactionDataChannelConversation.js +46 -0
  370. package/src/serialization/types/WebhookEventMessageReactionDataChannelType.d.ts +10 -0
  371. package/src/serialization/types/WebhookEventMessageReactionDataChannelType.js +41 -0
  372. package/src/serialization/types/WebhookEventMessageReactionDataReaction.d.ts +21 -0
  373. package/src/serialization/types/WebhookEventMessageReactionDataReaction.js +52 -0
  374. package/src/serialization/types/WebhookEventMessageReactionType.d.ts +10 -0
  375. package/src/serialization/types/WebhookEventMessageReactionType.js +41 -0
  376. package/src/serialization/types/WebhookEventMessageReceived.d.ts +17 -0
  377. package/src/serialization/types/WebhookEventMessageReceived.js +48 -0
  378. package/src/serialization/types/WebhookEventMessageReceivedData.d.ts +15 -0
  379. package/src/serialization/types/WebhookEventMessageReceivedData.js +46 -0
  380. package/src/serialization/types/WebhookEventMessageReceivedDataChannel.d.ts +17 -0
  381. package/src/serialization/types/WebhookEventMessageReceivedDataChannel.js +48 -0
  382. package/src/serialization/types/WebhookEventMessageReceivedDataChannelAccount.d.ts +13 -0
  383. package/src/serialization/types/WebhookEventMessageReceivedDataChannelAccount.js +44 -0
  384. package/src/serialization/types/WebhookEventMessageReceivedDataChannelConversation.d.ts +15 -0
  385. package/src/serialization/types/WebhookEventMessageReceivedDataChannelConversation.js +46 -0
  386. package/src/serialization/types/WebhookEventMessageReceivedDataChannelType.d.ts +10 -0
  387. package/src/serialization/types/WebhookEventMessageReceivedDataChannelType.js +41 -0
  388. package/src/serialization/types/WebhookEventMessageReceivedDataMessage.d.ts +33 -0
  389. package/src/serialization/types/WebhookEventMessageReceivedDataMessage.js +64 -0
  390. package/src/serialization/types/WebhookEventMessageReceivedDataMessageDirection.d.ts +10 -0
  391. package/src/serialization/types/WebhookEventMessageReceivedDataMessageDirection.js +41 -0
  392. package/src/serialization/types/WebhookEventMessageReceivedDataMessageReplyTo.d.ts +13 -0
  393. package/src/serialization/types/WebhookEventMessageReceivedDataMessageReplyTo.js +44 -0
  394. package/src/serialization/types/WebhookEventMessageReceivedType.d.ts +10 -0
  395. package/src/serialization/types/WebhookEventMessageReceivedType.js +41 -0
  396. package/src/serialization/types/WebhookEventMessageSelfSent.d.ts +17 -0
  397. package/src/serialization/types/WebhookEventMessageSelfSent.js +48 -0
  398. package/src/serialization/types/WebhookEventMessageSelfSentData.d.ts +15 -0
  399. package/src/serialization/types/WebhookEventMessageSelfSentData.js +46 -0
  400. package/src/serialization/types/WebhookEventMessageSelfSentDataChannel.d.ts +17 -0
  401. package/src/serialization/types/WebhookEventMessageSelfSentDataChannel.js +48 -0
  402. package/src/serialization/types/WebhookEventMessageSelfSentDataChannelAccount.d.ts +13 -0
  403. package/src/serialization/types/WebhookEventMessageSelfSentDataChannelAccount.js +44 -0
  404. package/src/serialization/types/WebhookEventMessageSelfSentDataChannelConversation.d.ts +15 -0
  405. package/src/serialization/types/WebhookEventMessageSelfSentDataChannelConversation.js +46 -0
  406. package/src/serialization/types/WebhookEventMessageSelfSentDataChannelType.d.ts +10 -0
  407. package/src/serialization/types/WebhookEventMessageSelfSentDataChannelType.js +41 -0
  408. package/src/serialization/types/WebhookEventMessageSelfSentDataMessage.d.ts +33 -0
  409. package/src/serialization/types/WebhookEventMessageSelfSentDataMessage.js +64 -0
  410. package/src/serialization/types/WebhookEventMessageSelfSentDataMessageDirection.d.ts +10 -0
  411. package/src/serialization/types/WebhookEventMessageSelfSentDataMessageDirection.js +41 -0
  412. package/src/serialization/types/WebhookEventMessageSelfSentDataMessageReplyTo.d.ts +13 -0
  413. package/src/serialization/types/WebhookEventMessageSelfSentDataMessageReplyTo.js +44 -0
  414. package/src/serialization/types/WebhookEventMessageSelfSentType.d.ts +10 -0
  415. package/src/serialization/types/WebhookEventMessageSelfSentType.js +41 -0
  416. package/src/serialization/types/WebhookEventMessageStatus.d.ts +17 -0
  417. package/src/serialization/types/WebhookEventMessageStatus.js +48 -0
  418. package/src/serialization/types/WebhookEventMessageStatusData.d.ts +15 -0
  419. package/src/serialization/types/WebhookEventMessageStatusData.js +46 -0
  420. package/src/serialization/types/WebhookEventMessageStatusDataChannel.d.ts +17 -0
  421. package/src/serialization/types/WebhookEventMessageStatusDataChannel.js +48 -0
  422. package/src/serialization/types/WebhookEventMessageStatusDataChannelAccount.d.ts +13 -0
  423. package/src/serialization/types/WebhookEventMessageStatusDataChannelAccount.js +44 -0
  424. package/src/serialization/types/WebhookEventMessageStatusDataChannelConversation.d.ts +15 -0
  425. package/src/serialization/types/WebhookEventMessageStatusDataChannelConversation.js +46 -0
  426. package/src/serialization/types/WebhookEventMessageStatusDataChannelType.d.ts +10 -0
  427. package/src/serialization/types/WebhookEventMessageStatusDataChannelType.js +41 -0
  428. package/src/serialization/types/WebhookEventMessageStatusDataMessage.d.ts +20 -0
  429. package/src/serialization/types/WebhookEventMessageStatusDataMessage.js +51 -0
  430. package/src/serialization/types/WebhookEventMessageStatusDataMessagePreviousStatus.d.ts +10 -0
  431. package/src/serialization/types/WebhookEventMessageStatusDataMessagePreviousStatus.js +41 -0
  432. package/src/serialization/types/WebhookEventMessageStatusDataMessageStatus.d.ts +10 -0
  433. package/src/serialization/types/WebhookEventMessageStatusDataMessageStatus.js +41 -0
  434. package/src/serialization/types/WebhookEventMessageStatusType.d.ts +10 -0
  435. package/src/serialization/types/WebhookEventMessageStatusType.js +41 -0
  436. package/src/serialization/types/index.d.ts +78 -0
  437. package/src/serialization/types/index.js +94 -0
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageReceivedDataMessageDirection = "IN" | "OUT";
5
+ export declare const WebhookEventMessageReceivedDataMessageDirection: {
6
+ readonly In: "IN";
7
+ readonly Out: "OUT";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageReceivedDataMessageDirection = void 0;
7
+ exports.WebhookEventMessageReceivedDataMessageDirection = {
8
+ In: "IN",
9
+ Out: "OUT",
10
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WebhookEventMessageReceivedDataMessageReplyTo {
5
+ externalId: string;
6
+ participant: string | null;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageReceivedType = "message.received";
5
+ export declare const WebhookEventMessageReceivedType: {
6
+ readonly MessageReceived: "message.received";
7
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageReceivedType = void 0;
7
+ exports.WebhookEventMessageReceivedType = {
8
+ MessageReceived: "message.received",
9
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageSelfSent {
6
+ type: UnlimitedMessagingApi.WebhookEventMessageSelfSentType;
7
+ eventId: string;
8
+ occurredAt: Date;
9
+ data: UnlimitedMessagingApi.WebhookEventMessageSelfSentData;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageSelfSentData {
6
+ message: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataMessage;
7
+ channel: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannel;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageSelfSentDataChannel {
6
+ type: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannelType;
7
+ account: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannelAccount;
8
+ conversation: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannelConversation;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WebhookEventMessageSelfSentDataChannelAccount {
5
+ id: string;
6
+ name: string | null;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WebhookEventMessageSelfSentDataChannelConversation {
5
+ id: string | null;
6
+ isGroup: boolean;
7
+ address: string | null;
8
+ participants?: string[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageSelfSentDataChannelType = "WHATSAPP" | "SMS" | "EMAIL";
5
+ export declare const WebhookEventMessageSelfSentDataChannelType: {
6
+ readonly Whatsapp: "WHATSAPP";
7
+ readonly Sms: "SMS";
8
+ readonly Email: "EMAIL";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageSelfSentDataChannelType = void 0;
7
+ exports.WebhookEventMessageSelfSentDataChannelType = {
8
+ Whatsapp: "WHATSAPP",
9
+ Sms: "SMS",
10
+ Email: "EMAIL",
11
+ };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageSelfSentDataMessage {
6
+ id: string;
7
+ externalId: string | null;
8
+ direction: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataMessageDirection;
9
+ fromMe: boolean;
10
+ content: string | null;
11
+ sentAt: Date;
12
+ receivedAt: Date;
13
+ sender: string | null;
14
+ senderId: string;
15
+ senderName: string | null;
16
+ participant: string | null;
17
+ replyTo: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataMessageReplyTo | null;
18
+ mediaUrl?: string;
19
+ mediaType?: string;
20
+ mimeType?: string;
21
+ mediaFilename?: string;
22
+ mediaSize?: number;
23
+ durationSec?: number;
24
+ mediaError?: string;
25
+ transcript: string | null;
26
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageSelfSentDataMessageDirection = "IN" | "OUT";
5
+ export declare const WebhookEventMessageSelfSentDataMessageDirection: {
6
+ readonly In: "IN";
7
+ readonly Out: "OUT";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageSelfSentDataMessageDirection = void 0;
7
+ exports.WebhookEventMessageSelfSentDataMessageDirection = {
8
+ In: "IN",
9
+ Out: "OUT",
10
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WebhookEventMessageSelfSentDataMessageReplyTo {
5
+ externalId: string;
6
+ participant: string | null;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageSelfSentType = "message.self_sent";
5
+ export declare const WebhookEventMessageSelfSentType: {
6
+ readonly MessageSelfSent: "message.self_sent";
7
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageSelfSentType = void 0;
7
+ exports.WebhookEventMessageSelfSentType = {
8
+ MessageSelfSent: "message.self_sent",
9
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageStatus {
6
+ type: UnlimitedMessagingApi.WebhookEventMessageStatusType;
7
+ eventId: string;
8
+ occurredAt: Date;
9
+ data: UnlimitedMessagingApi.WebhookEventMessageStatusData;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageStatusData {
6
+ message: UnlimitedMessagingApi.WebhookEventMessageStatusDataMessage;
7
+ channel: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannel;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageStatusDataChannel {
6
+ type: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannelType;
7
+ account: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannelAccount;
8
+ conversation: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannelConversation;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WebhookEventMessageStatusDataChannelAccount {
5
+ id: string;
6
+ name: string | null;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WebhookEventMessageStatusDataChannelConversation {
5
+ id: string | null;
6
+ isGroup: boolean;
7
+ address: string | null;
8
+ participants?: string[];
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageStatusDataChannelType = "WHATSAPP" | "SMS" | "EMAIL";
5
+ export declare const WebhookEventMessageStatusDataChannelType: {
6
+ readonly Whatsapp: "WHATSAPP";
7
+ readonly Sms: "SMS";
8
+ readonly Email: "EMAIL";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageStatusDataChannelType = void 0;
7
+ exports.WebhookEventMessageStatusDataChannelType = {
8
+ Whatsapp: "WHATSAPP",
9
+ Sms: "SMS",
10
+ Email: "EMAIL",
11
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as UnlimitedMessagingApi from "../index";
5
+ export interface WebhookEventMessageStatusDataMessage {
6
+ id: string;
7
+ externalId: string | null;
8
+ status: UnlimitedMessagingApi.WebhookEventMessageStatusDataMessageStatus;
9
+ previousStatus: UnlimitedMessagingApi.WebhookEventMessageStatusDataMessagePreviousStatus;
10
+ error: string | null;
11
+ at: Date;
12
+ sentAt: Date | null;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageStatusDataMessagePreviousStatus = "PENDING" | "SENDING" | "SENT" | "DELIVERED" | "READ" | "FAILED" | "UNDELIVERABLE";
5
+ export declare const WebhookEventMessageStatusDataMessagePreviousStatus: {
6
+ readonly Pending: "PENDING";
7
+ readonly Sending: "SENDING";
8
+ readonly Sent: "SENT";
9
+ readonly Delivered: "DELIVERED";
10
+ readonly Read: "READ";
11
+ readonly Failed: "FAILED";
12
+ readonly Undeliverable: "UNDELIVERABLE";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageStatusDataMessagePreviousStatus = void 0;
7
+ exports.WebhookEventMessageStatusDataMessagePreviousStatus = {
8
+ Pending: "PENDING",
9
+ Sending: "SENDING",
10
+ Sent: "SENT",
11
+ Delivered: "DELIVERED",
12
+ Read: "READ",
13
+ Failed: "FAILED",
14
+ Undeliverable: "UNDELIVERABLE",
15
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageStatusDataMessageStatus = "PENDING" | "SENDING" | "SENT" | "DELIVERED" | "READ" | "FAILED" | "UNDELIVERABLE";
5
+ export declare const WebhookEventMessageStatusDataMessageStatus: {
6
+ readonly Pending: "PENDING";
7
+ readonly Sending: "SENDING";
8
+ readonly Sent: "SENT";
9
+ readonly Delivered: "DELIVERED";
10
+ readonly Read: "READ";
11
+ readonly Failed: "FAILED";
12
+ readonly Undeliverable: "UNDELIVERABLE";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageStatusDataMessageStatus = void 0;
7
+ exports.WebhookEventMessageStatusDataMessageStatus = {
8
+ Pending: "PENDING",
9
+ Sending: "SENDING",
10
+ Sent: "SENT",
11
+ Delivered: "DELIVERED",
12
+ Read: "READ",
13
+ Failed: "FAILED",
14
+ Undeliverable: "UNDELIVERABLE",
15
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type WebhookEventMessageStatusType = "message.status";
5
+ export declare const WebhookEventMessageStatusType: {
6
+ readonly MessageStatus: "message.status";
7
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WebhookEventMessageStatusType = void 0;
7
+ exports.WebhookEventMessageStatusType = {
8
+ MessageStatus: "message.status",
9
+ };
@@ -0,0 +1,78 @@
1
+ export * from "./WebhookEventMessageReceivedType";
2
+ export * from "./WebhookEventMessageReceivedDataMessageDirection";
3
+ export * from "./WebhookEventMessageReceivedDataMessageReplyTo";
4
+ export * from "./WebhookEventMessageReceivedDataMessage";
5
+ export * from "./WebhookEventMessageReceivedDataChannelType";
6
+ export * from "./WebhookEventMessageReceivedDataChannelAccount";
7
+ export * from "./WebhookEventMessageReceivedDataChannelConversation";
8
+ export * from "./WebhookEventMessageReceivedDataChannel";
9
+ export * from "./WebhookEventMessageReceivedData";
10
+ export * from "./WebhookEventMessageReceived";
11
+ export * from "./WebhookEventMessageSelfSentType";
12
+ export * from "./WebhookEventMessageSelfSentDataMessageDirection";
13
+ export * from "./WebhookEventMessageSelfSentDataMessageReplyTo";
14
+ export * from "./WebhookEventMessageSelfSentDataMessage";
15
+ export * from "./WebhookEventMessageSelfSentDataChannelType";
16
+ export * from "./WebhookEventMessageSelfSentDataChannelAccount";
17
+ export * from "./WebhookEventMessageSelfSentDataChannelConversation";
18
+ export * from "./WebhookEventMessageSelfSentDataChannel";
19
+ export * from "./WebhookEventMessageSelfSentData";
20
+ export * from "./WebhookEventMessageSelfSent";
21
+ export * from "./WebhookEventMessageStatusType";
22
+ export * from "./WebhookEventMessageStatusDataMessageStatus";
23
+ export * from "./WebhookEventMessageStatusDataMessagePreviousStatus";
24
+ export * from "./WebhookEventMessageStatusDataMessage";
25
+ export * from "./WebhookEventMessageStatusDataChannelType";
26
+ export * from "./WebhookEventMessageStatusDataChannelAccount";
27
+ export * from "./WebhookEventMessageStatusDataChannelConversation";
28
+ export * from "./WebhookEventMessageStatusDataChannel";
29
+ export * from "./WebhookEventMessageStatusData";
30
+ export * from "./WebhookEventMessageStatus";
31
+ export * from "./WebhookEventMessageReactionType";
32
+ export * from "./WebhookEventMessageReactionDataReaction";
33
+ export * from "./WebhookEventMessageReactionDataChannelType";
34
+ export * from "./WebhookEventMessageReactionDataChannelAccount";
35
+ export * from "./WebhookEventMessageReactionDataChannelConversation";
36
+ export * from "./WebhookEventMessageReactionDataChannel";
37
+ export * from "./WebhookEventMessageReactionData";
38
+ export * from "./WebhookEventMessageReaction";
39
+ export * from "./WebhookEventMessageEditedType";
40
+ export * from "./WebhookEventMessageEditedDataEditKind";
41
+ export * from "./WebhookEventMessageEditedDataEdit";
42
+ export * from "./WebhookEventMessageEditedDataChannelType";
43
+ export * from "./WebhookEventMessageEditedDataChannelAccount";
44
+ export * from "./WebhookEventMessageEditedDataChannelConversation";
45
+ export * from "./WebhookEventMessageEditedDataChannel";
46
+ export * from "./WebhookEventMessageEditedData";
47
+ export * from "./WebhookEventMessageEdited";
48
+ export * from "./WebhookEventMessageDeletedType";
49
+ export * from "./WebhookEventMessageDeletedDataDeletion";
50
+ export * from "./WebhookEventMessageDeletedDataChannelType";
51
+ export * from "./WebhookEventMessageDeletedDataChannelAccount";
52
+ export * from "./WebhookEventMessageDeletedDataChannelConversation";
53
+ export * from "./WebhookEventMessageDeletedDataChannel";
54
+ export * from "./WebhookEventMessageDeletedData";
55
+ export * from "./WebhookEventMessageDeleted";
56
+ export * from "./WebhookEventMessageHistoryType";
57
+ export * from "./WebhookEventMessageHistoryDataChannelType";
58
+ export * from "./WebhookEventMessageHistoryDataChannelAccount";
59
+ export * from "./WebhookEventMessageHistoryDataChannel";
60
+ export * from "./WebhookEventMessageHistoryDataMessagesItemDirection";
61
+ export * from "./WebhookEventMessageHistoryDataMessagesItemReplyTo";
62
+ export * from "./WebhookEventMessageHistoryDataMessagesItemConversation";
63
+ export * from "./WebhookEventMessageHistoryDataMessagesItem";
64
+ export * from "./WebhookEventMessageHistoryData";
65
+ export * from "./WebhookEventMessageHistory";
66
+ export * from "./WebhookEventAccountStatusChangedType";
67
+ export * from "./WebhookEventAccountStatusChangedDataAccountStatus";
68
+ export * from "./WebhookEventAccountStatusChangedDataAccountPreviousStatus";
69
+ export * from "./WebhookEventAccountStatusChangedDataAccount";
70
+ export * from "./WebhookEventAccountStatusChangedData";
71
+ export * from "./WebhookEventAccountStatusChanged";
72
+ export * from "./WebhookEventGroupUpdatedType";
73
+ export * from "./WebhookEventGroupUpdatedDataGroup";
74
+ export * from "./WebhookEventGroupUpdatedDataChannelType";
75
+ export * from "./WebhookEventGroupUpdatedDataChannelAccount";
76
+ export * from "./WebhookEventGroupUpdatedDataChannel";
77
+ export * from "./WebhookEventGroupUpdatedData";
78
+ export * from "./WebhookEventGroupUpdated";