@wildix/xbees-conversations-client 1.1.3 → 1.1.5
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-types/commands/CreateKiteChannelCommand.d.ts +4 -4
- package/dist-types/commands/DescribeEventCommand.d.ts +10 -10
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +3 -1
- package/dist-types/commands/GetMessageCommand.d.ts +2 -2
- package/dist-types/commands/ListMessagesCommand.d.ts +2 -2
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -2
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -4
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +3 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +2 -2
- package/dist-types/commands/SendMessageCommand.d.ts +4 -4
- package/dist-types/commands/UpdateMessageCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +2 -1
- package/package.json +1 -1
|
@@ -48,8 +48,6 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
48
48
|
* { // ActionElement Union: only one key present
|
|
49
49
|
* button: { // ButtonElement
|
|
50
50
|
* text: "STRING_VALUE", // required
|
|
51
|
-
* variant: "contained" || "outlined",
|
|
52
|
-
* disabled: true || false,
|
|
53
51
|
* handler: { // ButtonHandler Union: only one key present
|
|
54
52
|
* link: { // ButtonLinkHandler
|
|
55
53
|
* url: "STRING_VALUE", // required
|
|
@@ -61,6 +59,8 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
61
59
|
* id: "STRING_VALUE", // required
|
|
62
60
|
* },
|
|
63
61
|
* },
|
|
62
|
+
* variant: "contained" || "outlined",
|
|
63
|
+
* disabled: true || false,
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
@@ -173,8 +173,6 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
173
173
|
* {// Union: only one key present
|
|
174
174
|
* button: {
|
|
175
175
|
* text: "STRING_VALUE", // required
|
|
176
|
-
* variant: "contained" || "outlined",
|
|
177
|
-
* disabled: true || false,
|
|
178
176
|
* handler: {// Union: only one key present
|
|
179
177
|
* link: {
|
|
180
178
|
* url: "STRING_VALUE", // required
|
|
@@ -186,6 +184,8 @@ declare const CreateKiteChannelCommand_base: {
|
|
|
186
184
|
* id: "STRING_VALUE", // required
|
|
187
185
|
* },
|
|
188
186
|
* },
|
|
187
|
+
* variant: "contained" || "outlined",
|
|
188
|
+
* disabled: true || false,
|
|
189
189
|
* },
|
|
190
190
|
* },
|
|
191
191
|
* ],
|
|
@@ -477,8 +477,6 @@ declare const DescribeEventCommand_base: {
|
|
|
477
477
|
* // { // ActionElement Union: only one key present
|
|
478
478
|
* // button: { // ButtonElement
|
|
479
479
|
* // text: "STRING_VALUE", // required
|
|
480
|
-
* // variant: "contained" || "outlined",
|
|
481
|
-
* // disabled: true || false,
|
|
482
480
|
* // handler: { // ButtonHandler Union: only one key present
|
|
483
481
|
* // link: { // ButtonLinkHandler
|
|
484
482
|
* // url: "STRING_VALUE", // required
|
|
@@ -490,6 +488,8 @@ declare const DescribeEventCommand_base: {
|
|
|
490
488
|
* // id: "STRING_VALUE", // required
|
|
491
489
|
* // },
|
|
492
490
|
* // },
|
|
491
|
+
* // variant: "contained" || "outlined",
|
|
492
|
+
* // disabled: true || false,
|
|
493
493
|
* // },
|
|
494
494
|
* // },
|
|
495
495
|
* // ],
|
|
@@ -605,8 +605,6 @@ declare const DescribeEventCommand_base: {
|
|
|
605
605
|
* // {// Union: only one key present
|
|
606
606
|
* // button: {
|
|
607
607
|
* // text: "STRING_VALUE", // required
|
|
608
|
-
* // variant: "contained" || "outlined",
|
|
609
|
-
* // disabled: true || false,
|
|
610
608
|
* // handler: {// Union: only one key present
|
|
611
609
|
* // link: {
|
|
612
610
|
* // url: "STRING_VALUE", // required
|
|
@@ -618,6 +616,8 @@ declare const DescribeEventCommand_base: {
|
|
|
618
616
|
* // id: "STRING_VALUE", // required
|
|
619
617
|
* // },
|
|
620
618
|
* // },
|
|
619
|
+
* // variant: "contained" || "outlined",
|
|
620
|
+
* // disabled: true || false,
|
|
621
621
|
* // },
|
|
622
622
|
* // },
|
|
623
623
|
* // ],
|
|
@@ -731,8 +731,6 @@ declare const DescribeEventCommand_base: {
|
|
|
731
731
|
* // {// Union: only one key present
|
|
732
732
|
* // button: {
|
|
733
733
|
* // text: "STRING_VALUE", // required
|
|
734
|
-
* // variant: "contained" || "outlined",
|
|
735
|
-
* // disabled: true || false,
|
|
736
734
|
* // handler: {// Union: only one key present
|
|
737
735
|
* // link: {
|
|
738
736
|
* // url: "STRING_VALUE", // required
|
|
@@ -744,6 +742,8 @@ declare const DescribeEventCommand_base: {
|
|
|
744
742
|
* // id: "STRING_VALUE", // required
|
|
745
743
|
* // },
|
|
746
744
|
* // },
|
|
745
|
+
* // variant: "contained" || "outlined",
|
|
746
|
+
* // disabled: true || false,
|
|
747
747
|
* // },
|
|
748
748
|
* // },
|
|
749
749
|
* // ],
|
|
@@ -833,8 +833,6 @@ declare const DescribeEventCommand_base: {
|
|
|
833
833
|
* // {// Union: only one key present
|
|
834
834
|
* // button: {
|
|
835
835
|
* // text: "STRING_VALUE", // required
|
|
836
|
-
* // variant: "contained" || "outlined",
|
|
837
|
-
* // disabled: true || false,
|
|
838
836
|
* // handler: {// Union: only one key present
|
|
839
837
|
* // link: {
|
|
840
838
|
* // url: "STRING_VALUE", // required
|
|
@@ -846,6 +844,8 @@ declare const DescribeEventCommand_base: {
|
|
|
846
844
|
* // id: "STRING_VALUE", // required
|
|
847
845
|
* // },
|
|
848
846
|
* // },
|
|
847
|
+
* // variant: "contained" || "outlined",
|
|
848
|
+
* // disabled: true || false,
|
|
849
849
|
* // },
|
|
850
850
|
* // },
|
|
851
851
|
* // ],
|
|
@@ -917,8 +917,6 @@ declare const DescribeEventCommand_base: {
|
|
|
917
917
|
* // {// Union: only one key present
|
|
918
918
|
* // button: {
|
|
919
919
|
* // text: "STRING_VALUE", // required
|
|
920
|
-
* // variant: "contained" || "outlined",
|
|
921
|
-
* // disabled: true || false,
|
|
922
920
|
* // handler: {// Union: only one key present
|
|
923
921
|
* // link: {
|
|
924
922
|
* // url: "STRING_VALUE", // required
|
|
@@ -930,6 +928,8 @@ declare const DescribeEventCommand_base: {
|
|
|
930
928
|
* // id: "STRING_VALUE", // required
|
|
931
929
|
* // },
|
|
932
930
|
* // },
|
|
931
|
+
* // variant: "contained" || "outlined",
|
|
932
|
+
* // disabled: true || false,
|
|
933
933
|
* // },
|
|
934
934
|
* // },
|
|
935
935
|
* // ],
|
|
@@ -42,7 +42,9 @@ declare const GetActionTriggerResultCommand_base: {
|
|
|
42
42
|
* const response = await client.send(command);
|
|
43
43
|
* // { // GetActionTriggerResultOutput
|
|
44
44
|
* // status: "completed" || "pending", // required
|
|
45
|
-
* // result: {
|
|
45
|
+
* // result: { // ActionTriggerResult
|
|
46
|
+
* // url: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
46
48
|
* // };
|
|
47
49
|
*
|
|
48
50
|
* ```
|
|
@@ -49,8 +49,6 @@ declare const GetMessageCommand_base: {
|
|
|
49
49
|
* // { // ActionElement Union: only one key present
|
|
50
50
|
* // button: { // ButtonElement
|
|
51
51
|
* // text: "STRING_VALUE", // required
|
|
52
|
-
* // variant: "contained" || "outlined",
|
|
53
|
-
* // disabled: true || false,
|
|
54
52
|
* // handler: { // ButtonHandler Union: only one key present
|
|
55
53
|
* // link: { // ButtonLinkHandler
|
|
56
54
|
* // url: "STRING_VALUE", // required
|
|
@@ -62,6 +60,8 @@ declare const GetMessageCommand_base: {
|
|
|
62
60
|
* // id: "STRING_VALUE", // required
|
|
63
61
|
* // },
|
|
64
62
|
* // },
|
|
63
|
+
* // variant: "contained" || "outlined",
|
|
64
|
+
* // disabled: true || false,
|
|
65
65
|
* // },
|
|
66
66
|
* // },
|
|
67
67
|
* // ],
|
|
@@ -51,8 +51,6 @@ declare const ListMessagesCommand_base: {
|
|
|
51
51
|
* // { // ActionElement Union: only one key present
|
|
52
52
|
* // button: { // ButtonElement
|
|
53
53
|
* // text: "STRING_VALUE", // required
|
|
54
|
-
* // variant: "contained" || "outlined",
|
|
55
|
-
* // disabled: true || false,
|
|
56
54
|
* // handler: { // ButtonHandler Union: only one key present
|
|
57
55
|
* // link: { // ButtonLinkHandler
|
|
58
56
|
* // url: "STRING_VALUE", // required
|
|
@@ -64,6 +62,8 @@ declare const ListMessagesCommand_base: {
|
|
|
64
62
|
* // id: "STRING_VALUE", // required
|
|
65
63
|
* // },
|
|
66
64
|
* // },
|
|
65
|
+
* // variant: "contained" || "outlined",
|
|
66
|
+
* // disabled: true || false,
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
@@ -51,8 +51,6 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
51
51
|
* // { // ActionElement Union: only one key present
|
|
52
52
|
* // button: { // ButtonElement
|
|
53
53
|
* // text: "STRING_VALUE", // required
|
|
54
|
-
* // variant: "contained" || "outlined",
|
|
55
|
-
* // disabled: true || false,
|
|
56
54
|
* // handler: { // ButtonHandler Union: only one key present
|
|
57
55
|
* // link: { // ButtonLinkHandler
|
|
58
56
|
* // url: "STRING_VALUE", // required
|
|
@@ -64,6 +62,8 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
64
62
|
* // id: "STRING_VALUE", // required
|
|
65
63
|
* // },
|
|
66
64
|
* // },
|
|
65
|
+
* // variant: "contained" || "outlined",
|
|
66
|
+
* // disabled: true || false,
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
@@ -46,8 +46,6 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
46
46
|
* { // ActionElement Union: only one key present
|
|
47
47
|
* button: { // ButtonElement
|
|
48
48
|
* text: "STRING_VALUE", // required
|
|
49
|
-
* variant: "contained" || "outlined",
|
|
50
|
-
* disabled: true || false,
|
|
51
49
|
* handler: { // ButtonHandler Union: only one key present
|
|
52
50
|
* link: { // ButtonLinkHandler
|
|
53
51
|
* url: "STRING_VALUE", // required
|
|
@@ -59,6 +57,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
59
57
|
* id: "STRING_VALUE", // required
|
|
60
58
|
* },
|
|
61
59
|
* },
|
|
60
|
+
* variant: "contained" || "outlined",
|
|
61
|
+
* disabled: true || false,
|
|
62
62
|
* },
|
|
63
63
|
* },
|
|
64
64
|
* ],
|
|
@@ -176,8 +176,6 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
176
176
|
* // { // ActionElement Union: only one key present
|
|
177
177
|
* // button: { // ButtonElement
|
|
178
178
|
* // text: "STRING_VALUE", // required
|
|
179
|
-
* // variant: "contained" || "outlined",
|
|
180
|
-
* // disabled: true || false,
|
|
181
179
|
* // handler: { // ButtonHandler Union: only one key present
|
|
182
180
|
* // link: { // ButtonLinkHandler
|
|
183
181
|
* // url: "STRING_VALUE", // required
|
|
@@ -189,6 +187,8 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
189
187
|
* // id: "STRING_VALUE", // required
|
|
190
188
|
* // },
|
|
191
189
|
* // },
|
|
190
|
+
* // variant: "contained" || "outlined",
|
|
191
|
+
* // disabled: true || false,
|
|
192
192
|
* // },
|
|
193
193
|
* // },
|
|
194
194
|
* // ],
|
|
@@ -37,7 +37,9 @@ declare const SendActionTriggerResultCommand_base: {
|
|
|
37
37
|
* const input = { // SendActionTriggerResultInput
|
|
38
38
|
* triggerId: "STRING_VALUE", // required
|
|
39
39
|
* status: "completed" || "pending", // required
|
|
40
|
-
* result: {
|
|
40
|
+
* result: { // ActionTriggerResult
|
|
41
|
+
* url: "STRING_VALUE",
|
|
42
|
+
* },
|
|
41
43
|
* };
|
|
42
44
|
* const command = new SendActionTriggerResultCommand(input);
|
|
43
45
|
* const response = await client.send(command);
|
|
@@ -57,8 +57,6 @@ declare const SendGiphyCommand_base: {
|
|
|
57
57
|
* // { // ActionElement Union: only one key present
|
|
58
58
|
* // button: { // ButtonElement
|
|
59
59
|
* // text: "STRING_VALUE", // required
|
|
60
|
-
* // variant: "contained" || "outlined",
|
|
61
|
-
* // disabled: true || false,
|
|
62
60
|
* // handler: { // ButtonHandler Union: only one key present
|
|
63
61
|
* // link: { // ButtonLinkHandler
|
|
64
62
|
* // url: "STRING_VALUE", // required
|
|
@@ -70,6 +68,8 @@ declare const SendGiphyCommand_base: {
|
|
|
70
68
|
* // id: "STRING_VALUE", // required
|
|
71
69
|
* // },
|
|
72
70
|
* // },
|
|
71
|
+
* // variant: "contained" || "outlined",
|
|
72
|
+
* // disabled: true || false,
|
|
73
73
|
* // },
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
@@ -42,8 +42,6 @@ declare const SendMessageCommand_base: {
|
|
|
42
42
|
* { // ActionElement Union: only one key present
|
|
43
43
|
* button: { // ButtonElement
|
|
44
44
|
* text: "STRING_VALUE", // required
|
|
45
|
-
* variant: "contained" || "outlined",
|
|
46
|
-
* disabled: true || false,
|
|
47
45
|
* handler: { // ButtonHandler Union: only one key present
|
|
48
46
|
* link: { // ButtonLinkHandler
|
|
49
47
|
* url: "STRING_VALUE", // required
|
|
@@ -55,6 +53,8 @@ declare const SendMessageCommand_base: {
|
|
|
55
53
|
* id: "STRING_VALUE", // required
|
|
56
54
|
* },
|
|
57
55
|
* },
|
|
56
|
+
* variant: "contained" || "outlined",
|
|
57
|
+
* disabled: true || false,
|
|
58
58
|
* },
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
@@ -170,8 +170,6 @@ declare const SendMessageCommand_base: {
|
|
|
170
170
|
* // { // ActionElement Union: only one key present
|
|
171
171
|
* // button: { // ButtonElement
|
|
172
172
|
* // text: "STRING_VALUE", // required
|
|
173
|
-
* // variant: "contained" || "outlined",
|
|
174
|
-
* // disabled: true || false,
|
|
175
173
|
* // handler: { // ButtonHandler Union: only one key present
|
|
176
174
|
* // link: { // ButtonLinkHandler
|
|
177
175
|
* // url: "STRING_VALUE", // required
|
|
@@ -183,6 +181,8 @@ declare const SendMessageCommand_base: {
|
|
|
183
181
|
* // id: "STRING_VALUE", // required
|
|
184
182
|
* // },
|
|
185
183
|
* // },
|
|
184
|
+
* // variant: "contained" || "outlined",
|
|
185
|
+
* // disabled: true || false,
|
|
186
186
|
* // },
|
|
187
187
|
* // },
|
|
188
188
|
* // ],
|
|
@@ -42,8 +42,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
42
42
|
* { // ActionElement Union: only one key present
|
|
43
43
|
* button: { // ButtonElement
|
|
44
44
|
* text: "STRING_VALUE", // required
|
|
45
|
-
* variant: "contained" || "outlined",
|
|
46
|
-
* disabled: true || false,
|
|
47
45
|
* handler: { // ButtonHandler Union: only one key present
|
|
48
46
|
* link: { // ButtonLinkHandler
|
|
49
47
|
* url: "STRING_VALUE", // required
|
|
@@ -55,6 +53,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
55
53
|
* id: "STRING_VALUE", // required
|
|
56
54
|
* },
|
|
57
55
|
* },
|
|
56
|
+
* variant: "contained" || "outlined",
|
|
57
|
+
* disabled: true || false,
|
|
58
58
|
* },
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
@@ -171,8 +171,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
171
171
|
* // { // ActionElement Union: only one key present
|
|
172
172
|
* // button: { // ButtonElement
|
|
173
173
|
* // text: "STRING_VALUE", // required
|
|
174
|
-
* // variant: "contained" || "outlined",
|
|
175
|
-
* // disabled: true || false,
|
|
176
174
|
* // handler: { // ButtonHandler Union: only one key present
|
|
177
175
|
* // link: { // ButtonLinkHandler
|
|
178
176
|
* // url: "STRING_VALUE", // required
|
|
@@ -184,6 +182,8 @@ declare const UpdateMessageCommand_base: {
|
|
|
184
182
|
* // id: "STRING_VALUE", // required
|
|
185
183
|
* // },
|
|
186
184
|
* // },
|
|
185
|
+
* // variant: "contained" || "outlined",
|
|
186
|
+
* // disabled: true || false,
|
|
187
187
|
* // },
|
|
188
188
|
* // },
|
|
189
189
|
* // ],
|
|
@@ -192,9 +192,9 @@ export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];
|
|
|
192
192
|
*/
|
|
193
193
|
export interface ButtonElement {
|
|
194
194
|
text: string;
|
|
195
|
+
handler: ButtonHandler;
|
|
195
196
|
variant?: ButtonVariant;
|
|
196
197
|
disabled?: boolean;
|
|
197
|
-
handler?: ButtonHandler;
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* @public
|
|
@@ -225,6 +225,7 @@ export declare namespace ActionElement {
|
|
|
225
225
|
* @public
|
|
226
226
|
*/
|
|
227
227
|
export interface ActionTriggerResult {
|
|
228
|
+
url?: string;
|
|
228
229
|
}
|
|
229
230
|
/**
|
|
230
231
|
* @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.
|
|
4
|
+
"version": "1.1.5",
|
|
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",
|