blujay 0.0.0-stage → 1.1.0
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/CHANGELOG.md +27 -0
- package/LICENSE +21 -0
- package/README.md +246 -2
- package/dist/cjs/BaseClient.d.ts +47 -0
- package/dist/cjs/BaseClient.js +78 -0
- package/dist/cjs/BaseClient.js.map +1 -0
- package/dist/cjs/Client.d.ts +59 -0
- package/dist/cjs/Client.js +117 -0
- package/dist/cjs/Client.js.map +1 -0
- package/dist/cjs/api/errors/BadGatewayError.d.ts +7 -0
- package/dist/cjs/api/errors/BadGatewayError.js +54 -0
- package/dist/cjs/api/errors/BadGatewayError.js.map +1 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +7 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/BadRequestError.js.map +1 -0
- package/dist/cjs/api/errors/ConflictError.d.ts +7 -0
- package/dist/cjs/api/errors/ConflictError.js +54 -0
- package/dist/cjs/api/errors/ConflictError.js.map +1 -0
- package/dist/cjs/api/errors/ContentTooLargeError.d.ts +7 -0
- package/dist/cjs/api/errors/ContentTooLargeError.js +54 -0
- package/dist/cjs/api/errors/ContentTooLargeError.js.map +1 -0
- package/dist/cjs/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/cjs/api/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/errors/ForbiddenError.js.map +1 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +7 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/InternalServerError.js.map +1 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +7 -0
- package/dist/cjs/api/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/errors/NotFoundError.js.map +1 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js.map +1 -0
- package/dist/cjs/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js.map +1 -0
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +7 -0
- package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/errors/UnauthorizedError.js.map +1 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js.map +1 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.d.ts +7 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.js +54 -0
- package/dist/cjs/api/errors/UnsupportedMediaTypeError.js.map +1 -0
- package/dist/cjs/api/errors/index.d.ts +12 -0
- package/dist/cjs/api/errors/index.js +29 -0
- package/dist/cjs/api/errors/index.js.map +1 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +20 -0
- package/dist/cjs/api/index.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/Client.d.ts +109 -0
- package/dist/cjs/api/resources/attachments/client/Client.js +339 -0
- package/dist/cjs/api/resources/attachments/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/attachments/client/index.js +18 -0
- package/dist/cjs/api/resources/attachments/client/index.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentCreateParams.d.ts +15 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentCreateParams.js +4 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentCreateParams.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentDeleteParams.d.ts +10 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentDeleteParams.js +4 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentDeleteParams.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentDownloadParams.d.ts +10 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentDownloadParams.js +4 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentDownloadParams.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentGetParams.js +4 -0
- package/dist/cjs/api/resources/attachments/client/requests/AttachmentGetParams.js.map +1 -0
- package/dist/cjs/api/resources/attachments/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/attachments/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/attachments/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/attachments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/attachments/exports.js +22 -0
- package/dist/cjs/api/resources/attachments/exports.js.map +1 -0
- package/dist/cjs/api/resources/attachments/index.d.ts +2 -0
- package/dist/cjs/api/resources/attachments/index.js +19 -0
- package/dist/cjs/api/resources/attachments/index.js.map +1 -0
- package/dist/cjs/api/resources/attachments/types/AttachmentCreateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/attachments/types/AttachmentCreateResponse.js +4 -0
- package/dist/cjs/api/resources/attachments/types/AttachmentCreateResponse.js.map +1 -0
- package/dist/cjs/api/resources/attachments/types/AttachmentGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/attachments/types/AttachmentGetResponse.js +4 -0
- package/dist/cjs/api/resources/attachments/types/AttachmentGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/attachments/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/attachments/types/index.js +19 -0
- package/dist/cjs/api/resources/attachments/types/index.js.map +1 -0
- package/dist/cjs/api/resources/calls/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/calls/client/Client.js +114 -0
- package/dist/cjs/api/resources/calls/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/calls/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/calls/client/index.js +18 -0
- package/dist/cjs/api/resources/calls/client/index.js.map +1 -0
- package/dist/cjs/api/resources/calls/client/requests/CallDownloadRecordingParams.d.ts +10 -0
- package/dist/cjs/api/resources/calls/client/requests/CallDownloadRecordingParams.js +4 -0
- package/dist/cjs/api/resources/calls/client/requests/CallDownloadRecordingParams.js.map +1 -0
- package/dist/cjs/api/resources/calls/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/calls/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/calls/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/calls/exports.d.ts +2 -0
- package/dist/cjs/api/resources/calls/exports.js +22 -0
- package/dist/cjs/api/resources/calls/exports.js.map +1 -0
- package/dist/cjs/api/resources/calls/index.d.ts +1 -0
- package/dist/cjs/api/resources/calls/index.js +18 -0
- package/dist/cjs/api/resources/calls/index.js.map +1 -0
- package/dist/cjs/api/resources/capability/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/capability/client/Client.js +136 -0
- package/dist/cjs/api/resources/capability/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/capability/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/capability/client/index.js +18 -0
- package/dist/cjs/api/resources/capability/client/index.js.map +1 -0
- package/dist/cjs/api/resources/capability/client/requests/CapabilityEvaluateServiceParams.d.ts +13 -0
- package/dist/cjs/api/resources/capability/client/requests/CapabilityEvaluateServiceParams.js +4 -0
- package/dist/cjs/api/resources/capability/client/requests/CapabilityEvaluateServiceParams.js.map +1 -0
- package/dist/cjs/api/resources/capability/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/capability/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/capability/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/capability/exports.d.ts +2 -0
- package/dist/cjs/api/resources/capability/exports.js +22 -0
- package/dist/cjs/api/resources/capability/exports.js.map +1 -0
- package/dist/cjs/api/resources/capability/index.d.ts +2 -0
- package/dist/cjs/api/resources/capability/index.js +19 -0
- package/dist/cjs/api/resources/capability/index.js.map +1 -0
- package/dist/cjs/api/resources/capability/types/CapabilityEvaluateServiceResponse.d.ts +9 -0
- package/dist/cjs/api/resources/capability/types/CapabilityEvaluateServiceResponse.js +4 -0
- package/dist/cjs/api/resources/capability/types/CapabilityEvaluateServiceResponse.js.map +1 -0
- package/dist/cjs/api/resources/capability/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/capability/types/index.js +18 -0
- package/dist/cjs/api/resources/capability/types/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/Client.d.ts +271 -0
- package/dist/cjs/api/resources/chats/client/Client.js +660 -0
- package/dist/cjs/api/resources/chats/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chats/client/index.js +18 -0
- package/dist/cjs/api/resources/chats/client/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatCreateParams.d.ts +60 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatCreateParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatCreateParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatDownloadIconParams.d.ts +10 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatDownloadIconParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatDownloadIconParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatGetParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatGetParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatLeaveParams.d.ts +17 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatLeaveParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatLeaveParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatListParams.d.ts +17 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatListParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatListParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatMarkReadParams.d.ts +10 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatMarkReadParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatMarkReadParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatUpdateParams.d.ts +28 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatUpdateParams.js +4 -0
- package/dist/cjs/api/resources/chats/client/requests/ChatUpdateParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/chats/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/chats/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/exports.d.ts +3 -0
- package/dist/cjs/api/resources/chats/exports.js +23 -0
- package/dist/cjs/api/resources/chats/exports.js.map +1 -0
- package/dist/cjs/api/resources/chats/index.d.ts +3 -0
- package/dist/cjs/api/resources/chats/index.js +20 -0
- package/dist/cjs/api/resources/chats/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/chats/resources/index.js +48 -0
- package/dist/cjs/api/resources/chats/resources/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/Client.d.ts +117 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/Client.js +269 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/index.js +18 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/ChatMessageListParams.d.ts +14 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/ChatMessageListParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/ChatMessageListParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/ChatMessageSendParams.d.ts +47 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/ChatMessageSendParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/ChatMessageSendParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/chats/resources/messages/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/messages/exports.js +22 -0
- package/dist/cjs/api/resources/chats/resources/messages/exports.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/index.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/messages/index.js +19 -0
- package/dist/cjs/api/resources/chats/resources/messages/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/ChatMessageListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/ChatMessageListResponse.js +4 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/ChatMessageListResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/ChatMessageSendResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/ChatMessageSendResponse.js +4 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/ChatMessageSendResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/index.js +19 -0
- package/dist/cjs/api/resources/chats/resources/messages/types/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/Client.js +279 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/index.js +18 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantAddParams.d.ts +15 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantAddParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantAddParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantListParams.d.ts +10 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantListParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantListParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantRemoveParams.d.ts +15 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantRemoveParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/ChatParticipantRemoveParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/chats/resources/participants/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/participants/exports.js +22 -0
- package/dist/cjs/api/resources/chats/resources/participants/exports.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/index.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/participants/index.js +19 -0
- package/dist/cjs/api/resources/chats/resources/participants/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantAddResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantAddResponse.js +4 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantAddResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantListResponse.js +4 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantListResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantRemoveResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantRemoveResponse.js +4 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/ChatParticipantRemoveResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/index.js +20 -0
- package/dist/cjs/api/resources/chats/resources/participants/types/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/Client.d.ts +64 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/Client.js +192 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/index.js +18 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/ChatTypingStartParams.d.ts +10 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/ChatTypingStartParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/ChatTypingStartParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/ChatTypingStopParams.d.ts +10 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/ChatTypingStopParams.js +4 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/ChatTypingStopParams.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/chats/resources/typing/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/chats/resources/typing/exports.js +22 -0
- package/dist/cjs/api/resources/chats/resources/typing/exports.js.map +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/index.d.ts +1 -0
- package/dist/cjs/api/resources/chats/resources/typing/index.js +18 -0
- package/dist/cjs/api/resources/chats/resources/typing/index.js.map +1 -0
- package/dist/cjs/api/resources/chats/types/ChatCreateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/types/ChatCreateResponse.js +4 -0
- package/dist/cjs/api/resources/chats/types/ChatCreateResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/types/ChatGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/types/ChatGetResponse.js +4 -0
- package/dist/cjs/api/resources/chats/types/ChatGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/types/ChatLeaveResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/types/ChatLeaveResponse.js +4 -0
- package/dist/cjs/api/resources/chats/types/ChatLeaveResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/types/ChatListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/types/ChatListResponse.js +4 -0
- package/dist/cjs/api/resources/chats/types/ChatListResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/types/ChatUpdateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/chats/types/ChatUpdateResponse.js +4 -0
- package/dist/cjs/api/resources/chats/types/ChatUpdateResponse.js.map +1 -0
- package/dist/cjs/api/resources/chats/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/chats/types/index.js +22 -0
- package/dist/cjs/api/resources/chats/types/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +317 -0
- package/dist/cjs/api/resources/contacts/client/Client.js +963 -0
- package/dist/cjs/api/resources/contacts/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/contacts/client/index.js +18 -0
- package/dist/cjs/api/resources/contacts/client/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactAddTagParams.d.ts +12 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactAddTagParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactAddTagParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactAssignParams.d.ts +12 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactAssignParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactAssignParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactCreateParams.d.ts +25 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactCreateParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactCreateParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactDeleteParams.d.ts +10 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactDeleteParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactDeleteParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactGetParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactGetParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactListParams.d.ts +12 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactListParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactListParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactMarkCompletedParams.d.ts +18 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactMarkCompletedParams.js +11 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactMarkCompletedParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactOptOutAddressParams.d.ts +11 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactOptOutAddressParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactOptOutAddressParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactOptOutParams.d.ts +13 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactOptOutParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactOptOutParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactRemoveOptOutParams.d.ts +10 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactRemoveOptOutParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactRemoveOptOutParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactSearchParams.d.ts +18 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactSearchParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactSearchParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactUpdateParams.d.ts +19 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactUpdateParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactUpdateParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactUpsertParams.d.ts +19 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactUpsertParams.js +4 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactUpsertParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/client/requests/index.d.ts +13 -0
- package/dist/cjs/api/resources/contacts/client/requests/index.js +6 -0
- package/dist/cjs/api/resources/contacts/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/exports.d.ts +3 -0
- package/dist/cjs/api/resources/contacts/exports.js +23 -0
- package/dist/cjs/api/resources/contacts/exports.js.map +1 -0
- package/dist/cjs/api/resources/contacts/index.d.ts +3 -0
- package/dist/cjs/api/resources/contacts/index.js +20 -0
- package/dist/cjs/api/resources/contacts/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/contacts/resources/index.js +43 -0
- package/dist/cjs/api/resources/contacts/resources/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/Client.d.ts +58 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/Client.js +211 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/index.js +18 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/ContactNoteCreateParams.d.ts +13 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/ContactNoteCreateParams.js +4 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/ContactNoteCreateParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/ContactNoteListParams.d.ts +14 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/ContactNoteListParams.js +4 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/ContactNoteListParams.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/contacts/resources/notes/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/resources/notes/exports.js +22 -0
- package/dist/cjs/api/resources/contacts/resources/notes/exports.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/index.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/resources/notes/index.js +19 -0
- package/dist/cjs/api/resources/contacts/resources/notes/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/ContactNoteCreateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/ContactNoteCreateResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/ContactNoteCreateResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/ContactNoteListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/ContactNoteListResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/ContactNoteListResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/index.js +19 -0
- package/dist/cjs/api/resources/contacts/resources/notes/types/index.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactAddTagResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactAddTagResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactAddTagResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactAssignResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactAssignResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactAssignResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactCreateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactCreateResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactCreateResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactGetResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactListResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactListResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactMarkCompletedResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactMarkCompletedResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactMarkCompletedResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactOptOutAddressResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactOptOutAddressResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactOptOutAddressResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactOptOutResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactOptOutResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactOptOutResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactRemoveOptOutResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactRemoveOptOutResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactRemoveOptOutResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactSearchResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactSearchResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactSearchResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactUpdateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactUpdateResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactUpdateResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/ContactUpsertResponse.d.ts +9 -0
- package/dist/cjs/api/resources/contacts/types/ContactUpsertResponse.js +4 -0
- package/dist/cjs/api/resources/contacts/types/ContactUpsertResponse.js.map +1 -0
- package/dist/cjs/api/resources/contacts/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/contacts/types/index.js +29 -0
- package/dist/cjs/api/resources/contacts/types/index.js.map +1 -0
- package/dist/cjs/api/resources/index.d.ts +44 -0
- package/dist/cjs/api/resources/index.js +84 -0
- package/dist/cjs/api/resources/index.js.map +1 -0
- package/dist/cjs/api/resources/me/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/me/client/Client.js +108 -0
- package/dist/cjs/api/resources/me/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/me/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/me/client/index.js +3 -0
- package/dist/cjs/api/resources/me/client/index.js.map +1 -0
- package/dist/cjs/api/resources/me/exports.d.ts +2 -0
- package/dist/cjs/api/resources/me/exports.js +22 -0
- package/dist/cjs/api/resources/me/exports.js.map +1 -0
- package/dist/cjs/api/resources/me/index.d.ts +2 -0
- package/dist/cjs/api/resources/me/index.js +19 -0
- package/dist/cjs/api/resources/me/index.js.map +1 -0
- package/dist/cjs/api/resources/me/types/MeGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/me/types/MeGetResponse.js +4 -0
- package/dist/cjs/api/resources/me/types/MeGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/me/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/me/types/index.js +18 -0
- package/dist/cjs/api/resources/me/types/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/Client.d.ts +142 -0
- package/dist/cjs/api/resources/messages/client/Client.js +460 -0
- package/dist/cjs/api/resources/messages/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/client/index.js +18 -0
- package/dist/cjs/api/resources/messages/client/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageEditParams.d.ts +15 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageEditParams.js +4 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageEditParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageGetParams.d.ts +12 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageGetParams.js +4 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageGetParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageListParams.d.ts +19 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageListParams.js +4 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageListParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageListThreadParams.d.ts +16 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageListThreadParams.js +4 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageListThreadParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageUnsendParams.d.ts +10 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageUnsendParams.js +4 -0
- package/dist/cjs/api/resources/messages/client/requests/MessageUnsendParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/messages/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/messages/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/exports.d.ts +3 -0
- package/dist/cjs/api/resources/messages/exports.js +23 -0
- package/dist/cjs/api/resources/messages/exports.js.map +1 -0
- package/dist/cjs/api/resources/messages/index.d.ts +3 -0
- package/dist/cjs/api/resources/messages/index.js +20 -0
- package/dist/cjs/api/resources/messages/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/messages/resources/index.js +43 -0
- package/dist/cjs/api/resources/messages/resources/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/Client.d.ts +85 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/Client.js +241 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/index.js +18 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/MessageReactionAddParams.d.ts +23 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/MessageReactionAddParams.js +4 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/MessageReactionAddParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/MessageReactionRemoveParams.d.ts +18 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/MessageReactionRemoveParams.js +4 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/MessageReactionRemoveParams.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/messages/resources/reactions/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/reactions/exports.js +22 -0
- package/dist/cjs/api/resources/messages/resources/reactions/exports.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/reactions/index.js +19 -0
- package/dist/cjs/api/resources/messages/resources/reactions/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/MessageReactionAddResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/MessageReactionAddResponse.js +4 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/MessageReactionAddResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/MessageReactionRemoveResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/MessageReactionRemoveResponse.js +4 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/MessageReactionRemoveResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/index.js +19 -0
- package/dist/cjs/api/resources/messages/resources/reactions/types/index.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageEditResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/types/MessageEditResponse.js +4 -0
- package/dist/cjs/api/resources/messages/types/MessageEditResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/types/MessageGetResponse.js +4 -0
- package/dist/cjs/api/resources/messages/types/MessageGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageInclude.d.ts +4 -0
- package/dist/cjs/api/resources/messages/types/MessageInclude.js +8 -0
- package/dist/cjs/api/resources/messages/types/MessageInclude.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/types/MessageListResponse.js +4 -0
- package/dist/cjs/api/resources/messages/types/MessageListResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageListThreadOrder.d.ts +5 -0
- package/dist/cjs/api/resources/messages/types/MessageListThreadOrder.js +9 -0
- package/dist/cjs/api/resources/messages/types/MessageListThreadOrder.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageListThreadResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/types/MessageListThreadResponse.js +4 -0
- package/dist/cjs/api/resources/messages/types/MessageListThreadResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/MessageUnsendResponse.d.ts +9 -0
- package/dist/cjs/api/resources/messages/types/MessageUnsendResponse.js +4 -0
- package/dist/cjs/api/resources/messages/types/MessageUnsendResponse.js.map +1 -0
- package/dist/cjs/api/resources/messages/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/messages/types/index.js +24 -0
- package/dist/cjs/api/resources/messages/types/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/client/Client.d.ts +59 -0
- package/dist/cjs/api/resources/phoneNumbers/client/Client.js +181 -0
- package/dist/cjs/api/resources/phoneNumbers/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/client/index.js +18 -0
- package/dist/cjs/api/resources/phoneNumbers/client/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/PhoneNumberGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/PhoneNumberGetParams.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/PhoneNumberGetParams.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/exports.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/exports.js +23 -0
- package/dist/cjs/api/resources/phoneNumbers/exports.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/index.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/index.js +20 -0
- package/dist/cjs/api/resources/phoneNumbers/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/Client.d.ts +123 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/Client.js +361 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/index.js +18 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDeleteParams.d.ts +10 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDeleteParams.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDeleteParams.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDownloadPhotoParams.d.ts +10 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDownloadPhotoParams.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDownloadPhotoParams.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardGetParams.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardGetParams.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardSetParams.d.ts +32 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardSetParams.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardSetParams.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/exports.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/exports.js +22 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/exports.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/index.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/index.js +19 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardDeleteResponse.d.ts +9 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardDeleteResponse.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardDeleteResponse.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardGetResponse.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardSetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardSetResponse.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardSetResponse.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/index.js +20 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/contactCard/types/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/index.js +43 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/index.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumberGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumberGetResponse.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumberGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumberListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumberListResponse.js +4 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumberListResponse.js.map +1 -0
- package/dist/cjs/api/resources/phoneNumbers/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/types/index.js +19 -0
- package/dist/cjs/api/resources/phoneNumbers/types/index.js.map +1 -0
- package/dist/cjs/api/resources/teamMembers/client/Client.d.ts +33 -0
- package/dist/cjs/api/resources/teamMembers/client/Client.js +114 -0
- package/dist/cjs/api/resources/teamMembers/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/teamMembers/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/teamMembers/client/index.js +3 -0
- package/dist/cjs/api/resources/teamMembers/client/index.js.map +1 -0
- package/dist/cjs/api/resources/teamMembers/exports.d.ts +2 -0
- package/dist/cjs/api/resources/teamMembers/exports.js +22 -0
- package/dist/cjs/api/resources/teamMembers/exports.js.map +1 -0
- package/dist/cjs/api/resources/teamMembers/index.d.ts +2 -0
- package/dist/cjs/api/resources/teamMembers/index.js +19 -0
- package/dist/cjs/api/resources/teamMembers/index.js.map +1 -0
- package/dist/cjs/api/resources/teamMembers/types/TeamMemberListAssignableResponse.d.ts +9 -0
- package/dist/cjs/api/resources/teamMembers/types/TeamMemberListAssignableResponse.js +4 -0
- package/dist/cjs/api/resources/teamMembers/types/TeamMemberListAssignableResponse.js.map +1 -0
- package/dist/cjs/api/resources/teamMembers/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/teamMembers/types/index.js +18 -0
- package/dist/cjs/api/resources/teamMembers/types/index.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/Client.d.ts +129 -0
- package/dist/cjs/api/resources/vcards/client/Client.js +403 -0
- package/dist/cjs/api/resources/vcards/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/vcards/client/index.js +18 -0
- package/dist/cjs/api/resources/vcards/client/index.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardCreateParams.d.ts +64 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardCreateParams.js +31 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardCreateParams.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardDeleteParams.d.ts +10 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardDeleteParams.js +4 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardDeleteParams.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardGetParams.js +4 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardGetParams.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardListParams.d.ts +10 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardListParams.js +4 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardListParams.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardUpdateParams.d.ts +11 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardUpdateParams.js +4 -0
- package/dist/cjs/api/resources/vcards/client/requests/VcardUpdateParams.js.map +1 -0
- package/dist/cjs/api/resources/vcards/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/vcards/client/requests/index.js +6 -0
- package/dist/cjs/api/resources/vcards/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/vcards/exports.d.ts +2 -0
- package/dist/cjs/api/resources/vcards/exports.js +22 -0
- package/dist/cjs/api/resources/vcards/exports.js.map +1 -0
- package/dist/cjs/api/resources/vcards/index.d.ts +2 -0
- package/dist/cjs/api/resources/vcards/index.js +19 -0
- package/dist/cjs/api/resources/vcards/index.js.map +1 -0
- package/dist/cjs/api/resources/vcards/types/VcardCreateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/vcards/types/VcardCreateResponse.js +4 -0
- package/dist/cjs/api/resources/vcards/types/VcardCreateResponse.js.map +1 -0
- package/dist/cjs/api/resources/vcards/types/VcardGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/vcards/types/VcardGetResponse.js +4 -0
- package/dist/cjs/api/resources/vcards/types/VcardGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/vcards/types/VcardListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/vcards/types/VcardListResponse.js +4 -0
- package/dist/cjs/api/resources/vcards/types/VcardListResponse.js.map +1 -0
- package/dist/cjs/api/resources/vcards/types/VcardUpdateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/vcards/types/VcardUpdateResponse.js +4 -0
- package/dist/cjs/api/resources/vcards/types/VcardUpdateResponse.js.map +1 -0
- package/dist/cjs/api/resources/vcards/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/vcards/types/index.js +21 -0
- package/dist/cjs/api/resources/vcards/types/index.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/Client.d.ts +177 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/Client.js +577 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/index.js +18 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/index.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.d.ts +19 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionDeleteParams.d.ts +10 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionDeleteParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionDeleteParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionGetParams.d.ts +10 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionGetParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionGetParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListDeliveriesParams.d.ts +17 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListDeliveriesParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListDeliveriesParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListParams.d.ts +10 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionReplayEventParams.d.ts +12 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionReplayEventParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionReplayEventParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionUpdateParams.d.ts +18 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionUpdateParams.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionUpdateParams.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/webhookSubscriptions/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhookSubscriptions/exports.js +22 -0
- package/dist/cjs/api/resources/webhookSubscriptions/exports.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhookSubscriptions/index.js +19 -0
- package/dist/cjs/api/resources/webhookSubscriptions/index.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionCreateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionCreateResponse.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionCreateResponse.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionGetResponse.d.ts +9 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionGetResponse.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionGetResponse.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionListDeliveriesResponse.d.ts +9 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionListDeliveriesResponse.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionListDeliveriesResponse.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionListResponse.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionListResponse.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionReplayEventResponse.d.ts +9 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionReplayEventResponse.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionReplayEventResponse.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionUpdateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionUpdateResponse.js +4 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/WebhookSubscriptionUpdateResponse.js.map +1 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/index.js +23 -0
- package/dist/cjs/api/resources/webhookSubscriptions/types/index.js.map +1 -0
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/workflows/client/Client.js +197 -0
- package/dist/cjs/api/resources/workflows/client/Client.js.map +1 -0
- package/dist/cjs/api/resources/workflows/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/client/index.js +18 -0
- package/dist/cjs/api/resources/workflows/client/index.js.map +1 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowEnrollParams.d.ts +20 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowEnrollParams.js +4 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowEnrollParams.js.map +1 -0
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/index.js.map +1 -0
- package/dist/cjs/api/resources/workflows/exports.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/exports.js +22 -0
- package/dist/cjs/api/resources/workflows/exports.js.map +1 -0
- package/dist/cjs/api/resources/workflows/index.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/index.js +19 -0
- package/dist/cjs/api/resources/workflows/index.js.map +1 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowEnrollResponse.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowEnrollResponse.js +4 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowEnrollResponse.js.map +1 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowListResponse.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowListResponse.js +4 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowListResponse.js.map +1 -0
- package/dist/cjs/api/resources/workflows/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/types/index.js +19 -0
- package/dist/cjs/api/resources/workflows/types/index.js.map +1 -0
- package/dist/cjs/api/types/AcceptedChatLeave.d.ts +17 -0
- package/dist/cjs/api/types/AcceptedChatLeave.js +14 -0
- package/dist/cjs/api/types/AcceptedChatLeave.js.map +1 -0
- package/dist/cjs/api/types/AcceptedChatMetadataMutation.d.ts +24 -0
- package/dist/cjs/api/types/AcceptedChatMetadataMutation.js +17 -0
- package/dist/cjs/api/types/AcceptedChatMetadataMutation.js.map +1 -0
- package/dist/cjs/api/types/AcceptedGroupParticipantMutation.d.ts +40 -0
- package/dist/cjs/api/types/AcceptedGroupParticipantMutation.js +29 -0
- package/dist/cjs/api/types/AcceptedGroupParticipantMutation.js.map +1 -0
- package/dist/cjs/api/types/AcceptedMessage.d.ts +50 -0
- package/dist/cjs/api/types/AcceptedMessage.js +29 -0
- package/dist/cjs/api/types/AcceptedMessage.js.map +1 -0
- package/dist/cjs/api/types/AcceptedMessageReaction.d.ts +27 -0
- package/dist/cjs/api/types/AcceptedMessageReaction.js +15 -0
- package/dist/cjs/api/types/AcceptedMessageReaction.js.map +1 -0
- package/dist/cjs/api/types/ApiKeyCredential.d.ts +15 -0
- package/dist/cjs/api/types/ApiKeyCredential.js +14 -0
- package/dist/cjs/api/types/ApiKeyCredential.js.map +1 -0
- package/dist/cjs/api/types/ApiKeySummary.d.ts +10 -0
- package/dist/cjs/api/types/ApiKeySummary.js +11 -0
- package/dist/cjs/api/types/ApiKeySummary.js.map +1 -0
- package/dist/cjs/api/types/AssignableTeamMemberList.d.ts +4 -0
- package/dist/cjs/api/types/AssignableTeamMemberList.js +4 -0
- package/dist/cjs/api/types/AssignableTeamMemberList.js.map +1 -0
- package/dist/cjs/api/types/AssignedTeamMember.d.ts +6 -0
- package/dist/cjs/api/types/AssignedTeamMember.js +4 -0
- package/dist/cjs/api/types/AssignedTeamMember.js.map +1 -0
- package/dist/cjs/api/types/Attachment.d.ts +17 -0
- package/dist/cjs/api/types/Attachment.js +11 -0
- package/dist/cjs/api/types/Attachment.js.map +1 -0
- package/dist/cjs/api/types/AttachmentId.d.ts +1 -0
- package/dist/cjs/api/types/AttachmentId.js +4 -0
- package/dist/cjs/api/types/AttachmentId.js.map +1 -0
- package/dist/cjs/api/types/AttachmentUpload.d.ts +19 -0
- package/dist/cjs/api/types/AttachmentUpload.js +4 -0
- package/dist/cjs/api/types/AttachmentUpload.js.map +1 -0
- package/dist/cjs/api/types/AudioOutputPart.d.ts +19 -0
- package/dist/cjs/api/types/AudioOutputPart.js +11 -0
- package/dist/cjs/api/types/AudioOutputPart.js.map +1 -0
- package/dist/cjs/api/types/AudioPart.d.ts +16 -0
- package/dist/cjs/api/types/AudioPart.js +11 -0
- package/dist/cjs/api/types/AudioPart.js.map +1 -0
- package/dist/cjs/api/types/CallEndedWebhookData.d.ts +63 -0
- package/dist/cjs/api/types/CallEndedWebhookData.js +31 -0
- package/dist/cjs/api/types/CallEndedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/CallEndedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/CallEndedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/CallEndedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/CallId.d.ts +1 -0
- package/dist/cjs/api/types/CallId.js +4 -0
- package/dist/cjs/api/types/CallId.js.map +1 -0
- package/dist/cjs/api/types/CallRecordingReadyWebhookData.d.ts +107 -0
- package/dist/cjs/api/types/CallRecordingReadyWebhookData.js +54 -0
- package/dist/cjs/api/types/CallRecordingReadyWebhookData.js.map +1 -0
- package/dist/cjs/api/types/CallRecordingReadyWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/CallRecordingReadyWebhookEvent.js +11 -0
- package/dist/cjs/api/types/CallRecordingReadyWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/CapabilityServiceResult.d.ts +26 -0
- package/dist/cjs/api/types/CapabilityServiceResult.js +19 -0
- package/dist/cjs/api/types/CapabilityServiceResult.js.map +1 -0
- package/dist/cjs/api/types/Chat.d.ts +30 -0
- package/dist/cjs/api/types/Chat.js +14 -0
- package/dist/cjs/api/types/Chat.js.map +1 -0
- package/dist/cjs/api/types/ChatIcon.d.ts +6 -0
- package/dist/cjs/api/types/ChatIcon.js +4 -0
- package/dist/cjs/api/types/ChatIcon.js.map +1 -0
- package/dist/cjs/api/types/ChatIconInput.d.ts +5 -0
- package/dist/cjs/api/types/ChatIconInput.js +4 -0
- package/dist/cjs/api/types/ChatIconInput.js.map +1 -0
- package/dist/cjs/api/types/ChatId.d.ts +1 -0
- package/dist/cjs/api/types/ChatId.js +4 -0
- package/dist/cjs/api/types/ChatId.js.map +1 -0
- package/dist/cjs/api/types/ChatList.d.ts +7 -0
- package/dist/cjs/api/types/ChatList.js +4 -0
- package/dist/cjs/api/types/ChatList.js.map +1 -0
- package/dist/cjs/api/types/ChatParticipant.d.ts +5 -0
- package/dist/cjs/api/types/ChatParticipant.js +4 -0
- package/dist/cjs/api/types/ChatParticipant.js.map +1 -0
- package/dist/cjs/api/types/ChatType.d.ts +6 -0
- package/dist/cjs/api/types/ChatType.js +10 -0
- package/dist/cjs/api/types/ChatType.js.map +1 -0
- package/dist/cjs/api/types/Contact.d.ts +30 -0
- package/dist/cjs/api/types/Contact.js +4 -0
- package/dist/cjs/api/types/Contact.js.map +1 -0
- package/dist/cjs/api/types/ContactAssignmentActionResult.d.ts +30 -0
- package/dist/cjs/api/types/ContactAssignmentActionResult.js +4 -0
- package/dist/cjs/api/types/ContactAssignmentActionResult.js.map +1 -0
- package/dist/cjs/api/types/ContactCardProfile.d.ts +48 -0
- package/dist/cjs/api/types/ContactCardProfile.js +26 -0
- package/dist/cjs/api/types/ContactCardProfile.js.map +1 -0
- package/dist/cjs/api/types/ContactId.d.ts +1 -0
- package/dist/cjs/api/types/ContactId.js +4 -0
- package/dist/cjs/api/types/ContactId.js.map +1 -0
- package/dist/cjs/api/types/ContactList.d.ts +7 -0
- package/dist/cjs/api/types/ContactList.js +4 -0
- package/dist/cjs/api/types/ContactList.js.map +1 -0
- package/dist/cjs/api/types/ContactNote.d.ts +23 -0
- package/dist/cjs/api/types/ContactNote.js +16 -0
- package/dist/cjs/api/types/ContactNote.js.map +1 -0
- package/dist/cjs/api/types/ContactNoteList.d.ts +7 -0
- package/dist/cjs/api/types/ContactNoteList.js +4 -0
- package/dist/cjs/api/types/ContactNoteList.js.map +1 -0
- package/dist/cjs/api/types/ContactSearchResult.d.ts +4 -0
- package/dist/cjs/api/types/ContactSearchResult.js +4 -0
- package/dist/cjs/api/types/ContactSearchResult.js.map +1 -0
- package/dist/cjs/api/types/ContactStageActionResult.d.ts +30 -0
- package/dist/cjs/api/types/ContactStageActionResult.js +4 -0
- package/dist/cjs/api/types/ContactStageActionResult.js.map +1 -0
- package/dist/cjs/api/types/ContactSuppression.d.ts +15 -0
- package/dist/cjs/api/types/ContactSuppression.js +12 -0
- package/dist/cjs/api/types/ContactSuppression.js.map +1 -0
- package/dist/cjs/api/types/ContactTagActionResult.d.ts +30 -0
- package/dist/cjs/api/types/ContactTagActionResult.js +4 -0
- package/dist/cjs/api/types/ContactTagActionResult.js.map +1 -0
- package/dist/cjs/api/types/DirectChatParticipant.d.ts +21 -0
- package/dist/cjs/api/types/DirectChatParticipant.js +14 -0
- package/dist/cjs/api/types/DirectChatParticipant.js.map +1 -0
- package/dist/cjs/api/types/ErrorEnvelope.d.ts +18 -0
- package/dist/cjs/api/types/ErrorEnvelope.js +11 -0
- package/dist/cjs/api/types/ErrorEnvelope.js.map +1 -0
- package/dist/cjs/api/types/ErrorObject.d.ts +20 -0
- package/dist/cjs/api/types/ErrorObject.js +4 -0
- package/dist/cjs/api/types/ErrorObject.js.map +1 -0
- package/dist/cjs/api/types/EventId.d.ts +1 -0
- package/dist/cjs/api/types/EventId.js +4 -0
- package/dist/cjs/api/types/EventId.js.map +1 -0
- package/dist/cjs/api/types/GenericWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/GenericWebhookEvent.js +11 -0
- package/dist/cjs/api/types/GenericWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/GroupNameWebhookData.d.ts +7 -0
- package/dist/cjs/api/types/GroupNameWebhookData.js +4 -0
- package/dist/cjs/api/types/GroupNameWebhookData.js.map +1 -0
- package/dist/cjs/api/types/GroupNameWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/GroupNameWebhookEvent.js +11 -0
- package/dist/cjs/api/types/GroupNameWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/GroupParticipant.d.ts +25 -0
- package/dist/cjs/api/types/GroupParticipant.js +16 -0
- package/dist/cjs/api/types/GroupParticipant.js.map +1 -0
- package/dist/cjs/api/types/GroupParticipantList.d.ts +4 -0
- package/dist/cjs/api/types/GroupParticipantList.js +4 -0
- package/dist/cjs/api/types/GroupParticipantList.js.map +1 -0
- package/dist/cjs/api/types/GroupParticipantWebhookData.d.ts +7 -0
- package/dist/cjs/api/types/GroupParticipantWebhookData.js +4 -0
- package/dist/cjs/api/types/GroupParticipantWebhookData.js.map +1 -0
- package/dist/cjs/api/types/GroupParticipantWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/GroupParticipantWebhookEvent.js +11 -0
- package/dist/cjs/api/types/GroupParticipantWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/GroupPhoneNumber.d.ts +30 -0
- package/dist/cjs/api/types/GroupPhoneNumber.js +16 -0
- package/dist/cjs/api/types/GroupPhoneNumber.js.map +1 -0
- package/dist/cjs/api/types/GroupWebhookParticipant.d.ts +22 -0
- package/dist/cjs/api/types/GroupWebhookParticipant.js +16 -0
- package/dist/cjs/api/types/GroupWebhookParticipant.js.map +1 -0
- package/dist/cjs/api/types/LinkPart.d.ts +13 -0
- package/dist/cjs/api/types/LinkPart.js +11 -0
- package/dist/cjs/api/types/LinkPart.js.map +1 -0
- package/dist/cjs/api/types/Me.d.ts +8 -0
- package/dist/cjs/api/types/Me.js +4 -0
- package/dist/cjs/api/types/Me.js.map +1 -0
- package/dist/cjs/api/types/MediaOutputPart.d.ts +16 -0
- package/dist/cjs/api/types/MediaOutputPart.js +11 -0
- package/dist/cjs/api/types/MediaOutputPart.js.map +1 -0
- package/dist/cjs/api/types/MediaPart.d.ts +16 -0
- package/dist/cjs/api/types/MediaPart.js +11 -0
- package/dist/cjs/api/types/MediaPart.js.map +1 -0
- package/dist/cjs/api/types/MemberId.d.ts +1 -0
- package/dist/cjs/api/types/MemberId.js +4 -0
- package/dist/cjs/api/types/MemberId.js.map +1 -0
- package/dist/cjs/api/types/Message.d.ts +105 -0
- package/dist/cjs/api/types/Message.js +45 -0
- package/dist/cjs/api/types/Message.js.map +1 -0
- package/dist/cjs/api/types/MessageDegradation.d.ts +12 -0
- package/dist/cjs/api/types/MessageDegradation.js +12 -0
- package/dist/cjs/api/types/MessageDegradation.js.map +1 -0
- package/dist/cjs/api/types/MessageEditHistoryEntry.d.ts +4 -0
- package/dist/cjs/api/types/MessageEditHistoryEntry.js +4 -0
- package/dist/cjs/api/types/MessageEditHistoryEntry.js.map +1 -0
- package/dist/cjs/api/types/MessageEditedWebhookData.d.ts +23 -0
- package/dist/cjs/api/types/MessageEditedWebhookData.js +4 -0
- package/dist/cjs/api/types/MessageEditedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/MessageEditedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/MessageEditedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/MessageEditedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/MessageEffect.d.ts +14 -0
- package/dist/cjs/api/types/MessageEffect.js +4 -0
- package/dist/cjs/api/types/MessageEffect.js.map +1 -0
- package/dist/cjs/api/types/MessageFailure.d.ts +21 -0
- package/dist/cjs/api/types/MessageFailure.js +19 -0
- package/dist/cjs/api/types/MessageFailure.js.map +1 -0
- package/dist/cjs/api/types/MessageId.d.ts +1 -0
- package/dist/cjs/api/types/MessageId.js +4 -0
- package/dist/cjs/api/types/MessageId.js.map +1 -0
- package/dist/cjs/api/types/MessageInput.d.ts +22 -0
- package/dist/cjs/api/types/MessageInput.js +14 -0
- package/dist/cjs/api/types/MessageInput.js.map +1 -0
- package/dist/cjs/api/types/MessageLifecycleWebhookData.d.ts +62 -0
- package/dist/cjs/api/types/MessageLifecycleWebhookData.js +30 -0
- package/dist/cjs/api/types/MessageLifecycleWebhookData.js.map +1 -0
- package/dist/cjs/api/types/MessageLifecycleWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/MessageLifecycleWebhookEvent.js +11 -0
- package/dist/cjs/api/types/MessageLifecycleWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/MessageList.d.ts +7 -0
- package/dist/cjs/api/types/MessageList.js +4 -0
- package/dist/cjs/api/types/MessageList.js.map +1 -0
- package/dist/cjs/api/types/MessageOutputPart.d.ts +2 -0
- package/dist/cjs/api/types/MessageOutputPart.js +4 -0
- package/dist/cjs/api/types/MessageOutputPart.js.map +1 -0
- package/dist/cjs/api/types/MessagePart.d.ts +2 -0
- package/dist/cjs/api/types/MessagePart.js +4 -0
- package/dist/cjs/api/types/MessagePart.js.map +1 -0
- package/dist/cjs/api/types/MessageReaction.d.ts +15 -0
- package/dist/cjs/api/types/MessageReaction.js +4 -0
- package/dist/cjs/api/types/MessageReaction.js.map +1 -0
- package/dist/cjs/api/types/MessageReceivedWebhookData.d.ts +61 -0
- package/dist/cjs/api/types/MessageReceivedWebhookData.js +27 -0
- package/dist/cjs/api/types/MessageReceivedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/MessageReceivedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/MessageReceivedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/MessageReceivedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/MessageReplyTo.d.ts +19 -0
- package/dist/cjs/api/types/MessageReplyTo.js +4 -0
- package/dist/cjs/api/types/MessageReplyTo.js.map +1 -0
- package/dist/cjs/api/types/MessageReplyToInfo.d.ts +11 -0
- package/dist/cjs/api/types/MessageReplyToInfo.js +4 -0
- package/dist/cjs/api/types/MessageReplyToInfo.js.map +1 -0
- package/dist/cjs/api/types/MessageSender.d.ts +20 -0
- package/dist/cjs/api/types/MessageSender.js +14 -0
- package/dist/cjs/api/types/MessageSender.js.map +1 -0
- package/dist/cjs/api/types/MessageStatus.d.ts +10 -0
- package/dist/cjs/api/types/MessageStatus.js +14 -0
- package/dist/cjs/api/types/MessageStatus.js.map +1 -0
- package/dist/cjs/api/types/MessageTeamMemberId.d.ts +5 -0
- package/dist/cjs/api/types/MessageTeamMemberId.js +4 -0
- package/dist/cjs/api/types/MessageTeamMemberId.js.map +1 -0
- package/dist/cjs/api/types/MessageUnsentWebhookData.d.ts +29 -0
- package/dist/cjs/api/types/MessageUnsentWebhookData.js +12 -0
- package/dist/cjs/api/types/MessageUnsentWebhookData.js.map +1 -0
- package/dist/cjs/api/types/MessageUnsentWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/MessageUnsentWebhookEvent.js +11 -0
- package/dist/cjs/api/types/MessageUnsentWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/MessageWebhookRecipient.d.ts +19 -0
- package/dist/cjs/api/types/MessageWebhookRecipient.js +14 -0
- package/dist/cjs/api/types/MessageWebhookRecipient.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumber.d.ts +186 -0
- package/dist/cjs/api/types/PhoneNumber.js +59 -0
- package/dist/cjs/api/types/PhoneNumber.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookData.d.ts +10 -0
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookData.js +4 -0
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/PhoneNumberAssignedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumberId.d.ts +1 -0
- package/dist/cjs/api/types/PhoneNumberId.js +4 -0
- package/dist/cjs/api/types/PhoneNumberId.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumberList.d.ts +4 -0
- package/dist/cjs/api/types/PhoneNumberList.js +4 -0
- package/dist/cjs/api/types/PhoneNumberList.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookData.d.ts +10 -0
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookData.js +4 -0
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookData.js.map +1 -0
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookEvent.js +11 -0
- package/dist/cjs/api/types/PhoneNumberReleasedWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/ReactionEmoji.d.ts +4 -0
- package/dist/cjs/api/types/ReactionEmoji.js +4 -0
- package/dist/cjs/api/types/ReactionEmoji.js.map +1 -0
- package/dist/cjs/api/types/ReactionKind.d.ts +12 -0
- package/dist/cjs/api/types/ReactionKind.js +16 -0
- package/dist/cjs/api/types/ReactionKind.js.map +1 -0
- package/dist/cjs/api/types/ReactionReactor.d.ts +11 -0
- package/dist/cjs/api/types/ReactionReactor.js +4 -0
- package/dist/cjs/api/types/ReactionReactor.js.map +1 -0
- package/dist/cjs/api/types/ReactionSticker.d.ts +12 -0
- package/dist/cjs/api/types/ReactionSticker.js +4 -0
- package/dist/cjs/api/types/ReactionSticker.js.map +1 -0
- package/dist/cjs/api/types/ReactionType.d.ts +11 -0
- package/dist/cjs/api/types/ReactionType.js +15 -0
- package/dist/cjs/api/types/ReactionType.js.map +1 -0
- package/dist/cjs/api/types/ReactionWebhookData.d.ts +24 -0
- package/dist/cjs/api/types/ReactionWebhookData.js +4 -0
- package/dist/cjs/api/types/ReactionWebhookData.js.map +1 -0
- package/dist/cjs/api/types/ReactionWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/ReactionWebhookEvent.js +11 -0
- package/dist/cjs/api/types/ReactionWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/SuccessEnvelope.d.ts +12 -0
- package/dist/cjs/api/types/SuccessEnvelope.js +4 -0
- package/dist/cjs/api/types/SuccessEnvelope.js.map +1 -0
- package/dist/cjs/api/types/TeamMember.d.ts +6 -0
- package/dist/cjs/api/types/TeamMember.js +4 -0
- package/dist/cjs/api/types/TeamMember.js.map +1 -0
- package/dist/cjs/api/types/TextDecoration.d.ts +17 -0
- package/dist/cjs/api/types/TextDecoration.js +14 -0
- package/dist/cjs/api/types/TextDecoration.js.map +1 -0
- package/dist/cjs/api/types/TextPart.d.ts +13 -0
- package/dist/cjs/api/types/TextPart.js +11 -0
- package/dist/cjs/api/types/TextPart.js.map +1 -0
- package/dist/cjs/api/types/TraceId.d.ts +1 -0
- package/dist/cjs/api/types/TraceId.js +4 -0
- package/dist/cjs/api/types/TraceId.js.map +1 -0
- package/dist/cjs/api/types/TypingWebhookData.d.ts +16 -0
- package/dist/cjs/api/types/TypingWebhookData.js +4 -0
- package/dist/cjs/api/types/TypingWebhookData.js.map +1 -0
- package/dist/cjs/api/types/TypingWebhookEvent.d.ts +22 -0
- package/dist/cjs/api/types/TypingWebhookEvent.js +11 -0
- package/dist/cjs/api/types/TypingWebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/TypingWebhookParticipant.d.ts +14 -0
- package/dist/cjs/api/types/TypingWebhookParticipant.js +12 -0
- package/dist/cjs/api/types/TypingWebhookParticipant.js.map +1 -0
- package/dist/cjs/api/types/Vcard.d.ts +49 -0
- package/dist/cjs/api/types/Vcard.js +31 -0
- package/dist/cjs/api/types/Vcard.js.map +1 -0
- package/dist/cjs/api/types/VcardFields.d.ts +46 -0
- package/dist/cjs/api/types/VcardFields.js +31 -0
- package/dist/cjs/api/types/VcardFields.js.map +1 -0
- package/dist/cjs/api/types/VcardId.d.ts +1 -0
- package/dist/cjs/api/types/VcardId.js +4 -0
- package/dist/cjs/api/types/VcardId.js.map +1 -0
- package/dist/cjs/api/types/VcardList.d.ts +7 -0
- package/dist/cjs/api/types/VcardList.js +4 -0
- package/dist/cjs/api/types/VcardList.js.map +1 -0
- package/dist/cjs/api/types/VcardPart.d.ts +14 -0
- package/dist/cjs/api/types/VcardPart.js +11 -0
- package/dist/cjs/api/types/VcardPart.js.map +1 -0
- package/dist/cjs/api/types/WebhookDeliveryAttempt.d.ts +78 -0
- package/dist/cjs/api/types/WebhookDeliveryAttempt.js +50 -0
- package/dist/cjs/api/types/WebhookDeliveryAttempt.js.map +1 -0
- package/dist/cjs/api/types/WebhookDeliveryAttemptList.d.ts +7 -0
- package/dist/cjs/api/types/WebhookDeliveryAttemptList.js +4 -0
- package/dist/cjs/api/types/WebhookDeliveryAttemptList.js.map +1 -0
- package/dist/cjs/api/types/WebhookEnvelope.d.ts +27 -0
- package/dist/cjs/api/types/WebhookEnvelope.js +11 -0
- package/dist/cjs/api/types/WebhookEnvelope.js.map +1 -0
- package/dist/cjs/api/types/WebhookEvent.d.ts +73 -0
- package/dist/cjs/api/types/WebhookEvent.js +4 -0
- package/dist/cjs/api/types/WebhookEvent.js.map +1 -0
- package/dist/cjs/api/types/WebhookEventType.d.ts +26 -0
- package/dist/cjs/api/types/WebhookEventType.js +30 -0
- package/dist/cjs/api/types/WebhookEventType.js.map +1 -0
- package/dist/cjs/api/types/WebhookPayloadVersion.d.ts +18 -0
- package/dist/cjs/api/types/WebhookPayloadVersion.js +22 -0
- package/dist/cjs/api/types/WebhookPayloadVersion.js.map +1 -0
- package/dist/cjs/api/types/WebhookPhoneNumberFilter.d.ts +14 -0
- package/dist/cjs/api/types/WebhookPhoneNumberFilter.js +4 -0
- package/dist/cjs/api/types/WebhookPhoneNumberFilter.js.map +1 -0
- package/dist/cjs/api/types/WebhookReplayAccepted.d.ts +12 -0
- package/dist/cjs/api/types/WebhookReplayAccepted.js +11 -0
- package/dist/cjs/api/types/WebhookReplayAccepted.js.map +1 -0
- package/dist/cjs/api/types/WebhookSubscribableEventType.d.ts +34 -0
- package/dist/cjs/api/types/WebhookSubscribableEventType.js +38 -0
- package/dist/cjs/api/types/WebhookSubscribableEventType.js.map +1 -0
- package/dist/cjs/api/types/WebhookSubscription.d.ts +13 -0
- package/dist/cjs/api/types/WebhookSubscription.js +4 -0
- package/dist/cjs/api/types/WebhookSubscription.js.map +1 -0
- package/dist/cjs/api/types/WebhookSubscriptionId.d.ts +1 -0
- package/dist/cjs/api/types/WebhookSubscriptionId.js +4 -0
- package/dist/cjs/api/types/WebhookSubscriptionId.js.map +1 -0
- package/dist/cjs/api/types/WebhookSubscriptionList.d.ts +7 -0
- package/dist/cjs/api/types/WebhookSubscriptionList.js +4 -0
- package/dist/cjs/api/types/WebhookSubscriptionList.js.map +1 -0
- package/dist/cjs/api/types/WebhookSubscriptionStatus.d.ts +5 -0
- package/dist/cjs/api/types/WebhookSubscriptionStatus.js +9 -0
- package/dist/cjs/api/types/WebhookSubscriptionStatus.js.map +1 -0
- package/dist/cjs/api/types/WebhookSubscriptionWithSecret.d.ts +15 -0
- package/dist/cjs/api/types/WebhookSubscriptionWithSecret.js +4 -0
- package/dist/cjs/api/types/WebhookSubscriptionWithSecret.js.map +1 -0
- package/dist/cjs/api/types/Workflow.d.ts +5 -0
- package/dist/cjs/api/types/Workflow.js +4 -0
- package/dist/cjs/api/types/Workflow.js.map +1 -0
- package/dist/cjs/api/types/WorkflowId.d.ts +1 -0
- package/dist/cjs/api/types/WorkflowId.js +4 -0
- package/dist/cjs/api/types/WorkflowId.js.map +1 -0
- package/dist/cjs/api/types/WorkflowList.d.ts +4 -0
- package/dist/cjs/api/types/WorkflowList.js +4 -0
- package/dist/cjs/api/types/WorkflowList.js.map +1 -0
- package/dist/cjs/api/types/WorkflowMetadata.d.ts +9 -0
- package/dist/cjs/api/types/WorkflowMetadata.js +4 -0
- package/dist/cjs/api/types/WorkflowMetadata.js.map +1 -0
- package/dist/cjs/api/types/WorkflowRunSummary.d.ts +5 -0
- package/dist/cjs/api/types/WorkflowRunSummary.js +4 -0
- package/dist/cjs/api/types/WorkflowRunSummary.js.map +1 -0
- package/dist/cjs/api/types/WorkflowTrigger.d.ts +10 -0
- package/dist/cjs/api/types/WorkflowTrigger.js +4 -0
- package/dist/cjs/api/types/WorkflowTrigger.js.map +1 -0
- package/dist/cjs/api/types/WorkspaceId.d.ts +1 -0
- package/dist/cjs/api/types/WorkspaceId.js +4 -0
- package/dist/cjs/api/types/WorkspaceId.js.map +1 -0
- package/dist/cjs/api/types/index.d.ts +129 -0
- package/dist/cjs/api/types/index.js +146 -0
- package/dist/cjs/api/types/index.js.map +1 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +70 -0
- package/dist/cjs/auth/BearerAuthProvider.js.map +1 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +6 -0
- package/dist/cjs/auth/index.js.map +1 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +10 -0
- package/dist/cjs/core/auth/AuthProvider.js.map +1 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +3 -0
- package/dist/cjs/core/auth/AuthRequest.js.map +1 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BasicAuth.js.map +1 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +17 -0
- package/dist/cjs/core/auth/BearerToken.js.map +1 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +10 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js.map +1 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +12 -0
- package/dist/cjs/core/auth/index.js.map +1 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +27 -0
- package/dist/cjs/core/base64.js.map +1 -0
- package/dist/cjs/core/exports.d.ts +2 -0
- package/dist/cjs/core/exports.js +19 -0
- package/dist/cjs/core/exports.js.map +1 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +3 -0
- package/dist/cjs/core/fetcher/APIResponse.js.map +1 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +18 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js.map +1 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +3 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js.map +1 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +14 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js.map +1 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +259 -0
- package/dist/cjs/core/fetcher/Fetcher.js.map +1 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +85 -0
- package/dist/cjs/core/fetcher/Headers.js.map +1 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +93 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js.map +1 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +45 -0
- package/dist/cjs/core/fetcher/RawResponse.js.map +1 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +14 -0
- package/dist/cjs/core/fetcher/Supplier.js.map +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +9 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js.map +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +47 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js.map +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +7 -0
- package/dist/cjs/core/fetcher/getFetchFn.js.map +1 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +12 -0
- package/dist/cjs/core/fetcher/getHeader.js.map +1 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +17 -0
- package/dist/cjs/core/fetcher/getRequestBody.js.map +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +17 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +75 -0
- package/dist/cjs/core/fetcher/getResponseBody.js.map +1 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +20 -0
- package/dist/cjs/core/fetcher/index.js.map +1 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +163 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js.map +1 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -0
- package/dist/cjs/core/fetcher/makeRequest.js +93 -0
- package/dist/cjs/core/fetcher/makeRequest.js.map +1 -0
- package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/core/fetcher/redactUrl.js +89 -0
- package/dist/cjs/core/fetcher/redactUrl.js.map +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +87 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js.map +1 -0
- package/dist/cjs/core/fetcher/signals.d.ts +6 -0
- package/dist/cjs/core/fetcher/signals.js +34 -0
- package/dist/cjs/core/fetcher/signals.js.map +1 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +32 -0
- package/dist/cjs/core/headers.js.map +1 -0
- package/dist/cjs/core/index.d.ts +8 -0
- package/dist/cjs/core/index.js +48 -0
- package/dist/cjs/core/index.js.map +1 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +25 -0
- package/dist/cjs/core/json.js.map +1 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +46 -0
- package/dist/cjs/core/logging/exports.js.map +1 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +18 -0
- package/dist/cjs/core/logging/index.js.map +1 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/logging/logger.js.map +1 -0
- package/dist/cjs/core/pagination/Page.d.ts +33 -0
- package/dist/cjs/core/pagination/Page.js +54 -0
- package/dist/cjs/core/pagination/Page.js.map +1 -0
- package/dist/cjs/core/pagination/exports.d.ts +1 -0
- package/dist/cjs/core/pagination/exports.js +3 -0
- package/dist/cjs/core/pagination/exports.js.map +1 -0
- package/dist/cjs/core/pagination/index.d.ts +1 -0
- package/dist/cjs/core/pagination/index.js +6 -0
- package/dist/cjs/core/pagination/index.js.map +1 -0
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +27 -0
- package/dist/cjs/core/requestBody.js.map +1 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +7 -0
- package/dist/cjs/core/runtime/index.js.map +1 -0
- package/dist/cjs/core/runtime/runtime.d.ts +28 -0
- package/dist/cjs/core/runtime/runtime.js +176 -0
- package/dist/cjs/core/runtime/runtime.js.map +1 -0
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +84 -0
- package/dist/cjs/core/url/QueryStringBuilder.js.map +1 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +3 -0
- package/dist/cjs/core/url/encodePathParam.js +28 -0
- package/dist/cjs/core/url/encodePathParam.js.map +1 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +12 -0
- package/dist/cjs/core/url/index.js.map +1 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +69 -0
- package/dist/cjs/core/url/join.js.map +1 -0
- package/dist/cjs/core/url/qs.d.ts +7 -0
- package/dist/cjs/core/url/qs.js +80 -0
- package/dist/cjs/core/url/qs.js.map +1 -0
- package/dist/cjs/core/utils/index.d.ts +1 -0
- package/dist/cjs/core/utils/index.js +6 -0
- package/dist/cjs/core/utils/index.js.map +1 -0
- package/dist/cjs/core/utils/setObjectProperty.d.ts +12 -0
- package/dist/cjs/core/utils/setObjectProperty.js +49 -0
- package/dist/cjs/core/utils/setObjectProperty.js.map +1 -0
- package/dist/cjs/custom/errors.d.ts +25 -0
- package/dist/cjs/custom/errors.js +80 -0
- package/dist/cjs/custom/errors.js.map +1 -0
- package/dist/cjs/custom/version.d.ts +3 -0
- package/dist/cjs/custom/version.js +13 -0
- package/dist/cjs/custom/version.js.map +1 -0
- package/dist/cjs/custom/webhooks.d.ts +25 -0
- package/dist/cjs/custom/webhooks.js +115 -0
- package/dist/cjs/custom/webhooks.js.map +1 -0
- package/dist/cjs/environments.d.ts +4 -0
- package/dist/cjs/environments.js +8 -0
- package/dist/cjs/environments.js.map +1 -0
- package/dist/cjs/errors/BlujayError.d.ts +27 -0
- package/dist/cjs/errors/BlujayError.js +46 -0
- package/dist/cjs/errors/BlujayError.js.map +1 -0
- package/dist/cjs/errors/BlujayTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/BlujayTimeoutError.js +53 -0
- package/dist/cjs/errors/BlujayTimeoutError.js.map +1 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +69 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js.map +1 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +8 -0
- package/dist/cjs/errors/index.js.map +1 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +18 -0
- package/dist/cjs/exports.js.map +1 -0
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/index.js +52 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/BaseClient.d.ts +47 -0
- package/dist/esm/BaseClient.js +41 -0
- package/dist/esm/BaseClient.js.map +1 -0
- package/dist/esm/Client.d.ts +59 -0
- package/dist/esm/Client.js +80 -0
- package/dist/esm/Client.js.map +1 -0
- package/dist/esm/api/errors/BadGatewayError.d.ts +7 -0
- package/dist/esm/api/errors/BadGatewayError.js +17 -0
- package/dist/esm/api/errors/BadGatewayError.js.map +1 -0
- package/dist/esm/api/errors/BadRequestError.d.ts +7 -0
- package/dist/esm/api/errors/BadRequestError.js +17 -0
- package/dist/esm/api/errors/BadRequestError.js.map +1 -0
- package/dist/esm/api/errors/ConflictError.d.ts +7 -0
- package/dist/esm/api/errors/ConflictError.js +17 -0
- package/dist/esm/api/errors/ConflictError.js.map +1 -0
- package/dist/esm/api/errors/ContentTooLargeError.d.ts +7 -0
- package/dist/esm/api/errors/ContentTooLargeError.js +17 -0
- package/dist/esm/api/errors/ContentTooLargeError.js.map +1 -0
- package/dist/esm/api/errors/ForbiddenError.d.ts +7 -0
- package/dist/esm/api/errors/ForbiddenError.js +17 -0
- package/dist/esm/api/errors/ForbiddenError.js.map +1 -0
- package/dist/esm/api/errors/InternalServerError.d.ts +7 -0
- package/dist/esm/api/errors/InternalServerError.js +17 -0
- package/dist/esm/api/errors/InternalServerError.js.map +1 -0
- package/dist/esm/api/errors/NotFoundError.d.ts +7 -0
- package/dist/esm/api/errors/NotFoundError.js +17 -0
- package/dist/esm/api/errors/NotFoundError.js.map +1 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.ts +7 -0
- package/dist/esm/api/errors/ServiceUnavailableError.js +17 -0
- package/dist/esm/api/errors/ServiceUnavailableError.js.map +1 -0
- package/dist/esm/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/esm/api/errors/TooManyRequestsError.js +17 -0
- package/dist/esm/api/errors/TooManyRequestsError.js.map +1 -0
- package/dist/esm/api/errors/UnauthorizedError.d.ts +7 -0
- package/dist/esm/api/errors/UnauthorizedError.js +17 -0
- package/dist/esm/api/errors/UnauthorizedError.js.map +1 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/dist/esm/api/errors/UnprocessableEntityError.js +17 -0
- package/dist/esm/api/errors/UnprocessableEntityError.js.map +1 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.d.ts +7 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.js +17 -0
- package/dist/esm/api/errors/UnsupportedMediaTypeError.js.map +1 -0
- package/dist/esm/api/errors/index.d.ts +12 -0
- package/dist/esm/api/errors/index.js +13 -0
- package/dist/esm/api/errors/index.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/Client.d.ts +109 -0
- package/dist/esm/api/resources/attachments/client/Client.js +302 -0
- package/dist/esm/api/resources/attachments/client/Client.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/index.d.ts +1 -0
- package/dist/esm/api/resources/attachments/client/index.js +2 -0
- package/dist/esm/api/resources/attachments/client/index.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentCreateParams.d.ts +15 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentCreateParams.js +3 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentCreateParams.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentDeleteParams.d.ts +10 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentDeleteParams.js +3 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentDeleteParams.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentDownloadParams.d.ts +10 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentDownloadParams.js +3 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentDownloadParams.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentGetParams.d.ts +10 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentGetParams.js +3 -0
- package/dist/esm/api/resources/attachments/client/requests/AttachmentGetParams.js.map +1 -0
- package/dist/esm/api/resources/attachments/client/requests/index.d.ts +4 -0
- package/dist/esm/api/resources/attachments/client/requests/index.js +2 -0
- package/dist/esm/api/resources/attachments/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/attachments/exports.d.ts +2 -0
- package/dist/esm/api/resources/attachments/exports.js +4 -0
- package/dist/esm/api/resources/attachments/exports.js.map +1 -0
- package/dist/esm/api/resources/attachments/index.d.ts +2 -0
- package/dist/esm/api/resources/attachments/index.js +3 -0
- package/dist/esm/api/resources/attachments/index.js.map +1 -0
- package/dist/esm/api/resources/attachments/types/AttachmentCreateResponse.d.ts +9 -0
- package/dist/esm/api/resources/attachments/types/AttachmentCreateResponse.js +3 -0
- package/dist/esm/api/resources/attachments/types/AttachmentCreateResponse.js.map +1 -0
- package/dist/esm/api/resources/attachments/types/AttachmentGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/attachments/types/AttachmentGetResponse.js +3 -0
- package/dist/esm/api/resources/attachments/types/AttachmentGetResponse.js.map +1 -0
- package/dist/esm/api/resources/attachments/types/index.d.ts +2 -0
- package/dist/esm/api/resources/attachments/types/index.js +3 -0
- package/dist/esm/api/resources/attachments/types/index.js.map +1 -0
- package/dist/esm/api/resources/calls/client/Client.d.ts +30 -0
- package/dist/esm/api/resources/calls/client/Client.js +77 -0
- package/dist/esm/api/resources/calls/client/Client.js.map +1 -0
- package/dist/esm/api/resources/calls/client/index.d.ts +1 -0
- package/dist/esm/api/resources/calls/client/index.js +2 -0
- package/dist/esm/api/resources/calls/client/index.js.map +1 -0
- package/dist/esm/api/resources/calls/client/requests/CallDownloadRecordingParams.d.ts +10 -0
- package/dist/esm/api/resources/calls/client/requests/CallDownloadRecordingParams.js +3 -0
- package/dist/esm/api/resources/calls/client/requests/CallDownloadRecordingParams.js.map +1 -0
- package/dist/esm/api/resources/calls/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/calls/client/requests/index.js +2 -0
- package/dist/esm/api/resources/calls/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/calls/exports.d.ts +2 -0
- package/dist/esm/api/resources/calls/exports.js +4 -0
- package/dist/esm/api/resources/calls/exports.js.map +1 -0
- package/dist/esm/api/resources/calls/index.d.ts +1 -0
- package/dist/esm/api/resources/calls/index.js +2 -0
- package/dist/esm/api/resources/calls/index.js.map +1 -0
- package/dist/esm/api/resources/capability/client/Client.d.ts +47 -0
- package/dist/esm/api/resources/capability/client/Client.js +99 -0
- package/dist/esm/api/resources/capability/client/Client.js.map +1 -0
- package/dist/esm/api/resources/capability/client/index.d.ts +1 -0
- package/dist/esm/api/resources/capability/client/index.js +2 -0
- package/dist/esm/api/resources/capability/client/index.js.map +1 -0
- package/dist/esm/api/resources/capability/client/requests/CapabilityEvaluateServiceParams.d.ts +13 -0
- package/dist/esm/api/resources/capability/client/requests/CapabilityEvaluateServiceParams.js +3 -0
- package/dist/esm/api/resources/capability/client/requests/CapabilityEvaluateServiceParams.js.map +1 -0
- package/dist/esm/api/resources/capability/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/capability/client/requests/index.js +2 -0
- package/dist/esm/api/resources/capability/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/capability/exports.d.ts +2 -0
- package/dist/esm/api/resources/capability/exports.js +4 -0
- package/dist/esm/api/resources/capability/exports.js.map +1 -0
- package/dist/esm/api/resources/capability/index.d.ts +2 -0
- package/dist/esm/api/resources/capability/index.js +3 -0
- package/dist/esm/api/resources/capability/index.js.map +1 -0
- package/dist/esm/api/resources/capability/types/CapabilityEvaluateServiceResponse.d.ts +9 -0
- package/dist/esm/api/resources/capability/types/CapabilityEvaluateServiceResponse.js +3 -0
- package/dist/esm/api/resources/capability/types/CapabilityEvaluateServiceResponse.js.map +1 -0
- package/dist/esm/api/resources/capability/types/index.d.ts +1 -0
- package/dist/esm/api/resources/capability/types/index.js +2 -0
- package/dist/esm/api/resources/capability/types/index.js.map +1 -0
- package/dist/esm/api/resources/chats/client/Client.d.ts +271 -0
- package/dist/esm/api/resources/chats/client/Client.js +623 -0
- package/dist/esm/api/resources/chats/client/Client.js.map +1 -0
- package/dist/esm/api/resources/chats/client/index.d.ts +1 -0
- package/dist/esm/api/resources/chats/client/index.js +2 -0
- package/dist/esm/api/resources/chats/client/index.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatCreateParams.d.ts +60 -0
- package/dist/esm/api/resources/chats/client/requests/ChatCreateParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatCreateParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatDownloadIconParams.d.ts +10 -0
- package/dist/esm/api/resources/chats/client/requests/ChatDownloadIconParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatDownloadIconParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatGetParams.d.ts +10 -0
- package/dist/esm/api/resources/chats/client/requests/ChatGetParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatGetParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatLeaveParams.d.ts +17 -0
- package/dist/esm/api/resources/chats/client/requests/ChatLeaveParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatLeaveParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatListParams.d.ts +17 -0
- package/dist/esm/api/resources/chats/client/requests/ChatListParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatListParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatMarkReadParams.d.ts +10 -0
- package/dist/esm/api/resources/chats/client/requests/ChatMarkReadParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatMarkReadParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/ChatUpdateParams.d.ts +28 -0
- package/dist/esm/api/resources/chats/client/requests/ChatUpdateParams.js +3 -0
- package/dist/esm/api/resources/chats/client/requests/ChatUpdateParams.js.map +1 -0
- package/dist/esm/api/resources/chats/client/requests/index.d.ts +7 -0
- package/dist/esm/api/resources/chats/client/requests/index.js +2 -0
- package/dist/esm/api/resources/chats/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/chats/exports.d.ts +3 -0
- package/dist/esm/api/resources/chats/exports.js +5 -0
- package/dist/esm/api/resources/chats/exports.js.map +1 -0
- package/dist/esm/api/resources/chats/index.d.ts +3 -0
- package/dist/esm/api/resources/chats/index.js +4 -0
- package/dist/esm/api/resources/chats/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/index.d.ts +8 -0
- package/dist/esm/api/resources/chats/resources/index.js +9 -0
- package/dist/esm/api/resources/chats/resources/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/client/Client.d.ts +117 -0
- package/dist/esm/api/resources/chats/resources/messages/client/Client.js +232 -0
- package/dist/esm/api/resources/chats/resources/messages/client/Client.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/client/index.d.ts +1 -0
- package/dist/esm/api/resources/chats/resources/messages/client/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/messages/client/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/ChatMessageListParams.d.ts +14 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/ChatMessageListParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/ChatMessageListParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/ChatMessageSendParams.d.ts +47 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/ChatMessageSendParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/ChatMessageSendParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/index.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/messages/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/exports.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/messages/exports.js +4 -0
- package/dist/esm/api/resources/chats/resources/messages/exports.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/index.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/messages/index.js +3 -0
- package/dist/esm/api/resources/chats/resources/messages/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/types/ChatMessageListResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/resources/messages/types/ChatMessageListResponse.js +3 -0
- package/dist/esm/api/resources/chats/resources/messages/types/ChatMessageListResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/types/ChatMessageSendResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/resources/messages/types/ChatMessageSendResponse.js +3 -0
- package/dist/esm/api/resources/chats/resources/messages/types/ChatMessageSendResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/messages/types/index.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/messages/types/index.js +3 -0
- package/dist/esm/api/resources/chats/resources/messages/types/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/Client.d.ts +90 -0
- package/dist/esm/api/resources/chats/resources/participants/client/Client.js +242 -0
- package/dist/esm/api/resources/chats/resources/participants/client/Client.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/index.d.ts +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/participants/client/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantAddParams.d.ts +15 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantAddParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantAddParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantListParams.d.ts +10 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantListParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantListParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantRemoveParams.d.ts +15 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantRemoveParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/ChatParticipantRemoveParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/index.d.ts +3 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/participants/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/exports.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/participants/exports.js +4 -0
- package/dist/esm/api/resources/chats/resources/participants/exports.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/index.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/participants/index.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantAddResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantAddResponse.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantAddResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantListResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantListResponse.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantListResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantRemoveResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantRemoveResponse.js +3 -0
- package/dist/esm/api/resources/chats/resources/participants/types/ChatParticipantRemoveResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/participants/types/index.d.ts +3 -0
- package/dist/esm/api/resources/chats/resources/participants/types/index.js +4 -0
- package/dist/esm/api/resources/chats/resources/participants/types/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/client/Client.d.ts +64 -0
- package/dist/esm/api/resources/chats/resources/typing/client/Client.js +155 -0
- package/dist/esm/api/resources/chats/resources/typing/client/Client.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/client/index.d.ts +1 -0
- package/dist/esm/api/resources/chats/resources/typing/client/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/typing/client/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/ChatTypingStartParams.d.ts +10 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/ChatTypingStartParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/ChatTypingStartParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/ChatTypingStopParams.d.ts +10 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/ChatTypingStopParams.js +3 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/ChatTypingStopParams.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/index.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/typing/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/exports.d.ts +2 -0
- package/dist/esm/api/resources/chats/resources/typing/exports.js +4 -0
- package/dist/esm/api/resources/chats/resources/typing/exports.js.map +1 -0
- package/dist/esm/api/resources/chats/resources/typing/index.d.ts +1 -0
- package/dist/esm/api/resources/chats/resources/typing/index.js +2 -0
- package/dist/esm/api/resources/chats/resources/typing/index.js.map +1 -0
- package/dist/esm/api/resources/chats/types/ChatCreateResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/types/ChatCreateResponse.js +3 -0
- package/dist/esm/api/resources/chats/types/ChatCreateResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/types/ChatGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/types/ChatGetResponse.js +3 -0
- package/dist/esm/api/resources/chats/types/ChatGetResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/types/ChatLeaveResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/types/ChatLeaveResponse.js +3 -0
- package/dist/esm/api/resources/chats/types/ChatLeaveResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/types/ChatListResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/types/ChatListResponse.js +3 -0
- package/dist/esm/api/resources/chats/types/ChatListResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/types/ChatUpdateResponse.d.ts +9 -0
- package/dist/esm/api/resources/chats/types/ChatUpdateResponse.js +3 -0
- package/dist/esm/api/resources/chats/types/ChatUpdateResponse.js.map +1 -0
- package/dist/esm/api/resources/chats/types/index.d.ts +5 -0
- package/dist/esm/api/resources/chats/types/index.js +6 -0
- package/dist/esm/api/resources/chats/types/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/Client.d.ts +317 -0
- package/dist/esm/api/resources/contacts/client/Client.js +926 -0
- package/dist/esm/api/resources/contacts/client/Client.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/index.d.ts +1 -0
- package/dist/esm/api/resources/contacts/client/index.js +2 -0
- package/dist/esm/api/resources/contacts/client/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactAddTagParams.d.ts +12 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactAddTagParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactAddTagParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactAssignParams.d.ts +12 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactAssignParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactAssignParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactCreateParams.d.ts +25 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactCreateParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactCreateParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactDeleteParams.d.ts +10 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactDeleteParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactDeleteParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactGetParams.d.ts +10 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactGetParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactGetParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactListParams.d.ts +12 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactListParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactListParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactMarkCompletedParams.d.ts +18 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactMarkCompletedParams.js +8 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactMarkCompletedParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactOptOutAddressParams.d.ts +11 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactOptOutAddressParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactOptOutAddressParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactOptOutParams.d.ts +13 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactOptOutParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactOptOutParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactRemoveOptOutParams.d.ts +10 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactRemoveOptOutParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactRemoveOptOutParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactSearchParams.d.ts +18 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactSearchParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactSearchParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactUpdateParams.d.ts +19 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactUpdateParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactUpdateParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactUpsertParams.d.ts +19 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactUpsertParams.js +3 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactUpsertParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/client/requests/index.d.ts +13 -0
- package/dist/esm/api/resources/contacts/client/requests/index.js +2 -0
- package/dist/esm/api/resources/contacts/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/exports.d.ts +3 -0
- package/dist/esm/api/resources/contacts/exports.js +5 -0
- package/dist/esm/api/resources/contacts/exports.js.map +1 -0
- package/dist/esm/api/resources/contacts/index.d.ts +3 -0
- package/dist/esm/api/resources/contacts/index.js +4 -0
- package/dist/esm/api/resources/contacts/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/index.d.ts +3 -0
- package/dist/esm/api/resources/contacts/resources/index.js +4 -0
- package/dist/esm/api/resources/contacts/resources/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/Client.d.ts +58 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/Client.js +174 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/Client.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/index.d.ts +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/index.js +2 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/ContactNoteCreateParams.d.ts +13 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/ContactNoteCreateParams.js +3 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/ContactNoteCreateParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/ContactNoteListParams.d.ts +14 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/ContactNoteListParams.js +3 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/ContactNoteListParams.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/index.d.ts +2 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/index.js +2 -0
- package/dist/esm/api/resources/contacts/resources/notes/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/exports.d.ts +2 -0
- package/dist/esm/api/resources/contacts/resources/notes/exports.js +4 -0
- package/dist/esm/api/resources/contacts/resources/notes/exports.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/index.d.ts +2 -0
- package/dist/esm/api/resources/contacts/resources/notes/index.js +3 -0
- package/dist/esm/api/resources/contacts/resources/notes/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/ContactNoteCreateResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/ContactNoteCreateResponse.js +3 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/ContactNoteCreateResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/ContactNoteListResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/ContactNoteListResponse.js +3 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/ContactNoteListResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/index.d.ts +2 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/index.js +3 -0
- package/dist/esm/api/resources/contacts/resources/notes/types/index.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactAddTagResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactAddTagResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactAddTagResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactAssignResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactAssignResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactAssignResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactCreateResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactCreateResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactCreateResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactGetResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactGetResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactListResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactListResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactListResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactMarkCompletedResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactMarkCompletedResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactMarkCompletedResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactOptOutAddressResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactOptOutAddressResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactOptOutAddressResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactOptOutResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactOptOutResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactOptOutResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactRemoveOptOutResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactRemoveOptOutResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactRemoveOptOutResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactSearchResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactSearchResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactSearchResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactUpdateResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactUpdateResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactUpdateResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/ContactUpsertResponse.d.ts +9 -0
- package/dist/esm/api/resources/contacts/types/ContactUpsertResponse.js +3 -0
- package/dist/esm/api/resources/contacts/types/ContactUpsertResponse.js.map +1 -0
- package/dist/esm/api/resources/contacts/types/index.d.ts +12 -0
- package/dist/esm/api/resources/contacts/types/index.js +13 -0
- package/dist/esm/api/resources/contacts/types/index.js.map +1 -0
- package/dist/esm/api/resources/index.d.ts +44 -0
- package/dist/esm/api/resources/index.js +45 -0
- package/dist/esm/api/resources/index.js.map +1 -0
- package/dist/esm/api/resources/me/client/Client.d.ts +30 -0
- package/dist/esm/api/resources/me/client/Client.js +71 -0
- package/dist/esm/api/resources/me/client/Client.js.map +1 -0
- package/dist/esm/api/resources/me/client/index.d.ts +1 -0
- package/dist/esm/api/resources/me/client/index.js +2 -0
- package/dist/esm/api/resources/me/client/index.js.map +1 -0
- package/dist/esm/api/resources/me/exports.d.ts +2 -0
- package/dist/esm/api/resources/me/exports.js +4 -0
- package/dist/esm/api/resources/me/exports.js.map +1 -0
- package/dist/esm/api/resources/me/index.d.ts +2 -0
- package/dist/esm/api/resources/me/index.js +3 -0
- package/dist/esm/api/resources/me/index.js.map +1 -0
- package/dist/esm/api/resources/me/types/MeGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/me/types/MeGetResponse.js +3 -0
- package/dist/esm/api/resources/me/types/MeGetResponse.js.map +1 -0
- package/dist/esm/api/resources/me/types/index.d.ts +1 -0
- package/dist/esm/api/resources/me/types/index.js +2 -0
- package/dist/esm/api/resources/me/types/index.js.map +1 -0
- package/dist/esm/api/resources/messages/client/Client.d.ts +142 -0
- package/dist/esm/api/resources/messages/client/Client.js +423 -0
- package/dist/esm/api/resources/messages/client/Client.js.map +1 -0
- package/dist/esm/api/resources/messages/client/index.d.ts +1 -0
- package/dist/esm/api/resources/messages/client/index.js +2 -0
- package/dist/esm/api/resources/messages/client/index.js.map +1 -0
- package/dist/esm/api/resources/messages/client/requests/MessageEditParams.d.ts +15 -0
- package/dist/esm/api/resources/messages/client/requests/MessageEditParams.js +3 -0
- package/dist/esm/api/resources/messages/client/requests/MessageEditParams.js.map +1 -0
- package/dist/esm/api/resources/messages/client/requests/MessageGetParams.d.ts +12 -0
- package/dist/esm/api/resources/messages/client/requests/MessageGetParams.js +3 -0
- package/dist/esm/api/resources/messages/client/requests/MessageGetParams.js.map +1 -0
- package/dist/esm/api/resources/messages/client/requests/MessageListParams.d.ts +19 -0
- package/dist/esm/api/resources/messages/client/requests/MessageListParams.js +3 -0
- package/dist/esm/api/resources/messages/client/requests/MessageListParams.js.map +1 -0
- package/dist/esm/api/resources/messages/client/requests/MessageListThreadParams.d.ts +16 -0
- package/dist/esm/api/resources/messages/client/requests/MessageListThreadParams.js +3 -0
- package/dist/esm/api/resources/messages/client/requests/MessageListThreadParams.js.map +1 -0
- package/dist/esm/api/resources/messages/client/requests/MessageUnsendParams.d.ts +10 -0
- package/dist/esm/api/resources/messages/client/requests/MessageUnsendParams.js +3 -0
- package/dist/esm/api/resources/messages/client/requests/MessageUnsendParams.js.map +1 -0
- package/dist/esm/api/resources/messages/client/requests/index.d.ts +5 -0
- package/dist/esm/api/resources/messages/client/requests/index.js +2 -0
- package/dist/esm/api/resources/messages/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/messages/exports.d.ts +3 -0
- package/dist/esm/api/resources/messages/exports.js +5 -0
- package/dist/esm/api/resources/messages/exports.js.map +1 -0
- package/dist/esm/api/resources/messages/index.d.ts +3 -0
- package/dist/esm/api/resources/messages/index.js +4 -0
- package/dist/esm/api/resources/messages/index.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/index.d.ts +3 -0
- package/dist/esm/api/resources/messages/resources/index.js +4 -0
- package/dist/esm/api/resources/messages/resources/index.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/Client.d.ts +85 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/Client.js +204 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/Client.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/index.d.ts +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/index.js +2 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/index.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/MessageReactionAddParams.d.ts +23 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/MessageReactionAddParams.js +3 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/MessageReactionAddParams.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/MessageReactionRemoveParams.d.ts +18 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/MessageReactionRemoveParams.js +3 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/MessageReactionRemoveParams.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/index.d.ts +2 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/index.js +2 -0
- package/dist/esm/api/resources/messages/resources/reactions/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/exports.d.ts +2 -0
- package/dist/esm/api/resources/messages/resources/reactions/exports.js +4 -0
- package/dist/esm/api/resources/messages/resources/reactions/exports.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/index.d.ts +2 -0
- package/dist/esm/api/resources/messages/resources/reactions/index.js +3 -0
- package/dist/esm/api/resources/messages/resources/reactions/index.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/MessageReactionAddResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/MessageReactionAddResponse.js +3 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/MessageReactionAddResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/MessageReactionRemoveResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/MessageReactionRemoveResponse.js +3 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/MessageReactionRemoveResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/index.d.ts +2 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/index.js +3 -0
- package/dist/esm/api/resources/messages/resources/reactions/types/index.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageEditResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/types/MessageEditResponse.js +3 -0
- package/dist/esm/api/resources/messages/types/MessageEditResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/types/MessageGetResponse.js +3 -0
- package/dist/esm/api/resources/messages/types/MessageGetResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageInclude.d.ts +4 -0
- package/dist/esm/api/resources/messages/types/MessageInclude.js +5 -0
- package/dist/esm/api/resources/messages/types/MessageInclude.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageListResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/types/MessageListResponse.js +3 -0
- package/dist/esm/api/resources/messages/types/MessageListResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageListThreadOrder.d.ts +5 -0
- package/dist/esm/api/resources/messages/types/MessageListThreadOrder.js +6 -0
- package/dist/esm/api/resources/messages/types/MessageListThreadOrder.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageListThreadResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/types/MessageListThreadResponse.js +3 -0
- package/dist/esm/api/resources/messages/types/MessageListThreadResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/types/MessageUnsendResponse.d.ts +9 -0
- package/dist/esm/api/resources/messages/types/MessageUnsendResponse.js +3 -0
- package/dist/esm/api/resources/messages/types/MessageUnsendResponse.js.map +1 -0
- package/dist/esm/api/resources/messages/types/index.d.ts +7 -0
- package/dist/esm/api/resources/messages/types/index.js +8 -0
- package/dist/esm/api/resources/messages/types/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/Client.d.ts +59 -0
- package/dist/esm/api/resources/phoneNumbers/client/Client.js +144 -0
- package/dist/esm/api/resources/phoneNumbers/client/Client.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/index.js +2 -0
- package/dist/esm/api/resources/phoneNumbers/client/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/PhoneNumberGetParams.d.ts +10 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/PhoneNumberGetParams.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/PhoneNumberGetParams.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/index.js +2 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/exports.d.ts +3 -0
- package/dist/esm/api/resources/phoneNumbers/exports.js +5 -0
- package/dist/esm/api/resources/phoneNumbers/exports.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/index.d.ts +3 -0
- package/dist/esm/api/resources/phoneNumbers/index.js +4 -0
- package/dist/esm/api/resources/phoneNumbers/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/Client.d.ts +123 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/Client.js +324 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/Client.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/index.d.ts +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/index.js +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDeleteParams.d.ts +10 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDeleteParams.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDeleteParams.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDownloadPhotoParams.d.ts +10 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDownloadPhotoParams.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardDownloadPhotoParams.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardGetParams.d.ts +10 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardGetParams.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardGetParams.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardSetParams.d.ts +32 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardSetParams.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/PhoneNumberContactCardSetParams.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/index.d.ts +4 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/index.js +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/exports.d.ts +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/exports.js +4 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/exports.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/index.d.ts +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/index.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardDeleteResponse.d.ts +9 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardDeleteResponse.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardDeleteResponse.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardGetResponse.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardGetResponse.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardSetResponse.d.ts +9 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardSetResponse.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/PhoneNumberContactCardSetResponse.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/index.d.ts +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/index.js +4 -0
- package/dist/esm/api/resources/phoneNumbers/resources/contactCard/types/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/index.d.ts +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/index.js +4 -0
- package/dist/esm/api/resources/phoneNumbers/resources/index.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumberGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumberGetResponse.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumberGetResponse.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumberListResponse.d.ts +9 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumberListResponse.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumberListResponse.js.map +1 -0
- package/dist/esm/api/resources/phoneNumbers/types/index.d.ts +2 -0
- package/dist/esm/api/resources/phoneNumbers/types/index.js +3 -0
- package/dist/esm/api/resources/phoneNumbers/types/index.js.map +1 -0
- package/dist/esm/api/resources/teamMembers/client/Client.d.ts +33 -0
- package/dist/esm/api/resources/teamMembers/client/Client.js +77 -0
- package/dist/esm/api/resources/teamMembers/client/Client.js.map +1 -0
- package/dist/esm/api/resources/teamMembers/client/index.d.ts +1 -0
- package/dist/esm/api/resources/teamMembers/client/index.js +2 -0
- package/dist/esm/api/resources/teamMembers/client/index.js.map +1 -0
- package/dist/esm/api/resources/teamMembers/exports.d.ts +2 -0
- package/dist/esm/api/resources/teamMembers/exports.js +4 -0
- package/dist/esm/api/resources/teamMembers/exports.js.map +1 -0
- package/dist/esm/api/resources/teamMembers/index.d.ts +2 -0
- package/dist/esm/api/resources/teamMembers/index.js +3 -0
- package/dist/esm/api/resources/teamMembers/index.js.map +1 -0
- package/dist/esm/api/resources/teamMembers/types/TeamMemberListAssignableResponse.d.ts +9 -0
- package/dist/esm/api/resources/teamMembers/types/TeamMemberListAssignableResponse.js +3 -0
- package/dist/esm/api/resources/teamMembers/types/TeamMemberListAssignableResponse.js.map +1 -0
- package/dist/esm/api/resources/teamMembers/types/index.d.ts +1 -0
- package/dist/esm/api/resources/teamMembers/types/index.js +2 -0
- package/dist/esm/api/resources/teamMembers/types/index.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/Client.d.ts +129 -0
- package/dist/esm/api/resources/vcards/client/Client.js +366 -0
- package/dist/esm/api/resources/vcards/client/Client.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/index.d.ts +1 -0
- package/dist/esm/api/resources/vcards/client/index.js +2 -0
- package/dist/esm/api/resources/vcards/client/index.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardCreateParams.d.ts +64 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardCreateParams.js +28 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardCreateParams.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardDeleteParams.d.ts +10 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardDeleteParams.js +3 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardDeleteParams.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardGetParams.d.ts +10 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardGetParams.js +3 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardGetParams.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardListParams.d.ts +10 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardListParams.js +3 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardListParams.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardUpdateParams.d.ts +11 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardUpdateParams.js +3 -0
- package/dist/esm/api/resources/vcards/client/requests/VcardUpdateParams.js.map +1 -0
- package/dist/esm/api/resources/vcards/client/requests/index.d.ts +5 -0
- package/dist/esm/api/resources/vcards/client/requests/index.js +2 -0
- package/dist/esm/api/resources/vcards/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/vcards/exports.d.ts +2 -0
- package/dist/esm/api/resources/vcards/exports.js +4 -0
- package/dist/esm/api/resources/vcards/exports.js.map +1 -0
- package/dist/esm/api/resources/vcards/index.d.ts +2 -0
- package/dist/esm/api/resources/vcards/index.js +3 -0
- package/dist/esm/api/resources/vcards/index.js.map +1 -0
- package/dist/esm/api/resources/vcards/types/VcardCreateResponse.d.ts +9 -0
- package/dist/esm/api/resources/vcards/types/VcardCreateResponse.js +3 -0
- package/dist/esm/api/resources/vcards/types/VcardCreateResponse.js.map +1 -0
- package/dist/esm/api/resources/vcards/types/VcardGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/vcards/types/VcardGetResponse.js +3 -0
- package/dist/esm/api/resources/vcards/types/VcardGetResponse.js.map +1 -0
- package/dist/esm/api/resources/vcards/types/VcardListResponse.d.ts +9 -0
- package/dist/esm/api/resources/vcards/types/VcardListResponse.js +3 -0
- package/dist/esm/api/resources/vcards/types/VcardListResponse.js.map +1 -0
- package/dist/esm/api/resources/vcards/types/VcardUpdateResponse.d.ts +9 -0
- package/dist/esm/api/resources/vcards/types/VcardUpdateResponse.js +3 -0
- package/dist/esm/api/resources/vcards/types/VcardUpdateResponse.js.map +1 -0
- package/dist/esm/api/resources/vcards/types/index.d.ts +4 -0
- package/dist/esm/api/resources/vcards/types/index.js +5 -0
- package/dist/esm/api/resources/vcards/types/index.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/Client.d.ts +177 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/Client.js +540 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/Client.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/index.d.ts +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/index.js +2 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/index.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.d.ts +19 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionCreateParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionDeleteParams.d.ts +10 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionDeleteParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionDeleteParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionGetParams.d.ts +10 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionGetParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionGetParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListDeliveriesParams.d.ts +17 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListDeliveriesParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListDeliveriesParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListParams.d.ts +10 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionListParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionReplayEventParams.d.ts +12 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionReplayEventParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionReplayEventParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionUpdateParams.d.ts +18 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionUpdateParams.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/WebhookSubscriptionUpdateParams.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/index.d.ts +7 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/index.js +2 -0
- package/dist/esm/api/resources/webhookSubscriptions/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/exports.d.ts +2 -0
- package/dist/esm/api/resources/webhookSubscriptions/exports.js +4 -0
- package/dist/esm/api/resources/webhookSubscriptions/exports.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/index.d.ts +2 -0
- package/dist/esm/api/resources/webhookSubscriptions/index.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/index.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionCreateResponse.d.ts +9 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionCreateResponse.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionCreateResponse.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionGetResponse.d.ts +9 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionGetResponse.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionGetResponse.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionListDeliveriesResponse.d.ts +9 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionListDeliveriesResponse.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionListDeliveriesResponse.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionListResponse.d.ts +9 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionListResponse.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionListResponse.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionReplayEventResponse.d.ts +9 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionReplayEventResponse.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionReplayEventResponse.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionUpdateResponse.d.ts +9 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionUpdateResponse.js +3 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/WebhookSubscriptionUpdateResponse.js.map +1 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/index.d.ts +6 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/index.js +7 -0
- package/dist/esm/api/resources/webhookSubscriptions/types/index.js.map +1 -0
- package/dist/esm/api/resources/workflows/client/Client.d.ts +68 -0
- package/dist/esm/api/resources/workflows/client/Client.js +160 -0
- package/dist/esm/api/resources/workflows/client/Client.js.map +1 -0
- package/dist/esm/api/resources/workflows/client/index.d.ts +1 -0
- package/dist/esm/api/resources/workflows/client/index.js +2 -0
- package/dist/esm/api/resources/workflows/client/index.js.map +1 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowEnrollParams.d.ts +20 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowEnrollParams.js +3 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowEnrollParams.js.map +1 -0
- package/dist/esm/api/resources/workflows/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/workflows/client/requests/index.js +2 -0
- package/dist/esm/api/resources/workflows/client/requests/index.js.map +1 -0
- package/dist/esm/api/resources/workflows/exports.d.ts +2 -0
- package/dist/esm/api/resources/workflows/exports.js +4 -0
- package/dist/esm/api/resources/workflows/exports.js.map +1 -0
- package/dist/esm/api/resources/workflows/index.d.ts +2 -0
- package/dist/esm/api/resources/workflows/index.js +3 -0
- package/dist/esm/api/resources/workflows/index.js.map +1 -0
- package/dist/esm/api/resources/workflows/types/WorkflowEnrollResponse.d.ts +9 -0
- package/dist/esm/api/resources/workflows/types/WorkflowEnrollResponse.js +3 -0
- package/dist/esm/api/resources/workflows/types/WorkflowEnrollResponse.js.map +1 -0
- package/dist/esm/api/resources/workflows/types/WorkflowListResponse.d.ts +9 -0
- package/dist/esm/api/resources/workflows/types/WorkflowListResponse.js +3 -0
- package/dist/esm/api/resources/workflows/types/WorkflowListResponse.js.map +1 -0
- package/dist/esm/api/resources/workflows/types/index.d.ts +2 -0
- package/dist/esm/api/resources/workflows/types/index.js +3 -0
- package/dist/esm/api/resources/workflows/types/index.js.map +1 -0
- package/dist/esm/api/types/AcceptedChatLeave.d.ts +17 -0
- package/dist/esm/api/types/AcceptedChatLeave.js +11 -0
- package/dist/esm/api/types/AcceptedChatLeave.js.map +1 -0
- package/dist/esm/api/types/AcceptedChatMetadataMutation.d.ts +24 -0
- package/dist/esm/api/types/AcceptedChatMetadataMutation.js +14 -0
- package/dist/esm/api/types/AcceptedChatMetadataMutation.js.map +1 -0
- package/dist/esm/api/types/AcceptedGroupParticipantMutation.d.ts +40 -0
- package/dist/esm/api/types/AcceptedGroupParticipantMutation.js +26 -0
- package/dist/esm/api/types/AcceptedGroupParticipantMutation.js.map +1 -0
- package/dist/esm/api/types/AcceptedMessage.d.ts +50 -0
- package/dist/esm/api/types/AcceptedMessage.js +26 -0
- package/dist/esm/api/types/AcceptedMessage.js.map +1 -0
- package/dist/esm/api/types/AcceptedMessageReaction.d.ts +27 -0
- package/dist/esm/api/types/AcceptedMessageReaction.js +12 -0
- package/dist/esm/api/types/AcceptedMessageReaction.js.map +1 -0
- package/dist/esm/api/types/ApiKeyCredential.d.ts +15 -0
- package/dist/esm/api/types/ApiKeyCredential.js +11 -0
- package/dist/esm/api/types/ApiKeyCredential.js.map +1 -0
- package/dist/esm/api/types/ApiKeySummary.d.ts +10 -0
- package/dist/esm/api/types/ApiKeySummary.js +8 -0
- package/dist/esm/api/types/ApiKeySummary.js.map +1 -0
- package/dist/esm/api/types/AssignableTeamMemberList.d.ts +4 -0
- package/dist/esm/api/types/AssignableTeamMemberList.js +3 -0
- package/dist/esm/api/types/AssignableTeamMemberList.js.map +1 -0
- package/dist/esm/api/types/AssignedTeamMember.d.ts +6 -0
- package/dist/esm/api/types/AssignedTeamMember.js +3 -0
- package/dist/esm/api/types/AssignedTeamMember.js.map +1 -0
- package/dist/esm/api/types/Attachment.d.ts +17 -0
- package/dist/esm/api/types/Attachment.js +8 -0
- package/dist/esm/api/types/Attachment.js.map +1 -0
- package/dist/esm/api/types/AttachmentId.d.ts +1 -0
- package/dist/esm/api/types/AttachmentId.js +3 -0
- package/dist/esm/api/types/AttachmentId.js.map +1 -0
- package/dist/esm/api/types/AttachmentUpload.d.ts +19 -0
- package/dist/esm/api/types/AttachmentUpload.js +3 -0
- package/dist/esm/api/types/AttachmentUpload.js.map +1 -0
- package/dist/esm/api/types/AudioOutputPart.d.ts +19 -0
- package/dist/esm/api/types/AudioOutputPart.js +8 -0
- package/dist/esm/api/types/AudioOutputPart.js.map +1 -0
- package/dist/esm/api/types/AudioPart.d.ts +16 -0
- package/dist/esm/api/types/AudioPart.js +8 -0
- package/dist/esm/api/types/AudioPart.js.map +1 -0
- package/dist/esm/api/types/CallEndedWebhookData.d.ts +63 -0
- package/dist/esm/api/types/CallEndedWebhookData.js +28 -0
- package/dist/esm/api/types/CallEndedWebhookData.js.map +1 -0
- package/dist/esm/api/types/CallEndedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/CallEndedWebhookEvent.js +8 -0
- package/dist/esm/api/types/CallEndedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/CallId.d.ts +1 -0
- package/dist/esm/api/types/CallId.js +3 -0
- package/dist/esm/api/types/CallId.js.map +1 -0
- package/dist/esm/api/types/CallRecordingReadyWebhookData.d.ts +107 -0
- package/dist/esm/api/types/CallRecordingReadyWebhookData.js +51 -0
- package/dist/esm/api/types/CallRecordingReadyWebhookData.js.map +1 -0
- package/dist/esm/api/types/CallRecordingReadyWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/CallRecordingReadyWebhookEvent.js +8 -0
- package/dist/esm/api/types/CallRecordingReadyWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/CapabilityServiceResult.d.ts +26 -0
- package/dist/esm/api/types/CapabilityServiceResult.js +16 -0
- package/dist/esm/api/types/CapabilityServiceResult.js.map +1 -0
- package/dist/esm/api/types/Chat.d.ts +30 -0
- package/dist/esm/api/types/Chat.js +11 -0
- package/dist/esm/api/types/Chat.js.map +1 -0
- package/dist/esm/api/types/ChatIcon.d.ts +6 -0
- package/dist/esm/api/types/ChatIcon.js +3 -0
- package/dist/esm/api/types/ChatIcon.js.map +1 -0
- package/dist/esm/api/types/ChatIconInput.d.ts +5 -0
- package/dist/esm/api/types/ChatIconInput.js +3 -0
- package/dist/esm/api/types/ChatIconInput.js.map +1 -0
- package/dist/esm/api/types/ChatId.d.ts +1 -0
- package/dist/esm/api/types/ChatId.js +3 -0
- package/dist/esm/api/types/ChatId.js.map +1 -0
- package/dist/esm/api/types/ChatList.d.ts +7 -0
- package/dist/esm/api/types/ChatList.js +3 -0
- package/dist/esm/api/types/ChatList.js.map +1 -0
- package/dist/esm/api/types/ChatParticipant.d.ts +5 -0
- package/dist/esm/api/types/ChatParticipant.js +3 -0
- package/dist/esm/api/types/ChatParticipant.js.map +1 -0
- package/dist/esm/api/types/ChatType.d.ts +6 -0
- package/dist/esm/api/types/ChatType.js +7 -0
- package/dist/esm/api/types/ChatType.js.map +1 -0
- package/dist/esm/api/types/Contact.d.ts +30 -0
- package/dist/esm/api/types/Contact.js +3 -0
- package/dist/esm/api/types/Contact.js.map +1 -0
- package/dist/esm/api/types/ContactAssignmentActionResult.d.ts +30 -0
- package/dist/esm/api/types/ContactAssignmentActionResult.js +3 -0
- package/dist/esm/api/types/ContactAssignmentActionResult.js.map +1 -0
- package/dist/esm/api/types/ContactCardProfile.d.ts +48 -0
- package/dist/esm/api/types/ContactCardProfile.js +23 -0
- package/dist/esm/api/types/ContactCardProfile.js.map +1 -0
- package/dist/esm/api/types/ContactId.d.ts +1 -0
- package/dist/esm/api/types/ContactId.js +3 -0
- package/dist/esm/api/types/ContactId.js.map +1 -0
- package/dist/esm/api/types/ContactList.d.ts +7 -0
- package/dist/esm/api/types/ContactList.js +3 -0
- package/dist/esm/api/types/ContactList.js.map +1 -0
- package/dist/esm/api/types/ContactNote.d.ts +23 -0
- package/dist/esm/api/types/ContactNote.js +13 -0
- package/dist/esm/api/types/ContactNote.js.map +1 -0
- package/dist/esm/api/types/ContactNoteList.d.ts +7 -0
- package/dist/esm/api/types/ContactNoteList.js +3 -0
- package/dist/esm/api/types/ContactNoteList.js.map +1 -0
- package/dist/esm/api/types/ContactSearchResult.d.ts +4 -0
- package/dist/esm/api/types/ContactSearchResult.js +3 -0
- package/dist/esm/api/types/ContactSearchResult.js.map +1 -0
- package/dist/esm/api/types/ContactStageActionResult.d.ts +30 -0
- package/dist/esm/api/types/ContactStageActionResult.js +3 -0
- package/dist/esm/api/types/ContactStageActionResult.js.map +1 -0
- package/dist/esm/api/types/ContactSuppression.d.ts +15 -0
- package/dist/esm/api/types/ContactSuppression.js +9 -0
- package/dist/esm/api/types/ContactSuppression.js.map +1 -0
- package/dist/esm/api/types/ContactTagActionResult.d.ts +30 -0
- package/dist/esm/api/types/ContactTagActionResult.js +3 -0
- package/dist/esm/api/types/ContactTagActionResult.js.map +1 -0
- package/dist/esm/api/types/DirectChatParticipant.d.ts +21 -0
- package/dist/esm/api/types/DirectChatParticipant.js +11 -0
- package/dist/esm/api/types/DirectChatParticipant.js.map +1 -0
- package/dist/esm/api/types/ErrorEnvelope.d.ts +18 -0
- package/dist/esm/api/types/ErrorEnvelope.js +8 -0
- package/dist/esm/api/types/ErrorEnvelope.js.map +1 -0
- package/dist/esm/api/types/ErrorObject.d.ts +20 -0
- package/dist/esm/api/types/ErrorObject.js +3 -0
- package/dist/esm/api/types/ErrorObject.js.map +1 -0
- package/dist/esm/api/types/EventId.d.ts +1 -0
- package/dist/esm/api/types/EventId.js +3 -0
- package/dist/esm/api/types/EventId.js.map +1 -0
- package/dist/esm/api/types/GenericWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/GenericWebhookEvent.js +8 -0
- package/dist/esm/api/types/GenericWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/GroupNameWebhookData.d.ts +7 -0
- package/dist/esm/api/types/GroupNameWebhookData.js +3 -0
- package/dist/esm/api/types/GroupNameWebhookData.js.map +1 -0
- package/dist/esm/api/types/GroupNameWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/GroupNameWebhookEvent.js +8 -0
- package/dist/esm/api/types/GroupNameWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/GroupParticipant.d.ts +25 -0
- package/dist/esm/api/types/GroupParticipant.js +13 -0
- package/dist/esm/api/types/GroupParticipant.js.map +1 -0
- package/dist/esm/api/types/GroupParticipantList.d.ts +4 -0
- package/dist/esm/api/types/GroupParticipantList.js +3 -0
- package/dist/esm/api/types/GroupParticipantList.js.map +1 -0
- package/dist/esm/api/types/GroupParticipantWebhookData.d.ts +7 -0
- package/dist/esm/api/types/GroupParticipantWebhookData.js +3 -0
- package/dist/esm/api/types/GroupParticipantWebhookData.js.map +1 -0
- package/dist/esm/api/types/GroupParticipantWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/GroupParticipantWebhookEvent.js +8 -0
- package/dist/esm/api/types/GroupParticipantWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/GroupPhoneNumber.d.ts +30 -0
- package/dist/esm/api/types/GroupPhoneNumber.js +13 -0
- package/dist/esm/api/types/GroupPhoneNumber.js.map +1 -0
- package/dist/esm/api/types/GroupWebhookParticipant.d.ts +22 -0
- package/dist/esm/api/types/GroupWebhookParticipant.js +13 -0
- package/dist/esm/api/types/GroupWebhookParticipant.js.map +1 -0
- package/dist/esm/api/types/LinkPart.d.ts +13 -0
- package/dist/esm/api/types/LinkPart.js +8 -0
- package/dist/esm/api/types/LinkPart.js.map +1 -0
- package/dist/esm/api/types/Me.d.ts +8 -0
- package/dist/esm/api/types/Me.js +3 -0
- package/dist/esm/api/types/Me.js.map +1 -0
- package/dist/esm/api/types/MediaOutputPart.d.ts +16 -0
- package/dist/esm/api/types/MediaOutputPart.js +8 -0
- package/dist/esm/api/types/MediaOutputPart.js.map +1 -0
- package/dist/esm/api/types/MediaPart.d.ts +16 -0
- package/dist/esm/api/types/MediaPart.js +8 -0
- package/dist/esm/api/types/MediaPart.js.map +1 -0
- package/dist/esm/api/types/MemberId.d.ts +1 -0
- package/dist/esm/api/types/MemberId.js +3 -0
- package/dist/esm/api/types/MemberId.js.map +1 -0
- package/dist/esm/api/types/Message.d.ts +105 -0
- package/dist/esm/api/types/Message.js +42 -0
- package/dist/esm/api/types/Message.js.map +1 -0
- package/dist/esm/api/types/MessageDegradation.d.ts +12 -0
- package/dist/esm/api/types/MessageDegradation.js +9 -0
- package/dist/esm/api/types/MessageDegradation.js.map +1 -0
- package/dist/esm/api/types/MessageEditHistoryEntry.d.ts +4 -0
- package/dist/esm/api/types/MessageEditHistoryEntry.js +3 -0
- package/dist/esm/api/types/MessageEditHistoryEntry.js.map +1 -0
- package/dist/esm/api/types/MessageEditedWebhookData.d.ts +23 -0
- package/dist/esm/api/types/MessageEditedWebhookData.js +3 -0
- package/dist/esm/api/types/MessageEditedWebhookData.js.map +1 -0
- package/dist/esm/api/types/MessageEditedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/MessageEditedWebhookEvent.js +8 -0
- package/dist/esm/api/types/MessageEditedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/MessageEffect.d.ts +14 -0
- package/dist/esm/api/types/MessageEffect.js +3 -0
- package/dist/esm/api/types/MessageEffect.js.map +1 -0
- package/dist/esm/api/types/MessageFailure.d.ts +21 -0
- package/dist/esm/api/types/MessageFailure.js +16 -0
- package/dist/esm/api/types/MessageFailure.js.map +1 -0
- package/dist/esm/api/types/MessageId.d.ts +1 -0
- package/dist/esm/api/types/MessageId.js +3 -0
- package/dist/esm/api/types/MessageId.js.map +1 -0
- package/dist/esm/api/types/MessageInput.d.ts +22 -0
- package/dist/esm/api/types/MessageInput.js +11 -0
- package/dist/esm/api/types/MessageInput.js.map +1 -0
- package/dist/esm/api/types/MessageLifecycleWebhookData.d.ts +62 -0
- package/dist/esm/api/types/MessageLifecycleWebhookData.js +27 -0
- package/dist/esm/api/types/MessageLifecycleWebhookData.js.map +1 -0
- package/dist/esm/api/types/MessageLifecycleWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/MessageLifecycleWebhookEvent.js +8 -0
- package/dist/esm/api/types/MessageLifecycleWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/MessageList.d.ts +7 -0
- package/dist/esm/api/types/MessageList.js +3 -0
- package/dist/esm/api/types/MessageList.js.map +1 -0
- package/dist/esm/api/types/MessageOutputPart.d.ts +2 -0
- package/dist/esm/api/types/MessageOutputPart.js +3 -0
- package/dist/esm/api/types/MessageOutputPart.js.map +1 -0
- package/dist/esm/api/types/MessagePart.d.ts +2 -0
- package/dist/esm/api/types/MessagePart.js +3 -0
- package/dist/esm/api/types/MessagePart.js.map +1 -0
- package/dist/esm/api/types/MessageReaction.d.ts +15 -0
- package/dist/esm/api/types/MessageReaction.js +3 -0
- package/dist/esm/api/types/MessageReaction.js.map +1 -0
- package/dist/esm/api/types/MessageReceivedWebhookData.d.ts +61 -0
- package/dist/esm/api/types/MessageReceivedWebhookData.js +24 -0
- package/dist/esm/api/types/MessageReceivedWebhookData.js.map +1 -0
- package/dist/esm/api/types/MessageReceivedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/MessageReceivedWebhookEvent.js +8 -0
- package/dist/esm/api/types/MessageReceivedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/MessageReplyTo.d.ts +19 -0
- package/dist/esm/api/types/MessageReplyTo.js +3 -0
- package/dist/esm/api/types/MessageReplyTo.js.map +1 -0
- package/dist/esm/api/types/MessageReplyToInfo.d.ts +11 -0
- package/dist/esm/api/types/MessageReplyToInfo.js +3 -0
- package/dist/esm/api/types/MessageReplyToInfo.js.map +1 -0
- package/dist/esm/api/types/MessageSender.d.ts +20 -0
- package/dist/esm/api/types/MessageSender.js +11 -0
- package/dist/esm/api/types/MessageSender.js.map +1 -0
- package/dist/esm/api/types/MessageStatus.d.ts +10 -0
- package/dist/esm/api/types/MessageStatus.js +11 -0
- package/dist/esm/api/types/MessageStatus.js.map +1 -0
- package/dist/esm/api/types/MessageTeamMemberId.d.ts +5 -0
- package/dist/esm/api/types/MessageTeamMemberId.js +3 -0
- package/dist/esm/api/types/MessageTeamMemberId.js.map +1 -0
- package/dist/esm/api/types/MessageUnsentWebhookData.d.ts +29 -0
- package/dist/esm/api/types/MessageUnsentWebhookData.js +9 -0
- package/dist/esm/api/types/MessageUnsentWebhookData.js.map +1 -0
- package/dist/esm/api/types/MessageUnsentWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/MessageUnsentWebhookEvent.js +8 -0
- package/dist/esm/api/types/MessageUnsentWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/MessageWebhookRecipient.d.ts +19 -0
- package/dist/esm/api/types/MessageWebhookRecipient.js +11 -0
- package/dist/esm/api/types/MessageWebhookRecipient.js.map +1 -0
- package/dist/esm/api/types/PhoneNumber.d.ts +186 -0
- package/dist/esm/api/types/PhoneNumber.js +56 -0
- package/dist/esm/api/types/PhoneNumber.js.map +1 -0
- package/dist/esm/api/types/PhoneNumberAssignedWebhookData.d.ts +10 -0
- package/dist/esm/api/types/PhoneNumberAssignedWebhookData.js +3 -0
- package/dist/esm/api/types/PhoneNumberAssignedWebhookData.js.map +1 -0
- package/dist/esm/api/types/PhoneNumberAssignedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/PhoneNumberAssignedWebhookEvent.js +8 -0
- package/dist/esm/api/types/PhoneNumberAssignedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/PhoneNumberId.d.ts +1 -0
- package/dist/esm/api/types/PhoneNumberId.js +3 -0
- package/dist/esm/api/types/PhoneNumberId.js.map +1 -0
- package/dist/esm/api/types/PhoneNumberList.d.ts +4 -0
- package/dist/esm/api/types/PhoneNumberList.js +3 -0
- package/dist/esm/api/types/PhoneNumberList.js.map +1 -0
- package/dist/esm/api/types/PhoneNumberReleasedWebhookData.d.ts +10 -0
- package/dist/esm/api/types/PhoneNumberReleasedWebhookData.js +3 -0
- package/dist/esm/api/types/PhoneNumberReleasedWebhookData.js.map +1 -0
- package/dist/esm/api/types/PhoneNumberReleasedWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/PhoneNumberReleasedWebhookEvent.js +8 -0
- package/dist/esm/api/types/PhoneNumberReleasedWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/ReactionEmoji.d.ts +4 -0
- package/dist/esm/api/types/ReactionEmoji.js +3 -0
- package/dist/esm/api/types/ReactionEmoji.js.map +1 -0
- package/dist/esm/api/types/ReactionKind.d.ts +12 -0
- package/dist/esm/api/types/ReactionKind.js +13 -0
- package/dist/esm/api/types/ReactionKind.js.map +1 -0
- package/dist/esm/api/types/ReactionReactor.d.ts +11 -0
- package/dist/esm/api/types/ReactionReactor.js +3 -0
- package/dist/esm/api/types/ReactionReactor.js.map +1 -0
- package/dist/esm/api/types/ReactionSticker.d.ts +12 -0
- package/dist/esm/api/types/ReactionSticker.js +3 -0
- package/dist/esm/api/types/ReactionSticker.js.map +1 -0
- package/dist/esm/api/types/ReactionType.d.ts +11 -0
- package/dist/esm/api/types/ReactionType.js +12 -0
- package/dist/esm/api/types/ReactionType.js.map +1 -0
- package/dist/esm/api/types/ReactionWebhookData.d.ts +24 -0
- package/dist/esm/api/types/ReactionWebhookData.js +3 -0
- package/dist/esm/api/types/ReactionWebhookData.js.map +1 -0
- package/dist/esm/api/types/ReactionWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/ReactionWebhookEvent.js +8 -0
- package/dist/esm/api/types/ReactionWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/SuccessEnvelope.d.ts +12 -0
- package/dist/esm/api/types/SuccessEnvelope.js +3 -0
- package/dist/esm/api/types/SuccessEnvelope.js.map +1 -0
- package/dist/esm/api/types/TeamMember.d.ts +6 -0
- package/dist/esm/api/types/TeamMember.js +3 -0
- package/dist/esm/api/types/TeamMember.js.map +1 -0
- package/dist/esm/api/types/TextDecoration.d.ts +17 -0
- package/dist/esm/api/types/TextDecoration.js +11 -0
- package/dist/esm/api/types/TextDecoration.js.map +1 -0
- package/dist/esm/api/types/TextPart.d.ts +13 -0
- package/dist/esm/api/types/TextPart.js +8 -0
- package/dist/esm/api/types/TextPart.js.map +1 -0
- package/dist/esm/api/types/TraceId.d.ts +1 -0
- package/dist/esm/api/types/TraceId.js +3 -0
- package/dist/esm/api/types/TraceId.js.map +1 -0
- package/dist/esm/api/types/TypingWebhookData.d.ts +16 -0
- package/dist/esm/api/types/TypingWebhookData.js +3 -0
- package/dist/esm/api/types/TypingWebhookData.js.map +1 -0
- package/dist/esm/api/types/TypingWebhookEvent.d.ts +22 -0
- package/dist/esm/api/types/TypingWebhookEvent.js +8 -0
- package/dist/esm/api/types/TypingWebhookEvent.js.map +1 -0
- package/dist/esm/api/types/TypingWebhookParticipant.d.ts +14 -0
- package/dist/esm/api/types/TypingWebhookParticipant.js +9 -0
- package/dist/esm/api/types/TypingWebhookParticipant.js.map +1 -0
- package/dist/esm/api/types/Vcard.d.ts +49 -0
- package/dist/esm/api/types/Vcard.js +28 -0
- package/dist/esm/api/types/Vcard.js.map +1 -0
- package/dist/esm/api/types/VcardFields.d.ts +46 -0
- package/dist/esm/api/types/VcardFields.js +28 -0
- package/dist/esm/api/types/VcardFields.js.map +1 -0
- package/dist/esm/api/types/VcardId.d.ts +1 -0
- package/dist/esm/api/types/VcardId.js +3 -0
- package/dist/esm/api/types/VcardId.js.map +1 -0
- package/dist/esm/api/types/VcardList.d.ts +7 -0
- package/dist/esm/api/types/VcardList.js +3 -0
- package/dist/esm/api/types/VcardList.js.map +1 -0
- package/dist/esm/api/types/VcardPart.d.ts +14 -0
- package/dist/esm/api/types/VcardPart.js +8 -0
- package/dist/esm/api/types/VcardPart.js.map +1 -0
- package/dist/esm/api/types/WebhookDeliveryAttempt.d.ts +78 -0
- package/dist/esm/api/types/WebhookDeliveryAttempt.js +47 -0
- package/dist/esm/api/types/WebhookDeliveryAttempt.js.map +1 -0
- package/dist/esm/api/types/WebhookDeliveryAttemptList.d.ts +7 -0
- package/dist/esm/api/types/WebhookDeliveryAttemptList.js +3 -0
- package/dist/esm/api/types/WebhookDeliveryAttemptList.js.map +1 -0
- package/dist/esm/api/types/WebhookEnvelope.d.ts +27 -0
- package/dist/esm/api/types/WebhookEnvelope.js +8 -0
- package/dist/esm/api/types/WebhookEnvelope.js.map +1 -0
- package/dist/esm/api/types/WebhookEvent.d.ts +73 -0
- package/dist/esm/api/types/WebhookEvent.js +3 -0
- package/dist/esm/api/types/WebhookEvent.js.map +1 -0
- package/dist/esm/api/types/WebhookEventType.d.ts +26 -0
- package/dist/esm/api/types/WebhookEventType.js +27 -0
- package/dist/esm/api/types/WebhookEventType.js.map +1 -0
- package/dist/esm/api/types/WebhookPayloadVersion.d.ts +18 -0
- package/dist/esm/api/types/WebhookPayloadVersion.js +19 -0
- package/dist/esm/api/types/WebhookPayloadVersion.js.map +1 -0
- package/dist/esm/api/types/WebhookPhoneNumberFilter.d.ts +14 -0
- package/dist/esm/api/types/WebhookPhoneNumberFilter.js +3 -0
- package/dist/esm/api/types/WebhookPhoneNumberFilter.js.map +1 -0
- package/dist/esm/api/types/WebhookReplayAccepted.d.ts +12 -0
- package/dist/esm/api/types/WebhookReplayAccepted.js +8 -0
- package/dist/esm/api/types/WebhookReplayAccepted.js.map +1 -0
- package/dist/esm/api/types/WebhookSubscribableEventType.d.ts +34 -0
- package/dist/esm/api/types/WebhookSubscribableEventType.js +35 -0
- package/dist/esm/api/types/WebhookSubscribableEventType.js.map +1 -0
- package/dist/esm/api/types/WebhookSubscription.d.ts +13 -0
- package/dist/esm/api/types/WebhookSubscription.js +3 -0
- package/dist/esm/api/types/WebhookSubscription.js.map +1 -0
- package/dist/esm/api/types/WebhookSubscriptionId.d.ts +1 -0
- package/dist/esm/api/types/WebhookSubscriptionId.js +3 -0
- package/dist/esm/api/types/WebhookSubscriptionId.js.map +1 -0
- package/dist/esm/api/types/WebhookSubscriptionList.d.ts +7 -0
- package/dist/esm/api/types/WebhookSubscriptionList.js +3 -0
- package/dist/esm/api/types/WebhookSubscriptionList.js.map +1 -0
- package/dist/esm/api/types/WebhookSubscriptionStatus.d.ts +5 -0
- package/dist/esm/api/types/WebhookSubscriptionStatus.js +6 -0
- package/dist/esm/api/types/WebhookSubscriptionStatus.js.map +1 -0
- package/dist/esm/api/types/WebhookSubscriptionWithSecret.d.ts +15 -0
- package/dist/esm/api/types/WebhookSubscriptionWithSecret.js +3 -0
- package/dist/esm/api/types/WebhookSubscriptionWithSecret.js.map +1 -0
- package/dist/esm/api/types/Workflow.d.ts +5 -0
- package/dist/esm/api/types/Workflow.js +3 -0
- package/dist/esm/api/types/Workflow.js.map +1 -0
- package/dist/esm/api/types/WorkflowId.d.ts +1 -0
- package/dist/esm/api/types/WorkflowId.js +3 -0
- package/dist/esm/api/types/WorkflowId.js.map +1 -0
- package/dist/esm/api/types/WorkflowList.d.ts +4 -0
- package/dist/esm/api/types/WorkflowList.js +3 -0
- package/dist/esm/api/types/WorkflowList.js.map +1 -0
- package/dist/esm/api/types/WorkflowMetadata.d.ts +9 -0
- package/dist/esm/api/types/WorkflowMetadata.js +3 -0
- package/dist/esm/api/types/WorkflowMetadata.js.map +1 -0
- package/dist/esm/api/types/WorkflowRunSummary.d.ts +5 -0
- package/dist/esm/api/types/WorkflowRunSummary.js +3 -0
- package/dist/esm/api/types/WorkflowRunSummary.js.map +1 -0
- package/dist/esm/api/types/WorkflowTrigger.d.ts +10 -0
- package/dist/esm/api/types/WorkflowTrigger.js +3 -0
- package/dist/esm/api/types/WorkflowTrigger.js.map +1 -0
- package/dist/esm/api/types/WorkspaceId.d.ts +1 -0
- package/dist/esm/api/types/WorkspaceId.js +3 -0
- package/dist/esm/api/types/WorkspaceId.js.map +1 -0
- package/dist/esm/api/types/index.d.ts +129 -0
- package/dist/esm/api/types/index.js +130 -0
- package/dist/esm/api/types/index.js.map +1 -0
- package/dist/esm/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/esm/auth/BearerAuthProvider.js +33 -0
- package/dist/esm/auth/BearerAuthProvider.js.map +1 -0
- package/dist/esm/auth/index.d.ts +1 -0
- package/dist/esm/auth/index.js +2 -0
- package/dist/esm/auth/index.js.map +1 -0
- package/dist/esm/core/auth/AuthProvider.d.ts +8 -0
- package/dist/esm/core/auth/AuthProvider.js +7 -0
- package/dist/esm/core/auth/AuthProvider.js.map +1 -0
- package/dist/esm/core/auth/AuthRequest.d.ts +9 -0
- package/dist/esm/core/auth/AuthRequest.js +2 -0
- package/dist/esm/core/auth/AuthRequest.js.map +1 -0
- package/dist/esm/core/auth/BasicAuth.d.ts +8 -0
- package/dist/esm/core/auth/BasicAuth.js +30 -0
- package/dist/esm/core/auth/BasicAuth.js.map +1 -0
- package/dist/esm/core/auth/BearerToken.d.ts +7 -0
- package/dist/esm/core/auth/BearerToken.js +14 -0
- package/dist/esm/core/auth/BearerToken.js.map +1 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.js +6 -0
- package/dist/esm/core/auth/NoOpAuthProvider.js.map +1 -0
- package/dist/esm/core/auth/index.d.ts +5 -0
- package/dist/esm/core/auth/index.js +5 -0
- package/dist/esm/core/auth/index.js.map +1 -0
- package/dist/esm/core/base64.d.ts +2 -0
- package/dist/esm/core/base64.js +23 -0
- package/dist/esm/core/base64.js.map +1 -0
- package/dist/esm/core/exports.d.ts +2 -0
- package/dist/esm/core/exports.js +3 -0
- package/dist/esm/core/exports.js.map +1 -0
- package/dist/esm/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/esm/core/fetcher/APIResponse.js +2 -0
- package/dist/esm/core/fetcher/APIResponse.js.map +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.js +15 -0
- package/dist/esm/core/fetcher/BinaryResponse.js.map +1 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/esm/core/fetcher/EndpointMetadata.js.map +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.js +11 -0
- package/dist/esm/core/fetcher/EndpointSupplier.js.map +1 -0
- package/dist/esm/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/esm/core/fetcher/Fetcher.js +255 -0
- package/dist/esm/core/fetcher/Fetcher.js.map +1 -0
- package/dist/esm/core/fetcher/Headers.d.ts +2 -0
- package/dist/esm/core/fetcher/Headers.js +83 -0
- package/dist/esm/core/fetcher/Headers.js.map +1 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.js +89 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.js.map +1 -0
- package/dist/esm/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/esm/core/fetcher/RawResponse.js +41 -0
- package/dist/esm/core/fetcher/RawResponse.js.map +1 -0
- package/dist/esm/core/fetcher/Supplier.d.ts +4 -0
- package/dist/esm/core/fetcher/Supplier.js +11 -0
- package/dist/esm/core/fetcher/Supplier.js.map +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.js +6 -0
- package/dist/esm/core/fetcher/createRequestUrl.js.map +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.js.map +1 -0
- package/dist/esm/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.js +4 -0
- package/dist/esm/core/fetcher/getFetchFn.js.map +1 -0
- package/dist/esm/core/fetcher/getHeader.d.ts +1 -0
- package/dist/esm/core/fetcher/getHeader.js +9 -0
- package/dist/esm/core/fetcher/getHeader.js.map +1 -0
- package/dist/esm/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.js +14 -0
- package/dist/esm/core/fetcher/getRequestBody.js.map +1 -0
- package/dist/esm/core/fetcher/getResponseBody.d.ts +17 -0
- package/dist/esm/core/fetcher/getResponseBody.js +71 -0
- package/dist/esm/core/fetcher/getResponseBody.js.map +1 -0
- package/dist/esm/core/fetcher/index.d.ts +13 -0
- package/dist/esm/core/fetcher/index.js +8 -0
- package/dist/esm/core/fetcher/index.js.map +1 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.js +160 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.js.map +1 -0
- package/dist/esm/core/fetcher/makeRequest.d.ts +11 -0
- package/dist/esm/core/fetcher/makeRequest.js +86 -0
- package/dist/esm/core/fetcher/makeRequest.js.map +1 -0
- package/dist/esm/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/esm/core/fetcher/redactUrl.js +85 -0
- package/dist/esm/core/fetcher/redactUrl.js.map +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.js +84 -0
- package/dist/esm/core/fetcher/requestWithRetries.js.map +1 -0
- package/dist/esm/core/fetcher/signals.d.ts +6 -0
- package/dist/esm/core/fetcher/signals.js +29 -0
- package/dist/esm/core/fetcher/signals.js.map +1 -0
- package/dist/esm/core/headers.d.ts +2 -0
- package/dist/esm/core/headers.js +28 -0
- package/dist/esm/core/headers.js.map +1 -0
- package/dist/esm/core/index.d.ts +8 -0
- package/dist/esm/core/index.js +9 -0
- package/dist/esm/core/index.js.map +1 -0
- package/dist/esm/core/json.d.ts +15 -0
- package/dist/esm/core/json.js +20 -0
- package/dist/esm/core/json.js.map +1 -0
- package/dist/esm/core/logging/exports.d.ts +18 -0
- package/dist/esm/core/logging/exports.js +10 -0
- package/dist/esm/core/logging/exports.js.map +1 -0
- package/dist/esm/core/logging/index.d.ts +1 -0
- package/dist/esm/core/logging/index.js +2 -0
- package/dist/esm/core/logging/index.js.map +1 -0
- package/dist/esm/core/logging/logger.d.ts +126 -0
- package/dist/esm/core/logging/logger.js +138 -0
- package/dist/esm/core/logging/logger.js.map +1 -0
- package/dist/esm/core/pagination/Page.d.ts +33 -0
- package/dist/esm/core/pagination/Page.js +50 -0
- package/dist/esm/core/pagination/Page.js.map +1 -0
- package/dist/esm/core/pagination/exports.d.ts +1 -0
- package/dist/esm/core/pagination/exports.js +2 -0
- package/dist/esm/core/pagination/exports.js.map +1 -0
- package/dist/esm/core/pagination/index.d.ts +1 -0
- package/dist/esm/core/pagination/index.js +2 -0
- package/dist/esm/core/pagination/index.js.map +1 -0
- package/dist/esm/core/requestBody.d.ts +12 -0
- package/dist/esm/core/requestBody.js +24 -0
- package/dist/esm/core/requestBody.js.map +1 -0
- package/dist/esm/core/runtime/index.d.ts +1 -0
- package/dist/esm/core/runtime/index.js +2 -0
- package/dist/esm/core/runtime/index.js.map +1 -0
- package/dist/esm/core/runtime/runtime.d.ts +28 -0
- package/dist/esm/core/runtime/runtime.js +172 -0
- package/dist/esm/core/runtime/runtime.js.map +1 -0
- package/dist/esm/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.js +81 -0
- package/dist/esm/core/url/QueryStringBuilder.js.map +1 -0
- package/dist/esm/core/url/encodePathParam.d.ts +3 -0
- package/dist/esm/core/url/encodePathParam.js +25 -0
- package/dist/esm/core/url/encodePathParam.js.map +1 -0
- package/dist/esm/core/url/index.d.ts +4 -0
- package/dist/esm/core/url/index.js +5 -0
- package/dist/esm/core/url/index.js.map +1 -0
- package/dist/esm/core/url/join.d.ts +1 -0
- package/dist/esm/core/url/join.js +66 -0
- package/dist/esm/core/url/join.js.map +1 -0
- package/dist/esm/core/url/qs.d.ts +7 -0
- package/dist/esm/core/url/qs.js +77 -0
- package/dist/esm/core/url/qs.js.map +1 -0
- package/dist/esm/core/utils/index.d.ts +1 -0
- package/dist/esm/core/utils/index.js +2 -0
- package/dist/esm/core/utils/index.js.map +1 -0
- package/dist/esm/core/utils/setObjectProperty.d.ts +12 -0
- package/dist/esm/core/utils/setObjectProperty.js +46 -0
- package/dist/esm/core/utils/setObjectProperty.js.map +1 -0
- package/dist/esm/custom/errors.d.ts +25 -0
- package/dist/esm/custom/errors.js +74 -0
- package/dist/esm/custom/errors.js.map +1 -0
- package/dist/esm/custom/version.d.ts +3 -0
- package/dist/esm/custom/version.js +9 -0
- package/dist/esm/custom/version.js.map +1 -0
- package/dist/esm/custom/webhooks.d.ts +25 -0
- package/dist/esm/custom/webhooks.js +110 -0
- package/dist/esm/custom/webhooks.js.map +1 -0
- package/dist/esm/environments.d.ts +4 -0
- package/dist/esm/environments.js +5 -0
- package/dist/esm/environments.js.map +1 -0
- package/dist/esm/errors/BlujayError.d.ts +27 -0
- package/dist/esm/errors/BlujayError.js +42 -0
- package/dist/esm/errors/BlujayError.js.map +1 -0
- package/dist/esm/errors/BlujayTimeoutError.d.ts +6 -0
- package/dist/esm/errors/BlujayTimeoutError.js +16 -0
- package/dist/esm/errors/BlujayTimeoutError.js.map +1 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.js +33 -0
- package/dist/esm/errors/handleNonStatusCodeError.js.map +1 -0
- package/dist/esm/errors/index.d.ts +2 -0
- package/dist/esm/errors/index.js +3 -0
- package/dist/esm/errors/index.js.map +1 -0
- package/dist/esm/exports.d.ts +1 -0
- package/dist/esm/exports.js +2 -0
- package/dist/esm/exports.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/package.json +61 -4
- package/reference.md +4474 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this library are listed here. It follows [semantic versioning](https://semver.org).
|
|
4
|
+
|
|
5
|
+
## 1.1.0 (2026-11-23)
|
|
6
|
+
|
|
7
|
+
Phone number health now matches what the API returns:
|
|
8
|
+
|
|
9
|
+
- `health_status` has a `status` (`healthy`, `degraded` or `critical`), plus a `reason_code` and a `reason` you can show your users when it isn't `healthy`. The reason codes are `low_reply_rate`, `new_contacts_slowed` and `apple_flag`.
|
|
10
|
+
- Removed `score`, `as_of` and `freshness`, and the `unknown` status. The API no longer returns them, so code that read them was already getting nothing.
|
|
11
|
+
- SMS and MMS messages can carry up to 25 MiB of files (was 5 MiB).
|
|
12
|
+
|
|
13
|
+
## 1.0.0 (2026-11-10)
|
|
14
|
+
|
|
15
|
+
First release, covering the full Blujay API v1:
|
|
16
|
+
|
|
17
|
+
- Chats: create (with a phone number, or an email address over iMessage), list, read, mark as read, typing indicators; in iMessage groups, rename, group photo, leave and participants
|
|
18
|
+
- Messages: send text, attachments, voice memos, contact cards and links; list, read, edit, unsend, threaded replies, and reactions (tapbacks and emoji)
|
|
19
|
+
- Phone numbers, including Name and Photo Sharing, and iMessage and capability checks
|
|
20
|
+
- Team members you can assign contacts to
|
|
21
|
+
- Contacts (first and last names, and whether someone saved them), notes, tags, assignment, opt-outs and workflows
|
|
22
|
+
- Attachments and vCards
|
|
23
|
+
- Call recordings
|
|
24
|
+
- Webhook subscriptions, deliveries and replays
|
|
25
|
+
- Webhook signature verification (`verifyWebhook`), with events typed by `event_type`
|
|
26
|
+
- Runs on Node.js 20+, Bun, Deno, Cloudflare Workers and Vercel Edge
|
|
27
|
+
- Automatic paging, retries for reads, and typed errors with `code`, `traceId`, `retryable` and `retryAfter`
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Blujay
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,247 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Blujay Node.js Library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/blujay)
|
|
4
|
+
[](https://github.com/blujayhq/blujay-node/actions/workflows/ci.yml)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+
The official TypeScript and JavaScript library for the [Blujay API](https://docs.blujay.io). Send and receive iMessage, RCS and SMS from your Blujay phone numbers.
|
|
8
|
+
|
|
9
|
+
- [API docs and guides](https://docs.blujay.io)
|
|
10
|
+
- [Every method in this library](reference.md)
|
|
11
|
+
- [Examples](examples)
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npm install blujay
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Requires Node.js 20 or later. Works with `import` and `require`, ships its own TypeScript types, and also runs on Bun, Deno and edge runtimes (see [Runtimes](#runtimes)).
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import { BlujayClient } from "blujay";
|
|
25
|
+
|
|
26
|
+
const client = new BlujayClient({
|
|
27
|
+
apiKey: process.env.BLUJAY_API_KEY, // the default, so you can leave it out
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
const sent = await client.chats.create({
|
|
31
|
+
to: ["+15555550123"],
|
|
32
|
+
message: { parts: [{ type: "text", text: "Hi! Thanks for reaching out." }] },
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
console.log(sent.data.chat_id, sent.data.message.id);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Have more than one Blujay number? Add `from: "+15555550100"` to choose which one sends. To retry a send safely, see [Retries and idempotency](#retries-and-idempotency).
|
|
39
|
+
|
|
40
|
+
Workspace owners and admins find the API key in Blujay under **API** in the sidebar. Keep it on your server; never ship it to a browser or app.
|
|
41
|
+
|
|
42
|
+
## Responses
|
|
43
|
+
|
|
44
|
+
Every method that returns JSON gives you the API's response envelope. The result is in `data`, and `trace_id` identifies the request if you contact support:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
const chat = await client.chats.get({ chat_id: "chat_abc123" });
|
|
48
|
+
console.log(chat.data.participants, chat.trace_id);
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Every request and response has a TypeScript type under the `Blujay` namespace. Objects are named for what they are (`Blujay.Chat`, `Blujay.Message`, `Blujay.Contact`); each method's types are named for the method, so `client.chats.create` takes `Blujay.ChatCreateParams` and returns `Blujay.ChatCreateResponse`, and `client.chats.messages.send` takes `Blujay.ChatMessageSendParams`:
|
|
52
|
+
|
|
53
|
+
```ts
|
|
54
|
+
import { Blujay } from "blujay";
|
|
55
|
+
|
|
56
|
+
const message: Blujay.MessageInput = { parts: [{ type: "text", text: "See you at 3." }] };
|
|
57
|
+
const params: Blujay.ChatMessageSendParams = { chat_id: "chat_abc123", message };
|
|
58
|
+
|
|
59
|
+
const chat: Blujay.ChatGetResponse = await client.chats.get({ chat_id: "chat_abc123" });
|
|
60
|
+
for (const person of chat.data.participants) {
|
|
61
|
+
console.log(person.address, person.display_name ?? "");
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Pagination
|
|
66
|
+
|
|
67
|
+
List methods page through results for you:
|
|
68
|
+
|
|
69
|
+
```ts
|
|
70
|
+
for await (const chat of await client.chats.list()) {
|
|
71
|
+
console.log(chat.chat_id);
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Or one page at a time:
|
|
76
|
+
|
|
77
|
+
```ts
|
|
78
|
+
let page = await client.chats.list({ limit: 50 });
|
|
79
|
+
console.log(page.data);
|
|
80
|
+
while (page.hasNextPage()) {
|
|
81
|
+
page = await page.getNextPage();
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Receiving webhooks
|
|
86
|
+
|
|
87
|
+
Blujay sends replies, delivery updates, reactions and calls to your server as webhooks. `verifyWebhook` checks that a request came from Blujay and returns the event, typed by its `event_type`:
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
import { verifyWebhook } from "blujay";
|
|
91
|
+
|
|
92
|
+
// rawBody: the request body exactly as received, as a string or bytes
|
|
93
|
+
const event = await verifyWebhook(rawBody, req.headers, process.env.BLUJAY_WEBHOOK_SECRET!);
|
|
94
|
+
|
|
95
|
+
if (event.event_type === "message.received") {
|
|
96
|
+
console.log(`New message in ${event.data.chat_id}: ${event.data.text ?? "(no text)"}`);
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Pass the raw body, not parsed JSON: re-serialized JSON won't match the signature. It rejects with `WebhookVerificationError` when the signature, the timestamp (more than 5 minutes off) or a header is wrong. It uses Web Crypto, so it's async and works on every runtime under [Runtimes](#runtimes).
|
|
101
|
+
|
|
102
|
+
Getting the raw body:
|
|
103
|
+
|
|
104
|
+
```ts
|
|
105
|
+
// Express: express.raw() keeps the body as a Buffer for this route.
|
|
106
|
+
import express from "express";
|
|
107
|
+
import { verifyWebhook, WebhookVerificationError } from "blujay";
|
|
108
|
+
|
|
109
|
+
const app = express();
|
|
110
|
+
app.post("/webhooks/blujay", express.raw({ type: "application/json" }), async (req, res) => {
|
|
111
|
+
try {
|
|
112
|
+
const event = await verifyWebhook(req.body, req.headers, process.env.BLUJAY_WEBHOOK_SECRET!);
|
|
113
|
+
console.log("Received", event.event_type);
|
|
114
|
+
res.sendStatus(200);
|
|
115
|
+
} catch (err) {
|
|
116
|
+
if (!(err instanceof WebhookVerificationError)) throw err;
|
|
117
|
+
res.sendStatus(400);
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
// Next.js route handler (app/webhooks/blujay/route.ts): read the text before anything parses it.
|
|
124
|
+
import { verifyWebhook, WebhookVerificationError } from "blujay";
|
|
125
|
+
|
|
126
|
+
export async function POST(request: Request) {
|
|
127
|
+
try {
|
|
128
|
+
const event = await verifyWebhook(await request.text(), request.headers, process.env.BLUJAY_WEBHOOK_SECRET!);
|
|
129
|
+
console.log("Received", event.event_type);
|
|
130
|
+
return new Response(null, { status: 200 });
|
|
131
|
+
} catch (err) {
|
|
132
|
+
if (!(err instanceof WebhookVerificationError)) throw err;
|
|
133
|
+
return new Response(null, { status: 400 });
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
See [webhook-server.ts](examples/webhook-server.ts) for a complete server and the [webhooks guide](https://docs.blujay.io/webhooks/overview) for every event.
|
|
139
|
+
|
|
140
|
+
## Handling errors
|
|
141
|
+
|
|
142
|
+
When the API returns an error, the library throws a subclass of `BlujayError`. Its message is one line, such as `404 NOT_FOUND: Chat not found (trace_id trc_8f2a1c0e4b7d)`:
|
|
143
|
+
|
|
144
|
+
```ts
|
|
145
|
+
import { Blujay, BlujayError } from "blujay";
|
|
146
|
+
|
|
147
|
+
try {
|
|
148
|
+
await client.chats.get({ chat_id: "chat_missing" });
|
|
149
|
+
} catch (err) {
|
|
150
|
+
if (err instanceof Blujay.NotFoundError) {
|
|
151
|
+
console.log("No such chat");
|
|
152
|
+
} else if (err instanceof BlujayError) {
|
|
153
|
+
// code: what went wrong, such as RATE_LIMIT_EXCEEDED. traceId: include it when you contact support.
|
|
154
|
+
console.log(err.statusCode, err.code, err.traceId);
|
|
155
|
+
if (err.retryable) console.log(`Safe to retry in ${err.retryAfter ?? 1} seconds`);
|
|
156
|
+
} else {
|
|
157
|
+
throw err;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
| Status | Error |
|
|
163
|
+
| --- | --- |
|
|
164
|
+
| 400 | `BadRequestError` |
|
|
165
|
+
| 401 | `UnauthorizedError`: authentication failed (the API key is missing, invalid, expired or revoked) |
|
|
166
|
+
| 403 | `ForbiddenError` |
|
|
167
|
+
| 404 | `NotFoundError` |
|
|
168
|
+
| 409 | `ConflictError` |
|
|
169
|
+
| 413 | `ContentTooLargeError` |
|
|
170
|
+
| 415 | `UnsupportedMediaTypeError` |
|
|
171
|
+
| 422 | `UnprocessableEntityError` |
|
|
172
|
+
| 429 | `TooManyRequestsError` |
|
|
173
|
+
| 500 | `InternalServerError` |
|
|
174
|
+
| 502 | `BadGatewayError` |
|
|
175
|
+
| 503 | `ServiceUnavailableError` |
|
|
176
|
+
|
|
177
|
+
Any other error status throws `BlujayError` itself; check `statusCode` and `code`. `docUrl` links to the page that explains the code, and `body` holds the full error response. A request that takes too long throws `BlujayTimeoutError`, and a missing API key throws `BlujayError` before anything is sent. Every error code is explained in the [error reference](https://docs.blujay.io/errors).
|
|
178
|
+
|
|
179
|
+
## Retries and idempotency
|
|
180
|
+
|
|
181
|
+
Reads (`GET`) are retried up to 2 times, with backoff, when the connection fails or after a `408`, `429` or `5xx` response. A `Retry-After` header is respected. The [Python library](https://pypi.org/project/blujay/) does the same.
|
|
182
|
+
|
|
183
|
+
Writes (`POST`, `PUT`, `PATCH`, `DELETE`), including every send and edit, are never retried automatically: if Blujay accepted a send but the response was lost, a retry would text the person twice. Instead, pass an `idempotencyKey` on sends. Retrying with the **same** key is always safe; Blujay returns the original result instead of sending again.
|
|
184
|
+
|
|
185
|
+
```ts
|
|
186
|
+
// Tie the key to the event, so a retry reuses it.
|
|
187
|
+
const idempotencyKey = "order-1042-shipped";
|
|
188
|
+
await client.chats.messages.send({ chat_id: "chat_abc123", message }, { idempotencyKey });
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Change the retry count for reads with `maxRetries`, on the client or per request. Writes ignore it and never retry:
|
|
192
|
+
|
|
193
|
+
```ts
|
|
194
|
+
const client = new BlujayClient({ maxRetries: 0 });
|
|
195
|
+
await client.chats.list({}, { maxRetries: 5 });
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
## Timeouts
|
|
199
|
+
|
|
200
|
+
Requests time out after 60 seconds. Change it on the client or per request:
|
|
201
|
+
|
|
202
|
+
```ts
|
|
203
|
+
const client = new BlujayClient({ timeoutInSeconds: 20 });
|
|
204
|
+
await client.chats.list({}, { timeoutInSeconds: 5 });
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Downloads
|
|
208
|
+
|
|
209
|
+
Methods that return a file, such as `client.attachments.download` and `client.calls.downloadRecording`, give you the body to read once:
|
|
210
|
+
|
|
211
|
+
```ts
|
|
212
|
+
import { writeFile } from "node:fs/promises";
|
|
213
|
+
|
|
214
|
+
const recording = await client.calls.downloadRecording({ call_id: "call_abc123" });
|
|
215
|
+
await writeFile("call.mp3", Buffer.from(await recording.arrayBuffer()));
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
## Advanced
|
|
219
|
+
|
|
220
|
+
- **Raw response:** add `.withRawResponse()` to a call to get `{ data, rawResponse }`, including headers. List calls return a page instead; read `page.rawResponse`.
|
|
221
|
+
- **Cancel a request:** pass `abortSignal` in the request options.
|
|
222
|
+
- **Extra headers:** pass `headers` on the client or per request.
|
|
223
|
+
- **Logging:** pass `logging: { level: logging.LogLevel.Debug, silent: false }` to the client (`import { logging } from "blujay"`).
|
|
224
|
+
- **Endpoints not in this version:** `client.fetch("/v1/...", init)` sends an authenticated request. It doesn't retry a write (`POST`, `PUT`, `PATCH` or `DELETE`) unless you pass `maxRetries` in its request options; only pass it with an `Idempotency-Key` header.
|
|
225
|
+
|
|
226
|
+
## Runtimes
|
|
227
|
+
|
|
228
|
+
The library uses only `fetch` and Web Crypto, so it runs on:
|
|
229
|
+
|
|
230
|
+
- Node.js 20, 22 and 24 (tested on each)
|
|
231
|
+
- Bun and Deno (tested)
|
|
232
|
+
- Cloudflare Workers and Vercel Edge Functions (`verifyWebhook` and the client; tested in a sandbox with only web globals)
|
|
233
|
+
|
|
234
|
+
Keep your API key on a server: anyone can read a key that's shipped in a web page, so don't call the API from a browser.
|
|
235
|
+
|
|
236
|
+
## Versioning
|
|
237
|
+
|
|
238
|
+
This library follows [semantic versioning](https://semver.org). New endpoints and fields arrive in minor versions; anything that could break your code waits for a major version. See the [changelog](CHANGELOG.md).
|
|
239
|
+
|
|
240
|
+
## Support
|
|
241
|
+
|
|
242
|
+
- Questions and bugs: [support@blujay.io](mailto:support@blujay.io) or [open an issue](https://github.com/blujayhq/blujay-node/issues)
|
|
243
|
+
- Security issues: see [SECURITY.md](SECURITY.md)
|
|
244
|
+
|
|
245
|
+
## License
|
|
246
|
+
|
|
247
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { BearerAuthProvider } from "./auth/BearerAuthProvider.js";
|
|
2
|
+
import * as core from "./core/index.js";
|
|
3
|
+
import type * as environments from "./environments.js";
|
|
4
|
+
export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | BearerAuthProvider.AuthOptions;
|
|
5
|
+
export type BaseClientOptions = {
|
|
6
|
+
environment?: core.Supplier<environments.BlujayEnvironment | string>;
|
|
7
|
+
/** Specify a custom URL to connect the client to. */
|
|
8
|
+
baseUrl?: core.Supplier<string>;
|
|
9
|
+
/** Additional headers to include in requests. */
|
|
10
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
11
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
12
|
+
timeoutInSeconds?: number;
|
|
13
|
+
/** How many times to retry a failed read (GET). Defaults to 2. Writes never retry. */
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
/** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
|
|
16
|
+
fetch?: typeof fetch;
|
|
17
|
+
/** Configure logging for the client. */
|
|
18
|
+
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
19
|
+
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
20
|
+
auth?: AuthOption;
|
|
21
|
+
} & BearerAuthProvider.AuthOptions;
|
|
22
|
+
export interface BaseRequestOptions {
|
|
23
|
+
/** The maximum time to wait for a response in seconds. */
|
|
24
|
+
timeoutInSeconds?: number;
|
|
25
|
+
/** How many times to retry this request if it is a read (GET). Defaults to 2. Writes never retry. */
|
|
26
|
+
maxRetries?: number;
|
|
27
|
+
/** A hook to abort the request. */
|
|
28
|
+
abortSignal?: AbortSignal;
|
|
29
|
+
/** Additional query string parameters to include in the request. */
|
|
30
|
+
queryParams?: Record<string, unknown>;
|
|
31
|
+
/** A dictionary containing additional parameters to spread into the request's body. */
|
|
32
|
+
additionalBodyParameters?: Record<string, unknown>;
|
|
33
|
+
/** Additional headers to include in the request. */
|
|
34
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
35
|
+
}
|
|
36
|
+
export interface BaseIdempotentRequestOptions {
|
|
37
|
+
idempotencyKey?: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
40
|
+
logging: core.logging.Logger;
|
|
41
|
+
authProvider?: core.AuthProvider;
|
|
42
|
+
};
|
|
43
|
+
export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
|
|
44
|
+
authProvider: core.AuthProvider;
|
|
45
|
+
};
|
|
46
|
+
export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
|
|
47
|
+
export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.normalizeClientOptions = normalizeClientOptions;
|
|
38
|
+
exports.normalizeClientOptionsWithAuth = normalizeClientOptionsWithAuth;
|
|
39
|
+
const BearerAuthProvider_js_1 = require("./auth/BearerAuthProvider.js");
|
|
40
|
+
const headers_js_1 = require("./core/headers.js");
|
|
41
|
+
const core = __importStar(require("./core/index.js"));
|
|
42
|
+
const version_js_1 = require("./custom/version.js");
|
|
43
|
+
function normalizeClientOptions(options) {
|
|
44
|
+
const headers = (0, headers_js_1.mergeHeaders)({ "User-Agent": (0, version_js_1.userAgent)() }, options?.headers);
|
|
45
|
+
return {
|
|
46
|
+
...options,
|
|
47
|
+
logging: core.logging.createLogger(options?.logging),
|
|
48
|
+
headers,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function normalizeClientOptionsWithAuth(options) {
|
|
52
|
+
const normalized = normalizeClientOptions(options);
|
|
53
|
+
if (options.auth === false) {
|
|
54
|
+
normalized.authProvider = new core.NoOpAuthProvider();
|
|
55
|
+
return normalized;
|
|
56
|
+
}
|
|
57
|
+
if (options.auth != null) {
|
|
58
|
+
if (typeof options.auth === "function") {
|
|
59
|
+
normalized.authProvider = { getAuthRequest: options.auth };
|
|
60
|
+
return normalized;
|
|
61
|
+
}
|
|
62
|
+
if (core.isAuthProvider(options.auth)) {
|
|
63
|
+
normalized.authProvider = options.auth;
|
|
64
|
+
return normalized;
|
|
65
|
+
}
|
|
66
|
+
Object.assign(normalized, options.auth);
|
|
67
|
+
}
|
|
68
|
+
const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
|
|
69
|
+
normalized.authProvider ?? (normalized.authProvider = new BearerAuthProvider_js_1.BearerAuthProvider(normalizedWithNoOpAuthProvider));
|
|
70
|
+
return normalized;
|
|
71
|
+
}
|
|
72
|
+
function withNoOpAuthProvider(options) {
|
|
73
|
+
return {
|
|
74
|
+
...options,
|
|
75
|
+
authProvider: new core.NoOpAuthProvider(),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=BaseClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseClient.js","sourceRoot":"","sources":["../../src/BaseClient.ts"],"names":[],"mappings":";AAAA,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DhE,wDAaC;AAED,wEAwBC;AAlGD,wEAAkE;AAClE,kDAAiD;AACjD,sDAAwC;AACxC,oDAAgD;AAwDhD,SAAgB,sBAAsB,CAClC,OAAU;IAEV,MAAM,OAAO,GAAG,IAAA,yBAAY,EACxB,EAAE,YAAY,EAAE,IAAA,sBAAS,GAAE,EAAE,EAC7B,OAAO,EAAE,OAAO,CACnB,CAAC;IAEF,OAAO;QACH,GAAG,OAAO;QACV,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC;QACpD,OAAO;KACoB,CAAC;AACpC,CAAC;AAED,SAAgB,8BAA8B,CAC1C,OAAU;IAEV,MAAM,UAAU,GAAG,sBAAsB,CAAC,OAAO,CAAuC,CAAC;IAEzF,IAAI,OAAO,CAAC,IAAI,KAAK,KAAK,EAAE,CAAC;QACzB,UAAU,CAAC,YAAY,GAAG,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACtD,OAAO,UAAU,CAAC;IACtB,CAAC;IACD,IAAI,OAAO,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,OAAO,OAAO,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;YACrC,UAAU,CAAC,YAAY,GAAG,EAAE,cAAc,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC;YAC3D,OAAO,UAAU,CAAC;QACtB,CAAC;QACD,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACpC,UAAU,CAAC,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;YACvC,OAAO,UAAU,CAAC;QACtB,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IAED,MAAM,8BAA8B,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;IACxE,UAAU,CAAC,YAAY,KAAvB,UAAU,CAAC,YAAY,GAAK,IAAI,0CAAkB,CAAC,8BAA8B,CAAC,EAAC;IACnF,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,SAAS,oBAAoB,CACzB,OAAmC;IAEnC,OAAO;QACH,GAAG,OAAO;QACV,YAAY,EAAE,IAAI,IAAI,CAAC,gBAAgB,EAAE;KAC5C,CAAC;AACN,CAAC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport { BearerAuthProvider } from \"./auth/BearerAuthProvider.js\";\nimport { mergeHeaders } from \"./core/headers.js\";\nimport * as core from \"./core/index.js\";\nimport { userAgent } from \"./custom/version.js\";\nimport type * as environments from \"./environments.js\";\n\nexport type AuthOption =\n | false\n | core.AuthProvider[\"getAuthRequest\"]\n | core.AuthProvider\n | BearerAuthProvider.AuthOptions;\n\nexport type BaseClientOptions = {\n environment?: core.Supplier<environments.BlujayEnvironment | string>;\n /** Specify a custom URL to connect the client to. */\n baseUrl?: core.Supplier<string>;\n /** Additional headers to include in requests. */\n headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;\n /** The default maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** How many times to retry a failed read (GET). Defaults to 2. Writes never retry. */\n maxRetries?: number;\n /** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */\n fetch?: typeof fetch;\n /** Configure logging for the client. */\n logging?: core.logging.LogConfig | core.logging.Logger;\n /** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */\n auth?: AuthOption;\n} & BearerAuthProvider.AuthOptions;\n\nexport interface BaseRequestOptions {\n /** The maximum time to wait for a response in seconds. */\n timeoutInSeconds?: number;\n /** How many times to retry this request if it is a read (GET). Defaults to 2. Writes never retry. */\n maxRetries?: number;\n /** A hook to abort the request. */\n abortSignal?: AbortSignal;\n /** Additional query string parameters to include in the request. */\n queryParams?: Record<string, unknown>;\n /** A dictionary containing additional parameters to spread into the request's body. */\n additionalBodyParameters?: Record<string, unknown>;\n /** Additional headers to include in the request. */\n headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;\n}\n\nexport interface BaseIdempotentRequestOptions {\n idempotencyKey?: string | undefined;\n}\n\nexport type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {\n logging: core.logging.Logger;\n authProvider?: core.AuthProvider;\n};\n\nexport type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> =\n NormalizedClientOptions<T> & {\n authProvider: core.AuthProvider;\n };\n\nexport function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(\n options: T,\n): NormalizedClientOptions<T> {\n const headers = mergeHeaders(\n { \"User-Agent\": userAgent() },\n options?.headers,\n );\n\n return {\n ...options,\n logging: core.logging.createLogger(options?.logging),\n headers,\n } as NormalizedClientOptions<T>;\n}\n\nexport function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(\n options: T,\n): NormalizedClientOptionsWithAuth<T> {\n const normalized = normalizeClientOptions(options) as NormalizedClientOptionsWithAuth<T>;\n\n if (options.auth === false) {\n normalized.authProvider = new core.NoOpAuthProvider();\n return normalized;\n }\n if (options.auth != null) {\n if (typeof options.auth === \"function\") {\n normalized.authProvider = { getAuthRequest: options.auth };\n return normalized;\n }\n if (core.isAuthProvider(options.auth)) {\n normalized.authProvider = options.auth;\n return normalized;\n }\n Object.assign(normalized, options.auth);\n }\n\n const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);\n normalized.authProvider ??= new BearerAuthProvider(normalizedWithNoOpAuthProvider);\n return normalized;\n}\n\nfunction withNoOpAuthProvider<T extends BaseClientOptions = BaseClientOptions>(\n options: NormalizedClientOptions<T>,\n): NormalizedClientOptionsWithAuth<T> {\n return {\n ...options,\n authProvider: new core.NoOpAuthProvider(),\n };\n}\n"]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AttachmentsClient } from "./api/resources/attachments/client/Client.js";
|
|
2
|
+
import { CallsClient } from "./api/resources/calls/client/Client.js";
|
|
3
|
+
import { CapabilityClient } from "./api/resources/capability/client/Client.js";
|
|
4
|
+
import { ChatsClient } from "./api/resources/chats/client/Client.js";
|
|
5
|
+
import { ContactsClient } from "./api/resources/contacts/client/Client.js";
|
|
6
|
+
import { MeClient } from "./api/resources/me/client/Client.js";
|
|
7
|
+
import { MessagesClient } from "./api/resources/messages/client/Client.js";
|
|
8
|
+
import { PhoneNumbersClient } from "./api/resources/phoneNumbers/client/Client.js";
|
|
9
|
+
import { TeamMembersClient } from "./api/resources/teamMembers/client/Client.js";
|
|
10
|
+
import { VcardsClient } from "./api/resources/vcards/client/Client.js";
|
|
11
|
+
import { WebhookSubscriptionsClient } from "./api/resources/webhookSubscriptions/client/Client.js";
|
|
12
|
+
import { WorkflowsClient } from "./api/resources/workflows/client/Client.js";
|
|
13
|
+
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
14
|
+
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
15
|
+
import * as core from "./core/index.js";
|
|
16
|
+
export declare namespace BlujayClient {
|
|
17
|
+
type Options = BaseClientOptions;
|
|
18
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export declare class BlujayClient {
|
|
22
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<BlujayClient.Options>;
|
|
23
|
+
protected _me: MeClient | undefined;
|
|
24
|
+
protected _chats: ChatsClient | undefined;
|
|
25
|
+
protected _messages: MessagesClient | undefined;
|
|
26
|
+
protected _phoneNumbers: PhoneNumbersClient | undefined;
|
|
27
|
+
protected _capability: CapabilityClient | undefined;
|
|
28
|
+
protected _teamMembers: TeamMembersClient | undefined;
|
|
29
|
+
protected _workflows: WorkflowsClient | undefined;
|
|
30
|
+
protected _contacts: ContactsClient | undefined;
|
|
31
|
+
protected _attachments: AttachmentsClient | undefined;
|
|
32
|
+
protected _calls: CallsClient | undefined;
|
|
33
|
+
protected _vcards: VcardsClient | undefined;
|
|
34
|
+
protected _webhookSubscriptions: WebhookSubscriptionsClient | undefined;
|
|
35
|
+
constructor(options?: BlujayClient.Options);
|
|
36
|
+
get me(): MeClient;
|
|
37
|
+
get chats(): ChatsClient;
|
|
38
|
+
get messages(): MessagesClient;
|
|
39
|
+
get phoneNumbers(): PhoneNumbersClient;
|
|
40
|
+
get capability(): CapabilityClient;
|
|
41
|
+
get teamMembers(): TeamMembersClient;
|
|
42
|
+
get workflows(): WorkflowsClient;
|
|
43
|
+
get contacts(): ContactsClient;
|
|
44
|
+
get attachments(): AttachmentsClient;
|
|
45
|
+
get calls(): CallsClient;
|
|
46
|
+
get vcards(): VcardsClient;
|
|
47
|
+
get webhookSubscriptions(): WebhookSubscriptionsClient;
|
|
48
|
+
/**
|
|
49
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
50
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
51
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
52
|
+
*
|
|
53
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
54
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
55
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
56
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
57
|
+
*/
|
|
58
|
+
fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BlujayClient = void 0;
|
|
38
|
+
const Client_js_1 = require("./api/resources/attachments/client/Client.js");
|
|
39
|
+
const Client_js_2 = require("./api/resources/calls/client/Client.js");
|
|
40
|
+
const Client_js_3 = require("./api/resources/capability/client/Client.js");
|
|
41
|
+
const Client_js_4 = require("./api/resources/chats/client/Client.js");
|
|
42
|
+
const Client_js_5 = require("./api/resources/contacts/client/Client.js");
|
|
43
|
+
const Client_js_6 = require("./api/resources/me/client/Client.js");
|
|
44
|
+
const Client_js_7 = require("./api/resources/messages/client/Client.js");
|
|
45
|
+
const Client_js_8 = require("./api/resources/phoneNumbers/client/Client.js");
|
|
46
|
+
const Client_js_9 = require("./api/resources/teamMembers/client/Client.js");
|
|
47
|
+
const Client_js_10 = require("./api/resources/vcards/client/Client.js");
|
|
48
|
+
const Client_js_11 = require("./api/resources/webhookSubscriptions/client/Client.js");
|
|
49
|
+
const Client_js_12 = require("./api/resources/workflows/client/Client.js");
|
|
50
|
+
const BaseClient_js_1 = require("./BaseClient.js");
|
|
51
|
+
const core = __importStar(require("./core/index.js"));
|
|
52
|
+
const environments = __importStar(require("./environments.js"));
|
|
53
|
+
class BlujayClient {
|
|
54
|
+
constructor(options = {}) {
|
|
55
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
|
+
}
|
|
57
|
+
get me() {
|
|
58
|
+
return (this._me ?? (this._me = new Client_js_6.MeClient(this._options)));
|
|
59
|
+
}
|
|
60
|
+
get chats() {
|
|
61
|
+
return (this._chats ?? (this._chats = new Client_js_4.ChatsClient(this._options)));
|
|
62
|
+
}
|
|
63
|
+
get messages() {
|
|
64
|
+
return (this._messages ?? (this._messages = new Client_js_7.MessagesClient(this._options)));
|
|
65
|
+
}
|
|
66
|
+
get phoneNumbers() {
|
|
67
|
+
return (this._phoneNumbers ?? (this._phoneNumbers = new Client_js_8.PhoneNumbersClient(this._options)));
|
|
68
|
+
}
|
|
69
|
+
get capability() {
|
|
70
|
+
return (this._capability ?? (this._capability = new Client_js_3.CapabilityClient(this._options)));
|
|
71
|
+
}
|
|
72
|
+
get teamMembers() {
|
|
73
|
+
return (this._teamMembers ?? (this._teamMembers = new Client_js_9.TeamMembersClient(this._options)));
|
|
74
|
+
}
|
|
75
|
+
get workflows() {
|
|
76
|
+
return (this._workflows ?? (this._workflows = new Client_js_12.WorkflowsClient(this._options)));
|
|
77
|
+
}
|
|
78
|
+
get contacts() {
|
|
79
|
+
return (this._contacts ?? (this._contacts = new Client_js_5.ContactsClient(this._options)));
|
|
80
|
+
}
|
|
81
|
+
get attachments() {
|
|
82
|
+
return (this._attachments ?? (this._attachments = new Client_js_1.AttachmentsClient(this._options)));
|
|
83
|
+
}
|
|
84
|
+
get calls() {
|
|
85
|
+
return (this._calls ?? (this._calls = new Client_js_2.CallsClient(this._options)));
|
|
86
|
+
}
|
|
87
|
+
get vcards() {
|
|
88
|
+
return (this._vcards ?? (this._vcards = new Client_js_10.VcardsClient(this._options)));
|
|
89
|
+
}
|
|
90
|
+
get webhookSubscriptions() {
|
|
91
|
+
return (this._webhookSubscriptions ?? (this._webhookSubscriptions = new Client_js_11.WebhookSubscriptionsClient(this._options)));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
95
|
+
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
96
|
+
* The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
|
|
97
|
+
*
|
|
98
|
+
* @param {Request | string | URL} input - The URL, path, or Request object.
|
|
99
|
+
* @param {RequestInit} init - Standard fetch RequestInit options.
|
|
100
|
+
* @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
|
|
101
|
+
* @returns {Promise<Response>} A standard Response object.
|
|
102
|
+
*/
|
|
103
|
+
async fetch(input, init, requestOptions) {
|
|
104
|
+
return core.makePassthroughRequest(input, init, {
|
|
105
|
+
// Same default as every other method: production.
|
|
106
|
+
baseUrl: this._options.baseUrl ?? this._options.environment ?? environments.BlujayEnvironment.Production,
|
|
107
|
+
headers: this._options.headers,
|
|
108
|
+
timeoutInSeconds: this._options.timeoutInSeconds,
|
|
109
|
+
maxRetries: this._options.maxRetries,
|
|
110
|
+
fetch: this._options.fetch,
|
|
111
|
+
logging: this._options.logging,
|
|
112
|
+
getAuthHeaders: async () => (await this._options.authProvider.getAuthRequest()).headers,
|
|
113
|
+
}, requestOptions);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.BlujayClient = BlujayClient;
|
|
117
|
+
//# sourceMappingURL=Client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../src/Client.ts"],"names":[],"mappings":";AAAA,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhE,4EAAiF;AACjF,sEAAqE;AACrE,2EAA+E;AAC/E,sEAAqE;AACrE,yEAA2E;AAC3E,mEAA+D;AAC/D,yEAA2E;AAC3E,6EAAmF;AACnF,4EAAiF;AACjF,wEAAuE;AACvE,sFAAmG;AACnG,2EAA6E;AAE7E,mDAAuG;AACvG,sDAAwC;AACxC,gEAAkD;AAQlD,MAAa,YAAY;IAerB,YAAY,UAAgC,EAAE;QAC1C,IAAI,CAAC,QAAQ,GAAG,IAAA,8CAA8B,EAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED,IAAW,EAAE;QACT,OAAO,CAAC,IAAI,CAAC,GAAG,KAAR,IAAI,CAAC,GAAG,GAAK,IAAI,oBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,CAAC,IAAI,CAAC,MAAM,KAAX,IAAI,CAAC,MAAM,GAAK,IAAI,uBAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAED,IAAW,QAAQ;QACf,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,0BAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAClE,CAAC;IAED,IAAW,YAAY;QACnB,OAAO,CAAC,IAAI,CAAC,aAAa,KAAlB,IAAI,CAAC,aAAa,GAAK,IAAI,8BAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1E,CAAC;IAED,IAAW,UAAU;QACjB,OAAO,CAAC,IAAI,CAAC,WAAW,KAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,4BAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtE,CAAC;IAED,IAAW,WAAW;QAClB,OAAO,CAAC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,6BAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxE,CAAC;IAED,IAAW,SAAS;QAChB,OAAO,CAAC,IAAI,CAAC,UAAU,KAAf,IAAI,CAAC,UAAU,GAAK,IAAI,4BAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACpE,CAAC;IAED,IAAW,QAAQ;QACf,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,0BAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAClE,CAAC;IAED,IAAW,WAAW;QAClB,OAAO,CAAC,IAAI,CAAC,YAAY,KAAjB,IAAI,CAAC,YAAY,GAAK,IAAI,6BAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACxE,CAAC;IAED,IAAW,KAAK;QACZ,OAAO,CAAC,IAAI,CAAC,MAAM,KAAX,IAAI,CAAC,MAAM,GAAK,IAAI,uBAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC5D,CAAC;IAED,IAAW,MAAM;QACb,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,yBAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC9D,CAAC;IAED,IAAW,oBAAoB;QAC3B,OAAO,CAAC,IAAI,CAAC,qBAAqB,KAA1B,IAAI,CAAC,qBAAqB,GAAK,IAAI,uCAA0B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;OASG;IACI,KAAK,CAAC,KAAK,CACd,KAA6B,EAC7B,IAAkB,EAClB,cAAuD;QAEvD,OAAO,IAAI,CAAC,sBAAsB,CAC9B,KAAK,EACL,IAAI,EACJ;YACI,kDAAkD;YAClD,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,IAAI,YAAY,CAAC,iBAAiB,CAAC,UAAU;YACxG,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO;YAC9B,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB;YAChD,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,UAAU;YACpC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK;YAC1B,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,OAAO;YAC9B,cAAc,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,cAAc,EAAE,CAAC,CAAC,OAAO;SAC1F,EACD,cAAc,CACjB,CAAC;IACN,CAAC;CACJ;AAlGD,oCAkGC","sourcesContent":["// This file was auto-generated by Fern from our API Definition.\n\nimport { AttachmentsClient } from \"./api/resources/attachments/client/Client.js\";\nimport { CallsClient } from \"./api/resources/calls/client/Client.js\";\nimport { CapabilityClient } from \"./api/resources/capability/client/Client.js\";\nimport { ChatsClient } from \"./api/resources/chats/client/Client.js\";\nimport { ContactsClient } from \"./api/resources/contacts/client/Client.js\";\nimport { MeClient } from \"./api/resources/me/client/Client.js\";\nimport { MessagesClient } from \"./api/resources/messages/client/Client.js\";\nimport { PhoneNumbersClient } from \"./api/resources/phoneNumbers/client/Client.js\";\nimport { TeamMembersClient } from \"./api/resources/teamMembers/client/Client.js\";\nimport { VcardsClient } from \"./api/resources/vcards/client/Client.js\";\nimport { WebhookSubscriptionsClient } from \"./api/resources/webhookSubscriptions/client/Client.js\";\nimport { WorkflowsClient } from \"./api/resources/workflows/client/Client.js\";\nimport type { BaseClientOptions, BaseRequestOptions } from \"./BaseClient.js\";\nimport { type NormalizedClientOptionsWithAuth, normalizeClientOptionsWithAuth } from \"./BaseClient.js\";\nimport * as core from \"./core/index.js\";\nimport * as environments from \"./environments.js\";\n\nexport declare namespace BlujayClient {\n export type Options = BaseClientOptions;\n\n export interface RequestOptions extends BaseRequestOptions {}\n}\n\nexport class BlujayClient {\n protected readonly _options: NormalizedClientOptionsWithAuth<BlujayClient.Options>;\n protected _me: MeClient | undefined;\n protected _chats: ChatsClient | undefined;\n protected _messages: MessagesClient | undefined;\n protected _phoneNumbers: PhoneNumbersClient | undefined;\n protected _capability: CapabilityClient | undefined;\n protected _teamMembers: TeamMembersClient | undefined;\n protected _workflows: WorkflowsClient | undefined;\n protected _contacts: ContactsClient | undefined;\n protected _attachments: AttachmentsClient | undefined;\n protected _calls: CallsClient | undefined;\n protected _vcards: VcardsClient | undefined;\n protected _webhookSubscriptions: WebhookSubscriptionsClient | undefined;\n\n constructor(options: BlujayClient.Options = {}) {\n this._options = normalizeClientOptionsWithAuth(options);\n }\n\n public get me(): MeClient {\n return (this._me ??= new MeClient(this._options));\n }\n\n public get chats(): ChatsClient {\n return (this._chats ??= new ChatsClient(this._options));\n }\n\n public get messages(): MessagesClient {\n return (this._messages ??= new MessagesClient(this._options));\n }\n\n public get phoneNumbers(): PhoneNumbersClient {\n return (this._phoneNumbers ??= new PhoneNumbersClient(this._options));\n }\n\n public get capability(): CapabilityClient {\n return (this._capability ??= new CapabilityClient(this._options));\n }\n\n public get teamMembers(): TeamMembersClient {\n return (this._teamMembers ??= new TeamMembersClient(this._options));\n }\n\n public get workflows(): WorkflowsClient {\n return (this._workflows ??= new WorkflowsClient(this._options));\n }\n\n public get contacts(): ContactsClient {\n return (this._contacts ??= new ContactsClient(this._options));\n }\n\n public get attachments(): AttachmentsClient {\n return (this._attachments ??= new AttachmentsClient(this._options));\n }\n\n public get calls(): CallsClient {\n return (this._calls ??= new CallsClient(this._options));\n }\n\n public get vcards(): VcardsClient {\n return (this._vcards ??= new VcardsClient(this._options));\n }\n\n public get webhookSubscriptions(): WebhookSubscriptionsClient {\n return (this._webhookSubscriptions ??= new WebhookSubscriptionsClient(this._options));\n }\n\n /**\n * Make a passthrough request using the SDK's configured auth, retry, logging, etc.\n * This is useful for making requests to endpoints not yet supported in the SDK.\n * The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.\n *\n * @param {Request | string | URL} input - The URL, path, or Request object.\n * @param {RequestInit} init - Standard fetch RequestInit options.\n * @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).\n * @returns {Promise<Response>} A standard Response object.\n */\n public async fetch(\n input: Request | string | URL,\n init?: RequestInit,\n requestOptions?: core.PassthroughRequest.RequestOptions,\n ): Promise<Response> {\n return core.makePassthroughRequest(\n input,\n init,\n {\n // Same default as every other method: production.\n baseUrl: this._options.baseUrl ?? this._options.environment ?? environments.BlujayEnvironment.Production,\n headers: this._options.headers,\n timeoutInSeconds: this._options.timeoutInSeconds,\n maxRetries: this._options.maxRetries,\n fetch: this._options.fetch,\n logging: this._options.logging,\n getAuthHeaders: async () => (await this._options.authProvider.getAuthRequest()).headers,\n },\n requestOptions,\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as Blujay from "../index.js";
|
|
4
|
+
export declare class BadGatewayError extends errors.BlujayError {
|
|
5
|
+
readonly body: Blujay.ErrorEnvelope;
|
|
6
|
+
constructor(body: Blujay.ErrorEnvelope, rawResponse?: core.RawResponse);
|
|
7
|
+
}
|