@wildix/xbees-conversations-client 1.1.14 → 1.1.16
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 +16 -0
- package/dist-cjs/commands/GetOrCreateSmsChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateTelephonyChannelCommand.js +21 -0
- package/dist-cjs/commands/GetOrCreateWhatsAppChannelCommand.js +21 -0
- package/dist-cjs/commands/GetSmsChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetTelephonyChannelIdCommand.js +21 -0
- package/dist-cjs/commands/GetWhatsAppChannelIdCommand.js +21 -0
- package/dist-cjs/commands/ListChannelMembersReadStatusCommand.js +21 -0
- package/dist-cjs/commands/SendTemplateMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +292 -3
- package/dist-es/Conversations.js +16 -0
- package/dist-es/commands/GetOrCreateSmsChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateTelephonyChannelCommand.js +17 -0
- package/dist-es/commands/GetOrCreateWhatsAppChannelCommand.js +17 -0
- package/dist-es/commands/GetSmsChannelIdCommand.js +17 -0
- package/dist-es/commands/GetTelephonyChannelIdCommand.js +17 -0
- package/dist-es/commands/GetWhatsAppChannelIdCommand.js +17 -0
- package/dist-es/commands/ListChannelMembersReadStatusCommand.js +17 -0
- package/dist-es/commands/SendTemplateMessageCommand.js +17 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +273 -0
- package/dist-types/Conversations.d.ts +62 -0
- package/dist-types/ConversationsClient.d.ts +10 -2
- package/dist-types/commands/AssignChannelCommand.d.ts +4 -1
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +151 -0
- package/dist-types/commands/GetSmsChannelIdCommand.d.ts +81 -0
- package/dist-types/commands/GetTelephonyChannelIdCommand.d.ts +81 -0
- package/dist-types/commands/GetWhatsAppChannelIdCommand.d.ts +81 -0
- package/dist-types/commands/ListChannelMembersReadStatusCommand.d.ts +103 -0
- package/dist-types/commands/SendTemplateMessageCommand.d.ts +363 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +267 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +5 -5
|
@@ -18,13 +18,20 @@ import { GetFilePresignedDownloadUrlCommandInput, GetFilePresignedDownloadUrlCom
|
|
|
18
18
|
import { GetInboxStateCommandInput, GetInboxStateCommandOutput } from "../commands/GetInboxStateCommand";
|
|
19
19
|
import { GetMessageCommandInput, GetMessageCommandOutput } from "../commands/GetMessageCommand";
|
|
20
20
|
import { GetOrCreateDirectChannelCommandInput, GetOrCreateDirectChannelCommandOutput } from "../commands/GetOrCreateDirectChannelCommand";
|
|
21
|
+
import { GetOrCreateSmsChannelCommandInput, GetOrCreateSmsChannelCommandOutput } from "../commands/GetOrCreateSmsChannelCommand";
|
|
22
|
+
import { GetOrCreateTelephonyChannelCommandInput, GetOrCreateTelephonyChannelCommandOutput } from "../commands/GetOrCreateTelephonyChannelCommand";
|
|
23
|
+
import { GetOrCreateWhatsAppChannelCommandInput, GetOrCreateWhatsAppChannelCommandOutput } from "../commands/GetOrCreateWhatsAppChannelCommand";
|
|
24
|
+
import { GetSmsChannelIdCommandInput, GetSmsChannelIdCommandOutput } from "../commands/GetSmsChannelIdCommand";
|
|
25
|
+
import { GetTelephonyChannelIdCommandInput, GetTelephonyChannelIdCommandOutput } from "../commands/GetTelephonyChannelIdCommand";
|
|
21
26
|
import { GetTokenCommandInput, GetTokenCommandOutput } from "../commands/GetTokenCommand";
|
|
22
27
|
import { GetUploadedFileInfoCommandInput, GetUploadedFileInfoCommandOutput } from "../commands/GetUploadedFileInfoCommand";
|
|
28
|
+
import { GetWhatsAppChannelIdCommandInput, GetWhatsAppChannelIdCommandOutput } from "../commands/GetWhatsAppChannelIdCommand";
|
|
23
29
|
import { HideChannelCommandInput, HideChannelCommandOutput } from "../commands/HideChannelCommand";
|
|
24
30
|
import { InviteCommandInput, InviteCommandOutput } from "../commands/InviteCommand";
|
|
25
31
|
import { JoinChannelCommandInput, JoinChannelCommandOutput } from "../commands/JoinChannelCommand";
|
|
26
32
|
import { LeaveChannelCommandInput, LeaveChannelCommandOutput } from "../commands/LeaveChannelCommand";
|
|
27
33
|
import { ListChannelMembersCommandInput, ListChannelMembersCommandOutput } from "../commands/ListChannelMembersCommand";
|
|
34
|
+
import { ListChannelMembersReadStatusCommandInput, ListChannelMembersReadStatusCommandOutput } from "../commands/ListChannelMembersReadStatusCommand";
|
|
28
35
|
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
29
36
|
import { ListInboxTaggedChannelsCommandInput, ListInboxTaggedChannelsCommandOutput } from "../commands/ListInboxTaggedChannelsCommand";
|
|
30
37
|
import { ListInboxTagsCommandInput, ListInboxTagsCommandOutput } from "../commands/ListInboxTagsCommand";
|
|
@@ -43,6 +50,7 @@ import { SendActionTriggerResultCommandInput, SendActionTriggerResultCommandOutp
|
|
|
43
50
|
import { SendGiphyCommandInput, SendGiphyCommandOutput } from "../commands/SendGiphyCommand";
|
|
44
51
|
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
45
52
|
import { SendMessageReactionCommandInput, SendMessageReactionCommandOutput } from "../commands/SendMessageReactionCommand";
|
|
53
|
+
import { SendTemplateMessageCommandInput, SendTemplateMessageCommandOutput } from "../commands/SendTemplateMessageCommand";
|
|
46
54
|
import { SendTypingStartCommandInput, SendTypingStartCommandOutput } from "../commands/SendTypingStartCommand";
|
|
47
55
|
import { SendTypingStopCommandInput, SendTypingStopCommandOutput } from "../commands/SendTypingStopCommand";
|
|
48
56
|
import { ShowChannelCommandInput, ShowChannelCommandOutput } from "../commands/ShowChannelCommand";
|
|
@@ -137,6 +145,26 @@ export declare const se_GetMessageCommand: (input: GetMessageCommandInput, conte
|
|
|
137
145
|
* serializeAws_restJson1GetOrCreateDirectChannelCommand
|
|
138
146
|
*/
|
|
139
147
|
export declare const se_GetOrCreateDirectChannelCommand: (input: GetOrCreateDirectChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
148
|
+
/**
|
|
149
|
+
* serializeAws_restJson1GetOrCreateSmsChannelCommand
|
|
150
|
+
*/
|
|
151
|
+
export declare const se_GetOrCreateSmsChannelCommand: (input: GetOrCreateSmsChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
152
|
+
/**
|
|
153
|
+
* serializeAws_restJson1GetOrCreateTelephonyChannelCommand
|
|
154
|
+
*/
|
|
155
|
+
export declare const se_GetOrCreateTelephonyChannelCommand: (input: GetOrCreateTelephonyChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
156
|
+
/**
|
|
157
|
+
* serializeAws_restJson1GetOrCreateWhatsAppChannelCommand
|
|
158
|
+
*/
|
|
159
|
+
export declare const se_GetOrCreateWhatsAppChannelCommand: (input: GetOrCreateWhatsAppChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
160
|
+
/**
|
|
161
|
+
* serializeAws_restJson1GetSmsChannelIdCommand
|
|
162
|
+
*/
|
|
163
|
+
export declare const se_GetSmsChannelIdCommand: (input: GetSmsChannelIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
164
|
+
/**
|
|
165
|
+
* serializeAws_restJson1GetTelephonyChannelIdCommand
|
|
166
|
+
*/
|
|
167
|
+
export declare const se_GetTelephonyChannelIdCommand: (input: GetTelephonyChannelIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
140
168
|
/**
|
|
141
169
|
* serializeAws_restJson1GetTokenCommand
|
|
142
170
|
*/
|
|
@@ -145,6 +173,10 @@ export declare const se_GetTokenCommand: (input: GetTokenCommandInput, context:
|
|
|
145
173
|
* serializeAws_restJson1GetUploadedFileInfoCommand
|
|
146
174
|
*/
|
|
147
175
|
export declare const se_GetUploadedFileInfoCommand: (input: GetUploadedFileInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
176
|
+
/**
|
|
177
|
+
* serializeAws_restJson1GetWhatsAppChannelIdCommand
|
|
178
|
+
*/
|
|
179
|
+
export declare const se_GetWhatsAppChannelIdCommand: (input: GetWhatsAppChannelIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
148
180
|
/**
|
|
149
181
|
* serializeAws_restJson1HideChannelCommand
|
|
150
182
|
*/
|
|
@@ -165,6 +197,10 @@ export declare const se_LeaveChannelCommand: (input: LeaveChannelCommandInput, c
|
|
|
165
197
|
* serializeAws_restJson1ListChannelMembersCommand
|
|
166
198
|
*/
|
|
167
199
|
export declare const se_ListChannelMembersCommand: (input: ListChannelMembersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
200
|
+
/**
|
|
201
|
+
* serializeAws_restJson1ListChannelMembersReadStatusCommand
|
|
202
|
+
*/
|
|
203
|
+
export declare const se_ListChannelMembersReadStatusCommand: (input: ListChannelMembersReadStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
168
204
|
/**
|
|
169
205
|
* serializeAws_restJson1ListChannelsCommand
|
|
170
206
|
*/
|
|
@@ -237,6 +273,10 @@ export declare const se_SendMessageCommand: (input: SendMessageCommandInput, con
|
|
|
237
273
|
* serializeAws_restJson1SendMessageReactionCommand
|
|
238
274
|
*/
|
|
239
275
|
export declare const se_SendMessageReactionCommand: (input: SendMessageReactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
276
|
+
/**
|
|
277
|
+
* serializeAws_restJson1SendTemplateMessageCommand
|
|
278
|
+
*/
|
|
279
|
+
export declare const se_SendTemplateMessageCommand: (input: SendTemplateMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
240
280
|
/**
|
|
241
281
|
* serializeAws_restJson1SendTypingStartCommand
|
|
242
282
|
*/
|
|
@@ -365,6 +405,26 @@ export declare const de_GetMessageCommand: (output: __HttpResponse, context: __S
|
|
|
365
405
|
* deserializeAws_restJson1GetOrCreateDirectChannelCommand
|
|
366
406
|
*/
|
|
367
407
|
export declare const de_GetOrCreateDirectChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrCreateDirectChannelCommandOutput>;
|
|
408
|
+
/**
|
|
409
|
+
* deserializeAws_restJson1GetOrCreateSmsChannelCommand
|
|
410
|
+
*/
|
|
411
|
+
export declare const de_GetOrCreateSmsChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrCreateSmsChannelCommandOutput>;
|
|
412
|
+
/**
|
|
413
|
+
* deserializeAws_restJson1GetOrCreateTelephonyChannelCommand
|
|
414
|
+
*/
|
|
415
|
+
export declare const de_GetOrCreateTelephonyChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrCreateTelephonyChannelCommandOutput>;
|
|
416
|
+
/**
|
|
417
|
+
* deserializeAws_restJson1GetOrCreateWhatsAppChannelCommand
|
|
418
|
+
*/
|
|
419
|
+
export declare const de_GetOrCreateWhatsAppChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrCreateWhatsAppChannelCommandOutput>;
|
|
420
|
+
/**
|
|
421
|
+
* deserializeAws_restJson1GetSmsChannelIdCommand
|
|
422
|
+
*/
|
|
423
|
+
export declare const de_GetSmsChannelIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSmsChannelIdCommandOutput>;
|
|
424
|
+
/**
|
|
425
|
+
* deserializeAws_restJson1GetTelephonyChannelIdCommand
|
|
426
|
+
*/
|
|
427
|
+
export declare const de_GetTelephonyChannelIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTelephonyChannelIdCommandOutput>;
|
|
368
428
|
/**
|
|
369
429
|
* deserializeAws_restJson1GetTokenCommand
|
|
370
430
|
*/
|
|
@@ -373,6 +433,10 @@ export declare const de_GetTokenCommand: (output: __HttpResponse, context: __Ser
|
|
|
373
433
|
* deserializeAws_restJson1GetUploadedFileInfoCommand
|
|
374
434
|
*/
|
|
375
435
|
export declare const de_GetUploadedFileInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUploadedFileInfoCommandOutput>;
|
|
436
|
+
/**
|
|
437
|
+
* deserializeAws_restJson1GetWhatsAppChannelIdCommand
|
|
438
|
+
*/
|
|
439
|
+
export declare const de_GetWhatsAppChannelIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWhatsAppChannelIdCommandOutput>;
|
|
376
440
|
/**
|
|
377
441
|
* deserializeAws_restJson1HideChannelCommand
|
|
378
442
|
*/
|
|
@@ -393,6 +457,10 @@ export declare const de_LeaveChannelCommand: (output: __HttpResponse, context: _
|
|
|
393
457
|
* deserializeAws_restJson1ListChannelMembersCommand
|
|
394
458
|
*/
|
|
395
459
|
export declare const de_ListChannelMembersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelMembersCommandOutput>;
|
|
460
|
+
/**
|
|
461
|
+
* deserializeAws_restJson1ListChannelMembersReadStatusCommand
|
|
462
|
+
*/
|
|
463
|
+
export declare const de_ListChannelMembersReadStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelMembersReadStatusCommandOutput>;
|
|
396
464
|
/**
|
|
397
465
|
* deserializeAws_restJson1ListChannelsCommand
|
|
398
466
|
*/
|
|
@@ -465,6 +533,10 @@ export declare const de_SendMessageCommand: (output: __HttpResponse, context: __
|
|
|
465
533
|
* deserializeAws_restJson1SendMessageReactionCommand
|
|
466
534
|
*/
|
|
467
535
|
export declare const de_SendMessageReactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessageReactionCommandOutput>;
|
|
536
|
+
/**
|
|
537
|
+
* deserializeAws_restJson1SendTemplateMessageCommand
|
|
538
|
+
*/
|
|
539
|
+
export declare const de_SendTemplateMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendTemplateMessageCommandOutput>;
|
|
468
540
|
/**
|
|
469
541
|
* deserializeAws_restJson1SendTypingStartCommand
|
|
470
542
|
*/
|
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.
|
|
4
|
+
"version": "1.1.16",
|
|
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",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"module": "./dist-es/index.js",
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"dependencies": {
|
|
20
|
+
"tslib": "^2.6.2",
|
|
20
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
21
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
22
23
|
"@aws-sdk/core": "3.775.0",
|
|
@@ -49,16 +50,15 @@
|
|
|
49
50
|
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
50
51
|
"@smithy/util-retry": "^4.0.2",
|
|
51
52
|
"@smithy/util-utf8": "^4.0.0",
|
|
52
|
-
"@wildix/smithy-utils": "^1.0.3"
|
|
53
|
-
"tslib": "^2.6.2"
|
|
53
|
+
"@wildix/smithy-utils": "^1.0.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@tsconfig/node18": "18.2.4",
|
|
57
|
-
"@types/node": "^18.19.69",
|
|
58
57
|
"concurrently": "7.0.0",
|
|
59
58
|
"downlevel-dts": "0.10.1",
|
|
60
59
|
"rimraf": "^3.0.0",
|
|
61
|
-
"typescript": "~5.2.2"
|
|
60
|
+
"typescript": "~5.2.2",
|
|
61
|
+
"@types/node": "^18.19.69"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=18.0.0"
|