rcs-js 1.0.7 → 1.0.9
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/Client.d.ts +7 -57
- package/Client.js +18 -221
- package/README.md +30 -7
- package/api/client/requests/GetRcsFunctionalityRequest.d.ts +13 -0
- package/api/client/requests/index.d.ts +1 -2
- package/api/errors/ForbiddenError.d.ts +7 -0
- package/api/errors/{NotFoundError.js → ForbiddenError.js} +6 -6
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/index.d.ts +1 -0
- package/api/index.js +1 -0
- package/api/resources/index.d.ts +3 -0
- package/{dist/serialization/types/Call.js → api/resources/index.js} +7 -10
- package/api/resources/send/client/Client.d.ts +86 -0
- package/api/resources/send/client/Client.js +277 -0
- package/api/resources/send/client/index.d.ts +1 -0
- package/api/resources/send/client/index.js +17 -0
- package/api/resources/send/client/requests/Rcs.d.ts +43 -0
- package/api/resources/send/client/requests/SendMmsRequest.d.ts +22 -0
- package/api/resources/send/client/requests/SendSmsRequest.d.ts +19 -0
- package/api/resources/send/client/requests/index.d.ts +3 -0
- package/api/resources/send/client/requests/index.js +2 -0
- package/api/resources/send/index.d.ts +2 -0
- package/api/resources/send/index.js +18 -0
- package/api/resources/send/types/SendMmsResponse.d.ts +9 -0
- package/api/resources/send/types/SendRcsResponse.d.ts +9 -0
- package/api/resources/send/types/SendSmsResponse.d.ts +9 -0
- package/api/resources/send/types/index.d.ts +3 -0
- package/api/resources/send/types/index.js +19 -0
- package/api/types/Action.d.ts +20 -1
- package/api/types/ActionLatLong.d.ts +12 -0
- package/api/types/ActionType.d.ts +15 -0
- package/api/types/ActionType.js +14 -0
- package/api/types/BadRequestErrorBody.d.ts +1 -3
- package/api/types/Card.d.ts +5 -7
- package/api/types/{NotFoundErrorBody.d.ts → ForbiddenErrorBody.d.ts} +2 -2
- package/api/types/InternalServerErrorBody.d.ts +1 -2
- package/api/types/RcsFunctionalities.d.ts +21 -0
- package/api/types/RegisterCompanyResponse.d.ts +1 -2
- package/api/types/RegisterCompanyResponseBrand.d.ts +2 -2
- package/api/types/UnauthorizedErrorBody.d.ts +1 -1
- package/api/types/UpdateCompanyResponse.d.ts +1 -2
- package/api/types/UpdateCompanyResponseBrand.d.ts +2 -2
- package/api/types/index.d.ts +6 -33
- package/api/types/index.js +6 -33
- package/dist/Client.d.ts +7 -57
- package/dist/Client.js +18 -221
- package/dist/api/client/requests/GetRcsFunctionalityRequest.d.ts +13 -0
- package/dist/api/client/requests/index.d.ts +1 -2
- package/dist/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/api/errors/{NotFoundError.js → ForbiddenError.js} +6 -6
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/{serialization/types/CardStyleImageAlignment.js → api/resources/index.js} +7 -6
- package/dist/api/resources/send/client/Client.d.ts +86 -0
- package/dist/api/resources/send/client/Client.js +277 -0
- package/dist/api/resources/send/client/index.d.ts +1 -0
- package/dist/api/resources/send/client/index.js +17 -0
- package/dist/api/resources/send/client/requests/Rcs.d.ts +43 -0
- package/dist/api/resources/send/client/requests/SendMmsRequest.d.ts +22 -0
- package/dist/api/resources/send/client/requests/SendSmsRequest.d.ts +19 -0
- package/dist/api/resources/send/client/requests/index.d.ts +3 -0
- package/dist/api/resources/send/client/requests/index.js +2 -0
- package/dist/api/resources/send/index.d.ts +2 -0
- package/dist/api/resources/send/index.js +18 -0
- package/dist/api/resources/send/types/SendMmsResponse.d.ts +9 -0
- package/dist/api/resources/send/types/SendRcsResponse.d.ts +9 -0
- package/dist/api/resources/send/types/SendSmsResponse.d.ts +9 -0
- package/dist/api/resources/send/types/index.d.ts +3 -0
- package/dist/api/resources/send/types/index.js +19 -0
- package/dist/api/types/Action.d.ts +20 -1
- package/dist/api/types/ActionLatLong.d.ts +12 -0
- package/dist/api/types/ActionType.d.ts +15 -0
- package/dist/api/types/ActionType.js +14 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +1 -3
- package/dist/api/types/Card.d.ts +5 -7
- package/dist/api/types/{NotFoundErrorBody.d.ts → ForbiddenErrorBody.d.ts} +2 -2
- package/dist/api/types/InternalServerErrorBody.d.ts +1 -2
- package/dist/api/types/RcsFunctionalities.d.ts +21 -0
- package/dist/api/types/RegisterCompanyResponse.d.ts +1 -2
- package/dist/api/types/RegisterCompanyResponseBrand.d.ts +2 -2
- package/dist/api/types/UnauthorizedErrorBody.d.ts +1 -1
- package/dist/api/types/UpdateCompanyResponse.d.ts +1 -2
- package/dist/api/types/UpdateCompanyResponseBrand.d.ts +2 -2
- package/dist/api/types/index.d.ts +6 -33
- package/dist/api/types/index.js +6 -33
- package/dist/serialization/client/requests/index.d.ts +0 -1
- package/dist/serialization/client/requests/index.js +1 -3
- package/dist/serialization/index.d.ts +1 -0
- package/dist/serialization/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +32 -0
- package/dist/serialization/resources/send/client/index.d.ts +1 -0
- package/dist/serialization/resources/send/client/index.js +17 -0
- package/dist/serialization/resources/send/client/requests/Rcs.d.ts +19 -0
- package/dist/serialization/{types/SmsMessage.js → resources/send/client/requests/Rcs.js} +10 -4
- package/dist/serialization/resources/send/client/requests/SendMmsRequest.d.ts +15 -0
- package/dist/serialization/{types/CheckRcsCapabilityResponse.js → resources/send/client/requests/SendMmsRequest.js} +7 -5
- package/dist/serialization/resources/send/client/requests/SendSmsRequest.d.ts +14 -0
- package/{serialization/types/BasicRcsMessage.js → dist/serialization/resources/send/client/requests/SendSmsRequest.js} +5 -3
- package/dist/serialization/resources/send/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/send/client/requests/index.js +9 -0
- package/dist/serialization/resources/send/index.d.ts +2 -0
- package/dist/serialization/resources/send/index.js +18 -0
- package/dist/serialization/resources/send/types/SendMmsResponse.d.ts +13 -0
- package/dist/serialization/resources/send/types/SendMmsResponse.js +34 -0
- package/dist/serialization/resources/send/types/SendRcsResponse.d.ts +13 -0
- package/dist/serialization/resources/send/types/SendRcsResponse.js +34 -0
- package/dist/serialization/resources/send/types/SendSmsResponse.d.ts +13 -0
- package/dist/serialization/resources/send/types/SendSmsResponse.js +34 -0
- package/dist/serialization/resources/send/types/index.d.ts +3 -0
- package/dist/serialization/resources/send/types/index.js +19 -0
- package/dist/serialization/types/Action.d.ts +14 -7
- package/dist/serialization/types/Action.js +13 -6
- package/dist/serialization/types/{LatLng.d.ts → ActionLatLong.d.ts} +4 -4
- package/dist/serialization/types/{NotFoundErrorBody.js → ActionLatLong.js} +4 -3
- package/dist/serialization/types/ActionType.d.ts +10 -0
- package/dist/serialization/types/{BasicRcsMessage.js → ActionType.js} +2 -4
- package/dist/serialization/types/BadRequestErrorBody.d.ts +1 -3
- package/dist/serialization/types/BadRequestErrorBody.js +1 -3
- package/dist/serialization/types/Card.d.ts +1 -3
- package/dist/serialization/types/Card.js +1 -3
- package/dist/serialization/types/{Call.d.ts → ForbiddenErrorBody.d.ts} +3 -5
- package/dist/serialization/types/{GetAccountNumberResponse.js → ForbiddenErrorBody.js} +3 -3
- package/dist/serialization/types/InternalServerErrorBody.d.ts +1 -2
- package/dist/serialization/types/InternalServerErrorBody.js +1 -2
- package/dist/serialization/types/RcsFunctionalities.d.ts +19 -0
- package/dist/serialization/types/{BasicRcs.js → RcsFunctionalities.js} +10 -9
- package/dist/serialization/types/RegisterCompanyResponse.d.ts +1 -2
- package/dist/serialization/types/RegisterCompanyResponse.js +1 -2
- package/dist/serialization/types/RegisterCompanyResponseBrand.d.ts +2 -2
- package/dist/serialization/types/RegisterCompanyResponseBrand.js +2 -2
- package/dist/serialization/types/UnauthorizedErrorBody.d.ts +1 -1
- package/dist/serialization/types/UnauthorizedErrorBody.js +1 -1
- package/dist/serialization/types/UpdateCompanyResponse.d.ts +1 -2
- package/dist/serialization/types/UpdateCompanyResponse.js +1 -2
- package/dist/serialization/types/UpdateCompanyResponseBrand.d.ts +2 -2
- package/dist/serialization/types/UpdateCompanyResponseBrand.js +2 -2
- package/dist/serialization/types/index.d.ts +6 -33
- package/dist/serialization/types/index.js +6 -33
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +205 -0
- package/serialization/client/requests/index.d.ts +0 -1
- package/serialization/client/requests/index.js +1 -3
- package/serialization/index.d.ts +1 -0
- package/serialization/index.js +1 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +32 -0
- package/serialization/resources/send/client/index.d.ts +1 -0
- package/serialization/resources/send/client/index.js +17 -0
- package/serialization/resources/send/client/requests/Rcs.d.ts +19 -0
- package/serialization/{types/SmsMessage.js → resources/send/client/requests/Rcs.js} +10 -4
- package/serialization/resources/send/client/requests/SendMmsRequest.d.ts +15 -0
- package/serialization/resources/send/client/requests/SendMmsRequest.js +36 -0
- package/serialization/resources/send/client/requests/SendSmsRequest.d.ts +14 -0
- package/{dist/serialization/client/requests/UpdateSettingsRequest.js → serialization/resources/send/client/requests/SendSmsRequest.js} +6 -4
- package/serialization/resources/send/client/requests/index.d.ts +3 -0
- package/serialization/resources/send/client/requests/index.js +9 -0
- package/serialization/resources/send/index.d.ts +2 -0
- package/serialization/resources/send/index.js +18 -0
- package/serialization/resources/send/types/SendMmsResponse.d.ts +13 -0
- package/serialization/resources/send/types/SendMmsResponse.js +34 -0
- package/serialization/resources/send/types/SendRcsResponse.d.ts +13 -0
- package/serialization/resources/send/types/SendRcsResponse.js +34 -0
- package/serialization/resources/send/types/SendSmsResponse.d.ts +13 -0
- package/serialization/resources/send/types/SendSmsResponse.js +34 -0
- package/serialization/resources/send/types/index.d.ts +3 -0
- package/serialization/resources/send/types/index.js +19 -0
- package/serialization/types/Action.d.ts +14 -7
- package/serialization/types/Action.js +13 -6
- package/{dist/serialization/types/BasicRcsMessage.d.ts → serialization/types/ActionLatLong.d.ts} +4 -3
- package/serialization/types/ActionLatLong.js +34 -0
- package/serialization/types/ActionType.d.ts +10 -0
- package/{dist/serialization/types/CardStyleOrientation.js → serialization/types/ActionType.js} +2 -2
- package/serialization/types/BadRequestErrorBody.d.ts +1 -3
- package/serialization/types/BadRequestErrorBody.js +1 -3
- package/serialization/types/Card.d.ts +1 -3
- package/serialization/types/Card.js +1 -3
- package/{dist/serialization/types/NotFoundErrorBody.d.ts → serialization/types/ForbiddenErrorBody.d.ts} +3 -3
- package/{dist/serialization/types/LatLng.js → serialization/types/ForbiddenErrorBody.js} +3 -4
- package/serialization/types/InternalServerErrorBody.d.ts +1 -2
- package/serialization/types/InternalServerErrorBody.js +1 -2
- package/serialization/types/RcsFunctionalities.d.ts +19 -0
- package/{dist/serialization/types/BadRequestErrorBodyError.js → serialization/types/RcsFunctionalities.js} +10 -7
- package/serialization/types/RegisterCompanyResponse.d.ts +1 -2
- package/serialization/types/RegisterCompanyResponse.js +1 -2
- package/serialization/types/RegisterCompanyResponseBrand.d.ts +2 -2
- package/serialization/types/RegisterCompanyResponseBrand.js +2 -2
- package/serialization/types/UnauthorizedErrorBody.d.ts +1 -1
- package/serialization/types/UnauthorizedErrorBody.js +1 -1
- package/serialization/types/UpdateCompanyResponse.d.ts +1 -2
- package/serialization/types/UpdateCompanyResponse.js +1 -2
- package/serialization/types/UpdateCompanyResponseBrand.d.ts +2 -2
- package/serialization/types/UpdateCompanyResponseBrand.js +2 -2
- package/serialization/types/index.d.ts +6 -33
- package/serialization/types/index.js +6 -33
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/client/requests/CheckRcsCapabilityRequest.d.ts +0 -21
- package/api/client/requests/UpdateSettingsRequest.d.ts +0 -13
- package/api/errors/NotFoundError.d.ts +0 -8
- package/api/types/BadRequestErrorBodyError.d.ts +0 -10
- package/api/types/BasicRcs.d.ts +0 -13
- package/api/types/BasicRcsMessage.d.ts +0 -10
- package/api/types/Call.d.ts +0 -11
- package/api/types/CardRcs.d.ts +0 -12
- package/api/types/CardRcsMessage.d.ts +0 -13
- package/api/types/CardStyle.d.ts +0 -16
- package/api/types/CardStyleImageAlignment.d.ts +0 -11
- package/api/types/CardStyleImageAlignment.js +0 -10
- package/api/types/CardStyleMediaHeight.d.ts +0 -12
- package/api/types/CardStyleMediaHeight.js +0 -11
- package/api/types/CardStyleOrientation.d.ts +0 -11
- package/api/types/CardStyleOrientation.js +0 -10
- package/api/types/CardStyleWidth.d.ts +0 -11
- package/api/types/CardStyleWidth.js +0 -10
- package/api/types/CarouselRcs.d.ts +0 -12
- package/api/types/CarouselRcsMessage.d.ts +0 -13
- package/api/types/CheckRcsCapabilityResponse.d.ts +0 -7
- package/api/types/Event.d.ts +0 -17
- package/api/types/GetAccountNumberResponse.d.ts +0 -7
- package/api/types/LatLng.d.ts +0 -12
- package/api/types/MediaRcs.d.ts +0 -12
- package/api/types/MediaRcsMessage.d.ts +0 -14
- package/api/types/MediaType.d.ts +0 -14
- package/api/types/MediaType.js +0 -13
- package/api/types/PhoneNumber.d.ts +0 -7
- package/api/types/Postback.d.ts +0 -13
- package/api/types/SendMessageRequest.d.ts +0 -5
- package/api/types/SendMessageRequest.js +0 -5
- package/api/types/SendMessageResponse.d.ts +0 -7
- package/api/types/SendMessageResponse.js +0 -5
- package/api/types/ShareLocation.d.ts +0 -9
- package/api/types/ShareLocation.js +0 -5
- package/api/types/Sms.d.ts +0 -12
- package/api/types/Sms.js +0 -5
- package/api/types/SmsMessage.d.ts +0 -12
- package/api/types/SmsMessage.js +0 -5
- package/api/types/UpdateSettingsResponse.d.ts +0 -6
- package/api/types/UpdateSettingsResponse.js +0 -5
- package/api/types/Url.d.ts +0 -11
- package/api/types/Url.js +0 -5
- package/api/types/ViewLocation.d.ts +0 -13
- package/api/types/ViewLocation.js +0 -5
- package/dist/api/client/requests/CheckRcsCapabilityRequest.d.ts +0 -21
- package/dist/api/client/requests/CheckRcsCapabilityRequest.js +0 -5
- package/dist/api/client/requests/UpdateSettingsRequest.d.ts +0 -13
- package/dist/api/client/requests/UpdateSettingsRequest.js +0 -5
- package/dist/api/errors/NotFoundError.d.ts +0 -8
- package/dist/api/types/BadRequestErrorBodyError.d.ts +0 -10
- package/dist/api/types/BadRequestErrorBodyError.js +0 -5
- package/dist/api/types/BasicRcs.d.ts +0 -13
- package/dist/api/types/BasicRcs.js +0 -5
- package/dist/api/types/BasicRcsMessage.d.ts +0 -10
- package/dist/api/types/BasicRcsMessage.js +0 -5
- package/dist/api/types/Call.d.ts +0 -11
- package/dist/api/types/Call.js +0 -5
- package/dist/api/types/CardRcs.d.ts +0 -12
- package/dist/api/types/CardRcs.js +0 -5
- package/dist/api/types/CardRcsMessage.d.ts +0 -13
- package/dist/api/types/CardRcsMessage.js +0 -5
- package/dist/api/types/CardStyle.d.ts +0 -16
- package/dist/api/types/CardStyle.js +0 -5
- package/dist/api/types/CardStyleImageAlignment.d.ts +0 -11
- package/dist/api/types/CardStyleImageAlignment.js +0 -10
- package/dist/api/types/CardStyleMediaHeight.d.ts +0 -12
- package/dist/api/types/CardStyleMediaHeight.js +0 -11
- package/dist/api/types/CardStyleOrientation.d.ts +0 -11
- package/dist/api/types/CardStyleOrientation.js +0 -10
- package/dist/api/types/CardStyleWidth.d.ts +0 -11
- package/dist/api/types/CardStyleWidth.js +0 -10
- package/dist/api/types/CarouselRcs.d.ts +0 -12
- package/dist/api/types/CarouselRcs.js +0 -5
- package/dist/api/types/CarouselRcsMessage.d.ts +0 -13
- package/dist/api/types/CarouselRcsMessage.js +0 -5
- package/dist/api/types/CheckRcsCapabilityResponse.d.ts +0 -7
- package/dist/api/types/CheckRcsCapabilityResponse.js +0 -5
- package/dist/api/types/Event.d.ts +0 -17
- package/dist/api/types/Event.js +0 -5
- package/dist/api/types/GetAccountNumberResponse.d.ts +0 -7
- package/dist/api/types/GetAccountNumberResponse.js +0 -5
- package/dist/api/types/LatLng.d.ts +0 -12
- package/dist/api/types/LatLng.js +0 -5
- package/dist/api/types/MediaRcs.d.ts +0 -12
- package/dist/api/types/MediaRcs.js +0 -5
- package/dist/api/types/MediaRcsMessage.d.ts +0 -14
- package/dist/api/types/MediaRcsMessage.js +0 -5
- package/dist/api/types/MediaType.d.ts +0 -14
- package/dist/api/types/MediaType.js +0 -13
- package/dist/api/types/NotFoundErrorBody.js +0 -5
- package/dist/api/types/PhoneNumber.d.ts +0 -7
- package/dist/api/types/PhoneNumber.js +0 -5
- package/dist/api/types/Postback.d.ts +0 -13
- package/dist/api/types/Postback.js +0 -5
- package/dist/api/types/SendMessageRequest.d.ts +0 -5
- package/dist/api/types/SendMessageRequest.js +0 -5
- package/dist/api/types/SendMessageResponse.d.ts +0 -7
- package/dist/api/types/SendMessageResponse.js +0 -5
- package/dist/api/types/ShareLocation.d.ts +0 -9
- package/dist/api/types/ShareLocation.js +0 -5
- package/dist/api/types/Sms.d.ts +0 -12
- package/dist/api/types/Sms.js +0 -5
- package/dist/api/types/SmsMessage.d.ts +0 -12
- package/dist/api/types/SmsMessage.js +0 -5
- package/dist/api/types/UpdateSettingsResponse.d.ts +0 -6
- package/dist/api/types/UpdateSettingsResponse.js +0 -5
- package/dist/api/types/Url.d.ts +0 -11
- package/dist/api/types/Url.js +0 -5
- package/dist/api/types/ViewLocation.d.ts +0 -13
- package/dist/api/types/ViewLocation.js +0 -5
- package/dist/serialization/client/requests/UpdateSettingsRequest.d.ts +0 -12
- package/dist/serialization/types/BadRequestErrorBodyError.d.ts +0 -16
- package/dist/serialization/types/BasicRcs.d.ts +0 -18
- package/dist/serialization/types/CardRcs.d.ts +0 -16
- package/dist/serialization/types/CardRcs.js +0 -37
- package/dist/serialization/types/CardRcsMessage.d.ts +0 -15
- package/dist/serialization/types/CardRcsMessage.js +0 -36
- package/dist/serialization/types/CardStyle.d.ts +0 -20
- package/dist/serialization/types/CardStyle.js +0 -41
- package/dist/serialization/types/CardStyleImageAlignment.d.ts +0 -10
- package/dist/serialization/types/CardStyleMediaHeight.d.ts +0 -10
- package/dist/serialization/types/CardStyleMediaHeight.js +0 -31
- package/dist/serialization/types/CardStyleOrientation.d.ts +0 -10
- package/dist/serialization/types/CardStyleWidth.d.ts +0 -10
- package/dist/serialization/types/CardStyleWidth.js +0 -31
- package/dist/serialization/types/CarouselRcs.d.ts +0 -16
- package/dist/serialization/types/CarouselRcs.js +0 -37
- package/dist/serialization/types/CarouselRcsMessage.d.ts +0 -15
- package/dist/serialization/types/CarouselRcsMessage.js +0 -36
- package/dist/serialization/types/CheckRcsCapabilityResponse.d.ts +0 -13
- package/dist/serialization/types/Event.d.ts +0 -17
- package/dist/serialization/types/Event.js +0 -38
- package/dist/serialization/types/GetAccountNumberResponse.d.ts +0 -12
- package/dist/serialization/types/MediaRcs.d.ts +0 -16
- package/dist/serialization/types/MediaRcs.js +0 -37
- package/dist/serialization/types/MediaRcsMessage.d.ts +0 -16
- package/dist/serialization/types/MediaRcsMessage.js +0 -37
- package/dist/serialization/types/MediaType.d.ts +0 -10
- package/dist/serialization/types/MediaType.js +0 -31
- package/dist/serialization/types/PhoneNumber.d.ts +0 -10
- package/dist/serialization/types/PhoneNumber.js +0 -31
- package/dist/serialization/types/Postback.d.ts +0 -15
- package/dist/serialization/types/Postback.js +0 -36
- package/dist/serialization/types/SendMessageRequest.d.ts +0 -15
- package/dist/serialization/types/SendMessageRequest.js +0 -36
- package/dist/serialization/types/SendMessageResponse.d.ts +0 -12
- package/dist/serialization/types/SendMessageResponse.js +0 -33
- package/dist/serialization/types/ShareLocation.d.ts +0 -13
- package/dist/serialization/types/ShareLocation.js +0 -34
- package/dist/serialization/types/Sms.d.ts +0 -16
- package/dist/serialization/types/Sms.js +0 -37
- package/dist/serialization/types/SmsMessage.d.ts +0 -13
- package/dist/serialization/types/UpdateSettingsResponse.d.ts +0 -12
- package/dist/serialization/types/UpdateSettingsResponse.js +0 -33
- package/dist/serialization/types/Url.d.ts +0 -14
- package/dist/serialization/types/Url.js +0 -35
- package/dist/serialization/types/ViewLocation.d.ts +0 -16
- package/dist/serialization/types/ViewLocation.js +0 -37
- package/serialization/client/requests/UpdateSettingsRequest.d.ts +0 -12
- package/serialization/client/requests/UpdateSettingsRequest.js +0 -33
- package/serialization/types/BadRequestErrorBodyError.d.ts +0 -16
- package/serialization/types/BadRequestErrorBodyError.js +0 -37
- package/serialization/types/BasicRcs.d.ts +0 -18
- package/serialization/types/BasicRcs.js +0 -39
- package/serialization/types/BasicRcsMessage.d.ts +0 -12
- package/serialization/types/Call.d.ts +0 -14
- package/serialization/types/Call.js +0 -35
- package/serialization/types/CardRcs.d.ts +0 -16
- package/serialization/types/CardRcs.js +0 -37
- package/serialization/types/CardRcsMessage.d.ts +0 -15
- package/serialization/types/CardRcsMessage.js +0 -36
- package/serialization/types/CardStyle.d.ts +0 -20
- package/serialization/types/CardStyle.js +0 -41
- package/serialization/types/CardStyleImageAlignment.d.ts +0 -10
- package/serialization/types/CardStyleImageAlignment.js +0 -31
- package/serialization/types/CardStyleMediaHeight.d.ts +0 -10
- package/serialization/types/CardStyleMediaHeight.js +0 -31
- package/serialization/types/CardStyleOrientation.d.ts +0 -10
- package/serialization/types/CardStyleOrientation.js +0 -31
- package/serialization/types/CardStyleWidth.d.ts +0 -10
- package/serialization/types/CardStyleWidth.js +0 -31
- package/serialization/types/CarouselRcs.d.ts +0 -16
- package/serialization/types/CarouselRcs.js +0 -37
- package/serialization/types/CarouselRcsMessage.d.ts +0 -15
- package/serialization/types/CarouselRcsMessage.js +0 -36
- package/serialization/types/CheckRcsCapabilityResponse.d.ts +0 -13
- package/serialization/types/CheckRcsCapabilityResponse.js +0 -34
- package/serialization/types/Event.d.ts +0 -17
- package/serialization/types/Event.js +0 -38
- package/serialization/types/GetAccountNumberResponse.d.ts +0 -12
- package/serialization/types/GetAccountNumberResponse.js +0 -33
- package/serialization/types/LatLng.d.ts +0 -13
- package/serialization/types/LatLng.js +0 -34
- package/serialization/types/MediaRcs.d.ts +0 -16
- package/serialization/types/MediaRcs.js +0 -37
- package/serialization/types/MediaRcsMessage.d.ts +0 -16
- package/serialization/types/MediaRcsMessage.js +0 -37
- package/serialization/types/MediaType.d.ts +0 -10
- package/serialization/types/MediaType.js +0 -31
- package/serialization/types/NotFoundErrorBody.d.ts +0 -12
- package/serialization/types/NotFoundErrorBody.js +0 -33
- package/serialization/types/PhoneNumber.d.ts +0 -10
- package/serialization/types/PhoneNumber.js +0 -31
- package/serialization/types/Postback.d.ts +0 -15
- package/serialization/types/Postback.js +0 -36
- package/serialization/types/SendMessageRequest.d.ts +0 -15
- package/serialization/types/SendMessageRequest.js +0 -36
- package/serialization/types/SendMessageResponse.d.ts +0 -12
- package/serialization/types/SendMessageResponse.js +0 -33
- package/serialization/types/ShareLocation.d.ts +0 -13
- package/serialization/types/ShareLocation.js +0 -34
- package/serialization/types/Sms.d.ts +0 -16
- package/serialization/types/Sms.js +0 -37
- package/serialization/types/SmsMessage.d.ts +0 -13
- package/serialization/types/UpdateSettingsResponse.d.ts +0 -12
- package/serialization/types/UpdateSettingsResponse.js +0 -33
- package/serialization/types/Url.d.ts +0 -14
- package/serialization/types/Url.js +0 -35
- package/serialization/types/ViewLocation.d.ts +0 -16
- package/serialization/types/ViewLocation.js +0 -37
- /package/api/client/requests/{CheckRcsCapabilityRequest.js → GetRcsFunctionalityRequest.js} +0 -0
- /package/api/{client/requests/UpdateSettingsRequest.js → resources/send/client/requests/Rcs.js} +0 -0
- /package/api/{types/BadRequestErrorBodyError.js → resources/send/client/requests/SendMmsRequest.js} +0 -0
- /package/api/{types/BasicRcs.js → resources/send/client/requests/SendSmsRequest.js} +0 -0
- /package/api/{types/BasicRcsMessage.js → resources/send/types/SendMmsResponse.js} +0 -0
- /package/api/{types/Call.js → resources/send/types/SendRcsResponse.js} +0 -0
- /package/api/{types/CardRcs.js → resources/send/types/SendSmsResponse.js} +0 -0
- /package/api/types/{CardRcsMessage.js → ActionLatLong.js} +0 -0
- /package/api/types/{CardStyle.js → ForbiddenErrorBody.js} +0 -0
- /package/api/types/{CarouselRcs.js → RcsFunctionalities.js} +0 -0
- /package/{api/types/CarouselRcsMessage.js → dist/api/client/requests/GetRcsFunctionalityRequest.js} +0 -0
- /package/{api/types/CheckRcsCapabilityResponse.js → dist/api/resources/send/client/requests/Rcs.js} +0 -0
- /package/{api/types/Event.js → dist/api/resources/send/client/requests/SendMmsRequest.js} +0 -0
- /package/{api/types/GetAccountNumberResponse.js → dist/api/resources/send/client/requests/SendSmsRequest.js} +0 -0
- /package/{api/types/LatLng.js → dist/api/resources/send/types/SendMmsResponse.js} +0 -0
- /package/{api/types/MediaRcs.js → dist/api/resources/send/types/SendRcsResponse.js} +0 -0
- /package/{api/types/MediaRcsMessage.js → dist/api/resources/send/types/SendSmsResponse.js} +0 -0
- /package/{api/types/NotFoundErrorBody.js → dist/api/types/ActionLatLong.js} +0 -0
- /package/{api/types/PhoneNumber.js → dist/api/types/ForbiddenErrorBody.js} +0 -0
- /package/{api/types/Postback.js → dist/api/types/RcsFunctionalities.js} +0 -0
|
@@ -1,10 +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.CardStyleImageAlignment = void 0;
|
|
7
|
-
exports.CardStyleImageAlignment = {
|
|
8
|
-
Right: "right",
|
|
9
|
-
Left: "left",
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Height of the media in the card. Only available for vertical cards.
|
|
6
|
-
*/
|
|
7
|
-
export declare type CardStyleMediaHeight = "medium" | "small" | "tall";
|
|
8
|
-
export declare const CardStyleMediaHeight: {
|
|
9
|
-
readonly Medium: "medium";
|
|
10
|
-
readonly Small: "small";
|
|
11
|
-
readonly Tall: "tall";
|
|
12
|
-
};
|
|
@@ -1,11 +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.CardStyleMediaHeight = void 0;
|
|
7
|
-
exports.CardStyleMediaHeight = {
|
|
8
|
-
Medium: "medium",
|
|
9
|
-
Small: "small",
|
|
10
|
-
Tall: "tall",
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Orientation of the card
|
|
6
|
-
*/
|
|
7
|
-
export declare type CardStyleOrientation = "horizontal" | "vertical";
|
|
8
|
-
export declare const CardStyleOrientation: {
|
|
9
|
-
readonly Horizontal: "horizontal";
|
|
10
|
-
readonly Vertical: "vertical";
|
|
11
|
-
};
|
|
@@ -1,10 +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.CardStyleOrientation = void 0;
|
|
7
|
-
exports.CardStyleOrientation = {
|
|
8
|
-
Horizontal: "horizontal",
|
|
9
|
-
Vertical: "vertical",
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Width of the card
|
|
6
|
-
*/
|
|
7
|
-
export declare type CardStyleWidth = "small" | "medium";
|
|
8
|
-
export declare const CardStyleWidth: {
|
|
9
|
-
readonly Small: "small";
|
|
10
|
-
readonly Medium: "medium";
|
|
11
|
-
};
|
|
@@ -1,10 +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.CardStyleWidth = void 0;
|
|
7
|
-
exports.CardStyleWidth = {
|
|
8
|
-
Small: "small",
|
|
9
|
-
Medium: "medium",
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface CarouselRcs {
|
|
6
|
-
/** Phone number to send the SMS message to */
|
|
7
|
-
phoneNumber: Pinnacle.PhoneNumber;
|
|
8
|
-
/** The type of message being sent */
|
|
9
|
-
messageType: "carousel";
|
|
10
|
-
/** The content of the message */
|
|
11
|
-
message: Pinnacle.CarouselRcsMessage;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* The content of the message
|
|
7
|
-
*/
|
|
8
|
-
export interface CarouselRcsMessage {
|
|
9
|
-
/** Array of cards to be sent */
|
|
10
|
-
cards: Pinnacle.Card[];
|
|
11
|
-
/** Array of quick replies attached to the card. Maximum of 11 quick replies. */
|
|
12
|
-
quickReplies?: Pinnacle.Action[];
|
|
13
|
-
}
|
package/api/types/Event.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface Event {
|
|
5
|
-
/** The title for the event action. Maximum length is 25 characters. */
|
|
6
|
-
title: string;
|
|
7
|
-
/** The type of message being sent */
|
|
8
|
-
actionType: "calendar";
|
|
9
|
-
/** The start time for the event. */
|
|
10
|
-
startTime: Date;
|
|
11
|
-
/** The end time for the event. */
|
|
12
|
-
endTime: Date;
|
|
13
|
-
/** The title of the event. */
|
|
14
|
-
eventTitle: string;
|
|
15
|
-
/** The description of the event */
|
|
16
|
-
eventDescription?: string;
|
|
17
|
-
}
|
package/api/types/LatLng.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The latitude and longitude of the location to share with the user
|
|
6
|
-
*/
|
|
7
|
-
export interface LatLng {
|
|
8
|
-
/** The latitude of the location */
|
|
9
|
-
lat: number;
|
|
10
|
-
/** The longitude of the location */
|
|
11
|
-
lng: number;
|
|
12
|
-
}
|
package/api/types/MediaRcs.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface MediaRcs {
|
|
6
|
-
/** Phone number to send the SMS message to */
|
|
7
|
-
phoneNumber: Pinnacle.PhoneNumber;
|
|
8
|
-
/** The type of message being sent */
|
|
9
|
-
messageType: "media";
|
|
10
|
-
/** The content of the message */
|
|
11
|
-
message: Pinnacle.MediaRcsMessage;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* The content of the message
|
|
7
|
-
*/
|
|
8
|
-
export interface MediaRcsMessage {
|
|
9
|
-
mediaType: Pinnacle.MediaType;
|
|
10
|
-
/** The URL of the media being sent */
|
|
11
|
-
mediaUrl: string;
|
|
12
|
-
/** Array of quick replies attached to the media. Maximum of 11 quick replies. */
|
|
13
|
-
quickReplies?: Pinnacle.Action[];
|
|
14
|
-
}
|
package/api/types/MediaType.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The type of media being sent
|
|
6
|
-
*/
|
|
7
|
-
export declare type MediaType = "text" | "image" | "video" | "audio" | "file";
|
|
8
|
-
export declare const MediaType: {
|
|
9
|
-
readonly Text: "text";
|
|
10
|
-
readonly Image: "image";
|
|
11
|
-
readonly Video: "video";
|
|
12
|
-
readonly Audio: "audio";
|
|
13
|
-
readonly File: "file";
|
|
14
|
-
};
|
package/api/types/MediaType.js
DELETED
|
@@ -1,13 +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.MediaType = void 0;
|
|
7
|
-
exports.MediaType = {
|
|
8
|
-
Text: "text",
|
|
9
|
-
Image: "image",
|
|
10
|
-
Video: "video",
|
|
11
|
-
Audio: "audio",
|
|
12
|
-
File: "file",
|
|
13
|
-
};
|
package/api/types/Postback.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface Postback {
|
|
5
|
-
/** The type of action being sent */
|
|
6
|
-
actionType: "postback";
|
|
7
|
-
/** The title for the postback acti9on. Maximum length is 25 characters. */
|
|
8
|
-
title: string;
|
|
9
|
-
/** The postback payload. Maximum length is 1000 characters. */
|
|
10
|
-
payload: string;
|
|
11
|
-
/** The action to execute. Optional additional data sent when the action is tapped. */
|
|
12
|
-
execute?: string;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ShareLocation {
|
|
5
|
-
/** The title for the share location action. Maximum length is 25 characters. */
|
|
6
|
-
title: string;
|
|
7
|
-
/** The type of action being sent */
|
|
8
|
-
actionType: "share_location";
|
|
9
|
-
}
|
package/api/types/Sms.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface Sms {
|
|
6
|
-
/** Phone number to send the SMS message to */
|
|
7
|
-
phoneNumber: Pinnacle.PhoneNumber;
|
|
8
|
-
/** The type of message being sent */
|
|
9
|
-
messageType: "sms";
|
|
10
|
-
/** The content of the message */
|
|
11
|
-
message: Pinnacle.SmsMessage;
|
|
12
|
-
}
|
package/api/types/Sms.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The content of the message
|
|
6
|
-
*/
|
|
7
|
-
export interface SmsMessage {
|
|
8
|
-
/** The body of the SMS message */
|
|
9
|
-
body: string;
|
|
10
|
-
/** Optional media URL for the SMS message */
|
|
11
|
-
mediaUrl?: string;
|
|
12
|
-
}
|
package/api/types/SmsMessage.js
DELETED
package/api/types/Url.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface Url {
|
|
5
|
-
/** The type of action being sent */
|
|
6
|
-
actionType: "weburl";
|
|
7
|
-
/** The title for the URL action. Maximum length is 25 characters. */
|
|
8
|
-
title: string;
|
|
9
|
-
/** The url to open. Maximum length is 1000 characters. */
|
|
10
|
-
payload: string;
|
|
11
|
-
}
|
package/api/types/Url.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface ViewLocation {
|
|
6
|
-
/** The title for the view location action. Maximum length is 25 characters. */
|
|
7
|
-
title?: string;
|
|
8
|
-
/** The type of action being sent */
|
|
9
|
-
actionType: "view_location";
|
|
10
|
-
latLng: Pinnacle.LatLng;
|
|
11
|
-
/** The name of the location */
|
|
12
|
-
label: string;
|
|
13
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../../index";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* phoneNumber: "phone_number"
|
|
9
|
-
* }
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* {
|
|
13
|
-
* phoneNumber: "phone_number"
|
|
14
|
-
* }
|
|
15
|
-
*/
|
|
16
|
-
export interface CheckRcsCapabilityRequest {
|
|
17
|
-
/**
|
|
18
|
-
* Phone number (E.164 format: [+][country code][subscriber number including area code]) to check for RCS capability. Example: +1234567890
|
|
19
|
-
*/
|
|
20
|
-
phoneNumber: Pinnacle.PhoneNumber;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* webhookUrl: "webhook_url"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface UpdateSettingsRequest {
|
|
11
|
-
/** Webhook URL to receive inbound messages */
|
|
12
|
-
webhookUrl: string;
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as errors from "../../errors/index";
|
|
5
|
-
import * as Pinnacle from "../index";
|
|
6
|
-
export declare class NotFoundError extends errors.PinnacleError {
|
|
7
|
-
constructor(body: Pinnacle.NotFoundErrorBody);
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface BasicRcs {
|
|
6
|
-
/** Phone number to send the SMS message to */
|
|
7
|
-
phoneNumber: Pinnacle.PhoneNumber;
|
|
8
|
-
/** The type of message being sent */
|
|
9
|
-
messageType: "basic-rcs";
|
|
10
|
-
/** The content of the message */
|
|
11
|
-
message: Pinnacle.BasicRcsMessage;
|
|
12
|
-
quickReplies?: Pinnacle.Action[];
|
|
13
|
-
}
|
package/dist/api/types/Call.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface Call {
|
|
5
|
-
/** The type of action being sent */
|
|
6
|
-
actionType: "call";
|
|
7
|
-
/** The title for the call action. Maximum length is 25 characters. */
|
|
8
|
-
title: string;
|
|
9
|
-
/** The number to call in E. 164 format. Maximum length is 1000 characters. */
|
|
10
|
-
payload: string;
|
|
11
|
-
}
|
package/dist/api/types/Call.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface CardRcs {
|
|
6
|
-
/** Phone number to send the SMS message to */
|
|
7
|
-
phoneNumber: Pinnacle.PhoneNumber;
|
|
8
|
-
/** The type of message being sent */
|
|
9
|
-
messageType: "card";
|
|
10
|
-
/** The content of the message */
|
|
11
|
-
message: Pinnacle.CardRcsMessage;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* The content of the message
|
|
7
|
-
*/
|
|
8
|
-
export interface CardRcsMessage {
|
|
9
|
-
/** Array of one containing the card to be sent */
|
|
10
|
-
cards: Pinnacle.Card[];
|
|
11
|
-
/** Array of quick replies attached to the card. Maximum of 11 quick replies. */
|
|
12
|
-
quickReplies?: Pinnacle.Action[];
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Pinnacle from "../index";
|
|
5
|
-
export interface CardStyle {
|
|
6
|
-
/** Alignment of the image in the card. Only available for horizontal cards. */
|
|
7
|
-
imageAlignment?: Pinnacle.CardStyleImageAlignment;
|
|
8
|
-
/** Height of the media in the card. Only available for vertical cards. */
|
|
9
|
-
mediaHeight?: Pinnacle.CardStyleMediaHeight;
|
|
10
|
-
/** URL of the thumbnail image */
|
|
11
|
-
thumbnailUrl?: string;
|
|
12
|
-
/** Width of the card */
|
|
13
|
-
width?: Pinnacle.CardStyleWidth;
|
|
14
|
-
/** Orientation of the card */
|
|
15
|
-
orientation?: Pinnacle.CardStyleOrientation;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Alignment of the image in the card. Only available for horizontal cards.
|
|
6
|
-
*/
|
|
7
|
-
export declare type CardStyleImageAlignment = "right" | "left";
|
|
8
|
-
export declare const CardStyleImageAlignment: {
|
|
9
|
-
readonly Right: "right";
|
|
10
|
-
readonly Left: "left";
|
|
11
|
-
};
|
|
@@ -1,10 +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.CardStyleImageAlignment = void 0;
|
|
7
|
-
exports.CardStyleImageAlignment = {
|
|
8
|
-
Right: "right",
|
|
9
|
-
Left: "left",
|
|
10
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Height of the media in the card. Only available for vertical cards.
|
|
6
|
-
*/
|
|
7
|
-
export declare type CardStyleMediaHeight = "medium" | "small" | "tall";
|
|
8
|
-
export declare const CardStyleMediaHeight: {
|
|
9
|
-
readonly Medium: "medium";
|
|
10
|
-
readonly Small: "small";
|
|
11
|
-
readonly Tall: "tall";
|
|
12
|
-
};
|