@unlimited-messaging/sdk 0.1.17 → 0.1.19
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 +131 -3
- package/src/api/resources/webhooks/client/Client.js +131 -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 +15 -0
- package/src/api/types/WebhookEventMessageEditedDataEdit.js +5 -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 +78 -0
- package/src/api/types/index.js +94 -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 +21 -0
- package/src/serialization/types/WebhookEventMessageEditedDataEdit.js +52 -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 +78 -0
- package/src/serialization/types/index.js +94 -0
package/src/serialization/types/WebhookEventAccountStatusChangedDataAccountPreviousStatus.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventAccountStatusChangedDataAccountPreviousStatus: core.serialization.Schema<serializers.WebhookEventAccountStatusChangedDataAccountPreviousStatus.Raw, UnlimitedMessagingApi.WebhookEventAccountStatusChangedDataAccountPreviousStatus>;
|
|
8
|
+
export declare namespace WebhookEventAccountStatusChangedDataAccountPreviousStatus {
|
|
9
|
+
type Raw = "PENDING" | "ACTIVE" | "INACTIVE" | "LINKING" | "BLOCKED" | "DUPLICATE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventAccountStatusChangedDataAccountPreviousStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventAccountStatusChangedDataAccountPreviousStatus = core.serialization.enum_(["PENDING", "ACTIVE", "INACTIVE", "LINKING", "BLOCKED", "DUPLICATE"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventAccountStatusChangedDataAccountStatus: core.serialization.Schema<serializers.WebhookEventAccountStatusChangedDataAccountStatus.Raw, UnlimitedMessagingApi.WebhookEventAccountStatusChangedDataAccountStatus>;
|
|
8
|
+
export declare namespace WebhookEventAccountStatusChangedDataAccountStatus {
|
|
9
|
+
type Raw = "PENDING" | "ACTIVE" | "INACTIVE" | "LINKING" | "BLOCKED" | "DUPLICATE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventAccountStatusChangedDataAccountStatus = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventAccountStatusChangedDataAccountStatus = core.serialization.enum_(["PENDING", "ACTIVE", "INACTIVE", "LINKING", "BLOCKED", "DUPLICATE"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventAccountStatusChangedType: core.serialization.Schema<serializers.WebhookEventAccountStatusChangedType.Raw, UnlimitedMessagingApi.WebhookEventAccountStatusChangedType>;
|
|
8
|
+
export declare namespace WebhookEventAccountStatusChangedType {
|
|
9
|
+
type Raw = "account.status_changed";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventAccountStatusChangedType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventAccountStatusChangedType = core.serialization.enum_(["account.status_changed"]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WebhookEventGroupUpdatedType } from "./WebhookEventGroupUpdatedType";
|
|
8
|
+
import { WebhookEventGroupUpdatedData } from "./WebhookEventGroupUpdatedData";
|
|
9
|
+
export declare const WebhookEventGroupUpdated: core.serialization.ObjectSchema<serializers.WebhookEventGroupUpdated.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdated>;
|
|
10
|
+
export declare namespace WebhookEventGroupUpdated {
|
|
11
|
+
interface Raw {
|
|
12
|
+
type: WebhookEventGroupUpdatedType.Raw;
|
|
13
|
+
eventId: string;
|
|
14
|
+
occurredAt: string;
|
|
15
|
+
data: WebhookEventGroupUpdatedData.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdated = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const WebhookEventGroupUpdatedType_1 = require("./WebhookEventGroupUpdatedType");
|
|
42
|
+
const WebhookEventGroupUpdatedData_1 = require("./WebhookEventGroupUpdatedData");
|
|
43
|
+
exports.WebhookEventGroupUpdated = core.serialization.object({
|
|
44
|
+
type: WebhookEventGroupUpdatedType_1.WebhookEventGroupUpdatedType,
|
|
45
|
+
eventId: core.serialization.string(),
|
|
46
|
+
occurredAt: core.serialization.date(),
|
|
47
|
+
data: WebhookEventGroupUpdatedData_1.WebhookEventGroupUpdatedData,
|
|
48
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WebhookEventGroupUpdatedDataGroup } from "./WebhookEventGroupUpdatedDataGroup";
|
|
8
|
+
import { WebhookEventGroupUpdatedDataChannel } from "./WebhookEventGroupUpdatedDataChannel";
|
|
9
|
+
export declare const WebhookEventGroupUpdatedData: core.serialization.ObjectSchema<serializers.WebhookEventGroupUpdatedData.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdatedData>;
|
|
10
|
+
export declare namespace WebhookEventGroupUpdatedData {
|
|
11
|
+
interface Raw {
|
|
12
|
+
group: WebhookEventGroupUpdatedDataGroup.Raw;
|
|
13
|
+
by: string | null;
|
|
14
|
+
at: string;
|
|
15
|
+
name: string | null;
|
|
16
|
+
topic: string | null;
|
|
17
|
+
added: string[];
|
|
18
|
+
removed: string[];
|
|
19
|
+
promoted: string[];
|
|
20
|
+
demoted: string[];
|
|
21
|
+
channel: WebhookEventGroupUpdatedDataChannel.Raw;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdatedData = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const WebhookEventGroupUpdatedDataGroup_1 = require("./WebhookEventGroupUpdatedDataGroup");
|
|
42
|
+
const WebhookEventGroupUpdatedDataChannel_1 = require("./WebhookEventGroupUpdatedDataChannel");
|
|
43
|
+
exports.WebhookEventGroupUpdatedData = core.serialization.object({
|
|
44
|
+
group: WebhookEventGroupUpdatedDataGroup_1.WebhookEventGroupUpdatedDataGroup,
|
|
45
|
+
by: core.serialization.string().nullable(),
|
|
46
|
+
at: core.serialization.date(),
|
|
47
|
+
name: core.serialization.string().nullable(),
|
|
48
|
+
topic: core.serialization.string().nullable(),
|
|
49
|
+
added: core.serialization.list(core.serialization.string()),
|
|
50
|
+
removed: core.serialization.list(core.serialization.string()),
|
|
51
|
+
promoted: core.serialization.list(core.serialization.string()),
|
|
52
|
+
demoted: core.serialization.list(core.serialization.string()),
|
|
53
|
+
channel: WebhookEventGroupUpdatedDataChannel_1.WebhookEventGroupUpdatedDataChannel,
|
|
54
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WebhookEventGroupUpdatedDataChannelType } from "./WebhookEventGroupUpdatedDataChannelType";
|
|
8
|
+
import { WebhookEventGroupUpdatedDataChannelAccount } from "./WebhookEventGroupUpdatedDataChannelAccount";
|
|
9
|
+
export declare const WebhookEventGroupUpdatedDataChannel: core.serialization.ObjectSchema<serializers.WebhookEventGroupUpdatedDataChannel.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdatedDataChannel>;
|
|
10
|
+
export declare namespace WebhookEventGroupUpdatedDataChannel {
|
|
11
|
+
interface Raw {
|
|
12
|
+
type: WebhookEventGroupUpdatedDataChannelType.Raw;
|
|
13
|
+
account: WebhookEventGroupUpdatedDataChannelAccount.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdatedDataChannel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const WebhookEventGroupUpdatedDataChannelType_1 = require("./WebhookEventGroupUpdatedDataChannelType");
|
|
42
|
+
const WebhookEventGroupUpdatedDataChannelAccount_1 = require("./WebhookEventGroupUpdatedDataChannelAccount");
|
|
43
|
+
exports.WebhookEventGroupUpdatedDataChannel = core.serialization.object({
|
|
44
|
+
type: WebhookEventGroupUpdatedDataChannelType_1.WebhookEventGroupUpdatedDataChannelType,
|
|
45
|
+
account: WebhookEventGroupUpdatedDataChannelAccount_1.WebhookEventGroupUpdatedDataChannelAccount,
|
|
46
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventGroupUpdatedDataChannelAccount: core.serialization.ObjectSchema<serializers.WebhookEventGroupUpdatedDataChannelAccount.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdatedDataChannelAccount>;
|
|
8
|
+
export declare namespace WebhookEventGroupUpdatedDataChannelAccount {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdatedDataChannelAccount = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventGroupUpdatedDataChannelAccount = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string().nullable(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventGroupUpdatedDataChannelType: core.serialization.Schema<serializers.WebhookEventGroupUpdatedDataChannelType.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdatedDataChannelType>;
|
|
8
|
+
export declare namespace WebhookEventGroupUpdatedDataChannelType {
|
|
9
|
+
type Raw = "WHATSAPP" | "SMS" | "EMAIL";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdatedDataChannelType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventGroupUpdatedDataChannelType = core.serialization.enum_(["WHATSAPP", "SMS", "EMAIL"]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventGroupUpdatedDataGroup: core.serialization.ObjectSchema<serializers.WebhookEventGroupUpdatedDataGroup.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdatedDataGroup>;
|
|
8
|
+
export declare namespace WebhookEventGroupUpdatedDataGroup {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdatedDataGroup = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventGroupUpdatedDataGroup = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WebhookEventGroupUpdatedType: core.serialization.Schema<serializers.WebhookEventGroupUpdatedType.Raw, UnlimitedMessagingApi.WebhookEventGroupUpdatedType>;
|
|
8
|
+
export declare namespace WebhookEventGroupUpdatedType {
|
|
9
|
+
type Raw = "group.updated";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WebhookEventGroupUpdatedType = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WebhookEventGroupUpdatedType = core.serialization.enum_(["group.updated"]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as UnlimitedMessagingApi from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WebhookEventMessageDeletedType } from "./WebhookEventMessageDeletedType";
|
|
8
|
+
import { WebhookEventMessageDeletedData } from "./WebhookEventMessageDeletedData";
|
|
9
|
+
export declare const WebhookEventMessageDeleted: core.serialization.ObjectSchema<serializers.WebhookEventMessageDeleted.Raw, UnlimitedMessagingApi.WebhookEventMessageDeleted>;
|
|
10
|
+
export declare namespace WebhookEventMessageDeleted {
|
|
11
|
+
interface Raw {
|
|
12
|
+
type: WebhookEventMessageDeletedType.Raw;
|
|
13
|
+
eventId: string;
|
|
14
|
+
occurredAt: string;
|
|
15
|
+
data: WebhookEventMessageDeletedData.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|