rcs-js 2.0.0-rc.10 → 2.0.0-rc.12

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 (198) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +15 -10
  3. package/dist/cjs/api/resources/brands/client/Client.d.ts +2 -0
  4. package/dist/cjs/api/resources/brands/client/Client.js +6 -0
  5. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.d.ts +6 -6
  6. package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.js +6 -6
  7. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.d.ts +1 -0
  8. package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.js +3 -0
  9. package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.ts +2 -2
  10. package/dist/cjs/api/resources/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/index.js +3 -1
  12. package/dist/cjs/api/resources/messages/client/Client.d.ts +3 -0
  13. package/dist/cjs/api/resources/messages/client/Client.js +9 -0
  14. package/dist/cjs/api/resources/messages/resources/mms/client/Client.d.ts +1 -0
  15. package/dist/cjs/api/resources/messages/resources/mms/client/Client.js +3 -0
  16. package/dist/cjs/api/resources/messages/resources/rcs/client/Client.d.ts +3 -2
  17. package/dist/cjs/api/resources/messages/resources/rcs/client/Client.js +4 -1
  18. package/dist/cjs/api/resources/messages/resources/sms/client/Client.d.ts +1 -0
  19. package/dist/cjs/api/resources/messages/resources/sms/client/Client.js +3 -0
  20. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.d.ts +2 -0
  21. package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.js +6 -0
  22. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.d.ts +1 -0
  23. package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.js +3 -0
  24. package/dist/cjs/api/resources/rcs/client/Client.d.ts +121 -0
  25. package/dist/cjs/api/resources/rcs/client/Client.js +320 -0
  26. package/dist/cjs/api/resources/rcs/client/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/rcs/client/index.js +17 -0
  28. package/dist/cjs/api/resources/rcs/client/requests/RcsCapabilitiesQuery.d.ts +13 -0
  29. package/dist/cjs/api/resources/rcs/client/requests/RcsLinkRequest.d.ts +22 -0
  30. package/dist/cjs/api/resources/rcs/client/requests/RcsWhitelistRequest.d.ts +16 -0
  31. package/dist/cjs/api/resources/rcs/client/requests/index.d.ts +3 -0
  32. package/dist/cjs/api/resources/rcs/client/requests/index.js +2 -0
  33. package/dist/cjs/api/resources/rcs/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/rcs/index.js +17 -0
  35. package/dist/cjs/api/resources/status/resources/get/client/Client.d.ts +2 -2
  36. package/dist/cjs/api/resources/status/resources/get/client/Client.js +2 -2
  37. package/dist/cjs/api/resources/tools/resources/file/client/Client.d.ts +21 -0
  38. package/dist/cjs/api/resources/tools/resources/file/client/Client.js +74 -0
  39. package/dist/cjs/api/resources/tools/resources/file/client/requests/RefreshFileParams.d.ts +21 -0
  40. package/dist/cjs/api/resources/tools/resources/file/client/requests/RefreshFileParams.js +5 -0
  41. package/dist/cjs/api/resources/tools/resources/file/client/requests/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/tools/resources/url/client/Client.d.ts +1 -1
  43. package/dist/cjs/api/resources/tools/resources/url/client/Client.js +1 -1
  44. package/dist/cjs/api/types/AutofillDlcCampaignResponse.d.ts +11 -11
  45. package/dist/cjs/api/types/ButtonClicked.d.ts +11 -0
  46. package/dist/cjs/api/types/ButtonClicked.js +5 -0
  47. package/dist/cjs/api/types/ButtonClickedData.d.ts +56 -0
  48. package/dist/cjs/api/types/ButtonClickedData.js +16 -0
  49. package/dist/cjs/api/types/ConversationList.d.ts +4 -4
  50. package/dist/cjs/api/types/CreateUrlOptions.d.ts +1 -1
  51. package/dist/cjs/api/types/DlcCampaignStatus.d.ts +2 -2
  52. package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.d.ts +13 -10
  53. package/dist/cjs/api/types/ExtendedBrand.d.ts +7 -4
  54. package/dist/cjs/api/types/ExtendedRcsCampaign.d.ts +11 -10
  55. package/dist/cjs/api/types/MessageContent.d.ts +2 -2
  56. package/dist/cjs/api/types/MessageEvent.d.ts +56 -0
  57. package/dist/cjs/api/types/MessageEvent.js +13 -0
  58. package/dist/cjs/api/types/ProfileStatusEnum.d.ts +7 -4
  59. package/dist/cjs/api/types/RcsBase.d.ts +2 -0
  60. package/dist/cjs/api/types/RcsButtonCall.d.ts +2 -0
  61. package/dist/cjs/api/types/RcsButtonOpenUrl.d.ts +2 -0
  62. package/dist/cjs/api/types/RcsButtonRequestUserLocation.d.ts +2 -0
  63. package/dist/cjs/api/types/RcsButtonScheduleEvent.d.ts +2 -0
  64. package/dist/cjs/api/types/RcsButtonSendLocation.d.ts +2 -0
  65. package/dist/cjs/api/types/RcsButtonTrigger.d.ts +2 -2
  66. package/dist/cjs/api/types/RcsCampaign.d.ts +2 -2
  67. package/dist/cjs/api/types/RcsCapabilitiesResult.d.ts +8 -0
  68. package/dist/cjs/api/types/RcsCapabilitiesResult.js +5 -0
  69. package/dist/cjs/api/types/RcsCapability.d.ts +36 -0
  70. package/dist/cjs/api/types/RcsCapability.js +5 -0
  71. package/dist/cjs/api/types/RcsLinkResult.d.ts +13 -0
  72. package/dist/cjs/api/types/RcsLinkResult.js +5 -0
  73. package/dist/cjs/api/types/RcsValidateContent.d.ts +1 -0
  74. package/dist/cjs/api/types/RcsWhitelistResponse.d.ts +10 -0
  75. package/dist/cjs/api/types/RcsWhitelistResponse.js +5 -0
  76. package/dist/cjs/api/types/RefreshedFile.d.ts +9 -0
  77. package/dist/cjs/api/types/RefreshedFile.js +5 -0
  78. package/dist/cjs/api/types/{Rcs.d.ts → RichMessage.d.ts} +1 -1
  79. package/dist/cjs/api/types/RichMessage.js +5 -0
  80. package/dist/cjs/api/types/index.d.ts +9 -3
  81. package/dist/cjs/api/types/index.js +9 -3
  82. package/dist/cjs/index.d.ts +1 -1
  83. package/dist/cjs/index.js +2 -2
  84. package/dist/cjs/version.d.ts +1 -1
  85. package/dist/cjs/version.js +1 -1
  86. package/dist/cjs/wrapper/PinnacleClient.d.ts +9 -0
  87. package/dist/cjs/wrapper/PinnacleClient.js +17 -0
  88. package/dist/cjs/wrapper/messages/Client.d.ts +13 -0
  89. package/dist/cjs/wrapper/messages/Client.js +49 -0
  90. package/dist/cjs/wrapper/tools/Client.d.ts +6 -0
  91. package/dist/cjs/wrapper/tools/Client.js +12 -0
  92. package/dist/cjs/wrapper/tools/FileUploader.d.ts +15 -0
  93. package/dist/cjs/wrapper/tools/FileUploader.js +162 -0
  94. package/dist/esm/Client.d.mts +3 -0
  95. package/dist/esm/Client.mjs +7 -2
  96. package/dist/esm/api/resources/brands/client/Client.d.mts +2 -0
  97. package/dist/esm/api/resources/brands/client/Client.mjs +6 -0
  98. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.d.mts +6 -6
  99. package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.mjs +6 -6
  100. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.d.mts +1 -0
  101. package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.mjs +3 -0
  102. package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.mts +2 -2
  103. package/dist/esm/api/resources/index.d.mts +2 -0
  104. package/dist/esm/api/resources/index.mjs +2 -0
  105. package/dist/esm/api/resources/messages/client/Client.d.mts +3 -0
  106. package/dist/esm/api/resources/messages/client/Client.mjs +9 -0
  107. package/dist/esm/api/resources/messages/resources/mms/client/Client.d.mts +1 -0
  108. package/dist/esm/api/resources/messages/resources/mms/client/Client.mjs +3 -0
  109. package/dist/esm/api/resources/messages/resources/rcs/client/Client.d.mts +3 -2
  110. package/dist/esm/api/resources/messages/resources/rcs/client/Client.mjs +4 -1
  111. package/dist/esm/api/resources/messages/resources/sms/client/Client.d.mts +1 -0
  112. package/dist/esm/api/resources/messages/resources/sms/client/Client.mjs +3 -0
  113. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.d.mts +2 -0
  114. package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.mjs +6 -0
  115. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.d.mts +1 -0
  116. package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.mjs +3 -0
  117. package/dist/esm/api/resources/rcs/client/Client.d.mts +121 -0
  118. package/dist/esm/api/resources/rcs/client/Client.mjs +283 -0
  119. package/dist/esm/api/resources/rcs/client/index.d.mts +2 -0
  120. package/dist/esm/api/resources/rcs/client/index.mjs +1 -0
  121. package/dist/esm/api/resources/rcs/client/requests/RcsCapabilitiesQuery.d.mts +13 -0
  122. package/dist/esm/api/resources/rcs/client/requests/RcsLinkRequest.d.mts +22 -0
  123. package/dist/esm/api/resources/rcs/client/requests/RcsWhitelistRequest.d.mts +16 -0
  124. package/dist/esm/api/resources/rcs/client/requests/index.d.mts +3 -0
  125. package/dist/esm/api/resources/rcs/client/requests/index.mjs +1 -0
  126. package/dist/esm/api/resources/rcs/index.d.mts +1 -0
  127. package/dist/esm/api/resources/rcs/index.mjs +1 -0
  128. package/dist/esm/api/resources/status/resources/get/client/Client.d.mts +2 -2
  129. package/dist/esm/api/resources/status/resources/get/client/Client.mjs +2 -2
  130. package/dist/esm/api/resources/tools/resources/file/client/Client.d.mts +21 -0
  131. package/dist/esm/api/resources/tools/resources/file/client/Client.mjs +74 -0
  132. package/dist/esm/api/resources/tools/resources/file/client/requests/RefreshFileParams.d.mts +21 -0
  133. package/dist/esm/api/resources/tools/resources/file/client/requests/RefreshFileParams.mjs +4 -0
  134. package/dist/esm/api/resources/tools/resources/file/client/requests/index.d.mts +1 -0
  135. package/dist/esm/api/resources/tools/resources/url/client/Client.d.mts +1 -1
  136. package/dist/esm/api/resources/tools/resources/url/client/Client.mjs +1 -1
  137. package/dist/esm/api/types/AutofillDlcCampaignResponse.d.mts +11 -11
  138. package/dist/esm/api/types/ButtonClicked.d.mts +11 -0
  139. package/dist/esm/api/types/ButtonClicked.mjs +4 -0
  140. package/dist/esm/api/types/ButtonClickedData.d.mts +56 -0
  141. package/dist/esm/api/types/ButtonClickedData.mjs +13 -0
  142. package/dist/esm/api/types/ConversationList.d.mts +4 -4
  143. package/dist/esm/api/types/CreateUrlOptions.d.mts +1 -1
  144. package/dist/esm/api/types/DlcCampaignStatus.d.mts +2 -2
  145. package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.d.mts +13 -10
  146. package/dist/esm/api/types/ExtendedBrand.d.mts +7 -4
  147. package/dist/esm/api/types/ExtendedRcsCampaign.d.mts +11 -10
  148. package/dist/esm/api/types/MessageContent.d.mts +2 -2
  149. package/dist/esm/api/types/MessageEvent.d.mts +56 -0
  150. package/dist/esm/api/types/MessageEvent.mjs +10 -0
  151. package/dist/esm/api/types/ProfileStatusEnum.d.mts +7 -4
  152. package/dist/esm/api/types/RcsBase.d.mts +2 -0
  153. package/dist/esm/api/types/RcsButtonCall.d.mts +2 -0
  154. package/dist/esm/api/types/RcsButtonOpenUrl.d.mts +2 -0
  155. package/dist/esm/api/types/RcsButtonRequestUserLocation.d.mts +2 -0
  156. package/dist/esm/api/types/RcsButtonScheduleEvent.d.mts +2 -0
  157. package/dist/esm/api/types/RcsButtonSendLocation.d.mts +2 -0
  158. package/dist/esm/api/types/RcsButtonTrigger.d.mts +2 -2
  159. package/dist/esm/api/types/RcsCampaign.d.mts +2 -2
  160. package/dist/esm/api/types/RcsCapabilitiesResult.d.mts +8 -0
  161. package/dist/esm/api/types/RcsCapabilitiesResult.mjs +4 -0
  162. package/dist/esm/api/types/RcsCapability.d.mts +36 -0
  163. package/dist/esm/api/types/RcsCapability.mjs +4 -0
  164. package/dist/esm/api/types/RcsLinkResult.d.mts +13 -0
  165. package/dist/esm/api/types/RcsLinkResult.mjs +4 -0
  166. package/dist/esm/api/types/RcsValidateContent.d.mts +1 -0
  167. package/dist/esm/api/types/RcsWhitelistResponse.d.mts +10 -0
  168. package/dist/esm/api/types/RcsWhitelistResponse.mjs +4 -0
  169. package/dist/esm/api/types/RefreshedFile.d.mts +9 -0
  170. package/dist/esm/api/types/RefreshedFile.mjs +4 -0
  171. package/dist/esm/api/types/{Rcs.d.mts → RichMessage.d.mts} +1 -1
  172. package/dist/esm/api/types/RichMessage.mjs +4 -0
  173. package/dist/esm/api/types/index.d.mts +9 -3
  174. package/dist/esm/api/types/index.mjs +9 -3
  175. package/dist/esm/index.d.mts +1 -1
  176. package/dist/esm/index.mjs +1 -1
  177. package/dist/esm/version.d.mts +1 -1
  178. package/dist/esm/version.mjs +1 -1
  179. package/dist/esm/wrapper/PinnacleClient.d.mts +9 -0
  180. package/dist/esm/wrapper/PinnacleClient.mjs +13 -0
  181. package/dist/esm/wrapper/messages/Client.d.mts +13 -0
  182. package/dist/esm/wrapper/messages/Client.mjs +45 -0
  183. package/dist/esm/wrapper/tools/Client.d.mts +6 -0
  184. package/dist/esm/wrapper/tools/Client.mjs +8 -0
  185. package/dist/esm/wrapper/tools/FileUploader.d.mts +15 -0
  186. package/dist/esm/wrapper/tools/FileUploader.mjs +125 -0
  187. package/package.json +7 -3
  188. package/reference.md +313 -10
  189. package/dist/cjs/api/types/ClickAction.d.ts +0 -28
  190. package/dist/cjs/api/types/InboundButton.d.ts +0 -11
  191. package/dist/esm/api/types/ClickAction.d.mts +0 -28
  192. package/dist/esm/api/types/InboundButton.d.mts +0 -11
  193. /package/dist/cjs/api/{types/ClickAction.js → resources/rcs/client/requests/RcsCapabilitiesQuery.js} +0 -0
  194. /package/dist/cjs/api/{types/InboundButton.js → resources/rcs/client/requests/RcsLinkRequest.js} +0 -0
  195. /package/dist/cjs/api/{types/Rcs.js → resources/rcs/client/requests/RcsWhitelistRequest.js} +0 -0
  196. /package/dist/esm/api/{types/ClickAction.mjs → resources/rcs/client/requests/RcsCapabilitiesQuery.mjs} +0 -0
  197. /package/dist/esm/api/{types/InboundButton.mjs → resources/rcs/client/requests/RcsLinkRequest.mjs} +0 -0
  198. /package/dist/esm/api/{types/Rcs.mjs → resources/rcs/client/requests/RcsWhitelistRequest.mjs} +0 -0
package/reference.md CHANGED
@@ -1199,6 +1199,235 @@ await client.phoneNumbers.get({
1199
1199
  </dl>
1200
1200
  </details>
1201
1201
 
1202
+ ## RCS
1203
+
1204
+ <details><summary><code>client.rcs.<a href="/src/api/resources/rcs/client/Client.ts">getCapabilities</a>({ ...params }) -> Pinnacle.RcsCapabilitiesResult</code></summary>
1205
+ <dl>
1206
+ <dd>
1207
+
1208
+ #### 📝 Description
1209
+
1210
+ <dl>
1211
+ <dd>
1212
+
1213
+ <dl>
1214
+ <dd>
1215
+
1216
+ Check RCS capabilities for one or more phone numbers.
1217
+
1218
+ This endpoint allows you to verify which RCS features (cards, buttons, etc.) are supported
1219
+ on specific phone numbers before sending RCS messages to them.
1220
+
1221
+ </dd>
1222
+ </dl>
1223
+ </dd>
1224
+ </dl>
1225
+
1226
+ #### 🔌 Usage
1227
+
1228
+ <dl>
1229
+ <dd>
1230
+
1231
+ <dl>
1232
+ <dd>
1233
+
1234
+ ```typescript
1235
+ await client.rcs.getCapabilities({
1236
+ phoneNumbers: ["+12345678901", "+19876543210"],
1237
+ });
1238
+ ```
1239
+
1240
+ </dd>
1241
+ </dl>
1242
+ </dd>
1243
+ </dl>
1244
+
1245
+ #### ⚙️ Parameters
1246
+
1247
+ <dl>
1248
+ <dd>
1249
+
1250
+ <dl>
1251
+ <dd>
1252
+
1253
+ **request:** `Pinnacle.RcsCapabilitiesQuery`
1254
+
1255
+ </dd>
1256
+ </dl>
1257
+
1258
+ <dl>
1259
+ <dd>
1260
+
1261
+ **requestOptions:** `Rcs.RequestOptions`
1262
+
1263
+ </dd>
1264
+ </dl>
1265
+ </dd>
1266
+ </dl>
1267
+
1268
+ </dd>
1269
+ </dl>
1270
+ </details>
1271
+
1272
+ <details><summary><code>client.rcs.<a href="/src/api/resources/rcs/client/Client.ts">whitelist</a>({ ...params }) -> Pinnacle.RcsWhitelistResponse</code></summary>
1273
+ <dl>
1274
+ <dd>
1275
+
1276
+ #### 📝 Description
1277
+
1278
+ <dl>
1279
+ <dd>
1280
+
1281
+ <dl>
1282
+ <dd>
1283
+
1284
+ Whitelist a phone number for testing with your test RCS agent.
1285
+
1286
+ ## Overview
1287
+
1288
+ 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.
1290
+
1291
+ ## Verification Process
1292
+
1293
+ After whitelisting a number, you'll need to complete verification:
1294
+
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:
1298
+ ```
1299
+ https://app.pinnacle.sh/dashboard/brands/{brandId}?campaignId={campaignId}&campaignType=RCS
1300
+ ```
1301
+
1302
+ > **Important Notes**
1303
+ >
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.
1307
+
1308
+ </dd>
1309
+ </dl>
1310
+ </dd>
1311
+ </dl>
1312
+
1313
+ #### 🔌 Usage
1314
+
1315
+ <dl>
1316
+ <dd>
1317
+
1318
+ <dl>
1319
+ <dd>
1320
+
1321
+ ```typescript
1322
+ await client.rcs.whitelist({
1323
+ agentId: "agent_XXXXXXXXXXXX",
1324
+ phoneNumber: "+12345678901",
1325
+ });
1326
+ ```
1327
+
1328
+ </dd>
1329
+ </dl>
1330
+ </dd>
1331
+ </dl>
1332
+
1333
+ #### ⚙️ Parameters
1334
+
1335
+ <dl>
1336
+ <dd>
1337
+
1338
+ <dl>
1339
+ <dd>
1340
+
1341
+ **request:** `Pinnacle.RcsWhitelistRequest`
1342
+
1343
+ </dd>
1344
+ </dl>
1345
+
1346
+ <dl>
1347
+ <dd>
1348
+
1349
+ **requestOptions:** `Rcs.RequestOptions`
1350
+
1351
+ </dd>
1352
+ </dl>
1353
+ </dd>
1354
+ </dl>
1355
+
1356
+ </dd>
1357
+ </dl>
1358
+ </details>
1359
+
1360
+ <details><summary><code>client.rcs.<a href="/src/api/resources/rcs/client/Client.ts">getLink</a>({ ...params }) -> Pinnacle.RcsLinkResult</code></summary>
1361
+ <dl>
1362
+ <dd>
1363
+
1364
+ #### 📝 Description
1365
+
1366
+ <dl>
1367
+ <dd>
1368
+
1369
+ <dl>
1370
+ <dd>
1371
+
1372
+ Generate a link for initiating an RCS conversation with your agent.
1373
+
1374
+ Users can click these links to start conversations with your RCS agent directly
1375
+ from websites, emails, or other applications.
1376
+
1377
+ </dd>
1378
+ </dl>
1379
+ </dd>
1380
+ </dl>
1381
+
1382
+ #### 🔌 Usage
1383
+
1384
+ <dl>
1385
+ <dd>
1386
+
1387
+ <dl>
1388
+ <dd>
1389
+
1390
+ ```typescript
1391
+ await client.rcs.getLink({
1392
+ agentId: "agent_XXXXXXXXXXXX",
1393
+ testMode: false,
1394
+ phoneNumber: "+12345678901",
1395
+ body: "Hello, I need help with my order",
1396
+ });
1397
+ ```
1398
+
1399
+ </dd>
1400
+ </dl>
1401
+ </dd>
1402
+ </dl>
1403
+
1404
+ #### ⚙️ Parameters
1405
+
1406
+ <dl>
1407
+ <dd>
1408
+
1409
+ <dl>
1410
+ <dd>
1411
+
1412
+ **request:** `Pinnacle.RcsLinkRequest`
1413
+
1414
+ </dd>
1415
+ </dl>
1416
+
1417
+ <dl>
1418
+ <dd>
1419
+
1420
+ **requestOptions:** `Rcs.RequestOptions`
1421
+
1422
+ </dd>
1423
+ </dl>
1424
+ </dd>
1425
+ </dl>
1426
+
1427
+ </dd>
1428
+ </dl>
1429
+ </details>
1430
+
1202
1431
  ## Webhooks
1203
1432
 
1204
1433
  <details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">get</a>({ ...params }) -> Pinnacle.WebhookResult</code></summary>
@@ -1351,7 +1580,7 @@ await client.campaigns.dlc.autofill({
1351
1580
  <dl>
1352
1581
  <dd>
1353
1582
 
1354
- Retrieve DLC campaign.
1583
+ Retrieve 10DLC campaign.
1355
1584
 
1356
1585
  </dd>
1357
1586
  </dl>
@@ -1383,7 +1612,7 @@ await client.campaigns.dlc.get(28);
1383
1612
  <dl>
1384
1613
  <dd>
1385
1614
 
1386
- **campaignId:** `number` — Unique identifier of the DLC campaign.
1615
+ **campaignId:** `number` — Unique identifier of the 10DLC campaign.
1387
1616
 
1388
1617
  </dd>
1389
1618
  </dl>
@@ -1414,7 +1643,7 @@ await client.campaigns.dlc.get(28);
1414
1643
  <dl>
1415
1644
  <dd>
1416
1645
 
1417
- Submit your DLC campaign for approval and activation with carriers.
1646
+ Submit your 10DLC campaign for approval and activation with carriers.
1418
1647
 
1419
1648
  </dd>
1420
1649
  </dl>
@@ -1446,7 +1675,7 @@ await client.campaigns.dlc.submit(161);
1446
1675
  <dl>
1447
1676
  <dd>
1448
1677
 
1449
- **campaignId:** `number` — Unique identifier of the DLC campaign to submit.
1678
+ **campaignId:** `number` — Unique identifier of the 10DLC campaign to submit.
1450
1679
 
1451
1680
  </dd>
1452
1681
  </dl>
@@ -1477,7 +1706,7 @@ await client.campaigns.dlc.submit(161);
1477
1706
  <dl>
1478
1707
  <dd>
1479
1708
 
1480
- Create a new DLC campaign or updates an existing one. <br>
1709
+ Create a new 10DLC campaign or updates an existing one. <br>
1481
1710
 
1482
1711
  Omit campaignId to create a campaign.
1483
1712
 
@@ -1579,7 +1808,7 @@ await client.campaigns.dlc.upsert({
1579
1808
  <dl>
1580
1809
  <dd>
1581
1810
 
1582
- Validate your DLC campaign configuration against carrier requirements and compliance rules.
1811
+ Validate your 10DLC campaign configuration against carrier requirements and compliance rules.
1583
1812
 
1584
1813
  </dd>
1585
1814
  </dl>
@@ -2686,7 +2915,7 @@ await client.messages.rcs.send({
2686
2915
  <dl>
2687
2916
  <dd>
2688
2917
 
2689
- **request:** `Pinnacle.Rcs`
2918
+ **request:** `Pinnacle.RichMessage`
2690
2919
 
2691
2920
  </dd>
2692
2921
  </dl>
@@ -3211,7 +3440,7 @@ await client.status.get.tollFree(28);
3211
3440
  <dl>
3212
3441
  <dd>
3213
3442
 
3214
- Retrieve a DLC campaign's status.
3443
+ Retrieve a 10DLC campaign's status.
3215
3444
 
3216
3445
  </dd>
3217
3446
  </dl>
@@ -3243,7 +3472,7 @@ await client.status.get.dlc(28);
3243
3472
  <dl>
3244
3473
  <dd>
3245
3474
 
3246
- **campaignId:** `number` — ID of the DLC campaign.
3475
+ **campaignId:** `number` — ID of the 10DLC campaign.
3247
3476
 
3248
3477
  </dd>
3249
3478
  </dl>
@@ -3539,7 +3768,7 @@ See the response of [Create Shortened URL](./create-url) for more information.
3539
3768
  <dl>
3540
3769
  <dd>
3541
3770
 
3542
- Update the destination or configuration of an existing shortened URL.
3771
+ Update the destination or expiration date of an existing shortened URL. Expiring links cannot be updated into a permalink.
3543
3772
 
3544
3773
  </dd>
3545
3774
  </dl>
@@ -3678,6 +3907,80 @@ await client.tools.file.upload({
3678
3907
  </dl>
3679
3908
  </details>
3680
3909
 
3910
+ <details><summary><code>client.tools.file.<a href="/src/api/resources/tools/resources/file/client/Client.ts">refresh</a>({ ...params }) -> Pinnacle.RefreshedFile[]</code></summary>
3911
+ <dl>
3912
+ <dd>
3913
+
3914
+ #### 📝 Description
3915
+
3916
+ <dl>
3917
+ <dd>
3918
+
3919
+ <dl>
3920
+ <dd>
3921
+
3922
+ Refresh expiring presigned URLs for Pinnacle-hosted files to extend their access time.
3923
+
3924
+ <Callout type="info">
3925
+ This only works for presigned download URLs. At this moment, you cannot refresh a presigned upload URL, generate a new one instead.
3926
+ </Callout>
3927
+ </dd>
3928
+ </dl>
3929
+ </dd>
3930
+ </dl>
3931
+
3932
+ #### 🔌 Usage
3933
+
3934
+ <dl>
3935
+ <dd>
3936
+
3937
+ <dl>
3938
+ <dd>
3939
+
3940
+ ```typescript
3941
+ await client.tools.file.refresh({
3942
+ uris: [
3943
+ "https://server.trypinnacle.app/storage/v1/object/sign/vault/3/test.jpg?token=oldtoken",
3944
+ "https://server.trypinnacle.app/storage/v1/object/sign/vault/3/document.pdf?token=oldtoken2",
3945
+ "icons/3/test.jpg",
3946
+ "invalid/url",
3947
+ "https://google.com",
3948
+ ],
3949
+ });
3950
+ ```
3951
+
3952
+ </dd>
3953
+ </dl>
3954
+ </dd>
3955
+ </dl>
3956
+
3957
+ #### ⚙️ Parameters
3958
+
3959
+ <dl>
3960
+ <dd>
3961
+
3962
+ <dl>
3963
+ <dd>
3964
+
3965
+ **request:** `Pinnacle.tools.RefreshFileParams`
3966
+
3967
+ </dd>
3968
+ </dl>
3969
+
3970
+ <dl>
3971
+ <dd>
3972
+
3973
+ **requestOptions:** `File_.RequestOptions`
3974
+
3975
+ </dd>
3976
+ </dl>
3977
+ </dd>
3978
+ </dl>
3979
+
3980
+ </dd>
3981
+ </dl>
3982
+ </details>
3983
+
3681
3984
  ## Tools ContactCard
3682
3985
 
3683
3986
  <details><summary><code>client.tools.contactCard.<a href="/src/api/resources/tools/resources/contactCard/client/Client.ts">get</a>({ ...params }) -> Pinnacle.VCardData</code></summary>
@@ -1,28 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ClickAction {
5
- /** Title of the button or quick reply that was clicked on. */
6
- button: string;
7
- /** Payload received from the button interaction. */
8
- data: ClickAction.Data;
9
- }
10
- export declare namespace ClickAction {
11
- /**
12
- * Payload received from the button interaction.
13
- */
14
- type Data =
15
- /**
16
- * Data that is attached to the button. <br>
17
- *
18
- * This is only returned when `trigger` buttons are pressed. */
19
- {
20
- metadata: string;
21
- payload: string;
22
- }
23
- /**
24
- * Indicates that the button was clicked. <br>
25
- *
26
- * This is returned when `openUrl`, `call`, and `scheduleEvent` buttons are clicked. */
27
- | "clicked";
28
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Pinnacle from "../index.js";
5
- export type InboundButton =
6
- /**
7
- * Data associated with a button that is pressed. Excludes `requestUserLocation` and `sendLocation`. */
8
- Pinnacle.ClickAction
9
- /**
10
- * User provided location. Occurs when recipient responds to a `requestUserLocation` or `sendLocation` button. */
11
- | Pinnacle.LocationShareAction;
@@ -1,28 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ClickAction {
5
- /** Title of the button or quick reply that was clicked on. */
6
- button: string;
7
- /** Payload received from the button interaction. */
8
- data: ClickAction.Data;
9
- }
10
- export declare namespace ClickAction {
11
- /**
12
- * Payload received from the button interaction.
13
- */
14
- type Data =
15
- /**
16
- * Data that is attached to the button. <br>
17
- *
18
- * This is only returned when `trigger` buttons are pressed. */
19
- {
20
- metadata: string;
21
- payload: string;
22
- }
23
- /**
24
- * Indicates that the button was clicked. <br>
25
- *
26
- * This is returned when `openUrl`, `call`, and `scheduleEvent` buttons are clicked. */
27
- | "clicked";
28
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Pinnacle from "../index.mjs";
5
- export type InboundButton =
6
- /**
7
- * Data associated with a button that is pressed. Excludes `requestUserLocation` and `sendLocation`. */
8
- Pinnacle.ClickAction
9
- /**
10
- * User provided location. Occurs when recipient responds to a `requestUserLocation` or `sendLocation` button. */
11
- | Pinnacle.LocationShareAction;