@unlimited-messaging/sdk 0.1.18 → 0.1.20
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/package.json +1 -1
- package/src/api/index.d.ts +1 -0
- package/src/api/index.js +1 -0
- package/src/api/resources/accounts/client/Client.d.ts +68 -6
- package/src/api/resources/accounts/client/Client.js +272 -9
- package/src/api/resources/accounts/client/requests/AccountGetGroupRequest.d.ts +9 -0
- package/src/api/resources/accounts/client/requests/AccountGetGroupRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/AccountLinkAccountRequest.d.ts +3 -0
- package/src/api/resources/accounts/client/requests/AccountListGroupsRequest.d.ts +9 -0
- package/src/api/resources/accounts/client/requests/AccountListGroupsRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/AccountRequestHistoryRequest.d.ts +15 -0
- package/src/api/resources/accounts/client/requests/AccountRequestHistoryRequest.js +5 -0
- package/src/api/resources/accounts/client/requests/AccountUpdateAccountRequest.d.ts +10 -4
- package/src/api/resources/accounts/client/requests/index.d.ts +3 -0
- package/src/api/resources/accounts/types/AccountGetAccountResponse.d.ts +8 -0
- package/src/api/resources/accounts/types/AccountGetGroupResponse.d.ts +12 -0
- package/src/api/resources/accounts/types/AccountGetGroupResponse.js +5 -0
- package/src/api/resources/accounts/types/AccountGetGroupResponseMembersItem.d.ts +13 -0
- package/src/api/resources/accounts/types/AccountGetGroupResponseMembersItem.js +5 -0
- package/src/api/resources/accounts/types/AccountListAccountsResponseItem.d.ts +8 -0
- package/src/api/resources/accounts/types/AccountListGroupsResponse.d.ts +7 -0
- package/src/api/resources/accounts/types/AccountListGroupsResponse.js +5 -0
- package/src/api/resources/accounts/types/AccountListGroupsResponseDataItem.d.ts +9 -0
- package/src/api/resources/accounts/types/AccountListGroupsResponseDataItem.js +5 -0
- package/src/api/resources/accounts/types/AccountRequestHistoryResponse.d.ts +6 -0
- package/src/api/resources/accounts/types/AccountRequestHistoryResponse.js +5 -0
- package/src/api/resources/accounts/types/AccountUpdateAccountResponse.d.ts +8 -0
- package/src/api/resources/accounts/types/index.d.ts +5 -0
- package/src/api/resources/accounts/types/index.js +5 -0
- package/src/api/resources/messages/client/Client.d.ts +1 -1
- package/src/api/resources/messages/client/Client.js +1 -1
- package/src/api/resources/messages/client/requests/MessageSendRequest.d.ts +4 -0
- package/src/api/resources/messages/types/MessageFindAllResponseDataItem.d.ts +7 -0
- package/src/api/resources/messages/types/MessageFindOneResponse.d.ts +7 -0
- package/src/api/resources/messages/types/MessageSendRequestPriority.d.ts +11 -0
- package/src/api/resources/messages/types/MessageSendRequestPriority.js +10 -0
- package/src/api/resources/messages/types/MessageSendResponse.d.ts +7 -0
- package/src/api/resources/messages/types/index.d.ts +1 -0
- package/src/api/resources/messages/types/index.js +1 -0
- package/src/api/resources/webhooks/client/Client.d.ts +138 -3
- package/src/api/resources/webhooks/client/Client.js +138 -3
- package/src/api/resources/webhooks/client/requests/WebhookEndpointCreateRequest.d.ts +1 -0
- package/src/api/resources/webhooks/client/requests/WebhookEndpointUpdateRequest.d.ts +1 -0
- package/src/api/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.d.ts +9 -1
- package/src/api/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.js +8 -0
- package/src/api/resources/webhooks/types/WebhookEndpointCreateResponse.d.ts +1 -0
- package/src/api/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.d.ts +9 -1
- package/src/api/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.js +8 -0
- package/src/api/resources/webhooks/types/WebhookEndpointFindOneResponse.d.ts +1 -0
- package/src/api/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.d.ts +9 -1
- package/src/api/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.js +8 -0
- package/src/api/resources/webhooks/types/WebhookEndpointListResponseDataItem.d.ts +1 -0
- package/src/api/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.d.ts +9 -1
- package/src/api/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.js +8 -0
- package/src/api/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.d.ts +9 -1
- package/src/api/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.js +8 -0
- package/src/api/resources/webhooks/types/WebhookEndpointUpdateResponse.d.ts +1 -0
- package/src/api/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.d.ts +9 -1
- package/src/api/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.js +8 -0
- package/src/api/types/WebhookEventAccountStatusChanged.d.ts +10 -0
- package/src/api/types/WebhookEventAccountStatusChanged.js +5 -0
- package/src/api/types/WebhookEventAccountStatusChangedData.d.ts +7 -0
- package/src/api/types/WebhookEventAccountStatusChangedData.js +5 -0
- package/src/api/types/WebhookEventAccountStatusChangedDataAccount.d.ts +14 -0
- package/src/api/types/WebhookEventAccountStatusChangedDataAccount.js +5 -0
- package/src/api/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.d.ts +12 -0
- package/src/api/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.js +14 -0
- package/src/api/types/WebhookEventAccountStatusChangedDataAccountStatus.d.ts +12 -0
- package/src/api/types/WebhookEventAccountStatusChangedDataAccountStatus.js +14 -0
- package/src/api/types/WebhookEventAccountStatusChangedType.d.ts +7 -0
- package/src/api/types/WebhookEventAccountStatusChangedType.js +9 -0
- package/src/api/types/WebhookEventGroupUpdated.d.ts +10 -0
- package/src/api/types/WebhookEventGroupUpdated.js +5 -0
- package/src/api/types/WebhookEventGroupUpdatedData.d.ts +16 -0
- package/src/api/types/WebhookEventGroupUpdatedData.js +5 -0
- package/src/api/types/WebhookEventGroupUpdatedDataChannel.d.ts +8 -0
- package/src/api/types/WebhookEventGroupUpdatedDataChannel.js +5 -0
- package/src/api/types/WebhookEventGroupUpdatedDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventGroupUpdatedDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventGroupUpdatedDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventGroupUpdatedDataChannelType.js +11 -0
- package/src/api/types/WebhookEventGroupUpdatedDataGroup.d.ts +6 -0
- package/src/api/types/WebhookEventGroupUpdatedDataGroup.js +5 -0
- package/src/api/types/WebhookEventGroupUpdatedType.d.ts +7 -0
- package/src/api/types/WebhookEventGroupUpdatedType.js +9 -0
- package/src/api/types/WebhookEventMessageDeleted.d.ts +10 -0
- package/src/api/types/WebhookEventMessageDeleted.js +5 -0
- package/src/api/types/WebhookEventMessageDeletedData.d.ts +8 -0
- package/src/api/types/WebhookEventMessageDeletedData.js +5 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannel.d.ts +9 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannelConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannelConversation.js +5 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageDeletedDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageDeletedDataDeletion.d.ts +12 -0
- package/src/api/types/WebhookEventMessageDeletedDataDeletion.js +5 -0
- package/src/api/types/WebhookEventMessageDeletedType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageDeletedType.js +9 -0
- package/src/api/types/WebhookEventMessageEdited.d.ts +10 -0
- package/src/api/types/WebhookEventMessageEdited.js +5 -0
- package/src/api/types/WebhookEventMessageEditedData.d.ts +8 -0
- package/src/api/types/WebhookEventMessageEditedData.js +5 -0
- package/src/api/types/WebhookEventMessageEditedDataChannel.d.ts +9 -0
- package/src/api/types/WebhookEventMessageEditedDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageEditedDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageEditedDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageEditedDataChannelConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageEditedDataChannelConversation.js +5 -0
- package/src/api/types/WebhookEventMessageEditedDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageEditedDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageEditedDataEdit.d.ts +16 -0
- package/src/api/types/WebhookEventMessageEditedDataEdit.js +5 -0
- package/src/api/types/WebhookEventMessageEditedDataEditError.d.ts +8 -0
- package/src/api/types/WebhookEventMessageEditedDataEditError.js +10 -0
- package/src/api/types/WebhookEventMessageEditedDataEditKind.d.ts +8 -0
- package/src/api/types/WebhookEventMessageEditedDataEditKind.js +10 -0
- package/src/api/types/WebhookEventMessageEditedType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageEditedType.js +9 -0
- package/src/api/types/WebhookEventMessageHistory.d.ts +10 -0
- package/src/api/types/WebhookEventMessageHistory.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryData.d.ts +12 -0
- package/src/api/types/WebhookEventMessageHistoryData.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryDataChannel.d.ts +8 -0
- package/src/api/types/WebhookEventMessageHistoryDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageHistoryDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageHistoryDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItem.d.ts +27 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItem.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemConversation.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemDirection.d.ts +8 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemDirection.js +10 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.d.ts +7 -0
- package/src/api/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.js +5 -0
- package/src/api/types/WebhookEventMessageHistoryType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageHistoryType.js +9 -0
- package/src/api/types/WebhookEventMessageReaction.d.ts +10 -0
- package/src/api/types/WebhookEventMessageReaction.js +5 -0
- package/src/api/types/WebhookEventMessageReactionData.d.ts +8 -0
- package/src/api/types/WebhookEventMessageReactionData.js +5 -0
- package/src/api/types/WebhookEventMessageReactionDataChannel.d.ts +9 -0
- package/src/api/types/WebhookEventMessageReactionDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageReactionDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageReactionDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageReactionDataChannelConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageReactionDataChannelConversation.js +5 -0
- package/src/api/types/WebhookEventMessageReactionDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageReactionDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageReactionDataReaction.d.ts +15 -0
- package/src/api/types/WebhookEventMessageReactionDataReaction.js +5 -0
- package/src/api/types/WebhookEventMessageReactionType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageReactionType.js +9 -0
- package/src/api/types/WebhookEventMessageReceived.d.ts +10 -0
- package/src/api/types/WebhookEventMessageReceived.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedData.d.ts +8 -0
- package/src/api/types/WebhookEventMessageReceivedData.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannel.d.ts +9 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannelConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannelConversation.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageReceivedDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessage.d.ts +26 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessage.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessageDirection.d.ts +8 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessageDirection.js +10 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessageReplyTo.d.ts +7 -0
- package/src/api/types/WebhookEventMessageReceivedDataMessageReplyTo.js +5 -0
- package/src/api/types/WebhookEventMessageReceivedType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageReceivedType.js +9 -0
- package/src/api/types/WebhookEventMessageSelfSent.d.ts +10 -0
- package/src/api/types/WebhookEventMessageSelfSent.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentData.d.ts +8 -0
- package/src/api/types/WebhookEventMessageSelfSentData.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannel.d.ts +9 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannelConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannelConversation.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageSelfSentDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessage.d.ts +26 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessage.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessageDirection.d.ts +8 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessageDirection.js +10 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessageReplyTo.d.ts +7 -0
- package/src/api/types/WebhookEventMessageSelfSentDataMessageReplyTo.js +5 -0
- package/src/api/types/WebhookEventMessageSelfSentType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageSelfSentType.js +9 -0
- package/src/api/types/WebhookEventMessageStatus.d.ts +10 -0
- package/src/api/types/WebhookEventMessageStatus.js +5 -0
- package/src/api/types/WebhookEventMessageStatusData.d.ts +8 -0
- package/src/api/types/WebhookEventMessageStatusData.js +5 -0
- package/src/api/types/WebhookEventMessageStatusDataChannel.d.ts +9 -0
- package/src/api/types/WebhookEventMessageStatusDataChannel.js +5 -0
- package/src/api/types/WebhookEventMessageStatusDataChannelAccount.d.ts +7 -0
- package/src/api/types/WebhookEventMessageStatusDataChannelAccount.js +5 -0
- package/src/api/types/WebhookEventMessageStatusDataChannelConversation.d.ts +9 -0
- package/src/api/types/WebhookEventMessageStatusDataChannelConversation.js +5 -0
- package/src/api/types/WebhookEventMessageStatusDataChannelType.d.ts +9 -0
- package/src/api/types/WebhookEventMessageStatusDataChannelType.js +11 -0
- package/src/api/types/WebhookEventMessageStatusDataMessage.d.ts +13 -0
- package/src/api/types/WebhookEventMessageStatusDataMessage.js +5 -0
- package/src/api/types/WebhookEventMessageStatusDataMessagePreviousStatus.d.ts +13 -0
- package/src/api/types/WebhookEventMessageStatusDataMessagePreviousStatus.js +15 -0
- package/src/api/types/WebhookEventMessageStatusDataMessageStatus.d.ts +13 -0
- package/src/api/types/WebhookEventMessageStatusDataMessageStatus.js +15 -0
- package/src/api/types/WebhookEventMessageStatusType.d.ts +7 -0
- package/src/api/types/WebhookEventMessageStatusType.js +9 -0
- package/src/api/types/index.d.ts +79 -0
- package/src/api/types/index.js +95 -0
- package/src/serialization/index.d.ts +1 -0
- package/src/serialization/index.js +1 -0
- package/src/serialization/resources/accounts/client/requests/AccountRequestHistoryRequest.d.ts +13 -0
- package/src/serialization/resources/accounts/client/requests/AccountRequestHistoryRequest.js +44 -0
- package/src/serialization/resources/accounts/client/requests/AccountUpdateAccountRequest.d.ts +5 -1
- package/src/serialization/resources/accounts/client/requests/AccountUpdateAccountRequest.js +5 -1
- package/src/serialization/resources/accounts/client/requests/index.d.ts +1 -0
- package/src/serialization/resources/accounts/client/requests/index.js +3 -1
- package/src/serialization/resources/accounts/types/AccountGetAccountResponse.d.ts +4 -0
- package/src/serialization/resources/accounts/types/AccountGetAccountResponse.js +4 -0
- package/src/serialization/resources/accounts/types/AccountGetGroupResponse.d.ts +17 -0
- package/src/serialization/resources/accounts/types/AccountGetGroupResponse.js +48 -0
- package/src/serialization/resources/accounts/types/AccountGetGroupResponseMembersItem.d.ts +17 -0
- package/src/serialization/resources/accounts/types/AccountGetGroupResponseMembersItem.js +48 -0
- package/src/serialization/resources/accounts/types/AccountListAccountsResponseItem.d.ts +4 -0
- package/src/serialization/resources/accounts/types/AccountListAccountsResponseItem.js +4 -0
- package/src/serialization/resources/accounts/types/AccountListGroupsResponse.d.ts +13 -0
- package/src/serialization/resources/accounts/types/AccountListGroupsResponse.js +44 -0
- package/src/serialization/resources/accounts/types/AccountListGroupsResponseDataItem.d.ts +14 -0
- package/src/serialization/resources/accounts/types/AccountListGroupsResponseDataItem.js +45 -0
- package/src/serialization/resources/accounts/types/AccountRequestHistoryResponse.d.ts +12 -0
- package/src/serialization/resources/accounts/types/AccountRequestHistoryResponse.js +43 -0
- package/src/serialization/resources/accounts/types/AccountUpdateAccountResponse.d.ts +4 -0
- package/src/serialization/resources/accounts/types/AccountUpdateAccountResponse.js +4 -0
- package/src/serialization/resources/accounts/types/index.d.ts +5 -0
- package/src/serialization/resources/accounts/types/index.js +5 -0
- package/src/serialization/resources/messages/client/requests/MessageSendRequest.d.ts +3 -0
- package/src/serialization/resources/messages/client/requests/MessageSendRequest.js +3 -0
- package/src/serialization/resources/messages/types/MessageFindAllResponseDataItem.d.ts +3 -0
- package/src/serialization/resources/messages/types/MessageFindAllResponseDataItem.js +3 -0
- package/src/serialization/resources/messages/types/MessageFindOneResponse.d.ts +3 -0
- package/src/serialization/resources/messages/types/MessageFindOneResponse.js +3 -0
- package/src/serialization/resources/messages/types/MessageSendRequestPriority.d.ts +10 -0
- package/src/serialization/resources/messages/types/MessageSendRequestPriority.js +41 -0
- package/src/serialization/resources/messages/types/MessageSendResponse.d.ts +3 -0
- package/src/serialization/resources/messages/types/MessageSendResponse.js +3 -0
- package/src/serialization/resources/messages/types/index.d.ts +1 -0
- package/src/serialization/resources/messages/types/index.js +1 -0
- package/src/serialization/resources/webhooks/client/requests/WebhookEndpointCreateRequest.d.ts +1 -0
- package/src/serialization/resources/webhooks/client/requests/WebhookEndpointCreateRequest.js +1 -0
- package/src/serialization/resources/webhooks/client/requests/WebhookEndpointUpdateRequest.d.ts +1 -0
- package/src/serialization/resources/webhooks/client/requests/WebhookEndpointUpdateRequest.js +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.d.ts +1 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointCreateRequestEventTypesItem.js +11 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponse.d.ts +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponse.js +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.d.ts +1 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointCreateResponseEventTypesItem.js +11 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponse.d.ts +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponse.js +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.d.ts +1 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointFindOneResponseEventTypesItem.js +11 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItem.d.ts +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItem.js +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.d.ts +1 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointListResponseDataItemEventTypesItem.js +11 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.d.ts +1 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateRequestEventTypesItem.js +11 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponse.d.ts +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponse.js +1 -0
- package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.d.ts +1 -1
- package/src/serialization/resources/webhooks/types/WebhookEndpointUpdateResponseEventTypesItem.js +11 -1
- package/src/serialization/types/WebhookEventAccountStatusChanged.d.ts +17 -0
- package/src/serialization/types/WebhookEventAccountStatusChanged.js +48 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedData.d.ts +13 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedData.js +44 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedDataAccount.d.ts +21 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedDataAccount.js +52 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.d.ts +10 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.js +41 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountStatus.d.ts +10 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountStatus.js +41 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedType.d.ts +10 -0
- package/src/serialization/types/WebhookEventAccountStatusChangedType.js +41 -0
- package/src/serialization/types/WebhookEventGroupUpdated.d.ts +17 -0
- package/src/serialization/types/WebhookEventGroupUpdated.js +48 -0
- package/src/serialization/types/WebhookEventGroupUpdatedData.d.ts +23 -0
- package/src/serialization/types/WebhookEventGroupUpdatedData.js +54 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataChannel.d.ts +15 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataChannel.js +46 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataGroup.d.ts +12 -0
- package/src/serialization/types/WebhookEventGroupUpdatedDataGroup.js +43 -0
- package/src/serialization/types/WebhookEventGroupUpdatedType.d.ts +10 -0
- package/src/serialization/types/WebhookEventGroupUpdatedType.js +41 -0
- package/src/serialization/types/WebhookEventMessageDeleted.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageDeleted.js +48 -0
- package/src/serialization/types/WebhookEventMessageDeletedData.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageDeletedData.js +46 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannel.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannel.js +48 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannelConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannelConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataDeletion.d.ts +18 -0
- package/src/serialization/types/WebhookEventMessageDeletedDataDeletion.js +49 -0
- package/src/serialization/types/WebhookEventMessageDeletedType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageDeletedType.js +41 -0
- package/src/serialization/types/WebhookEventMessageEdited.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageEdited.js +48 -0
- package/src/serialization/types/WebhookEventMessageEditedData.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageEditedData.js +46 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannel.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannel.js +48 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannelConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannelConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageEditedDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEdit.d.ts +23 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEdit.js +54 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEditError.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEditError.js +41 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEditKind.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEditKind.js +41 -0
- package/src/serialization/types/WebhookEventMessageEditedType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageEditedType.js +41 -0
- package/src/serialization/types/WebhookEventMessageHistory.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageHistory.js +48 -0
- package/src/serialization/types/WebhookEventMessageHistoryData.d.ts +19 -0
- package/src/serialization/types/WebhookEventMessageHistoryData.js +50 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataChannel.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataChannel.js +46 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItem.d.ts +35 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItem.js +66 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemDirection.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemDirection.js +41 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageHistoryDataMessagesItemReplyTo.js +44 -0
- package/src/serialization/types/WebhookEventMessageHistoryType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageHistoryType.js +41 -0
- package/src/serialization/types/WebhookEventMessageReaction.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageReaction.js +48 -0
- package/src/serialization/types/WebhookEventMessageReactionData.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageReactionData.js +46 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannel.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannel.js +48 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannelConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannelConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageReactionDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageReactionDataReaction.d.ts +21 -0
- package/src/serialization/types/WebhookEventMessageReactionDataReaction.js +52 -0
- package/src/serialization/types/WebhookEventMessageReactionType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageReactionType.js +41 -0
- package/src/serialization/types/WebhookEventMessageReceived.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageReceived.js +48 -0
- package/src/serialization/types/WebhookEventMessageReceivedData.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageReceivedData.js +46 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannel.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannel.js +48 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannelConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannelConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessage.d.ts +33 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessage.js +64 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessageDirection.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessageDirection.js +41 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessageReplyTo.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageReceivedDataMessageReplyTo.js +44 -0
- package/src/serialization/types/WebhookEventMessageReceivedType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageReceivedType.js +41 -0
- package/src/serialization/types/WebhookEventMessageSelfSent.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageSelfSent.js +48 -0
- package/src/serialization/types/WebhookEventMessageSelfSentData.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageSelfSentData.js +46 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannel.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannel.js +48 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannelConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannelConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessage.d.ts +33 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessage.js +64 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessageDirection.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessageDirection.js +41 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessageReplyTo.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageSelfSentDataMessageReplyTo.js +44 -0
- package/src/serialization/types/WebhookEventMessageSelfSentType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageSelfSentType.js +41 -0
- package/src/serialization/types/WebhookEventMessageStatus.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageStatus.js +48 -0
- package/src/serialization/types/WebhookEventMessageStatusData.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageStatusData.js +46 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannel.d.ts +17 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannel.js +48 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannelAccount.d.ts +13 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannelAccount.js +44 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannelConversation.d.ts +15 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannelConversation.js +46 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannelType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageStatusDataChannelType.js +41 -0
- package/src/serialization/types/WebhookEventMessageStatusDataMessage.d.ts +20 -0
- package/src/serialization/types/WebhookEventMessageStatusDataMessage.js +51 -0
- package/src/serialization/types/WebhookEventMessageStatusDataMessagePreviousStatus.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageStatusDataMessagePreviousStatus.js +41 -0
- package/src/serialization/types/WebhookEventMessageStatusDataMessageStatus.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageStatusDataMessageStatus.js +41 -0
- package/src/serialization/types/WebhookEventMessageStatusType.d.ts +10 -0
- package/src/serialization/types/WebhookEventMessageStatusType.js +41 -0
- package/src/serialization/types/index.d.ts +79 -0
- package/src/serialization/types/index.js +95 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageReceivedDataChannelType = "WHATSAPP" | "SMS" | "EMAIL";
|
|
5
|
+
export declare const WebhookEventMessageReceivedDataChannelType: {
|
|
6
|
+
readonly Whatsapp: "WHATSAPP";
|
|
7
|
+
readonly Sms: "SMS";
|
|
8
|
+
readonly Email: "EMAIL";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageReceivedDataChannelType = void 0;
|
|
7
|
+
exports.WebhookEventMessageReceivedDataChannelType = {
|
|
8
|
+
Whatsapp: "WHATSAPP",
|
|
9
|
+
Sms: "SMS",
|
|
10
|
+
Email: "EMAIL",
|
|
11
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageReceivedDataMessage {
|
|
6
|
+
id: string;
|
|
7
|
+
externalId: string | null;
|
|
8
|
+
direction: UnlimitedMessagingApi.WebhookEventMessageReceivedDataMessageDirection;
|
|
9
|
+
fromMe: boolean;
|
|
10
|
+
content: string | null;
|
|
11
|
+
sentAt: Date;
|
|
12
|
+
receivedAt: Date;
|
|
13
|
+
sender: string | null;
|
|
14
|
+
senderId: string;
|
|
15
|
+
senderName: string | null;
|
|
16
|
+
participant: string | null;
|
|
17
|
+
replyTo: UnlimitedMessagingApi.WebhookEventMessageReceivedDataMessageReplyTo | null;
|
|
18
|
+
mediaUrl?: string;
|
|
19
|
+
mediaType?: string;
|
|
20
|
+
mimeType?: string;
|
|
21
|
+
mediaFilename?: string;
|
|
22
|
+
mediaSize?: number;
|
|
23
|
+
durationSec?: number;
|
|
24
|
+
mediaError?: string;
|
|
25
|
+
transcript: string | null;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageReceivedDataMessageDirection = "IN" | "OUT";
|
|
5
|
+
export declare const WebhookEventMessageReceivedDataMessageDirection: {
|
|
6
|
+
readonly In: "IN";
|
|
7
|
+
readonly Out: "OUT";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageReceivedDataMessageDirection = void 0;
|
|
7
|
+
exports.WebhookEventMessageReceivedDataMessageDirection = {
|
|
8
|
+
In: "IN",
|
|
9
|
+
Out: "OUT",
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageReceivedType = void 0;
|
|
7
|
+
exports.WebhookEventMessageReceivedType = {
|
|
8
|
+
MessageReceived: "message.received",
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageSelfSent {
|
|
6
|
+
type: UnlimitedMessagingApi.WebhookEventMessageSelfSentType;
|
|
7
|
+
eventId: string;
|
|
8
|
+
occurredAt: Date;
|
|
9
|
+
data: UnlimitedMessagingApi.WebhookEventMessageSelfSentData;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageSelfSentData {
|
|
6
|
+
message: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataMessage;
|
|
7
|
+
channel: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannel;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageSelfSentDataChannel {
|
|
6
|
+
type: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannelType;
|
|
7
|
+
account: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannelAccount;
|
|
8
|
+
conversation: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataChannelConversation;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageSelfSentDataChannelType = "WHATSAPP" | "SMS" | "EMAIL";
|
|
5
|
+
export declare const WebhookEventMessageSelfSentDataChannelType: {
|
|
6
|
+
readonly Whatsapp: "WHATSAPP";
|
|
7
|
+
readonly Sms: "SMS";
|
|
8
|
+
readonly Email: "EMAIL";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageSelfSentDataChannelType = void 0;
|
|
7
|
+
exports.WebhookEventMessageSelfSentDataChannelType = {
|
|
8
|
+
Whatsapp: "WHATSAPP",
|
|
9
|
+
Sms: "SMS",
|
|
10
|
+
Email: "EMAIL",
|
|
11
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageSelfSentDataMessage {
|
|
6
|
+
id: string;
|
|
7
|
+
externalId: string | null;
|
|
8
|
+
direction: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataMessageDirection;
|
|
9
|
+
fromMe: boolean;
|
|
10
|
+
content: string | null;
|
|
11
|
+
sentAt: Date;
|
|
12
|
+
receivedAt: Date;
|
|
13
|
+
sender: string | null;
|
|
14
|
+
senderId: string;
|
|
15
|
+
senderName: string | null;
|
|
16
|
+
participant: string | null;
|
|
17
|
+
replyTo: UnlimitedMessagingApi.WebhookEventMessageSelfSentDataMessageReplyTo | null;
|
|
18
|
+
mediaUrl?: string;
|
|
19
|
+
mediaType?: string;
|
|
20
|
+
mimeType?: string;
|
|
21
|
+
mediaFilename?: string;
|
|
22
|
+
mediaSize?: number;
|
|
23
|
+
durationSec?: number;
|
|
24
|
+
mediaError?: string;
|
|
25
|
+
transcript: string | null;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageSelfSentDataMessageDirection = "IN" | "OUT";
|
|
5
|
+
export declare const WebhookEventMessageSelfSentDataMessageDirection: {
|
|
6
|
+
readonly In: "IN";
|
|
7
|
+
readonly Out: "OUT";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageSelfSentDataMessageDirection = void 0;
|
|
7
|
+
exports.WebhookEventMessageSelfSentDataMessageDirection = {
|
|
8
|
+
In: "IN",
|
|
9
|
+
Out: "OUT",
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageSelfSentType = void 0;
|
|
7
|
+
exports.WebhookEventMessageSelfSentType = {
|
|
8
|
+
MessageSelfSent: "message.self_sent",
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageStatus {
|
|
6
|
+
type: UnlimitedMessagingApi.WebhookEventMessageStatusType;
|
|
7
|
+
eventId: string;
|
|
8
|
+
occurredAt: Date;
|
|
9
|
+
data: UnlimitedMessagingApi.WebhookEventMessageStatusData;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageStatusData {
|
|
6
|
+
message: UnlimitedMessagingApi.WebhookEventMessageStatusDataMessage;
|
|
7
|
+
channel: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannel;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageStatusDataChannel {
|
|
6
|
+
type: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannelType;
|
|
7
|
+
account: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannelAccount;
|
|
8
|
+
conversation: UnlimitedMessagingApi.WebhookEventMessageStatusDataChannelConversation;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageStatusDataChannelType = "WHATSAPP" | "SMS" | "EMAIL";
|
|
5
|
+
export declare const WebhookEventMessageStatusDataChannelType: {
|
|
6
|
+
readonly Whatsapp: "WHATSAPP";
|
|
7
|
+
readonly Sms: "SMS";
|
|
8
|
+
readonly Email: "EMAIL";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageStatusDataChannelType = void 0;
|
|
7
|
+
exports.WebhookEventMessageStatusDataChannelType = {
|
|
8
|
+
Whatsapp: "WHATSAPP",
|
|
9
|
+
Sms: "SMS",
|
|
10
|
+
Email: "EMAIL",
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as UnlimitedMessagingApi from "../index";
|
|
5
|
+
export interface WebhookEventMessageStatusDataMessage {
|
|
6
|
+
id: string;
|
|
7
|
+
externalId: string | null;
|
|
8
|
+
status: UnlimitedMessagingApi.WebhookEventMessageStatusDataMessageStatus;
|
|
9
|
+
previousStatus: UnlimitedMessagingApi.WebhookEventMessageStatusDataMessagePreviousStatus;
|
|
10
|
+
error: string | null;
|
|
11
|
+
at: Date;
|
|
12
|
+
sentAt: Date | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageStatusDataMessagePreviousStatus = "PENDING" | "SENDING" | "SENT" | "DELIVERED" | "READ" | "FAILED" | "UNDELIVERABLE";
|
|
5
|
+
export declare const WebhookEventMessageStatusDataMessagePreviousStatus: {
|
|
6
|
+
readonly Pending: "PENDING";
|
|
7
|
+
readonly Sending: "SENDING";
|
|
8
|
+
readonly Sent: "SENT";
|
|
9
|
+
readonly Delivered: "DELIVERED";
|
|
10
|
+
readonly Read: "READ";
|
|
11
|
+
readonly Failed: "FAILED";
|
|
12
|
+
readonly Undeliverable: "UNDELIVERABLE";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageStatusDataMessagePreviousStatus = void 0;
|
|
7
|
+
exports.WebhookEventMessageStatusDataMessagePreviousStatus = {
|
|
8
|
+
Pending: "PENDING",
|
|
9
|
+
Sending: "SENDING",
|
|
10
|
+
Sent: "SENT",
|
|
11
|
+
Delivered: "DELIVERED",
|
|
12
|
+
Read: "READ",
|
|
13
|
+
Failed: "FAILED",
|
|
14
|
+
Undeliverable: "UNDELIVERABLE",
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WebhookEventMessageStatusDataMessageStatus = "PENDING" | "SENDING" | "SENT" | "DELIVERED" | "READ" | "FAILED" | "UNDELIVERABLE";
|
|
5
|
+
export declare const WebhookEventMessageStatusDataMessageStatus: {
|
|
6
|
+
readonly Pending: "PENDING";
|
|
7
|
+
readonly Sending: "SENDING";
|
|
8
|
+
readonly Sent: "SENT";
|
|
9
|
+
readonly Delivered: "DELIVERED";
|
|
10
|
+
readonly Read: "READ";
|
|
11
|
+
readonly Failed: "FAILED";
|
|
12
|
+
readonly Undeliverable: "UNDELIVERABLE";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageStatusDataMessageStatus = void 0;
|
|
7
|
+
exports.WebhookEventMessageStatusDataMessageStatus = {
|
|
8
|
+
Pending: "PENDING",
|
|
9
|
+
Sending: "SENDING",
|
|
10
|
+
Sent: "SENT",
|
|
11
|
+
Delivered: "DELIVERED",
|
|
12
|
+
Read: "READ",
|
|
13
|
+
Failed: "FAILED",
|
|
14
|
+
Undeliverable: "UNDELIVERABLE",
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WebhookEventMessageStatusType = void 0;
|
|
7
|
+
exports.WebhookEventMessageStatusType = {
|
|
8
|
+
MessageStatus: "message.status",
|
|
9
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export * from "./WebhookEventMessageReceivedType";
|
|
2
|
+
export * from "./WebhookEventMessageReceivedDataMessageDirection";
|
|
3
|
+
export * from "./WebhookEventMessageReceivedDataMessageReplyTo";
|
|
4
|
+
export * from "./WebhookEventMessageReceivedDataMessage";
|
|
5
|
+
export * from "./WebhookEventMessageReceivedDataChannelType";
|
|
6
|
+
export * from "./WebhookEventMessageReceivedDataChannelAccount";
|
|
7
|
+
export * from "./WebhookEventMessageReceivedDataChannelConversation";
|
|
8
|
+
export * from "./WebhookEventMessageReceivedDataChannel";
|
|
9
|
+
export * from "./WebhookEventMessageReceivedData";
|
|
10
|
+
export * from "./WebhookEventMessageReceived";
|
|
11
|
+
export * from "./WebhookEventMessageSelfSentType";
|
|
12
|
+
export * from "./WebhookEventMessageSelfSentDataMessageDirection";
|
|
13
|
+
export * from "./WebhookEventMessageSelfSentDataMessageReplyTo";
|
|
14
|
+
export * from "./WebhookEventMessageSelfSentDataMessage";
|
|
15
|
+
export * from "./WebhookEventMessageSelfSentDataChannelType";
|
|
16
|
+
export * from "./WebhookEventMessageSelfSentDataChannelAccount";
|
|
17
|
+
export * from "./WebhookEventMessageSelfSentDataChannelConversation";
|
|
18
|
+
export * from "./WebhookEventMessageSelfSentDataChannel";
|
|
19
|
+
export * from "./WebhookEventMessageSelfSentData";
|
|
20
|
+
export * from "./WebhookEventMessageSelfSent";
|
|
21
|
+
export * from "./WebhookEventMessageStatusType";
|
|
22
|
+
export * from "./WebhookEventMessageStatusDataMessageStatus";
|
|
23
|
+
export * from "./WebhookEventMessageStatusDataMessagePreviousStatus";
|
|
24
|
+
export * from "./WebhookEventMessageStatusDataMessage";
|
|
25
|
+
export * from "./WebhookEventMessageStatusDataChannelType";
|
|
26
|
+
export * from "./WebhookEventMessageStatusDataChannelAccount";
|
|
27
|
+
export * from "./WebhookEventMessageStatusDataChannelConversation";
|
|
28
|
+
export * from "./WebhookEventMessageStatusDataChannel";
|
|
29
|
+
export * from "./WebhookEventMessageStatusData";
|
|
30
|
+
export * from "./WebhookEventMessageStatus";
|
|
31
|
+
export * from "./WebhookEventMessageReactionType";
|
|
32
|
+
export * from "./WebhookEventMessageReactionDataReaction";
|
|
33
|
+
export * from "./WebhookEventMessageReactionDataChannelType";
|
|
34
|
+
export * from "./WebhookEventMessageReactionDataChannelAccount";
|
|
35
|
+
export * from "./WebhookEventMessageReactionDataChannelConversation";
|
|
36
|
+
export * from "./WebhookEventMessageReactionDataChannel";
|
|
37
|
+
export * from "./WebhookEventMessageReactionData";
|
|
38
|
+
export * from "./WebhookEventMessageReaction";
|
|
39
|
+
export * from "./WebhookEventMessageEditedType";
|
|
40
|
+
export * from "./WebhookEventMessageEditedDataEditKind";
|
|
41
|
+
export * from "./WebhookEventMessageEditedDataEditError";
|
|
42
|
+
export * from "./WebhookEventMessageEditedDataEdit";
|
|
43
|
+
export * from "./WebhookEventMessageEditedDataChannelType";
|
|
44
|
+
export * from "./WebhookEventMessageEditedDataChannelAccount";
|
|
45
|
+
export * from "./WebhookEventMessageEditedDataChannelConversation";
|
|
46
|
+
export * from "./WebhookEventMessageEditedDataChannel";
|
|
47
|
+
export * from "./WebhookEventMessageEditedData";
|
|
48
|
+
export * from "./WebhookEventMessageEdited";
|
|
49
|
+
export * from "./WebhookEventMessageDeletedType";
|
|
50
|
+
export * from "./WebhookEventMessageDeletedDataDeletion";
|
|
51
|
+
export * from "./WebhookEventMessageDeletedDataChannelType";
|
|
52
|
+
export * from "./WebhookEventMessageDeletedDataChannelAccount";
|
|
53
|
+
export * from "./WebhookEventMessageDeletedDataChannelConversation";
|
|
54
|
+
export * from "./WebhookEventMessageDeletedDataChannel";
|
|
55
|
+
export * from "./WebhookEventMessageDeletedData";
|
|
56
|
+
export * from "./WebhookEventMessageDeleted";
|
|
57
|
+
export * from "./WebhookEventMessageHistoryType";
|
|
58
|
+
export * from "./WebhookEventMessageHistoryDataChannelType";
|
|
59
|
+
export * from "./WebhookEventMessageHistoryDataChannelAccount";
|
|
60
|
+
export * from "./WebhookEventMessageHistoryDataChannel";
|
|
61
|
+
export * from "./WebhookEventMessageHistoryDataMessagesItemDirection";
|
|
62
|
+
export * from "./WebhookEventMessageHistoryDataMessagesItemReplyTo";
|
|
63
|
+
export * from "./WebhookEventMessageHistoryDataMessagesItemConversation";
|
|
64
|
+
export * from "./WebhookEventMessageHistoryDataMessagesItem";
|
|
65
|
+
export * from "./WebhookEventMessageHistoryData";
|
|
66
|
+
export * from "./WebhookEventMessageHistory";
|
|
67
|
+
export * from "./WebhookEventAccountStatusChangedType";
|
|
68
|
+
export * from "./WebhookEventAccountStatusChangedDataAccountStatus";
|
|
69
|
+
export * from "./WebhookEventAccountStatusChangedDataAccountPreviousStatus";
|
|
70
|
+
export * from "./WebhookEventAccountStatusChangedDataAccount";
|
|
71
|
+
export * from "./WebhookEventAccountStatusChangedData";
|
|
72
|
+
export * from "./WebhookEventAccountStatusChanged";
|
|
73
|
+
export * from "./WebhookEventGroupUpdatedType";
|
|
74
|
+
export * from "./WebhookEventGroupUpdatedDataGroup";
|
|
75
|
+
export * from "./WebhookEventGroupUpdatedDataChannelType";
|
|
76
|
+
export * from "./WebhookEventGroupUpdatedDataChannelAccount";
|
|
77
|
+
export * from "./WebhookEventGroupUpdatedDataChannel";
|
|
78
|
+
export * from "./WebhookEventGroupUpdatedData";
|
|
79
|
+
export * from "./WebhookEventGroupUpdated";
|