rcs-js 2.0.0-rc.1 → 2.0.0-rc.11
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.
- package/dist/cjs/Client.d.ts +3 -3
- package/dist/cjs/Client.js +11 -11
- package/dist/cjs/api/resources/brands/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/brands/client/Client.js +6 -0
- package/dist/cjs/api/resources/brands/client/requests/UpsertBrandParams.d.ts +1 -1
- package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.js +6 -6
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.js +1 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.ts +5 -2
- package/dist/cjs/api/resources/index.d.ts +2 -1
- package/dist/cjs/api/resources/index.js +3 -2
- package/dist/cjs/api/resources/messages/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/messages/client/Client.js +12 -3
- package/dist/cjs/api/resources/messages/resources/index.d.ts +6 -3
- package/dist/cjs/api/resources/messages/resources/index.js +7 -4
- package/dist/cjs/api/resources/messages/resources/mms/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/messages/resources/mms/client/Client.js +86 -0
- package/dist/cjs/api/resources/messages/resources/mms/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/mms/client/index.js +15 -0
- package/dist/cjs/api/resources/messages/resources/{send → mms}/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/messages/resources/mms/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/mms/index.js +1 -0
- package/dist/cjs/api/resources/messages/resources/{send/types/SendRcsResponse.d.ts → mms/types/MmsSendResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/messages/resources/mms/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/{message → messages/resources/mms/types}/index.js +1 -2
- package/dist/cjs/api/resources/messages/resources/rcs/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/messages/resources/rcs/client/Client.js +88 -0
- package/dist/cjs/api/resources/messages/resources/rcs/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/rcs/index.js +1 -0
- package/dist/cjs/api/resources/messages/resources/{send/types/SendSmsResponse.d.ts → rcs/types/RcsSendResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/messages/resources/rcs/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/rcs/types/index.js +17 -0
- package/dist/cjs/api/resources/{message → messages}/resources/sms/client/Client.d.ts +23 -1
- package/dist/cjs/api/resources/{message → messages}/resources/sms/client/Client.js +82 -1
- package/dist/cjs/api/resources/messages/resources/{send → sms}/client/requests/Sms.d.ts +2 -2
- package/dist/cjs/api/resources/messages/resources/sms/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/{send/types/SendMmsResponse.d.ts → sms/types/SmsSendResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/messages/resources/sms/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/sms/types/index.js +17 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.ts +2 -2
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.js +6 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.js +3 -0
- package/dist/cjs/api/resources/rcs/client/Client.d.ts +121 -0
- package/dist/cjs/api/resources/{messages/resources/send → rcs}/client/Client.js +76 -67
- package/dist/cjs/api/resources/rcs/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/rcs/client/index.js +17 -0
- package/dist/cjs/api/resources/rcs/client/requests/RcsCapabilitiesQuery.d.ts +13 -0
- package/dist/cjs/api/resources/rcs/client/requests/RcsLinkRequest.d.ts +22 -0
- package/dist/cjs/api/resources/rcs/client/requests/RcsWhitelistRequest.d.ts +16 -0
- package/dist/cjs/api/resources/rcs/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/status/resources/get/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/status/resources/get/client/Client.js +2 -2
- package/dist/cjs/api/types/ConversationList.d.ts +4 -4
- package/dist/cjs/api/types/DlcCampaignStatus.d.ts +2 -2
- package/dist/cjs/api/types/ExtendedRcsCampaign.d.ts +4 -2
- package/dist/cjs/api/types/Rcs.d.ts +3 -3
- package/dist/cjs/api/types/RcsCampaign.d.ts +4 -2
- package/dist/cjs/api/types/RcsCapabilitiesResult.d.ts +8 -0
- package/dist/cjs/api/types/RcsCapability.d.ts +36 -0
- package/dist/cjs/api/types/RcsCards.d.ts +2 -2
- package/dist/cjs/api/types/RcsCardsContent.d.ts +2 -2
- package/dist/cjs/api/types/RcsLinkResult.d.ts +13 -0
- package/dist/cjs/api/types/RcsLinkResult.js +5 -0
- package/dist/cjs/api/types/RcsMediaContent.d.ts +1 -1
- package/dist/cjs/api/types/RcsTextContent.d.ts +1 -1
- package/dist/cjs/api/types/RcsValidateContent.d.ts +1 -0
- package/dist/cjs/api/types/RcsWhitelistResponse.d.ts +10 -0
- package/dist/cjs/api/types/RcsWhitelistResponse.js +5 -0
- package/dist/cjs/api/types/{RcsButtonContent.d.ts → RichButton.d.ts} +2 -2
- package/dist/cjs/api/types/RichButton.js +5 -0
- package/dist/cjs/api/types/{RcsCard.d.ts → RichCardsMessage.d.ts} +1 -1
- package/dist/cjs/api/types/RichCardsMessage.js +5 -0
- package/dist/cjs/api/types/{RcsMedia.d.ts → RichMediaMessage.d.ts} +2 -2
- package/dist/cjs/api/types/RichMediaMessage.js +5 -0
- package/dist/cjs/api/types/{RcsText.d.ts → RichTextMessage.d.ts} +1 -1
- package/dist/cjs/api/types/RichTextMessage.js +5 -0
- package/dist/{esm/api/types/NullableContact.d.mts → cjs/api/types/UpsertContact.d.ts} +1 -1
- package/dist/cjs/api/types/UpsertContact.js +5 -0
- package/dist/cjs/api/types/index.d.ts +9 -5
- package/dist/cjs/api/types/index.js +9 -5
- package/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -3
- package/dist/esm/Client.mjs +7 -7
- package/dist/esm/api/resources/brands/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/brands/client/Client.mjs +6 -0
- package/dist/esm/api/resources/brands/client/requests/UpsertBrandParams.d.mts +1 -1
- package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.mjs +6 -6
- package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.mjs +1 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.mts +5 -2
- package/dist/esm/api/resources/index.d.mts +2 -1
- package/dist/esm/api/resources/index.mjs +2 -1
- package/dist/esm/api/resources/messages/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/messages/client/Client.mjs +12 -3
- package/dist/esm/api/resources/messages/resources/index.d.mts +6 -3
- package/dist/esm/api/resources/messages/resources/index.mjs +6 -3
- package/dist/esm/api/resources/messages/resources/mms/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/messages/resources/mms/client/Client.mjs +86 -0
- package/dist/esm/api/resources/messages/resources/mms/client/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/mms/client/index.mjs +1 -1
- package/dist/esm/api/resources/messages/resources/{send → mms}/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/messages/resources/mms/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/mms/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/{send/types/SendRcsResponse.d.mts → mms/types/MmsSendResponse.d.mts} +1 -1
- package/dist/esm/api/resources/messages/resources/mms/types/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/mms/types/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/messages/resources/rcs/client/Client.mjs +88 -0
- package/dist/esm/api/resources/messages/resources/rcs/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/{send/types/SendSmsResponse.d.mts → rcs/types/RcsSendResponse.d.mts} +1 -1
- package/dist/esm/api/resources/messages/resources/rcs/types/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/types/index.mjs +1 -0
- package/dist/esm/api/resources/{message → messages}/resources/sms/client/Client.d.mts +23 -1
- package/dist/esm/api/resources/{message → messages}/resources/sms/client/Client.mjs +82 -1
- package/dist/esm/api/resources/messages/resources/{send → sms}/client/requests/Sms.d.mts +2 -2
- package/dist/esm/api/resources/messages/resources/sms/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/{send/types/SendMmsResponse.d.mts → sms/types/SmsSendResponse.d.mts} +1 -1
- package/dist/esm/api/resources/messages/resources/sms/types/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/sms/types/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.mts +2 -2
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.mjs +6 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.mjs +3 -0
- package/dist/esm/api/resources/rcs/client/Client.d.mts +121 -0
- package/dist/esm/api/resources/{messages/resources/send → rcs}/client/Client.mjs +74 -65
- package/dist/esm/api/resources/rcs/client/index.d.mts +2 -0
- package/dist/esm/api/resources/rcs/client/index.mjs +1 -0
- package/dist/esm/api/resources/rcs/client/requests/RcsCapabilitiesQuery.d.mts +13 -0
- package/dist/esm/api/resources/rcs/client/requests/RcsLinkRequest.d.mts +22 -0
- package/dist/esm/api/resources/rcs/client/requests/RcsWhitelistRequest.d.mts +16 -0
- package/dist/esm/api/resources/rcs/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/status/resources/get/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/status/resources/get/client/Client.mjs +2 -2
- package/dist/esm/api/types/ConversationList.d.mts +4 -4
- package/dist/esm/api/types/DlcCampaignStatus.d.mts +2 -2
- package/dist/esm/api/types/ExtendedRcsCampaign.d.mts +4 -2
- package/dist/esm/api/types/Rcs.d.mts +3 -3
- package/dist/esm/api/types/RcsCampaign.d.mts +4 -2
- package/dist/esm/api/types/RcsCapabilitiesResult.d.mts +8 -0
- package/dist/esm/api/types/RcsCapability.d.mts +36 -0
- package/dist/esm/api/types/RcsCards.d.mts +2 -2
- package/dist/esm/api/types/RcsCardsContent.d.mts +2 -2
- package/dist/esm/api/types/RcsLinkResult.d.mts +13 -0
- package/dist/esm/api/types/RcsLinkResult.mjs +4 -0
- package/dist/esm/api/types/RcsMediaContent.d.mts +1 -1
- package/dist/esm/api/types/RcsTextContent.d.mts +1 -1
- package/dist/esm/api/types/RcsValidateContent.d.mts +1 -0
- package/dist/esm/api/types/RcsWhitelistResponse.d.mts +10 -0
- package/dist/esm/api/types/RcsWhitelistResponse.mjs +4 -0
- package/dist/esm/api/types/{RcsButtonContent.d.mts → RichButton.d.mts} +2 -2
- package/dist/esm/api/types/RichButton.mjs +4 -0
- package/dist/esm/api/types/{RcsCard.d.mts → RichCardsMessage.d.mts} +1 -1
- package/dist/esm/api/types/RichCardsMessage.mjs +4 -0
- package/dist/esm/api/types/{RcsMedia.d.mts → RichMediaMessage.d.mts} +2 -2
- package/dist/esm/api/types/RichMediaMessage.mjs +4 -0
- package/dist/esm/api/types/{RcsText.d.mts → RichTextMessage.d.mts} +1 -1
- package/dist/esm/api/types/RichTextMessage.mjs +4 -0
- package/dist/{cjs/api/types/NullableContact.d.ts → esm/api/types/UpsertContact.d.mts} +1 -1
- package/dist/esm/api/types/UpsertContact.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +9 -5
- package/dist/esm/api/types/index.mjs +9 -5
- package/dist/esm/index.d.mts +4 -4
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +284 -56
- package/dist/cjs/api/resources/message/client/Client.d.ts +0 -22
- package/dist/cjs/api/resources/message/client/Client.js +0 -17
- package/dist/cjs/api/resources/message/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/message/index.d.ts +0 -2
- package/dist/cjs/api/resources/message/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/message/resources/index.js +0 -37
- package/dist/cjs/api/resources/message/resources/sms/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/messages/resources/send/client/Client.d.ts +0 -110
- package/dist/cjs/api/resources/messages/resources/send/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/messages/resources/send/types/index.js +0 -19
- package/dist/esm/api/resources/message/client/Client.d.mts +0 -22
- package/dist/esm/api/resources/message/client/Client.mjs +0 -13
- package/dist/esm/api/resources/message/client/index.d.mts +0 -1
- package/dist/esm/api/resources/message/index.d.mts +0 -2
- package/dist/esm/api/resources/message/index.mjs +0 -2
- package/dist/esm/api/resources/message/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/message/resources/index.mjs +0 -1
- package/dist/esm/api/resources/message/resources/sms/client/index.d.mts +0 -1
- package/dist/esm/api/resources/messages/resources/send/client/Client.d.mts +0 -110
- package/dist/esm/api/resources/messages/resources/send/types/index.d.mts +0 -3
- package/dist/esm/api/resources/messages/resources/send/types/index.mjs +0 -3
- /package/dist/cjs/api/resources/messages/resources/{send → mms}/client/requests/Mms.d.ts +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send → mms}/client/requests/Mms.js +0 -0
- /package/dist/cjs/api/resources/{message/client → messages/resources/mms/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send/client/requests/Sms.js → mms/types/MmsSendResponse.js} +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send/types/SendMmsResponse.js → rcs/types/RcsSendResponse.js} +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send → sms}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send → sms}/client/index.js +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send/types/SendRcsResponse.js → sms/client/requests/Sms.js} +0 -0
- /package/dist/cjs/api/resources/{message/resources/sms/client → messages/resources/sms/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send → sms}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send → sms}/index.js +0 -0
- /package/dist/cjs/api/resources/messages/resources/{send/types/SendSmsResponse.js → sms/types/SmsSendResponse.js} +0 -0
- /package/dist/cjs/api/{types/NullableContact.js → resources/rcs/client/requests/RcsCapabilitiesQuery.js} +0 -0
- /package/dist/cjs/api/{types/RcsButtonContent.js → resources/rcs/client/requests/RcsLinkRequest.js} +0 -0
- /package/dist/cjs/api/{types/RcsCard.js → resources/rcs/client/requests/RcsWhitelistRequest.js} +0 -0
- /package/dist/cjs/api/resources/{messages/resources/send → rcs}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{message/resources/sms → rcs}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{message/resources/sms → rcs}/index.js +0 -0
- /package/dist/cjs/api/types/{RcsMedia.js → RcsCapabilitiesResult.js} +0 -0
- /package/dist/cjs/api/types/{RcsText.js → RcsCapability.js} +0 -0
- /package/dist/esm/api/resources/messages/resources/{send → mms}/client/requests/Mms.d.mts +0 -0
- /package/dist/esm/api/resources/messages/resources/{send → mms}/client/requests/Mms.mjs +0 -0
- /package/dist/esm/api/resources/{message/client → messages/resources/mms/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/messages/resources/{send/client/requests/Sms.mjs → mms/types/MmsSendResponse.mjs} +0 -0
- /package/dist/esm/api/resources/messages/resources/{send/types/SendMmsResponse.mjs → rcs/types/RcsSendResponse.mjs} +0 -0
- /package/dist/esm/api/resources/messages/resources/{send → sms}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/messages/resources/{send → sms}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/messages/resources/{send/types/SendRcsResponse.mjs → sms/client/requests/Sms.mjs} +0 -0
- /package/dist/esm/api/resources/{message/resources/sms/client → messages/resources/sms/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/messages/resources/{send → sms}/index.d.mts +0 -0
- /package/dist/esm/api/resources/messages/resources/{send → sms}/index.mjs +0 -0
- /package/dist/esm/api/resources/messages/resources/{send/types/SendSmsResponse.mjs → sms/types/SmsSendResponse.mjs} +0 -0
- /package/dist/esm/api/{types/NullableContact.mjs → resources/rcs/client/requests/RcsCapabilitiesQuery.mjs} +0 -0
- /package/dist/esm/api/{types/RcsButtonContent.mjs → resources/rcs/client/requests/RcsLinkRequest.mjs} +0 -0
- /package/dist/esm/api/{types/RcsCard.mjs → resources/rcs/client/requests/RcsWhitelistRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{messages/resources/send → rcs}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{message/resources/sms → rcs}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{message/resources/sms → rcs}/index.mjs +0 -0
- /package/dist/esm/api/types/{RcsMedia.mjs → RcsCapabilitiesResult.mjs} +0 -0
- /package/dist/esm/api/types/{RcsText.mjs → RcsCapability.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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1811
|
+
Validate your 10DLC campaign configuration against carrier requirements and compliance rules.
|
|
1583
1812
|
|
|
1584
1813
|
</dd>
|
|
1585
1814
|
</dl>
|
|
@@ -2224,6 +2453,7 @@ await client.campaigns.rcs.upsert({
|
|
|
2224
2453
|
},
|
|
2225
2454
|
],
|
|
2226
2455
|
},
|
|
2456
|
+
brandVerificationUrl: "https://www.pinnacle.sh/articles-of-incorporation.pdf",
|
|
2227
2457
|
brand: 2,
|
|
2228
2458
|
expectedAgentResponses: [
|
|
2229
2459
|
"Here are the things I can help you with.",
|
|
@@ -2348,9 +2578,9 @@ await client.campaigns.rcs.validate({
|
|
|
2348
2578
|
</dl>
|
|
2349
2579
|
</details>
|
|
2350
2580
|
|
|
2351
|
-
##
|
|
2581
|
+
## Messages Sms
|
|
2352
2582
|
|
|
2353
|
-
<details><summary><code>client.
|
|
2583
|
+
<details><summary><code>client.messages.sms.<a href="/src/api/resources/messages/resources/sms/client/Client.ts">send</a>({ ...params }) -> Pinnacle.SmsSendResponse</code></summary>
|
|
2354
2584
|
<dl>
|
|
2355
2585
|
<dd>
|
|
2356
2586
|
|
|
@@ -2362,7 +2592,7 @@ await client.campaigns.rcs.validate({
|
|
|
2362
2592
|
<dl>
|
|
2363
2593
|
<dd>
|
|
2364
2594
|
|
|
2365
|
-
|
|
2595
|
+
Send a SMS message immediately or schedule it for future delivery.
|
|
2366
2596
|
|
|
2367
2597
|
</dd>
|
|
2368
2598
|
</dl>
|
|
@@ -2378,8 +2608,10 @@ Validate SMS message content without sending it.
|
|
|
2378
2608
|
<dd>
|
|
2379
2609
|
|
|
2380
2610
|
```typescript
|
|
2381
|
-
await client.
|
|
2382
|
-
|
|
2611
|
+
await client.messages.sms.send({
|
|
2612
|
+
from: "+14155164736",
|
|
2613
|
+
text: "Hey!",
|
|
2614
|
+
to: "+14154746461",
|
|
2383
2615
|
});
|
|
2384
2616
|
```
|
|
2385
2617
|
|
|
@@ -2396,7 +2628,7 @@ await client.message.sms.validate({
|
|
|
2396
2628
|
<dl>
|
|
2397
2629
|
<dd>
|
|
2398
2630
|
|
|
2399
|
-
**request:** `Pinnacle.
|
|
2631
|
+
**request:** `Pinnacle.messages.Sms`
|
|
2400
2632
|
|
|
2401
2633
|
</dd>
|
|
2402
2634
|
</dl>
|
|
@@ -2415,9 +2647,7 @@ await client.message.sms.validate({
|
|
|
2415
2647
|
</dl>
|
|
2416
2648
|
</details>
|
|
2417
2649
|
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
<details><summary><code>client.messages.send.<a href="/src/api/resources/messages/resources/send/client/Client.ts">sms</a>({ ...params }) -> Pinnacle.SendSmsResponse</code></summary>
|
|
2650
|
+
<details><summary><code>client.messages.sms.<a href="/src/api/resources/messages/resources/sms/client/Client.ts">validate</a>({ ...params }) -> Pinnacle.SmsValidationResult</code></summary>
|
|
2421
2651
|
<dl>
|
|
2422
2652
|
<dd>
|
|
2423
2653
|
|
|
@@ -2429,7 +2659,7 @@ await client.message.sms.validate({
|
|
|
2429
2659
|
<dl>
|
|
2430
2660
|
<dd>
|
|
2431
2661
|
|
|
2432
|
-
|
|
2662
|
+
Validate SMS message content without sending it.
|
|
2433
2663
|
|
|
2434
2664
|
</dd>
|
|
2435
2665
|
</dl>
|
|
@@ -2445,10 +2675,8 @@ Send a SMS message immediately or schedule it for future delivery.
|
|
|
2445
2675
|
<dd>
|
|
2446
2676
|
|
|
2447
2677
|
```typescript
|
|
2448
|
-
await client.messages.
|
|
2449
|
-
|
|
2450
|
-
text: "Hey! \uD83D\uDE02",
|
|
2451
|
-
to: "+14154746461",
|
|
2678
|
+
await client.messages.sms.validate({
|
|
2679
|
+
text: "Hello from Pinnacle",
|
|
2452
2680
|
});
|
|
2453
2681
|
```
|
|
2454
2682
|
|
|
@@ -2465,7 +2693,7 @@ await client.messages.send.sms({
|
|
|
2465
2693
|
<dl>
|
|
2466
2694
|
<dd>
|
|
2467
2695
|
|
|
2468
|
-
**request:** `Pinnacle.
|
|
2696
|
+
**request:** `Pinnacle.SmsContent`
|
|
2469
2697
|
|
|
2470
2698
|
</dd>
|
|
2471
2699
|
</dl>
|
|
@@ -2473,7 +2701,7 @@ await client.messages.send.sms({
|
|
|
2473
2701
|
<dl>
|
|
2474
2702
|
<dd>
|
|
2475
2703
|
|
|
2476
|
-
**requestOptions:** `
|
|
2704
|
+
**requestOptions:** `Sms.RequestOptions`
|
|
2477
2705
|
|
|
2478
2706
|
</dd>
|
|
2479
2707
|
</dl>
|
|
@@ -2484,7 +2712,9 @@ await client.messages.send.sms({
|
|
|
2484
2712
|
</dl>
|
|
2485
2713
|
</details>
|
|
2486
2714
|
|
|
2487
|
-
|
|
2715
|
+
## Messages Mms
|
|
2716
|
+
|
|
2717
|
+
<details><summary><code>client.messages.mms.<a href="/src/api/resources/messages/resources/mms/client/Client.ts">send</a>({ ...params }) -> Pinnacle.MmsSendResponse</code></summary>
|
|
2488
2718
|
<dl>
|
|
2489
2719
|
<dd>
|
|
2490
2720
|
|
|
@@ -2512,7 +2742,7 @@ Send a MMS immediately or schedule it for future delivery.
|
|
|
2512
2742
|
<dd>
|
|
2513
2743
|
|
|
2514
2744
|
```typescript
|
|
2515
|
-
await client.messages.send
|
|
2745
|
+
await client.messages.mms.send({
|
|
2516
2746
|
from: "+14155164736",
|
|
2517
2747
|
mediaUrls: ["https://fastly.picsum.photos/id/941/300/300.jpg?hmac=mDxM9PWSqRDjecwSCEpzU4bj35gqnG7yA25OL29uNv0"],
|
|
2518
2748
|
options: {
|
|
@@ -2545,7 +2775,7 @@ await client.messages.send.mms({
|
|
|
2545
2775
|
<dl>
|
|
2546
2776
|
<dd>
|
|
2547
2777
|
|
|
2548
|
-
**requestOptions:** `
|
|
2778
|
+
**requestOptions:** `Mms.RequestOptions`
|
|
2549
2779
|
|
|
2550
2780
|
</dd>
|
|
2551
2781
|
</dl>
|
|
@@ -2556,7 +2786,7 @@ await client.messages.send.mms({
|
|
|
2556
2786
|
</dl>
|
|
2557
2787
|
</details>
|
|
2558
2788
|
|
|
2559
|
-
<details><summary><code>client.messages.
|
|
2789
|
+
<details><summary><code>client.messages.mms.<a href="/src/api/resources/messages/resources/mms/client/Client.ts">validate</a>({ ...params }) -> Pinnacle.MmsValidationResult</code></summary>
|
|
2560
2790
|
<dl>
|
|
2561
2791
|
<dd>
|
|
2562
2792
|
|
|
@@ -2568,9 +2798,7 @@ await client.messages.send.mms({
|
|
|
2568
2798
|
<dl>
|
|
2569
2799
|
<dd>
|
|
2570
2800
|
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
Requires an active RCS agent and recipient devices that support RCS Business Messaging.
|
|
2801
|
+
Validate MMS message content without sending it.
|
|
2574
2802
|
|
|
2575
2803
|
</dd>
|
|
2576
2804
|
</dl>
|
|
@@ -2586,17 +2814,13 @@ Requires an active RCS agent and recipient devices that support RCS Business Mes
|
|
|
2586
2814
|
<dd>
|
|
2587
2815
|
|
|
2588
2816
|
```typescript
|
|
2589
|
-
await client.messages.
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
title: "title",
|
|
2595
|
-
},
|
|
2817
|
+
await client.messages.mms.validate({
|
|
2818
|
+
mediaUrls: [
|
|
2819
|
+
"https://upload.wikimedia.org/wikipedia/commons/b/b9/Pizigani_1367_Chart_1MB.jpg",
|
|
2820
|
+
"https://fastly.picsum.photos/id/528/1000/1000.jpg?hmac=aTG0xNif9KbNryFN0ZNZ_nFK6aEpZxqUGCZF1KjOT8w",
|
|
2821
|
+
"https://file-examples.com/storage/fefdd7ab126835e7993bb1a/2017/10/file_example_JPG_500kB.jpg",
|
|
2596
2822
|
],
|
|
2597
|
-
text: "
|
|
2598
|
-
from: "from",
|
|
2599
|
-
to: "to",
|
|
2823
|
+
text: "Check out these images!",
|
|
2600
2824
|
});
|
|
2601
2825
|
```
|
|
2602
2826
|
|
|
@@ -2613,7 +2837,7 @@ await client.messages.send.rcs({
|
|
|
2613
2837
|
<dl>
|
|
2614
2838
|
<dd>
|
|
2615
2839
|
|
|
2616
|
-
**request:** `Pinnacle.
|
|
2840
|
+
**request:** `Pinnacle.MmsContent`
|
|
2617
2841
|
|
|
2618
2842
|
</dd>
|
|
2619
2843
|
</dl>
|
|
@@ -2621,7 +2845,7 @@ await client.messages.send.rcs({
|
|
|
2621
2845
|
<dl>
|
|
2622
2846
|
<dd>
|
|
2623
2847
|
|
|
2624
|
-
**requestOptions:** `
|
|
2848
|
+
**requestOptions:** `Mms.RequestOptions`
|
|
2625
2849
|
|
|
2626
2850
|
</dd>
|
|
2627
2851
|
</dl>
|
|
@@ -2632,9 +2856,9 @@ await client.messages.send.rcs({
|
|
|
2632
2856
|
</dl>
|
|
2633
2857
|
</details>
|
|
2634
2858
|
|
|
2635
|
-
## Messages
|
|
2859
|
+
## Messages Rcs
|
|
2636
2860
|
|
|
2637
|
-
<details><summary><code>client.messages.
|
|
2861
|
+
<details><summary><code>client.messages.rcs.<a href="/src/api/resources/messages/resources/rcs/client/Client.ts">send</a>({ ...params }) -> Pinnacle.RcsSendResponse</code></summary>
|
|
2638
2862
|
<dl>
|
|
2639
2863
|
<dd>
|
|
2640
2864
|
|
|
@@ -2646,7 +2870,9 @@ await client.messages.send.rcs({
|
|
|
2646
2870
|
<dl>
|
|
2647
2871
|
<dd>
|
|
2648
2872
|
|
|
2649
|
-
|
|
2873
|
+
Send a RCS message immediately or schedule it for future delivery. <br>
|
|
2874
|
+
|
|
2875
|
+
Requires an active RCS agent and recipient devices that support RCS Business Messaging.
|
|
2650
2876
|
|
|
2651
2877
|
</dd>
|
|
2652
2878
|
</dl>
|
|
@@ -2662,13 +2888,17 @@ Validate MMS message content without sending it.
|
|
|
2662
2888
|
<dd>
|
|
2663
2889
|
|
|
2664
2890
|
```typescript
|
|
2665
|
-
await client.messages.
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2891
|
+
await client.messages.rcs.send({
|
|
2892
|
+
quickReplies: [
|
|
2893
|
+
{
|
|
2894
|
+
type: "openUrl",
|
|
2895
|
+
payload: "payload",
|
|
2896
|
+
title: "title",
|
|
2897
|
+
},
|
|
2670
2898
|
],
|
|
2671
|
-
text: "
|
|
2899
|
+
text: "text",
|
|
2900
|
+
from: "from",
|
|
2901
|
+
to: "to",
|
|
2672
2902
|
});
|
|
2673
2903
|
```
|
|
2674
2904
|
|
|
@@ -2685,7 +2915,7 @@ await client.messages.mms.validate({
|
|
|
2685
2915
|
<dl>
|
|
2686
2916
|
<dd>
|
|
2687
2917
|
|
|
2688
|
-
**request:** `Pinnacle.
|
|
2918
|
+
**request:** `Pinnacle.Rcs`
|
|
2689
2919
|
|
|
2690
2920
|
</dd>
|
|
2691
2921
|
</dl>
|
|
@@ -2693,7 +2923,7 @@ await client.messages.mms.validate({
|
|
|
2693
2923
|
<dl>
|
|
2694
2924
|
<dd>
|
|
2695
2925
|
|
|
2696
|
-
**requestOptions:** `
|
|
2926
|
+
**requestOptions:** `Rcs.RequestOptions`
|
|
2697
2927
|
|
|
2698
2928
|
</dd>
|
|
2699
2929
|
</dl>
|
|
@@ -2704,8 +2934,6 @@ await client.messages.mms.validate({
|
|
|
2704
2934
|
</dl>
|
|
2705
2935
|
</details>
|
|
2706
2936
|
|
|
2707
|
-
## Messages Rcs
|
|
2708
|
-
|
|
2709
2937
|
<details><summary><code>client.messages.rcs.<a href="/src/api/resources/messages/resources/rcs/client/Client.ts">validate</a>({ ...params }) -> Pinnacle.RcsValidationResult</code></summary>
|
|
2710
2938
|
<dl>
|
|
2711
2939
|
<dd>
|
|
@@ -3212,7 +3440,7 @@ await client.status.get.tollFree(28);
|
|
|
3212
3440
|
<dl>
|
|
3213
3441
|
<dd>
|
|
3214
3442
|
|
|
3215
|
-
Retrieve a
|
|
3443
|
+
Retrieve a 10DLC campaign's status.
|
|
3216
3444
|
|
|
3217
3445
|
</dd>
|
|
3218
3446
|
</dl>
|
|
@@ -3244,7 +3472,7 @@ await client.status.get.dlc(28);
|
|
|
3244
3472
|
<dl>
|
|
3245
3473
|
<dd>
|
|
3246
3474
|
|
|
3247
|
-
**campaignId:** `number` — ID of the
|
|
3475
|
+
**campaignId:** `number` — ID of the 10DLC campaign.
|
|
3248
3476
|
|
|
3249
3477
|
</dd>
|
|
3250
3478
|
</dl>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments.js";
|
|
5
|
-
import * as core from "../../../../core/index.js";
|
|
6
|
-
import { Sms } from "../resources/sms/client/Client.js";
|
|
7
|
-
export declare namespace Message {
|
|
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>;
|
|
13
|
-
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
export declare class Message {
|
|
18
|
-
protected readonly _options: Message.Options;
|
|
19
|
-
protected _sms: Sms | undefined;
|
|
20
|
-
constructor(_options: Message.Options);
|
|
21
|
-
get sms(): Sms;
|
|
22
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Message = void 0;
|
|
7
|
-
const Client_js_1 = require("../resources/sms/client/Client.js");
|
|
8
|
-
class Message {
|
|
9
|
-
constructor(_options) {
|
|
10
|
-
this._options = _options;
|
|
11
|
-
}
|
|
12
|
-
get sms() {
|
|
13
|
-
var _a;
|
|
14
|
-
return ((_a = this._sms) !== null && _a !== void 0 ? _a : (this._sms = new Client_js_1.Sms(this._options)));
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.Message = Message;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as sms from "./sms/index.js";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.sms = void 0;
|
|
37
|
-
exports.sms = __importStar(require("./sms/index.js"));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|