rcs-js 1.0.8 → 1.0.10
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 +10 -126
- package/Client.js +15 -443
- package/README.md +30 -7
- package/api/client/requests/GetRcsFunctionalityRequest.d.ts +13 -0
- package/api/client/requests/index.d.ts +1 -5
- 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/company/client/Client.d.ts +96 -0
- package/api/resources/company/client/Client.js +289 -0
- package/api/resources/company/client/index.d.ts +1 -0
- package/api/resources/company/client/index.js +17 -0
- package/{dist/api/client/requests/GetCompanyRequest.d.ts → api/resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
- package/api/{client/requests/RegisterCompanyRequest.d.ts → resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
- package/{dist/api/client/requests/UpdateCompanyRequest.d.ts → api/resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
- package/api/resources/company/client/requests/index.d.ts +3 -0
- package/api/resources/company/client/requests/index.js +2 -0
- package/api/resources/company/index.d.ts +2 -0
- package/api/resources/company/index.js +18 -0
- package/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
- package/api/resources/company/types/CompanyRegisterResponseBrand.d.ts +7 -0
- package/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
- package/api/resources/company/types/CompanyUpdateResponseBrand.d.ts +7 -0
- package/api/resources/company/types/index.d.ts +4 -0
- package/api/resources/company/types/index.js +20 -0
- package/api/resources/index.d.ts +6 -0
- package/api/resources/index.js +35 -0
- 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/UnauthorizedErrorBody.d.ts +1 -1
- package/api/types/index.d.ts +6 -37
- package/api/types/index.js +6 -37
- package/dist/Client.d.ts +10 -126
- package/dist/Client.js +15 -443
- package/dist/api/client/requests/GetRcsFunctionalityRequest.d.ts +13 -0
- package/dist/api/client/requests/index.d.ts +1 -5
- 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/company/client/Client.d.ts +96 -0
- package/dist/api/resources/company/client/Client.js +289 -0
- package/dist/api/resources/company/client/index.d.ts +1 -0
- package/dist/api/resources/company/client/index.js +17 -0
- package/{api/client/requests/GetCompanyRequest.d.ts → dist/api/resources/company/client/requests/CompanyGetRequest.d.ts} +1 -1
- package/dist/api/{client/requests/RegisterCompanyRequest.d.ts → resources/company/client/requests/CompanyRegisterRequest.d.ts} +2 -2
- package/{api/client/requests/UpdateCompanyRequest.d.ts → dist/api/resources/company/client/requests/CompanyUpdateRequest.d.ts} +2 -2
- package/dist/api/resources/company/client/requests/index.d.ts +3 -0
- package/dist/api/resources/company/client/requests/index.js +2 -0
- package/dist/api/resources/company/index.d.ts +2 -0
- package/dist/api/resources/company/index.js +18 -0
- package/dist/api/resources/company/types/CompanyRegisterResponse.d.ts +7 -0
- package/dist/api/resources/company/types/CompanyRegisterResponseBrand.d.ts +7 -0
- package/dist/api/resources/company/types/CompanyUpdateResponse.d.ts +7 -0
- package/dist/api/resources/company/types/CompanyUpdateResponseBrand.d.ts +7 -0
- package/dist/api/resources/company/types/index.d.ts +4 -0
- package/dist/api/resources/company/types/index.js +20 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/index.js +35 -0
- 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/UnauthorizedErrorBody.d.ts +1 -1
- package/dist/api/types/index.d.ts +6 -37
- package/dist/api/types/index.js +6 -37
- package/dist/serialization/index.d.ts +1 -1
- package/dist/serialization/index.js +1 -1
- package/dist/serialization/resources/company/client/get.d.ts +11 -0
- package/dist/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
- package/dist/serialization/resources/company/client/index.d.ts +2 -0
- package/{serialization → dist/serialization/resources/company}/client/index.js +2 -2
- package/dist/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
- package/{serialization/client/requests/RegisterCompanyRequest.js → dist/serialization/resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
- package/dist/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
- package/dist/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
- package/dist/serialization/resources/company/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/company/client/requests/index.js +7 -0
- package/dist/serialization/resources/company/index.d.ts +2 -0
- package/dist/serialization/resources/company/index.js +18 -0
- package/dist/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
- package/dist/serialization/resources/company/types/CompanyRegisterResponse.js +34 -0
- package/dist/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
- package/dist/serialization/resources/company/types/CompanyRegisterResponseBrand.js +34 -0
- package/dist/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
- package/dist/serialization/{types/CheckRcsCapabilityResponse.js → resources/company/types/CompanyUpdateResponse.js} +5 -5
- package/dist/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
- package/dist/serialization/{client/requests/UpdateSettingsRequest.js → resources/company/types/CompanyUpdateResponseBrand.js} +5 -4
- package/dist/serialization/resources/company/types/index.d.ts +4 -0
- package/dist/serialization/resources/company/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +6 -0
- package/dist/serialization/resources/index.js +35 -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/resources/send/client/requests/SendMmsRequest.js +36 -0
- 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/{CardStyleImageAlignment.js → ActionType.js} +2 -2
- 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/{NotFoundErrorBody.d.ts → ForbiddenErrorBody.d.ts} +3 -3
- 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/{BadRequestErrorBodyError.js → RcsFunctionalities.js} +10 -7
- package/dist/serialization/types/UnauthorizedErrorBody.d.ts +1 -1
- package/dist/serialization/types/UnauthorizedErrorBody.js +1 -1
- package/dist/serialization/types/index.d.ts +6 -37
- package/dist/serialization/types/index.js +6 -37
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +426 -5
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/company/client/get.d.ts +11 -0
- package/serialization/{client/getCompany.js → resources/company/client/get.js} +2 -2
- package/serialization/resources/company/client/index.d.ts +2 -0
- package/{dist/serialization → serialization/resources/company}/client/index.js +2 -2
- package/serialization/resources/company/client/requests/CompanyRegisterRequest.d.ts +19 -0
- package/{dist/serialization/client/requests/RegisterCompanyRequest.js → serialization/resources/company/client/requests/CompanyRegisterRequest.js} +7 -7
- package/serialization/resources/company/client/requests/CompanyUpdateRequest.d.ts +20 -0
- package/serialization/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +7 -7
- package/serialization/resources/company/client/requests/index.d.ts +2 -0
- package/serialization/resources/company/client/requests/index.js +7 -0
- package/serialization/resources/company/index.d.ts +2 -0
- package/serialization/resources/company/index.js +18 -0
- package/serialization/resources/company/types/CompanyRegisterResponse.d.ts +13 -0
- package/serialization/resources/company/types/CompanyRegisterResponse.js +34 -0
- package/serialization/resources/company/types/CompanyRegisterResponseBrand.d.ts +13 -0
- package/serialization/resources/company/types/CompanyRegisterResponseBrand.js +34 -0
- package/serialization/resources/company/types/CompanyUpdateResponse.d.ts +13 -0
- package/{dist/serialization/types/Call.js → serialization/resources/company/types/CompanyUpdateResponse.js} +5 -6
- package/serialization/resources/company/types/CompanyUpdateResponseBrand.d.ts +13 -0
- package/serialization/resources/company/types/CompanyUpdateResponseBrand.js +34 -0
- package/serialization/resources/company/types/index.d.ts +4 -0
- package/serialization/resources/company/types/index.js +20 -0
- package/serialization/resources/index.d.ts +6 -0
- package/serialization/resources/index.js +35 -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/serialization/resources/send/client/requests/SendSmsRequest.js +35 -0
- 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/Call.d.ts → serialization/types/ActionLatLong.d.ts} +4 -5
- package/{dist/serialization/types/BasicRcsMessage.js → serialization/types/ActionLatLong.js} +4 -3
- package/serialization/types/ActionType.d.ts +10 -0
- package/{dist/serialization/types/CardStyleMediaHeight.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/BasicRcsMessage.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/BasicRcs.js → serialization/types/RcsFunctionalities.js} +10 -9
- package/serialization/types/UnauthorizedErrorBody.d.ts +1 -1
- package/serialization/types/UnauthorizedErrorBody.js +1 -1
- package/serialization/types/index.d.ts +6 -37
- package/serialization/types/index.js +6 -37
- 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/RegisterCompanyResponse.d.ts +0 -8
- package/api/types/RegisterCompanyResponseBrand.d.ts +0 -7
- package/api/types/SendMessageRequest.d.ts +0 -5
- package/api/types/SendMessageResponse.d.ts +0 -7
- package/api/types/ShareLocation.d.ts +0 -9
- package/api/types/Sms.d.ts +0 -12
- package/api/types/SmsMessage.d.ts +0 -12
- package/api/types/UpdateCompanyResponse.d.ts +0 -8
- package/api/types/UpdateCompanyResponseBrand.d.ts +0 -7
- package/api/types/UpdateSettingsResponse.d.ts +0 -6
- package/api/types/Url.d.ts +0 -11
- 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/GetCompanyRequest.js +0 -5
- package/dist/api/client/requests/RegisterCompanyRequest.js +0 -5
- package/dist/api/client/requests/UpdateCompanyRequest.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/RegisterCompanyResponse.d.ts +0 -8
- package/dist/api/types/RegisterCompanyResponse.js +0 -5
- package/dist/api/types/RegisterCompanyResponseBrand.d.ts +0 -7
- package/dist/api/types/RegisterCompanyResponseBrand.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/UpdateCompanyResponse.d.ts +0 -8
- package/dist/api/types/UpdateCompanyResponse.js +0 -5
- package/dist/api/types/UpdateCompanyResponseBrand.d.ts +0 -7
- package/dist/api/types/UpdateCompanyResponseBrand.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/getCompany.d.ts +0 -11
- package/dist/serialization/client/index.d.ts +0 -2
- package/dist/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
- package/dist/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
- package/dist/serialization/client/requests/UpdateSettingsRequest.d.ts +0 -12
- package/dist/serialization/client/requests/index.d.ts +0 -3
- package/dist/serialization/client/requests/index.js +0 -9
- 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/CardStyleOrientation.d.ts +0 -10
- package/dist/serialization/types/CardStyleOrientation.js +0 -31
- 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/RegisterCompanyResponse.d.ts +0 -14
- package/dist/serialization/types/RegisterCompanyResponse.js +0 -35
- package/dist/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
- package/dist/serialization/types/RegisterCompanyResponseBrand.js +0 -34
- 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/UpdateCompanyResponse.d.ts +0 -14
- package/dist/serialization/types/UpdateCompanyResponse.js +0 -35
- package/dist/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
- package/dist/serialization/types/UpdateCompanyResponseBrand.js +0 -34
- 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/getCompany.d.ts +0 -11
- package/serialization/client/index.d.ts +0 -2
- package/serialization/client/requests/RegisterCompanyRequest.d.ts +0 -19
- package/serialization/client/requests/UpdateCompanyRequest.d.ts +0 -20
- package/serialization/client/requests/UpdateSettingsRequest.d.ts +0 -12
- package/serialization/client/requests/UpdateSettingsRequest.js +0 -33
- package/serialization/client/requests/index.d.ts +0 -3
- package/serialization/client/requests/index.js +0 -9
- 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/RegisterCompanyResponse.d.ts +0 -14
- package/serialization/types/RegisterCompanyResponse.js +0 -35
- package/serialization/types/RegisterCompanyResponseBrand.d.ts +0 -13
- package/serialization/types/RegisterCompanyResponseBrand.js +0 -34
- 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/UpdateCompanyResponse.d.ts +0 -14
- package/serialization/types/UpdateCompanyResponse.js +0 -35
- package/serialization/types/UpdateCompanyResponseBrand.d.ts +0 -13
- package/serialization/types/UpdateCompanyResponseBrand.js +0 -34
- 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/GetCompanyRequest.js → resources/company/client/requests/CompanyGetRequest.js} +0 -0
- /package/api/{client/requests/RegisterCompanyRequest.js → resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
- /package/api/{client/requests/UpdateCompanyRequest.js → resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
- /package/api/{client/requests/UpdateSettingsRequest.js → resources/company/types/CompanyRegisterResponse.js} +0 -0
- /package/api/{types/BadRequestErrorBodyError.js → resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
- /package/api/{types/BasicRcs.js → resources/company/types/CompanyUpdateResponse.js} +0 -0
- /package/api/{types/BasicRcsMessage.js → resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
- /package/api/{types/Call.js → resources/send/client/requests/Rcs.js} +0 -0
- /package/api/{types/CardRcs.js → resources/send/client/requests/SendMmsRequest.js} +0 -0
- /package/api/{types/CardRcsMessage.js → resources/send/client/requests/SendSmsRequest.js} +0 -0
- /package/api/{types/CardStyle.js → resources/send/types/SendMmsResponse.js} +0 -0
- /package/api/{types/CarouselRcs.js → resources/send/types/SendRcsResponse.js} +0 -0
- /package/api/{types/CarouselRcsMessage.js → resources/send/types/SendSmsResponse.js} +0 -0
- /package/api/types/{CheckRcsCapabilityResponse.js → ActionLatLong.js} +0 -0
- /package/api/types/{Event.js → ForbiddenErrorBody.js} +0 -0
- /package/api/types/{GetAccountNumberResponse.js → RcsFunctionalities.js} +0 -0
- /package/{api/types/LatLng.js → dist/api/client/requests/GetRcsFunctionalityRequest.js} +0 -0
- /package/{api/types/MediaRcs.js → dist/api/resources/company/client/requests/CompanyGetRequest.js} +0 -0
- /package/{api/types/MediaRcsMessage.js → dist/api/resources/company/client/requests/CompanyRegisterRequest.js} +0 -0
- /package/{api/types/NotFoundErrorBody.js → dist/api/resources/company/client/requests/CompanyUpdateRequest.js} +0 -0
- /package/{api/types/PhoneNumber.js → dist/api/resources/company/types/CompanyRegisterResponse.js} +0 -0
- /package/{api/types/Postback.js → dist/api/resources/company/types/CompanyRegisterResponseBrand.js} +0 -0
- /package/{api/types/RegisterCompanyResponse.js → dist/api/resources/company/types/CompanyUpdateResponse.js} +0 -0
- /package/{api/types/RegisterCompanyResponseBrand.js → dist/api/resources/company/types/CompanyUpdateResponseBrand.js} +0 -0
- /package/{api/types/SendMessageRequest.js → dist/api/resources/send/client/requests/Rcs.js} +0 -0
- /package/{api/types/SendMessageResponse.js → dist/api/resources/send/client/requests/SendMmsRequest.js} +0 -0
- /package/{api/types/ShareLocation.js → dist/api/resources/send/client/requests/SendSmsRequest.js} +0 -0
- /package/{api/types/Sms.js → dist/api/resources/send/types/SendMmsResponse.js} +0 -0
- /package/{api/types/SmsMessage.js → dist/api/resources/send/types/SendRcsResponse.js} +0 -0
- /package/{api/types/UpdateCompanyResponse.js → dist/api/resources/send/types/SendSmsResponse.js} +0 -0
- /package/{api/types/UpdateCompanyResponseBrand.js → dist/api/types/ActionLatLong.js} +0 -0
- /package/{api/types/UpdateSettingsResponse.js → dist/api/types/ForbiddenErrorBody.js} +0 -0
- /package/{api/types/Url.js → dist/api/types/RcsFunctionalities.js} +0 -0
|
@@ -26,9 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
exports.Rcs = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const Card_1 = require("../../../../types/Card");
|
|
32
|
+
const Action_1 = require("../../../../types/Action");
|
|
33
|
+
exports.Rcs = core.serialization.object({
|
|
34
|
+
from: core.serialization.string(),
|
|
35
|
+
to: core.serialization.string(),
|
|
36
|
+
text: core.serialization.string().optional(),
|
|
33
37
|
mediaUrl: core.serialization.string().optional(),
|
|
38
|
+
cards: core.serialization.list(Card_1.Card).optional(),
|
|
39
|
+
quickReplies: core.serialization.list(Action_1.Action).optional(),
|
|
34
40
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Pinnacle from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const SendMmsRequest: core.serialization.Schema<serializers.SendMmsRequest.Raw, Pinnacle.SendMmsRequest>;
|
|
8
|
+
export declare namespace SendMmsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
to: string;
|
|
11
|
+
from: string;
|
|
12
|
+
text: string;
|
|
13
|
+
mediaUrls: string[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SendMmsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.SendMmsRequest = core.serialization.object({
|
|
32
|
+
to: core.serialization.string(),
|
|
33
|
+
from: core.serialization.string(),
|
|
34
|
+
text: core.serialization.string(),
|
|
35
|
+
mediaUrls: core.serialization.list(core.serialization.string()),
|
|
36
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Pinnacle from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const SendSmsRequest: core.serialization.Schema<serializers.SendSmsRequest.Raw, Pinnacle.SendSmsRequest>;
|
|
8
|
+
export declare namespace SendSmsRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
to: string;
|
|
11
|
+
from: string;
|
|
12
|
+
text: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -26,8 +26,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
29
|
+
exports.SendSmsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.SendSmsRequest = core.serialization.object({
|
|
32
|
+
to: core.serialization.string(),
|
|
33
|
+
from: core.serialization.string(),
|
|
32
34
|
text: core.serialization.string(),
|
|
33
35
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendMmsRequest = exports.SendSmsRequest = exports.Rcs = void 0;
|
|
4
|
+
var Rcs_1 = require("./Rcs");
|
|
5
|
+
Object.defineProperty(exports, "Rcs", { enumerable: true, get: function () { return Rcs_1.Rcs; } });
|
|
6
|
+
var SendSmsRequest_1 = require("./SendSmsRequest");
|
|
7
|
+
Object.defineProperty(exports, "SendSmsRequest", { enumerable: true, get: function () { return SendSmsRequest_1.SendSmsRequest; } });
|
|
8
|
+
var SendMmsRequest_1 = require("./SendMmsRequest");
|
|
9
|
+
Object.defineProperty(exports, "SendMmsRequest", { enumerable: true, get: function () { return SendMmsRequest_1.SendMmsRequest; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Pinnacle from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SendMmsResponse: core.serialization.ObjectSchema<serializers.SendMmsResponse.Raw, Pinnacle.SendMmsResponse>;
|
|
8
|
+
export declare namespace SendMmsResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
messageId: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SendMmsResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.SendMmsResponse = core.serialization.object({
|
|
32
|
+
messageId: core.serialization.string(),
|
|
33
|
+
message: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Pinnacle from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SendRcsResponse: core.serialization.ObjectSchema<serializers.SendRcsResponse.Raw, Pinnacle.SendRcsResponse>;
|
|
8
|
+
export declare namespace SendRcsResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
messageId: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SendRcsResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.SendRcsResponse = core.serialization.object({
|
|
32
|
+
messageId: core.serialization.string(),
|
|
33
|
+
message: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Pinnacle from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const SendSmsResponse: core.serialization.ObjectSchema<serializers.SendSmsResponse.Raw, Pinnacle.SendSmsResponse>;
|
|
8
|
+
export declare namespace SendSmsResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
messageId: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SendSmsResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.SendSmsResponse = core.serialization.object({
|
|
32
|
+
messageId: core.serialization.string(),
|
|
33
|
+
message: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SendRcsResponse"), exports);
|
|
18
|
+
__exportStar(require("./SendSmsResponse"), exports);
|
|
19
|
+
__exportStar(require("./SendMmsResponse"), exports);
|
|
@@ -4,12 +4,19 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Pinnacle from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import { ShareLocation } from "./ShareLocation";
|
|
11
|
-
import { ViewLocation } from "./ViewLocation";
|
|
12
|
-
export declare const Action: core.serialization.Schema<serializers.Action.Raw, Pinnacle.Action>;
|
|
7
|
+
import { ActionType } from "./ActionType";
|
|
8
|
+
import { ActionLatLong } from "./ActionLatLong";
|
|
9
|
+
export declare const Action: core.serialization.ObjectSchema<serializers.Action.Raw, Pinnacle.Action>;
|
|
13
10
|
export declare namespace Action {
|
|
14
|
-
|
|
11
|
+
interface Raw {
|
|
12
|
+
title?: string | null;
|
|
13
|
+
type?: ActionType.Raw | null;
|
|
14
|
+
payload?: string | null;
|
|
15
|
+
metadata?: string | null;
|
|
16
|
+
eventStartTime?: string | null;
|
|
17
|
+
eventEndTime?: string | null;
|
|
18
|
+
eventTitle?: string | null;
|
|
19
|
+
eventDescription?: string | null;
|
|
20
|
+
latLong?: ActionLatLong.Raw | null;
|
|
21
|
+
}
|
|
15
22
|
}
|
|
@@ -28,9 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Action = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
const ActionType_1 = require("./ActionType");
|
|
32
|
+
const ActionLatLong_1 = require("./ActionLatLong");
|
|
33
|
+
exports.Action = core.serialization.object({
|
|
34
|
+
title: core.serialization.string().optional(),
|
|
35
|
+
type: ActionType_1.ActionType.optional(),
|
|
36
|
+
payload: core.serialization.string().optional(),
|
|
37
|
+
metadata: core.serialization.string().optional(),
|
|
38
|
+
eventStartTime: core.serialization.string().optional(),
|
|
39
|
+
eventEndTime: core.serialization.string().optional(),
|
|
40
|
+
eventTitle: core.serialization.string().optional(),
|
|
41
|
+
eventDescription: core.serialization.string().optional(),
|
|
42
|
+
latLong: ActionLatLong_1.ActionLatLong.optional(),
|
|
43
|
+
});
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Pinnacle from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ActionLatLong: core.serialization.ObjectSchema<serializers.ActionLatLong.Raw, Pinnacle.ActionLatLong>;
|
|
8
|
+
export declare namespace ActionLatLong {
|
|
9
9
|
interface Raw {
|
|
10
|
-
lat
|
|
11
|
-
lng
|
|
10
|
+
lat?: number | null;
|
|
11
|
+
lng?: number | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -26,8 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ActionLatLong = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.ActionLatLong = core.serialization.object({
|
|
32
|
+
lat: core.serialization.number().optional(),
|
|
33
|
+
lng: core.serialization.number().optional(),
|
|
33
34
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ActionType: core.serialization.Schema<serializers.ActionType.Raw, Pinnacle.ActionType>;
|
|
8
|
+
export declare namespace ActionType {
|
|
9
|
+
type Raw = "openUrl" | "call" | "trigger" | "requestLocation" | "scheduleEvent" | "sendLocation";
|
|
10
|
+
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ActionType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.ActionType = core.serialization.enum_(["openUrl", "call", "trigger", "requestLocation", "scheduleEvent", "sendLocation"]);
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Pinnacle from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import { BadRequestErrorBodyError } from "./BadRequestErrorBodyError";
|
|
8
7
|
export declare const BadRequestErrorBody: core.serialization.ObjectSchema<serializers.BadRequestErrorBody.Raw, Pinnacle.BadRequestErrorBody>;
|
|
9
8
|
export declare namespace BadRequestErrorBody {
|
|
10
9
|
interface Raw {
|
|
11
|
-
|
|
12
|
-
success?: boolean | null;
|
|
10
|
+
errors?: string[] | null;
|
|
13
11
|
}
|
|
14
12
|
}
|
|
@@ -28,8 +28,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.BadRequestErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const BadRequestErrorBodyError_1 = require("./BadRequestErrorBodyError");
|
|
32
31
|
exports.BadRequestErrorBody = core.serialization.object({
|
|
33
|
-
|
|
34
|
-
success: core.serialization.boolean().optional(),
|
|
32
|
+
errors: core.serialization.list(core.serialization.string()).optional(),
|
|
35
33
|
});
|
|
@@ -5,14 +5,12 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Pinnacle from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { Action } from "./Action";
|
|
8
|
-
import { CardStyle } from "./CardStyle";
|
|
9
8
|
export declare const Card: core.serialization.ObjectSchema<serializers.Card.Raw, Pinnacle.Card>;
|
|
10
9
|
export declare namespace Card {
|
|
11
10
|
interface Raw {
|
|
12
11
|
title: string;
|
|
13
12
|
subtitle?: string | null;
|
|
14
|
-
|
|
13
|
+
mediaUrl?: string | null;
|
|
15
14
|
buttons?: Action.Raw[] | null;
|
|
16
|
-
card_style?: CardStyle.Raw | null;
|
|
17
15
|
}
|
|
18
16
|
}
|
|
@@ -29,11 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Card = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const Action_1 = require("./Action");
|
|
32
|
-
const CardStyle_1 = require("./CardStyle");
|
|
33
32
|
exports.Card = core.serialization.object({
|
|
34
33
|
title: core.serialization.string(),
|
|
35
34
|
subtitle: core.serialization.string().optional(),
|
|
36
|
-
|
|
35
|
+
mediaUrl: core.serialization.string().optional(),
|
|
37
36
|
buttons: core.serialization.list(Action_1.Action).optional(),
|
|
38
|
-
cardStyle: core.serialization.property("card_style", CardStyle_1.CardStyle.optional()),
|
|
39
37
|
});
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Pinnacle from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const ForbiddenErrorBody: core.serialization.ObjectSchema<serializers.ForbiddenErrorBody.Raw, Pinnacle.ForbiddenErrorBody>;
|
|
8
|
+
export declare namespace ForbiddenErrorBody {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
errors?: string[] | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ForbiddenErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.ForbiddenErrorBody = core.serialization.object({
|
|
32
|
+
errors: core.serialization.list(core.serialization.string()).optional(),
|
|
33
33
|
});
|
|
@@ -7,7 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const InternalServerErrorBody: core.serialization.ObjectSchema<serializers.InternalServerErrorBody.Raw, Pinnacle.InternalServerErrorBody>;
|
|
8
8
|
export declare namespace InternalServerErrorBody {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
11
|
-
error?: string | null;
|
|
10
|
+
errors?: string[] | null;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -29,6 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.InternalServerErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.InternalServerErrorBody = core.serialization.object({
|
|
32
|
-
|
|
33
|
-
error: core.serialization.string().optional(),
|
|
32
|
+
errors: core.serialization.list(core.serialization.string()).optional(),
|
|
34
33
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Pinnacle from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const RcsFunctionalities: core.serialization.ObjectSchema<serializers.RcsFunctionalities.Raw, Pinnacle.RcsFunctionalities>;
|
|
8
|
+
export declare namespace RcsFunctionalities {
|
|
9
|
+
interface Raw {
|
|
10
|
+
is_enabled: boolean;
|
|
11
|
+
standalone_rich_card: boolean;
|
|
12
|
+
carousel_rich_card: boolean;
|
|
13
|
+
create_calendar_event_action: boolean;
|
|
14
|
+
dial_action: boolean;
|
|
15
|
+
open_url_action: boolean;
|
|
16
|
+
share_location_action: boolean;
|
|
17
|
+
view_location_action: boolean;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -26,12 +26,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.RcsFunctionalities = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
exports.RcsFunctionalities = core.serialization.object({
|
|
32
|
+
isEnabled: core.serialization.property("is_enabled", core.serialization.boolean()),
|
|
33
|
+
standaloneRichCard: core.serialization.property("standalone_rich_card", core.serialization.boolean()),
|
|
34
|
+
carouselRichCard: core.serialization.property("carousel_rich_card", core.serialization.boolean()),
|
|
35
|
+
createCalendarEventAction: core.serialization.property("create_calendar_event_action", core.serialization.boolean()),
|
|
36
|
+
dialAction: core.serialization.property("dial_action", core.serialization.boolean()),
|
|
37
|
+
openUrlAction: core.serialization.property("open_url_action", core.serialization.boolean()),
|
|
38
|
+
shareLocationAction: core.serialization.property("share_location_action", core.serialization.boolean()),
|
|
39
|
+
viewLocationAction: core.serialization.property("view_location_action", core.serialization.boolean()),
|
|
37
40
|
});
|
|
@@ -7,6 +7,6 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const UnauthorizedErrorBody: core.serialization.ObjectSchema<serializers.UnauthorizedErrorBody.Raw, Pinnacle.UnauthorizedErrorBody>;
|
|
8
8
|
export declare namespace UnauthorizedErrorBody {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
errors?: string[] | null;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -29,5 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.UnauthorizedErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.UnauthorizedErrorBody = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
errors: core.serialization.list(core.serialization.string()).optional(),
|
|
33
33
|
});
|