@wildix/xbees-conversations-client 1.5.0 → 4.0.1
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/dist-cjs/Conversations.js +3 -3
- package/dist-cjs/ConversationsClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +183 -0
- package/dist-cjs/commands/AddChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/AddChannelMembersCommand.js +10 -11
- package/dist-cjs/commands/AssignChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateGroupChannelCommand.js +10 -11
- package/dist-cjs/commands/CreateInboxTagCommand.js +10 -11
- package/dist-cjs/commands/CreateKiteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelCommand.js +10 -11
- package/dist-cjs/commands/DeleteChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/DeleteInboxTagCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageCommand.js +10 -11
- package/dist-cjs/commands/DeleteMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/DescribeEventCommand.js +10 -11
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +10 -11
- package/dist-cjs/commands/GetChannelCommand.js +10 -11
- package/dist-cjs/commands/GetChannelMemberCommand.js +10 -11
- package/dist-cjs/commands/GetDirectChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetFilePresignedDownloadUrlCommand.js +10 -11
- package/dist-cjs/commands/GetInboxStateCommand.js +10 -11
- package/dist-cjs/commands/GetMessageCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +10 -11
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +10 -11
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +10 -11
- package/dist-cjs/commands/GetTokenCommand.js +10 -11
- package/dist-cjs/commands/GetUploadedFileInfoCommand.js +10 -11
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +10 -11
- package/dist-cjs/commands/HideChannelCommand.js +10 -11
- package/dist-cjs/commands/InviteCommand.js +10 -11
- package/dist-cjs/commands/JoinChannelCommand.js +10 -11
- package/dist-cjs/commands/LeaveChannelCommand.js +10 -11
- package/dist-cjs/commands/ListChannelMembersCommand.js +10 -11
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +10 -11
- package/dist-cjs/commands/ListChannelsCommand.js +10 -11
- package/dist-cjs/commands/ListInboxTaggedChannelsCommand.js +10 -11
- package/dist-cjs/commands/ListInboxTagsCommand.js +10 -11
- package/dist-cjs/commands/ListMessageReactionsCommand.js +10 -11
- package/dist-cjs/commands/ListMessagesCommand.js +10 -11
- package/dist-cjs/commands/ListPinnedMessagesCommand.js +10 -11
- package/dist-cjs/commands/MarkReadCommand.js +10 -11
- package/dist-cjs/commands/MarkUnreadCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/PinChannelCommand.js +10 -11
- package/dist-cjs/commands/PinMessageCommand.js +10 -11
- package/dist-cjs/commands/QueryChannelsCommand.js +10 -11
- package/dist-cjs/commands/ScheduleExternalFlagAdjustmentJobCommand.js +10 -11
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +10 -11
- package/dist-cjs/commands/SendGiphyCommand.js +10 -11
- package/dist-cjs/commands/SendMessageCommand.js +10 -11
- package/dist-cjs/commands/SendMessageReactionCommand.js +10 -11
- package/dist-cjs/commands/SendSystemMessageCommand.js +10 -11
- package/dist-cjs/commands/SendTypingStartCommand.js +10 -11
- package/dist-cjs/commands/SendTypingStopCommand.js +10 -11
- package/dist-cjs/commands/ShowChannelCommand.js +10 -11
- package/dist-cjs/commands/TagChannelCommand.js +10 -11
- package/dist-cjs/commands/TriggerMessageActionCommand.js +10 -11
- package/dist-cjs/commands/UnpinChannelCommand.js +10 -11
- package/dist-cjs/commands/UnpinMessageCommand.js +10 -11
- package/dist-cjs/commands/UntagChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateChannelCommand.js +10 -11
- package/dist-cjs/commands/UpdateInboxTagCommand.js +10 -11
- package/dist-cjs/commands/UpdateMessageCommand.js +10 -11
- package/dist-cjs/commands/UploadFileCommand.js +10 -11
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +7 -4
- package/dist-cjs/models/ConversationsSyntheticServiceException.js +12 -0
- package/dist-cjs/models/enums.js +124 -0
- package/dist-cjs/models/errors.js +274 -0
- package/dist-cjs/models/models_0.js +0 -451
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1854 -0
- package/dist-es/Conversations.js +6 -6
- package/dist-es/ConversationsClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +177 -0
- package/dist-es/commands/AddChannelMemberCommand.js +9 -10
- package/dist-es/commands/AddChannelMembersCommand.js +9 -10
- package/dist-es/commands/AssignChannelCommand.js +9 -10
- package/dist-es/commands/CreateGroupChannelCommand.js +9 -10
- package/dist-es/commands/CreateInboxTagCommand.js +9 -10
- package/dist-es/commands/CreateKiteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelCommand.js +9 -10
- package/dist-es/commands/DeleteChannelMemberCommand.js +9 -10
- package/dist-es/commands/DeleteInboxTagCommand.js +9 -10
- package/dist-es/commands/DeleteMessageCommand.js +9 -10
- package/dist-es/commands/DeleteMessageReactionCommand.js +9 -10
- package/dist-es/commands/DescribeEventCommand.js +9 -10
- package/dist-es/commands/GetActionTriggerResultCommand.js +9 -10
- package/dist-es/commands/GetChannelCommand.js +9 -10
- package/dist-es/commands/GetChannelMemberCommand.js +9 -10
- package/dist-es/commands/GetDirectChannelIdCommand.js +9 -10
- package/dist-es/commands/GetFilePresignedDownloadUrlCommand.js +9 -10
- package/dist-es/commands/GetInboxStateCommand.js +9 -10
- package/dist-es/commands/GetMessageCommand.js +9 -10
- package/dist-es/commands/GetOrCreateDirectChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +9 -10
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +9 -10
- package/dist-es/commands/GetSmsChannelIdCommand.js +9 -10
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +9 -10
- package/dist-es/commands/GetTokenCommand.js +9 -10
- package/dist-es/commands/GetUploadedFileInfoCommand.js +9 -10
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +9 -10
- package/dist-es/commands/HideChannelCommand.js +9 -10
- package/dist-es/commands/InviteCommand.js +9 -10
- package/dist-es/commands/JoinChannelCommand.js +9 -10
- package/dist-es/commands/LeaveChannelCommand.js +9 -10
- package/dist-es/commands/ListChannelMembersCommand.js +9 -10
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +9 -10
- package/dist-es/commands/ListChannelsCommand.js +9 -10
- package/dist-es/commands/ListInboxTaggedChannelsCommand.js +9 -10
- package/dist-es/commands/ListInboxTagsCommand.js +9 -10
- package/dist-es/commands/ListMessageReactionsCommand.js +9 -10
- package/dist-es/commands/ListMessagesCommand.js +9 -10
- package/dist-es/commands/ListPinnedMessagesCommand.js +9 -10
- package/dist-es/commands/MarkReadCommand.js +9 -10
- package/dist-es/commands/MarkUnreadCommand.js +9 -10
- package/dist-es/commands/PartialUpdateChannelCommand.js +9 -10
- package/dist-es/commands/PartialUpdateMessageCommand.js +9 -10
- package/dist-es/commands/PinChannelCommand.js +9 -10
- package/dist-es/commands/PinMessageCommand.js +9 -10
- package/dist-es/commands/QueryChannelsCommand.js +9 -10
- package/dist-es/commands/ScheduleExternalFlagAdjustmentJobCommand.js +9 -10
- package/dist-es/commands/SendActionTriggerResultCommand.js +9 -10
- package/dist-es/commands/SendGiphyCommand.js +9 -10
- package/dist-es/commands/SendMessageCommand.js +9 -10
- package/dist-es/commands/SendMessageReactionCommand.js +9 -10
- package/dist-es/commands/SendSystemMessageCommand.js +9 -10
- package/dist-es/commands/SendTypingStartCommand.js +9 -10
- package/dist-es/commands/SendTypingStopCommand.js +9 -10
- package/dist-es/commands/ShowChannelCommand.js +9 -10
- package/dist-es/commands/TagChannelCommand.js +9 -10
- package/dist-es/commands/TriggerMessageActionCommand.js +9 -10
- package/dist-es/commands/UnpinChannelCommand.js +9 -10
- package/dist-es/commands/UnpinMessageCommand.js +9 -10
- package/dist-es/commands/UntagChannelCommand.js +9 -10
- package/dist-es/commands/UpdateChannelCommand.js +9 -10
- package/dist-es/commands/UpdateInboxTagCommand.js +9 -10
- package/dist-es/commands/UpdateMessageCommand.js +9 -10
- package/dist-es/commands/UploadFileCommand.js +9 -10
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +5 -2
- package/dist-es/models/ConversationsSyntheticServiceException.js +8 -0
- package/dist-es/models/enums.js +121 -0
- package/dist-es/models/errors.js +251 -0
- package/dist-es/models/models_0.js +1 -430
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1846 -0
- package/dist-types/Conversations.d.ts +66 -66
- package/dist-types/ConversationsClient.d.ts +95 -77
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/AddChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/AddChannelMembersCommand.d.ts +12 -8
- package/dist-types/commands/AssignChannelCommand.d.ts +12 -8
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -8
- package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -8
- package/dist-types/commands/DeleteChannelCommand.d.ts +12 -8
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/DeleteMessageCommand.d.ts +12 -8
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -8
- package/dist-types/commands/DescribeEventCommand.d.ts +12 -8
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -8
- package/dist-types/commands/GetChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -8
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -8
- package/dist-types/commands/GetInboxStateCommand.d.ts +12 -8
- package/dist-types/commands/GetMessageCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +12 -8
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/GetTokenCommand.d.ts +12 -8
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -8
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +12 -8
- package/dist-types/commands/HideChannelCommand.d.ts +12 -8
- package/dist-types/commands/InviteCommand.d.ts +12 -8
- package/dist-types/commands/JoinChannelCommand.d.ts +12 -8
- package/dist-types/commands/LeaveChannelCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +12 -8
- package/dist-types/commands/ListChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -8
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -8
- package/dist-types/commands/ListMessagesCommand.d.ts +12 -8
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -8
- package/dist-types/commands/MarkReadCommand.d.ts +12 -8
- package/dist-types/commands/MarkUnreadCommand.d.ts +12 -8
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -8
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -8
- package/dist-types/commands/PinChannelCommand.d.ts +12 -8
- package/dist-types/commands/PinMessageCommand.d.ts +12 -8
- package/dist-types/commands/QueryChannelsCommand.d.ts +12 -8
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -8
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -8
- package/dist-types/commands/SendGiphyCommand.d.ts +12 -8
- package/dist-types/commands/SendMessageCommand.d.ts +12 -8
- package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -8
- package/dist-types/commands/SendSystemMessageCommand.d.ts +12 -8
- package/dist-types/commands/SendTypingStartCommand.d.ts +12 -8
- package/dist-types/commands/SendTypingStopCommand.d.ts +12 -8
- package/dist-types/commands/ShowChannelCommand.d.ts +12 -8
- package/dist-types/commands/TagChannelCommand.d.ts +12 -8
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -8
- package/dist-types/commands/UnpinChannelCommand.d.ts +12 -8
- package/dist-types/commands/UnpinMessageCommand.d.ts +12 -8
- package/dist-types/commands/UntagChannelCommand.d.ts +12 -8
- package/dist-types/commands/UpdateChannelCommand.d.ts +12 -8
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -8
- package/dist-types/commands/UpdateMessageCommand.d.ts +12 -8
- package/dist-types/commands/UploadFileCommand.d.ts +12 -8
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +6 -2
- package/dist-types/models/{ConversationsServiceException.d.ts → ConversationsSyntheticServiceException.d.ts} +2 -2
- package/dist-types/models/enums.d.ts +285 -0
- package/dist-types/models/errors.d.ts +244 -0
- package/dist-types/models/models_0.d.ts +85 -594
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +286 -0
- package/package.json +13 -39
- package/dist-cjs/models/ConversationsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2574
- package/dist-es/models/ConversationsServiceException.js +0 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -2439
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -587
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const TargetNotEligibleReason: {
|
|
6
|
+
readonly NO_LICENSE: "no_license";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type TargetNotEligibleReason = (typeof TargetNotEligibleReason)[keyof typeof TargetNotEligibleReason];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const ChannelAccess: {
|
|
17
|
+
readonly PRIVATE: "private";
|
|
18
|
+
readonly PUBLIC: "public";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type ChannelAccess = (typeof ChannelAccess)[keyof typeof ChannelAccess];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const ChannelType: {
|
|
29
|
+
readonly DIRECT: "direct";
|
|
30
|
+
readonly GROUP: "group";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export type ChannelType = (typeof ChannelType)[keyof typeof ChannelType];
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const ChannelContextEventAttendeeStatus: {
|
|
41
|
+
readonly ACCEPTED: "accepted";
|
|
42
|
+
readonly DECLINED: "declined";
|
|
43
|
+
readonly NONE: "none";
|
|
44
|
+
readonly TENTATIVE: "tentative";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type ChannelContextEventAttendeeStatus = (typeof ChannelContextEventAttendeeStatus)[keyof typeof ChannelContextEventAttendeeStatus];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const ChannelContextSource: {
|
|
55
|
+
readonly KITE: "kite";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type ChannelContextSource = (typeof ChannelContextSource)[keyof typeof ChannelContextSource];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const ChannelWhatsAppStatus: {
|
|
66
|
+
readonly CHANNEL_CLOSED: "24h_channel_closed";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export type ChannelWhatsAppStatus = (typeof ChannelWhatsAppStatus)[keyof typeof ChannelWhatsAppStatus];
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* @enum
|
|
75
|
+
*/
|
|
76
|
+
export declare const ButtonVariant: {
|
|
77
|
+
readonly CONTAINED: "contained";
|
|
78
|
+
readonly OUTLINED: "outlined";
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* @enum
|
|
87
|
+
*/
|
|
88
|
+
export declare const MessageSmsStatus: {
|
|
89
|
+
readonly DELIVERED: "delivered";
|
|
90
|
+
readonly ERROR: "error";
|
|
91
|
+
readonly SENT: "sent";
|
|
92
|
+
readonly TRYING: "trying";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type MessageSmsStatus = (typeof MessageSmsStatus)[keyof typeof MessageSmsStatus];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @enum
|
|
101
|
+
*/
|
|
102
|
+
export declare const MessageType: {
|
|
103
|
+
readonly DELETED: "deleted";
|
|
104
|
+
readonly REGULAR: "regular";
|
|
105
|
+
readonly SYSTEM: "system";
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* @enum
|
|
114
|
+
*/
|
|
115
|
+
export declare const MessageWhatsAppStatus: {
|
|
116
|
+
readonly DELIVERED: "delivered";
|
|
117
|
+
readonly ERROR: "error";
|
|
118
|
+
readonly SENT: "sent";
|
|
119
|
+
readonly TRYING: "trying";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type MessageWhatsAppStatus = (typeof MessageWhatsAppStatus)[keyof typeof MessageWhatsAppStatus];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const ConversationFileCategory: {
|
|
130
|
+
readonly GENERAL: "channels";
|
|
131
|
+
readonly RECORDING: "recordings";
|
|
132
|
+
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type ConversationFileCategory = (typeof ConversationFileCategory)[keyof typeof ConversationFileCategory];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const ActionTriggerStatus: {
|
|
143
|
+
readonly COMPLETED: "completed";
|
|
144
|
+
readonly PENDING: "pending";
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export type ActionTriggerStatus = (typeof ActionTriggerStatus)[keyof typeof ActionTriggerStatus];
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
* @enum
|
|
153
|
+
*/
|
|
154
|
+
export declare const ChannelMemberRole: {
|
|
155
|
+
readonly MEMBER: "member";
|
|
156
|
+
readonly SUPERVISOR: "supervisor";
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export type ChannelMemberRole = (typeof ChannelMemberRole)[keyof typeof ChannelMemberRole];
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* @enum
|
|
165
|
+
*/
|
|
166
|
+
export declare const AssignChannelVariant: {
|
|
167
|
+
/**
|
|
168
|
+
* If service was previously assigned it uses SKIP variant, otherwise SELECTED. Default option.
|
|
169
|
+
*/
|
|
170
|
+
readonly ADAPTIVE: "ADAPTIVE";
|
|
171
|
+
/**
|
|
172
|
+
* Ensures that all agents in the service are presented in the conversation and existing members.
|
|
173
|
+
*/
|
|
174
|
+
readonly EVERYBODY: "EVERYBODY";
|
|
175
|
+
/**
|
|
176
|
+
* Ensures that only selected agent and user that made assignment are presented in the conversation.
|
|
177
|
+
*/
|
|
178
|
+
readonly SELECTED: "SELECTED";
|
|
179
|
+
/**
|
|
180
|
+
* Does not invite anyone (except the assignee if not present yet) or remove any agents from the conversation.
|
|
181
|
+
*/
|
|
182
|
+
readonly SKIP: "SKIP";
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export type AssignChannelVariant = (typeof AssignChannelVariant)[keyof typeof AssignChannelVariant];
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
* @enum
|
|
191
|
+
*/
|
|
192
|
+
export declare const GroupChannelCreationEventType: {
|
|
193
|
+
readonly CONVERSATION_CREATED: "conversation_created";
|
|
194
|
+
readonly CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name";
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export type GroupChannelCreationEventType = (typeof GroupChannelCreationEventType)[keyof typeof GroupChannelCreationEventType];
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
* @enum
|
|
203
|
+
*/
|
|
204
|
+
export declare const ReactionType: {
|
|
205
|
+
readonly CLAP: "clap";
|
|
206
|
+
readonly CONFUSED: "confused";
|
|
207
|
+
readonly EYES: "eyes";
|
|
208
|
+
readonly HEART: "heart";
|
|
209
|
+
readonly SLIGHTLY_SMILING_FACE: "slightly_smiling_face";
|
|
210
|
+
readonly SMILEY: "smiley";
|
|
211
|
+
readonly THUMBSDOWN: "thumbsdown";
|
|
212
|
+
readonly THUMBSUP: "thumbsup";
|
|
213
|
+
readonly WHITE_CHECK_MARK: "white_check_mark";
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export type ReactionType = (typeof ReactionType)[keyof typeof ReactionType];
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @enum
|
|
222
|
+
*/
|
|
223
|
+
export declare const WebhookEventType: {
|
|
224
|
+
readonly ACTION_TRIGGERED: "chat:action:triggered";
|
|
225
|
+
readonly CHANNEL_CREATED: "chat:channel:created";
|
|
226
|
+
readonly CHANNEL_UPDATED: "chat:channel:updated";
|
|
227
|
+
readonly MEMBER_ADDED: "chat:member:added";
|
|
228
|
+
readonly MEMBER_REMOVED: "chat:member:removed";
|
|
229
|
+
readonly MESSAGE_DELETED: "chat:message:deleted";
|
|
230
|
+
readonly MESSAGE_NEW: "chat:message:new";
|
|
231
|
+
readonly MESSAGE_UPDATED: "chat:message:updated";
|
|
232
|
+
readonly REACTION_DELETED: "chat:reaction:deleted";
|
|
233
|
+
readonly REACTION_NEW: "chat:reaction:new";
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export type WebhookEventType = (typeof WebhookEventType)[keyof typeof WebhookEventType];
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* @enum
|
|
242
|
+
*/
|
|
243
|
+
export declare const GroupChannelUnsetOptions: {
|
|
244
|
+
readonly ACCESS: "access";
|
|
245
|
+
readonly ASSIGNEE: "assignee";
|
|
246
|
+
readonly BROADCAST: "broadcast";
|
|
247
|
+
readonly CONTEXT: "context";
|
|
248
|
+
readonly CONTEXT_EVENTS: "contextEvents";
|
|
249
|
+
readonly CONTEXT_PTT: "contextPtt";
|
|
250
|
+
readonly DESCRIPTION: "description";
|
|
251
|
+
readonly KITE_ASSIGN: "kiteAssign";
|
|
252
|
+
readonly MMS: "mms";
|
|
253
|
+
readonly PICTURE: "picture";
|
|
254
|
+
readonly PICTURE_COLOR: "pictureColor";
|
|
255
|
+
readonly SERVICE: "service";
|
|
256
|
+
readonly SERVICE_TITLE: "serviceTitle";
|
|
257
|
+
readonly SMS: "sms";
|
|
258
|
+
readonly SUBJECT: "subject";
|
|
259
|
+
readonly WHATSAPP: "whatsapp";
|
|
260
|
+
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export type GroupChannelUnsetOptions = (typeof GroupChannelUnsetOptions)[keyof typeof GroupChannelUnsetOptions];
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
* @enum
|
|
269
|
+
*/
|
|
270
|
+
export declare const MessageUnsetFields: {
|
|
271
|
+
readonly ATTACHMENTS: "attachments";
|
|
272
|
+
readonly ELEMENTS: "elements";
|
|
273
|
+
readonly FORWARD: "forward";
|
|
274
|
+
readonly MENTIONS: "mentions";
|
|
275
|
+
readonly QUOTE: "quote";
|
|
276
|
+
readonly SMS: "sms";
|
|
277
|
+
readonly SMS_STATUS: "smsStatus";
|
|
278
|
+
readonly TEXT: "text";
|
|
279
|
+
readonly WHATSAPP: "whatsapp";
|
|
280
|
+
readonly WHATSAPP_STATUS: "whatsappStatus";
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
export type MessageUnsetFields = (typeof MessageUnsetFields)[keyof typeof MessageUnsetFields];
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { ConversationsSyntheticServiceException as __BaseException } from "./ConversationsSyntheticServiceException";
|
|
3
|
+
import type { TargetNotEligibleReason } from "./enums";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ForbiddenException extends __BaseException {
|
|
8
|
+
readonly name: "ForbiddenException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export declare class RateLimitExceededException extends __BaseException {
|
|
19
|
+
readonly name: "RateLimitExceededException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
/**
|
|
22
|
+
* Displays the applicable rate limits for the current request.
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
rateLimit?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates how many requests a user can still make within the current time window.
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
rateLimitRemaining?: number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Shows the time in seconds until the rate limit resets.
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
rateLimitReset?: number | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Displays how many seconds the user agent should wait before making a follow-up request.
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
retryAfter?: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
44
|
+
constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class TargetNotEligibleException extends __BaseException {
|
|
61
|
+
readonly name: "TargetNotEligibleException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
reason?: TargetNotEligibleReason | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class TargetNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "TargetNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class FileNotFoundException extends __BaseException {
|
|
84
|
+
readonly name: "FileNotFoundException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<FileNotFoundException, __BaseException>);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ChannelNotFoundException extends __BaseException {
|
|
95
|
+
readonly name: "ChannelNotFoundException";
|
|
96
|
+
readonly $fault: "client";
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class MemberAlreadyExistException extends __BaseException {
|
|
106
|
+
readonly name: "MemberAlreadyExistException";
|
|
107
|
+
readonly $fault: "client";
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
constructor(opts: __ExceptionOptionType<MemberAlreadyExistException, __BaseException>);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class MemberDeactivatedException extends __BaseException {
|
|
117
|
+
readonly name: "MemberDeactivatedException";
|
|
118
|
+
readonly $fault: "client";
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
constructor(opts: __ExceptionOptionType<MemberDeactivatedException, __BaseException>);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class ChannelAlreadyExistException extends __BaseException {
|
|
128
|
+
readonly name: "ChannelAlreadyExistException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
constructor(opts: __ExceptionOptionType<ChannelAlreadyExistException, __BaseException>);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class TagsLimitReachedException extends __BaseException {
|
|
139
|
+
readonly name: "TagsLimitReachedException";
|
|
140
|
+
readonly $fault: "client";
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
constructor(opts: __ExceptionOptionType<TagsLimitReachedException, __BaseException>);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class MemberNotFoundException extends __BaseException {
|
|
150
|
+
readonly name: "MemberNotFoundException";
|
|
151
|
+
readonly $fault: "client";
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
constructor(opts: __ExceptionOptionType<MemberNotFoundException, __BaseException>);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare class MessageNotFoundException extends __BaseException {
|
|
161
|
+
readonly name: "MessageNotFoundException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
constructor(opts: __ExceptionOptionType<MessageNotFoundException, __BaseException>);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export declare class TriggerNotFoundException extends __BaseException {
|
|
172
|
+
readonly name: "TriggerNotFoundException";
|
|
173
|
+
readonly $fault: "client";
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
*/
|
|
177
|
+
constructor(opts: __ExceptionOptionType<TriggerNotFoundException, __BaseException>);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
export declare class TagNotFoundException extends __BaseException {
|
|
183
|
+
readonly name: "TagNotFoundException";
|
|
184
|
+
readonly $fault: "client";
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
*/
|
|
188
|
+
constructor(opts: __ExceptionOptionType<TagNotFoundException, __BaseException>);
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
export declare class MarkUnreadChannelsLimitReachedException extends __BaseException {
|
|
194
|
+
readonly name: "MarkUnreadChannelsLimitReachedException";
|
|
195
|
+
readonly $fault: "client";
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
constructor(opts: __ExceptionOptionType<MarkUnreadChannelsLimitReachedException, __BaseException>);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare class PinnedChannelsLimitReachedException extends __BaseException {
|
|
205
|
+
readonly name: "PinnedChannelsLimitReachedException";
|
|
206
|
+
readonly $fault: "client";
|
|
207
|
+
/**
|
|
208
|
+
* @internal
|
|
209
|
+
*/
|
|
210
|
+
constructor(opts: __ExceptionOptionType<PinnedChannelsLimitReachedException, __BaseException>);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
export declare class ConversationsServiceException extends __BaseException {
|
|
216
|
+
readonly name: "ConversationsServiceException";
|
|
217
|
+
readonly $fault: "server";
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
constructor(opts: __ExceptionOptionType<ConversationsServiceException, __BaseException>);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export declare class TaggedChannelsLimitReachedException extends __BaseException {
|
|
227
|
+
readonly name: "TaggedChannelsLimitReachedException";
|
|
228
|
+
readonly $fault: "client";
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
constructor(opts: __ExceptionOptionType<TaggedChannelsLimitReachedException, __BaseException>);
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export declare class MessageActionNotFoundException extends __BaseException {
|
|
238
|
+
readonly name: "MessageActionNotFoundException";
|
|
239
|
+
readonly $fault: "client";
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
constructor(opts: __ExceptionOptionType<MessageActionNotFoundException, __BaseException>);
|
|
244
|
+
}
|