rcs-js 2.0.1 → 2.0.3

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 (252) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/errors/NotFoundError.d.ts +1 -2
  3. package/dist/cjs/api/resources/brands/client/Client.d.ts +13 -13
  4. package/dist/cjs/api/resources/brands/client/Client.js +10 -10
  5. package/dist/cjs/api/resources/brands/client/requests/UpsertBrandParams.d.ts +6 -3
  6. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.d.ts +14 -13
  7. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.js +12 -11
  8. package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.ts +8 -8
  9. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.d.ts +11 -10
  10. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.js +9 -8
  11. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.ts +4 -3
  12. package/dist/cjs/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.ts +1 -1
  13. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.d.ts +12 -12
  14. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.js +10 -10
  15. package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.ts +7 -7
  16. package/dist/cjs/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.ts +1 -1
  17. package/dist/cjs/api/resources/contacts/client/Client.d.ts +4 -2
  18. package/dist/cjs/api/resources/contacts/client/Client.js +5 -3
  19. package/dist/cjs/api/resources/contacts/client/requests/ContactsGetRequest.d.ts +4 -2
  20. package/dist/cjs/api/resources/contacts/client/requests/UpdateContactParams.d.ts +3 -3
  21. package/dist/cjs/api/resources/conversations/client/Client.d.ts +21 -4
  22. package/dist/cjs/api/resources/conversations/client/Client.js +99 -4
  23. package/dist/cjs/api/resources/conversations/client/requests/ConversationsListMessagesRequest.d.ts +36 -0
  24. package/dist/cjs/api/resources/conversations/client/requests/ConversationsListMessagesRequest.js +5 -0
  25. package/dist/cjs/api/resources/conversations/client/requests/ListConversationsParams.d.ts +11 -6
  26. package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationParams.d.ts +3 -3
  27. package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/conversations/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/conversations/index.js +1 -0
  30. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestDirection.d.ts +8 -0
  31. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestDirection.js +10 -0
  32. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.d.ts +8 -0
  33. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.js +10 -0
  34. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestStatus.d.ts +13 -0
  35. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestStatus.js +15 -0
  36. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestType.d.ts +9 -0
  37. package/dist/cjs/api/resources/conversations/types/ConversationsListMessagesRequestType.js +11 -0
  38. package/dist/cjs/api/resources/conversations/types/index.d.ts +4 -0
  39. package/dist/cjs/api/resources/conversations/types/index.js +20 -0
  40. package/dist/cjs/api/resources/index.d.ts +2 -1
  41. package/dist/cjs/api/resources/index.js +3 -2
  42. package/dist/cjs/api/resources/messages/client/Client.d.ts +4 -4
  43. package/dist/cjs/api/resources/messages/client/Client.js +3 -3
  44. package/dist/cjs/api/resources/messages/client/requests/ReactMessageParams.d.ts +3 -3
  45. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.d.ts +1 -1
  46. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.js +1 -1
  47. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.ts +12 -3
  48. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.d.ts +5 -5
  49. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.js +4 -4
  50. package/dist/cjs/api/resources/rcs/client/Client.d.ts +11 -7
  51. package/dist/cjs/api/resources/rcs/client/Client.js +11 -7
  52. package/dist/cjs/api/resources/status/resources/get/client/Client.d.ts +12 -12
  53. package/dist/cjs/api/resources/status/resources/get/client/Client.js +8 -8
  54. package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.d.ts +2 -2
  55. package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.js +2 -2
  56. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.ts +3 -3
  57. package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.ts +1 -1
  58. package/dist/cjs/api/resources/tools/resources/file/client/Client.d.ts +2 -1
  59. package/dist/cjs/api/resources/tools/resources/file/client/Client.js +2 -1
  60. package/dist/cjs/api/resources/tools/resources/file/client/requests/RefreshFileParams.d.ts +3 -11
  61. package/dist/cjs/api/resources/tools/resources/file/client/requests/UploadFileParams.d.ts +7 -0
  62. package/dist/cjs/api/types/AttachWebhookParams.d.ts +1 -1
  63. package/dist/cjs/api/types/AttachedPhoneNumberResult.d.ts +2 -2
  64. package/dist/cjs/api/types/AutofillCampaignParams.d.ts +7 -2
  65. package/dist/cjs/api/types/AutofillDlcCampaignResponse.d.ts +4 -4
  66. package/dist/cjs/api/types/BrandStatus.d.ts +2 -2
  67. package/dist/cjs/api/types/ButtonClickedData.d.ts +2 -2
  68. package/dist/cjs/api/types/CampaignQuery.d.ts +6 -1
  69. package/dist/cjs/api/types/ConfiguredWebhook.d.ts +2 -2
  70. package/dist/cjs/api/types/Contact.d.ts +2 -2
  71. package/dist/cjs/api/types/ContactId.d.ts +2 -2
  72. package/dist/cjs/api/types/Conversation.d.ts +7 -7
  73. package/dist/cjs/api/types/ConversationList.d.ts +4 -4
  74. package/dist/cjs/api/types/DetachedPhoneNumberResult.d.ts +2 -2
  75. package/dist/cjs/api/types/DetachedWebhookInfo.d.ts +2 -2
  76. package/dist/cjs/api/types/DlcCampaignStatus.d.ts +2 -2
  77. package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.d.ts +2 -2
  78. package/dist/cjs/api/types/ExtendedBrand.d.ts +2 -2
  79. package/dist/cjs/api/types/ExtendedRcsCampaign.d.ts +2 -2
  80. package/dist/cjs/api/types/GetConversationParams.d.ts +1 -1
  81. package/dist/cjs/api/types/LinkClickEvent.d.ts +0 -4
  82. package/dist/cjs/api/types/Message.d.ts +2 -2
  83. package/dist/cjs/api/types/MessageEvent.d.ts +6 -12
  84. package/dist/cjs/api/types/MessageEventContent.d.ts +29 -0
  85. package/dist/cjs/api/types/MessageEventContent.js +5 -0
  86. package/dist/cjs/api/types/MessageEventMmsContent.d.ts +23 -0
  87. package/dist/cjs/api/types/MessageEventMmsContent.js +5 -0
  88. package/dist/cjs/api/types/MessageEventRcsButtonData.d.ts +18 -0
  89. package/dist/cjs/api/types/MessageEventRcsButtonData.js +5 -0
  90. package/dist/cjs/api/types/MessageEventRcsCardsContent.d.ts +39 -0
  91. package/dist/cjs/api/types/MessageEventRcsCardsContent.js +5 -0
  92. package/dist/cjs/api/types/MessageEventRcsLocationData.d.ts +18 -0
  93. package/dist/cjs/api/types/MessageEventRcsLocationData.js +5 -0
  94. package/dist/cjs/api/types/MessageEventRcsMediaContent.d.ts +22 -0
  95. package/dist/cjs/api/types/MessageEventRcsMediaContent.js +5 -0
  96. package/dist/cjs/api/types/MessageEventRcsTextContent.d.ts +20 -0
  97. package/dist/cjs/api/types/MessageEventRcsTextContent.js +5 -0
  98. package/dist/cjs/api/types/MessageEventSmsContent.d.ts +17 -0
  99. package/dist/cjs/api/types/MessageEventSmsContent.js +5 -0
  100. package/dist/cjs/api/types/MessageList.d.ts +15 -0
  101. package/dist/cjs/api/types/MessageList.js +5 -0
  102. package/dist/cjs/api/types/MessageWithReaction.d.ts +27 -0
  103. package/dist/cjs/api/types/MessageWithReaction.js +13 -0
  104. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +6 -0
  105. package/dist/cjs/api/types/NotFoundErrorBody.js +5 -0
  106. package/dist/cjs/api/types/RcsCampaign.d.ts +1 -1
  107. package/dist/cjs/api/types/RcsCampaignStatus.d.ts +2 -2
  108. package/dist/cjs/api/types/ReactionResult.d.ts +4 -4
  109. package/dist/cjs/api/types/ScheduledMessaage.d.ts +2 -2
  110. package/dist/cjs/api/types/SentMmsDetails.d.ts +2 -2
  111. package/dist/cjs/api/types/SentRcsDetails.d.ts +2 -2
  112. package/dist/cjs/api/types/SentSmsDetails.d.ts +2 -2
  113. package/dist/cjs/api/types/TollFreeCampaign.d.ts +2 -2
  114. package/dist/cjs/api/types/TollFreeCampaignStatus.d.ts +2 -2
  115. package/dist/cjs/api/types/UpdatedContactId.d.ts +2 -2
  116. package/dist/cjs/api/types/UploadResults.d.ts +6 -0
  117. package/dist/cjs/api/types/ValidateCampaignParams.d.ts +7 -2
  118. package/dist/cjs/api/types/Vcard.d.ts +2 -2
  119. package/dist/cjs/api/types/VcardResource.d.ts +2 -2
  120. package/dist/cjs/api/types/Webhooks.d.ts +2 -2
  121. package/dist/cjs/api/types/index.d.ts +11 -0
  122. package/dist/cjs/api/types/index.js +11 -0
  123. package/dist/cjs/version.d.ts +1 -1
  124. package/dist/cjs/version.js +1 -1
  125. package/dist/cjs/wrapper/messages/Client.js +8 -3
  126. package/dist/esm/Client.mjs +2 -2
  127. package/dist/esm/api/errors/NotFoundError.d.mts +1 -2
  128. package/dist/esm/api/resources/brands/client/Client.d.mts +13 -13
  129. package/dist/esm/api/resources/brands/client/Client.mjs +10 -10
  130. package/dist/esm/api/resources/brands/client/requests/UpsertBrandParams.d.mts +6 -3
  131. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.d.mts +14 -13
  132. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.mjs +12 -11
  133. package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.mts +8 -8
  134. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.d.mts +11 -10
  135. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.mjs +9 -8
  136. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.mts +4 -3
  137. package/dist/esm/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.mts +1 -1
  138. package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.d.mts +12 -12
  139. package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.mjs +10 -10
  140. package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.mts +7 -7
  141. package/dist/esm/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.mts +1 -1
  142. package/dist/esm/api/resources/contacts/client/Client.d.mts +4 -2
  143. package/dist/esm/api/resources/contacts/client/Client.mjs +5 -3
  144. package/dist/esm/api/resources/contacts/client/requests/ContactsGetRequest.d.mts +4 -2
  145. package/dist/esm/api/resources/contacts/client/requests/UpdateContactParams.d.mts +3 -3
  146. package/dist/esm/api/resources/conversations/client/Client.d.mts +21 -4
  147. package/dist/esm/api/resources/conversations/client/Client.mjs +99 -4
  148. package/dist/esm/api/resources/conversations/client/requests/ConversationsListMessagesRequest.d.mts +36 -0
  149. package/dist/esm/api/resources/conversations/client/requests/ConversationsListMessagesRequest.mjs +4 -0
  150. package/dist/esm/api/resources/conversations/client/requests/ListConversationsParams.d.mts +11 -6
  151. package/dist/esm/api/resources/conversations/client/requests/UpdateConversationParams.d.mts +3 -3
  152. package/dist/esm/api/resources/conversations/client/requests/index.d.mts +1 -0
  153. package/dist/esm/api/resources/conversations/index.d.mts +1 -0
  154. package/dist/esm/api/resources/conversations/index.mjs +1 -0
  155. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestDirection.d.mts +8 -0
  156. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestDirection.mjs +7 -0
  157. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.d.mts +8 -0
  158. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestSortOrder.mjs +7 -0
  159. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestStatus.d.mts +13 -0
  160. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestStatus.mjs +12 -0
  161. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestType.d.mts +9 -0
  162. package/dist/esm/api/resources/conversations/types/ConversationsListMessagesRequestType.mjs +8 -0
  163. package/dist/esm/api/resources/conversations/types/index.d.mts +4 -0
  164. package/dist/esm/api/resources/conversations/types/index.mjs +4 -0
  165. package/dist/esm/api/resources/index.d.mts +2 -1
  166. package/dist/esm/api/resources/index.mjs +2 -1
  167. package/dist/esm/api/resources/messages/client/Client.d.mts +4 -4
  168. package/dist/esm/api/resources/messages/client/Client.mjs +3 -3
  169. package/dist/esm/api/resources/messages/client/requests/ReactMessageParams.d.mts +3 -3
  170. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.d.mts +1 -1
  171. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.mjs +1 -1
  172. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.mts +12 -3
  173. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.d.mts +5 -5
  174. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.mjs +4 -4
  175. package/dist/esm/api/resources/rcs/client/Client.d.mts +11 -7
  176. package/dist/esm/api/resources/rcs/client/Client.mjs +11 -7
  177. package/dist/esm/api/resources/status/resources/get/client/Client.d.mts +12 -12
  178. package/dist/esm/api/resources/status/resources/get/client/Client.mjs +8 -8
  179. package/dist/esm/api/resources/tools/resources/contactCard/client/Client.d.mts +2 -2
  180. package/dist/esm/api/resources/tools/resources/contactCard/client/Client.mjs +2 -2
  181. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.mts +3 -3
  182. package/dist/esm/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.mts +1 -1
  183. package/dist/esm/api/resources/tools/resources/file/client/Client.d.mts +2 -1
  184. package/dist/esm/api/resources/tools/resources/file/client/Client.mjs +2 -1
  185. package/dist/esm/api/resources/tools/resources/file/client/requests/RefreshFileParams.d.mts +3 -11
  186. package/dist/esm/api/resources/tools/resources/file/client/requests/UploadFileParams.d.mts +7 -0
  187. package/dist/esm/api/types/AttachWebhookParams.d.mts +1 -1
  188. package/dist/esm/api/types/AttachedPhoneNumberResult.d.mts +2 -2
  189. package/dist/esm/api/types/AutofillCampaignParams.d.mts +7 -2
  190. package/dist/esm/api/types/AutofillDlcCampaignResponse.d.mts +4 -4
  191. package/dist/esm/api/types/BrandStatus.d.mts +2 -2
  192. package/dist/esm/api/types/ButtonClickedData.d.mts +2 -2
  193. package/dist/esm/api/types/CampaignQuery.d.mts +6 -1
  194. package/dist/esm/api/types/ConfiguredWebhook.d.mts +2 -2
  195. package/dist/esm/api/types/Contact.d.mts +2 -2
  196. package/dist/esm/api/types/ContactId.d.mts +2 -2
  197. package/dist/esm/api/types/Conversation.d.mts +7 -7
  198. package/dist/esm/api/types/ConversationList.d.mts +4 -4
  199. package/dist/esm/api/types/DetachedPhoneNumberResult.d.mts +2 -2
  200. package/dist/esm/api/types/DetachedWebhookInfo.d.mts +2 -2
  201. package/dist/esm/api/types/DlcCampaignStatus.d.mts +2 -2
  202. package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.d.mts +2 -2
  203. package/dist/esm/api/types/ExtendedBrand.d.mts +2 -2
  204. package/dist/esm/api/types/ExtendedRcsCampaign.d.mts +2 -2
  205. package/dist/esm/api/types/GetConversationParams.d.mts +1 -1
  206. package/dist/esm/api/types/LinkClickEvent.d.mts +0 -4
  207. package/dist/esm/api/types/Message.d.mts +2 -2
  208. package/dist/esm/api/types/MessageEvent.d.mts +6 -12
  209. package/dist/esm/api/types/MessageEventContent.d.mts +29 -0
  210. package/dist/esm/api/types/MessageEventContent.mjs +4 -0
  211. package/dist/esm/api/types/MessageEventMmsContent.d.mts +23 -0
  212. package/dist/esm/api/types/MessageEventMmsContent.mjs +4 -0
  213. package/dist/esm/api/types/MessageEventRcsButtonData.d.mts +18 -0
  214. package/dist/esm/api/types/MessageEventRcsButtonData.mjs +4 -0
  215. package/dist/esm/api/types/MessageEventRcsCardsContent.d.mts +39 -0
  216. package/dist/esm/api/types/MessageEventRcsCardsContent.mjs +4 -0
  217. package/dist/esm/api/types/MessageEventRcsLocationData.d.mts +18 -0
  218. package/dist/esm/api/types/MessageEventRcsLocationData.mjs +4 -0
  219. package/dist/esm/api/types/MessageEventRcsMediaContent.d.mts +22 -0
  220. package/dist/esm/api/types/MessageEventRcsMediaContent.mjs +4 -0
  221. package/dist/esm/api/types/MessageEventRcsTextContent.d.mts +20 -0
  222. package/dist/esm/api/types/MessageEventRcsTextContent.mjs +4 -0
  223. package/dist/esm/api/types/MessageEventSmsContent.d.mts +17 -0
  224. package/dist/esm/api/types/MessageEventSmsContent.mjs +4 -0
  225. package/dist/esm/api/types/MessageList.d.mts +15 -0
  226. package/dist/esm/api/types/MessageList.mjs +4 -0
  227. package/dist/esm/api/types/MessageWithReaction.d.mts +27 -0
  228. package/dist/esm/api/types/MessageWithReaction.mjs +10 -0
  229. package/dist/esm/api/types/NotFoundErrorBody.d.mts +6 -0
  230. package/dist/esm/api/types/NotFoundErrorBody.mjs +4 -0
  231. package/dist/esm/api/types/RcsCampaign.d.mts +1 -1
  232. package/dist/esm/api/types/RcsCampaignStatus.d.mts +2 -2
  233. package/dist/esm/api/types/ReactionResult.d.mts +4 -4
  234. package/dist/esm/api/types/ScheduledMessaage.d.mts +2 -2
  235. package/dist/esm/api/types/SentMmsDetails.d.mts +2 -2
  236. package/dist/esm/api/types/SentRcsDetails.d.mts +2 -2
  237. package/dist/esm/api/types/SentSmsDetails.d.mts +2 -2
  238. package/dist/esm/api/types/TollFreeCampaign.d.mts +2 -2
  239. package/dist/esm/api/types/TollFreeCampaignStatus.d.mts +2 -2
  240. package/dist/esm/api/types/UpdatedContactId.d.mts +2 -2
  241. package/dist/esm/api/types/UploadResults.d.mts +6 -0
  242. package/dist/esm/api/types/ValidateCampaignParams.d.mts +7 -2
  243. package/dist/esm/api/types/Vcard.d.mts +2 -2
  244. package/dist/esm/api/types/VcardResource.d.mts +2 -2
  245. package/dist/esm/api/types/Webhooks.d.mts +2 -2
  246. package/dist/esm/api/types/index.d.mts +11 -0
  247. package/dist/esm/api/types/index.mjs +11 -0
  248. package/dist/esm/version.d.mts +1 -1
  249. package/dist/esm/version.mjs +1 -1
  250. package/dist/esm/wrapper/messages/Client.mjs +8 -3
  251. package/package.json +3 -3
  252. package/reference.md +156 -73
package/reference.md CHANGED
@@ -112,7 +112,7 @@ await client.brands.upsert({
112
112
  description: "A developer-friendly, compliant API for SMS, MMS, and RCS, built to scale real conversations.",
113
113
  ein: "88-1234567",
114
114
  email: "founders@trypinnacle.app",
115
- id: 1,
115
+ id: "b_1234567890",
116
116
  name: "Pinnacle",
117
117
  sector: "TECHNOLOGY",
118
118
  type: "PRIVATE_PROFIT",
@@ -180,7 +180,7 @@ Retrieve detailed information for a specific brand in your account by ID.
180
180
  <dd>
181
181
 
182
182
  ```typescript
183
- await client.brands.get(1);
183
+ await client.brands.get("b_1234567890");
184
184
  ```
185
185
 
186
186
  </dd>
@@ -196,7 +196,10 @@ await client.brands.get(1);
196
196
  <dl>
197
197
  <dd>
198
198
 
199
- **id:** `number` — ID of an existing brand in your account that you want to retrieve.
199
+ **id:** `string`
200
+
201
+ The unique identifier of the brand you want to retrieve from your account.
202
+ <br><br> This identifier is a string that always begins with the prefix `b_`, for example: `b_1234567890`.
200
203
 
201
204
  </dd>
202
205
  </dl>
@@ -251,7 +254,7 @@ Submit your brand for review and approval by the compliance team.
251
254
  <dd>
252
255
 
253
256
  ```typescript
254
- await client.brands.submit(1);
257
+ await client.brands.submit("b_1234567890");
255
258
  ```
256
259
 
257
260
  </dd>
@@ -267,11 +270,10 @@ await client.brands.submit(1);
267
270
  <dl>
268
271
  <dd>
269
272
 
270
- **brandId:** `number`
271
-
272
- The unique identifier of the brand you want to submit for review. <br>
273
+ **brandId:** `string`
273
274
 
274
- Must correspond to an existing brand in your account that is ready for submission.
275
+ The unique identifier of the brand you want to submit for review. <br><br>
276
+ This identifier is a string that always begins with the prefix `b_`, for example: `b_1234567890` and must correspond to an existing brand in your account that is ready for submission.
275
277
 
276
278
  </dd>
277
279
  </dl>
@@ -397,7 +399,7 @@ Submit a brand for external vetting verification to enhance your brand's trust s
397
399
  <dd>
398
400
 
399
401
  ```typescript
400
- await client.brands.vet(1, {});
402
+ await client.brands.vet("b_1234567890", {});
401
403
  ```
402
404
 
403
405
  </dd>
@@ -413,11 +415,11 @@ await client.brands.vet(1, {});
413
415
  <dl>
414
416
  <dd>
415
417
 
416
- **brandId:** `number`
418
+ **brandId:** `string`
417
419
 
418
420
  The unique identifier of the brand to vet. <br>
419
421
 
420
- The brand must be already registered before it can be vetted.
422
+ This identifier is a string that always begins with the prefix `b_`, for example: `b_1234567890` and must correspond to an existing brand in your account that is ready for vetting.
421
423
 
422
424
  </dd>
423
425
  </dl>
@@ -474,7 +476,9 @@ Retrieve contact information for a given number.
474
476
  <dd>
475
477
 
476
478
  ```typescript
477
- await client.contacts.get();
479
+ await client.contacts.get({
480
+ id: "co_1234567890",
481
+ });
478
482
  ```
479
483
 
480
484
  </dd>
@@ -607,7 +611,7 @@ await client.contacts.update({
607
611
  email: "alvaroopedtech@pinnacle.sh",
608
612
  name: "Retired Bestie",
609
613
  tags: ["friend"],
610
- id: 137,
614
+ id: "co_1234567890",
611
615
  });
612
616
  ```
613
617
 
@@ -674,7 +678,7 @@ Fetch a specific conversation using either its unique identifier or by matching
674
678
 
675
679
  ```typescript
676
680
  await client.conversations.get({
677
- id: 1,
681
+ id: "conv_1234567890",
678
682
  });
679
683
  ```
680
684
 
@@ -739,8 +743,8 @@ Retrieves conversations by page with optional filtering based off provided param
739
743
 
740
744
  ```typescript
741
745
  await client.conversations.list({
742
- brandId: 101,
743
- campaignId: 136,
746
+ brandId: "b_1234567890",
747
+ campaignId: "tf_1234567890",
744
748
  campaignType: "TOLL_FREE",
745
749
  pageIndex: 0,
746
750
  pageSize: 20,
@@ -810,7 +814,7 @@ Update the notes associated with a specific conversation.
810
814
 
811
815
  ```typescript
812
816
  await client.conversations.update({
813
- id: 123,
817
+ id: "conv_1234567890",
814
818
  notes: "Follow-up completed. Customer satisfied with resolution.",
815
819
  });
816
820
  ```
@@ -847,6 +851,77 @@ await client.conversations.update({
847
851
  </dl>
848
852
  </details>
849
853
 
854
+ <details><summary><code>client.conversations.<a href="/src/api/resources/conversations/client/Client.ts">listMessages</a>(id, { ...params }) -> Pinnacle.MessageList</code></summary>
855
+ <dl>
856
+ <dd>
857
+
858
+ #### 📝 Description
859
+
860
+ <dl>
861
+ <dd>
862
+
863
+ <dl>
864
+ <dd>
865
+
866
+ Retrieve a paginated and filtered list of messages for a specific conversation.
867
+
868
+ </dd>
869
+ </dl>
870
+ </dd>
871
+ </dl>
872
+
873
+ #### 🔌 Usage
874
+
875
+ <dl>
876
+ <dd>
877
+
878
+ <dl>
879
+ <dd>
880
+
881
+ ```typescript
882
+ await client.conversations.listMessages("id");
883
+ ```
884
+
885
+ </dd>
886
+ </dl>
887
+ </dd>
888
+ </dl>
889
+
890
+ #### ⚙️ Parameters
891
+
892
+ <dl>
893
+ <dd>
894
+
895
+ <dl>
896
+ <dd>
897
+
898
+ **id:** `string` — Unique identifier of the conversation. This identifier is a string that always begins with the prefix `conv_`, for example: `conv_1234567890`.
899
+
900
+ </dd>
901
+ </dl>
902
+
903
+ <dl>
904
+ <dd>
905
+
906
+ **request:** `Pinnacle.ConversationsListMessagesRequest`
907
+
908
+ </dd>
909
+ </dl>
910
+
911
+ <dl>
912
+ <dd>
913
+
914
+ **requestOptions:** `Conversations.RequestOptions`
915
+
916
+ </dd>
917
+ </dl>
918
+ </dd>
919
+ </dl>
920
+
921
+ </dd>
922
+ </dl>
923
+ </details>
924
+
850
925
  ## Messages
851
926
 
852
927
  <details><summary><code>client.messages.<a href="/src/api/resources/messages/client/Client.ts">get</a>(id) -> Pinnacle.Message</code></summary>
@@ -877,7 +952,7 @@ Retrieve a previously sent message.
877
952
  <dd>
878
953
 
879
954
  ```typescript
880
- await client.messages.get(1240);
955
+ await client.messages.get("msg_1234567890");
881
956
  ```
882
957
 
883
958
  </dd>
@@ -893,7 +968,7 @@ await client.messages.get(1240);
893
968
  <dl>
894
969
  <dd>
895
970
 
896
- **id:** `number` — Unique identifier of the message.
971
+ **id:** `string` — Unique identifier of the message. This identifier is a string that always begins with the prefix `msg_`, for example: `msg_1234567890`.
897
972
 
898
973
  </dd>
899
974
  </dl>
@@ -941,7 +1016,7 @@ Add or remove an emoji reaction to a previously sent message.
941
1016
 
942
1017
  ```typescript
943
1018
  await client.messages.react({
944
- messageId: 1410,
1019
+ messageId: "msg_1234567890",
945
1020
  options: {
946
1021
  force: true,
947
1022
  },
@@ -1286,24 +1361,28 @@ Whitelist a phone number for testing with your test RCS agent.
1286
1361
  ## Overview
1287
1362
 
1288
1363
  During development and testing, RCS agents can only send messages to whitelisted phone numbers.
1289
- Use this endpoint to add test devices to your agent's whitelist before sending test messages.
1364
+ Use this endpoint to whitelist specific phone numbers to send and receive messages from the test agent.
1290
1365
 
1291
1366
  ## Verification Process
1292
1367
 
1293
1368
  After whitelisting a number, you'll need to complete verification:
1294
1369
 
1295
- 1. Check the test device for an "RBM Tester Management" request
1296
- 2. Accept the request on the device
1297
- 3. Enter the 4-digit verification code in the Pinnacle dashboard at:
1370
+ 1. Check the test device for message from "RBM Tester Management"
1371
+ 2. Click the "Make me a tester" button
1372
+ 3. Enter the separate 4-digit verification SMS code in the Pinnacle dashboard at:
1298
1373
  ```
1299
1374
  https://app.pinnacle.sh/dashboard/brands/{brandId}?campaignId={campaignId}&campaignType=RCS
1300
1375
  ```
1301
1376
 
1377
+ > **⚠️ Important: Re-whitelisting Numbers**
1378
+ >
1379
+ > If you whitelist a number that's already whitelisted, you'll receive a new message from "RBM Tester Management". **You must click the "Make me a tester" button again to continue sending and receiving messages.**
1380
+
1302
1381
  > **Important Notes**
1303
1382
  >
1304
- > - **Testing only:** This is only required for test agents. Production agents can message any RCS-enabled number
1305
- > - **AT&T limitation:** Whitelisting may currently fail for AT&T numbers
1306
- > - **Verification required:** The whitelist request isn't complete until you verify the device.
1383
+ > - **Verification required:** Messages cannot be sent nor received until you have clicked the "Make me a tester" button on the test device.
1384
+ > - **Testing only:** This is only required for test agents. Production agents can message any RCS-enabled number.
1385
+ > - **Network limitations:** Whitelisting may be temporarily unavailable for some carriers but are usually restored shortly.
1307
1386
 
1308
1387
  </dd>
1309
1388
  </dl>
@@ -1531,8 +1610,8 @@ Generate campaign details based off existing campaign and the brand it's connect
1531
1610
 
1532
1611
  ```typescript
1533
1612
  await client.campaigns.dlc.autofill({
1534
- additionalInfo: "Please autofill missing DLC campaign fields using my brand profile",
1535
- campaignId: 161,
1613
+ additionalInfo: "Please autofill missing campaign fields using my brand profile",
1614
+ campaignId: "dlc_1234567890",
1536
1615
  });
1537
1616
  ```
1538
1617
 
@@ -1596,7 +1675,7 @@ Retrieve 10DLC campaign.
1596
1675
  <dd>
1597
1676
 
1598
1677
  ```typescript
1599
- await client.campaigns.dlc.get(28);
1678
+ await client.campaigns.dlc.get("dlc_1234567890");
1600
1679
  ```
1601
1680
 
1602
1681
  </dd>
@@ -1612,7 +1691,7 @@ await client.campaigns.dlc.get(28);
1612
1691
  <dl>
1613
1692
  <dd>
1614
1693
 
1615
- **campaignId:** `number` — Unique identifier of the 10DLC campaign.
1694
+ **campaignId:** `string` — Unique identifier of the 10DLC campaign. This identifier is a string that always begins with the prefix `dlc_`, for example: `dlc_1234567890`.
1616
1695
 
1617
1696
  </dd>
1618
1697
  </dl>
@@ -1659,7 +1738,7 @@ Submit your 10DLC campaign for approval and activation with carriers.
1659
1738
  <dd>
1660
1739
 
1661
1740
  ```typescript
1662
- await client.campaigns.dlc.submit(161);
1741
+ await client.campaigns.dlc.submit("dlc_1234567890");
1663
1742
  ```
1664
1743
 
1665
1744
  </dd>
@@ -1675,7 +1754,10 @@ await client.campaigns.dlc.submit(161);
1675
1754
  <dl>
1676
1755
  <dd>
1677
1756
 
1678
- **campaignId:** `number` — Unique identifier of the 10DLC campaign to submit.
1757
+ **campaignId:** `string`
1758
+
1759
+ Unique identifier of the 10DLC campaign to submit.
1760
+ <br><br> This identifier is a string that always begins with the prefix `dlc_`, for example: `dlc_1234567890`.
1679
1761
 
1680
1762
  </dd>
1681
1763
  </dl>
@@ -1726,19 +1808,19 @@ Omit campaignId to create a campaign.
1726
1808
  ```typescript
1727
1809
  await client.campaigns.dlc.upsert({
1728
1810
  autoRenew: true,
1729
- brand: 1,
1730
- campaignId: 161,
1811
+ brand: "b_1234567890",
1812
+ campaignId: "dlc_1234567890",
1731
1813
  keywords: {
1732
1814
  HELP: {
1733
1815
  message: "Reply HELP for assistance, STOP to opt-out",
1734
1816
  values: ["HELP", "INFO", "SUPPORT"],
1735
1817
  },
1736
1818
  OPT_IN: {
1737
- message: "Welcome! You're now subscribed to Pinnacle.",
1819
+ message: "Welcome. You are now subscribed to Pinnacle.",
1738
1820
  values: ["JOIN", "START", "SUBSCRIBE"],
1739
1821
  },
1740
1822
  OPT_OUT: {
1741
- message: "You've been unsubscribed. Reply START to rejoin.",
1823
+ message: "You have been unsubscribed. Reply START to rejoin.",
1742
1824
  values: ["STOP", "QUIT", "UNSUBSCRIBE"],
1743
1825
  },
1744
1826
  },
@@ -1826,7 +1908,7 @@ Validate your 10DLC campaign configuration against carrier requirements and comp
1826
1908
  ```typescript
1827
1909
  await client.campaigns.dlc.validate({
1828
1910
  additionalInfo: "Please validate this DLC campaign for 10DLC compliance",
1829
- campaignId: 161,
1911
+ campaignId: "dlc_1234567890",
1830
1912
  });
1831
1913
  ```
1832
1914
 
@@ -1893,8 +1975,8 @@ Generate campaign details based off existing campaign and the brand it's connect
1893
1975
 
1894
1976
  ```typescript
1895
1977
  await client.campaigns.tollFree.autofill({
1896
- additionalInfo: "Please autofill missing DLC campaign fields using my brand profile",
1897
- campaignId: 161,
1978
+ additionalInfo: "Please autofill missing campaign fields using my brand profile",
1979
+ campaignId: "dlc_1234567890",
1898
1980
  });
1899
1981
  ```
1900
1982
 
@@ -1958,7 +2040,7 @@ Retrieve Toll-Free campaign.
1958
2040
  <dd>
1959
2041
 
1960
2042
  ```typescript
1961
- await client.campaigns.tollFree.get(161);
2043
+ await client.campaigns.tollFree.get("tf_1234567890");
1962
2044
  ```
1963
2045
 
1964
2046
  </dd>
@@ -1974,7 +2056,7 @@ await client.campaigns.tollFree.get(161);
1974
2056
  <dl>
1975
2057
  <dd>
1976
2058
 
1977
- **campaignId:** `number` — Unique identifier of toll-free campaign.
2059
+ **campaignId:** `string` — Unique identifier of toll-free campaign. Must begin with the prefix `tf_`.
1978
2060
 
1979
2061
  </dd>
1980
2062
  </dl>
@@ -2021,7 +2103,7 @@ Submit your toll-free campaign for approval and activation with carriers.
2021
2103
  <dd>
2022
2104
 
2023
2105
  ```typescript
2024
- await client.campaigns.tollFree.submit(161);
2106
+ await client.campaigns.tollFree.submit("tf_1234567890");
2025
2107
  ```
2026
2108
 
2027
2109
  </dd>
@@ -2037,7 +2119,7 @@ await client.campaigns.tollFree.submit(161);
2037
2119
  <dl>
2038
2120
  <dd>
2039
2121
 
2040
- **campaignId:** `number` — Unique identifier of the toll-free campaign to submit.
2122
+ **campaignId:** `string` — Unique identifier of the toll-free campaign to submit. Must begin with the prefix `tf_`.
2041
2123
 
2042
2124
  </dd>
2043
2125
  </dl>
@@ -2087,8 +2169,8 @@ Omit campaignId to create a campaign.
2087
2169
 
2088
2170
  ```typescript
2089
2171
  await client.campaigns.tollFree.upsert({
2090
- brand: 2,
2091
- campaignId: 161,
2172
+ brand: "b_1234567890",
2173
+ campaignId: "tf_1234567890",
2092
2174
  monthlyVolume: "1,000",
2093
2175
  name: "Pinnacle",
2094
2176
  optIn: {
@@ -2096,7 +2178,7 @@ await client.campaigns.tollFree.upsert({
2096
2178
  url: "https://www.pinnacle.sh/",
2097
2179
  workflowDescription: "Visit https://www.pinnacle.sh/",
2098
2180
  },
2099
- productionMessageContent: "Join Pinnacle's workshop tomorrow and send your first RCS!",
2181
+ productionMessageContent: "Join the Pinnacle workshop tomorrow and send your first RCS!",
2100
2182
  useCase: {
2101
2183
  summary: "Alerts clients about any Pinnacle hosted workshops.",
2102
2184
  value: "WORKSHOP_ALERTS",
@@ -2166,7 +2248,7 @@ Validate your toll-free campaign configuration against carrier requirements and
2166
2248
  ```typescript
2167
2249
  await client.campaigns.tollFree.validate({
2168
2250
  additionalInfo: "Please validate this DLC campaign for 10DLC compliance",
2169
- campaignId: 161,
2251
+ campaignId: "dlc_1234567890",
2170
2252
  });
2171
2253
  ```
2172
2254
 
@@ -2233,8 +2315,8 @@ Generate campaign details based off existing campaign and the brand it's connect
2233
2315
 
2234
2316
  ```typescript
2235
2317
  await client.campaigns.rcs.autofill({
2236
- additionalInfo: "Please autofill missing DLC campaign fields using my brand profile",
2237
- campaignId: 161,
2318
+ additionalInfo: "Please autofill missing campaign fields using my brand profile",
2319
+ campaignId: "dlc_1234567890",
2238
2320
  });
2239
2321
  ```
2240
2322
 
@@ -2298,7 +2380,7 @@ Retrieve RCS campaign.
2298
2380
  <dd>
2299
2381
 
2300
2382
  ```typescript
2301
- await client.campaigns.rcs.get(161);
2383
+ await client.campaigns.rcs.get("rcs_1234567890");
2302
2384
  ```
2303
2385
 
2304
2386
  </dd>
@@ -2314,7 +2396,7 @@ await client.campaigns.rcs.get(161);
2314
2396
  <dl>
2315
2397
  <dd>
2316
2398
 
2317
- **campaignId:** `number` — Unique identifier of the RCS campaign.
2399
+ **campaignId:** `string` — Unique identifier of the RCS campaign. Must begin with the prefix `rcs_`.
2318
2400
 
2319
2401
  </dd>
2320
2402
  </dl>
@@ -2361,7 +2443,7 @@ Submit your RCS campaign for approval and activation with carriers.
2361
2443
  <dd>
2362
2444
 
2363
2445
  ```typescript
2364
- await client.campaigns.rcs.submit(161);
2446
+ await client.campaigns.rcs.submit("rcs_1234567890");
2365
2447
  ```
2366
2448
 
2367
2449
  </dd>
@@ -2377,7 +2459,7 @@ await client.campaigns.rcs.submit(161);
2377
2459
  <dl>
2378
2460
  <dd>
2379
2461
 
2380
- **campaignId:** `number` — Unique identifier of the RCS campaign to retrieve.
2462
+ **campaignId:** `string` — Unique identifier of the RCS campaign to retrieve. Must begin with the prefix `rcs_`.
2381
2463
 
2382
2464
  </dd>
2383
2465
  </dl>
@@ -2454,7 +2536,8 @@ await client.campaigns.rcs.upsert({
2454
2536
  ],
2455
2537
  },
2456
2538
  brandVerificationUrl: "https://www.pinnacle.sh/articles-of-incorporation.pdf",
2457
- brand: 2,
2539
+ brand: "b_1234567890",
2540
+ campaignId: "rcs_1234567890",
2458
2541
  expectedAgentResponses: [
2459
2542
  "Here are the things I can help you with.",
2460
2543
  "I can assist you with booking an appointment, or you may choose to book manually.",
@@ -2542,7 +2625,7 @@ Validate your RCS campaign configuration against carrier requirements and compli
2542
2625
  ```typescript
2543
2626
  await client.campaigns.rcs.validate({
2544
2627
  additionalInfo: "Please validate this DLC campaign for 10DLC compliance",
2545
- campaignId: 161,
2628
+ campaignId: "dlc_1234567890",
2546
2629
  });
2547
2630
  ```
2548
2631
 
@@ -3037,7 +3120,7 @@ Connect a webhook to your phone number to receive real-time notifications for in
3037
3120
 
3038
3121
  ```typescript
3039
3122
  await client.phoneNumbers.webhook.attach("%2B14155551234", {
3040
- webhookId: 123,
3123
+ webhookId: "wh_1234567890",
3041
3124
  event: "MESSAGE.STATUS",
3042
3125
  });
3043
3126
  ```
@@ -3116,7 +3199,7 @@ The webhook configuration itself remains intact and available for use with other
3116
3199
  <dd>
3117
3200
 
3118
3201
  ```typescript
3119
- await client.phoneNumbers.webhook.detach("+14155551234", 123);
3202
+ await client.phoneNumbers.webhook.detach("+14155551234", "wh_1234567890");
3120
3203
  ```
3121
3204
 
3122
3205
  </dd>
@@ -3144,11 +3227,11 @@ Must be a phone number that you own and currently has the specified webhook atta
3144
3227
  <dl>
3145
3228
  <dd>
3146
3229
 
3147
- **webhookId:** `number`
3230
+ **webhookId:** `string`
3148
3231
 
3149
3232
  The unique identifier of the webhook you want to detach from the phone number. <br>
3150
3233
 
3151
- This must be a valid webhook ID that is currently attached to the specified phone number.
3234
+ This must be a valid webhook ID that is currently attached to the specified phone number. This identifier is a string that always begins with the prefix `wh_`, for example: `wh_1234567890`.
3152
3235
 
3153
3236
  </dd>
3154
3237
  </dl>
@@ -3200,7 +3283,7 @@ Link a phone number to a specific campaign. Phone numbers must be linked to a ca
3200
3283
  await client.phoneNumbers.campaign.attach({
3201
3284
  phones: ["+14155550123", "+14155559876", "+14155550111"],
3202
3285
  campaignType: "TOLL_FREE",
3203
- campaignId: 101,
3286
+ campaignId: "tf_1234567890",
3204
3287
  });
3205
3288
  ```
3206
3289
 
@@ -3331,7 +3414,7 @@ Retrieve a brand's status.
3331
3414
  <dd>
3332
3415
 
3333
3416
  ```typescript
3334
- await client.status.get.brand(28);
3417
+ await client.status.get.brand("b_1234567890");
3335
3418
  ```
3336
3419
 
3337
3420
  </dd>
@@ -3347,7 +3430,7 @@ await client.status.get.brand(28);
3347
3430
  <dl>
3348
3431
  <dd>
3349
3432
 
3350
- **brandId:** `number` — ID of the brand.
3433
+ **brandId:** `string` — The unique identifier of the brand you want to retrieve the status for. This identifier is a string that always begins with the prefix `b_`, for example: `b_1234567890`.
3351
3434
 
3352
3435
  </dd>
3353
3436
  </dl>
@@ -3394,7 +3477,7 @@ Retrieve a toll-free campaign's status.
3394
3477
  <dd>
3395
3478
 
3396
3479
  ```typescript
3397
- await client.status.get.tollFree(28);
3480
+ await client.status.get.tollFree("tf_1234567890");
3398
3481
  ```
3399
3482
 
3400
3483
  </dd>
@@ -3410,7 +3493,7 @@ await client.status.get.tollFree(28);
3410
3493
  <dl>
3411
3494
  <dd>
3412
3495
 
3413
- **campaignId:** `number` — ID of the toll-free campaign.
3496
+ **campaignId:** `string` — The unique identifier of the toll-free campaign you want to retrieve the status for. This identifier is a string that always begins with the prefix `tf_`, for example: `tf_1234567890`.
3414
3497
 
3415
3498
  </dd>
3416
3499
  </dl>
@@ -3457,7 +3540,7 @@ Retrieve a 10DLC campaign's status.
3457
3540
  <dd>
3458
3541
 
3459
3542
  ```typescript
3460
- await client.status.get.dlc(28);
3543
+ await client.status.get.dlc("dlc_1234567890");
3461
3544
  ```
3462
3545
 
3463
3546
  </dd>
@@ -3473,7 +3556,7 @@ await client.status.get.dlc(28);
3473
3556
  <dl>
3474
3557
  <dd>
3475
3558
 
3476
- **campaignId:** `number` — ID of the 10DLC campaign.
3559
+ **campaignId:** `string` — The unique identifier of the 10DLC campaign you want to retrieve the status for. This identifier is a string that always begins with the prefix `dlc_`, for example: `dlc_1234567890`.
3477
3560
 
3478
3561
  </dd>
3479
3562
  </dl>
@@ -3520,7 +3603,7 @@ Retrieve a RCS campaign's status.
3520
3603
  <dd>
3521
3604
 
3522
3605
  ```typescript
3523
- await client.status.get.rcs(28);
3606
+ await client.status.get.rcs("rcs_1234567890");
3524
3607
  ```
3525
3608
 
3526
3609
  </dd>
@@ -3536,7 +3619,7 @@ await client.status.get.rcs(28);
3536
3619
  <dl>
3537
3620
  <dd>
3538
3621
 
3539
- **campaignId:** `number` — ID of the campaign.
3622
+ **campaignId:** `string` — The unique identifier of the RCS campaign you want to retrieve the status for. This identifier is a string that always begins with the prefix `rcs_`, for example: `rcs_1234567890`.
3540
3623
 
3541
3624
  </dd>
3542
3625
  </dl>
@@ -3869,6 +3952,7 @@ await client.tools.file.upload({
3869
3952
  size: 1024,
3870
3953
  name: "test.jpg",
3871
3954
  options: {
3955
+ deleteAt: "2025-12-31T23:59:59Z",
3872
3956
  download: {
3873
3957
  expiresAt: "2025-06-30T12:00:00.000Z",
3874
3958
  },
@@ -3940,10 +4024,9 @@ Refresh expiring presigned URLs for Pinnacle-hosted files to extend their access
3940
4024
 
3941
4025
  ```typescript
3942
4026
  await client.tools.file.refresh({
3943
- uris: [
4027
+ urls: [
3944
4028
  "https://server.trypinnacle.app/storage/v1/object/sign/vault/3/test.jpg?token=oldtoken",
3945
4029
  "https://server.trypinnacle.app/storage/v1/object/sign/vault/3/document.pdf?token=oldtoken2",
3946
- "icons/3/test.jpg",
3947
4030
  "invalid/url",
3948
4031
  "https://google.com",
3949
4032
  ],
@@ -4013,7 +4096,7 @@ Retrieve contact information as a vCard and get a presigned URL to download the
4013
4096
 
4014
4097
  ```typescript
4015
4098
  await client.tools.contactCard.get({
4016
- id: 33,
4099
+ id: "cc_1234567890",
4017
4100
  });
4018
4101
  ```
4019
4102
 
@@ -4078,7 +4161,7 @@ Create a new contact card or updates an existing one with full vCard data. Conta
4078
4161
 
4079
4162
  ```typescript
4080
4163
  await client.tools.contactCard.upsert({
4081
- id: 34,
4164
+ id: "cc_1234567890",
4082
4165
  formattedName: "Jane Smith",
4083
4166
  name: {
4084
4167
  familyName: "Smith",