@wildix/xbees-conversations-client 4.0.4 → 4.1.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 +4 -0
- package/dist-cjs/commands/GetMessengerChannelIdCommand.js +20 -0
- package/dist-cjs/commands/GetOrCreateMessengerChannelCommand.js +20 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/enums.js +11 -1
- package/dist-cjs/schemas/schemas_0.js +64 -28
- package/dist-es/Conversations.js +4 -0
- package/dist-es/commands/GetMessengerChannelIdCommand.js +16 -0
- package/dist-es/commands/GetOrCreateMessengerChannelCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +10 -0
- package/dist-es/schemas/schemas_0.js +59 -23
- package/dist-types/Conversations.d.ts +14 -0
- package/dist-types/ConversationsClient.d.ts +4 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +30 -0
- package/dist-types/commands/GetChannelCommand.d.ts +4 -0
- package/dist-types/commands/GetMessageCommand.d.ts +2 -0
- package/dist-types/commands/GetMessengerChannelIdCommand.d.ts +83 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -0
- package/dist-types/commands/GetOrCreateMessengerChannelCommand.d.ts +162 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +4 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -1
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +4 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
- package/dist-types/commands/SendMessageCommand.d.ts +4 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +8 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +26 -0
- package/dist-types/models/models_0.d.ts +233 -2
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
4
|
+
import type { GetOrCreateMessengerChannelInput, GetOrCreateMessengerChannelOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetOrCreateMessengerChannelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetOrCreateMessengerChannelCommandInput extends GetOrCreateMessengerChannelInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetOrCreateMessengerChannelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrCreateMessengerChannelCommandOutput extends GetOrCreateMessengerChannelOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetOrCreateMessengerChannelCommand_base: {
|
|
25
|
+
new (input: GetOrCreateMessengerChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateMessengerChannelCommandInput, GetOrCreateMessengerChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOrCreateMessengerChannelCommandInput): import("@smithy/core/client").CommandImpl<GetOrCreateMessengerChannelCommandInput, GetOrCreateMessengerChannelCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets or creates a Facebook Messenger channel. The person is named by recipientId, the x-bees user invited for them; recipientNumber names the same person directly. On this channel either value resolves to a Page Scoped ID, an opaque Meta identifier and not a phone number.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, GetOrCreateMessengerChannelCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, GetOrCreateMessengerChannelCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* // import type { ConversationsClientConfig } from "@wildix/xbees-conversations-client";
|
|
37
|
+
* const config = {}; // type is ConversationsClientConfig
|
|
38
|
+
* const client = new ConversationsClient(config);
|
|
39
|
+
* const input = { // GetOrCreateMessengerChannelInput
|
|
40
|
+
* userId: "STRING_VALUE",
|
|
41
|
+
* serviceUri: "STRING_VALUE", // required
|
|
42
|
+
* recipientId: "STRING_VALUE",
|
|
43
|
+
* recipientNumber: "STRING_VALUE",
|
|
44
|
+
* outgoing: true || false,
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetOrCreateMessengerChannelCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetOrCreateMessengerChannelOutput
|
|
49
|
+
* // channel: { // Channel
|
|
50
|
+
* // subject: "STRING_VALUE",
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // picture: "STRING_VALUE",
|
|
53
|
+
* // pictureColor: "STRING_VALUE",
|
|
54
|
+
* // access: "private" || "public",
|
|
55
|
+
* // company: "STRING_VALUE",
|
|
56
|
+
* // context: { // ChannelContext
|
|
57
|
+
* // source: "kite",
|
|
58
|
+
* // target: "STRING_VALUE",
|
|
59
|
+
* // events: [ // ChannelContextEventList
|
|
60
|
+
* // { // ChannelContextEvent
|
|
61
|
+
* // id: "STRING_VALUE",
|
|
62
|
+
* // owner: "STRING_VALUE",
|
|
63
|
+
* // start: "STRING_VALUE",
|
|
64
|
+
* // end: "STRING_VALUE",
|
|
65
|
+
* // summary: "STRING_VALUE",
|
|
66
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
67
|
+
* // { // ChannelContextEventAttendee
|
|
68
|
+
* // email: "STRING_VALUE", // required
|
|
69
|
+
* // name: "STRING_VALUE",
|
|
70
|
+
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
76
|
+
* // broadcastId: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // kite: true || false,
|
|
80
|
+
* // kiteTarget: "STRING_VALUE",
|
|
81
|
+
* // kiteVariant: "STRING_VALUE",
|
|
82
|
+
* // kiteAssign: "STRING_VALUE",
|
|
83
|
+
* // kiteServiceName: "STRING_VALUE",
|
|
84
|
+
* // kiteDefaultSubject: "STRING_VALUE",
|
|
85
|
+
* // service: "STRING_VALUE",
|
|
86
|
+
* // serviceTitle: "STRING_VALUE",
|
|
87
|
+
* // serviceRecipient: "STRING_VALUE",
|
|
88
|
+
* // assignee: { // User
|
|
89
|
+
* // id: "STRING_VALUE", // required
|
|
90
|
+
* // name: "STRING_VALUE",
|
|
91
|
+
* // email: "STRING_VALUE",
|
|
92
|
+
* // phone: "STRING_VALUE",
|
|
93
|
+
* // picture: "STRING_VALUE",
|
|
94
|
+
* // locale: "STRING_VALUE",
|
|
95
|
+
* // timeZone: "STRING_VALUE",
|
|
96
|
+
* // company: "STRING_VALUE",
|
|
97
|
+
* // bot: true || false,
|
|
98
|
+
* // pbxDomain: "STRING_VALUE",
|
|
99
|
+
* // pbxPort: "STRING_VALUE",
|
|
100
|
+
* // pbxExtension: "STRING_VALUE",
|
|
101
|
+
* // pbxSerial: "STRING_VALUE",
|
|
102
|
+
* // pbxUserId: "STRING_VALUE",
|
|
103
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
104
|
+
* // createdAt: "STRING_VALUE",
|
|
105
|
+
* // updatedAt: "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // telephony: true || false,
|
|
108
|
+
* // sms: true || false,
|
|
109
|
+
* // mms: true || false,
|
|
110
|
+
* // whatsapp: true || false,
|
|
111
|
+
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
+
* // messenger: true || false,
|
|
113
|
+
* // messengerStatus: "window_closed",
|
|
114
|
+
* // messengerPageId: "STRING_VALUE",
|
|
115
|
+
* // messengerReplyUntil: Number("long"),
|
|
116
|
+
* // broadcast: true || false,
|
|
117
|
+
* // external: true || false,
|
|
118
|
+
* // autoRecord: true || false,
|
|
119
|
+
* // transcriptionLanguage: "STRING_VALUE",
|
|
120
|
+
* // wizyGuestViewOnly: true || false,
|
|
121
|
+
* // channelId: "STRING_VALUE", // required
|
|
122
|
+
* // channelType: "direct" || "group", // required
|
|
123
|
+
* // memberCount: Number("int"), // required
|
|
124
|
+
* // createdAt: "STRING_VALUE", // required
|
|
125
|
+
* // createdBy: "STRING_VALUE", // required
|
|
126
|
+
* // updatedAt: "STRING_VALUE",
|
|
127
|
+
* // },
|
|
128
|
+
* // };
|
|
129
|
+
*
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @param GetOrCreateMessengerChannelCommandInput - {@link GetOrCreateMessengerChannelCommandInput}
|
|
133
|
+
* @returns {@link GetOrCreateMessengerChannelCommandOutput}
|
|
134
|
+
* @see {@link GetOrCreateMessengerChannelCommandInput} for command's `input` shape.
|
|
135
|
+
* @see {@link GetOrCreateMessengerChannelCommandOutput} for command's `response` shape.
|
|
136
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link ValidationException} (client fault)
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ConversationsSyntheticServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
146
|
+
*
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class GetOrCreateMessengerChannelCommand extends GetOrCreateMessengerChannelCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: GetOrCreateMessengerChannelInput;
|
|
155
|
+
output: GetOrCreateMessengerChannelOutput;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: GetOrCreateMessengerChannelCommandInput;
|
|
159
|
+
output: GetOrCreateMessengerChannelCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -109,6 +109,10 @@ declare const GetOrCreateSmsChannelCommand_base: {
|
|
|
109
109
|
* // mms: true || false,
|
|
110
110
|
* // whatsapp: true || false,
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
+
* // messenger: true || false,
|
|
113
|
+
* // messengerStatus: "window_closed",
|
|
114
|
+
* // messengerPageId: "STRING_VALUE",
|
|
115
|
+
* // messengerReplyUntil: Number("long"),
|
|
112
116
|
* // broadcast: true || false,
|
|
113
117
|
* // external: true || false,
|
|
114
118
|
* // autoRecord: true || false,
|
|
@@ -108,6 +108,10 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
|
|
|
108
108
|
* // mms: true || false,
|
|
109
109
|
* // whatsapp: true || false,
|
|
110
110
|
* // whatsappStatus: "24h_channel_closed",
|
|
111
|
+
* // messenger: true || false,
|
|
112
|
+
* // messengerStatus: "window_closed",
|
|
113
|
+
* // messengerPageId: "STRING_VALUE",
|
|
114
|
+
* // messengerReplyUntil: Number("long"),
|
|
111
115
|
* // broadcast: true || false,
|
|
112
116
|
* // external: true || false,
|
|
113
117
|
* // autoRecord: true || false,
|
|
@@ -109,6 +109,10 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
|
|
|
109
109
|
* // mms: true || false,
|
|
110
110
|
* // whatsapp: true || false,
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
+
* // messenger: true || false,
|
|
113
|
+
* // messengerStatus: "window_closed",
|
|
114
|
+
* // messengerPageId: "STRING_VALUE",
|
|
115
|
+
* // messengerReplyUntil: Number("long"),
|
|
112
116
|
* // broadcast: true || false,
|
|
113
117
|
* // external: true || false,
|
|
114
118
|
* // autoRecord: true || false,
|
|
@@ -107,6 +107,10 @@ declare const JoinChannelCommand_base: {
|
|
|
107
107
|
* // mms: true || false,
|
|
108
108
|
* // whatsapp: true || false,
|
|
109
109
|
* // whatsappStatus: "24h_channel_closed",
|
|
110
|
+
* // messenger: true || false,
|
|
111
|
+
* // messengerStatus: "window_closed",
|
|
112
|
+
* // messengerPageId: "STRING_VALUE",
|
|
113
|
+
* // messengerReplyUntil: Number("long"),
|
|
110
114
|
* // broadcast: true || false,
|
|
111
115
|
* // external: true || false,
|
|
112
116
|
* // autoRecord: true || false,
|
|
@@ -109,6 +109,10 @@ declare const ListChannelsCommand_base: {
|
|
|
109
109
|
* // mms: true || false,
|
|
110
110
|
* // whatsapp: true || false,
|
|
111
111
|
* // whatsappStatus: "24h_channel_closed",
|
|
112
|
+
* // messenger: true || false,
|
|
113
|
+
* // messengerStatus: "window_closed",
|
|
114
|
+
* // messengerPageId: "STRING_VALUE",
|
|
115
|
+
* // messengerReplyUntil: Number("long"),
|
|
112
116
|
* // broadcast: true || false,
|
|
113
117
|
* // external: true || false,
|
|
114
118
|
* // autoRecord: true || false,
|
|
@@ -178,6 +178,8 @@ declare const ListMessagesCommand_base: {
|
|
|
178
178
|
* // },
|
|
179
179
|
* // whatsapp: true || false,
|
|
180
180
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
181
|
+
* // messenger: true || false,
|
|
182
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
181
183
|
* // sms: true || false,
|
|
182
184
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
183
185
|
* // markdown: true || false,
|
|
@@ -178,6 +178,8 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
178
178
|
* // },
|
|
179
179
|
* // whatsapp: true || false,
|
|
180
180
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
181
|
+
* // messenger: true || false,
|
|
182
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
181
183
|
* // sms: true || false,
|
|
182
184
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
183
185
|
* // markdown: true || false,
|
|
@@ -74,6 +74,10 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
74
74
|
* sms: true || false,
|
|
75
75
|
* mms: true || false,
|
|
76
76
|
* whatsapp: true || false,
|
|
77
|
+
* messenger: true || false,
|
|
78
|
+
* messengerStatus: "window_closed",
|
|
79
|
+
* messengerPageId: "STRING_VALUE",
|
|
80
|
+
* messengerReplyUntil: Number("long"),
|
|
77
81
|
* kiteAssign: "STRING_VALUE",
|
|
78
82
|
* serviceTitle: "STRING_VALUE",
|
|
79
83
|
* assignee: { // User
|
|
@@ -100,7 +104,7 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
100
104
|
* wizyGuestViewOnly: true || false,
|
|
101
105
|
* },
|
|
102
106
|
* unset: [ // PartialUpdateChannelUnsetOptions
|
|
103
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
107
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "messengerStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee" || "sms" || "mms" || "whatsapp",
|
|
104
108
|
* ],
|
|
105
109
|
* };
|
|
106
110
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -169,6 +173,10 @@ declare const PartialUpdateChannelCommand_base: {
|
|
|
169
173
|
* // mms: true || false,
|
|
170
174
|
* // whatsapp: true || false,
|
|
171
175
|
* // whatsappStatus: "24h_channel_closed",
|
|
176
|
+
* // messenger: true || false,
|
|
177
|
+
* // messengerStatus: "window_closed",
|
|
178
|
+
* // messengerPageId: "STRING_VALUE",
|
|
179
|
+
* // messengerReplyUntil: Number("long"),
|
|
172
180
|
* // broadcast: true || false,
|
|
173
181
|
* // external: true || false,
|
|
174
182
|
* // autoRecord: true || false,
|
|
@@ -173,6 +173,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
173
173
|
* },
|
|
174
174
|
* whatsapp: true || false,
|
|
175
175
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
176
|
+
* messenger: true || false,
|
|
177
|
+
* messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
176
178
|
* sms: true || false,
|
|
177
179
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
178
180
|
* markdown: true || false,
|
|
@@ -321,6 +323,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
321
323
|
* // },
|
|
322
324
|
* // whatsapp: true || false,
|
|
323
325
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
326
|
+
* // messenger: true || false,
|
|
327
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
324
328
|
* // sms: true || false,
|
|
325
329
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
326
330
|
* // markdown: true || false,
|
|
@@ -114,6 +114,10 @@ declare const QueryChannelsCommand_base: {
|
|
|
114
114
|
* // mms: true || false,
|
|
115
115
|
* // whatsapp: true || false,
|
|
116
116
|
* // whatsappStatus: "24h_channel_closed",
|
|
117
|
+
* // messenger: true || false,
|
|
118
|
+
* // messengerStatus: "window_closed",
|
|
119
|
+
* // messengerPageId: "STRING_VALUE",
|
|
120
|
+
* // messengerReplyUntil: Number("long"),
|
|
117
121
|
* // broadcast: true || false,
|
|
118
122
|
* // external: true || false,
|
|
119
123
|
* // autoRecord: true || false,
|
|
@@ -184,6 +184,8 @@ declare const SendGiphyCommand_base: {
|
|
|
184
184
|
* // },
|
|
185
185
|
* // whatsapp: true || false,
|
|
186
186
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
187
|
+
* // messenger: true || false,
|
|
188
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
187
189
|
* // sms: true || false,
|
|
188
190
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
189
191
|
* // markdown: true || false,
|
|
@@ -169,6 +169,8 @@ declare const SendMessageCommand_base: {
|
|
|
169
169
|
* },
|
|
170
170
|
* whatsapp: true || false,
|
|
171
171
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
172
|
+
* messenger: true || false,
|
|
173
|
+
* messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
172
174
|
* sms: true || false,
|
|
173
175
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
174
176
|
* markdown: true || false,
|
|
@@ -315,6 +317,8 @@ declare const SendMessageCommand_base: {
|
|
|
315
317
|
* // },
|
|
316
318
|
* // whatsapp: true || false,
|
|
317
319
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
320
|
+
* // messenger: true || false,
|
|
321
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
318
322
|
* // sms: true || false,
|
|
319
323
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
320
324
|
* // markdown: true || false,
|
|
@@ -184,6 +184,8 @@ declare const SendSystemMessageCommand_base: {
|
|
|
184
184
|
* // },
|
|
185
185
|
* // whatsapp: true || false,
|
|
186
186
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
187
|
+
* // messenger: true || false,
|
|
188
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
187
189
|
* // sms: true || false,
|
|
188
190
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
189
191
|
* // markdown: true || false,
|
|
@@ -70,6 +70,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
70
70
|
* sms: true || false,
|
|
71
71
|
* mms: true || false,
|
|
72
72
|
* whatsapp: true || false,
|
|
73
|
+
* messenger: true || false,
|
|
74
|
+
* messengerStatus: "window_closed",
|
|
75
|
+
* messengerPageId: "STRING_VALUE",
|
|
76
|
+
* messengerReplyUntil: Number("long"),
|
|
73
77
|
* kiteAssign: "STRING_VALUE",
|
|
74
78
|
* serviceTitle: "STRING_VALUE",
|
|
75
79
|
* assignee: { // User
|
|
@@ -164,6 +168,10 @@ declare const UpdateChannelCommand_base: {
|
|
|
164
168
|
* // mms: true || false,
|
|
165
169
|
* // whatsapp: true || false,
|
|
166
170
|
* // whatsappStatus: "24h_channel_closed",
|
|
171
|
+
* // messenger: true || false,
|
|
172
|
+
* // messengerStatus: "window_closed",
|
|
173
|
+
* // messengerPageId: "STRING_VALUE",
|
|
174
|
+
* // messengerReplyUntil: Number("long"),
|
|
167
175
|
* // broadcast: true || false,
|
|
168
176
|
* // external: true || false,
|
|
169
177
|
* // autoRecord: true || false,
|
|
@@ -169,6 +169,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
169
169
|
* },
|
|
170
170
|
* whatsapp: true || false,
|
|
171
171
|
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
172
|
+
* messenger: true || false,
|
|
173
|
+
* messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
172
174
|
* sms: true || false,
|
|
173
175
|
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
174
176
|
* markdown: true || false,
|
|
@@ -316,6 +318,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
316
318
|
* // },
|
|
317
319
|
* // whatsapp: true || false,
|
|
318
320
|
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
321
|
+
* // messenger: true || false,
|
|
322
|
+
* // messengerStatus: "trying" || "sent" || "error" || "delivered",
|
|
319
323
|
* // sms: true || false,
|
|
320
324
|
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
321
325
|
* // markdown: true || false,
|
|
@@ -17,7 +17,9 @@ export * from "./GetDirectChannelIdCommand";
|
|
|
17
17
|
export * from "./GetFilePresignedDownloadUrlCommand";
|
|
18
18
|
export * from "./GetInboxStateCommand";
|
|
19
19
|
export * from "./GetMessageCommand";
|
|
20
|
+
export * from "./GetMessengerChannelIdCommand";
|
|
20
21
|
export * from "./GetOrCreateDirectChannelCommand";
|
|
22
|
+
export * from "./GetOrCreateMessengerChannelCommand";
|
|
21
23
|
export * from "./GetOrCreateSmsChannelCommand";
|
|
22
24
|
export * from "./GetOrCreateTelephonyChannelCommand";
|
|
23
25
|
export * from "./GetOrCreateWhatsAppChannelCommand";
|
|
@@ -58,6 +58,17 @@ export declare const ChannelContextSource: {
|
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
60
|
export type ChannelContextSource = (typeof ChannelContextSource)[keyof typeof ChannelContextSource];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const ChannelMessengerStatus: {
|
|
66
|
+
readonly WINDOW_CLOSED: "window_closed";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export type ChannelMessengerStatus = (typeof ChannelMessengerStatus)[keyof typeof ChannelMessengerStatus];
|
|
61
72
|
/**
|
|
62
73
|
* @public
|
|
63
74
|
* @enum
|
|
@@ -81,6 +92,20 @@ export declare const ButtonVariant: {
|
|
|
81
92
|
* @public
|
|
82
93
|
*/
|
|
83
94
|
export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
* @enum
|
|
98
|
+
*/
|
|
99
|
+
export declare const MessageMessengerStatus: {
|
|
100
|
+
readonly DELIVERED: "delivered";
|
|
101
|
+
readonly ERROR: "error";
|
|
102
|
+
readonly SENT: "sent";
|
|
103
|
+
readonly TRYING: "trying";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export type MessageMessengerStatus = (typeof MessageMessengerStatus)[keyof typeof MessageMessengerStatus];
|
|
84
109
|
/**
|
|
85
110
|
* @public
|
|
86
111
|
* @enum
|
|
@@ -249,6 +274,7 @@ export declare const GroupChannelUnsetOptions: {
|
|
|
249
274
|
readonly CONTEXT_PTT: "contextPtt";
|
|
250
275
|
readonly DESCRIPTION: "description";
|
|
251
276
|
readonly KITE_ASSIGN: "kiteAssign";
|
|
277
|
+
readonly MESSENGER_STATUS: "messengerStatus";
|
|
252
278
|
readonly MMS: "mms";
|
|
253
279
|
readonly PICTURE: "picture";
|
|
254
280
|
readonly PICTURE_COLOR: "pictureColor";
|