@wildix/xbees-conversations-client 1.1.23 → 1.1.24

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.
@@ -342,18 +342,17 @@ class MarkUnreadChannelsLimitReachedException extends ConversationsServiceExcept
342
342
  exports.MarkUnreadChannelsLimitReachedException = MarkUnreadChannelsLimitReachedException;
343
343
  exports.GroupChannelUnsetOptions = {
344
344
  ACCESS: "access",
345
- ASSIGNEE: "assignee",
346
345
  BROADCAST: "broadcast",
347
346
  CONTEXT: "context",
348
347
  CONTEXT_EVENTS: "contextEvents",
349
348
  CONTEXT_PTT: "contextPtt",
350
349
  DESCRIPTION: "description",
351
- KITE_ASSIGN: "kiteAssign",
350
+ MMS: "mms",
352
351
  PICTURE: "picture",
353
352
  PICTURE_COLOR: "pictureColor",
354
- SERVICE: "service",
355
- SERVICE_TITLE: "serviceTitle",
353
+ SMS: "sms",
356
354
  SUBJECT: "subject",
355
+ WHATSAPP: "whatsapp",
357
356
  WHATSAPP_STATUS: "whatsappStatus",
358
357
  };
359
358
  exports.MessageUnsetFields = {
@@ -92,20 +92,19 @@ const se_CreateGroupChannelCommand = async (input, context) => {
92
92
  let body;
93
93
  body = JSON.stringify((0, smithy_client_1.take)(input, {
94
94
  'access': [],
95
- 'assignee': _ => (0, smithy_client_1._json)(_),
95
+ 'autoRecord': [],
96
96
  'broadcast': [],
97
97
  'channelId': [],
98
98
  'context': _ => (0, smithy_client_1._json)(_),
99
99
  'description': [],
100
- 'kiteAssign': [],
101
100
  'members': _ => (0, smithy_client_1._json)(_),
102
101
  'membersToInvite': _ => (0, smithy_client_1._json)(_),
103
102
  'mms': [],
104
103
  'picture': [],
105
104
  'pictureColor': [],
106
- 'serviceTitle': [],
107
105
  'sms': [],
108
106
  'subject': [],
107
+ 'transcriptionLanguage': [],
109
108
  'whatsapp': [],
110
109
  'whatsappStatus': [],
111
110
  }));
@@ -1175,18 +1174,17 @@ const se_UpdateChannelCommand = async (input, context) => {
1175
1174
  let body;
1176
1175
  body = JSON.stringify((0, smithy_client_1.take)(input, {
1177
1176
  'access': [],
1178
- 'assignee': _ => (0, smithy_client_1._json)(_),
1177
+ 'autoRecord': [],
1179
1178
  'broadcast': [],
1180
1179
  'context': _ => (0, smithy_client_1._json)(_),
1181
1180
  'description': [],
1182
- 'kiteAssign': [],
1183
1181
  'mms': [],
1184
1182
  'picture': [],
1185
1183
  'pictureColor': [],
1186
- 'serviceTitle': [],
1187
1184
  'silent': [],
1188
1185
  'sms': [],
1189
1186
  'subject': [],
1187
+ 'transcriptionLanguage': [],
1190
1188
  'whatsapp': [],
1191
1189
  'whatsappStatus': [],
1192
1190
  }));
@@ -324,18 +324,17 @@ export class MarkUnreadChannelsLimitReachedException extends __BaseException {
324
324
  }
325
325
  export const GroupChannelUnsetOptions = {
326
326
  ACCESS: "access",
327
- ASSIGNEE: "assignee",
328
327
  BROADCAST: "broadcast",
329
328
  CONTEXT: "context",
330
329
  CONTEXT_EVENTS: "contextEvents",
331
330
  CONTEXT_PTT: "contextPtt",
332
331
  DESCRIPTION: "description",
333
- KITE_ASSIGN: "kiteAssign",
332
+ MMS: "mms",
334
333
  PICTURE: "picture",
335
334
  PICTURE_COLOR: "pictureColor",
336
- SERVICE: "service",
337
- SERVICE_TITLE: "serviceTitle",
335
+ SMS: "sms",
338
336
  SUBJECT: "subject",
337
+ WHATSAPP: "whatsapp",
339
338
  WHATSAPP_STATUS: "whatsappStatus",
340
339
  };
341
340
  export const MessageUnsetFields = {
@@ -84,20 +84,19 @@ export const se_CreateGroupChannelCommand = async (input, context) => {
84
84
  let body;
85
85
  body = JSON.stringify(take(input, {
86
86
  'access': [],
87
- 'assignee': _ => _json(_),
87
+ 'autoRecord': [],
88
88
  'broadcast': [],
89
89
  'channelId': [],
90
90
  'context': _ => _json(_),
91
91
  'description': [],
92
- 'kiteAssign': [],
93
92
  'members': _ => _json(_),
94
93
  'membersToInvite': _ => _json(_),
95
94
  'mms': [],
96
95
  'picture': [],
97
96
  'pictureColor': [],
98
- 'serviceTitle': [],
99
97
  'sms': [],
100
98
  'subject': [],
99
+ 'transcriptionLanguage': [],
101
100
  'whatsapp': [],
102
101
  'whatsappStatus': [],
103
102
  }));
@@ -1109,18 +1108,17 @@ export const se_UpdateChannelCommand = async (input, context) => {
1109
1108
  let body;
1110
1109
  body = JSON.stringify(take(input, {
1111
1110
  'access': [],
1112
- 'assignee': _ => _json(_),
1111
+ 'autoRecord': [],
1113
1112
  'broadcast': [],
1114
1113
  'context': _ => _json(_),
1115
1114
  'description': [],
1116
- 'kiteAssign': [],
1117
1115
  'mms': [],
1118
1116
  'picture': [],
1119
1117
  'pictureColor': [],
1120
- 'serviceTitle': [],
1121
1118
  'silent': [],
1122
1119
  'sms': [],
1123
1120
  'subject': [],
1121
+ 'transcriptionLanguage': [],
1124
1122
  'whatsapp': [],
1125
1123
  'whatsappStatus': [],
1126
1124
  }));
@@ -68,26 +68,8 @@ declare const CreateGroupChannelCommand_base: {
68
68
  * sms: true || false,
69
69
  * mms: true || false,
70
70
  * whatsapp: true || false,
71
- * kiteAssign: "STRING_VALUE",
72
- * serviceTitle: "STRING_VALUE",
73
- * assignee: { // User
74
- * id: "STRING_VALUE", // required
75
- * name: "STRING_VALUE",
76
- * email: "STRING_VALUE",
77
- * phone: "STRING_VALUE",
78
- * picture: "STRING_VALUE",
79
- * locale: "STRING_VALUE",
80
- * timeZone: "STRING_VALUE",
81
- * company: "STRING_VALUE",
82
- * bot: true || false,
83
- * pbxDomain: "STRING_VALUE",
84
- * pbxPort: "STRING_VALUE",
85
- * pbxExtension: "STRING_VALUE",
86
- * pbxSerial: "STRING_VALUE",
87
- * pbxUserId: "STRING_VALUE",
88
- * createdAt: "STRING_VALUE",
89
- * updatedAt: "STRING_VALUE",
90
- * },
71
+ * autoRecord: true || false,
72
+ * transcriptionLanguage: "STRING_VALUE",
91
73
  * userId: "STRING_VALUE",
92
74
  * channelId: "STRING_VALUE",
93
75
  * members: [ // UsersIdList
@@ -169,6 +151,8 @@ declare const CreateGroupChannelCommand_base: {
169
151
  * // whatsappStatus: "24h_channel_closed",
170
152
  * // broadcast: true || false,
171
153
  * // external: true || false,
154
+ * // autoRecord: true || false,
155
+ * // transcriptionLanguage: "STRING_VALUE",
172
156
  * // channelId: "STRING_VALUE", // required
173
157
  * // channelType: "direct" || "group", // required
174
158
  * // memberCount: Number("int"), // required
@@ -323,6 +323,8 @@ declare const CreateKiteChannelCommand_base: {
323
323
  * // whatsappStatus: "24h_channel_closed",
324
324
  * // broadcast: true || false,
325
325
  * // external: true || false,
326
+ * // autoRecord: true || false,
327
+ * // transcriptionLanguage: "STRING_VALUE",
326
328
  * // channelId: "STRING_VALUE", // required
327
329
  * // channelType: "direct" || "group", // required
328
330
  * // memberCount: Number("int"), // required
@@ -111,6 +111,8 @@ declare const DescribeEventCommand_base: {
111
111
  * // whatsappStatus: "24h_channel_closed",
112
112
  * // broadcast: true || false,
113
113
  * // external: true || false,
114
+ * // autoRecord: true || false,
115
+ * // transcriptionLanguage: "STRING_VALUE",
114
116
  * // channelId: "STRING_VALUE", // required
115
117
  * // channelType: "direct" || "group", // required
116
118
  * // memberCount: Number("int"), // required
@@ -219,6 +221,8 @@ declare const DescribeEventCommand_base: {
219
221
  * // whatsappStatus: "24h_channel_closed",
220
222
  * // broadcast: true || false,
221
223
  * // external: true || false,
224
+ * // autoRecord: true || false,
225
+ * // transcriptionLanguage: "STRING_VALUE",
222
226
  * // channelId: "STRING_VALUE", // required
223
227
  * // channelType: "direct" || "group", // required
224
228
  * // memberCount: Number("int"), // required
@@ -327,6 +331,8 @@ declare const DescribeEventCommand_base: {
327
331
  * // whatsappStatus: "24h_channel_closed",
328
332
  * // broadcast: true || false,
329
333
  * // external: true || false,
334
+ * // autoRecord: true || false,
335
+ * // transcriptionLanguage: "STRING_VALUE",
330
336
  * // channelId: "STRING_VALUE", // required
331
337
  * // channelType: "direct" || "group", // required
332
338
  * // memberCount: Number("int"), // required
@@ -397,6 +403,8 @@ declare const DescribeEventCommand_base: {
397
403
  * // whatsappStatus: "24h_channel_closed",
398
404
  * // broadcast: true || false,
399
405
  * // external: true || false,
406
+ * // autoRecord: true || false,
407
+ * // transcriptionLanguage: "STRING_VALUE",
400
408
  * // channelId: "STRING_VALUE", // required
401
409
  * // channelType: "direct" || "group", // required
402
410
  * // memberCount: Number("int"), // required
@@ -467,6 +475,8 @@ declare const DescribeEventCommand_base: {
467
475
  * // whatsappStatus: "24h_channel_closed",
468
476
  * // broadcast: true || false,
469
477
  * // external: true || false,
478
+ * // autoRecord: true || false,
479
+ * // transcriptionLanguage: "STRING_VALUE",
470
480
  * // channelId: "STRING_VALUE", // required
471
481
  * // channelType: "direct" || "group", // required
472
482
  * // memberCount: Number("int"), // required
@@ -104,6 +104,8 @@ declare const GetChannelCommand_base: {
104
104
  * // whatsappStatus: "24h_channel_closed",
105
105
  * // broadcast: true || false,
106
106
  * // external: true || false,
107
+ * // autoRecord: true || false,
108
+ * // transcriptionLanguage: "STRING_VALUE",
107
109
  * // channelId: "STRING_VALUE", // required
108
110
  * // channelType: "direct" || "group", // required
109
111
  * // memberCount: Number("int"), // required
@@ -111,6 +111,8 @@ declare const GetOrCreateDirectChannelCommand_base: {
111
111
  * // whatsappStatus: "24h_channel_closed",
112
112
  * // broadcast: true || false,
113
113
  * // external: true || false,
114
+ * // autoRecord: true || false,
115
+ * // transcriptionLanguage: "STRING_VALUE",
114
116
  * // channelId: "STRING_VALUE", // required
115
117
  * // channelType: "direct" || "group", // required
116
118
  * // memberCount: Number("int"), // required
@@ -107,6 +107,8 @@ declare const GetOrCreateSmsChannelCommand_base: {
107
107
  * // whatsappStatus: "24h_channel_closed",
108
108
  * // broadcast: true || false,
109
109
  * // external: true || false,
110
+ * // autoRecord: true || false,
111
+ * // transcriptionLanguage: "STRING_VALUE",
110
112
  * // channelId: "STRING_VALUE", // required
111
113
  * // channelType: "direct" || "group", // required
112
114
  * // memberCount: Number("int"), // required
@@ -107,6 +107,8 @@ declare const GetOrCreateTelephonyChannelCommand_base: {
107
107
  * // whatsappStatus: "24h_channel_closed",
108
108
  * // broadcast: true || false,
109
109
  * // external: true || false,
110
+ * // autoRecord: true || false,
111
+ * // transcriptionLanguage: "STRING_VALUE",
110
112
  * // channelId: "STRING_VALUE", // required
111
113
  * // channelType: "direct" || "group", // required
112
114
  * // memberCount: Number("int"), // required
@@ -107,6 +107,8 @@ declare const GetOrCreateWhatsAppChannelCommand_base: {
107
107
  * // whatsappStatus: "24h_channel_closed",
108
108
  * // broadcast: true || false,
109
109
  * // external: true || false,
110
+ * // autoRecord: true || false,
111
+ * // transcriptionLanguage: "STRING_VALUE",
110
112
  * // channelId: "STRING_VALUE", // required
111
113
  * // channelType: "direct" || "group", // required
112
114
  * // memberCount: Number("int"), // required
@@ -106,6 +106,8 @@ declare const JoinChannelCommand_base: {
106
106
  * // whatsappStatus: "24h_channel_closed",
107
107
  * // broadcast: true || false,
108
108
  * // external: true || false,
109
+ * // autoRecord: true || false,
110
+ * // transcriptionLanguage: "STRING_VALUE",
109
111
  * // channelId: "STRING_VALUE", // required
110
112
  * // channelType: "direct" || "group", // required
111
113
  * // memberCount: Number("int"), // required
@@ -108,6 +108,8 @@ declare const ListChannelsCommand_base: {
108
108
  * // whatsappStatus: "24h_channel_closed",
109
109
  * // broadcast: true || false,
110
110
  * // external: true || false,
111
+ * // autoRecord: true || false,
112
+ * // transcriptionLanguage: "STRING_VALUE",
111
113
  * // channelId: "STRING_VALUE", // required
112
114
  * // channelType: "direct" || "group", // required
113
115
  * // memberCount: Number("int"), // required
@@ -72,29 +72,11 @@ declare const PartialUpdateChannelCommand_base: {
72
72
  * sms: true || false,
73
73
  * mms: true || false,
74
74
  * whatsapp: true || false,
75
- * kiteAssign: "STRING_VALUE",
76
- * serviceTitle: "STRING_VALUE",
77
- * assignee: { // User
78
- * id: "STRING_VALUE", // required
79
- * name: "STRING_VALUE",
80
- * email: "STRING_VALUE",
81
- * phone: "STRING_VALUE",
82
- * picture: "STRING_VALUE",
83
- * locale: "STRING_VALUE",
84
- * timeZone: "STRING_VALUE",
85
- * company: "STRING_VALUE",
86
- * bot: true || false,
87
- * pbxDomain: "STRING_VALUE",
88
- * pbxPort: "STRING_VALUE",
89
- * pbxExtension: "STRING_VALUE",
90
- * pbxSerial: "STRING_VALUE",
91
- * pbxUserId: "STRING_VALUE",
92
- * createdAt: "STRING_VALUE",
93
- * updatedAt: "STRING_VALUE",
94
- * },
75
+ * autoRecord: true || false,
76
+ * transcriptionLanguage: "STRING_VALUE",
95
77
  * },
96
78
  * unset: [ // PartialUpdateChannelUnsetOptions
97
- * "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "kiteAssign" || "service" || "serviceTitle" || "assignee",
79
+ * "subject" || "description" || "picture" || "pictureColor" || "access" || "broadcast" || "context" || "contextPtt" || "contextEvents" || "whatsappStatus" || "sms" || "mms" || "whatsapp",
98
80
  * ],
99
81
  * };
100
82
  * const command = new PartialUpdateChannelCommand(input);
@@ -164,6 +146,8 @@ declare const PartialUpdateChannelCommand_base: {
164
146
  * // whatsappStatus: "24h_channel_closed",
165
147
  * // broadcast: true || false,
166
148
  * // external: true || false,
149
+ * // autoRecord: true || false,
150
+ * // transcriptionLanguage: "STRING_VALUE",
167
151
  * // channelId: "STRING_VALUE", // required
168
152
  * // channelType: "direct" || "group", // required
169
153
  * // memberCount: Number("int"), // required
@@ -113,6 +113,8 @@ declare const QueryChannelsCommand_base: {
113
113
  * // whatsappStatus: "24h_channel_closed",
114
114
  * // broadcast: true || false,
115
115
  * // external: true || false,
116
+ * // autoRecord: true || false,
117
+ * // transcriptionLanguage: "STRING_VALUE",
116
118
  * // channelId: "STRING_VALUE", // required
117
119
  * // channelType: "direct" || "group", // required
118
120
  * // memberCount: Number("int"), // required
@@ -68,26 +68,8 @@ declare const UpdateChannelCommand_base: {
68
68
  * sms: true || false,
69
69
  * mms: true || false,
70
70
  * whatsapp: true || false,
71
- * kiteAssign: "STRING_VALUE",
72
- * serviceTitle: "STRING_VALUE",
73
- * assignee: { // User
74
- * id: "STRING_VALUE", // required
75
- * name: "STRING_VALUE",
76
- * email: "STRING_VALUE",
77
- * phone: "STRING_VALUE",
78
- * picture: "STRING_VALUE",
79
- * locale: "STRING_VALUE",
80
- * timeZone: "STRING_VALUE",
81
- * company: "STRING_VALUE",
82
- * bot: true || false,
83
- * pbxDomain: "STRING_VALUE",
84
- * pbxPort: "STRING_VALUE",
85
- * pbxExtension: "STRING_VALUE",
86
- * pbxSerial: "STRING_VALUE",
87
- * pbxUserId: "STRING_VALUE",
88
- * createdAt: "STRING_VALUE",
89
- * updatedAt: "STRING_VALUE",
90
- * },
71
+ * autoRecord: true || false,
72
+ * transcriptionLanguage: "STRING_VALUE",
91
73
  * channelId: "STRING_VALUE", // required
92
74
  * userId: "STRING_VALUE",
93
75
  * silent: true || false,
@@ -159,6 +141,8 @@ declare const UpdateChannelCommand_base: {
159
141
  * // whatsappStatus: "24h_channel_closed",
160
142
  * // broadcast: true || false,
161
143
  * // external: true || false,
144
+ * // autoRecord: true || false,
145
+ * // transcriptionLanguage: "STRING_VALUE",
162
146
  * // channelId: "STRING_VALUE", // required
163
147
  * // channelType: "direct" || "group", // required
164
148
  * // memberCount: Number("int"), // required
@@ -693,6 +693,8 @@ export interface Channel {
693
693
  whatsappStatus?: ChannelWhatsAppStatus | undefined;
694
694
  broadcast?: boolean | undefined;
695
695
  external?: boolean | undefined;
696
+ autoRecord?: boolean | undefined;
697
+ transcriptionLanguage?: string | undefined;
696
698
  channelId: string;
697
699
  channelType: ChannelType;
698
700
  memberCount: number;
@@ -764,6 +766,10 @@ export interface CreateGroupChannelInput {
764
766
  * @public
765
767
  */
766
768
  context?: ChannelContext | undefined;
769
+ /**
770
+ * The WhatsApp status of the channel.
771
+ * @public
772
+ */
767
773
  whatsappStatus?: ChannelWhatsAppStatus | undefined;
768
774
  /**
769
775
  * Indicates if the channel supports SMS. Default is false.
@@ -780,17 +786,8 @@ export interface CreateGroupChannelInput {
780
786
  * @public
781
787
  */
782
788
  whatsapp?: boolean | undefined;
783
- /**
784
- * The unique identifier of the assignee.
785
- * @public
786
- */
787
- kiteAssign?: string | undefined;
788
- serviceTitle?: string | undefined;
789
- /**
790
- * A user that assigned to the channel if specified in the request, otherwise previously assigned user or undefined.
791
- * @public
792
- */
793
- assignee?: User | undefined;
789
+ autoRecord?: boolean | undefined;
790
+ transcriptionLanguage?: string | undefined;
794
791
  /**
795
792
  * The unique identifier of the user when a service token is used.
796
793
  * @public
@@ -2424,6 +2421,10 @@ export interface PartialUpdateChannelSetOptions {
2424
2421
  * @public
2425
2422
  */
2426
2423
  context?: ChannelContext | undefined;
2424
+ /**
2425
+ * The WhatsApp status of the channel.
2426
+ * @public
2427
+ */
2427
2428
  whatsappStatus?: ChannelWhatsAppStatus | undefined;
2428
2429
  /**
2429
2430
  * Indicates if the channel supports SMS. Default is false.
@@ -2440,17 +2441,8 @@ export interface PartialUpdateChannelSetOptions {
2440
2441
  * @public
2441
2442
  */
2442
2443
  whatsapp?: boolean | undefined;
2443
- /**
2444
- * The unique identifier of the assignee.
2445
- * @public
2446
- */
2447
- kiteAssign?: string | undefined;
2448
- serviceTitle?: string | undefined;
2449
- /**
2450
- * A user that assigned to the channel if specified in the request, otherwise previously assigned user or undefined.
2451
- * @public
2452
- */
2453
- assignee?: User | undefined;
2444
+ autoRecord?: boolean | undefined;
2445
+ transcriptionLanguage?: string | undefined;
2454
2446
  }
2455
2447
  /**
2456
2448
  * @public
@@ -2458,18 +2450,17 @@ export interface PartialUpdateChannelSetOptions {
2458
2450
  */
2459
2451
  export declare const GroupChannelUnsetOptions: {
2460
2452
  readonly ACCESS: "access";
2461
- readonly ASSIGNEE: "assignee";
2462
2453
  readonly BROADCAST: "broadcast";
2463
2454
  readonly CONTEXT: "context";
2464
2455
  readonly CONTEXT_EVENTS: "contextEvents";
2465
2456
  readonly CONTEXT_PTT: "contextPtt";
2466
2457
  readonly DESCRIPTION: "description";
2467
- readonly KITE_ASSIGN: "kiteAssign";
2458
+ readonly MMS: "mms";
2468
2459
  readonly PICTURE: "picture";
2469
2460
  readonly PICTURE_COLOR: "pictureColor";
2470
- readonly SERVICE: "service";
2471
- readonly SERVICE_TITLE: "serviceTitle";
2461
+ readonly SMS: "sms";
2472
2462
  readonly SUBJECT: "subject";
2463
+ readonly WHATSAPP: "whatsapp";
2473
2464
  readonly WHATSAPP_STATUS: "whatsappStatus";
2474
2465
  };
2475
2466
  /**
@@ -3153,6 +3144,10 @@ export interface UpdateChannelInput {
3153
3144
  * @public
3154
3145
  */
3155
3146
  context?: ChannelContext | undefined;
3147
+ /**
3148
+ * The WhatsApp status of the channel.
3149
+ * @public
3150
+ */
3156
3151
  whatsappStatus?: ChannelWhatsAppStatus | undefined;
3157
3152
  /**
3158
3153
  * Indicates if the channel supports SMS. Default is false.
@@ -3169,17 +3164,8 @@ export interface UpdateChannelInput {
3169
3164
  * @public
3170
3165
  */
3171
3166
  whatsapp?: boolean | undefined;
3172
- /**
3173
- * The unique identifier of the assignee.
3174
- * @public
3175
- */
3176
- kiteAssign?: string | undefined;
3177
- serviceTitle?: string | undefined;
3178
- /**
3179
- * A user that assigned to the channel if specified in the request, otherwise previously assigned user or undefined.
3180
- * @public
3181
- */
3182
- assignee?: User | undefined;
3167
+ autoRecord?: boolean | undefined;
3168
+ transcriptionLanguage?: string | undefined;
3183
3169
  /**
3184
3170
  * The unique identifier of the channel to be updated.
3185
3171
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.1.23",
4
+ "version": "1.1.24",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",