rcs-js 1.0.22 → 2.0.0-rc.2

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 (1192) hide show
  1. package/README.md +27 -11
  2. package/dist/cjs/Client.d.ts +31 -27
  3. package/dist/cjs/Client.js +43 -95
  4. package/dist/cjs/api/errors/InternalServerError.d.ts +2 -1
  5. package/dist/cjs/api/errors/NotFoundError.d.ts +9 -0
  6. package/dist/cjs/api/errors/NotFoundError.js +52 -0
  7. package/dist/cjs/api/errors/NotImplementedError.d.ts +9 -0
  8. package/dist/cjs/api/errors/NotImplementedError.js +52 -0
  9. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +2 -1
  10. package/dist/cjs/api/errors/UnauthorizedError.d.ts +2 -1
  11. package/dist/cjs/api/errors/index.d.ts +2 -1
  12. package/dist/cjs/api/errors/index.js +2 -1
  13. package/dist/cjs/api/index.d.ts +0 -1
  14. package/dist/cjs/api/index.js +0 -1
  15. package/dist/cjs/api/resources/brands/client/Client.d.ts +176 -0
  16. package/dist/cjs/api/resources/brands/client/Client.js +533 -0
  17. package/dist/cjs/api/resources/brands/client/requests/AutofillBrandParams.d.ts +29 -0
  18. package/dist/cjs/api/resources/brands/client/requests/BrandsGetRequest.d.ts +15 -0
  19. package/dist/cjs/api/resources/brands/client/requests/UpsertBrandParams.d.ts +49 -0
  20. package/dist/cjs/api/resources/brands/client/requests/ValidateBrandParams.d.ts +59 -0
  21. package/dist/cjs/api/resources/brands/client/requests/VetBrandParams.d.ts +9 -0
  22. package/dist/cjs/api/resources/brands/client/requests/index.d.ts +5 -0
  23. package/dist/cjs/api/resources/brands/index.d.ts +1 -0
  24. package/dist/cjs/api/resources/brands/index.js +17 -0
  25. package/dist/cjs/api/resources/campaigns/client/Client.d.ts +28 -0
  26. package/dist/cjs/api/resources/campaigns/client/Client.js +27 -0
  27. package/dist/cjs/api/resources/campaigns/index.d.ts +2 -0
  28. package/dist/cjs/api/resources/campaigns/index.js +18 -0
  29. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.d.ts +158 -0
  30. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.js +459 -0
  31. package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.ts +145 -0
  32. package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/campaigns/resources/dlc/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/campaigns/resources/dlc/index.js +17 -0
  35. package/dist/cjs/api/resources/campaigns/resources/index.d.ts +8 -0
  36. package/dist/cjs/api/resources/campaigns/resources/index.js +47 -0
  37. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.d.ts +159 -0
  38. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.js +457 -0
  39. package/dist/cjs/api/resources/campaigns/resources/rcs/client/index.d.ts +2 -0
  40. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.ts +158 -0
  41. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.ts +7 -0
  43. package/dist/cjs/api/resources/campaigns/resources/rcs/types/index.d.ts +1 -0
  44. package/dist/cjs/api/resources/campaigns/resources/rcs/types/index.js +17 -0
  45. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.d.ts +136 -0
  46. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.js +440 -0
  47. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/index.d.ts +2 -0
  48. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/index.js +17 -0
  49. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.ts +58 -0
  50. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/index.d.ts +1 -0
  51. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/index.js +2 -0
  52. package/dist/cjs/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.ts +7 -0
  53. package/dist/cjs/api/resources/campaigns/resources/tollFree/types/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/campaigns/resources/tollFree/types/index.js +17 -0
  55. package/dist/cjs/api/resources/contacts/client/Client.d.ts +90 -0
  56. package/dist/cjs/api/resources/contacts/client/Client.js +288 -0
  57. package/dist/cjs/api/resources/contacts/client/index.d.ts +2 -0
  58. package/dist/cjs/api/resources/contacts/client/index.js +17 -0
  59. package/dist/cjs/api/resources/contacts/client/requests/ContactsGetRequest.d.ts +17 -0
  60. package/dist/cjs/api/resources/contacts/client/requests/CreateContactParams.d.ts +14 -0
  61. package/dist/cjs/api/resources/contacts/client/requests/UpdateContactParams.d.ts +18 -0
  62. package/dist/cjs/api/resources/contacts/client/requests/index.d.ts +3 -0
  63. package/dist/cjs/api/resources/contacts/client/requests/index.js +2 -0
  64. package/dist/cjs/api/resources/contacts/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/contacts/index.js +17 -0
  66. package/dist/cjs/api/resources/conversations/client/Client.d.ts +93 -0
  67. package/dist/cjs/api/resources/conversations/client/Client.js +288 -0
  68. package/dist/cjs/api/resources/conversations/client/index.d.ts +2 -0
  69. package/dist/cjs/api/resources/conversations/client/index.js +17 -0
  70. package/dist/cjs/api/resources/conversations/client/requests/ListConversationsParams.d.ts +30 -0
  71. package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationParams.d.ts +16 -0
  72. package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +2 -0
  73. package/dist/cjs/api/resources/conversations/client/requests/index.js +2 -0
  74. package/dist/cjs/api/resources/conversations/index.d.ts +1 -0
  75. package/dist/cjs/api/resources/conversations/index.js +17 -0
  76. package/dist/cjs/api/resources/index.d.ts +16 -8
  77. package/dist/cjs/api/resources/index.js +17 -9
  78. package/dist/cjs/api/resources/message/client/Client.d.ts +22 -0
  79. package/dist/cjs/api/resources/message/client/Client.js +17 -0
  80. package/dist/cjs/api/resources/message/client/index.js +2 -0
  81. package/dist/cjs/api/resources/message/index.d.ts +2 -0
  82. package/dist/cjs/api/resources/message/index.js +18 -0
  83. package/dist/cjs/api/resources/message/resources/index.d.ts +1 -0
  84. package/dist/cjs/api/resources/message/resources/index.js +37 -0
  85. package/dist/cjs/api/resources/message/resources/sms/client/Client.d.ts +52 -0
  86. package/dist/cjs/api/resources/message/resources/sms/client/Client.js +135 -0
  87. package/dist/cjs/api/resources/message/resources/sms/client/index.js +2 -0
  88. package/dist/cjs/api/resources/message/resources/sms/index.d.ts +1 -0
  89. package/dist/cjs/api/resources/message/resources/sms/index.js +17 -0
  90. package/dist/cjs/api/resources/messages/client/Client.d.ts +81 -0
  91. package/dist/cjs/api/resources/messages/client/Client.js +222 -0
  92. package/dist/cjs/api/resources/messages/client/index.d.ts +2 -0
  93. package/dist/cjs/api/resources/messages/client/index.js +17 -0
  94. package/dist/cjs/api/resources/messages/client/requests/ReactMessageParams.d.ts +36 -0
  95. package/dist/cjs/api/resources/messages/client/requests/index.d.ts +1 -0
  96. package/dist/cjs/api/resources/messages/client/requests/index.js +2 -0
  97. package/dist/cjs/api/resources/messages/index.d.ts +2 -0
  98. package/dist/cjs/api/resources/messages/index.js +18 -0
  99. package/dist/cjs/api/resources/messages/resources/index.d.ts +5 -0
  100. package/dist/cjs/api/resources/messages/resources/index.js +44 -0
  101. package/dist/cjs/api/resources/messages/resources/mms/client/Client.d.ts +53 -0
  102. package/dist/cjs/api/resources/messages/resources/mms/client/Client.js +136 -0
  103. package/dist/cjs/api/resources/messages/resources/mms/client/index.js +2 -0
  104. package/dist/cjs/api/resources/messages/resources/mms/index.d.ts +1 -0
  105. package/dist/cjs/api/resources/messages/resources/mms/index.js +17 -0
  106. package/dist/cjs/api/resources/messages/resources/rcs/client/Client.d.ts +57 -0
  107. package/dist/cjs/api/resources/messages/resources/rcs/client/Client.js +140 -0
  108. package/dist/cjs/api/resources/messages/resources/rcs/client/index.d.ts +1 -0
  109. package/dist/cjs/api/resources/messages/resources/rcs/client/index.js +2 -0
  110. package/dist/cjs/api/resources/messages/resources/rcs/index.d.ts +1 -0
  111. package/dist/cjs/api/resources/messages/resources/rcs/index.js +17 -0
  112. package/dist/cjs/api/resources/messages/resources/send/client/Client.d.ts +110 -0
  113. package/dist/cjs/api/resources/messages/resources/send/client/Client.js +311 -0
  114. package/dist/cjs/api/resources/messages/resources/send/client/index.d.ts +2 -0
  115. package/dist/cjs/api/resources/messages/resources/send/client/index.js +17 -0
  116. package/dist/cjs/api/resources/messages/resources/send/client/requests/Mms.d.ts +66 -0
  117. package/dist/cjs/api/resources/messages/resources/send/client/requests/Sms.d.ts +38 -0
  118. package/dist/cjs/api/resources/messages/resources/send/client/requests/index.d.ts +2 -0
  119. package/dist/cjs/api/resources/messages/resources/send/client/requests/index.js +2 -0
  120. package/dist/cjs/api/resources/messages/resources/send/index.d.ts +2 -0
  121. package/dist/cjs/api/resources/messages/resources/send/index.js +18 -0
  122. package/dist/cjs/api/resources/messages/resources/send/types/SendMmsResponse.d.ts +5 -0
  123. package/dist/cjs/api/resources/messages/resources/send/types/SendRcsResponse.d.ts +5 -0
  124. package/dist/cjs/api/resources/messages/resources/send/types/SendSmsResponse.d.ts +5 -0
  125. package/dist/cjs/api/resources/messages/resources/send/types/index.d.ts +3 -0
  126. package/dist/cjs/api/resources/messages/resources/send/types/index.js +19 -0
  127. package/dist/cjs/api/resources/phoneNumbers/client/Client.d.ts +117 -0
  128. package/dist/cjs/api/resources/phoneNumbers/client/Client.js +318 -0
  129. package/dist/cjs/api/resources/phoneNumbers/client/index.d.ts +2 -0
  130. package/dist/cjs/api/resources/phoneNumbers/client/index.js +17 -0
  131. package/dist/cjs/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.d.ts +19 -0
  132. package/dist/cjs/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.d.ts +76 -0
  133. package/dist/cjs/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.js +13 -0
  134. package/dist/cjs/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.ts +76 -0
  135. package/dist/cjs/api/resources/phoneNumbers/client/requests/index.d.ts +3 -0
  136. package/dist/cjs/api/resources/phoneNumbers/client/requests/index.js +2 -0
  137. package/dist/cjs/api/resources/phoneNumbers/index.d.ts +3 -0
  138. package/dist/cjs/api/resources/phoneNumbers/index.js +19 -0
  139. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.d.ts +73 -0
  140. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.js +213 -0
  141. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/index.d.ts +2 -0
  142. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/index.js +17 -0
  143. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.ts +19 -0
  144. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.d.ts +13 -0
  145. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/index.d.ts +2 -0
  146. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/index.js +2 -0
  147. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/index.d.ts +1 -0
  148. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/index.js +17 -0
  149. package/dist/cjs/api/resources/phoneNumbers/resources/index.d.ts +3 -0
  150. package/dist/cjs/api/resources/phoneNumbers/resources/index.js +42 -0
  151. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.d.ts +80 -0
  152. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.js +219 -0
  153. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/index.d.ts +1 -0
  154. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/index.js +2 -0
  155. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/index.d.ts +1 -0
  156. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/index.js +17 -0
  157. package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -0
  158. package/dist/cjs/api/resources/phoneNumbers/types/index.d.ts +1 -0
  159. package/dist/cjs/api/resources/phoneNumbers/types/index.js +17 -0
  160. package/dist/cjs/api/resources/status/client/Client.d.ts +22 -0
  161. package/dist/cjs/api/resources/status/client/Client.js +17 -0
  162. package/dist/cjs/api/resources/status/client/index.d.ts +1 -0
  163. package/dist/cjs/api/resources/status/client/index.js +2 -0
  164. package/dist/cjs/api/resources/status/index.d.ts +2 -0
  165. package/dist/cjs/api/resources/status/index.js +18 -0
  166. package/dist/cjs/api/resources/status/resources/get/client/Client.d.ts +122 -0
  167. package/dist/cjs/api/resources/status/resources/get/client/Client.js +422 -0
  168. package/dist/cjs/api/resources/status/resources/get/client/index.d.ts +1 -0
  169. package/dist/cjs/api/resources/status/resources/get/client/index.js +2 -0
  170. package/dist/cjs/api/resources/status/resources/get/index.d.ts +1 -0
  171. package/dist/cjs/api/resources/status/resources/get/index.js +17 -0
  172. package/dist/cjs/api/resources/status/resources/index.d.ts +1 -0
  173. package/dist/cjs/api/resources/status/resources/index.js +37 -0
  174. package/dist/cjs/api/resources/tools/client/Client.d.ts +10 -53
  175. package/dist/cjs/api/resources/tools/client/Client.js +12 -190
  176. package/dist/cjs/api/resources/tools/client/index.d.ts +0 -1
  177. package/dist/cjs/api/resources/tools/client/index.js +0 -15
  178. package/dist/cjs/api/resources/tools/index.d.ts +1 -1
  179. package/dist/cjs/api/resources/tools/index.js +1 -1
  180. package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.d.ts +112 -0
  181. package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.js +248 -0
  182. package/dist/cjs/api/resources/tools/resources/contactCard/client/index.d.ts +2 -0
  183. package/dist/cjs/api/resources/tools/resources/contactCard/client/index.js +17 -0
  184. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.ts +24 -0
  185. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.ts +57 -0
  186. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/index.d.ts +2 -0
  187. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/index.js +2 -0
  188. package/dist/cjs/api/resources/tools/resources/contactCard/index.d.ts +1 -0
  189. package/dist/cjs/api/resources/tools/resources/contactCard/index.js +17 -0
  190. package/dist/cjs/api/resources/tools/resources/file/client/Client.d.ts +59 -0
  191. package/dist/cjs/api/resources/tools/resources/file/client/Client.js +142 -0
  192. package/dist/cjs/api/resources/tools/resources/file/client/index.d.ts +2 -0
  193. package/dist/cjs/api/resources/tools/resources/file/client/index.js +17 -0
  194. package/dist/cjs/api/resources/tools/resources/file/client/requests/UploadFileParams.d.ts +56 -0
  195. package/dist/cjs/api/resources/tools/resources/file/client/requests/index.d.ts +1 -0
  196. package/dist/cjs/api/resources/tools/resources/file/client/requests/index.js +2 -0
  197. package/dist/cjs/api/resources/tools/resources/file/index.d.ts +1 -0
  198. package/dist/cjs/api/resources/tools/resources/file/index.js +17 -0
  199. package/dist/cjs/api/resources/tools/resources/index.d.ts +6 -0
  200. package/dist/cjs/api/resources/tools/resources/index.js +45 -0
  201. package/dist/cjs/api/resources/tools/resources/url/client/Client.d.ts +92 -0
  202. package/dist/cjs/api/resources/tools/resources/url/client/Client.js +278 -0
  203. package/dist/cjs/api/resources/tools/resources/url/client/index.d.ts +2 -0
  204. package/dist/cjs/api/resources/tools/resources/url/client/index.js +17 -0
  205. package/dist/cjs/api/resources/tools/resources/url/client/requests/CreateUrlParams.d.ts +18 -0
  206. package/dist/cjs/api/resources/tools/resources/url/client/requests/UpdateUrlParams.d.ts +15 -0
  207. package/dist/cjs/api/resources/tools/resources/url/client/requests/index.d.ts +2 -0
  208. package/dist/cjs/api/resources/tools/resources/url/client/requests/index.js +2 -0
  209. package/dist/cjs/api/resources/tools/resources/url/index.d.ts +1 -0
  210. package/dist/cjs/api/resources/tools/resources/url/index.js +17 -0
  211. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +52 -0
  212. package/dist/cjs/api/resources/webhooks/client/Client.js +135 -0
  213. package/dist/cjs/api/resources/webhooks/client/index.d.ts +2 -0
  214. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  215. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookParams.d.ts +13 -0
  216. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +1 -0
  217. package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
  218. package/dist/cjs/api/resources/webhooks/index.d.ts +1 -0
  219. package/dist/cjs/api/resources/webhooks/index.js +17 -0
  220. package/dist/cjs/api/types/AdvancedPhoneInformation.d.ts +161 -0
  221. package/dist/cjs/api/types/AdvancedPhoneInformation.js +17 -0
  222. package/dist/cjs/api/types/AttachWebhookParams.d.ts +22 -0
  223. package/dist/cjs/api/types/AttachedPhoneNumberResult.d.ts +42 -0
  224. package/dist/cjs/api/types/AutofillCampaignParams.d.ts +9 -0
  225. package/dist/cjs/api/types/AutofillDlcCampaignResponse.d.ts +104 -0
  226. package/dist/cjs/api/types/BadRequestErrorBody.d.ts +5 -3
  227. package/dist/cjs/api/types/BasicPhoneInformation.d.ts +53 -0
  228. package/dist/cjs/api/types/BrandStatus.d.ts +23 -0
  229. package/dist/cjs/api/types/BrandStatusEnum.d.ts +21 -0
  230. package/dist/cjs/api/types/BrandStatusEnum.js +14 -0
  231. package/dist/cjs/api/types/CampaignEnum.d.ts +15 -0
  232. package/dist/cjs/api/types/CampaignEnum.js +11 -0
  233. package/dist/cjs/api/types/CampaignQuery.d.ts +12 -0
  234. package/dist/cjs/api/types/CampaignQuery.js +5 -0
  235. package/dist/cjs/api/types/CampaignSubmissionResult.d.ts +7 -0
  236. package/dist/cjs/api/types/CampaignSubmissionResult.js +5 -0
  237. package/dist/cjs/api/types/CampaignValidationResult.d.ts +22 -0
  238. package/dist/cjs/api/types/CampaignValidationResult.js +5 -0
  239. package/dist/cjs/api/types/ClickAction.d.ts +28 -0
  240. package/dist/cjs/api/types/ClickAction.js +5 -0
  241. package/dist/cjs/api/types/CompanySectorEnum.d.ts +26 -0
  242. package/dist/cjs/api/types/CompanySectorEnum.js +25 -0
  243. package/dist/cjs/api/types/CompanyTypeEnum.d.ts +14 -0
  244. package/dist/cjs/api/types/CompanyTypeEnum.js +13 -0
  245. package/dist/cjs/api/types/ConfiguredWebhook.d.ts +35 -0
  246. package/dist/cjs/api/types/ConfiguredWebhook.js +5 -0
  247. package/dist/cjs/api/types/Contact.d.ts +17 -0
  248. package/dist/cjs/api/types/Contact.js +5 -0
  249. package/dist/cjs/api/types/ContactId.d.ts +7 -0
  250. package/dist/cjs/api/types/ContactId.js +5 -0
  251. package/dist/cjs/api/types/Conversation.d.ts +63 -0
  252. package/dist/cjs/api/types/Conversation.js +5 -0
  253. package/dist/cjs/api/types/ConversationList.d.ts +14 -0
  254. package/dist/cjs/api/types/ConversationList.js +5 -0
  255. package/dist/cjs/api/types/CreateUrlOptions.d.ts +11 -0
  256. package/dist/cjs/api/types/CreateUrlOptions.js +5 -0
  257. package/dist/cjs/api/types/DetachedPhoneNumberResult.d.ts +42 -0
  258. package/dist/cjs/api/types/DetachedPhoneNumberResult.js +5 -0
  259. package/dist/cjs/api/types/DetachedWebhookInfo.d.ts +11 -0
  260. package/dist/cjs/api/types/DetachedWebhookInfo.js +5 -0
  261. package/dist/cjs/api/types/DetailedPhoneNumberEnum.d.ts +24 -0
  262. package/dist/cjs/api/types/DetailedPhoneNumberEnum.js +20 -0
  263. package/dist/cjs/api/types/DlcAssignmentStatusEnum.d.ts +20 -0
  264. package/dist/cjs/api/types/DlcAssignmentStatusEnum.js +13 -0
  265. package/dist/cjs/api/types/DlcCampaignStatus.d.ts +55 -0
  266. package/dist/cjs/api/types/DlcCampaignStatus.js +5 -0
  267. package/dist/cjs/api/types/DlcCampaignUseCaseEnum.d.ts +35 -0
  268. package/dist/cjs/api/types/DlcCampaignUseCaseEnum.js +34 -0
  269. package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.d.ts +116 -0
  270. package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.js +5 -0
  271. package/dist/cjs/api/types/EnhancedContact.d.ts +9 -0
  272. package/dist/cjs/api/types/EnhancedContact.js +5 -0
  273. package/dist/cjs/api/types/EnhancedContactItem.d.ts +24 -0
  274. package/dist/cjs/api/types/EnhancedContactItem.js +5 -0
  275. package/dist/cjs/api/types/Error_.d.ts +10 -0
  276. package/dist/cjs/api/types/Error_.js +5 -0
  277. package/dist/cjs/api/types/ExtendedBrand.d.ts +23 -0
  278. package/dist/cjs/api/types/ExtendedBrand.js +5 -0
  279. package/dist/cjs/api/types/ExtendedBrandWithVetting.d.ts +12 -0
  280. package/dist/cjs/api/types/ExtendedBrandWithVetting.js +5 -0
  281. package/dist/cjs/api/types/ExtendedRcsCampaign.d.ts +112 -0
  282. package/dist/cjs/api/types/ExtendedRcsCampaign.js +5 -0
  283. package/dist/cjs/api/types/GetConversationParams.d.ts +18 -0
  284. package/dist/cjs/api/types/GetConversationParams.js +5 -0
  285. package/dist/cjs/api/types/InboundButton.d.ts +11 -0
  286. package/dist/cjs/api/types/InboundButton.js +5 -0
  287. package/dist/cjs/api/types/LinkClickEvent.d.ts +107 -0
  288. package/dist/cjs/api/types/LinkClickEvent.js +5 -0
  289. package/dist/cjs/api/types/LocationShareAction.d.ts +22 -0
  290. package/dist/cjs/api/types/LocationShareAction.js +5 -0
  291. package/dist/cjs/api/types/Message.d.ts +42 -0
  292. package/dist/cjs/api/types/Message.js +5 -0
  293. package/dist/cjs/api/types/MessageContent.d.ts +22 -0
  294. package/dist/cjs/api/types/MessageContent.js +5 -0
  295. package/dist/cjs/api/types/MessageMethodEnum.d.ts +12 -0
  296. package/dist/cjs/api/types/MessageMethodEnum.js +11 -0
  297. package/dist/cjs/api/types/MessageProtocolEnum.d.ts +12 -0
  298. package/dist/cjs/api/types/MessageProtocolEnum.js +11 -0
  299. package/dist/cjs/api/types/MessageSchedule.d.ts +20 -0
  300. package/dist/cjs/api/types/MessageSchedule.js +5 -0
  301. package/dist/cjs/api/types/MessageStatusEnum.d.ts +16 -0
  302. package/dist/cjs/api/types/MessageStatusEnum.js +15 -0
  303. package/dist/cjs/api/types/MessageVolumeEnum.d.ts +20 -0
  304. package/dist/cjs/api/types/MessageVolumeEnum.js +19 -0
  305. package/dist/cjs/api/types/MessagingProfileEnum.d.ts +11 -0
  306. package/dist/cjs/api/types/MessagingProfileEnum.js +10 -0
  307. package/dist/cjs/api/types/MmsContent.d.ts +16 -0
  308. package/dist/cjs/api/types/MmsContent.js +5 -0
  309. package/dist/cjs/api/types/MmsValidationResult.d.ts +41 -0
  310. package/dist/cjs/api/types/MmsValidationResult.js +5 -0
  311. package/dist/cjs/api/types/NullableContact.d.ts +16 -0
  312. package/dist/cjs/api/types/NullableContact.js +5 -0
  313. package/dist/cjs/api/types/NumberFormat.d.ts +19 -0
  314. package/dist/cjs/api/types/NumberFormat.js +5 -0
  315. package/dist/cjs/api/types/OptInMethodEnum.d.ts +13 -0
  316. package/dist/cjs/api/types/OptInMethodEnum.js +12 -0
  317. package/dist/cjs/api/types/OptionalBrandInfo.d.ts +23 -0
  318. package/dist/cjs/api/types/OptionalBrandInfo.js +5 -0
  319. package/dist/cjs/api/types/OptionalContact.d.ts +13 -0
  320. package/dist/cjs/api/types/OptionalContact.js +5 -0
  321. package/dist/cjs/api/types/OptionalContacts.d.ts +16 -0
  322. package/dist/cjs/api/types/OptionalContacts.js +5 -0
  323. package/dist/cjs/api/types/PhoneCapabilities.d.ts +14 -0
  324. package/dist/cjs/api/types/PhoneCapabilities.js +5 -0
  325. package/dist/cjs/api/types/PhoneEnum.d.ts +13 -0
  326. package/dist/cjs/api/types/PhoneEnum.js +10 -0
  327. package/dist/cjs/api/types/PhoneFeatureEnum.d.ts +19 -0
  328. package/dist/cjs/api/types/PhoneFeatureEnum.js +16 -0
  329. package/dist/cjs/api/types/PhoneNumberDetails.d.ts +49 -0
  330. package/dist/cjs/api/types/PhoneNumberDetails.js +5 -0
  331. package/dist/cjs/api/types/PhoneNumberEnum.d.ts +19 -0
  332. package/dist/cjs/api/types/PhoneNumberEnum.js +16 -0
  333. package/dist/cjs/api/types/PhoneNumberStatus.d.ts +21 -0
  334. package/dist/cjs/api/types/PhoneNumberStatus.js +5 -0
  335. package/dist/cjs/api/types/PhoneNumberStatusEnum.d.ts +16 -0
  336. package/dist/cjs/api/types/PhoneNumberStatusEnum.js +11 -0
  337. package/dist/cjs/api/types/ProfileStatusEnum.d.ts +18 -0
  338. package/dist/cjs/api/types/ProfileStatusEnum.js +12 -0
  339. package/dist/cjs/api/types/PurchasedNumber.d.ts +26 -0
  340. package/dist/cjs/api/types/PurchasedNumber.js +5 -0
  341. package/dist/cjs/api/types/Rcs.d.ts +14 -0
  342. package/dist/cjs/api/types/Rcs.js +5 -0
  343. package/dist/cjs/api/types/RcsBase.d.ts +29 -0
  344. package/dist/cjs/api/types/RcsBase.js +5 -0
  345. package/dist/cjs/api/types/RcsButtonCall.d.ts +12 -0
  346. package/dist/cjs/api/types/RcsButtonCall.js +5 -0
  347. package/dist/cjs/api/types/RcsButtonContent.d.ts +25 -0
  348. package/dist/cjs/api/types/RcsButtonContent.js +5 -0
  349. package/dist/cjs/api/types/RcsButtonOpenUrl.d.ts +12 -0
  350. package/dist/cjs/api/types/RcsButtonOpenUrl.js +5 -0
  351. package/dist/cjs/api/types/RcsButtonRequestUserLocation.d.ts +10 -0
  352. package/dist/cjs/api/types/RcsButtonRequestUserLocation.js +5 -0
  353. package/dist/cjs/api/types/RcsButtonScheduleEvent.d.ts +18 -0
  354. package/dist/cjs/api/types/RcsButtonScheduleEvent.js +5 -0
  355. package/dist/cjs/api/types/RcsButtonSendLocation.d.ts +23 -0
  356. package/dist/cjs/api/types/RcsButtonSendLocation.js +5 -0
  357. package/dist/cjs/api/types/RcsButtonTrigger.d.ts +14 -0
  358. package/dist/cjs/api/types/RcsButtonTrigger.js +5 -0
  359. package/dist/cjs/api/types/RcsCampaign.d.ts +106 -0
  360. package/dist/cjs/api/types/RcsCampaign.js +5 -0
  361. package/dist/cjs/api/types/RcsCampaignOptInMethodEnum.d.ts +15 -0
  362. package/dist/cjs/api/types/RcsCampaignOptInMethodEnum.js +14 -0
  363. package/dist/cjs/api/types/RcsCampaignStatus.d.ts +22 -0
  364. package/dist/cjs/api/types/RcsCampaignStatus.js +5 -0
  365. package/dist/cjs/api/types/RcsCampaignUseCaseEnum.d.ts +23 -0
  366. package/dist/cjs/api/types/RcsCampaignUseCaseEnum.js +22 -0
  367. package/dist/cjs/api/types/RcsCard.d.ts +6 -0
  368. package/dist/cjs/api/types/RcsCard.js +5 -0
  369. package/dist/cjs/api/types/RcsCards.d.ts +33 -0
  370. package/dist/cjs/api/types/RcsCards.js +5 -0
  371. package/dist/cjs/api/types/RcsCardsContent.d.ts +32 -0
  372. package/dist/cjs/api/types/RcsCardsContent.js +5 -0
  373. package/dist/cjs/api/types/RcsContent.d.ts +21 -0
  374. package/dist/cjs/api/types/RcsContent.js +5 -0
  375. package/dist/cjs/api/types/RcsMedia.d.ts +14 -0
  376. package/dist/cjs/api/types/RcsMedia.js +5 -0
  377. package/dist/cjs/api/types/RcsMediaContent.d.ts +14 -0
  378. package/dist/cjs/api/types/RcsMediaContent.js +5 -0
  379. package/dist/cjs/api/types/RcsMediaDetailsContent.d.ts +14 -0
  380. package/dist/cjs/api/types/RcsMediaDetailsContent.js +5 -0
  381. package/dist/cjs/api/types/RcsText.d.ts +6 -0
  382. package/dist/cjs/api/types/RcsText.js +5 -0
  383. package/dist/cjs/api/types/RcsTextContent.d.ts +13 -0
  384. package/dist/cjs/api/types/RcsTextContent.js +5 -0
  385. package/dist/cjs/api/types/RcsValidateContent.d.ts +20 -0
  386. package/dist/cjs/api/types/RcsValidateContent.js +5 -0
  387. package/dist/cjs/api/types/RcsValidationResult.d.ts +11 -0
  388. package/dist/cjs/api/types/RcsValidationResult.js +5 -0
  389. package/dist/cjs/api/types/ReactionResult.d.ts +9 -0
  390. package/dist/cjs/api/types/ReactionResult.js +5 -0
  391. package/dist/cjs/api/types/ScheduledMessaage.d.ts +24 -0
  392. package/dist/cjs/api/types/ScheduledMessaage.js +5 -0
  393. package/dist/cjs/api/types/Sender.d.ts +9 -0
  394. package/dist/cjs/api/types/Sender.js +5 -0
  395. package/dist/cjs/api/types/SentMmsDetails.d.ts +17 -0
  396. package/dist/cjs/api/types/SentMmsDetails.js +5 -0
  397. package/dist/cjs/api/types/SentRcsDetails.d.ts +17 -0
  398. package/dist/cjs/api/types/SentRcsDetails.js +5 -0
  399. package/dist/cjs/api/types/SentSmsDetails.d.ts +38 -0
  400. package/dist/cjs/api/types/SentSmsDetails.js +16 -0
  401. package/dist/cjs/api/types/ShortenedUrl.d.ts +16 -0
  402. package/dist/cjs/api/types/ShortenedUrl.js +5 -0
  403. package/dist/cjs/api/types/ShortenedUrlWithClickData.d.ts +12 -0
  404. package/dist/cjs/api/types/ShortenedUrlWithClickData.js +5 -0
  405. package/dist/cjs/api/types/SmsContent.d.ts +10 -0
  406. package/dist/cjs/api/types/SmsContent.js +5 -0
  407. package/dist/cjs/api/types/SmsValidationResult.d.ts +59 -0
  408. package/dist/cjs/api/types/SmsValidationResult.js +5 -0
  409. package/dist/cjs/api/types/SubUseCaseEnum.d.ts +19 -0
  410. package/dist/cjs/api/types/SubUseCaseEnum.js +18 -0
  411. package/dist/cjs/api/types/SubmissionResults.d.ts +7 -0
  412. package/dist/cjs/api/types/SubmissionResults.js +5 -0
  413. package/dist/cjs/api/types/SuccessfulConversationUpdate.d.ts +10 -0
  414. package/dist/cjs/api/types/SuccessfulConversationUpdate.js +5 -0
  415. package/dist/cjs/api/types/TollFreeCampaign.d.ts +37 -0
  416. package/dist/cjs/api/types/TollFreeCampaign.js +5 -0
  417. package/dist/cjs/api/types/TollFreeCampaignStatus.d.ts +46 -0
  418. package/dist/cjs/api/types/TollFreeCampaignStatus.js +5 -0
  419. package/dist/cjs/api/types/TollFreeCampaignUseCaseEnum.d.ts +52 -0
  420. package/dist/cjs/api/types/TollFreeCampaignUseCaseEnum.js +51 -0
  421. package/dist/cjs/api/types/TollFreeCampaignWithExtendedBrandAndStatus.d.ts +18 -0
  422. package/dist/cjs/api/types/TollFreeCampaignWithExtendedBrandAndStatus.js +5 -0
  423. package/dist/cjs/api/types/TollFreeStatusEnum.d.ts +21 -0
  424. package/dist/cjs/api/types/TollFreeStatusEnum.js +14 -0
  425. package/dist/cjs/api/types/Tracking.d.ts +15 -0
  426. package/dist/cjs/api/types/Tracking.js +10 -0
  427. package/dist/cjs/api/types/UpdatedContactId.d.ts +7 -0
  428. package/dist/cjs/api/types/UpdatedContactId.js +5 -0
  429. package/dist/cjs/api/types/UploadResults.d.ts +24 -0
  430. package/dist/cjs/api/types/UploadResults.js +5 -0
  431. package/dist/cjs/api/types/VCardData.d.ts +32 -0
  432. package/dist/cjs/api/types/VCardData.js +5 -0
  433. package/dist/cjs/api/types/ValidateCampaignParams.d.ts +9 -0
  434. package/dist/cjs/api/types/ValidateCampaignParams.js +5 -0
  435. package/dist/cjs/api/types/ValidationErrorDetails.d.ts +11 -0
  436. package/dist/cjs/api/types/ValidationErrorDetails.js +5 -0
  437. package/dist/cjs/api/types/ValidationResults.d.ts +10 -0
  438. package/dist/cjs/api/types/ValidationResults.js +5 -0
  439. package/dist/cjs/api/types/Vcard.d.ts +73 -0
  440. package/dist/cjs/api/types/Vcard.js +5 -0
  441. package/dist/cjs/api/types/VcardAddress.d.ts +38 -0
  442. package/dist/cjs/api/types/VcardAddress.js +21 -0
  443. package/dist/cjs/api/types/VcardContent.d.ts +8 -0
  444. package/dist/cjs/api/types/VcardContent.js +5 -0
  445. package/dist/cjs/api/types/VcardEmail.d.ts +30 -0
  446. package/dist/cjs/api/types/VcardEmail.js +27 -0
  447. package/dist/cjs/api/types/VcardPhone.d.ts +30 -0
  448. package/dist/cjs/api/types/VcardPhone.js +27 -0
  449. package/dist/cjs/api/types/VcardResource.d.ts +13 -0
  450. package/dist/cjs/api/types/VcardResource.js +5 -0
  451. package/dist/cjs/api/types/VettingFeedback.d.ts +13 -0
  452. package/dist/cjs/api/types/VettingFeedback.js +5 -0
  453. package/dist/cjs/api/types/VettingHistory.d.ts +27 -0
  454. package/dist/cjs/api/types/VettingHistory.js +15 -0
  455. package/dist/cjs/api/types/VettingResults.d.ts +7 -0
  456. package/dist/cjs/api/types/VettingResults.js +5 -0
  457. package/dist/cjs/api/types/WebhookEventEnum.d.ts +12 -0
  458. package/dist/cjs/api/types/WebhookEventEnum.js +10 -0
  459. package/dist/cjs/api/types/WebhookResult.d.ts +12 -0
  460. package/dist/cjs/api/types/WebhookResult.js +5 -0
  461. package/dist/cjs/api/types/Webhooks.d.ts +14 -0
  462. package/dist/cjs/api/types/Webhooks.js +5 -0
  463. package/dist/cjs/api/types/ZodError.d.ts +15 -0
  464. package/dist/cjs/api/types/ZodError.js +5 -0
  465. package/dist/cjs/api/types/index.d.ts +125 -25
  466. package/dist/cjs/api/types/index.js +125 -25
  467. package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -2
  468. package/dist/cjs/core/fetcher/Fetcher.js +2 -2
  469. package/dist/cjs/core/fetcher/index.d.ts +5 -5
  470. package/dist/cjs/core/fetcher/index.js +5 -5
  471. package/dist/cjs/core/fetcher/requestWithRetries.js +34 -2
  472. package/dist/cjs/core/headers.d.ts +2 -2
  473. package/dist/cjs/environments.d.ts +1 -1
  474. package/dist/cjs/environments.js +1 -1
  475. package/dist/cjs/index.d.ts +1 -1
  476. package/dist/cjs/index.js +2 -2
  477. package/dist/cjs/version.d.ts +1 -1
  478. package/dist/cjs/version.js +1 -1
  479. package/dist/esm/Client.d.mts +31 -27
  480. package/dist/esm/Client.mjs +43 -95
  481. package/dist/esm/api/errors/InternalServerError.d.mts +2 -1
  482. package/dist/esm/api/errors/NotFoundError.d.mts +9 -0
  483. package/dist/esm/api/errors/NotFoundError.mjs +15 -0
  484. package/dist/esm/api/errors/NotImplementedError.d.mts +9 -0
  485. package/dist/esm/api/errors/NotImplementedError.mjs +15 -0
  486. package/dist/esm/api/errors/PaymentRequiredError.d.mts +2 -1
  487. package/dist/esm/api/errors/UnauthorizedError.d.mts +2 -1
  488. package/dist/esm/api/errors/index.d.mts +2 -1
  489. package/dist/esm/api/errors/index.mjs +2 -1
  490. package/dist/esm/api/index.d.mts +0 -1
  491. package/dist/esm/api/index.mjs +0 -1
  492. package/dist/esm/api/resources/brands/client/Client.d.mts +176 -0
  493. package/dist/esm/api/resources/brands/client/Client.mjs +496 -0
  494. package/dist/esm/api/resources/brands/client/requests/AutofillBrandParams.d.mts +29 -0
  495. package/dist/esm/api/resources/brands/client/requests/BrandsGetRequest.d.mts +15 -0
  496. package/dist/esm/api/resources/brands/client/requests/UpsertBrandParams.d.mts +49 -0
  497. package/dist/esm/api/resources/brands/client/requests/ValidateBrandParams.d.mts +59 -0
  498. package/dist/esm/api/resources/brands/client/requests/VetBrandParams.d.mts +9 -0
  499. package/dist/esm/api/resources/brands/client/requests/index.d.mts +5 -0
  500. package/dist/esm/api/resources/brands/client/requests/index.mjs +1 -0
  501. package/dist/esm/api/resources/brands/index.d.mts +1 -0
  502. package/dist/esm/api/resources/brands/index.mjs +1 -0
  503. package/dist/esm/api/resources/campaigns/client/Client.d.mts +28 -0
  504. package/dist/esm/api/resources/campaigns/client/Client.mjs +23 -0
  505. package/dist/esm/api/resources/campaigns/client/index.d.mts +1 -0
  506. package/dist/esm/api/resources/campaigns/client/index.mjs +1 -0
  507. package/dist/esm/api/resources/campaigns/index.d.mts +2 -0
  508. package/dist/esm/api/resources/campaigns/index.mjs +2 -0
  509. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.d.mts +158 -0
  510. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.mjs +422 -0
  511. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.mts +145 -0
  512. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/index.d.mts +1 -0
  513. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/index.mjs +1 -0
  514. package/dist/esm/api/resources/campaigns/resources/dlc/index.d.mts +1 -0
  515. package/dist/esm/api/resources/campaigns/resources/dlc/index.mjs +1 -0
  516. package/dist/esm/api/resources/campaigns/resources/index.d.mts +8 -0
  517. package/dist/esm/api/resources/campaigns/resources/index.mjs +8 -0
  518. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.d.mts +159 -0
  519. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.mjs +420 -0
  520. package/dist/esm/api/resources/campaigns/resources/rcs/client/index.d.mts +2 -0
  521. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.mts +158 -0
  522. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/index.d.mts +1 -0
  523. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/index.mjs +1 -0
  524. package/dist/esm/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.mts +7 -0
  525. package/dist/esm/api/resources/campaigns/resources/rcs/types/index.d.mts +1 -0
  526. package/dist/esm/api/resources/campaigns/resources/rcs/types/index.mjs +1 -0
  527. package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.d.mts +136 -0
  528. package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.mjs +403 -0
  529. package/dist/esm/api/resources/campaigns/resources/tollFree/client/index.d.mts +2 -0
  530. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.mts +58 -0
  531. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/index.d.mts +1 -0
  532. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/index.mjs +1 -0
  533. package/dist/esm/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.mts +7 -0
  534. package/dist/esm/api/resources/campaigns/resources/tollFree/types/index.d.mts +1 -0
  535. package/dist/esm/api/resources/campaigns/resources/tollFree/types/index.mjs +1 -0
  536. package/dist/esm/api/resources/contacts/client/Client.d.mts +90 -0
  537. package/dist/esm/api/resources/contacts/client/Client.mjs +251 -0
  538. package/dist/esm/api/resources/contacts/client/index.d.mts +2 -0
  539. package/dist/esm/api/resources/contacts/client/index.mjs +1 -0
  540. package/dist/esm/api/resources/contacts/client/requests/ContactsGetRequest.d.mts +17 -0
  541. package/dist/esm/api/resources/contacts/client/requests/CreateContactParams.d.mts +14 -0
  542. package/dist/esm/api/resources/contacts/client/requests/UpdateContactParams.d.mts +18 -0
  543. package/dist/esm/api/resources/contacts/client/requests/index.d.mts +3 -0
  544. package/dist/esm/api/resources/contacts/client/requests/index.mjs +1 -0
  545. package/dist/esm/api/resources/contacts/index.d.mts +1 -0
  546. package/dist/esm/api/resources/contacts/index.mjs +1 -0
  547. package/dist/esm/api/resources/conversations/client/Client.d.mts +93 -0
  548. package/dist/esm/api/resources/conversations/client/Client.mjs +251 -0
  549. package/dist/esm/api/resources/conversations/client/index.d.mts +2 -0
  550. package/dist/esm/api/resources/conversations/client/index.mjs +1 -0
  551. package/dist/esm/api/resources/conversations/client/requests/ListConversationsParams.d.mts +30 -0
  552. package/dist/esm/api/resources/conversations/client/requests/UpdateConversationParams.d.mts +16 -0
  553. package/dist/esm/api/resources/conversations/client/requests/index.d.mts +2 -0
  554. package/dist/esm/api/resources/conversations/client/requests/index.mjs +1 -0
  555. package/dist/esm/api/resources/conversations/index.d.mts +1 -0
  556. package/dist/esm/api/resources/conversations/index.mjs +1 -0
  557. package/dist/esm/api/resources/index.d.mts +16 -8
  558. package/dist/esm/api/resources/index.mjs +16 -8
  559. package/dist/esm/api/resources/message/client/Client.d.mts +22 -0
  560. package/dist/esm/api/resources/message/client/Client.mjs +13 -0
  561. package/dist/esm/api/resources/message/client/index.d.mts +1 -0
  562. package/dist/esm/api/resources/message/client/index.mjs +1 -0
  563. package/dist/esm/api/resources/message/index.d.mts +2 -0
  564. package/dist/esm/api/resources/message/index.mjs +2 -0
  565. package/dist/esm/api/resources/message/resources/index.d.mts +1 -0
  566. package/dist/esm/api/resources/message/resources/index.mjs +1 -0
  567. package/dist/esm/api/resources/message/resources/sms/client/Client.d.mts +52 -0
  568. package/dist/esm/api/resources/message/resources/sms/client/Client.mjs +98 -0
  569. package/dist/esm/api/resources/message/resources/sms/client/index.d.mts +1 -0
  570. package/dist/esm/api/resources/message/resources/sms/client/index.mjs +1 -0
  571. package/dist/esm/api/resources/message/resources/sms/index.d.mts +1 -0
  572. package/dist/esm/api/resources/message/resources/sms/index.mjs +1 -0
  573. package/dist/esm/api/resources/messages/client/Client.d.mts +81 -0
  574. package/dist/esm/api/resources/messages/client/Client.mjs +185 -0
  575. package/dist/esm/api/resources/messages/client/index.d.mts +2 -0
  576. package/dist/esm/api/resources/messages/client/index.mjs +1 -0
  577. package/dist/esm/api/resources/messages/client/requests/ReactMessageParams.d.mts +36 -0
  578. package/dist/esm/api/resources/messages/client/requests/index.d.mts +1 -0
  579. package/dist/esm/api/resources/messages/client/requests/index.mjs +1 -0
  580. package/dist/esm/api/resources/messages/index.d.mts +2 -0
  581. package/dist/esm/api/resources/messages/index.mjs +2 -0
  582. package/dist/esm/api/resources/messages/resources/index.d.mts +5 -0
  583. package/dist/esm/api/resources/messages/resources/index.mjs +5 -0
  584. package/dist/esm/api/resources/messages/resources/mms/client/Client.d.mts +53 -0
  585. package/dist/esm/api/resources/messages/resources/mms/client/Client.mjs +99 -0
  586. package/dist/esm/api/resources/messages/resources/mms/client/index.d.mts +1 -0
  587. package/dist/esm/api/resources/messages/resources/mms/client/index.mjs +1 -0
  588. package/dist/esm/api/resources/messages/resources/mms/index.d.mts +1 -0
  589. package/dist/esm/api/resources/messages/resources/mms/index.mjs +1 -0
  590. package/dist/esm/api/resources/messages/resources/rcs/client/Client.d.mts +57 -0
  591. package/dist/esm/api/resources/messages/resources/rcs/client/Client.mjs +103 -0
  592. package/dist/esm/api/resources/messages/resources/rcs/client/index.d.mts +1 -0
  593. package/dist/esm/api/resources/messages/resources/rcs/client/index.mjs +1 -0
  594. package/dist/esm/api/resources/messages/resources/rcs/index.d.mts +1 -0
  595. package/dist/esm/api/resources/messages/resources/rcs/index.mjs +1 -0
  596. package/dist/esm/api/resources/messages/resources/send/client/Client.d.mts +110 -0
  597. package/dist/esm/api/resources/messages/resources/send/client/Client.mjs +274 -0
  598. package/dist/esm/api/resources/messages/resources/send/client/index.d.mts +2 -0
  599. package/dist/esm/api/resources/messages/resources/send/client/index.mjs +1 -0
  600. package/dist/esm/api/resources/messages/resources/send/client/requests/Mms.d.mts +66 -0
  601. package/dist/esm/api/resources/messages/resources/send/client/requests/Sms.d.mts +38 -0
  602. package/dist/esm/api/resources/messages/resources/send/client/requests/index.d.mts +2 -0
  603. package/dist/esm/api/resources/messages/resources/send/client/requests/index.mjs +1 -0
  604. package/dist/esm/api/resources/messages/resources/send/index.d.mts +2 -0
  605. package/dist/esm/api/resources/messages/resources/send/index.mjs +2 -0
  606. package/dist/esm/api/resources/messages/resources/send/types/SendMmsResponse.d.mts +5 -0
  607. package/dist/esm/api/resources/messages/resources/send/types/SendRcsResponse.d.mts +5 -0
  608. package/dist/esm/api/resources/messages/resources/send/types/SendSmsResponse.d.mts +5 -0
  609. package/dist/esm/api/resources/messages/resources/send/types/index.d.mts +3 -0
  610. package/dist/esm/api/resources/messages/resources/send/types/index.mjs +3 -0
  611. package/dist/esm/api/resources/phoneNumbers/client/Client.d.mts +117 -0
  612. package/dist/esm/api/resources/phoneNumbers/client/Client.mjs +281 -0
  613. package/dist/esm/api/resources/phoneNumbers/client/index.d.mts +2 -0
  614. package/dist/esm/api/resources/phoneNumbers/client/index.mjs +1 -0
  615. package/dist/esm/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.d.mts +19 -0
  616. package/dist/esm/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.d.mts +76 -0
  617. package/dist/esm/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.mjs +10 -0
  618. package/dist/esm/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.mts +76 -0
  619. package/dist/esm/api/resources/phoneNumbers/client/requests/index.d.mts +3 -0
  620. package/dist/esm/api/resources/phoneNumbers/client/requests/index.mjs +1 -0
  621. package/dist/esm/api/resources/phoneNumbers/index.d.mts +3 -0
  622. package/dist/esm/api/resources/phoneNumbers/index.mjs +3 -0
  623. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.d.mts +73 -0
  624. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.mjs +176 -0
  625. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/index.d.mts +2 -0
  626. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/index.mjs +1 -0
  627. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.mts +19 -0
  628. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.d.mts +13 -0
  629. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/index.d.mts +2 -0
  630. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/index.mjs +1 -0
  631. package/dist/esm/api/resources/phoneNumbers/resources/campaign/index.d.mts +1 -0
  632. package/dist/esm/api/resources/phoneNumbers/resources/campaign/index.mjs +1 -0
  633. package/dist/esm/api/resources/phoneNumbers/resources/index.d.mts +3 -0
  634. package/dist/esm/api/resources/phoneNumbers/resources/index.mjs +3 -0
  635. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.d.mts +80 -0
  636. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.mjs +182 -0
  637. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/index.d.mts +1 -0
  638. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/index.mjs +1 -0
  639. package/dist/esm/api/resources/phoneNumbers/resources/webhook/index.d.mts +1 -0
  640. package/dist/esm/api/resources/phoneNumbers/resources/webhook/index.mjs +1 -0
  641. package/dist/esm/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.mts +5 -0
  642. package/dist/esm/api/resources/phoneNumbers/types/index.d.mts +1 -0
  643. package/dist/esm/api/resources/phoneNumbers/types/index.mjs +1 -0
  644. package/dist/esm/api/resources/status/client/Client.d.mts +22 -0
  645. package/dist/esm/api/resources/status/client/Client.mjs +13 -0
  646. package/dist/esm/api/resources/status/client/index.d.mts +1 -0
  647. package/dist/esm/api/resources/status/client/index.mjs +1 -0
  648. package/dist/esm/api/resources/status/index.d.mts +2 -0
  649. package/dist/esm/api/resources/status/index.mjs +2 -0
  650. package/dist/esm/api/resources/status/resources/get/client/Client.d.mts +122 -0
  651. package/dist/esm/api/resources/status/resources/get/client/Client.mjs +385 -0
  652. package/dist/esm/api/resources/status/resources/get/client/index.d.mts +1 -0
  653. package/dist/esm/api/resources/status/resources/get/client/index.mjs +1 -0
  654. package/dist/esm/api/resources/status/resources/get/index.d.mts +1 -0
  655. package/dist/esm/api/resources/status/resources/get/index.mjs +1 -0
  656. package/dist/esm/api/resources/status/resources/index.d.mts +1 -0
  657. package/dist/esm/api/resources/status/resources/index.mjs +1 -0
  658. package/dist/esm/api/resources/tools/client/Client.d.mts +10 -53
  659. package/dist/esm/api/resources/tools/client/Client.mjs +12 -157
  660. package/dist/esm/api/resources/tools/client/index.d.mts +0 -1
  661. package/dist/esm/api/resources/tools/client/index.mjs +1 -1
  662. package/dist/esm/api/resources/tools/index.d.mts +1 -1
  663. package/dist/esm/api/resources/tools/index.mjs +1 -1
  664. package/dist/esm/api/resources/tools/resources/contactCard/client/Client.d.mts +112 -0
  665. package/dist/esm/api/resources/tools/resources/contactCard/client/Client.mjs +211 -0
  666. package/dist/esm/api/resources/tools/resources/contactCard/client/index.d.mts +2 -0
  667. package/dist/esm/api/resources/tools/resources/contactCard/client/index.mjs +1 -0
  668. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.mts +24 -0
  669. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.mts +57 -0
  670. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/index.d.mts +2 -0
  671. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/index.mjs +1 -0
  672. package/dist/esm/api/resources/tools/resources/contactCard/index.d.mts +1 -0
  673. package/dist/esm/api/resources/tools/resources/contactCard/index.mjs +1 -0
  674. package/dist/esm/api/resources/tools/resources/file/client/Client.d.mts +59 -0
  675. package/dist/esm/api/resources/tools/resources/file/client/Client.mjs +105 -0
  676. package/dist/esm/api/resources/tools/resources/file/client/index.d.mts +2 -0
  677. package/dist/esm/api/resources/tools/resources/file/client/index.mjs +1 -0
  678. package/dist/esm/api/resources/tools/resources/file/client/requests/UploadFileParams.d.mts +56 -0
  679. package/dist/esm/api/resources/tools/resources/file/client/requests/index.d.mts +1 -0
  680. package/dist/esm/api/resources/tools/resources/file/client/requests/index.mjs +1 -0
  681. package/dist/esm/api/resources/tools/resources/file/index.d.mts +1 -0
  682. package/dist/esm/api/resources/tools/resources/file/index.mjs +1 -0
  683. package/dist/esm/api/resources/tools/resources/index.d.mts +6 -0
  684. package/dist/esm/api/resources/tools/resources/index.mjs +6 -0
  685. package/dist/esm/api/resources/tools/resources/url/client/Client.d.mts +92 -0
  686. package/dist/esm/api/resources/tools/resources/url/client/Client.mjs +241 -0
  687. package/dist/esm/api/resources/tools/resources/url/client/index.d.mts +2 -0
  688. package/dist/esm/api/resources/tools/resources/url/client/index.mjs +1 -0
  689. package/dist/esm/api/resources/tools/resources/url/client/requests/CreateUrlParams.d.mts +18 -0
  690. package/dist/esm/api/resources/tools/resources/url/client/requests/UpdateUrlParams.d.mts +15 -0
  691. package/dist/esm/api/resources/tools/resources/url/client/requests/index.d.mts +2 -0
  692. package/dist/esm/api/resources/tools/resources/url/client/requests/index.mjs +1 -0
  693. package/dist/esm/api/resources/tools/resources/url/index.d.mts +1 -0
  694. package/dist/esm/api/resources/tools/resources/url/index.mjs +1 -0
  695. package/dist/esm/api/resources/webhooks/client/Client.d.mts +52 -0
  696. package/dist/esm/api/resources/webhooks/client/Client.mjs +98 -0
  697. package/dist/esm/api/resources/webhooks/client/index.d.mts +2 -0
  698. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  699. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookParams.d.mts +13 -0
  700. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +1 -0
  701. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  702. package/dist/esm/api/resources/webhooks/index.d.mts +1 -0
  703. package/dist/esm/api/resources/webhooks/index.mjs +1 -0
  704. package/dist/esm/api/types/AdvancedPhoneInformation.d.mts +161 -0
  705. package/dist/esm/api/types/AdvancedPhoneInformation.mjs +14 -0
  706. package/dist/esm/api/types/AttachWebhookParams.d.mts +22 -0
  707. package/dist/esm/api/types/AttachedPhoneNumberResult.d.mts +42 -0
  708. package/dist/esm/api/types/AutofillCampaignParams.d.mts +9 -0
  709. package/dist/esm/api/types/AutofillDlcCampaignResponse.d.mts +104 -0
  710. package/dist/esm/api/types/BadRequestErrorBody.d.mts +5 -3
  711. package/dist/esm/api/types/BasicPhoneInformation.d.mts +53 -0
  712. package/dist/esm/api/types/BrandStatus.d.mts +23 -0
  713. package/dist/esm/api/types/BrandStatusEnum.d.mts +21 -0
  714. package/dist/esm/api/types/BrandStatusEnum.mjs +11 -0
  715. package/dist/esm/api/types/CampaignEnum.d.mts +15 -0
  716. package/dist/esm/api/types/CampaignEnum.mjs +8 -0
  717. package/dist/esm/api/types/CampaignQuery.d.mts +12 -0
  718. package/dist/esm/api/types/CampaignQuery.mjs +4 -0
  719. package/dist/esm/api/types/CampaignSubmissionResult.d.mts +7 -0
  720. package/dist/esm/api/types/CampaignSubmissionResult.mjs +4 -0
  721. package/dist/esm/api/types/CampaignValidationResult.d.mts +22 -0
  722. package/dist/esm/api/types/CampaignValidationResult.mjs +4 -0
  723. package/dist/esm/api/types/ClickAction.d.mts +28 -0
  724. package/dist/esm/api/types/ClickAction.mjs +4 -0
  725. package/dist/esm/api/types/CompanySectorEnum.d.mts +26 -0
  726. package/dist/esm/api/types/CompanySectorEnum.mjs +22 -0
  727. package/dist/esm/api/types/CompanyTypeEnum.d.mts +14 -0
  728. package/dist/esm/api/types/CompanyTypeEnum.mjs +10 -0
  729. package/dist/esm/api/types/ConfiguredWebhook.d.mts +35 -0
  730. package/dist/esm/api/types/ConfiguredWebhook.mjs +4 -0
  731. package/dist/esm/api/types/Contact.d.mts +17 -0
  732. package/dist/esm/api/types/Contact.mjs +4 -0
  733. package/dist/esm/api/types/ContactId.d.mts +7 -0
  734. package/dist/esm/api/types/ContactId.mjs +4 -0
  735. package/dist/esm/api/types/Conversation.d.mts +63 -0
  736. package/dist/esm/api/types/Conversation.mjs +4 -0
  737. package/dist/esm/api/types/ConversationList.d.mts +14 -0
  738. package/dist/esm/api/types/ConversationList.mjs +4 -0
  739. package/dist/esm/api/types/CreateUrlOptions.d.mts +11 -0
  740. package/dist/esm/api/types/CreateUrlOptions.mjs +4 -0
  741. package/dist/esm/api/types/DetachedPhoneNumberResult.d.mts +42 -0
  742. package/dist/esm/api/types/DetachedPhoneNumberResult.mjs +4 -0
  743. package/dist/esm/api/types/DetachedWebhookInfo.d.mts +11 -0
  744. package/dist/esm/api/types/DetachedWebhookInfo.mjs +4 -0
  745. package/dist/esm/api/types/DetailedPhoneNumberEnum.d.mts +24 -0
  746. package/dist/esm/api/types/DetailedPhoneNumberEnum.mjs +17 -0
  747. package/dist/esm/api/types/DlcAssignmentStatusEnum.d.mts +20 -0
  748. package/dist/esm/api/types/DlcAssignmentStatusEnum.mjs +10 -0
  749. package/dist/esm/api/types/DlcCampaignStatus.d.mts +55 -0
  750. package/dist/esm/api/types/DlcCampaignStatus.mjs +4 -0
  751. package/dist/esm/api/types/DlcCampaignUseCaseEnum.d.mts +35 -0
  752. package/dist/esm/api/types/DlcCampaignUseCaseEnum.mjs +31 -0
  753. package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.d.mts +116 -0
  754. package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.mjs +4 -0
  755. package/dist/esm/api/types/EnhancedContact.d.mts +9 -0
  756. package/dist/esm/api/types/EnhancedContact.mjs +4 -0
  757. package/dist/esm/api/types/EnhancedContactItem.d.mts +24 -0
  758. package/dist/esm/api/types/EnhancedContactItem.mjs +4 -0
  759. package/dist/esm/api/types/Error_.d.mts +10 -0
  760. package/dist/esm/api/types/Error_.mjs +4 -0
  761. package/dist/esm/api/types/ExtendedBrand.d.mts +23 -0
  762. package/dist/esm/api/types/ExtendedBrand.mjs +4 -0
  763. package/dist/esm/api/types/ExtendedBrandWithVetting.d.mts +12 -0
  764. package/dist/esm/api/types/ExtendedBrandWithVetting.mjs +4 -0
  765. package/dist/esm/api/types/ExtendedRcsCampaign.d.mts +112 -0
  766. package/dist/esm/api/types/ExtendedRcsCampaign.mjs +4 -0
  767. package/dist/esm/api/types/GetConversationParams.d.mts +18 -0
  768. package/dist/esm/api/types/GetConversationParams.mjs +4 -0
  769. package/dist/esm/api/types/InboundButton.d.mts +11 -0
  770. package/dist/esm/api/types/InboundButton.mjs +4 -0
  771. package/dist/esm/api/types/LinkClickEvent.d.mts +107 -0
  772. package/dist/esm/api/types/LinkClickEvent.mjs +4 -0
  773. package/dist/esm/api/types/LocationShareAction.d.mts +22 -0
  774. package/dist/esm/api/types/LocationShareAction.mjs +4 -0
  775. package/dist/esm/api/types/Message.d.mts +42 -0
  776. package/dist/esm/api/types/Message.mjs +4 -0
  777. package/dist/esm/api/types/MessageContent.d.mts +22 -0
  778. package/dist/esm/api/types/MessageContent.mjs +4 -0
  779. package/dist/esm/api/types/MessageMethodEnum.d.mts +12 -0
  780. package/dist/esm/api/types/MessageMethodEnum.mjs +8 -0
  781. package/dist/esm/api/types/MessageProtocolEnum.d.mts +12 -0
  782. package/dist/esm/api/types/MessageProtocolEnum.mjs +8 -0
  783. package/dist/esm/api/types/MessageSchedule.d.mts +20 -0
  784. package/dist/esm/api/types/MessageSchedule.mjs +4 -0
  785. package/dist/esm/api/types/MessageStatusEnum.d.mts +16 -0
  786. package/dist/esm/api/types/MessageStatusEnum.mjs +12 -0
  787. package/dist/esm/api/types/MessageVolumeEnum.d.mts +20 -0
  788. package/dist/esm/api/types/MessageVolumeEnum.mjs +16 -0
  789. package/dist/esm/api/types/MessagingProfileEnum.d.mts +11 -0
  790. package/dist/esm/api/types/MessagingProfileEnum.mjs +7 -0
  791. package/dist/esm/api/types/MmsContent.d.mts +16 -0
  792. package/dist/esm/api/types/MmsContent.mjs +4 -0
  793. package/dist/esm/api/types/MmsValidationResult.d.mts +41 -0
  794. package/dist/esm/api/types/MmsValidationResult.mjs +4 -0
  795. package/dist/esm/api/types/NullableContact.d.mts +16 -0
  796. package/dist/esm/api/types/NullableContact.mjs +4 -0
  797. package/dist/esm/api/types/NumberFormat.d.mts +19 -0
  798. package/dist/esm/api/types/NumberFormat.mjs +4 -0
  799. package/dist/esm/api/types/OptInMethodEnum.d.mts +13 -0
  800. package/dist/esm/api/types/OptInMethodEnum.mjs +9 -0
  801. package/dist/esm/api/types/OptionalBrandInfo.d.mts +23 -0
  802. package/dist/esm/api/types/OptionalBrandInfo.mjs +4 -0
  803. package/dist/esm/api/types/OptionalContact.d.mts +13 -0
  804. package/dist/esm/api/types/OptionalContact.mjs +4 -0
  805. package/dist/esm/api/types/OptionalContacts.d.mts +16 -0
  806. package/dist/esm/api/types/OptionalContacts.mjs +4 -0
  807. package/dist/esm/api/types/PhoneCapabilities.d.mts +14 -0
  808. package/dist/esm/api/types/PhoneCapabilities.mjs +4 -0
  809. package/dist/esm/api/types/PhoneEnum.d.mts +13 -0
  810. package/dist/esm/api/types/PhoneEnum.mjs +7 -0
  811. package/dist/esm/api/types/PhoneFeatureEnum.d.mts +19 -0
  812. package/dist/esm/api/types/PhoneFeatureEnum.mjs +13 -0
  813. package/dist/esm/api/types/PhoneNumberDetails.d.mts +49 -0
  814. package/dist/esm/api/types/PhoneNumberDetails.mjs +4 -0
  815. package/dist/esm/api/types/PhoneNumberEnum.d.mts +19 -0
  816. package/dist/esm/api/types/PhoneNumberEnum.mjs +13 -0
  817. package/dist/esm/api/types/PhoneNumberStatus.d.mts +21 -0
  818. package/dist/esm/api/types/PhoneNumberStatus.mjs +4 -0
  819. package/dist/esm/api/types/PhoneNumberStatusEnum.d.mts +16 -0
  820. package/dist/esm/api/types/PhoneNumberStatusEnum.mjs +8 -0
  821. package/dist/esm/api/types/ProfileStatusEnum.d.mts +18 -0
  822. package/dist/esm/api/types/ProfileStatusEnum.mjs +9 -0
  823. package/dist/esm/api/types/PurchasedNumber.d.mts +26 -0
  824. package/dist/esm/api/types/PurchasedNumber.mjs +4 -0
  825. package/dist/esm/api/types/Rcs.d.mts +14 -0
  826. package/dist/esm/api/types/Rcs.mjs +4 -0
  827. package/dist/esm/api/types/RcsBase.d.mts +29 -0
  828. package/dist/esm/api/types/RcsBase.mjs +4 -0
  829. package/dist/esm/api/types/RcsButtonCall.d.mts +12 -0
  830. package/dist/esm/api/types/RcsButtonCall.mjs +4 -0
  831. package/dist/esm/api/types/RcsButtonContent.d.mts +25 -0
  832. package/dist/esm/api/types/RcsButtonContent.mjs +4 -0
  833. package/dist/esm/api/types/RcsButtonOpenUrl.d.mts +12 -0
  834. package/dist/esm/api/types/RcsButtonOpenUrl.mjs +4 -0
  835. package/dist/esm/api/types/RcsButtonRequestUserLocation.d.mts +10 -0
  836. package/dist/esm/api/types/RcsButtonRequestUserLocation.mjs +4 -0
  837. package/dist/esm/api/types/RcsButtonScheduleEvent.d.mts +18 -0
  838. package/dist/esm/api/types/RcsButtonScheduleEvent.mjs +4 -0
  839. package/dist/esm/api/types/RcsButtonSendLocation.d.mts +23 -0
  840. package/dist/esm/api/types/RcsButtonSendLocation.mjs +4 -0
  841. package/dist/esm/api/types/RcsButtonTrigger.d.mts +14 -0
  842. package/dist/esm/api/types/RcsButtonTrigger.mjs +4 -0
  843. package/dist/esm/api/types/RcsCampaign.d.mts +106 -0
  844. package/dist/esm/api/types/RcsCampaign.mjs +4 -0
  845. package/dist/esm/api/types/RcsCampaignOptInMethodEnum.d.mts +15 -0
  846. package/dist/esm/api/types/RcsCampaignOptInMethodEnum.mjs +11 -0
  847. package/dist/esm/api/types/RcsCampaignStatus.d.mts +22 -0
  848. package/dist/esm/api/types/RcsCampaignStatus.mjs +4 -0
  849. package/dist/esm/api/types/RcsCampaignUseCaseEnum.d.mts +23 -0
  850. package/dist/esm/api/types/RcsCampaignUseCaseEnum.mjs +19 -0
  851. package/dist/esm/api/types/RcsCard.d.mts +6 -0
  852. package/dist/esm/api/types/RcsCard.mjs +4 -0
  853. package/dist/esm/api/types/RcsCards.d.mts +33 -0
  854. package/dist/esm/api/types/RcsCards.mjs +4 -0
  855. package/dist/esm/api/types/RcsCardsContent.d.mts +32 -0
  856. package/dist/esm/api/types/RcsCardsContent.mjs +4 -0
  857. package/dist/esm/api/types/RcsContent.d.mts +21 -0
  858. package/dist/esm/api/types/RcsContent.mjs +4 -0
  859. package/dist/esm/api/types/RcsMedia.d.mts +14 -0
  860. package/dist/esm/api/types/RcsMedia.mjs +4 -0
  861. package/dist/esm/api/types/RcsMediaContent.d.mts +14 -0
  862. package/dist/esm/api/types/RcsMediaContent.mjs +4 -0
  863. package/dist/esm/api/types/RcsMediaDetailsContent.d.mts +14 -0
  864. package/dist/esm/api/types/RcsMediaDetailsContent.mjs +4 -0
  865. package/dist/esm/api/types/RcsText.d.mts +6 -0
  866. package/dist/esm/api/types/RcsText.mjs +4 -0
  867. package/dist/esm/api/types/RcsTextContent.d.mts +13 -0
  868. package/dist/esm/api/types/RcsTextContent.mjs +4 -0
  869. package/dist/esm/api/types/RcsValidateContent.d.mts +20 -0
  870. package/dist/esm/api/types/RcsValidateContent.mjs +4 -0
  871. package/dist/esm/api/types/RcsValidationResult.d.mts +11 -0
  872. package/dist/esm/api/types/RcsValidationResult.mjs +4 -0
  873. package/dist/esm/api/types/ReactionResult.d.mts +9 -0
  874. package/dist/esm/api/types/ReactionResult.mjs +4 -0
  875. package/dist/esm/api/types/ScheduledMessaage.d.mts +24 -0
  876. package/dist/esm/api/types/ScheduledMessaage.mjs +4 -0
  877. package/dist/esm/api/types/Sender.d.mts +9 -0
  878. package/dist/esm/api/types/Sender.mjs +4 -0
  879. package/dist/esm/api/types/SentMmsDetails.d.mts +17 -0
  880. package/dist/esm/api/types/SentMmsDetails.mjs +4 -0
  881. package/dist/esm/api/types/SentRcsDetails.d.mts +17 -0
  882. package/dist/esm/api/types/SentRcsDetails.mjs +4 -0
  883. package/dist/esm/api/types/SentSmsDetails.d.mts +38 -0
  884. package/dist/esm/api/types/SentSmsDetails.mjs +13 -0
  885. package/dist/esm/api/types/ShortenedUrl.d.mts +16 -0
  886. package/dist/esm/api/types/ShortenedUrl.mjs +4 -0
  887. package/dist/esm/api/types/ShortenedUrlWithClickData.d.mts +12 -0
  888. package/dist/esm/api/types/ShortenedUrlWithClickData.mjs +4 -0
  889. package/dist/esm/api/types/SmsContent.d.mts +10 -0
  890. package/dist/esm/api/types/SmsContent.mjs +4 -0
  891. package/dist/esm/api/types/SmsValidationResult.d.mts +59 -0
  892. package/dist/esm/api/types/SmsValidationResult.mjs +4 -0
  893. package/dist/esm/api/types/SubUseCaseEnum.d.mts +19 -0
  894. package/dist/esm/api/types/SubUseCaseEnum.mjs +15 -0
  895. package/dist/esm/api/types/SubmissionResults.d.mts +7 -0
  896. package/dist/esm/api/types/SubmissionResults.mjs +4 -0
  897. package/dist/esm/api/types/SuccessfulConversationUpdate.d.mts +10 -0
  898. package/dist/esm/api/types/SuccessfulConversationUpdate.mjs +4 -0
  899. package/dist/esm/api/types/TollFreeCampaign.d.mts +37 -0
  900. package/dist/esm/api/types/TollFreeCampaign.mjs +4 -0
  901. package/dist/esm/api/types/TollFreeCampaignStatus.d.mts +46 -0
  902. package/dist/esm/api/types/TollFreeCampaignStatus.mjs +4 -0
  903. package/dist/esm/api/types/TollFreeCampaignUseCaseEnum.d.mts +52 -0
  904. package/dist/esm/api/types/TollFreeCampaignUseCaseEnum.mjs +48 -0
  905. package/dist/esm/api/types/TollFreeCampaignWithExtendedBrandAndStatus.d.mts +18 -0
  906. package/dist/esm/api/types/TollFreeCampaignWithExtendedBrandAndStatus.mjs +4 -0
  907. package/dist/esm/api/types/TollFreeStatusEnum.d.mts +21 -0
  908. package/dist/esm/api/types/TollFreeStatusEnum.mjs +11 -0
  909. package/dist/esm/api/types/Tracking.d.mts +15 -0
  910. package/dist/esm/api/types/Tracking.mjs +7 -0
  911. package/dist/esm/api/types/UpdatedContactId.d.mts +7 -0
  912. package/dist/esm/api/types/UpdatedContactId.mjs +4 -0
  913. package/dist/esm/api/types/UploadResults.d.mts +24 -0
  914. package/dist/esm/api/types/UploadResults.mjs +4 -0
  915. package/dist/esm/api/types/VCardData.d.mts +32 -0
  916. package/dist/esm/api/types/VCardData.mjs +4 -0
  917. package/dist/esm/api/types/ValidateCampaignParams.d.mts +9 -0
  918. package/dist/esm/api/types/ValidateCampaignParams.mjs +4 -0
  919. package/dist/esm/api/types/ValidationErrorDetails.d.mts +11 -0
  920. package/dist/esm/api/types/ValidationErrorDetails.mjs +4 -0
  921. package/dist/esm/api/types/ValidationResults.d.mts +10 -0
  922. package/dist/esm/api/types/ValidationResults.mjs +4 -0
  923. package/dist/esm/api/types/Vcard.d.mts +73 -0
  924. package/dist/esm/api/types/Vcard.mjs +4 -0
  925. package/dist/esm/api/types/VcardAddress.d.mts +38 -0
  926. package/dist/esm/api/types/VcardAddress.mjs +18 -0
  927. package/dist/esm/api/types/VcardContent.d.mts +8 -0
  928. package/dist/esm/api/types/VcardContent.mjs +4 -0
  929. package/dist/esm/api/types/VcardEmail.d.mts +30 -0
  930. package/dist/esm/api/types/VcardEmail.mjs +24 -0
  931. package/dist/esm/api/types/VcardPhone.d.mts +30 -0
  932. package/dist/esm/api/types/VcardPhone.mjs +24 -0
  933. package/dist/esm/api/types/VcardResource.d.mts +13 -0
  934. package/dist/esm/api/types/VcardResource.mjs +4 -0
  935. package/dist/esm/api/types/VettingFeedback.d.mts +13 -0
  936. package/dist/esm/api/types/VettingFeedback.mjs +4 -0
  937. package/dist/esm/api/types/VettingHistory.d.mts +27 -0
  938. package/dist/esm/api/types/VettingHistory.mjs +12 -0
  939. package/dist/esm/api/types/VettingResults.d.mts +7 -0
  940. package/dist/esm/api/types/VettingResults.mjs +4 -0
  941. package/dist/esm/api/types/WebhookEventEnum.d.mts +12 -0
  942. package/dist/esm/api/types/WebhookEventEnum.mjs +7 -0
  943. package/dist/esm/api/types/WebhookResult.d.mts +12 -0
  944. package/dist/esm/api/types/WebhookResult.mjs +4 -0
  945. package/dist/esm/api/types/Webhooks.d.mts +14 -0
  946. package/dist/esm/api/types/Webhooks.mjs +4 -0
  947. package/dist/esm/api/types/ZodError.d.mts +15 -0
  948. package/dist/esm/api/types/ZodError.mjs +4 -0
  949. package/dist/esm/api/types/index.d.mts +125 -25
  950. package/dist/esm/api/types/index.mjs +125 -25
  951. package/dist/esm/core/fetcher/Fetcher.d.mts +2 -2
  952. package/dist/esm/core/fetcher/Fetcher.mjs +2 -2
  953. package/dist/esm/core/fetcher/index.d.mts +5 -5
  954. package/dist/esm/core/fetcher/index.mjs +2 -2
  955. package/dist/esm/core/fetcher/requestWithRetries.mjs +34 -2
  956. package/dist/esm/core/headers.d.mts +2 -2
  957. package/dist/esm/environments.d.mts +1 -1
  958. package/dist/esm/environments.mjs +1 -1
  959. package/dist/esm/index.d.mts +1 -1
  960. package/dist/esm/index.mjs +1 -1
  961. package/dist/esm/version.d.mts +1 -1
  962. package/dist/esm/version.mjs +1 -1
  963. package/package.json +1 -1
  964. package/reference.md +3328 -66
  965. package/dist/cjs/api/client/index.d.ts +0 -1
  966. package/dist/cjs/api/client/requests/GetRcsFunctionalityRequest.d.ts +0 -13
  967. package/dist/cjs/api/client/requests/index.d.ts +0 -1
  968. package/dist/cjs/api/errors/ForbiddenError.d.ts +0 -8
  969. package/dist/cjs/api/errors/ForbiddenError.js +0 -52
  970. package/dist/cjs/api/resources/company/client/Client.d.ts +0 -81
  971. package/dist/cjs/api/resources/company/client/Client.js +0 -274
  972. package/dist/cjs/api/resources/company/client/requests/CompanyGetRequest.d.ts +0 -17
  973. package/dist/cjs/api/resources/company/client/requests/CompanyUpdateRequest.d.ts +0 -17
  974. package/dist/cjs/api/resources/company/client/requests/index.d.ts +0 -2
  975. package/dist/cjs/api/resources/company/types/CompanyRegisterRequest.d.ts +0 -19
  976. package/dist/cjs/api/resources/company/types/CompanyRegisterResponse.d.ts +0 -12
  977. package/dist/cjs/api/resources/company/types/CompanyUpdateResponse.d.ts +0 -12
  978. package/dist/cjs/api/resources/company/types/index.d.ts +0 -3
  979. package/dist/cjs/api/resources/company/types/index.js +0 -19
  980. package/dist/cjs/api/resources/send/client/Client.d.ts +0 -97
  981. package/dist/cjs/api/resources/send/client/Client.js +0 -294
  982. package/dist/cjs/api/resources/send/client/requests/Rcs.d.ts +0 -62
  983. package/dist/cjs/api/resources/send/client/requests/SendMmsRequest.d.ts +0 -23
  984. package/dist/cjs/api/resources/send/client/requests/SendSmsRequest.d.ts +0 -21
  985. package/dist/cjs/api/resources/send/client/requests/index.d.ts +0 -3
  986. package/dist/cjs/api/resources/send/types/SendMmsResponse.d.ts +0 -9
  987. package/dist/cjs/api/resources/send/types/SendRcsResponse.d.ts +0 -9
  988. package/dist/cjs/api/resources/send/types/SendSmsResponse.d.ts +0 -9
  989. package/dist/cjs/api/resources/send/types/index.d.ts +0 -3
  990. package/dist/cjs/api/resources/send/types/index.js +0 -19
  991. package/dist/cjs/api/resources/tools/client/requests/ToolsShortenUrlRequest.d.ts +0 -15
  992. package/dist/cjs/api/resources/tools/client/requests/ToolsUploadUrlRequest.d.ts +0 -23
  993. package/dist/cjs/api/resources/tools/client/requests/index.d.ts +0 -2
  994. package/dist/cjs/api/resources/tools/types/ToolsShortenUrlResponse.d.ts +0 -9
  995. package/dist/cjs/api/resources/tools/types/ToolsUploadUrlResponse.d.ts +0 -9
  996. package/dist/cjs/api/resources/tools/types/index.d.ts +0 -2
  997. package/dist/cjs/api/resources/tools/types/index.js +0 -18
  998. package/dist/cjs/api/types/Action.d.ts +0 -46
  999. package/dist/cjs/api/types/Action.js +0 -17
  1000. package/dist/cjs/api/types/AdditionalEmail.d.ts +0 -9
  1001. package/dist/cjs/api/types/AdditionalPhoneNumber.d.ts +0 -9
  1002. package/dist/cjs/api/types/AdditionalWebsite.d.ts +0 -9
  1003. package/dist/cjs/api/types/Card.d.ts +0 -14
  1004. package/dist/cjs/api/types/Company.d.ts +0 -97
  1005. package/dist/cjs/api/types/CompanyCategory.d.ts +0 -20
  1006. package/dist/cjs/api/types/CompanyCategory.js +0 -22
  1007. package/dist/cjs/api/types/CompanyContact.d.ts +0 -21
  1008. package/dist/cjs/api/types/CompanyDetails.d.ts +0 -22
  1009. package/dist/cjs/api/types/ForbiddenErrorBody.d.ts +0 -6
  1010. package/dist/cjs/api/types/InboundActionMessage.d.ts +0 -19
  1011. package/dist/cjs/api/types/InboundLocationMessage.d.ts +0 -21
  1012. package/dist/cjs/api/types/InboundMediaMessage.d.ts +0 -18
  1013. package/dist/cjs/api/types/InboundMessage.d.ts +0 -23
  1014. package/dist/cjs/api/types/InboundMessage.js +0 -15
  1015. package/dist/cjs/api/types/InboundTextMessage.d.ts +0 -17
  1016. package/dist/cjs/api/types/InternalServerErrorBody.d.ts +0 -6
  1017. package/dist/cjs/api/types/MediaPayload.d.ts +0 -7
  1018. package/dist/cjs/api/types/MessageMetadata.d.ts +0 -6
  1019. package/dist/cjs/api/types/Messaging.d.ts +0 -15
  1020. package/dist/cjs/api/types/Optionals.d.ts +0 -13
  1021. package/dist/cjs/api/types/PaymentRequiredErrorBody.d.ts +0 -6
  1022. package/dist/cjs/api/types/PointOfContact.d.ts +0 -11
  1023. package/dist/cjs/api/types/RcsFunctionalities.d.ts +0 -21
  1024. package/dist/cjs/api/types/SenderMetadata.d.ts +0 -8
  1025. package/dist/cjs/api/types/UnauthorizedErrorBody.d.ts +0 -6
  1026. package/dist/cjs/wrapper/PinnacleClient.d.ts +0 -17
  1027. package/dist/cjs/wrapper/PinnacleClient.js +0 -64
  1028. package/dist/esm/api/client/requests/GetRcsFunctionalityRequest.d.mts +0 -13
  1029. package/dist/esm/api/client/requests/index.d.mts +0 -1
  1030. package/dist/esm/api/errors/ForbiddenError.d.mts +0 -8
  1031. package/dist/esm/api/errors/ForbiddenError.mjs +0 -15
  1032. package/dist/esm/api/resources/company/client/Client.d.mts +0 -81
  1033. package/dist/esm/api/resources/company/client/Client.mjs +0 -237
  1034. package/dist/esm/api/resources/company/client/requests/CompanyGetRequest.d.mts +0 -17
  1035. package/dist/esm/api/resources/company/client/requests/CompanyUpdateRequest.d.mts +0 -17
  1036. package/dist/esm/api/resources/company/client/requests/index.d.mts +0 -2
  1037. package/dist/esm/api/resources/company/types/CompanyRegisterRequest.d.mts +0 -19
  1038. package/dist/esm/api/resources/company/types/CompanyRegisterResponse.d.mts +0 -12
  1039. package/dist/esm/api/resources/company/types/CompanyUpdateResponse.d.mts +0 -12
  1040. package/dist/esm/api/resources/company/types/index.d.mts +0 -3
  1041. package/dist/esm/api/resources/company/types/index.mjs +0 -3
  1042. package/dist/esm/api/resources/send/client/Client.d.mts +0 -97
  1043. package/dist/esm/api/resources/send/client/Client.mjs +0 -257
  1044. package/dist/esm/api/resources/send/client/requests/Rcs.d.mts +0 -62
  1045. package/dist/esm/api/resources/send/client/requests/SendMmsRequest.d.mts +0 -23
  1046. package/dist/esm/api/resources/send/client/requests/SendSmsRequest.d.mts +0 -21
  1047. package/dist/esm/api/resources/send/client/requests/index.d.mts +0 -3
  1048. package/dist/esm/api/resources/send/types/SendMmsResponse.d.mts +0 -9
  1049. package/dist/esm/api/resources/send/types/SendRcsResponse.d.mts +0 -9
  1050. package/dist/esm/api/resources/send/types/SendSmsResponse.d.mts +0 -9
  1051. package/dist/esm/api/resources/send/types/index.d.mts +0 -3
  1052. package/dist/esm/api/resources/send/types/index.mjs +0 -3
  1053. package/dist/esm/api/resources/tools/client/requests/ToolsShortenUrlRequest.d.mts +0 -15
  1054. package/dist/esm/api/resources/tools/client/requests/ToolsUploadUrlRequest.d.mts +0 -23
  1055. package/dist/esm/api/resources/tools/client/requests/index.d.mts +0 -2
  1056. package/dist/esm/api/resources/tools/types/ToolsShortenUrlResponse.d.mts +0 -9
  1057. package/dist/esm/api/resources/tools/types/ToolsUploadUrlResponse.d.mts +0 -9
  1058. package/dist/esm/api/resources/tools/types/index.d.mts +0 -2
  1059. package/dist/esm/api/resources/tools/types/index.mjs +0 -2
  1060. package/dist/esm/api/types/Action.d.mts +0 -46
  1061. package/dist/esm/api/types/Action.mjs +0 -14
  1062. package/dist/esm/api/types/AdditionalEmail.d.mts +0 -9
  1063. package/dist/esm/api/types/AdditionalPhoneNumber.d.mts +0 -9
  1064. package/dist/esm/api/types/AdditionalWebsite.d.mts +0 -9
  1065. package/dist/esm/api/types/Card.d.mts +0 -14
  1066. package/dist/esm/api/types/Company.d.mts +0 -97
  1067. package/dist/esm/api/types/CompanyCategory.d.mts +0 -20
  1068. package/dist/esm/api/types/CompanyCategory.mjs +0 -19
  1069. package/dist/esm/api/types/CompanyContact.d.mts +0 -21
  1070. package/dist/esm/api/types/CompanyDetails.d.mts +0 -22
  1071. package/dist/esm/api/types/ForbiddenErrorBody.d.mts +0 -6
  1072. package/dist/esm/api/types/InboundActionMessage.d.mts +0 -19
  1073. package/dist/esm/api/types/InboundLocationMessage.d.mts +0 -21
  1074. package/dist/esm/api/types/InboundMediaMessage.d.mts +0 -18
  1075. package/dist/esm/api/types/InboundMessage.d.mts +0 -23
  1076. package/dist/esm/api/types/InboundMessage.mjs +0 -12
  1077. package/dist/esm/api/types/InboundTextMessage.d.mts +0 -17
  1078. package/dist/esm/api/types/InternalServerErrorBody.d.mts +0 -6
  1079. package/dist/esm/api/types/MediaPayload.d.mts +0 -7
  1080. package/dist/esm/api/types/MessageMetadata.d.mts +0 -6
  1081. package/dist/esm/api/types/Messaging.d.mts +0 -15
  1082. package/dist/esm/api/types/Optionals.d.mts +0 -13
  1083. package/dist/esm/api/types/PaymentRequiredErrorBody.d.mts +0 -6
  1084. package/dist/esm/api/types/PointOfContact.d.mts +0 -11
  1085. package/dist/esm/api/types/RcsFunctionalities.d.mts +0 -21
  1086. package/dist/esm/api/types/SenderMetadata.d.mts +0 -8
  1087. package/dist/esm/api/types/UnauthorizedErrorBody.d.mts +0 -6
  1088. package/dist/esm/wrapper/PinnacleClient.d.mts +0 -17
  1089. package/dist/esm/wrapper/PinnacleClient.mjs +0 -60
  1090. /package/dist/cjs/api/resources/{company → brands}/client/index.d.ts +0 -0
  1091. /package/dist/cjs/api/{client → resources/brands/client}/index.js +0 -0
  1092. /package/dist/cjs/api/{client/requests/GetRcsFunctionalityRequest.js → resources/brands/client/requests/AutofillBrandParams.js} +0 -0
  1093. /package/dist/cjs/api/resources/{company/client/requests/CompanyGetRequest.js → brands/client/requests/BrandsGetRequest.js} +0 -0
  1094. /package/dist/cjs/api/resources/{company/client/requests/CompanyUpdateRequest.js → brands/client/requests/UpsertBrandParams.js} +0 -0
  1095. /package/dist/cjs/api/resources/{company/types/CompanyRegisterRequest.js → brands/client/requests/ValidateBrandParams.js} +0 -0
  1096. /package/dist/cjs/api/resources/{company/types/CompanyRegisterResponse.js → brands/client/requests/VetBrandParams.js} +0 -0
  1097. /package/dist/cjs/api/{client → resources/brands/client}/requests/index.js +0 -0
  1098. /package/dist/{esm/api/client/requests/index.mjs → cjs/api/resources/campaigns/client/index.d.ts} +0 -0
  1099. /package/dist/cjs/api/resources/{company/client/requests → campaigns/client}/index.js +0 -0
  1100. /package/dist/cjs/api/resources/{send → campaigns/resources/dlc}/client/index.d.ts +0 -0
  1101. /package/dist/cjs/api/resources/{company → campaigns/resources/dlc}/client/index.js +0 -0
  1102. /package/dist/cjs/api/resources/{company/types/CompanyUpdateResponse.js → campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.js} +0 -0
  1103. /package/dist/cjs/api/resources/{send → campaigns/resources/dlc}/client/requests/index.js +0 -0
  1104. /package/dist/cjs/api/resources/{send → campaigns/resources/rcs}/client/index.js +0 -0
  1105. /package/dist/cjs/api/resources/{send/client/requests/Rcs.js → campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.js} +0 -0
  1106. /package/dist/cjs/api/resources/{tools → campaigns/resources/rcs}/client/requests/index.js +0 -0
  1107. /package/dist/cjs/api/resources/{company → campaigns/resources/rcs}/index.d.ts +0 -0
  1108. /package/dist/cjs/api/resources/{company → campaigns/resources/rcs}/index.js +0 -0
  1109. /package/dist/cjs/api/resources/{send/client/requests/SendMmsRequest.js → campaigns/resources/rcs/types/RcsAutofillResponse.js} +0 -0
  1110. /package/dist/cjs/api/resources/{send/client/requests/SendSmsRequest.js → campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.js} +0 -0
  1111. /package/dist/cjs/api/resources/{send → campaigns/resources/tollFree}/index.d.ts +0 -0
  1112. /package/dist/cjs/api/resources/{send → campaigns/resources/tollFree}/index.js +0 -0
  1113. /package/dist/cjs/api/resources/{send/types/SendMmsResponse.js → campaigns/resources/tollFree/types/TollFreeAutofillResponse.js} +0 -0
  1114. /package/dist/cjs/api/resources/{send/types/SendRcsResponse.js → contacts/client/requests/ContactsGetRequest.js} +0 -0
  1115. /package/dist/cjs/api/resources/{send/types/SendSmsResponse.js → contacts/client/requests/CreateContactParams.js} +0 -0
  1116. /package/dist/cjs/api/resources/{tools/client/requests/ToolsShortenUrlRequest.js → contacts/client/requests/UpdateContactParams.js} +0 -0
  1117. /package/dist/cjs/api/resources/{tools/client/requests/ToolsUploadUrlRequest.js → conversations/client/requests/ListConversationsParams.js} +0 -0
  1118. /package/dist/cjs/api/resources/{tools/types/ToolsShortenUrlResponse.js → conversations/client/requests/UpdateConversationParams.js} +0 -0
  1119. /package/dist/{esm/api/resources/company/client/requests/index.mjs → cjs/api/resources/message/client/index.d.ts} +0 -0
  1120. /package/dist/{esm/api/resources/send/client/requests/index.mjs → cjs/api/resources/message/resources/sms/client/index.d.ts} +0 -0
  1121. /package/dist/cjs/api/resources/{tools/types/ToolsUploadUrlResponse.js → messages/client/requests/ReactMessageParams.js} +0 -0
  1122. /package/dist/{esm/api/resources/tools/client/requests/index.mjs → cjs/api/resources/messages/resources/mms/client/index.d.ts} +0 -0
  1123. /package/dist/cjs/api/{types/AdditionalEmail.js → resources/messages/resources/send/client/requests/Mms.js} +0 -0
  1124. /package/dist/cjs/api/{types/AdditionalPhoneNumber.js → resources/messages/resources/send/client/requests/Sms.js} +0 -0
  1125. /package/dist/cjs/api/{types/AdditionalWebsite.js → resources/messages/resources/send/types/SendMmsResponse.js} +0 -0
  1126. /package/dist/cjs/api/{types/Card.js → resources/messages/resources/send/types/SendRcsResponse.js} +0 -0
  1127. /package/dist/cjs/api/{types/Company.js → resources/messages/resources/send/types/SendSmsResponse.js} +0 -0
  1128. /package/dist/cjs/api/{types/CompanyContact.js → resources/phoneNumbers/client/requests/BuyPhoneNumberParams.js} +0 -0
  1129. /package/dist/cjs/api/{types/CompanyDetails.js → resources/phoneNumbers/client/requests/SearchPhoneNumberParams.js} +0 -0
  1130. /package/dist/cjs/api/{types/ForbiddenErrorBody.js → resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.js} +0 -0
  1131. /package/dist/cjs/api/{types/InboundActionMessage.js → resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.js} +0 -0
  1132. /package/dist/cjs/api/{types/InboundLocationMessage.js → resources/phoneNumbers/types/PhoneNumbersGetResponse.js} +0 -0
  1133. /package/dist/cjs/api/{types/InboundMediaMessage.js → resources/tools/resources/contactCard/client/requests/GetVcardParams.js} +0 -0
  1134. /package/dist/cjs/api/{types/InboundTextMessage.js → resources/tools/resources/contactCard/client/requests/UpsertVcardParams.js} +0 -0
  1135. /package/dist/cjs/api/{types/InternalServerErrorBody.js → resources/tools/resources/file/client/requests/UploadFileParams.js} +0 -0
  1136. /package/dist/cjs/api/{types/MediaPayload.js → resources/tools/resources/url/client/requests/CreateUrlParams.js} +0 -0
  1137. /package/dist/cjs/api/{types/MessageMetadata.js → resources/tools/resources/url/client/requests/UpdateUrlParams.js} +0 -0
  1138. /package/dist/cjs/api/{types/Messaging.js → resources/webhooks/client/requests/GetWebhookParams.js} +0 -0
  1139. /package/dist/cjs/api/types/{Optionals.js → AttachWebhookParams.js} +0 -0
  1140. /package/dist/cjs/api/types/{PaymentRequiredErrorBody.js → AttachedPhoneNumberResult.js} +0 -0
  1141. /package/dist/cjs/api/types/{PointOfContact.js → AutofillCampaignParams.js} +0 -0
  1142. /package/dist/cjs/api/types/{RcsFunctionalities.js → AutofillDlcCampaignResponse.js} +0 -0
  1143. /package/dist/cjs/api/types/{SenderMetadata.js → BasicPhoneInformation.js} +0 -0
  1144. /package/dist/cjs/api/types/{UnauthorizedErrorBody.js → BrandStatus.js} +0 -0
  1145. /package/dist/esm/api/resources/{company → brands}/client/index.d.mts +0 -0
  1146. /package/dist/esm/api/{client → resources/brands/client}/index.mjs +0 -0
  1147. /package/dist/esm/api/{client/requests/GetRcsFunctionalityRequest.mjs → resources/brands/client/requests/AutofillBrandParams.mjs} +0 -0
  1148. /package/dist/esm/api/resources/{company/client/requests/CompanyGetRequest.mjs → brands/client/requests/BrandsGetRequest.mjs} +0 -0
  1149. /package/dist/esm/api/resources/{company/client/requests/CompanyUpdateRequest.mjs → brands/client/requests/UpsertBrandParams.mjs} +0 -0
  1150. /package/dist/esm/api/resources/{company/types/CompanyRegisterRequest.mjs → brands/client/requests/ValidateBrandParams.mjs} +0 -0
  1151. /package/dist/esm/api/resources/{company/types/CompanyRegisterResponse.mjs → brands/client/requests/VetBrandParams.mjs} +0 -0
  1152. /package/dist/esm/api/resources/{send → campaigns/resources/dlc}/client/index.d.mts +0 -0
  1153. /package/dist/esm/api/resources/{company → campaigns/resources/dlc}/client/index.mjs +0 -0
  1154. /package/dist/esm/api/resources/{company/types/CompanyUpdateResponse.mjs → campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.mjs} +0 -0
  1155. /package/dist/esm/api/resources/{send → campaigns/resources/rcs}/client/index.mjs +0 -0
  1156. /package/dist/esm/api/resources/{send/client/requests/Rcs.mjs → campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.mjs} +0 -0
  1157. /package/dist/esm/api/resources/{company → campaigns/resources/rcs}/index.d.mts +0 -0
  1158. /package/dist/esm/api/resources/{company → campaigns/resources/rcs}/index.mjs +0 -0
  1159. /package/dist/esm/api/resources/{send/client/requests/SendMmsRequest.mjs → campaigns/resources/rcs/types/RcsAutofillResponse.mjs} +0 -0
  1160. /package/dist/esm/api/{client/index.d.mts → resources/campaigns/resources/tollFree/client/index.mjs} +0 -0
  1161. /package/dist/esm/api/resources/{send/client/requests/SendSmsRequest.mjs → campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.mjs} +0 -0
  1162. /package/dist/esm/api/resources/{send → campaigns/resources/tollFree}/index.d.mts +0 -0
  1163. /package/dist/esm/api/resources/{send → campaigns/resources/tollFree}/index.mjs +0 -0
  1164. /package/dist/esm/api/resources/{send/types/SendMmsResponse.mjs → campaigns/resources/tollFree/types/TollFreeAutofillResponse.mjs} +0 -0
  1165. /package/dist/esm/api/resources/{send/types/SendRcsResponse.mjs → contacts/client/requests/ContactsGetRequest.mjs} +0 -0
  1166. /package/dist/esm/api/resources/{send/types/SendSmsResponse.mjs → contacts/client/requests/CreateContactParams.mjs} +0 -0
  1167. /package/dist/esm/api/resources/{tools/client/requests/ToolsShortenUrlRequest.mjs → contacts/client/requests/UpdateContactParams.mjs} +0 -0
  1168. /package/dist/esm/api/resources/{tools/client/requests/ToolsUploadUrlRequest.mjs → conversations/client/requests/ListConversationsParams.mjs} +0 -0
  1169. /package/dist/esm/api/resources/{tools/types/ToolsShortenUrlResponse.mjs → conversations/client/requests/UpdateConversationParams.mjs} +0 -0
  1170. /package/dist/esm/api/resources/{tools/types/ToolsUploadUrlResponse.mjs → messages/client/requests/ReactMessageParams.mjs} +0 -0
  1171. /package/dist/esm/api/{types/AdditionalEmail.mjs → resources/messages/resources/send/client/requests/Mms.mjs} +0 -0
  1172. /package/dist/esm/api/{types/AdditionalPhoneNumber.mjs → resources/messages/resources/send/client/requests/Sms.mjs} +0 -0
  1173. /package/dist/esm/api/{types/AdditionalWebsite.mjs → resources/messages/resources/send/types/SendMmsResponse.mjs} +0 -0
  1174. /package/dist/esm/api/{types/Card.mjs → resources/messages/resources/send/types/SendRcsResponse.mjs} +0 -0
  1175. /package/dist/esm/api/{types/Company.mjs → resources/messages/resources/send/types/SendSmsResponse.mjs} +0 -0
  1176. /package/dist/esm/api/{types/CompanyContact.mjs → resources/phoneNumbers/client/requests/BuyPhoneNumberParams.mjs} +0 -0
  1177. /package/dist/esm/api/{types/CompanyDetails.mjs → resources/phoneNumbers/client/requests/SearchPhoneNumberParams.mjs} +0 -0
  1178. /package/dist/esm/api/{types/ForbiddenErrorBody.mjs → resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.mjs} +0 -0
  1179. /package/dist/esm/api/{types/InboundActionMessage.mjs → resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.mjs} +0 -0
  1180. /package/dist/esm/api/{types/InboundLocationMessage.mjs → resources/phoneNumbers/types/PhoneNumbersGetResponse.mjs} +0 -0
  1181. /package/dist/esm/api/{types/InboundMediaMessage.mjs → resources/tools/resources/contactCard/client/requests/GetVcardParams.mjs} +0 -0
  1182. /package/dist/esm/api/{types/InboundTextMessage.mjs → resources/tools/resources/contactCard/client/requests/UpsertVcardParams.mjs} +0 -0
  1183. /package/dist/esm/api/{types/InternalServerErrorBody.mjs → resources/tools/resources/file/client/requests/UploadFileParams.mjs} +0 -0
  1184. /package/dist/esm/api/{types/MediaPayload.mjs → resources/tools/resources/url/client/requests/CreateUrlParams.mjs} +0 -0
  1185. /package/dist/esm/api/{types/MessageMetadata.mjs → resources/tools/resources/url/client/requests/UpdateUrlParams.mjs} +0 -0
  1186. /package/dist/esm/api/{types/Messaging.mjs → resources/webhooks/client/requests/GetWebhookParams.mjs} +0 -0
  1187. /package/dist/esm/api/types/{Optionals.mjs → AttachWebhookParams.mjs} +0 -0
  1188. /package/dist/esm/api/types/{PaymentRequiredErrorBody.mjs → AttachedPhoneNumberResult.mjs} +0 -0
  1189. /package/dist/esm/api/types/{PointOfContact.mjs → AutofillCampaignParams.mjs} +0 -0
  1190. /package/dist/esm/api/types/{RcsFunctionalities.mjs → AutofillDlcCampaignResponse.mjs} +0 -0
  1191. /package/dist/esm/api/types/{SenderMetadata.mjs → BasicPhoneInformation.mjs} +0 -0
  1192. /package/dist/esm/api/types/{UnauthorizedErrorBody.mjs → BrandStatus.mjs} +0 -0
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The type of campaign:
6
+ * - TOLL_FREE: Toll-free number campaigns
7
+ * - 10DLC: 10-digit long code campaigns for A2P messaging
8
+ * - RCS: Rich Communication Services campaigns
9
+ */
10
+ export type CampaignEnum = "TOLL_FREE" | "10DLC" | "RCS";
11
+ export declare const CampaignEnum: {
12
+ readonly TollFree: "TOLL_FREE";
13
+ readonly TenDlc: "10DLC";
14
+ readonly Rcs: "RCS";
15
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const CampaignEnum = {
5
+ TollFree: "TOLL_FREE",
6
+ TenDlc: "10DLC",
7
+ Rcs: "RCS",
8
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../index.mjs";
5
+ /**
6
+ * Information about the campaign associated with a conversation
7
+ */
8
+ export interface CampaignQuery {
9
+ /** Unique identifier for the campaign */
10
+ id: string;
11
+ type: Pinnacle.CampaignEnum;
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CampaignSubmissionResult {
5
+ /** Indicates whether the campaign submission was successful. */
6
+ success: boolean;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CampaignValidationResult {
5
+ /** List of validation errors. */
6
+ errors: CampaignValidationResult.Errors.Item[];
7
+ /** Whether the campaign is valid or not. */
8
+ is_valid: boolean;
9
+ }
10
+ export declare namespace CampaignValidationResult {
11
+ type Errors = Errors.Item[];
12
+ namespace Errors {
13
+ interface Item {
14
+ /** A human-readable description of the error. */
15
+ description: string;
16
+ /** An example of a valid value for the field. */
17
+ example?: string;
18
+ /** The field that is not valid. */
19
+ field: string;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ClickAction {
5
+ /** Title of the button or quick reply that was clicked on. */
6
+ button: string;
7
+ /** Payload received from the button interaction. */
8
+ data: ClickAction.Data;
9
+ }
10
+ export declare namespace ClickAction {
11
+ /**
12
+ * Payload received from the button interaction.
13
+ */
14
+ type Data =
15
+ /**
16
+ * Data that is attached to the button. <br>
17
+ *
18
+ * This is only returned when `trigger` buttons are pressed. */
19
+ {
20
+ metadata: string;
21
+ payload: string;
22
+ }
23
+ /**
24
+ * Indicates that the button was clicked. <br>
25
+ *
26
+ * This is returned when `openUrl`, `call`, and `scheduleEvent` buttons are clicked. */
27
+ | "clicked";
28
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Industry the Brand operates in.
6
+ */
7
+ export type CompanySectorEnum = "AGRICULTURE" | "COMMUNICATION" | "CONSTRUCTION" | "EDUCATION" | "ENERGY" | "ENTERTAINMENT" | "FINANCIAL" | "GAMBLING" | "GOVERNMENT" | "HEALTHCARE" | "HOSPITALITY" | "INSURANCE" | "MANUFACTURING" | "NGO" | "REAL_ESTATE" | "RETAIL" | "TECHNOLOGY";
8
+ export declare const CompanySectorEnum: {
9
+ readonly Agriculture: "AGRICULTURE";
10
+ readonly Communication: "COMMUNICATION";
11
+ readonly Construction: "CONSTRUCTION";
12
+ readonly Education: "EDUCATION";
13
+ readonly Energy: "ENERGY";
14
+ readonly Entertainment: "ENTERTAINMENT";
15
+ readonly Financial: "FINANCIAL";
16
+ readonly Gambling: "GAMBLING";
17
+ readonly Government: "GOVERNMENT";
18
+ readonly Healthcare: "HEALTHCARE";
19
+ readonly Hospitality: "HOSPITALITY";
20
+ readonly Insurance: "INSURANCE";
21
+ readonly Manufacturing: "MANUFACTURING";
22
+ readonly Ngo: "NGO";
23
+ readonly RealEstate: "REAL_ESTATE";
24
+ readonly Retail: "RETAIL";
25
+ readonly Technology: "TECHNOLOGY";
26
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const CompanySectorEnum = {
5
+ Agriculture: "AGRICULTURE",
6
+ Communication: "COMMUNICATION",
7
+ Construction: "CONSTRUCTION",
8
+ Education: "EDUCATION",
9
+ Energy: "ENERGY",
10
+ Entertainment: "ENTERTAINMENT",
11
+ Financial: "FINANCIAL",
12
+ Gambling: "GAMBLING",
13
+ Government: "GOVERNMENT",
14
+ Healthcare: "HEALTHCARE",
15
+ Hospitality: "HOSPITALITY",
16
+ Insurance: "INSURANCE",
17
+ Manufacturing: "MANUFACTURING",
18
+ Ngo: "NGO",
19
+ RealEstate: "REAL_ESTATE",
20
+ Retail: "RETAIL",
21
+ Technology: "TECHNOLOGY",
22
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Legal structure of the brand.
6
+ */
7
+ export type CompanyTypeEnum = "GOVERNMENT" | "NON_PROFIT" | "PRIVATE_PROFIT" | "PUBLIC_PROFIT" | "SOLE_PROPRIETOR";
8
+ export declare const CompanyTypeEnum: {
9
+ readonly Government: "GOVERNMENT";
10
+ readonly NonProfit: "NON_PROFIT";
11
+ readonly PrivateProfit: "PRIVATE_PROFIT";
12
+ readonly PublicProfit: "PUBLIC_PROFIT";
13
+ readonly SoleProprietor: "SOLE_PROPRIETOR";
14
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const CompanyTypeEnum = {
5
+ Government: "GOVERNMENT",
6
+ NonProfit: "NON_PROFIT",
7
+ PrivateProfit: "PRIVATE_PROFIT",
8
+ PublicProfit: "PUBLIC_PROFIT",
9
+ SoleProprietor: "SOLE_PROPRIETOR",
10
+ };
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../index.mjs";
5
+ /**
6
+ * Confirmation that a webhook has been successfully attached to the specified phone number.
7
+ * Includes detailed webhook information, the subscribed event type, and the associated phone number.
8
+ */
9
+ export interface ConfiguredWebhook {
10
+ /** Detailed information about the attached webhook. */
11
+ webhook: ConfiguredWebhook.Webhook;
12
+ /** Specific event type configured for this webhook attachment. */
13
+ event: Pinnacle.WebhookEventEnum;
14
+ /** Phone number in E.164 format that is linked to the webhook. */
15
+ phoneNumber: string;
16
+ }
17
+ export declare namespace ConfiguredWebhook {
18
+ /**
19
+ * Detailed information about the attached webhook.
20
+ */
21
+ interface Webhook {
22
+ /** Unique identifier of the webhook within the account. */
23
+ id: number;
24
+ /** Name of the webhook. */
25
+ name: string;
26
+ /** The HTTPS endpoint URL where webhook events will be sent as HTTP POST requests. */
27
+ url: string;
28
+ /**
29
+ * Secret key used to verify the authenticity of incoming webhook requests. <br>
30
+ *
31
+ * This secret key will be stored in the `PINNACLE-SIGNING-SECRET` header.
32
+ */
33
+ secret?: string;
34
+ }
35
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Contact {
5
+ /** Additional information about the contact. */
6
+ description?: string;
7
+ /** Contact's email address, if available. */
8
+ email?: string;
9
+ /** Unique ID of the contact. */
10
+ id: number;
11
+ /** Full name of the contact, if available. */
12
+ name?: string;
13
+ /** Contact's phone number in E.164 format. */
14
+ phoneNumber: string;
15
+ /** List of tags associated with the contact. */
16
+ tags?: string[];
17
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ContactId {
5
+ /** Unique ID of the created contact. */
6
+ id: number;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,63 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../index.mjs";
5
+ /**
6
+ * Conversation that was found.
7
+ */
8
+ export interface Conversation {
9
+ /** Identifier for the brand associated with this conversation. */
10
+ brandId?: number | null;
11
+ /** Campaign information if this conversation is part of a marketing campaign. */
12
+ campaign?: Pinnacle.CampaignQuery | null;
13
+ /** Contact information for the recipient in a conversation. */
14
+ contact: Conversation.Contact;
15
+ /** ISO 8601 timestamp when the conversation was created. */
16
+ createdAt: string;
17
+ /** Unique identifier for the conversation. */
18
+ id: number;
19
+ /** Free-form notes or comments about the conversation. */
20
+ notes: string;
21
+ /**
22
+ * The sender of messages in this conversation. Can be:
23
+ * - A phone number with its capabilities and metadata
24
+ * - An RCS agent with ID and name
25
+ * - `null` if no sender is associated
26
+ */
27
+ sender?: Conversation.Sender | null;
28
+ /** ISO 8601 timestamp when the conversation was last updated. */
29
+ updatedAt: string;
30
+ }
31
+ export declare namespace Conversation {
32
+ /**
33
+ * Contact information for the recipient in a conversation.
34
+ */
35
+ interface Contact {
36
+ /** Unique identifier for the contact. */
37
+ id: number;
38
+ /** The contact's phone number in E.164 format. */
39
+ phoneNumber: string;
40
+ }
41
+ /**
42
+ * The sender of messages in this conversation. Can be:
43
+ * - A phone number with its capabilities and metadata
44
+ * - An RCS agent with ID and name
45
+ * - `null` if no sender is associated
46
+ */
47
+ type Sender =
48
+ /**
49
+ * Information about a phone number sender in a conversation. */
50
+ {
51
+ capabilities: Pinnacle.PhoneCapabilities;
52
+ createdAt: string;
53
+ isSandbox: boolean;
54
+ phoneNumber: string;
55
+ updatedAt: string;
56
+ }
57
+ /**
58
+ * Information about an RCS agent sender in a conversation. */
59
+ | {
60
+ agentId: string;
61
+ agentName: string;
62
+ };
63
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../index.mjs";
5
+ /**
6
+ * Response for list conversation.
7
+ */
8
+ export interface ConversationList {
9
+ /** Total number of conversations matching the filter. */
10
+ count: number;
11
+ conversations: Pinnacle.Conversation[];
12
+ /** Indicates if more conversations are available beyond the current page. */
13
+ hasMore: boolean;
14
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CreateUrlOptions {
5
+ /**
6
+ * Expiration date in ISO 8601 format for the shortened URL. <br>
7
+ *
8
+ * If omitted, then a permalink is generated instead.
9
+ */
10
+ expiresAt?: string | null;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,42 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../index.mjs";
5
+ export interface DetachedPhoneNumberResult {
6
+ /** List of phone numbers. */
7
+ phoneNumbers: DetachedPhoneNumberResult.PhoneNumbers.Item[];
8
+ /** List of numbers that were not failed to be detached. */
9
+ failed: DetachedPhoneNumberResult.Failed.Item[];
10
+ }
11
+ export declare namespace DetachedPhoneNumberResult {
12
+ type PhoneNumbers = PhoneNumbers.Item[];
13
+ namespace PhoneNumbers {
14
+ interface Item {
15
+ /** Phone number (E.164 format). */
16
+ phoneNumber: string;
17
+ /** Campaign that the phone is now detached from. */
18
+ campaign: Item.Campaign;
19
+ }
20
+ namespace Item {
21
+ /**
22
+ * Campaign that the phone is now detached from.
23
+ */
24
+ interface Campaign {
25
+ /** Id of the campaign. */
26
+ id: number;
27
+ /** Campaign's name. */
28
+ name: string;
29
+ type: Pinnacle.MessagingProfileEnum;
30
+ }
31
+ }
32
+ }
33
+ type Failed = Failed.Item[];
34
+ namespace Failed {
35
+ interface Item {
36
+ /** Phone number (E.164 format). */
37
+ number: string;
38
+ /** Error related to why the number was not detached. */
39
+ error: string;
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface DetachedWebhookInfo {
5
+ /** Confirmation message. */
6
+ message: string;
7
+ /** ID of the detached webhook. */
8
+ webhookId: number;
9
+ /** Phone number the webhook was detached from in E.164 format. */
10
+ phoneNumber: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Classification of the phone number type based on Telesign’s taxonomy.
6
+ * Indicates the phone’s service category, such as mobile, fixed line, toll-free, or VOIP,
7
+ * along with special types like prepaid, pager, or restricted premium.
8
+ * The "INVALID" type denotes an unrecognized or improperly formatted number.
9
+ */
10
+ export type DetailedPhoneNumberEnum = "FIXED_LINE" | "INVALID" | "MOBILE" | "OTHER" | "PAGER" | "PAYPHONE" | "PERSONAL" | "PREPAID" | "RESTRICTED_PREMIUM" | "TOLL_FREE" | "VOICEMAIL" | "VOIP";
11
+ export declare const DetailedPhoneNumberEnum: {
12
+ readonly FixedLine: "FIXED_LINE";
13
+ readonly Invalid: "INVALID";
14
+ readonly Mobile: "MOBILE";
15
+ readonly Other: "OTHER";
16
+ readonly Pager: "PAGER";
17
+ readonly Payphone: "PAYPHONE";
18
+ readonly Personal: "PERSONAL";
19
+ readonly Prepaid: "PREPAID";
20
+ readonly RestrictedPremium: "RESTRICTED_PREMIUM";
21
+ readonly TollFree: "TOLL_FREE";
22
+ readonly Voicemail: "VOICEMAIL";
23
+ readonly Voip: "VOIP";
24
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const DetailedPhoneNumberEnum = {
5
+ FixedLine: "FIXED_LINE",
6
+ Invalid: "INVALID",
7
+ Mobile: "MOBILE",
8
+ Other: "OTHER",
9
+ Pager: "PAGER",
10
+ Payphone: "PAYPHONE",
11
+ Personal: "PERSONAL",
12
+ Prepaid: "PREPAID",
13
+ RestrictedPremium: "RESTRICTED_PREMIUM",
14
+ TollFree: "TOLL_FREE",
15
+ Voicemail: "VOICEMAIL",
16
+ Voip: "VOIP",
17
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Current assignment status of the phone number to this campaign.
6
+ *
7
+ * `ASSIGNED`: Number assigned and ready to send messages.
8
+ * `PENDING_ASSIGNMENT`: In the process of being assigned.
9
+ * `PENDING_UNASSIGNMENT`: In the process of being unassigned.
10
+ * `FAILED_ASSIGNMENT`: Failed to assign the number.
11
+ * `FAILED_UNASSIGNMENT`: Failed to unassign the number.
12
+ */
13
+ export type DlcAssignmentStatusEnum = "ASSIGNED" | "FAILED_ASSIGNMENT" | "FAILED_UNASSIGNMENT" | "PENDING_ASSIGNMENT" | "PENDING_UNASSIGNMENT";
14
+ export declare const DlcAssignmentStatusEnum: {
15
+ readonly Assigned: "ASSIGNED";
16
+ readonly FailedAssignment: "FAILED_ASSIGNMENT";
17
+ readonly FailedUnassignment: "FAILED_UNASSIGNMENT";
18
+ readonly PendingAssignment: "PENDING_ASSIGNMENT";
19
+ readonly PendingUnassignment: "PENDING_UNASSIGNMENT";
20
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const DlcAssignmentStatusEnum = {
5
+ Assigned: "ASSIGNED",
6
+ FailedAssignment: "FAILED_ASSIGNMENT",
7
+ FailedUnassignment: "FAILED_UNASSIGNMENT",
8
+ PendingAssignment: "PENDING_ASSIGNMENT",
9
+ PendingUnassignment: "PENDING_UNASSIGNMENT",
10
+ };
@@ -0,0 +1,55 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Pinnacle from "../index.mjs";
5
+ /**
6
+ * Response for get DLC campaign status.
7
+ */
8
+ export interface DlcCampaignStatus {
9
+ /**
10
+ * Summary of errors related to the verification process. <br>
11
+ *
12
+ * These errors may request additional information or point out erroneous and/or missing fields.
13
+ */
14
+ error: string;
15
+ /** Id of the DLC campaign. */
16
+ id: number;
17
+ /**
18
+ * Current review status of the DLC campaign. <br>
19
+ *
20
+ * `INCOMPLETE`: Not submitted.<br>
21
+ * `IN REVIEW`: Being reviewed by carriers.<br>
22
+ * `VERIFIED`: Approved and ready to send messages.<br>
23
+ * `FAILED`: Issues and errors related to the campaign's details. See [error](dlc-campaign#response.body.error) for these potential issues.
24
+ */
25
+ status: Pinnacle.ProfileStatusEnum;
26
+ /**
27
+ * Status of toll free numbers that are being attached to this campaign. <br>
28
+ *
29
+ * Note that phone numbers can only be attached to `VERIFIED` campaigns via the [attach campaign endpoint](../phone-numbers/attach-campaign).
30
+ */
31
+ updates: DlcCampaignStatus.Updates;
32
+ }
33
+ export declare namespace DlcCampaignStatus {
34
+ /**
35
+ * Status of toll free numbers that are being attached to this campaign. <br>
36
+ *
37
+ * Note that phone numbers can only be attached to `VERIFIED` campaigns via the [attach campaign endpoint](../phone-numbers/attach-campaign).
38
+ */
39
+ interface Updates {
40
+ /** Number associated with the campaign in E.164 format. */
41
+ number: string;
42
+ /**
43
+ * Current assignment status of the phone number to this campaign. <br>
44
+ *
45
+ * `ASSIGNED`: Number assigned and ready to send messages.<br>
46
+ * `PENDING_ASSIGNMENT`: In the process of being assigned. This should take no more than 10 minutes.<br>
47
+ * `PENDING_UNASSIGNMENT`: In the process of being unassigned. This should take no more that 5 minutes.<br>
48
+ * `FAILED_ASSIGNMENT`: Failed to assign the number. Use the phone number status endpoint to see errors.<br>
49
+ * `FAILED_UNASSIGNMENT`: Failed to unassign the number. Use the phone number status endpoint to see errors.
50
+ */
51
+ status: Pinnacle.DlcAssignmentStatusEnum;
52
+ /** List of errors that occurred. */
53
+ errors: string[];
54
+ }
55
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,35 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The primary use case classification for this campaign.
6
+ */
7
+ export type DlcCampaignUseCaseEnum = "ACCOUNT_NOTIFICATION" | "AGENTS_FRANCHISES" | "CARRIER_EXEMPT" | "CHARITY" | "CUSTOMER_CARE" | "DELIVERY_NOTIFICATION" | "EMERGENCY" | "FRAUD_ALERT" | "HIGHER_EDUCATION" | "K12_EDUCATION" | "LOW_VOLUME" | "M2M" | "MARKETING" | "MIXED" | "POLITICAL" | "POLLING_VOTING" | "PROXY" | "PUBLIC_SERVICE_ANNOUNCEMENT" | "SECURITY_ALERT" | "SOCIAL" | "SOLE_PROPRIETOR" | "SWEEPSTAKE" | "TRIAL" | "TWO_FA" | "UCAAS_HIGH" | "UCAAS_LOW";
8
+ export declare const DlcCampaignUseCaseEnum: {
9
+ readonly AccountNotification: "ACCOUNT_NOTIFICATION";
10
+ readonly AgentsFranchises: "AGENTS_FRANCHISES";
11
+ readonly CarrierExempt: "CARRIER_EXEMPT";
12
+ readonly Charity: "CHARITY";
13
+ readonly CustomerCare: "CUSTOMER_CARE";
14
+ readonly DeliveryNotification: "DELIVERY_NOTIFICATION";
15
+ readonly Emergency: "EMERGENCY";
16
+ readonly FraudAlert: "FRAUD_ALERT";
17
+ readonly HigherEducation: "HIGHER_EDUCATION";
18
+ readonly K12Education: "K12_EDUCATION";
19
+ readonly LowVolume: "LOW_VOLUME";
20
+ readonly M2M: "M2M";
21
+ readonly Marketing: "MARKETING";
22
+ readonly Mixed: "MIXED";
23
+ readonly Political: "POLITICAL";
24
+ readonly PollingVoting: "POLLING_VOTING";
25
+ readonly Proxy: "PROXY";
26
+ readonly PublicServiceAnnouncement: "PUBLIC_SERVICE_ANNOUNCEMENT";
27
+ readonly SecurityAlert: "SECURITY_ALERT";
28
+ readonly Social: "SOCIAL";
29
+ readonly SoleProprietor: "SOLE_PROPRIETOR";
30
+ readonly Sweepstake: "SWEEPSTAKE";
31
+ readonly Trial: "TRIAL";
32
+ readonly TwoFa: "TWO_FA";
33
+ readonly UcaasHigh: "UCAAS_HIGH";
34
+ readonly UcaasLow: "UCAAS_LOW";
35
+ };