rcs-js 2.0.5 → 2.0.7

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 (1231) hide show
  1. package/README.md +74 -25
  2. package/dist/cjs/BaseClient.d.ts +30 -0
  3. package/dist/cjs/{api/types/RcsCards.js → BaseClient.js} +1 -3
  4. package/dist/cjs/Client.d.ts +8 -25
  5. package/dist/cjs/Client.js +27 -24
  6. package/dist/cjs/api/errors/BadRequestError.d.ts +1 -4
  7. package/dist/cjs/api/errors/BadRequestError.js +1 -3
  8. package/dist/cjs/api/errors/InternalServerError.d.ts +2 -5
  9. package/dist/cjs/api/errors/InternalServerError.js +1 -3
  10. package/dist/cjs/api/errors/NotFoundError.d.ts +1 -4
  11. package/dist/cjs/api/errors/NotFoundError.js +1 -3
  12. package/dist/cjs/api/errors/NotImplementedError.d.ts +2 -5
  13. package/dist/cjs/api/errors/NotImplementedError.js +1 -3
  14. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +2 -5
  15. package/dist/cjs/api/errors/PaymentRequiredError.js +1 -3
  16. package/dist/cjs/api/errors/UnauthorizedError.d.ts +2 -5
  17. package/dist/cjs/api/errors/UnauthorizedError.js +1 -3
  18. package/dist/cjs/api/errors/index.d.ts +2 -2
  19. package/dist/cjs/api/errors/index.js +2 -2
  20. package/dist/cjs/api/index.d.ts +1 -1
  21. package/dist/cjs/api/index.js +1 -1
  22. package/dist/cjs/api/resources/audiences/client/Client.d.ts +108 -0
  23. package/dist/cjs/api/resources/audiences/client/Client.js +391 -0
  24. package/dist/cjs/api/resources/audiences/client/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/audiences/client/index.js +17 -0
  26. package/dist/cjs/api/resources/audiences/client/requests/AudiencesDeleteRequest.d.ts +10 -0
  27. package/dist/cjs/api/resources/{messages/resources/rcs/types/RcsSendResponse.js → audiences/client/requests/AudiencesDeleteRequest.js} +1 -3
  28. package/dist/cjs/api/resources/audiences/client/requests/AudiencesGetRequest.d.ts +19 -0
  29. package/dist/cjs/api/{types/RcsBase.js → resources/audiences/client/requests/AudiencesGetRequest.js} +1 -3
  30. package/dist/cjs/api/resources/audiences/client/requests/CreateAudienceParams.d.ts +28 -0
  31. package/dist/cjs/api/{types/Options.js → resources/audiences/client/requests/CreateAudienceParams.js} +1 -3
  32. package/dist/cjs/api/resources/audiences/client/requests/UpdateAudienceParams.d.ts +16 -0
  33. package/dist/cjs/api/resources/audiences/client/requests/UpdateAudienceParams.js +3 -0
  34. package/dist/cjs/api/resources/audiences/client/requests/index.d.ts +4 -0
  35. package/dist/cjs/api/resources/audiences/client/requests/index.js +2 -0
  36. package/dist/cjs/api/resources/audiences/index.d.ts +3 -0
  37. package/dist/cjs/api/resources/audiences/index.js +19 -0
  38. package/dist/cjs/api/resources/audiences/resources/contacts/client/Client.d.ts +59 -0
  39. package/dist/cjs/api/resources/audiences/resources/contacts/client/Client.js +222 -0
  40. package/dist/cjs/api/resources/audiences/resources/contacts/client/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/audiences/resources/contacts/client/index.js +17 -0
  42. package/dist/cjs/api/resources/audiences/resources/contacts/client/requests/AddContactsParams.d.ts +13 -0
  43. package/dist/cjs/api/resources/audiences/resources/contacts/client/requests/AddContactsParams.js +3 -0
  44. package/dist/cjs/api/resources/audiences/resources/contacts/client/requests/RemoveContactsParams.d.ts +13 -0
  45. package/dist/cjs/api/resources/audiences/resources/contacts/client/requests/RemoveContactsParams.js +3 -0
  46. package/dist/cjs/api/resources/audiences/resources/contacts/client/requests/index.d.ts +2 -0
  47. package/dist/cjs/api/resources/audiences/resources/contacts/client/requests/index.js +2 -0
  48. package/dist/cjs/api/resources/audiences/resources/contacts/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/audiences/resources/contacts/index.js +17 -0
  50. package/dist/cjs/api/resources/audiences/resources/index.d.ts +2 -0
  51. package/dist/cjs/api/resources/audiences/resources/index.js +41 -0
  52. package/dist/cjs/api/resources/audiences/types/AudiencesGetResponse.d.ts +8 -0
  53. package/dist/cjs/api/resources/audiences/types/AudiencesGetResponse.js +3 -0
  54. package/dist/cjs/api/resources/audiences/types/index.d.ts +1 -0
  55. package/dist/cjs/api/resources/audiences/types/index.js +17 -0
  56. package/dist/cjs/api/resources/brands/client/Client.d.ts +6 -25
  57. package/dist/cjs/api/resources/brands/client/Client.js +46 -34
  58. package/dist/cjs/api/resources/brands/client/index.d.ts +0 -1
  59. package/dist/cjs/api/resources/brands/client/requests/AutofillBrandParams.d.ts +0 -3
  60. package/dist/cjs/api/resources/brands/client/requests/AutofillBrandParams.js +1 -3
  61. package/dist/cjs/api/resources/brands/client/requests/BrandsGetRequest.d.ts +0 -3
  62. package/dist/cjs/api/resources/brands/client/requests/BrandsGetRequest.js +1 -3
  63. package/dist/cjs/api/resources/brands/client/requests/UpsertBrandParams.d.ts +4 -4
  64. package/dist/cjs/api/resources/brands/client/requests/UpsertBrandParams.js +1 -3
  65. package/dist/cjs/api/resources/brands/client/requests/ValidateBrandParams.d.ts +4 -4
  66. package/dist/cjs/api/resources/brands/client/requests/ValidateBrandParams.js +1 -3
  67. package/dist/cjs/api/resources/brands/client/requests/VetBrandParams.d.ts +1 -5
  68. package/dist/cjs/api/resources/brands/client/requests/VetBrandParams.js +1 -3
  69. package/dist/cjs/api/resources/brands/client/requests/index.d.ts +5 -5
  70. package/dist/cjs/api/resources/campaigns/client/Client.d.ts +3 -13
  71. package/dist/cjs/api/resources/campaigns/client/Client.js +5 -7
  72. package/dist/cjs/api/resources/campaigns/index.d.ts +1 -1
  73. package/dist/cjs/api/resources/campaigns/index.js +1 -1
  74. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.d.ts +4 -25
  75. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.js +36 -28
  76. package/dist/cjs/api/resources/campaigns/resources/dlc/client/index.d.ts +0 -1
  77. package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.ts +1 -4
  78. package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.js +1 -3
  79. package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/index.d.ts +1 -1
  80. package/dist/cjs/api/resources/campaigns/resources/index.d.ts +5 -5
  81. package/dist/cjs/api/resources/campaigns/resources/index.js +9 -9
  82. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.d.ts +36 -40
  83. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.js +68 -43
  84. package/dist/cjs/api/resources/campaigns/resources/rcs/client/index.d.ts +0 -1
  85. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.ts +112 -49
  86. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.js +1 -3
  87. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/index.d.ts +1 -1
  88. package/dist/cjs/api/resources/campaigns/resources/rcs/index.d.ts +1 -1
  89. package/dist/cjs/api/resources/campaigns/resources/rcs/index.js +1 -1
  90. package/dist/cjs/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.ts +1 -4
  91. package/dist/cjs/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.js +1 -3
  92. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.d.ts +20 -25
  93. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.js +52 -28
  94. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/index.d.ts +0 -1
  95. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.ts +66 -4
  96. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.js +1 -3
  97. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/index.d.ts +1 -1
  98. package/dist/cjs/api/resources/campaigns/resources/tollFree/index.d.ts +1 -1
  99. package/dist/cjs/api/resources/campaigns/resources/tollFree/index.js +1 -1
  100. package/dist/cjs/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.ts +1 -4
  101. package/dist/cjs/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.js +1 -3
  102. package/dist/cjs/api/resources/contacts/client/Client.d.ts +4 -25
  103. package/dist/cjs/api/resources/contacts/client/Client.js +24 -20
  104. package/dist/cjs/api/resources/contacts/client/index.d.ts +0 -1
  105. package/dist/cjs/api/resources/contacts/client/requests/ContactsGetRequest.d.ts +0 -3
  106. package/dist/cjs/api/resources/contacts/client/requests/ContactsGetRequest.js +1 -3
  107. package/dist/cjs/api/resources/contacts/client/requests/CreateContactParams.d.ts +1 -4
  108. package/dist/cjs/api/resources/contacts/client/requests/CreateContactParams.js +1 -3
  109. package/dist/cjs/api/resources/contacts/client/requests/UpdateContactParams.d.ts +1 -4
  110. package/dist/cjs/api/resources/contacts/client/requests/UpdateContactParams.js +1 -3
  111. package/dist/cjs/api/resources/contacts/client/requests/index.d.ts +3 -3
  112. package/dist/cjs/api/resources/conversations/client/Client.d.ts +4 -25
  113. package/dist/cjs/api/resources/conversations/client/Client.js +37 -31
  114. package/dist/cjs/api/resources/conversations/client/index.d.ts +0 -1
  115. package/dist/cjs/api/resources/conversations/client/requests/ConversationsListMessagesRequest.d.ts +1 -4
  116. package/dist/cjs/api/resources/conversations/client/requests/ConversationsListMessagesRequest.js +1 -3
  117. package/dist/cjs/api/resources/conversations/client/requests/ListConversationsParams.d.ts +1 -4
  118. package/dist/cjs/api/resources/conversations/client/requests/ListConversationsParams.js +1 -3
  119. package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationParams.d.ts +0 -3
  120. package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationParams.js +1 -3
  121. package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +3 -3
  122. package/dist/cjs/api/resources/conversations/index.d.ts +1 -1
  123. package/dist/cjs/api/resources/conversations/index.js +1 -1
  124. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestDirection.d.ts +1 -4
  125. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestDirection.js +1 -3
  126. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.d.ts +1 -4
  127. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.js +1 -3
  128. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestStatus.d.ts +1 -4
  129. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestStatus.js +1 -3
  130. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestType.d.ts +1 -4
  131. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestType.js +1 -3
  132. package/dist/cjs/api/resources/conversations/types/index.d.ts +1 -1
  133. package/dist/cjs/api/resources/conversations/types/index.js +1 -1
  134. package/dist/cjs/api/resources/index.d.ts +14 -11
  135. package/dist/cjs/api/resources/index.js +18 -15
  136. package/dist/cjs/api/resources/messages/client/Client.d.ts +26 -26
  137. package/dist/cjs/api/resources/messages/client/Client.js +101 -21
  138. package/dist/cjs/api/resources/messages/client/index.d.ts +0 -1
  139. package/dist/cjs/api/resources/messages/client/requests/ReactMessageParams.d.ts +0 -3
  140. package/dist/cjs/api/resources/messages/client/requests/ReactMessageParams.js +1 -3
  141. package/dist/cjs/api/resources/messages/client/requests/index.d.ts +1 -1
  142. package/dist/cjs/api/resources/messages/index.d.ts +1 -1
  143. package/dist/cjs/api/resources/messages/index.js +1 -1
  144. package/dist/cjs/api/resources/messages/resources/index.d.ts +4 -4
  145. package/dist/cjs/api/resources/messages/resources/index.js +8 -8
  146. package/dist/cjs/api/resources/messages/resources/mms/client/Client.d.ts +4 -25
  147. package/dist/cjs/api/resources/messages/resources/mms/client/Client.js +16 -14
  148. package/dist/cjs/api/resources/messages/resources/mms/client/index.d.ts +0 -1
  149. package/dist/cjs/api/resources/messages/resources/mms/client/requests/Mms.d.ts +1 -4
  150. package/dist/cjs/api/resources/messages/resources/mms/client/requests/Mms.js +1 -3
  151. package/dist/cjs/api/resources/messages/resources/mms/client/requests/index.d.ts +1 -1
  152. package/dist/cjs/api/resources/messages/resources/mms/index.d.ts +1 -1
  153. package/dist/cjs/api/resources/messages/resources/mms/index.js +1 -1
  154. package/dist/cjs/api/resources/messages/resources/mms/types/MmsSendResponse.d.ts +2 -5
  155. package/dist/cjs/api/resources/messages/resources/mms/types/MmsSendResponse.js +1 -3
  156. package/dist/cjs/api/resources/messages/resources/rcs/client/Client.d.ts +5 -26
  157. package/dist/cjs/api/resources/messages/resources/rcs/client/Client.js +26 -19
  158. package/dist/cjs/api/resources/messages/resources/rcs/client/index.d.ts +0 -1
  159. package/dist/cjs/api/resources/messages/resources/rcs/client/requests/SendTypingIndicatorSchema.d.ts +0 -3
  160. package/dist/cjs/api/resources/messages/resources/rcs/client/requests/SendTypingIndicatorSchema.js +1 -3
  161. package/dist/cjs/api/resources/messages/resources/rcs/client/requests/index.d.ts +1 -1
  162. package/dist/cjs/api/resources/messages/resources/rcs/index.d.ts +1 -1
  163. package/dist/cjs/api/resources/messages/resources/rcs/index.js +1 -1
  164. package/dist/cjs/api/resources/messages/resources/rcs/types/SendRichMessageResponse.d.ts +2 -0
  165. package/dist/cjs/api/resources/messages/resources/rcs/types/SendRichMessageResponse.js +3 -0
  166. package/dist/cjs/api/resources/messages/resources/rcs/types/index.d.ts +1 -1
  167. package/dist/cjs/api/resources/messages/resources/rcs/types/index.js +1 -1
  168. package/dist/cjs/api/resources/messages/resources/sms/client/Client.d.ts +4 -25
  169. package/dist/cjs/api/resources/messages/resources/sms/client/Client.js +16 -14
  170. package/dist/cjs/api/resources/messages/resources/sms/client/index.d.ts +0 -1
  171. package/dist/cjs/api/resources/messages/resources/sms/client/requests/Sms.d.ts +1 -4
  172. package/dist/cjs/api/resources/messages/resources/sms/client/requests/Sms.js +1 -3
  173. package/dist/cjs/api/resources/messages/resources/sms/client/requests/index.d.ts +1 -1
  174. package/dist/cjs/api/resources/messages/resources/sms/index.d.ts +1 -1
  175. package/dist/cjs/api/resources/messages/resources/sms/index.js +1 -1
  176. package/dist/cjs/api/resources/messages/resources/sms/types/SmsSendResponse.d.ts +2 -5
  177. package/dist/cjs/api/resources/messages/resources/sms/types/SmsSendResponse.js +1 -3
  178. package/dist/cjs/api/resources/phoneNumbers/client/Client.d.ts +5 -26
  179. package/dist/cjs/api/resources/phoneNumbers/client/Client.js +26 -22
  180. package/dist/cjs/api/resources/phoneNumbers/client/index.d.ts +0 -1
  181. package/dist/cjs/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.d.ts +0 -3
  182. package/dist/cjs/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.js +1 -3
  183. package/dist/cjs/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.d.ts +1 -4
  184. package/dist/cjs/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.js +6 -3
  185. package/dist/cjs/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.ts +1 -4
  186. package/dist/cjs/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.js +1 -3
  187. package/dist/cjs/api/resources/phoneNumbers/client/requests/index.d.ts +3 -3
  188. package/dist/cjs/api/resources/phoneNumbers/index.d.ts +1 -1
  189. package/dist/cjs/api/resources/phoneNumbers/index.js +1 -1
  190. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.d.ts +4 -25
  191. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.js +16 -14
  192. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/index.d.ts +0 -1
  193. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.ts +1 -4
  194. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.js +1 -3
  195. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.d.ts +0 -3
  196. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.js +1 -3
  197. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/index.d.ts +2 -2
  198. package/dist/cjs/api/resources/phoneNumbers/resources/index.d.ts +2 -2
  199. package/dist/cjs/api/resources/phoneNumbers/resources/index.js +6 -6
  200. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.d.ts +4 -25
  201. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.js +18 -16
  202. package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +1 -4
  203. package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.js +1 -3
  204. package/dist/cjs/api/resources/rcs/client/Client.d.ts +4 -25
  205. package/dist/cjs/api/resources/rcs/client/Client.js +22 -18
  206. package/dist/cjs/api/resources/rcs/client/index.d.ts +0 -1
  207. package/dist/cjs/api/resources/rcs/client/requests/RcsCapabilitiesQuery.d.ts +0 -3
  208. package/dist/cjs/api/resources/rcs/client/requests/RcsCapabilitiesQuery.js +1 -3
  209. package/dist/cjs/api/resources/rcs/client/requests/RcsLinkRequest.d.ts +0 -3
  210. package/dist/cjs/api/resources/rcs/client/requests/RcsLinkRequest.js +1 -3
  211. package/dist/cjs/api/resources/rcs/client/requests/RcsWhitelistRequest.d.ts +0 -3
  212. package/dist/cjs/api/resources/rcs/client/requests/RcsWhitelistRequest.js +1 -3
  213. package/dist/cjs/api/resources/rcs/client/requests/index.d.ts +3 -3
  214. package/dist/cjs/api/resources/status/client/Client.d.ts +2 -12
  215. package/dist/cjs/api/resources/status/client/Client.js +1 -3
  216. package/dist/cjs/api/resources/status/resources/get/client/Client.d.ts +4 -25
  217. package/dist/cjs/api/resources/status/resources/get/client/Client.js +39 -31
  218. package/dist/cjs/api/resources/tools/client/Client.d.ts +4 -14
  219. package/dist/cjs/api/resources/tools/client/Client.js +5 -7
  220. package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.d.ts +4 -25
  221. package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.js +16 -14
  222. package/dist/cjs/api/resources/tools/resources/contactCard/client/index.d.ts +0 -1
  223. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.ts +0 -3
  224. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.js +1 -3
  225. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.ts +1 -4
  226. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.js +1 -3
  227. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/index.d.ts +2 -2
  228. package/dist/cjs/api/resources/tools/resources/file/client/Client.d.ts +4 -25
  229. package/dist/cjs/api/resources/tools/resources/file/client/Client.js +16 -14
  230. package/dist/cjs/api/resources/tools/resources/file/client/index.d.ts +0 -1
  231. package/dist/cjs/api/resources/tools/resources/file/client/requests/RefreshFileParams.d.ts +0 -3
  232. package/dist/cjs/api/resources/tools/resources/file/client/requests/RefreshFileParams.js +1 -3
  233. package/dist/cjs/api/resources/tools/resources/file/client/requests/UploadFileParams.d.ts +0 -3
  234. package/dist/cjs/api/resources/tools/resources/file/client/requests/UploadFileParams.js +1 -3
  235. package/dist/cjs/api/resources/tools/resources/file/client/requests/index.d.ts +2 -2
  236. package/dist/cjs/api/resources/tools/resources/index.d.ts +4 -4
  237. package/dist/cjs/api/resources/tools/resources/index.js +8 -8
  238. package/dist/cjs/api/resources/tools/resources/url/client/Client.d.ts +4 -25
  239. package/dist/cjs/api/resources/tools/resources/url/client/Client.js +24 -20
  240. package/dist/cjs/api/resources/tools/resources/url/client/index.d.ts +0 -1
  241. package/dist/cjs/api/resources/tools/resources/url/client/requests/CreateUrlParams.d.ts +1 -4
  242. package/dist/cjs/api/resources/tools/resources/url/client/requests/CreateUrlParams.js +1 -3
  243. package/dist/cjs/api/resources/tools/resources/url/client/requests/UpdateUrlParams.d.ts +1 -4
  244. package/dist/cjs/api/resources/tools/resources/url/client/requests/UpdateUrlParams.js +1 -3
  245. package/dist/cjs/api/resources/tools/resources/url/client/requests/index.d.ts +2 -2
  246. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +4 -25
  247. package/dist/cjs/api/resources/webhooks/client/Client.js +10 -10
  248. package/dist/cjs/api/resources/webhooks/client/index.d.ts +0 -1
  249. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookParams.d.ts +0 -3
  250. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookParams.js +1 -3
  251. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +1 -1
  252. package/dist/cjs/api/types/AdvancedPhoneInformation.d.ts +2 -5
  253. package/dist/cjs/api/types/AdvancedPhoneInformation.js +7 -3
  254. package/dist/cjs/api/types/AttachWebhookParams.d.ts +1 -4
  255. package/dist/cjs/api/types/AttachWebhookParams.js +1 -3
  256. package/dist/cjs/api/types/AttachedPhoneNumberResult.d.ts +1 -4
  257. package/dist/cjs/api/types/AttachedPhoneNumberResult.js +1 -3
  258. package/dist/cjs/api/types/AudienceCountOnly.d.ts +14 -0
  259. package/dist/cjs/api/types/AudienceCountOnly.js +3 -0
  260. package/dist/cjs/api/types/AudienceWithPagination.d.ts +14 -0
  261. package/dist/cjs/api/types/AudienceWithPagination.js +3 -0
  262. package/dist/cjs/api/types/AutofillCampaignParams.d.ts +0 -3
  263. package/dist/cjs/api/types/AutofillCampaignParams.js +1 -3
  264. package/dist/cjs/api/types/AutofillDlcCampaignResponse.d.ts +1 -4
  265. package/dist/cjs/api/types/AutofillDlcCampaignResponse.js +1 -3
  266. package/dist/cjs/api/types/BadRequestErrorBody.d.ts +1 -4
  267. package/dist/cjs/api/types/BadRequestErrorBody.js +1 -3
  268. package/dist/cjs/api/types/BaseRichMessage.d.ts +9 -0
  269. package/dist/cjs/api/types/BaseRichMessage.js +3 -0
  270. package/dist/cjs/api/types/BasicPhoneInformation.d.ts +1 -4
  271. package/dist/cjs/api/types/BasicPhoneInformation.js +1 -3
  272. package/dist/cjs/api/types/BrandStatus.d.ts +1 -4
  273. package/dist/cjs/api/types/BrandStatus.js +1 -3
  274. package/dist/cjs/api/types/BrandStatusEnum.d.ts +1 -4
  275. package/dist/cjs/api/types/BrandStatusEnum.js +10 -3
  276. package/dist/cjs/api/types/ButtonClicked.d.ts +1 -4
  277. package/dist/cjs/api/types/ButtonClicked.js +1 -3
  278. package/dist/cjs/api/types/ButtonClickedData.d.ts +2 -5
  279. package/dist/cjs/api/types/ButtonClickedData.js +7 -3
  280. package/dist/cjs/api/types/CampaignEnum.d.ts +1 -4
  281. package/dist/cjs/api/types/CampaignEnum.js +7 -3
  282. package/dist/cjs/api/types/CampaignQuery.d.ts +1 -4
  283. package/dist/cjs/api/types/CampaignQuery.js +1 -3
  284. package/dist/cjs/api/types/CampaignSubmissionResult.d.ts +0 -3
  285. package/dist/cjs/api/types/CampaignSubmissionResult.js +1 -3
  286. package/dist/cjs/api/types/CampaignValidationResult.d.ts +0 -3
  287. package/dist/cjs/api/types/CampaignValidationResult.js +1 -3
  288. package/dist/cjs/api/types/CancelScheduledMessageResponse.d.ts +4 -0
  289. package/dist/cjs/api/types/CancelScheduledMessageResponse.js +3 -0
  290. package/dist/cjs/api/types/CompanyEntityTypeEnum.d.ts +9 -0
  291. package/dist/cjs/api/types/CompanyEntityTypeEnum.js +12 -0
  292. package/dist/cjs/api/types/CompanySectorEnum.d.ts +2 -7
  293. package/dist/cjs/api/types/CompanySectorEnum.js +2 -3
  294. package/dist/cjs/api/types/CompanyTypeEnum.d.ts +2 -7
  295. package/dist/cjs/api/types/CompanyTypeEnum.js +2 -3
  296. package/dist/cjs/api/types/ConfiguredWebhook.d.ts +1 -4
  297. package/dist/cjs/api/types/ConfiguredWebhook.js +1 -3
  298. package/dist/cjs/api/types/Contact.d.ts +0 -3
  299. package/dist/cjs/api/types/Contact.js +1 -3
  300. package/dist/cjs/api/types/ContactId.d.ts +0 -3
  301. package/dist/cjs/api/types/ContactId.js +1 -3
  302. package/dist/cjs/api/types/Conversation.d.ts +1 -4
  303. package/dist/cjs/api/types/Conversation.js +1 -3
  304. package/dist/cjs/api/types/ConversationList.d.ts +1 -4
  305. package/dist/cjs/api/types/ConversationList.js +1 -3
  306. package/dist/cjs/api/types/CreateUrlOptions.d.ts +0 -3
  307. package/dist/cjs/api/types/CreateUrlOptions.js +1 -3
  308. package/dist/cjs/api/types/DeleteAudienceResponse.d.ts +4 -0
  309. package/dist/cjs/api/types/DeleteAudienceResponse.js +3 -0
  310. package/dist/cjs/api/types/DetachedPhoneNumberResult.d.ts +1 -4
  311. package/dist/cjs/api/types/DetachedPhoneNumberResult.js +1 -3
  312. package/dist/cjs/api/types/DetachedWebhookInfo.d.ts +0 -3
  313. package/dist/cjs/api/types/DetachedWebhookInfo.js +1 -3
  314. package/dist/cjs/api/types/DetailedPhoneNumberEnum.d.ts +1 -4
  315. package/dist/cjs/api/types/DetailedPhoneNumberEnum.js +7 -3
  316. package/dist/cjs/api/types/DlcAssignmentStatusEnum.d.ts +1 -4
  317. package/dist/cjs/api/types/DlcAssignmentStatusEnum.js +10 -3
  318. package/dist/cjs/api/types/DlcCampaignStatus.d.ts +1 -4
  319. package/dist/cjs/api/types/DlcCampaignStatus.js +1 -3
  320. package/dist/cjs/api/types/DlcCampaignUseCaseEnum.d.ts +2 -7
  321. package/dist/cjs/api/types/DlcCampaignUseCaseEnum.js +2 -3
  322. package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.d.ts +1 -4
  323. package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.js +1 -3
  324. package/dist/cjs/api/types/EnhancedContact.d.ts +1 -4
  325. package/dist/cjs/api/types/EnhancedContact.js +1 -3
  326. package/dist/cjs/api/types/EnhancedContactItem.d.ts +0 -3
  327. package/dist/cjs/api/types/EnhancedContactItem.js +1 -3
  328. package/dist/cjs/api/types/Error_.d.ts +0 -3
  329. package/dist/cjs/api/types/Error_.js +1 -3
  330. package/dist/cjs/api/types/ExtendedBrand.d.ts +1 -4
  331. package/dist/cjs/api/types/ExtendedBrand.js +1 -3
  332. package/dist/cjs/api/types/ExtendedBrandWithVetting.d.ts +1 -4
  333. package/dist/cjs/api/types/ExtendedBrandWithVetting.js +1 -3
  334. package/dist/cjs/api/types/ExtendedRcsCampaign.d.ts +55 -30
  335. package/dist/cjs/api/types/ExtendedRcsCampaign.js +1 -3
  336. package/dist/cjs/api/types/GetConversationParams.d.ts +0 -3
  337. package/dist/cjs/api/types/GetConversationParams.js +1 -3
  338. package/dist/cjs/api/types/LinkClickEvent.d.ts +0 -3
  339. package/dist/cjs/api/types/LinkClickEvent.js +1 -3
  340. package/dist/cjs/api/types/LocationShareAction.d.ts +0 -3
  341. package/dist/cjs/api/types/LocationShareAction.js +1 -3
  342. package/dist/cjs/api/types/Message.d.ts +1 -4
  343. package/dist/cjs/api/types/Message.js +1 -3
  344. package/dist/cjs/api/types/MessageContent.d.ts +1 -4
  345. package/dist/cjs/api/types/MessageContent.js +1 -3
  346. package/dist/cjs/api/types/MessageEvent.d.ts +3 -8
  347. package/dist/cjs/api/types/MessageEvent.js +2 -3
  348. package/dist/cjs/api/types/MessageEventContent.d.ts +1 -4
  349. package/dist/cjs/api/types/MessageEventContent.js +1 -3
  350. package/dist/cjs/api/types/MessageEventMmsContent.d.ts +0 -3
  351. package/dist/cjs/api/types/MessageEventMmsContent.js +1 -3
  352. package/dist/cjs/api/types/MessageEventRcsButtonData.d.ts +1 -4
  353. package/dist/cjs/api/types/MessageEventRcsButtonData.js +1 -3
  354. package/dist/cjs/api/types/MessageEventRcsCardsContent.d.ts +1 -4
  355. package/dist/cjs/api/types/MessageEventRcsCardsContent.js +1 -3
  356. package/dist/cjs/api/types/MessageEventRcsLocationData.d.ts +1 -4
  357. package/dist/cjs/api/types/MessageEventRcsLocationData.js +1 -3
  358. package/dist/cjs/api/types/MessageEventRcsMediaContent.d.ts +1 -4
  359. package/dist/cjs/api/types/MessageEventRcsMediaContent.js +1 -3
  360. package/dist/cjs/api/types/MessageEventRcsTextContent.d.ts +1 -4
  361. package/dist/cjs/api/types/MessageEventRcsTextContent.js +1 -3
  362. package/dist/cjs/api/types/MessageEventSmsContent.d.ts +0 -3
  363. package/dist/cjs/api/types/MessageEventSmsContent.js +1 -3
  364. package/dist/cjs/api/types/MessageList.d.ts +1 -4
  365. package/dist/cjs/api/types/MessageList.js +1 -3
  366. package/dist/cjs/api/types/MessageMethodEnum.d.ts +2 -7
  367. package/dist/cjs/api/types/MessageMethodEnum.js +2 -3
  368. package/dist/cjs/api/types/MessageProtocolEnum.d.ts +2 -7
  369. package/dist/cjs/api/types/MessageProtocolEnum.js +2 -3
  370. package/dist/cjs/api/types/MessageSchedule.d.ts +7 -4
  371. package/dist/cjs/api/types/MessageSchedule.js +1 -3
  372. package/dist/cjs/api/types/MessageStatusEnum.d.ts +2 -7
  373. package/dist/cjs/api/types/MessageStatusEnum.js +2 -3
  374. package/dist/cjs/api/types/MessageVolumeEnum.d.ts +2 -7
  375. package/dist/cjs/api/types/MessageVolumeEnum.js +2 -3
  376. package/dist/cjs/api/types/MessageWithReaction.d.ts +3 -8
  377. package/dist/cjs/api/types/MessageWithReaction.js +2 -3
  378. package/dist/cjs/api/types/MessagingProfileEnum.d.ts +2 -7
  379. package/dist/cjs/api/types/MessagingProfileEnum.js +2 -3
  380. package/dist/cjs/api/types/MmsContent.d.ts +0 -3
  381. package/dist/cjs/api/types/MmsContent.js +1 -3
  382. package/dist/cjs/api/types/MmsValidationResult.d.ts +0 -3
  383. package/dist/cjs/api/types/MmsValidationResult.js +1 -3
  384. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +0 -3
  385. package/dist/cjs/api/types/NotFoundErrorBody.js +1 -3
  386. package/dist/cjs/api/types/NumberFormat.d.ts +0 -3
  387. package/dist/cjs/api/types/NumberFormat.js +1 -3
  388. package/dist/cjs/api/types/OptInMethodEnum.d.ts +2 -7
  389. package/dist/cjs/api/types/OptInMethodEnum.js +2 -3
  390. package/dist/cjs/api/types/OptionalBrandInfo.d.ts +3 -4
  391. package/dist/cjs/api/types/OptionalBrandInfo.js +1 -3
  392. package/dist/cjs/api/types/OptionalContact.d.ts +0 -3
  393. package/dist/cjs/api/types/OptionalContact.js +1 -3
  394. package/dist/cjs/api/types/OptionalContacts.d.ts +0 -3
  395. package/dist/cjs/api/types/OptionalContacts.js +1 -3
  396. package/dist/cjs/api/types/Pagination.d.ts +10 -0
  397. package/dist/cjs/api/types/Pagination.js +3 -0
  398. package/dist/cjs/api/types/PhoneCapabilities.d.ts +0 -3
  399. package/dist/cjs/api/types/PhoneCapabilities.js +1 -3
  400. package/dist/cjs/api/types/PhoneEnum.d.ts +1 -4
  401. package/dist/cjs/api/types/PhoneEnum.js +6 -3
  402. package/dist/cjs/api/types/PhoneFeatureEnum.d.ts +1 -4
  403. package/dist/cjs/api/types/PhoneFeatureEnum.js +6 -3
  404. package/dist/cjs/api/types/PhoneNumberDetails.d.ts +1 -4
  405. package/dist/cjs/api/types/PhoneNumberDetails.js +1 -3
  406. package/dist/cjs/api/types/PhoneNumberEnum.d.ts +1 -4
  407. package/dist/cjs/api/types/PhoneNumberEnum.js +6 -3
  408. package/dist/cjs/api/types/PhoneNumberStatus.d.ts +1 -4
  409. package/dist/cjs/api/types/PhoneNumberStatus.js +1 -3
  410. package/dist/cjs/api/types/PhoneNumberStatusEnum.d.ts +1 -4
  411. package/dist/cjs/api/types/PhoneNumberStatusEnum.js +8 -3
  412. package/dist/cjs/api/types/ProfileStatusEnum.d.ts +1 -4
  413. package/dist/cjs/api/types/ProfileStatusEnum.js +12 -3
  414. package/dist/cjs/api/types/PurchasedNumber.d.ts +0 -3
  415. package/dist/cjs/api/types/PurchasedNumber.js +1 -3
  416. package/dist/cjs/api/types/RcsButtonCall.d.ts +0 -3
  417. package/dist/cjs/api/types/RcsButtonCall.js +1 -3
  418. package/dist/cjs/api/types/RcsButtonOpenUrl.d.ts +1 -4
  419. package/dist/cjs/api/types/RcsButtonOpenUrl.js +11 -3
  420. package/dist/cjs/api/types/RcsButtonRequestUserLocation.d.ts +0 -3
  421. package/dist/cjs/api/types/RcsButtonRequestUserLocation.js +1 -3
  422. package/dist/cjs/api/types/RcsButtonScheduleEvent.d.ts +0 -3
  423. package/dist/cjs/api/types/RcsButtonScheduleEvent.js +1 -3
  424. package/dist/cjs/api/types/RcsButtonSendLocation.d.ts +0 -3
  425. package/dist/cjs/api/types/RcsButtonSendLocation.js +1 -3
  426. package/dist/cjs/api/types/RcsButtonTrigger.d.ts +0 -3
  427. package/dist/cjs/api/types/RcsButtonTrigger.js +1 -3
  428. package/dist/cjs/api/types/RcsCampaign.d.ts +55 -28
  429. package/dist/cjs/api/types/RcsCampaign.js +1 -3
  430. package/dist/cjs/api/types/RcsCampaignStatus.d.ts +1 -4
  431. package/dist/cjs/api/types/RcsCampaignStatus.js +1 -3
  432. package/dist/cjs/api/types/RcsCampaignUseCaseEnum.d.ts +2 -7
  433. package/dist/cjs/api/types/RcsCampaignUseCaseEnum.js +2 -3
  434. package/dist/cjs/api/types/RcsCapabilitiesResult.d.ts +1 -4
  435. package/dist/cjs/api/types/RcsCapabilitiesResult.js +1 -3
  436. package/dist/cjs/api/types/RcsCapability.d.ts +0 -3
  437. package/dist/cjs/api/types/RcsCapability.js +1 -3
  438. package/dist/cjs/api/types/RcsCardsContent.d.ts +2 -5
  439. package/dist/cjs/api/types/RcsCardsContent.js +1 -3
  440. package/dist/cjs/api/types/RcsContent.d.ts +2 -5
  441. package/dist/cjs/api/types/RcsContent.js +1 -3
  442. package/dist/cjs/api/types/RcsLinkResult.d.ts +0 -3
  443. package/dist/cjs/api/types/RcsLinkResult.js +1 -3
  444. package/dist/cjs/api/types/RcsMediaContent.d.ts +1 -4
  445. package/dist/cjs/api/types/RcsMediaContent.js +1 -3
  446. package/dist/cjs/api/types/RcsMediaDetailsContent.d.ts +0 -3
  447. package/dist/cjs/api/types/RcsMediaDetailsContent.js +1 -3
  448. package/dist/cjs/api/types/RcsMessagingTypeEnum.d.ts +15 -0
  449. package/dist/cjs/api/types/RcsMessagingTypeEnum.js +18 -0
  450. package/dist/cjs/api/types/RcsValidateContent.d.ts +3 -6
  451. package/dist/cjs/api/types/RcsValidateContent.js +1 -3
  452. package/dist/cjs/api/types/RcsValidationResult.d.ts +2 -3
  453. package/dist/cjs/api/types/RcsValidationResult.js +1 -3
  454. package/dist/cjs/api/types/RcsWhitelistResponse.d.ts +0 -3
  455. package/dist/cjs/api/types/RcsWhitelistResponse.js +1 -3
  456. package/dist/cjs/api/types/ReactionResult.d.ts +0 -3
  457. package/dist/cjs/api/types/ReactionResult.js +1 -3
  458. package/dist/cjs/api/types/RefreshedFile.d.ts +0 -3
  459. package/dist/cjs/api/types/RefreshedFile.js +1 -3
  460. package/dist/cjs/api/types/RichButton.d.ts +1 -4
  461. package/dist/cjs/api/types/RichButton.js +1 -3
  462. package/dist/cjs/api/types/{RcsCards.d.ts → RichCards.d.ts} +5 -8
  463. package/dist/cjs/api/types/RichCards.js +3 -0
  464. package/dist/cjs/api/types/RichCardsMessage.d.ts +11 -16
  465. package/dist/cjs/api/types/RichCardsMessage.js +3 -3
  466. package/dist/cjs/api/types/RichMediaMessage.d.ts +2 -5
  467. package/dist/cjs/api/types/RichMediaMessage.js +1 -3
  468. package/dist/cjs/api/types/RichMessage.d.ts +5 -5
  469. package/dist/cjs/api/types/RichMessage.js +1 -3
  470. package/dist/cjs/api/types/{RcsTextContent.d.ts → RichText.d.ts} +2 -5
  471. package/dist/cjs/api/types/RichText.js +3 -0
  472. package/dist/cjs/api/types/RichTextMessage.d.ts +2 -5
  473. package/dist/cjs/api/types/RichTextMessage.js +1 -3
  474. package/dist/{esm/api/types/ScheduledMessaage.d.mts → cjs/api/types/ScheduledMessage.d.ts} +3 -6
  475. package/dist/cjs/api/types/ScheduledMessage.js +3 -0
  476. package/dist/cjs/api/types/{Options.d.ts → SendRichMessageOptions.d.ts} +2 -5
  477. package/dist/cjs/api/types/SendRichMessageOptions.js +3 -0
  478. package/dist/cjs/api/types/SendTypingIndicatorResponse.d.ts +0 -3
  479. package/dist/cjs/api/types/SendTypingIndicatorResponse.js +1 -3
  480. package/dist/cjs/api/types/Sender.d.ts +0 -3
  481. package/dist/cjs/api/types/Sender.js +1 -3
  482. package/dist/cjs/api/types/SentMmsDetails.d.ts +5 -4
  483. package/dist/cjs/api/types/SentMmsDetails.js +1 -3
  484. package/dist/{esm/api/types/SentRcsDetails.d.mts → cjs/api/types/SentRichMessage.d.ts} +1 -4
  485. package/dist/cjs/api/types/SentRichMessage.js +3 -0
  486. package/dist/cjs/api/types/SentSmsDetails.d.ts +2 -7
  487. package/dist/cjs/api/types/SentSmsDetails.js +2 -3
  488. package/dist/cjs/api/types/ShortenedUrl.d.ts +0 -3
  489. package/dist/cjs/api/types/ShortenedUrl.js +1 -3
  490. package/dist/cjs/api/types/ShortenedUrlWithClickData.d.ts +1 -4
  491. package/dist/cjs/api/types/ShortenedUrlWithClickData.js +1 -3
  492. package/dist/cjs/api/types/SmsContent.d.ts +0 -3
  493. package/dist/cjs/api/types/SmsContent.js +1 -3
  494. package/dist/cjs/api/types/SmsValidationResult.d.ts +0 -3
  495. package/dist/cjs/api/types/SmsValidationResult.js +1 -3
  496. package/dist/cjs/api/types/SubUseCaseEnum.d.ts +2 -7
  497. package/dist/cjs/api/types/SubUseCaseEnum.js +2 -3
  498. package/dist/cjs/api/types/SubmissionResults.d.ts +0 -3
  499. package/dist/cjs/api/types/SubmissionResults.js +1 -3
  500. package/dist/cjs/api/types/SuccessfulConversationUpdate.d.ts +0 -3
  501. package/dist/cjs/api/types/SuccessfulConversationUpdate.js +1 -3
  502. package/dist/cjs/api/types/TollFreeCampaign.d.ts +50 -4
  503. package/dist/cjs/api/types/TollFreeCampaign.js +1 -3
  504. package/dist/cjs/api/types/TollFreeCampaignStatus.d.ts +1 -4
  505. package/dist/cjs/api/types/TollFreeCampaignStatus.js +1 -3
  506. package/dist/cjs/api/types/TollFreeCampaignUseCaseEnum.d.ts +2 -7
  507. package/dist/cjs/api/types/TollFreeCampaignUseCaseEnum.js +2 -3
  508. package/dist/cjs/api/types/TollFreeCampaignWithExtendedBrandAndStatus.d.ts +1 -4
  509. package/dist/cjs/api/types/TollFreeCampaignWithExtendedBrandAndStatus.js +1 -3
  510. package/dist/cjs/api/types/TollFreeStatusEnum.d.ts +1 -4
  511. package/dist/cjs/api/types/TollFreeStatusEnum.js +10 -3
  512. package/dist/cjs/api/types/Tracking.d.ts +1 -4
  513. package/dist/cjs/api/types/Tracking.js +8 -3
  514. package/dist/cjs/api/types/UpdatedContactId.d.ts +0 -3
  515. package/dist/cjs/api/types/UpdatedContactId.js +1 -3
  516. package/dist/cjs/api/types/UploadResults.d.ts +0 -3
  517. package/dist/cjs/api/types/UploadResults.js +1 -3
  518. package/dist/cjs/api/types/UpsertContact.d.ts +0 -3
  519. package/dist/cjs/api/types/UpsertContact.js +1 -3
  520. package/dist/cjs/api/types/UserEvent.d.ts +0 -3
  521. package/dist/cjs/api/types/UserEvent.js +1 -3
  522. package/dist/cjs/api/types/VCardData.d.ts +1 -4
  523. package/dist/cjs/api/types/VCardData.js +1 -3
  524. package/dist/cjs/api/types/ValidateCampaignParams.d.ts +0 -3
  525. package/dist/cjs/api/types/ValidateCampaignParams.js +1 -3
  526. package/dist/cjs/api/types/ValidationErrorDetails.d.ts +0 -3
  527. package/dist/cjs/api/types/ValidationErrorDetails.js +1 -3
  528. package/dist/cjs/api/types/ValidationResults.d.ts +1 -4
  529. package/dist/cjs/api/types/ValidationResults.js +1 -3
  530. package/dist/cjs/api/types/Vcard.d.ts +1 -4
  531. package/dist/cjs/api/types/Vcard.js +1 -3
  532. package/dist/cjs/api/types/VcardAddress.d.ts +1 -4
  533. package/dist/cjs/api/types/VcardAddress.js +1 -3
  534. package/dist/cjs/api/types/VcardContent.d.ts +1 -4
  535. package/dist/cjs/api/types/VcardContent.js +1 -3
  536. package/dist/cjs/api/types/VcardEmail.d.ts +1 -4
  537. package/dist/cjs/api/types/VcardEmail.js +1 -3
  538. package/dist/cjs/api/types/VcardPhone.d.ts +1 -4
  539. package/dist/cjs/api/types/VcardPhone.js +1 -3
  540. package/dist/cjs/api/types/VcardResource.d.ts +0 -3
  541. package/dist/cjs/api/types/VcardResource.js +1 -3
  542. package/dist/cjs/api/types/VettingFeedback.d.ts +0 -3
  543. package/dist/cjs/api/types/VettingFeedback.js +1 -3
  544. package/dist/cjs/api/types/VettingHistory.d.ts +2 -7
  545. package/dist/cjs/api/types/VettingHistory.js +2 -3
  546. package/dist/cjs/api/types/VettingResults.d.ts +0 -3
  547. package/dist/cjs/api/types/VettingResults.js +1 -3
  548. package/dist/cjs/api/types/WebhookEventEnum.d.ts +1 -4
  549. package/dist/cjs/api/types/WebhookEventEnum.js +6 -3
  550. package/dist/cjs/api/types/WebhookResult.d.ts +1 -4
  551. package/dist/cjs/api/types/WebhookResult.js +1 -3
  552. package/dist/cjs/api/types/Webhooks.d.ts +0 -3
  553. package/dist/cjs/api/types/Webhooks.js +1 -3
  554. package/dist/cjs/api/types/ZodError.d.ts +0 -3
  555. package/dist/cjs/api/types/ZodError.js +1 -3
  556. package/dist/cjs/api/types/index.d.ts +125 -119
  557. package/dist/cjs/api/types/index.js +125 -119
  558. package/dist/cjs/core/exports.d.ts +1 -0
  559. package/dist/cjs/core/exports.js +17 -0
  560. package/dist/cjs/core/fetcher/APIResponse.d.ts +1 -1
  561. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
  562. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  563. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  564. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  565. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  566. package/dist/cjs/core/fetcher/Fetcher.d.ts +9 -4
  567. package/dist/cjs/core/fetcher/Fetcher.js +205 -10
  568. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +1 -1
  569. package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
  570. package/dist/cjs/core/fetcher/getRequestBody.d.ts +1 -1
  571. package/dist/cjs/core/fetcher/getRequestBody.js +4 -0
  572. package/dist/cjs/core/fetcher/getResponseBody.js +3 -3
  573. package/dist/cjs/core/fetcher/index.d.ts +2 -0
  574. package/dist/cjs/core/fetcher/index.js +3 -1
  575. package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -1
  576. package/dist/cjs/core/fetcher/makeRequest.js +2 -4
  577. package/dist/cjs/core/fetcher/requestWithRetries.js +16 -21
  578. package/dist/cjs/core/fetcher/signals.d.ts +0 -6
  579. package/dist/cjs/core/fetcher/signals.js +0 -12
  580. package/dist/cjs/core/headers.d.ts +2 -3
  581. package/dist/cjs/core/headers.js +6 -4
  582. package/dist/cjs/core/index.d.ts +1 -0
  583. package/dist/cjs/core/index.js +2 -1
  584. package/dist/cjs/core/logging/exports.d.ts +18 -0
  585. package/dist/cjs/core/logging/exports.js +45 -0
  586. package/dist/cjs/core/logging/index.d.ts +1 -0
  587. package/dist/cjs/core/logging/index.js +17 -0
  588. package/dist/cjs/core/logging/logger.d.ts +126 -0
  589. package/dist/cjs/core/logging/logger.js +144 -0
  590. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  591. package/dist/cjs/core/url/encodePathParam.js +21 -0
  592. package/dist/cjs/core/url/index.d.ts +1 -0
  593. package/dist/cjs/core/url/index.js +3 -1
  594. package/dist/cjs/core/url/join.js +3 -4
  595. package/dist/cjs/environments.d.ts +0 -3
  596. package/dist/cjs/environments.js +1 -3
  597. package/dist/cjs/errors/PinnacleError.d.ts +1 -4
  598. package/dist/cjs/errors/PinnacleError.js +2 -4
  599. package/dist/cjs/errors/PinnacleTimeoutError.d.ts +0 -3
  600. package/dist/cjs/errors/PinnacleTimeoutError.js +1 -3
  601. package/dist/cjs/exports.d.ts +1 -0
  602. package/dist/cjs/exports.js +17 -0
  603. package/dist/cjs/version.d.ts +1 -1
  604. package/dist/cjs/version.js +1 -1
  605. package/dist/cjs/wrapper/tools/FileUploader.d.ts +1 -1
  606. package/dist/esm/BaseClient.d.mts +30 -0
  607. package/dist/esm/BaseClient.mjs +2 -0
  608. package/dist/esm/Client.d.mts +8 -25
  609. package/dist/esm/Client.mjs +13 -10
  610. package/dist/esm/api/errors/BadRequestError.d.mts +1 -4
  611. package/dist/esm/api/errors/BadRequestError.mjs +1 -3
  612. package/dist/esm/api/errors/InternalServerError.d.mts +2 -5
  613. package/dist/esm/api/errors/InternalServerError.mjs +1 -3
  614. package/dist/esm/api/errors/NotFoundError.d.mts +1 -4
  615. package/dist/esm/api/errors/NotFoundError.mjs +1 -3
  616. package/dist/esm/api/errors/NotImplementedError.d.mts +2 -5
  617. package/dist/esm/api/errors/NotImplementedError.mjs +1 -3
  618. package/dist/esm/api/errors/PaymentRequiredError.d.mts +2 -5
  619. package/dist/esm/api/errors/PaymentRequiredError.mjs +1 -3
  620. package/dist/esm/api/errors/UnauthorizedError.d.mts +2 -5
  621. package/dist/esm/api/errors/UnauthorizedError.mjs +1 -3
  622. package/dist/esm/api/errors/index.d.mts +2 -2
  623. package/dist/esm/api/errors/index.mjs +2 -2
  624. package/dist/esm/api/index.d.mts +1 -1
  625. package/dist/esm/api/index.mjs +1 -1
  626. package/dist/esm/api/resources/audiences/client/Client.d.mts +108 -0
  627. package/dist/esm/api/resources/audiences/client/Client.mjs +354 -0
  628. package/dist/esm/api/resources/audiences/client/index.d.mts +1 -0
  629. package/dist/esm/api/resources/audiences/client/index.mjs +1 -0
  630. package/dist/esm/api/resources/audiences/client/requests/AudiencesDeleteRequest.d.mts +10 -0
  631. package/dist/esm/api/resources/audiences/client/requests/AudiencesDeleteRequest.mjs +2 -0
  632. package/dist/esm/api/resources/audiences/client/requests/AudiencesGetRequest.d.mts +19 -0
  633. package/dist/esm/api/resources/audiences/client/requests/AudiencesGetRequest.mjs +2 -0
  634. package/dist/esm/api/resources/audiences/client/requests/CreateAudienceParams.d.mts +28 -0
  635. package/dist/esm/api/resources/audiences/client/requests/CreateAudienceParams.mjs +2 -0
  636. package/dist/esm/api/resources/audiences/client/requests/UpdateAudienceParams.d.mts +16 -0
  637. package/dist/esm/api/resources/audiences/client/requests/UpdateAudienceParams.mjs +2 -0
  638. package/dist/esm/api/resources/audiences/client/requests/index.d.mts +4 -0
  639. package/dist/esm/api/resources/audiences/client/requests/index.mjs +1 -0
  640. package/dist/esm/api/resources/audiences/index.d.mts +3 -0
  641. package/dist/esm/api/resources/audiences/index.mjs +3 -0
  642. package/dist/esm/api/resources/audiences/resources/contacts/client/Client.d.mts +59 -0
  643. package/dist/esm/api/resources/audiences/resources/contacts/client/Client.mjs +185 -0
  644. package/dist/esm/api/resources/audiences/resources/contacts/client/index.d.mts +1 -0
  645. package/dist/esm/api/resources/audiences/resources/contacts/client/index.mjs +1 -0
  646. package/dist/esm/api/resources/audiences/resources/contacts/client/requests/AddContactsParams.d.mts +13 -0
  647. package/dist/esm/api/resources/audiences/resources/contacts/client/requests/AddContactsParams.mjs +2 -0
  648. package/dist/esm/api/resources/audiences/resources/contacts/client/requests/RemoveContactsParams.d.mts +13 -0
  649. package/dist/esm/api/resources/audiences/resources/contacts/client/requests/RemoveContactsParams.mjs +2 -0
  650. package/dist/esm/api/resources/audiences/resources/contacts/client/requests/index.d.mts +2 -0
  651. package/dist/esm/api/resources/audiences/resources/contacts/client/requests/index.mjs +1 -0
  652. package/dist/esm/api/resources/audiences/resources/contacts/index.d.mts +1 -0
  653. package/dist/esm/api/resources/audiences/resources/contacts/index.mjs +1 -0
  654. package/dist/esm/api/resources/audiences/resources/index.d.mts +2 -0
  655. package/dist/esm/api/resources/audiences/resources/index.mjs +2 -0
  656. package/dist/esm/api/resources/audiences/types/AudiencesGetResponse.d.mts +8 -0
  657. package/dist/esm/api/resources/audiences/types/AudiencesGetResponse.mjs +2 -0
  658. package/dist/esm/api/resources/audiences/types/index.d.mts +1 -0
  659. package/dist/esm/api/resources/audiences/types/index.mjs +1 -0
  660. package/dist/esm/api/resources/brands/client/Client.d.mts +6 -25
  661. package/dist/esm/api/resources/brands/client/Client.mjs +46 -34
  662. package/dist/esm/api/resources/brands/client/index.d.mts +0 -1
  663. package/dist/esm/api/resources/brands/client/requests/AutofillBrandParams.d.mts +0 -3
  664. package/dist/esm/api/resources/brands/client/requests/AutofillBrandParams.mjs +1 -3
  665. package/dist/esm/api/resources/brands/client/requests/BrandsGetRequest.d.mts +0 -3
  666. package/dist/esm/api/resources/brands/client/requests/BrandsGetRequest.mjs +1 -3
  667. package/dist/esm/api/resources/brands/client/requests/UpsertBrandParams.d.mts +4 -4
  668. package/dist/esm/api/resources/brands/client/requests/UpsertBrandParams.mjs +1 -3
  669. package/dist/esm/api/resources/brands/client/requests/ValidateBrandParams.d.mts +4 -4
  670. package/dist/esm/api/resources/brands/client/requests/ValidateBrandParams.mjs +1 -3
  671. package/dist/esm/api/resources/brands/client/requests/VetBrandParams.d.mts +1 -5
  672. package/dist/esm/api/resources/brands/client/requests/VetBrandParams.mjs +1 -3
  673. package/dist/esm/api/resources/brands/client/requests/index.d.mts +5 -5
  674. package/dist/esm/api/resources/campaigns/client/Client.d.mts +3 -13
  675. package/dist/esm/api/resources/campaigns/client/Client.mjs +2 -4
  676. package/dist/esm/api/resources/campaigns/index.d.mts +1 -1
  677. package/dist/esm/api/resources/campaigns/index.mjs +1 -1
  678. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.d.mts +4 -25
  679. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.mjs +36 -28
  680. package/dist/esm/api/resources/campaigns/resources/dlc/client/index.d.mts +0 -1
  681. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.mts +1 -4
  682. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.mjs +1 -3
  683. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/index.d.mts +1 -1
  684. package/dist/esm/api/resources/campaigns/resources/index.d.mts +5 -5
  685. package/dist/esm/api/resources/campaigns/resources/index.mjs +5 -5
  686. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.d.mts +36 -40
  687. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.mjs +68 -43
  688. package/dist/esm/api/resources/campaigns/resources/rcs/client/index.d.mts +0 -1
  689. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.mts +112 -49
  690. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.mjs +1 -3
  691. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/index.d.mts +1 -1
  692. package/dist/esm/api/resources/campaigns/resources/rcs/index.d.mts +1 -1
  693. package/dist/esm/api/resources/campaigns/resources/rcs/index.mjs +1 -1
  694. package/dist/esm/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.mts +1 -4
  695. package/dist/esm/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.mjs +1 -3
  696. package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.d.mts +20 -25
  697. package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.mjs +52 -28
  698. package/dist/esm/api/resources/campaigns/resources/tollFree/client/index.d.mts +0 -1
  699. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.mts +66 -4
  700. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.mjs +1 -3
  701. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/index.d.mts +1 -1
  702. package/dist/esm/api/resources/campaigns/resources/tollFree/index.d.mts +1 -1
  703. package/dist/esm/api/resources/campaigns/resources/tollFree/index.mjs +1 -1
  704. package/dist/esm/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.mts +1 -4
  705. package/dist/esm/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.mjs +1 -3
  706. package/dist/esm/api/resources/contacts/client/Client.d.mts +4 -25
  707. package/dist/esm/api/resources/contacts/client/Client.mjs +24 -20
  708. package/dist/esm/api/resources/contacts/client/index.d.mts +0 -1
  709. package/dist/esm/api/resources/contacts/client/requests/ContactsGetRequest.d.mts +0 -3
  710. package/dist/esm/api/resources/contacts/client/requests/ContactsGetRequest.mjs +1 -3
  711. package/dist/esm/api/resources/contacts/client/requests/CreateContactParams.d.mts +1 -4
  712. package/dist/esm/api/resources/contacts/client/requests/CreateContactParams.mjs +1 -3
  713. package/dist/esm/api/resources/contacts/client/requests/UpdateContactParams.d.mts +1 -4
  714. package/dist/esm/api/resources/contacts/client/requests/UpdateContactParams.mjs +1 -3
  715. package/dist/esm/api/resources/contacts/client/requests/index.d.mts +3 -3
  716. package/dist/esm/api/resources/conversations/client/Client.d.mts +4 -25
  717. package/dist/esm/api/resources/conversations/client/Client.mjs +37 -31
  718. package/dist/esm/api/resources/conversations/client/index.d.mts +0 -1
  719. package/dist/esm/api/resources/conversations/client/requests/ConversationsListMessagesRequest.d.mts +1 -4
  720. package/dist/esm/api/resources/conversations/client/requests/ConversationsListMessagesRequest.mjs +1 -3
  721. package/dist/esm/api/resources/conversations/client/requests/ListConversationsParams.d.mts +1 -4
  722. package/dist/esm/api/resources/conversations/client/requests/ListConversationsParams.mjs +1 -3
  723. package/dist/esm/api/resources/conversations/client/requests/UpdateConversationParams.d.mts +0 -3
  724. package/dist/esm/api/resources/conversations/client/requests/UpdateConversationParams.mjs +1 -3
  725. package/dist/esm/api/resources/conversations/client/requests/index.d.mts +3 -3
  726. package/dist/esm/api/resources/conversations/index.d.mts +1 -1
  727. package/dist/esm/api/resources/conversations/index.mjs +1 -1
  728. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestDirection.d.mts +1 -4
  729. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestDirection.mjs +1 -3
  730. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.d.mts +1 -4
  731. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.mjs +1 -3
  732. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestStatus.d.mts +1 -4
  733. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestStatus.mjs +1 -3
  734. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestType.d.mts +1 -4
  735. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestType.mjs +1 -3
  736. package/dist/esm/api/resources/conversations/types/index.d.mts +1 -1
  737. package/dist/esm/api/resources/conversations/types/index.mjs +1 -1
  738. package/dist/esm/api/resources/index.d.mts +14 -11
  739. package/dist/esm/api/resources/index.mjs +14 -11
  740. package/dist/esm/api/resources/messages/client/Client.d.mts +26 -26
  741. package/dist/esm/api/resources/messages/client/Client.mjs +96 -16
  742. package/dist/esm/api/resources/messages/client/index.d.mts +0 -1
  743. package/dist/esm/api/resources/messages/client/requests/ReactMessageParams.d.mts +0 -3
  744. package/dist/esm/api/resources/messages/client/requests/ReactMessageParams.mjs +1 -3
  745. package/dist/esm/api/resources/messages/client/requests/index.d.mts +1 -1
  746. package/dist/esm/api/resources/messages/index.d.mts +1 -1
  747. package/dist/esm/api/resources/messages/index.mjs +1 -1
  748. package/dist/esm/api/resources/messages/resources/index.d.mts +4 -4
  749. package/dist/esm/api/resources/messages/resources/index.mjs +4 -4
  750. package/dist/esm/api/resources/messages/resources/mms/client/Client.d.mts +4 -25
  751. package/dist/esm/api/resources/messages/resources/mms/client/Client.mjs +16 -14
  752. package/dist/esm/api/resources/messages/resources/mms/client/index.d.mts +0 -1
  753. package/dist/esm/api/resources/messages/resources/mms/client/requests/Mms.d.mts +1 -4
  754. package/dist/esm/api/resources/messages/resources/mms/client/requests/Mms.mjs +1 -3
  755. package/dist/esm/api/resources/messages/resources/mms/client/requests/index.d.mts +1 -1
  756. package/dist/esm/api/resources/messages/resources/mms/index.d.mts +1 -1
  757. package/dist/esm/api/resources/messages/resources/mms/index.mjs +1 -1
  758. package/dist/esm/api/resources/messages/resources/mms/types/MmsSendResponse.d.mts +2 -5
  759. package/dist/esm/api/resources/messages/resources/mms/types/MmsSendResponse.mjs +1 -3
  760. package/dist/esm/api/resources/messages/resources/rcs/client/Client.d.mts +5 -26
  761. package/dist/esm/api/resources/messages/resources/rcs/client/Client.mjs +26 -19
  762. package/dist/esm/api/resources/messages/resources/rcs/client/index.d.mts +0 -1
  763. package/dist/esm/api/resources/messages/resources/rcs/client/requests/SendTypingIndicatorSchema.d.mts +0 -3
  764. package/dist/esm/api/resources/messages/resources/rcs/client/requests/SendTypingIndicatorSchema.mjs +1 -3
  765. package/dist/esm/api/resources/messages/resources/rcs/client/requests/index.d.mts +1 -1
  766. package/dist/esm/api/resources/messages/resources/rcs/index.d.mts +1 -1
  767. package/dist/esm/api/resources/messages/resources/rcs/index.mjs +1 -1
  768. package/dist/esm/api/resources/messages/resources/rcs/types/SendRichMessageResponse.d.mts +2 -0
  769. package/dist/esm/api/resources/messages/resources/rcs/types/SendRichMessageResponse.mjs +2 -0
  770. package/dist/esm/api/resources/messages/resources/rcs/types/index.d.mts +1 -1
  771. package/dist/esm/api/resources/messages/resources/rcs/types/index.mjs +1 -1
  772. package/dist/esm/api/resources/messages/resources/sms/client/Client.d.mts +4 -25
  773. package/dist/esm/api/resources/messages/resources/sms/client/Client.mjs +16 -14
  774. package/dist/esm/api/resources/messages/resources/sms/client/index.d.mts +0 -1
  775. package/dist/esm/api/resources/messages/resources/sms/client/requests/Sms.d.mts +1 -4
  776. package/dist/esm/api/resources/messages/resources/sms/client/requests/Sms.mjs +1 -3
  777. package/dist/esm/api/resources/messages/resources/sms/client/requests/index.d.mts +1 -1
  778. package/dist/esm/api/resources/messages/resources/sms/index.d.mts +1 -1
  779. package/dist/esm/api/resources/messages/resources/sms/index.mjs +1 -1
  780. package/dist/esm/api/resources/messages/resources/sms/types/SmsSendResponse.d.mts +2 -5
  781. package/dist/esm/api/resources/messages/resources/sms/types/SmsSendResponse.mjs +1 -3
  782. package/dist/esm/api/resources/phoneNumbers/client/Client.d.mts +5 -26
  783. package/dist/esm/api/resources/phoneNumbers/client/Client.mjs +23 -19
  784. package/dist/esm/api/resources/phoneNumbers/client/index.d.mts +0 -1
  785. package/dist/esm/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.d.mts +0 -3
  786. package/dist/esm/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.mjs +1 -3
  787. package/dist/esm/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.d.mts +1 -4
  788. package/dist/esm/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.mjs +6 -3
  789. package/dist/esm/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.mts +1 -4
  790. package/dist/esm/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.mjs +1 -3
  791. package/dist/esm/api/resources/phoneNumbers/client/requests/index.d.mts +3 -3
  792. package/dist/esm/api/resources/phoneNumbers/index.d.mts +1 -1
  793. package/dist/esm/api/resources/phoneNumbers/index.mjs +1 -1
  794. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.d.mts +4 -25
  795. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.mjs +16 -14
  796. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/index.d.mts +0 -1
  797. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.mts +1 -4
  798. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.mjs +1 -3
  799. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.d.mts +0 -3
  800. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.mjs +1 -3
  801. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/index.d.mts +2 -2
  802. package/dist/esm/api/resources/phoneNumbers/resources/index.d.mts +2 -2
  803. package/dist/esm/api/resources/phoneNumbers/resources/index.mjs +2 -2
  804. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.d.mts +4 -25
  805. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.mjs +18 -16
  806. package/dist/esm/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.mts +1 -4
  807. package/dist/esm/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.mjs +1 -3
  808. package/dist/esm/api/resources/rcs/client/Client.d.mts +4 -25
  809. package/dist/esm/api/resources/rcs/client/Client.mjs +22 -18
  810. package/dist/esm/api/resources/rcs/client/index.d.mts +0 -1
  811. package/dist/esm/api/resources/rcs/client/requests/RcsCapabilitiesQuery.d.mts +0 -3
  812. package/dist/esm/api/resources/rcs/client/requests/RcsCapabilitiesQuery.mjs +1 -3
  813. package/dist/esm/api/resources/rcs/client/requests/RcsLinkRequest.d.mts +0 -3
  814. package/dist/esm/api/resources/rcs/client/requests/RcsLinkRequest.mjs +1 -3
  815. package/dist/esm/api/resources/rcs/client/requests/RcsWhitelistRequest.d.mts +0 -3
  816. package/dist/esm/api/resources/rcs/client/requests/RcsWhitelistRequest.mjs +1 -3
  817. package/dist/esm/api/resources/rcs/client/requests/index.d.mts +3 -3
  818. package/dist/esm/api/resources/status/client/Client.d.mts +2 -12
  819. package/dist/esm/api/resources/status/client/Client.mjs +1 -3
  820. package/dist/esm/api/resources/status/resources/get/client/Client.d.mts +4 -25
  821. package/dist/esm/api/resources/status/resources/get/client/Client.mjs +39 -31
  822. package/dist/esm/api/resources/tools/client/Client.d.mts +4 -14
  823. package/dist/esm/api/resources/tools/client/Client.mjs +3 -5
  824. package/dist/esm/api/resources/tools/resources/contactCard/client/Client.d.mts +4 -25
  825. package/dist/esm/api/resources/tools/resources/contactCard/client/Client.mjs +16 -14
  826. package/dist/esm/api/resources/tools/resources/contactCard/client/index.d.mts +0 -1
  827. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.mts +0 -3
  828. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.mjs +1 -3
  829. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.mts +1 -4
  830. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.mjs +1 -3
  831. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/index.d.mts +2 -2
  832. package/dist/esm/api/resources/tools/resources/file/client/Client.d.mts +4 -25
  833. package/dist/esm/api/resources/tools/resources/file/client/Client.mjs +16 -14
  834. package/dist/esm/api/resources/tools/resources/file/client/index.d.mts +0 -1
  835. package/dist/esm/api/resources/tools/resources/file/client/requests/RefreshFileParams.d.mts +0 -3
  836. package/dist/esm/api/resources/tools/resources/file/client/requests/RefreshFileParams.mjs +1 -3
  837. package/dist/esm/api/resources/tools/resources/file/client/requests/UploadFileParams.d.mts +0 -3
  838. package/dist/esm/api/resources/tools/resources/file/client/requests/UploadFileParams.mjs +1 -3
  839. package/dist/esm/api/resources/tools/resources/file/client/requests/index.d.mts +2 -2
  840. package/dist/esm/api/resources/tools/resources/index.d.mts +4 -4
  841. package/dist/esm/api/resources/tools/resources/index.mjs +4 -4
  842. package/dist/esm/api/resources/tools/resources/url/client/Client.d.mts +4 -25
  843. package/dist/esm/api/resources/tools/resources/url/client/Client.mjs +24 -20
  844. package/dist/esm/api/resources/tools/resources/url/client/index.d.mts +0 -1
  845. package/dist/esm/api/resources/tools/resources/url/client/requests/CreateUrlParams.d.mts +1 -4
  846. package/dist/esm/api/resources/tools/resources/url/client/requests/CreateUrlParams.mjs +1 -3
  847. package/dist/esm/api/resources/tools/resources/url/client/requests/UpdateUrlParams.d.mts +1 -4
  848. package/dist/esm/api/resources/tools/resources/url/client/requests/UpdateUrlParams.mjs +1 -3
  849. package/dist/esm/api/resources/tools/resources/url/client/requests/index.d.mts +2 -2
  850. package/dist/esm/api/resources/webhooks/client/Client.d.mts +4 -25
  851. package/dist/esm/api/resources/webhooks/client/Client.mjs +10 -10
  852. package/dist/esm/api/resources/webhooks/client/index.d.mts +0 -1
  853. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookParams.d.mts +0 -3
  854. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookParams.mjs +1 -3
  855. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +1 -1
  856. package/dist/esm/api/types/AdvancedPhoneInformation.d.mts +2 -5
  857. package/dist/esm/api/types/AdvancedPhoneInformation.mjs +7 -3
  858. package/dist/esm/api/types/AttachWebhookParams.d.mts +1 -4
  859. package/dist/esm/api/types/AttachWebhookParams.mjs +1 -3
  860. package/dist/esm/api/types/AttachedPhoneNumberResult.d.mts +1 -4
  861. package/dist/esm/api/types/AttachedPhoneNumberResult.mjs +1 -3
  862. package/dist/esm/api/types/AudienceCountOnly.d.mts +14 -0
  863. package/dist/esm/api/types/AudienceCountOnly.mjs +2 -0
  864. package/dist/esm/api/types/AudienceWithPagination.d.mts +14 -0
  865. package/dist/esm/api/types/AudienceWithPagination.mjs +2 -0
  866. package/dist/esm/api/types/AutofillCampaignParams.d.mts +0 -3
  867. package/dist/esm/api/types/AutofillCampaignParams.mjs +1 -3
  868. package/dist/esm/api/types/AutofillDlcCampaignResponse.d.mts +1 -4
  869. package/dist/esm/api/types/AutofillDlcCampaignResponse.mjs +1 -3
  870. package/dist/esm/api/types/BadRequestErrorBody.d.mts +1 -4
  871. package/dist/esm/api/types/BadRequestErrorBody.mjs +1 -3
  872. package/dist/esm/api/types/BaseRichMessage.d.mts +9 -0
  873. package/dist/esm/api/types/BaseRichMessage.mjs +2 -0
  874. package/dist/esm/api/types/BasicPhoneInformation.d.mts +1 -4
  875. package/dist/esm/api/types/BasicPhoneInformation.mjs +1 -3
  876. package/dist/esm/api/types/BrandStatus.d.mts +1 -4
  877. package/dist/esm/api/types/BrandStatus.mjs +1 -3
  878. package/dist/esm/api/types/BrandStatusEnum.d.mts +1 -4
  879. package/dist/esm/api/types/BrandStatusEnum.mjs +8 -1
  880. package/dist/esm/api/types/ButtonClicked.d.mts +1 -4
  881. package/dist/esm/api/types/ButtonClicked.mjs +1 -3
  882. package/dist/esm/api/types/ButtonClickedData.d.mts +2 -5
  883. package/dist/esm/api/types/ButtonClickedData.mjs +7 -3
  884. package/dist/esm/api/types/CampaignEnum.d.mts +1 -4
  885. package/dist/esm/api/types/CampaignEnum.mjs +5 -1
  886. package/dist/esm/api/types/CampaignQuery.d.mts +1 -4
  887. package/dist/esm/api/types/CampaignQuery.mjs +1 -3
  888. package/dist/esm/api/types/CampaignSubmissionResult.d.mts +0 -3
  889. package/dist/esm/api/types/CampaignSubmissionResult.mjs +1 -3
  890. package/dist/esm/api/types/CampaignValidationResult.d.mts +0 -3
  891. package/dist/esm/api/types/CampaignValidationResult.mjs +1 -3
  892. package/dist/esm/api/types/CancelScheduledMessageResponse.d.mts +4 -0
  893. package/dist/esm/api/types/CancelScheduledMessageResponse.mjs +2 -0
  894. package/dist/esm/api/types/CompanyEntityTypeEnum.d.mts +9 -0
  895. package/dist/esm/api/types/CompanyEntityTypeEnum.mjs +9 -0
  896. package/dist/esm/api/types/CompanySectorEnum.d.mts +2 -7
  897. package/dist/esm/api/types/CompanySectorEnum.mjs +2 -3
  898. package/dist/esm/api/types/CompanyTypeEnum.d.mts +2 -7
  899. package/dist/esm/api/types/CompanyTypeEnum.mjs +2 -3
  900. package/dist/esm/api/types/ConfiguredWebhook.d.mts +1 -4
  901. package/dist/esm/api/types/ConfiguredWebhook.mjs +1 -3
  902. package/dist/esm/api/types/Contact.d.mts +0 -3
  903. package/dist/esm/api/types/Contact.mjs +1 -3
  904. package/dist/esm/api/types/ContactId.d.mts +0 -3
  905. package/dist/esm/api/types/ContactId.mjs +1 -3
  906. package/dist/esm/api/types/Conversation.d.mts +1 -4
  907. package/dist/esm/api/types/Conversation.mjs +1 -3
  908. package/dist/esm/api/types/ConversationList.d.mts +1 -4
  909. package/dist/esm/api/types/ConversationList.mjs +1 -3
  910. package/dist/esm/api/types/CreateUrlOptions.d.mts +0 -3
  911. package/dist/esm/api/types/CreateUrlOptions.mjs +1 -3
  912. package/dist/esm/api/types/DeleteAudienceResponse.d.mts +4 -0
  913. package/dist/esm/api/types/DeleteAudienceResponse.mjs +2 -0
  914. package/dist/esm/api/types/DetachedPhoneNumberResult.d.mts +1 -4
  915. package/dist/esm/api/types/DetachedPhoneNumberResult.mjs +1 -3
  916. package/dist/esm/api/types/DetachedWebhookInfo.d.mts +0 -3
  917. package/dist/esm/api/types/DetachedWebhookInfo.mjs +1 -3
  918. package/dist/esm/api/types/DetailedPhoneNumberEnum.d.mts +1 -4
  919. package/dist/esm/api/types/DetailedPhoneNumberEnum.mjs +5 -1
  920. package/dist/esm/api/types/DlcAssignmentStatusEnum.d.mts +1 -4
  921. package/dist/esm/api/types/DlcAssignmentStatusEnum.mjs +8 -1
  922. package/dist/esm/api/types/DlcCampaignStatus.d.mts +1 -4
  923. package/dist/esm/api/types/DlcCampaignStatus.mjs +1 -3
  924. package/dist/esm/api/types/DlcCampaignUseCaseEnum.d.mts +2 -7
  925. package/dist/esm/api/types/DlcCampaignUseCaseEnum.mjs +2 -3
  926. package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.d.mts +1 -4
  927. package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.mjs +1 -3
  928. package/dist/esm/api/types/EnhancedContact.d.mts +1 -4
  929. package/dist/esm/api/types/EnhancedContact.mjs +1 -3
  930. package/dist/esm/api/types/EnhancedContactItem.d.mts +0 -3
  931. package/dist/esm/api/types/EnhancedContactItem.mjs +1 -3
  932. package/dist/esm/api/types/Error_.d.mts +0 -3
  933. package/dist/esm/api/types/Error_.mjs +1 -3
  934. package/dist/esm/api/types/ExtendedBrand.d.mts +1 -4
  935. package/dist/esm/api/types/ExtendedBrand.mjs +1 -3
  936. package/dist/esm/api/types/ExtendedBrandWithVetting.d.mts +1 -4
  937. package/dist/esm/api/types/ExtendedBrandWithVetting.mjs +1 -3
  938. package/dist/esm/api/types/ExtendedRcsCampaign.d.mts +55 -30
  939. package/dist/esm/api/types/ExtendedRcsCampaign.mjs +1 -3
  940. package/dist/esm/api/types/GetConversationParams.d.mts +0 -3
  941. package/dist/esm/api/types/GetConversationParams.mjs +1 -3
  942. package/dist/esm/api/types/LinkClickEvent.d.mts +0 -3
  943. package/dist/esm/api/types/LinkClickEvent.mjs +1 -3
  944. package/dist/esm/api/types/LocationShareAction.d.mts +0 -3
  945. package/dist/esm/api/types/LocationShareAction.mjs +1 -3
  946. package/dist/esm/api/types/Message.d.mts +1 -4
  947. package/dist/esm/api/types/Message.mjs +1 -3
  948. package/dist/esm/api/types/MessageContent.d.mts +1 -4
  949. package/dist/esm/api/types/MessageContent.mjs +1 -3
  950. package/dist/esm/api/types/MessageEvent.d.mts +3 -8
  951. package/dist/esm/api/types/MessageEvent.mjs +2 -3
  952. package/dist/esm/api/types/MessageEventContent.d.mts +1 -4
  953. package/dist/esm/api/types/MessageEventContent.mjs +1 -3
  954. package/dist/esm/api/types/MessageEventMmsContent.d.mts +0 -3
  955. package/dist/esm/api/types/MessageEventMmsContent.mjs +1 -3
  956. package/dist/esm/api/types/MessageEventRcsButtonData.d.mts +1 -4
  957. package/dist/esm/api/types/MessageEventRcsButtonData.mjs +1 -3
  958. package/dist/esm/api/types/MessageEventRcsCardsContent.d.mts +1 -4
  959. package/dist/esm/api/types/MessageEventRcsCardsContent.mjs +1 -3
  960. package/dist/esm/api/types/MessageEventRcsLocationData.d.mts +1 -4
  961. package/dist/esm/api/types/MessageEventRcsLocationData.mjs +1 -3
  962. package/dist/esm/api/types/MessageEventRcsMediaContent.d.mts +1 -4
  963. package/dist/esm/api/types/MessageEventRcsMediaContent.mjs +1 -3
  964. package/dist/esm/api/types/MessageEventRcsTextContent.d.mts +1 -4
  965. package/dist/esm/api/types/MessageEventRcsTextContent.mjs +1 -3
  966. package/dist/esm/api/types/MessageEventSmsContent.d.mts +0 -3
  967. package/dist/esm/api/types/MessageEventSmsContent.mjs +1 -3
  968. package/dist/esm/api/types/MessageList.d.mts +1 -4
  969. package/dist/esm/api/types/MessageList.mjs +1 -3
  970. package/dist/esm/api/types/MessageMethodEnum.d.mts +2 -7
  971. package/dist/esm/api/types/MessageMethodEnum.mjs +2 -3
  972. package/dist/esm/api/types/MessageProtocolEnum.d.mts +2 -7
  973. package/dist/esm/api/types/MessageProtocolEnum.mjs +2 -3
  974. package/dist/esm/api/types/MessageSchedule.d.mts +7 -4
  975. package/dist/esm/api/types/MessageSchedule.mjs +1 -3
  976. package/dist/esm/api/types/MessageStatusEnum.d.mts +2 -7
  977. package/dist/esm/api/types/MessageStatusEnum.mjs +2 -3
  978. package/dist/esm/api/types/MessageVolumeEnum.d.mts +2 -7
  979. package/dist/esm/api/types/MessageVolumeEnum.mjs +2 -3
  980. package/dist/esm/api/types/MessageWithReaction.d.mts +3 -8
  981. package/dist/esm/api/types/MessageWithReaction.mjs +2 -3
  982. package/dist/esm/api/types/MessagingProfileEnum.d.mts +2 -7
  983. package/dist/esm/api/types/MessagingProfileEnum.mjs +2 -3
  984. package/dist/esm/api/types/MmsContent.d.mts +0 -3
  985. package/dist/esm/api/types/MmsContent.mjs +1 -3
  986. package/dist/esm/api/types/MmsValidationResult.d.mts +0 -3
  987. package/dist/esm/api/types/MmsValidationResult.mjs +1 -3
  988. package/dist/esm/api/types/NotFoundErrorBody.d.mts +0 -3
  989. package/dist/esm/api/types/NotFoundErrorBody.mjs +1 -3
  990. package/dist/esm/api/types/NumberFormat.d.mts +0 -3
  991. package/dist/esm/api/types/NumberFormat.mjs +1 -3
  992. package/dist/esm/api/types/OptInMethodEnum.d.mts +2 -7
  993. package/dist/esm/api/types/OptInMethodEnum.mjs +2 -3
  994. package/dist/esm/api/types/OptionalBrandInfo.d.mts +3 -4
  995. package/dist/esm/api/types/OptionalBrandInfo.mjs +1 -3
  996. package/dist/esm/api/types/OptionalContact.d.mts +0 -3
  997. package/dist/esm/api/types/OptionalContact.mjs +1 -3
  998. package/dist/esm/api/types/OptionalContacts.d.mts +0 -3
  999. package/dist/esm/api/types/OptionalContacts.mjs +1 -3
  1000. package/dist/esm/api/types/Pagination.d.mts +10 -0
  1001. package/dist/esm/api/types/Pagination.mjs +2 -0
  1002. package/dist/esm/api/types/PhoneCapabilities.d.mts +0 -3
  1003. package/dist/esm/api/types/PhoneCapabilities.mjs +1 -3
  1004. package/dist/esm/api/types/PhoneEnum.d.mts +1 -4
  1005. package/dist/esm/api/types/PhoneEnum.mjs +4 -1
  1006. package/dist/esm/api/types/PhoneFeatureEnum.d.mts +1 -4
  1007. package/dist/esm/api/types/PhoneFeatureEnum.mjs +4 -1
  1008. package/dist/esm/api/types/PhoneNumberDetails.d.mts +1 -4
  1009. package/dist/esm/api/types/PhoneNumberDetails.mjs +1 -3
  1010. package/dist/esm/api/types/PhoneNumberEnum.d.mts +1 -4
  1011. package/dist/esm/api/types/PhoneNumberEnum.mjs +4 -1
  1012. package/dist/esm/api/types/PhoneNumberStatus.d.mts +1 -4
  1013. package/dist/esm/api/types/PhoneNumberStatus.mjs +1 -3
  1014. package/dist/esm/api/types/PhoneNumberStatusEnum.d.mts +1 -4
  1015. package/dist/esm/api/types/PhoneNumberStatusEnum.mjs +6 -1
  1016. package/dist/esm/api/types/ProfileStatusEnum.d.mts +1 -4
  1017. package/dist/esm/api/types/ProfileStatusEnum.mjs +10 -1
  1018. package/dist/esm/api/types/PurchasedNumber.d.mts +0 -3
  1019. package/dist/esm/api/types/PurchasedNumber.mjs +1 -3
  1020. package/dist/esm/api/types/RcsButtonCall.d.mts +0 -3
  1021. package/dist/esm/api/types/RcsButtonCall.mjs +1 -3
  1022. package/dist/esm/api/types/RcsButtonOpenUrl.d.mts +1 -4
  1023. package/dist/esm/api/types/RcsButtonOpenUrl.mjs +11 -3
  1024. package/dist/esm/api/types/RcsButtonRequestUserLocation.d.mts +0 -3
  1025. package/dist/esm/api/types/RcsButtonRequestUserLocation.mjs +1 -3
  1026. package/dist/esm/api/types/RcsButtonScheduleEvent.d.mts +0 -3
  1027. package/dist/esm/api/types/RcsButtonScheduleEvent.mjs +1 -3
  1028. package/dist/esm/api/types/RcsButtonSendLocation.d.mts +0 -3
  1029. package/dist/esm/api/types/RcsButtonSendLocation.mjs +1 -3
  1030. package/dist/esm/api/types/RcsButtonTrigger.d.mts +0 -3
  1031. package/dist/esm/api/types/RcsButtonTrigger.mjs +1 -3
  1032. package/dist/esm/api/types/RcsCampaign.d.mts +55 -28
  1033. package/dist/esm/api/types/RcsCampaign.mjs +1 -3
  1034. package/dist/esm/api/types/RcsCampaignStatus.d.mts +1 -4
  1035. package/dist/esm/api/types/RcsCampaignStatus.mjs +1 -3
  1036. package/dist/esm/api/types/RcsCampaignUseCaseEnum.d.mts +2 -7
  1037. package/dist/esm/api/types/RcsCampaignUseCaseEnum.mjs +2 -3
  1038. package/dist/esm/api/types/RcsCapabilitiesResult.d.mts +1 -4
  1039. package/dist/esm/api/types/RcsCapabilitiesResult.mjs +1 -3
  1040. package/dist/esm/api/types/RcsCapability.d.mts +0 -3
  1041. package/dist/esm/api/types/RcsCapability.mjs +1 -3
  1042. package/dist/esm/api/types/RcsCardsContent.d.mts +2 -5
  1043. package/dist/esm/api/types/RcsCardsContent.mjs +1 -3
  1044. package/dist/esm/api/types/RcsContent.d.mts +2 -5
  1045. package/dist/esm/api/types/RcsContent.mjs +1 -3
  1046. package/dist/esm/api/types/RcsLinkResult.d.mts +0 -3
  1047. package/dist/esm/api/types/RcsLinkResult.mjs +1 -3
  1048. package/dist/esm/api/types/RcsMediaContent.d.mts +1 -4
  1049. package/dist/esm/api/types/RcsMediaContent.mjs +1 -3
  1050. package/dist/esm/api/types/RcsMediaDetailsContent.d.mts +0 -3
  1051. package/dist/esm/api/types/RcsMediaDetailsContent.mjs +1 -3
  1052. package/dist/esm/api/types/RcsMessagingTypeEnum.d.mts +15 -0
  1053. package/dist/esm/api/types/RcsMessagingTypeEnum.mjs +15 -0
  1054. package/dist/esm/api/types/RcsValidateContent.d.mts +3 -6
  1055. package/dist/esm/api/types/RcsValidateContent.mjs +1 -3
  1056. package/dist/esm/api/types/RcsValidationResult.d.mts +2 -3
  1057. package/dist/esm/api/types/RcsValidationResult.mjs +1 -3
  1058. package/dist/esm/api/types/RcsWhitelistResponse.d.mts +0 -3
  1059. package/dist/esm/api/types/RcsWhitelistResponse.mjs +1 -3
  1060. package/dist/esm/api/types/ReactionResult.d.mts +0 -3
  1061. package/dist/esm/api/types/ReactionResult.mjs +1 -3
  1062. package/dist/esm/api/types/RefreshedFile.d.mts +0 -3
  1063. package/dist/esm/api/types/RefreshedFile.mjs +1 -3
  1064. package/dist/esm/api/types/RichButton.d.mts +1 -4
  1065. package/dist/esm/api/types/RichButton.mjs +1 -3
  1066. package/dist/esm/api/types/{RcsCards.d.mts → RichCards.d.mts} +5 -8
  1067. package/dist/esm/api/types/RichCards.mjs +2 -0
  1068. package/dist/esm/api/types/RichCardsMessage.d.mts +11 -16
  1069. package/dist/esm/api/types/RichCardsMessage.mjs +3 -3
  1070. package/dist/esm/api/types/RichMediaMessage.d.mts +2 -5
  1071. package/dist/esm/api/types/RichMediaMessage.mjs +1 -3
  1072. package/dist/esm/api/types/RichMessage.d.mts +5 -5
  1073. package/dist/esm/api/types/RichMessage.mjs +1 -3
  1074. package/dist/esm/api/types/{RcsTextContent.d.mts → RichText.d.mts} +2 -5
  1075. package/dist/esm/api/types/RichText.mjs +2 -0
  1076. package/dist/esm/api/types/RichTextMessage.d.mts +2 -5
  1077. package/dist/esm/api/types/RichTextMessage.mjs +1 -3
  1078. package/dist/{cjs/api/types/ScheduledMessaage.d.ts → esm/api/types/ScheduledMessage.d.mts} +3 -6
  1079. package/dist/esm/api/types/ScheduledMessage.mjs +2 -0
  1080. package/dist/esm/api/types/{Options.d.mts → SendRichMessageOptions.d.mts} +2 -5
  1081. package/dist/esm/api/types/SendRichMessageOptions.mjs +2 -0
  1082. package/dist/esm/api/types/SendTypingIndicatorResponse.d.mts +0 -3
  1083. package/dist/esm/api/types/SendTypingIndicatorResponse.mjs +1 -3
  1084. package/dist/esm/api/types/Sender.d.mts +0 -3
  1085. package/dist/esm/api/types/Sender.mjs +1 -3
  1086. package/dist/esm/api/types/SentMmsDetails.d.mts +5 -4
  1087. package/dist/esm/api/types/SentMmsDetails.mjs +1 -3
  1088. package/dist/{cjs/api/types/SentRcsDetails.d.ts → esm/api/types/SentRichMessage.d.mts} +1 -4
  1089. package/dist/esm/api/types/SentRichMessage.mjs +2 -0
  1090. package/dist/esm/api/types/SentSmsDetails.d.mts +2 -7
  1091. package/dist/esm/api/types/SentSmsDetails.mjs +2 -3
  1092. package/dist/esm/api/types/ShortenedUrl.d.mts +0 -3
  1093. package/dist/esm/api/types/ShortenedUrl.mjs +1 -3
  1094. package/dist/esm/api/types/ShortenedUrlWithClickData.d.mts +1 -4
  1095. package/dist/esm/api/types/ShortenedUrlWithClickData.mjs +1 -3
  1096. package/dist/esm/api/types/SmsContent.d.mts +0 -3
  1097. package/dist/esm/api/types/SmsContent.mjs +1 -3
  1098. package/dist/esm/api/types/SmsValidationResult.d.mts +0 -3
  1099. package/dist/esm/api/types/SmsValidationResult.mjs +1 -3
  1100. package/dist/esm/api/types/SubUseCaseEnum.d.mts +2 -7
  1101. package/dist/esm/api/types/SubUseCaseEnum.mjs +2 -3
  1102. package/dist/esm/api/types/SubmissionResults.d.mts +0 -3
  1103. package/dist/esm/api/types/SubmissionResults.mjs +1 -3
  1104. package/dist/esm/api/types/SuccessfulConversationUpdate.d.mts +0 -3
  1105. package/dist/esm/api/types/SuccessfulConversationUpdate.mjs +1 -3
  1106. package/dist/esm/api/types/TollFreeCampaign.d.mts +50 -4
  1107. package/dist/esm/api/types/TollFreeCampaign.mjs +1 -3
  1108. package/dist/esm/api/types/TollFreeCampaignStatus.d.mts +1 -4
  1109. package/dist/esm/api/types/TollFreeCampaignStatus.mjs +1 -3
  1110. package/dist/esm/api/types/TollFreeCampaignUseCaseEnum.d.mts +2 -7
  1111. package/dist/esm/api/types/TollFreeCampaignUseCaseEnum.mjs +2 -3
  1112. package/dist/esm/api/types/TollFreeCampaignWithExtendedBrandAndStatus.d.mts +1 -4
  1113. package/dist/esm/api/types/TollFreeCampaignWithExtendedBrandAndStatus.mjs +1 -3
  1114. package/dist/esm/api/types/TollFreeStatusEnum.d.mts +1 -4
  1115. package/dist/esm/api/types/TollFreeStatusEnum.mjs +8 -1
  1116. package/dist/esm/api/types/Tracking.d.mts +1 -4
  1117. package/dist/esm/api/types/Tracking.mjs +6 -1
  1118. package/dist/esm/api/types/UpdatedContactId.d.mts +0 -3
  1119. package/dist/esm/api/types/UpdatedContactId.mjs +1 -3
  1120. package/dist/esm/api/types/UploadResults.d.mts +0 -3
  1121. package/dist/esm/api/types/UploadResults.mjs +1 -3
  1122. package/dist/esm/api/types/UpsertContact.d.mts +0 -3
  1123. package/dist/esm/api/types/UpsertContact.mjs +1 -3
  1124. package/dist/esm/api/types/UserEvent.d.mts +0 -3
  1125. package/dist/esm/api/types/UserEvent.mjs +1 -3
  1126. package/dist/esm/api/types/VCardData.d.mts +1 -4
  1127. package/dist/esm/api/types/VCardData.mjs +1 -3
  1128. package/dist/esm/api/types/ValidateCampaignParams.d.mts +0 -3
  1129. package/dist/esm/api/types/ValidateCampaignParams.mjs +1 -3
  1130. package/dist/esm/api/types/ValidationErrorDetails.d.mts +0 -3
  1131. package/dist/esm/api/types/ValidationErrorDetails.mjs +1 -3
  1132. package/dist/esm/api/types/ValidationResults.d.mts +1 -4
  1133. package/dist/esm/api/types/ValidationResults.mjs +1 -3
  1134. package/dist/esm/api/types/Vcard.d.mts +1 -4
  1135. package/dist/esm/api/types/Vcard.mjs +1 -3
  1136. package/dist/esm/api/types/VcardAddress.d.mts +1 -4
  1137. package/dist/esm/api/types/VcardAddress.mjs +1 -3
  1138. package/dist/esm/api/types/VcardContent.d.mts +1 -4
  1139. package/dist/esm/api/types/VcardContent.mjs +1 -3
  1140. package/dist/esm/api/types/VcardEmail.d.mts +1 -4
  1141. package/dist/esm/api/types/VcardEmail.mjs +1 -3
  1142. package/dist/esm/api/types/VcardPhone.d.mts +1 -4
  1143. package/dist/esm/api/types/VcardPhone.mjs +1 -3
  1144. package/dist/esm/api/types/VcardResource.d.mts +0 -3
  1145. package/dist/esm/api/types/VcardResource.mjs +1 -3
  1146. package/dist/esm/api/types/VettingFeedback.d.mts +0 -3
  1147. package/dist/esm/api/types/VettingFeedback.mjs +1 -3
  1148. package/dist/esm/api/types/VettingHistory.d.mts +2 -7
  1149. package/dist/esm/api/types/VettingHistory.mjs +2 -3
  1150. package/dist/esm/api/types/VettingResults.d.mts +0 -3
  1151. package/dist/esm/api/types/VettingResults.mjs +1 -3
  1152. package/dist/esm/api/types/WebhookEventEnum.d.mts +1 -4
  1153. package/dist/esm/api/types/WebhookEventEnum.mjs +4 -1
  1154. package/dist/esm/api/types/WebhookResult.d.mts +1 -4
  1155. package/dist/esm/api/types/WebhookResult.mjs +1 -3
  1156. package/dist/esm/api/types/Webhooks.d.mts +0 -3
  1157. package/dist/esm/api/types/Webhooks.mjs +1 -3
  1158. package/dist/esm/api/types/ZodError.d.mts +0 -3
  1159. package/dist/esm/api/types/ZodError.mjs +1 -3
  1160. package/dist/esm/api/types/index.d.mts +125 -119
  1161. package/dist/esm/api/types/index.mjs +125 -119
  1162. package/dist/esm/core/exports.d.mts +1 -0
  1163. package/dist/esm/core/exports.mjs +1 -0
  1164. package/dist/esm/core/fetcher/APIResponse.d.mts +1 -1
  1165. package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
  1166. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  1167. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  1168. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  1169. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  1170. package/dist/esm/core/fetcher/Fetcher.d.mts +9 -4
  1171. package/dist/esm/core/fetcher/Fetcher.mjs +205 -10
  1172. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +1 -1
  1173. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
  1174. package/dist/esm/core/fetcher/getRequestBody.d.mts +1 -1
  1175. package/dist/esm/core/fetcher/getRequestBody.mjs +4 -0
  1176. package/dist/esm/core/fetcher/getResponseBody.mjs +3 -3
  1177. package/dist/esm/core/fetcher/index.d.mts +2 -0
  1178. package/dist/esm/core/fetcher/index.mjs +1 -0
  1179. package/dist/esm/core/fetcher/makeRequest.d.mts +1 -1
  1180. package/dist/esm/core/fetcher/makeRequest.mjs +2 -4
  1181. package/dist/esm/core/fetcher/requestWithRetries.mjs +16 -21
  1182. package/dist/esm/core/fetcher/signals.d.mts +0 -6
  1183. package/dist/esm/core/fetcher/signals.mjs +0 -12
  1184. package/dist/esm/core/headers.d.mts +2 -3
  1185. package/dist/esm/core/headers.mjs +6 -4
  1186. package/dist/esm/core/index.d.mts +1 -0
  1187. package/dist/esm/core/index.mjs +1 -0
  1188. package/dist/esm/core/logging/exports.d.mts +18 -0
  1189. package/dist/esm/core/logging/exports.mjs +9 -0
  1190. package/dist/esm/core/logging/index.d.mts +1 -0
  1191. package/dist/esm/core/logging/index.mjs +1 -0
  1192. package/dist/esm/core/logging/logger.d.mts +126 -0
  1193. package/dist/esm/core/logging/logger.mjs +138 -0
  1194. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  1195. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  1196. package/dist/esm/core/url/index.d.mts +1 -0
  1197. package/dist/esm/core/url/index.mjs +1 -0
  1198. package/dist/esm/core/url/join.mjs +3 -4
  1199. package/dist/esm/environments.d.mts +0 -3
  1200. package/dist/esm/environments.mjs +1 -3
  1201. package/dist/esm/errors/PinnacleError.d.mts +1 -4
  1202. package/dist/esm/errors/PinnacleError.mjs +2 -4
  1203. package/dist/esm/errors/PinnacleTimeoutError.d.mts +0 -3
  1204. package/dist/esm/errors/PinnacleTimeoutError.mjs +1 -3
  1205. package/dist/esm/exports.d.mts +1 -0
  1206. package/dist/esm/exports.mjs +1 -0
  1207. package/dist/esm/version.d.mts +1 -1
  1208. package/dist/esm/version.mjs +1 -1
  1209. package/dist/esm/wrapper/messages/Client.mjs +1 -0
  1210. package/dist/esm/wrapper/tools/FileUploader.d.mts +1 -1
  1211. package/dist/esm/wrapper/tools/FileUploader.mjs +1 -0
  1212. package/package.json +16 -16
  1213. package/reference.md +1064 -610
  1214. package/dist/cjs/api/resources/messages/resources/rcs/types/RcsSendResponse.d.ts +0 -5
  1215. package/dist/cjs/api/types/RcsBase.d.ts +0 -31
  1216. package/dist/cjs/api/types/RcsCampaignOptInMethodEnum.d.ts +0 -15
  1217. package/dist/cjs/api/types/RcsCampaignOptInMethodEnum.js +0 -14
  1218. package/dist/cjs/api/types/RcsTextContent.js +0 -5
  1219. package/dist/cjs/api/types/ScheduledMessaage.js +0 -5
  1220. package/dist/cjs/api/types/SentRcsDetails.js +0 -5
  1221. package/dist/esm/api/resources/messages/resources/rcs/types/RcsSendResponse.d.mts +0 -5
  1222. package/dist/esm/api/resources/messages/resources/rcs/types/RcsSendResponse.mjs +0 -4
  1223. package/dist/esm/api/types/Options.mjs +0 -4
  1224. package/dist/esm/api/types/RcsBase.d.mts +0 -31
  1225. package/dist/esm/api/types/RcsBase.mjs +0 -4
  1226. package/dist/esm/api/types/RcsCampaignOptInMethodEnum.d.mts +0 -15
  1227. package/dist/esm/api/types/RcsCampaignOptInMethodEnum.mjs +0 -11
  1228. package/dist/esm/api/types/RcsCards.mjs +0 -4
  1229. package/dist/esm/api/types/RcsTextContent.mjs +0 -4
  1230. package/dist/esm/api/types/ScheduledMessaage.mjs +0 -4
  1231. package/dist/esm/api/types/SentRcsDetails.mjs +0 -4
@@ -1,6 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ // This file was auto-generated by Fern from our API Definition.
4
2
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
3
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
4
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -10,11 +8,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
11
9
  });
12
10
  };
13
- import * as environments from "../../../../../../environments.mjs";
14
- import * as core from "../../../../../../core/index.mjs";
15
- import * as Pinnacle from "../../../../../index.mjs";
16
11
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
12
+ import * as core from "../../../../../../core/index.mjs";
13
+ import * as environments from "../../../../../../environments.mjs";
17
14
  import * as errors from "../../../../../../errors/index.mjs";
15
+ import * as Pinnacle from "../../../../../index.mjs";
18
16
  export class Rcs {
19
17
  constructor(_options = {}) {
20
18
  this._options = _options;
@@ -40,8 +38,8 @@ export class Rcs {
40
38
  }
41
39
  __autofill(request, requestOptions) {
42
40
  return __awaiter(this, void 0, void 0, function* () {
43
- var _a, _b, _c;
44
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
41
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
42
+ const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
45
43
  const _response = yield core.fetcher({
46
44
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, "campaigns/rcs/autofill"),
47
45
  method: "POST",
@@ -50,9 +48,11 @@ export class Rcs {
50
48
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
51
49
  requestType: "json",
52
50
  body: request,
53
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
54
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
51
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
52
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
55
53
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
54
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
55
+ logging: this._options.logging,
56
56
  });
57
57
  if (_response.ok) {
58
58
  return {
@@ -112,16 +112,18 @@ export class Rcs {
112
112
  }
113
113
  __get(campaignId, requestOptions) {
114
114
  return __awaiter(this, void 0, void 0, function* () {
115
- var _a, _b, _c;
116
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
115
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
116
+ const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
117
117
  const _response = yield core.fetcher({
118
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, `campaigns/rcs/${encodeURIComponent(campaignId)}`),
118
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, `campaigns/rcs/${core.url.encodePathParam(campaignId)}`),
119
119
  method: "GET",
120
120
  headers: _headers,
121
121
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
122
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
123
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
122
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
123
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
124
124
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
125
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
126
+ logging: this._options.logging,
125
127
  });
126
128
  if (_response.ok) {
127
129
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -181,16 +183,18 @@ export class Rcs {
181
183
  }
182
184
  __submit(campaignId, requestOptions) {
183
185
  return __awaiter(this, void 0, void 0, function* () {
184
- var _a, _b, _c;
185
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
186
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
187
+ const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
186
188
  const _response = yield core.fetcher({
187
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, `campaigns/rcs/submit/${encodeURIComponent(campaignId)}`),
189
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, `campaigns/rcs/submit/${core.url.encodePathParam(campaignId)}`),
188
190
  method: "POST",
189
191
  headers: _headers,
190
192
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
191
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
192
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
193
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
194
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
193
195
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
196
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
197
+ logging: this._options.logging,
194
198
  });
195
199
  if (_response.ok) {
196
200
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -249,14 +253,14 @@ export class Rcs {
249
253
  * await client.campaigns.rcs.upsert({
250
254
  * agent: {
251
255
  * color: "#000000",
252
- * description: "Engaging campaigns with RBM \u2013 next-gen SMS marketing with rich content and better analytics.",
256
+ * description: "Experience the power of RCS messaging with interactive demos. Test rich features like carousels, suggested replies, and media sharing. Get started with our developer-friendly APIs.",
253
257
  * emails: [{
254
258
  * email: "founders@trypinnacle.app",
255
259
  * label: "Email Us"
256
260
  * }],
257
- * heroUrl: "https://agent-logos.storage.googleapis.com/_/m0bk9mmw7kfynqiKSPfsaoc6",
258
- * iconUrl: "https://agent-logos.storage.googleapis.com/_/m0bk9gvlDunZEw1krfruZmw3",
259
- * name: "Pinnacle Software Development",
261
+ * heroUrl: "https://pncl.to/D6pDSqGxqgfbCfQmw4gXdnlHu4uSB4",
262
+ * iconUrl: "https://pncl.to/mq_tdIDenRb5eYpJiM8-3THCaUBrZP",
263
+ * name: "Pinnacle - RCS Demo",
260
264
  * phones: [{
261
265
  * label: "Contact us directly",
262
266
  * phone: "+14154467821"
@@ -266,7 +270,6 @@ export class Rcs {
266
270
  * url: "https://www.trypinnacle.app/"
267
271
  * }]
268
272
  * },
269
- * brandVerificationUrl: "https://www.pinnacle.sh/articles-of-incorporation.pdf",
270
273
  * brand: "b_1234567890",
271
274
  * campaignId: "rcs_1234567890",
272
275
  * expectedAgentResponses: ["Here are the things I can help you with.", "I can assist you with booking an appointment, or you may choose to book manually.", "Here are the available times to connect with a representative tomorrow.", "Your appointment has been scheduled."],
@@ -274,18 +277,36 @@ export class Rcs {
274
277
  * privacyPolicy: "https://www.trypinnacle.app/privacy",
275
278
  * termsOfService: "https://www.trypinnacle.app/terms"
276
279
  * },
277
- * optIn: {
278
- * method: "WEBSITE",
279
- * termsAndConditions: "Would you like to subscribe to Pinnacle?"
280
- * },
281
- * optOut: {
282
- * description: "Reply STOP to opt-out anytime.",
283
- * keywords: ["STOP", "UNSUBSCRIBE", "END"]
284
- * },
285
280
  * useCase: {
286
- * behavior: "Acts as a customer service representative.",
281
+ * behavior: "Pinnacle is a developer-focused RCS assistant that helps teams design, test, and optimize rich messaging experiences across SMS, MMS, and RCS. The agent acts as both an \u201Conboarding guide\u201D for new customers and a \u201Cbest-practices coach\u201D for existing teams exploring higher-value RCS workflows like rich cards, carousels, and suggested actions.<br>\nThe agent delivers a mix of operational updates and educational content (2\u20136 messages/month). Content includes important platform notices (e.g., deliverability or throughput changes), implementation tips with sample RCS templates, and personalized recommendations on how to upgrade existing SMS campaigns into richer, higher-converting RCS conversations.\n",
287
282
  * value: "OTHER"
288
- * }
283
+ * },
284
+ * optInTermsAndConditions: "We ensure consent through an explicit opt-in process that follows 10DLC best practices.Users must agree to receive messages from Pinnacle before the agent sends them any messages.<br>\nUsers agree to these messages by signing an opt-in paper form that they can be found online at https://www.pinnacle.sh/opt-in. We only send messages once users have filled out the form and submitted it to us via email or through the dashboard.\n",
285
+ * messagingType: "MULTI_USE",
286
+ * carrierDescription: "Demonstrate the power of RCS to medium and large companies already sending massive SMS/MMS volumes through our platform. These clients send conversational messages in industries such as commerce, appointments, and customer support.",
287
+ * keywords: {
288
+ * HELP: {
289
+ * message: "Email founders@trypinnacle.app for support.",
290
+ * keywords: ["HELP", "SUPPORT"]
291
+ * },
292
+ * OPT_IN: {
293
+ * message: "Welcome back to Pinnacle!<br>\n\uD83D\uDD14 You're now subscribed to Pinnacle - RCS Demo and will continue receiving important updates and news. Feel free to contact this us at any time for help.<br>\n\nReply STOP to opt out and HELP for support. Message & rates may apply.\n",
294
+ * keywords: ["START", "SUBSCRIBE"]
295
+ * },
296
+ * OPT_OUT: {
297
+ * message: "You've been unsubscribed from Pinnacle - RCS Demo and will no longer receive notifications. If you ever change your mind, reply START or SUBSCRIBE to rejoin anytime.",
298
+ * keywords: ["STOP", "UNSUBSCRIBE", "END"]
299
+ * }
300
+ * },
301
+ * traffic: {
302
+ * monthlyWebsite: 10000,
303
+ * monthlyRcsEstimate: 10000
304
+ * },
305
+ * agentTriggers: "The agent sends the first message when the user subscribes to Pinnacle. Messages are based on user actions such as pressing suggestion buttons. External triggers such as reminders can be setup by users in advance for a later time.",
306
+ * interactionDescription: "The agent's primary interaction will be customer service \u2014 helping users with questions, troubleshooting issues, and providing quick assistance through chat. Other interactions include appointment management and sending notifications to the user.",
307
+ * isConversational: true,
308
+ * ctaLanguage: "By checking this box and submitting this form, you consent to receive transactional text messages for support, appointment, and reminder messages from Pinnacle Software Development Inc. Reply STOP to opt out. Reply HELP for help. Standard message and data rates may apply. Message frequency may vary. View our Terms and Conditions at https://www.pinnacle.sh/terms. View our Privacy Policy at https://www.pinnacle.sh/privacy.",
309
+ * demoTrigger: "Text \"START\" to trigger the flow."
289
310
  * })
290
311
  */
291
312
  upsert(request = {}, requestOptions) {
@@ -293,8 +314,8 @@ export class Rcs {
293
314
  }
294
315
  __upsert() {
295
316
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
296
- var _a, _b, _c;
297
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
317
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
318
+ const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
298
319
  const _response = yield core.fetcher({
299
320
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, "campaigns/rcs"),
300
321
  method: "POST",
@@ -303,9 +324,11 @@ export class Rcs {
303
324
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
304
325
  requestType: "json",
305
326
  body: request,
306
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
307
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
327
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
328
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
308
329
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
330
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
331
+ logging: this._options.logging,
309
332
  });
310
333
  if (_response.ok) {
311
334
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -366,8 +389,8 @@ export class Rcs {
366
389
  }
367
390
  __validate(request, requestOptions) {
368
391
  return __awaiter(this, void 0, void 0, function* () {
369
- var _a, _b, _c;
370
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
392
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
393
+ const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
371
394
  const _response = yield core.fetcher({
372
395
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PinnacleEnvironment.Default, "campaigns/rcs/validate"),
373
396
  method: "POST",
@@ -376,9 +399,11 @@ export class Rcs {
376
399
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
377
400
  requestType: "json",
378
401
  body: request,
379
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
380
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
402
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
403
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
381
404
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
405
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
406
+ logging: this._options.logging,
382
407
  });
383
408
  if (_response.ok) {
384
409
  return { data: _response.body, rawResponse: _response.rawResponse };
@@ -1,2 +1 @@
1
- export {};
2
1
  export * from "./requests/index.mjs";
@@ -1,20 +1,17 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Pinnacle from "../../../../../../index.mjs";
1
+ import type * as Pinnacle from "../../../../../../index.mjs";
5
2
  /**
6
3
  * @example
7
4
  * {
8
5
  * agent: {
9
6
  * color: "#000000",
10
- * description: "Engaging campaigns with RBM \u2013 next-gen SMS marketing with rich content and better analytics.",
7
+ * description: "Experience the power of RCS messaging with interactive demos. Test rich features like carousels, suggested replies, and media sharing. Get started with our developer-friendly APIs.",
11
8
  * emails: [{
12
9
  * email: "founders@trypinnacle.app",
13
10
  * label: "Email Us"
14
11
  * }],
15
- * heroUrl: "https://agent-logos.storage.googleapis.com/_/m0bk9mmw7kfynqiKSPfsaoc6",
16
- * iconUrl: "https://agent-logos.storage.googleapis.com/_/m0bk9gvlDunZEw1krfruZmw3",
17
- * name: "Pinnacle Software Development",
12
+ * heroUrl: "https://pncl.to/D6pDSqGxqgfbCfQmw4gXdnlHu4uSB4",
13
+ * iconUrl: "https://pncl.to/mq_tdIDenRb5eYpJiM8-3THCaUBrZP",
14
+ * name: "Pinnacle - RCS Demo",
18
15
  * phones: [{
19
16
  * label: "Contact us directly",
20
17
  * phone: "+14154467821"
@@ -24,7 +21,6 @@ import * as Pinnacle from "../../../../../../index.mjs";
24
21
  * url: "https://www.trypinnacle.app/"
25
22
  * }]
26
23
  * },
27
- * brandVerificationUrl: "https://www.pinnacle.sh/articles-of-incorporation.pdf",
28
24
  * brand: "b_1234567890",
29
25
  * campaignId: "rcs_1234567890",
30
26
  * expectedAgentResponses: ["Here are the things I can help you with.", "I can assist you with booking an appointment, or you may choose to book manually.", "Here are the available times to connect with a representative tomorrow.", "Your appointment has been scheduled."],
@@ -32,25 +28,41 @@ import * as Pinnacle from "../../../../../../index.mjs";
32
28
  * privacyPolicy: "https://www.trypinnacle.app/privacy",
33
29
  * termsOfService: "https://www.trypinnacle.app/terms"
34
30
  * },
35
- * optIn: {
36
- * method: "WEBSITE",
37
- * termsAndConditions: "Would you like to subscribe to Pinnacle?"
38
- * },
39
- * optOut: {
40
- * description: "Reply STOP to opt-out anytime.",
41
- * keywords: ["STOP", "UNSUBSCRIBE", "END"]
42
- * },
43
31
  * useCase: {
44
- * behavior: "Acts as a customer service representative.",
32
+ * behavior: "Pinnacle is a developer-focused RCS assistant that helps teams design, test, and optimize rich messaging experiences across SMS, MMS, and RCS. The agent acts as both an \u201Conboarding guide\u201D for new customers and a \u201Cbest-practices coach\u201D for existing teams exploring higher-value RCS workflows like rich cards, carousels, and suggested actions.<br>\nThe agent delivers a mix of operational updates and educational content (2\u20136 messages/month). Content includes important platform notices (e.g., deliverability or throughput changes), implementation tips with sample RCS templates, and personalized recommendations on how to upgrade existing SMS campaigns into richer, higher-converting RCS conversations.\n",
45
33
  * value: "OTHER"
46
- * }
34
+ * },
35
+ * optInTermsAndConditions: "We ensure consent through an explicit opt-in process that follows 10DLC best practices.Users must agree to receive messages from Pinnacle before the agent sends them any messages.<br>\nUsers agree to these messages by signing an opt-in paper form that they can be found online at https://www.pinnacle.sh/opt-in. We only send messages once users have filled out the form and submitted it to us via email or through the dashboard.\n",
36
+ * messagingType: "MULTI_USE",
37
+ * carrierDescription: "Demonstrate the power of RCS to medium and large companies already sending massive SMS/MMS volumes through our platform. These clients send conversational messages in industries such as commerce, appointments, and customer support.",
38
+ * keywords: {
39
+ * HELP: {
40
+ * message: "Email founders@trypinnacle.app for support.",
41
+ * keywords: ["HELP", "SUPPORT"]
42
+ * },
43
+ * OPT_IN: {
44
+ * message: "Welcome back to Pinnacle!<br>\n\uD83D\uDD14 You're now subscribed to Pinnacle - RCS Demo and will continue receiving important updates and news. Feel free to contact this us at any time for help.<br>\n\nReply STOP to opt out and HELP for support. Message & rates may apply.\n",
45
+ * keywords: ["START", "SUBSCRIBE"]
46
+ * },
47
+ * OPT_OUT: {
48
+ * message: "You've been unsubscribed from Pinnacle - RCS Demo and will no longer receive notifications. If you ever change your mind, reply START or SUBSCRIBE to rejoin anytime.",
49
+ * keywords: ["STOP", "UNSUBSCRIBE", "END"]
50
+ * }
51
+ * },
52
+ * traffic: {
53
+ * monthlyWebsite: 10000,
54
+ * monthlyRcsEstimate: 10000
55
+ * },
56
+ * agentTriggers: "The agent sends the first message when the user subscribes to Pinnacle. Messages are based on user actions such as pressing suggestion buttons. External triggers such as reminders can be setup by users in advance for a later time.",
57
+ * interactionDescription: "The agent's primary interaction will be customer service \u2014 helping users with questions, troubleshooting issues, and providing quick assistance through chat. Other interactions include appointment management and sending notifications to the user.",
58
+ * isConversational: true,
59
+ * ctaLanguage: "By checking this box and submitting this form, you consent to receive transactional text messages for support, appointment, and reminder messages from Pinnacle Software Development Inc. Reply STOP to opt out. Reply HELP for help. Standard message and data rates may apply. Message frequency may vary. View our Terms and Conditions at https://www.pinnacle.sh/terms. View our Privacy Policy at https://www.pinnacle.sh/privacy.",
60
+ * demoTrigger: "Text \"START\" to trigger the flow."
47
61
  * }
48
62
  */
49
63
  export interface UpsertRcsCampaignParams {
50
64
  /** Create an agent for the campaign. */
51
65
  agent?: UpsertRcsCampaignParams.Agent;
52
- /** Link to document verifying the brand's name. This may be the certificate of incorporation, business license, or other relevant document. You can typically find this on the Secretary of State website. */
53
- brandVerificationUrl?: string;
54
66
  /** Unique identifier for the brand. */
55
67
  brand?: string;
56
68
  /** Unique identifier for the campaign. */
@@ -59,12 +71,30 @@ export interface UpsertRcsCampaignParams {
59
71
  expectedAgentResponses?: string[];
60
72
  /** Legal documentation links. */
61
73
  links?: UpsertRcsCampaignParams.Links;
62
- /** Opt-in configuration. */
63
- optIn?: UpsertRcsCampaignParams.OptIn;
64
- /** Opt-out configuration. */
65
- optOut?: UpsertRcsCampaignParams.OptOut;
66
74
  /** Use case classification for the campaign. */
67
75
  useCase?: UpsertRcsCampaignParams.UseCase;
76
+ /** Details on how opt-in is acquired. If it is done through a website or app, provide the link. */
77
+ optInTermsAndConditions?: string;
78
+ messagingType?: Pinnacle.RcsMessagingTypeEnum;
79
+ /** Description of the agent's purpose, shown to carriers for approval. */
80
+ carrierDescription?: string;
81
+ keywords?: UpsertRcsCampaignParams.Keywords;
82
+ traffic?: UpsertRcsCampaignParams.Traffic;
83
+ /** Explanation of how the agent is triggered. This includes how the first message is delivered, whether messages follow a schedule or triggered by user actions, and any external triggers. */
84
+ agentTriggers?: string;
85
+ /** Description of all agent interactions. */
86
+ interactionDescription?: string;
87
+ /** Whether the agent supports conversational flows or respond to P2A messages from the users. Set to false for one-way messages from agent to user. */
88
+ isConversational?: boolean;
89
+ /**
90
+ * Required text that appears next to the opt-in checkbox for your opt-in form. This checkbox has to be unchecked by default. The text should meet the US CTIA requirements and is usually in the following format: <br>
91
+ *
92
+ * [Program description of the company sending the messages and what type of messages are being sent]. Msg&data rates may apply. [Message frequency: How frequently messages are sent]. [Privacy statement or link to privacy policy]. [Link to full mobile
93
+ * T&Cs page].
94
+ */
95
+ ctaLanguage?: string;
96
+ /** Instructions on how an external reviewer can trigger messages and an example flow from the agent. This is usually an inbound text message to the agent that will start a flow of messages between the agent and the user. */
97
+ demoTrigger?: string;
68
98
  }
69
99
  export declare namespace UpsertRcsCampaignParams {
70
100
  /**
@@ -77,7 +107,11 @@ export declare namespace UpsertRcsCampaignParams {
77
107
  * Must have sufficient contrast with white.
78
108
  */
79
109
  color?: string;
80
- /** Description of the agent. */
110
+ /**
111
+ * Description of the agent. <br>
112
+ *
113
+ * Be clear, concise, user-focused, and highlight what the agent does and the benefits it provides for the user.
114
+ */
81
115
  description?: string;
82
116
  /** List of emails (1-3 required). */
83
117
  emails?: Agent.Emails.Item[];
@@ -85,7 +119,11 @@ export declare namespace UpsertRcsCampaignParams {
85
119
  heroUrl?: string;
86
120
  /** Link to the agent's icon. Icon must be an image file with dimensions 224x224px. */
87
121
  iconUrl?: string;
88
- /** Name of the agent. */
122
+ /**
123
+ * Name of the agent. <br>
124
+ *
125
+ * Recommended format: [Brand Name] - [1-2 word description of purpose]
126
+ */
89
127
  name?: string;
90
128
  /** List of phone numbers (1-3 required). */
91
129
  phones?: Agent.Phones.Item[];
@@ -130,33 +168,58 @@ export declare namespace UpsertRcsCampaignParams {
130
168
  /** Terms of service URL. */
131
169
  termsOfService?: string;
132
170
  }
133
- /**
134
- * Opt-in configuration.
135
- */
136
- interface OptIn {
137
- method?: Pinnacle.RcsCampaignOptInMethodEnum;
138
- /** Message shown to users explaining what they are agreeing to when opting in. */
139
- termsAndConditions?: string;
140
- }
141
- /**
142
- * Opt-out configuration.
143
- */
144
- interface OptOut {
145
- /** Description for the keyword. */
146
- description?: string;
147
- /**
148
- * Keywords to opt-out. <br>
149
- *
150
- * Each keyword must be a single word with no spaces or whitespace characters.
151
- */
152
- keywords?: string[];
153
- }
154
171
  /**
155
172
  * Use case classification for the campaign.
156
173
  */
157
174
  interface UseCase {
158
- /** Summary of the use case. */
175
+ /** Detailed summary of what the brand is and how this agent will be used. */
159
176
  behavior?: string;
160
177
  value?: Pinnacle.RcsCampaignUseCaseEnum;
161
178
  }
179
+ interface Keywords {
180
+ HELP?: Keywords.Help;
181
+ OPT_IN?: Keywords.OptIn;
182
+ OPT_OUT?: Keywords.OptOut;
183
+ }
184
+ namespace Keywords {
185
+ interface Help {
186
+ /**
187
+ * Message sent when a user sends HELP. Must include at least one support contact method (phone, email, or website).<br>
188
+ *
189
+ * Recommended format: [Verb] [Contact Information] for support.
190
+ */
191
+ message?: string;
192
+ /** Keywords that trigger help response (HELP, SUPPORT, INFO, etc). */
193
+ keywords?: string[];
194
+ }
195
+ interface OptIn {
196
+ /**
197
+ * Message sent when a user opt-in. Must include brand name, confirmation of subscription, and disclosures (STOP and HELP instructions, message and data rates).<br>
198
+ *
199
+ * Recommended Format:<br>
200
+ * [Greetings]<br>
201
+ * You are now subscribed to [Agent Name] and will receive [type of messages that the agent will send]. Feel free to contact us any time for help. <br>
202
+ * Reply STOP to opt out and HELP for support. Message & rates may apply.
203
+ */
204
+ message?: string;
205
+ /** Keywords that trigger opt-in response (START, SUBSCRIBE, JOIN, etc). */
206
+ keywords?: string[];
207
+ }
208
+ interface OptOut {
209
+ /**
210
+ * Message sent when a user opt-out. Must include brand name, acknowledge opt-out request and state user will not receive further messages. No marketing or re-engagement attempts.<br>
211
+ *
212
+ * Recommended format: "You've been unsubscribed from [Agent Name] and will no longer receive messages. If you ever change your mind, reply START or SUBSCRIBE to rejoin anytime."
213
+ */
214
+ message?: string;
215
+ /** Keywords that trigger opt-out response (END, UNSUBSCRIBE, STOP, etc). */
216
+ keywords?: string[];
217
+ }
218
+ }
219
+ interface Traffic {
220
+ /** Estimated monthly website visitors. */
221
+ monthlyWebsite?: number;
222
+ /** Estimated monthly RCS messages sent. */
223
+ monthlyRcsEstimate?: number;
224
+ }
162
225
  }
@@ -1,4 +1,2 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ // This file was auto-generated by Fern from our API Definition.
4
2
  export {};
@@ -1 +1 @@
1
- export { type UpsertRcsCampaignParams } from "./UpsertRcsCampaignParams.mjs";
1
+ export type { UpsertRcsCampaignParams } from "./UpsertRcsCampaignParams.mjs";
@@ -1,2 +1,2 @@
1
- export * from "./types/index.mjs";
2
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -1,2 +1,2 @@
1
- export * from "./types/index.mjs";
2
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -1,7 +1,4 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Pinnacle from "../../../../../index.mjs";
1
+ import type * as Pinnacle from "../../../../../index.mjs";
5
2
  export interface RcsAutofillResponse extends Pinnacle.RcsCampaign {
6
3
  brand?: string;
7
4
  }
@@ -1,4 +1,2 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
1
+ // This file was auto-generated by Fern from our API Definition.
4
2
  export {};
@@ -1,29 +1,10 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../../../environments.mjs";
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
5
2
  import * as core from "../../../../../../core/index.mjs";
6
3
  import * as Pinnacle from "../../../../../index.mjs";
7
4
  export declare namespace TollFree {
8
- interface Options {
9
- environment?: core.Supplier<environments.PinnacleEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- apiKey?: core.Supplier<string | undefined>;
13
- /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
5
+ interface Options extends BaseClientOptions {
15
6
  }
16
- interface RequestOptions {
17
- /** The maximum time to wait for a response in seconds. */
18
- timeoutInSeconds?: number;
19
- /** The number of times to retry the request. Defaults to 2. */
20
- maxRetries?: number;
21
- /** A hook to abort the request. */
22
- abortSignal?: AbortSignal;
23
- /** Additional query string parameters to include in the request. */
24
- queryParams?: Record<string, unknown>;
25
- /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
7
+ interface RequestOptions extends BaseRequestOptions {
27
8
  }
28
9
  }
29
10
  export declare class TollFree {
@@ -96,6 +77,19 @@ export declare class TollFree {
96
77
  * await client.campaigns.tollFree.upsert({
97
78
  * brand: "b_1234567890",
98
79
  * campaignId: "tf_1234567890",
80
+ * keywords: {
81
+ * HELP: {
82
+ * message: "Email founders@trypinnacle.app for support."
83
+ * },
84
+ * OPT_IN: {
85
+ * message: "Welcome back to Pinnacle!<br>\n\uD83D\uDD14 You're now subscribed to Pinnacle and will continue receiving important updates and news. Feel free to contact this us at any time for help.<br>\n\nReply STOP to opt out and HELP for support. Message & rates may apply.\n",
86
+ * keywords: ["START", "SUBSCRIBE"]
87
+ * }
88
+ * },
89
+ * links: {
90
+ * privacyPolicy: "https://www.pinnacle.sh/privacy",
91
+ * termsOfService: "https://www.pinnacle.sh/terms"
92
+ * },
99
93
  * monthlyVolume: "1,000",
100
94
  * name: "Pinnacle",
101
95
  * optIn: {
@@ -103,6 +97,9 @@ export declare class TollFree {
103
97
  * url: "https://www.pinnacle.sh/",
104
98
  * workflowDescription: "Visit https://www.pinnacle.sh/"
105
99
  * },
100
+ * options: {
101
+ * ageGated: false
102
+ * },
106
103
  * productionMessageContent: "Join the Pinnacle workshop tomorrow and send your first RCS!",
107
104
  * useCase: {
108
105
  * summary: "Alerts clients about any Pinnacle hosted workshops.",
@@ -130,7 +127,5 @@ export declare class TollFree {
130
127
  */
131
128
  validate(request: Pinnacle.ValidateCampaignParams, requestOptions?: TollFree.RequestOptions): core.HttpResponsePromise<Pinnacle.CampaignValidationResult>;
132
129
  private __validate;
133
- protected _getCustomAuthorizationHeaders(): Promise<{
134
- "PINNACLE-API-KEY": string | undefined;
135
- }>;
130
+ protected _getCustomAuthorizationHeaders(): Promise<Record<string, string | undefined>>;
136
131
  }