@wildix/xbees-conversations-client 1.1.17 → 1.1.19
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 +0 -2
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/models/models_0.js +19 -13
- package/dist-cjs/protocols/Aws_restJson1.js +10 -42
- package/dist-es/Conversations.js +0 -2
- package/dist-es/commands/index.js +0 -1
- package/dist-es/models/models_0.js +18 -12
- package/dist-es/protocols/Aws_restJson1.js +8 -38
- package/dist-types/Conversations.d.ts +0 -7
- package/dist-types/ConversationsClient.d.ts +2 -3
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +30 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +75 -20
- package/dist-types/commands/GetMessageCommand.d.ts +15 -4
- package/dist-types/commands/ListMessagesCommand.d.ts +15 -4
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +15 -4
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +31 -5
- package/dist-types/commands/SendGiphyCommand.d.ts +15 -4
- package/dist-types/commands/SendMessageCommand.d.ts +30 -4
- package/dist-types/commands/UpdateMessageCommand.d.ts +30 -4
- package/dist-types/commands/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +71 -76
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -9
- package/package.json +1 -1
- package/dist-cjs/commands/SendTemplateMessageCommand.js +0 -21
- package/dist-es/commands/SendTemplateMessageCommand.js +0 -17
- package/dist-types/commands/SendTemplateMessageCommand.d.ts +0 -365
|
@@ -488,6 +488,17 @@ declare const DescribeEventCommand_base: {
|
|
|
488
488
|
* // text: "STRING_VALUE",
|
|
489
489
|
* // elements: [ // ElementsList
|
|
490
490
|
* // { // Element Union: only one key present
|
|
491
|
+
* // template: { // MessageTemplateConfig
|
|
492
|
+
* // whatsapp: { // TemplateWithParameters
|
|
493
|
+
* // name: "STRING_VALUE", // required
|
|
494
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
495
|
+
* // { // TemplateParameter
|
|
496
|
+
* // name: "STRING_VALUE", // required
|
|
497
|
+
* // value: "STRING_VALUE", // required
|
|
498
|
+
* // },
|
|
499
|
+
* // ],
|
|
500
|
+
* // },
|
|
501
|
+
* // },
|
|
491
502
|
* // actions: [ // ActionsElementsList
|
|
492
503
|
* // { // ActionElement Union: only one key present
|
|
493
504
|
* // button: { // ButtonElement
|
|
@@ -568,6 +579,10 @@ declare const DescribeEventCommand_base: {
|
|
|
568
579
|
* // messageId: "STRING_VALUE", // required
|
|
569
580
|
* // channelId: "STRING_VALUE", // required
|
|
570
581
|
* // },
|
|
582
|
+
* // whatsapp: true || false,
|
|
583
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
584
|
+
* // sms: true || false,
|
|
585
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
571
586
|
* // type: "regular" || "system", // required
|
|
572
587
|
* // giphy: {
|
|
573
588
|
* // id: "STRING_VALUE", // required
|
|
@@ -578,10 +593,6 @@ declare const DescribeEventCommand_base: {
|
|
|
578
593
|
* // },
|
|
579
594
|
* // silent: true || false,
|
|
580
595
|
* // event: "STRING_VALUE",
|
|
581
|
-
* // sms: true || false,
|
|
582
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
583
|
-
* // whatsapp: true || false,
|
|
584
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
585
596
|
* // messageId: "STRING_VALUE", // required
|
|
586
597
|
* // channelId: "STRING_VALUE", // required
|
|
587
598
|
* // user: "<User>", // required
|
|
@@ -616,6 +627,17 @@ declare const DescribeEventCommand_base: {
|
|
|
616
627
|
* // text: "STRING_VALUE",
|
|
617
628
|
* // elements: [
|
|
618
629
|
* // {// Union: only one key present
|
|
630
|
+
* // template: {
|
|
631
|
+
* // whatsapp: {
|
|
632
|
+
* // name: "STRING_VALUE", // required
|
|
633
|
+
* // parameters: [ // required
|
|
634
|
+
* // {
|
|
635
|
+
* // name: "STRING_VALUE", // required
|
|
636
|
+
* // value: "STRING_VALUE", // required
|
|
637
|
+
* // },
|
|
638
|
+
* // ],
|
|
639
|
+
* // },
|
|
640
|
+
* // },
|
|
619
641
|
* // actions: [
|
|
620
642
|
* // {// Union: only one key present
|
|
621
643
|
* // button: {
|
|
@@ -694,6 +716,10 @@ declare const DescribeEventCommand_base: {
|
|
|
694
716
|
* // messageId: "STRING_VALUE", // required
|
|
695
717
|
* // channelId: "STRING_VALUE", // required
|
|
696
718
|
* // },
|
|
719
|
+
* // whatsapp: true || false,
|
|
720
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
721
|
+
* // sms: true || false,
|
|
722
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
697
723
|
* // type: "regular" || "system", // required
|
|
698
724
|
* // giphy: {
|
|
699
725
|
* // id: "STRING_VALUE", // required
|
|
@@ -704,10 +730,6 @@ declare const DescribeEventCommand_base: {
|
|
|
704
730
|
* // },
|
|
705
731
|
* // silent: true || false,
|
|
706
732
|
* // event: "STRING_VALUE",
|
|
707
|
-
* // sms: true || false,
|
|
708
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
709
|
-
* // whatsapp: true || false,
|
|
710
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
711
733
|
* // messageId: "STRING_VALUE", // required
|
|
712
734
|
* // channelId: "STRING_VALUE", // required
|
|
713
735
|
* // user: "<User>", // required
|
|
@@ -742,6 +764,17 @@ declare const DescribeEventCommand_base: {
|
|
|
742
764
|
* // text: "STRING_VALUE",
|
|
743
765
|
* // elements: [
|
|
744
766
|
* // {// Union: only one key present
|
|
767
|
+
* // template: {
|
|
768
|
+
* // whatsapp: {
|
|
769
|
+
* // name: "STRING_VALUE", // required
|
|
770
|
+
* // parameters: [ // required
|
|
771
|
+
* // {
|
|
772
|
+
* // name: "STRING_VALUE", // required
|
|
773
|
+
* // value: "STRING_VALUE", // required
|
|
774
|
+
* // },
|
|
775
|
+
* // ],
|
|
776
|
+
* // },
|
|
777
|
+
* // },
|
|
745
778
|
* // actions: [
|
|
746
779
|
* // {// Union: only one key present
|
|
747
780
|
* // button: {
|
|
@@ -802,14 +835,14 @@ declare const DescribeEventCommand_base: {
|
|
|
802
835
|
* // updatedAt: "STRING_VALUE",
|
|
803
836
|
* // },
|
|
804
837
|
* // forward: "<MessageForward>",
|
|
838
|
+
* // whatsapp: true || false,
|
|
839
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
840
|
+
* // sms: true || false,
|
|
841
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
805
842
|
* // type: "regular" || "system", // required
|
|
806
843
|
* // giphy: "<MessageGiphy>",
|
|
807
844
|
* // silent: true || false,
|
|
808
845
|
* // event: "STRING_VALUE",
|
|
809
|
-
* // sms: true || false,
|
|
810
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
811
|
-
* // whatsapp: true || false,
|
|
812
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
813
846
|
* // messageId: "STRING_VALUE", // required
|
|
814
847
|
* // channelId: "STRING_VALUE", // required
|
|
815
848
|
* // user: "<User>", // required
|
|
@@ -844,6 +877,17 @@ declare const DescribeEventCommand_base: {
|
|
|
844
877
|
* // text: "STRING_VALUE",
|
|
845
878
|
* // elements: [
|
|
846
879
|
* // {// Union: only one key present
|
|
880
|
+
* // template: {
|
|
881
|
+
* // whatsapp: {
|
|
882
|
+
* // name: "STRING_VALUE", // required
|
|
883
|
+
* // parameters: [ // required
|
|
884
|
+
* // {
|
|
885
|
+
* // name: "STRING_VALUE", // required
|
|
886
|
+
* // value: "STRING_VALUE", // required
|
|
887
|
+
* // },
|
|
888
|
+
* // ],
|
|
889
|
+
* // },
|
|
890
|
+
* // },
|
|
847
891
|
* // actions: [
|
|
848
892
|
* // {// Union: only one key present
|
|
849
893
|
* // button: {
|
|
@@ -880,14 +924,14 @@ declare const DescribeEventCommand_base: {
|
|
|
880
924
|
* // updatedAt: "STRING_VALUE",
|
|
881
925
|
* // },
|
|
882
926
|
* // forward: "<MessageForward>",
|
|
927
|
+
* // whatsapp: true || false,
|
|
928
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
929
|
+
* // sms: true || false,
|
|
930
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
883
931
|
* // type: "regular" || "system", // required
|
|
884
932
|
* // giphy: "<MessageGiphy>",
|
|
885
933
|
* // silent: true || false,
|
|
886
934
|
* // event: "STRING_VALUE",
|
|
887
|
-
* // sms: true || false,
|
|
888
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
889
|
-
* // whatsapp: true || false,
|
|
890
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
891
935
|
* // messageId: "STRING_VALUE", // required
|
|
892
936
|
* // channelId: "STRING_VALUE", // required
|
|
893
937
|
* // user: "<User>", // required
|
|
@@ -928,6 +972,17 @@ declare const DescribeEventCommand_base: {
|
|
|
928
972
|
* // text: "STRING_VALUE",
|
|
929
973
|
* // elements: [
|
|
930
974
|
* // {// Union: only one key present
|
|
975
|
+
* // template: {
|
|
976
|
+
* // whatsapp: {
|
|
977
|
+
* // name: "STRING_VALUE", // required
|
|
978
|
+
* // parameters: [ // required
|
|
979
|
+
* // {
|
|
980
|
+
* // name: "STRING_VALUE", // required
|
|
981
|
+
* // value: "STRING_VALUE", // required
|
|
982
|
+
* // },
|
|
983
|
+
* // ],
|
|
984
|
+
* // },
|
|
985
|
+
* // },
|
|
931
986
|
* // actions: [
|
|
932
987
|
* // {// Union: only one key present
|
|
933
988
|
* // button: {
|
|
@@ -964,14 +1019,14 @@ declare const DescribeEventCommand_base: {
|
|
|
964
1019
|
* // updatedAt: "STRING_VALUE",
|
|
965
1020
|
* // },
|
|
966
1021
|
* // forward: "<MessageForward>",
|
|
1022
|
+
* // whatsapp: true || false,
|
|
1023
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
1024
|
+
* // sms: true || false,
|
|
1025
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
967
1026
|
* // type: "regular" || "system", // required
|
|
968
1027
|
* // giphy: "<MessageGiphy>",
|
|
969
1028
|
* // silent: true || false,
|
|
970
1029
|
* // event: "STRING_VALUE",
|
|
971
|
-
* // sms: true || false,
|
|
972
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
973
|
-
* // whatsapp: true || false,
|
|
974
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
975
1030
|
* // messageId: "STRING_VALUE", // required
|
|
976
1031
|
* // channelId: "STRING_VALUE", // required
|
|
977
1032
|
* // user: "<User>", // required
|
|
@@ -45,6 +45,17 @@ declare const GetMessageCommand_base: {
|
|
|
45
45
|
* // text: "STRING_VALUE",
|
|
46
46
|
* // elements: [ // ElementsList
|
|
47
47
|
* // { // Element Union: only one key present
|
|
48
|
+
* // template: { // MessageTemplateConfig
|
|
49
|
+
* // whatsapp: { // TemplateWithParameters
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
52
|
+
* // { // TemplateParameter
|
|
53
|
+
* // name: "STRING_VALUE", // required
|
|
54
|
+
* // value: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
48
59
|
* // actions: [ // ActionsElementsList
|
|
49
60
|
* // { // ActionElement Union: only one key present
|
|
50
61
|
* // button: { // ButtonElement
|
|
@@ -159,6 +170,10 @@ declare const GetMessageCommand_base: {
|
|
|
159
170
|
* // messageId: "STRING_VALUE", // required
|
|
160
171
|
* // channelId: "STRING_VALUE", // required
|
|
161
172
|
* // },
|
|
173
|
+
* // whatsapp: true || false,
|
|
174
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
175
|
+
* // sms: true || false,
|
|
176
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
162
177
|
* // type: "regular" || "system", // required
|
|
163
178
|
* // giphy: {
|
|
164
179
|
* // id: "STRING_VALUE", // required
|
|
@@ -169,10 +184,6 @@ declare const GetMessageCommand_base: {
|
|
|
169
184
|
* // },
|
|
170
185
|
* // silent: true || false,
|
|
171
186
|
* // event: "STRING_VALUE",
|
|
172
|
-
* // sms: true || false,
|
|
173
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
174
|
-
* // whatsapp: true || false,
|
|
175
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
176
187
|
* // messageId: "STRING_VALUE", // required
|
|
177
188
|
* // channelId: "STRING_VALUE", // required
|
|
178
189
|
* // user: "<User>", // required
|
|
@@ -47,6 +47,17 @@ declare const ListMessagesCommand_base: {
|
|
|
47
47
|
* // text: "STRING_VALUE",
|
|
48
48
|
* // elements: [ // ElementsList
|
|
49
49
|
* // { // Element Union: only one key present
|
|
50
|
+
* // template: { // MessageTemplateConfig
|
|
51
|
+
* // whatsapp: { // TemplateWithParameters
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
54
|
+
* // { // TemplateParameter
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
50
61
|
* // actions: [ // ActionsElementsList
|
|
51
62
|
* // { // ActionElement Union: only one key present
|
|
52
63
|
* // button: { // ButtonElement
|
|
@@ -161,6 +172,10 @@ declare const ListMessagesCommand_base: {
|
|
|
161
172
|
* // messageId: "STRING_VALUE", // required
|
|
162
173
|
* // channelId: "STRING_VALUE", // required
|
|
163
174
|
* // },
|
|
175
|
+
* // whatsapp: true || false,
|
|
176
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
177
|
+
* // sms: true || false,
|
|
178
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
164
179
|
* // type: "regular" || "system", // required
|
|
165
180
|
* // giphy: {
|
|
166
181
|
* // id: "STRING_VALUE", // required
|
|
@@ -171,10 +186,6 @@ declare const ListMessagesCommand_base: {
|
|
|
171
186
|
* // },
|
|
172
187
|
* // silent: true || false,
|
|
173
188
|
* // event: "STRING_VALUE",
|
|
174
|
-
* // sms: true || false,
|
|
175
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
176
|
-
* // whatsapp: true || false,
|
|
177
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
178
189
|
* // messageId: "STRING_VALUE", // required
|
|
179
190
|
* // channelId: "STRING_VALUE", // required
|
|
180
191
|
* // user: "<User>", // required
|
|
@@ -47,6 +47,17 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
47
47
|
* // text: "STRING_VALUE",
|
|
48
48
|
* // elements: [ // ElementsList
|
|
49
49
|
* // { // Element Union: only one key present
|
|
50
|
+
* // template: { // MessageTemplateConfig
|
|
51
|
+
* // whatsapp: { // TemplateWithParameters
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
54
|
+
* // { // TemplateParameter
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
50
61
|
* // actions: [ // ActionsElementsList
|
|
51
62
|
* // { // ActionElement Union: only one key present
|
|
52
63
|
* // button: { // ButtonElement
|
|
@@ -161,6 +172,10 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
161
172
|
* // messageId: "STRING_VALUE", // required
|
|
162
173
|
* // channelId: "STRING_VALUE", // required
|
|
163
174
|
* // },
|
|
175
|
+
* // whatsapp: true || false,
|
|
176
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
177
|
+
* // sms: true || false,
|
|
178
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
164
179
|
* // type: "regular" || "system", // required
|
|
165
180
|
* // giphy: {
|
|
166
181
|
* // id: "STRING_VALUE", // required
|
|
@@ -171,10 +186,6 @@ declare const ListPinnedMessagesCommand_base: {
|
|
|
171
186
|
* // },
|
|
172
187
|
* // silent: true || false,
|
|
173
188
|
* // event: "STRING_VALUE",
|
|
174
|
-
* // sms: true || false,
|
|
175
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
176
|
-
* // whatsapp: true || false,
|
|
177
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
178
189
|
* // messageId: "STRING_VALUE", // required
|
|
179
190
|
* // channelId: "STRING_VALUE", // required
|
|
180
191
|
* // user: "<User>", // required
|
|
@@ -42,6 +42,17 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
42
42
|
* text: "STRING_VALUE",
|
|
43
43
|
* elements: [ // ElementsList
|
|
44
44
|
* { // Element Union: only one key present
|
|
45
|
+
* template: { // MessageTemplateConfig
|
|
46
|
+
* whatsapp: { // TemplateWithParameters
|
|
47
|
+
* name: "STRING_VALUE", // required
|
|
48
|
+
* parameters: [ // ListTemplateParameter // required
|
|
49
|
+
* { // TemplateParameter
|
|
50
|
+
* name: "STRING_VALUE", // required
|
|
51
|
+
* value: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
45
56
|
* actions: [ // ActionsElementsList
|
|
46
57
|
* { // ActionElement Union: only one key present
|
|
47
58
|
* button: { // ButtonElement
|
|
@@ -156,12 +167,16 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
156
167
|
* messageId: "STRING_VALUE", // required
|
|
157
168
|
* channelId: "STRING_VALUE", // required
|
|
158
169
|
* },
|
|
170
|
+
* whatsapp: true || false,
|
|
171
|
+
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
172
|
+
* sms: true || false,
|
|
173
|
+
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
159
174
|
* mentions: [ // UsersIdList
|
|
160
175
|
* "STRING_VALUE",
|
|
161
176
|
* ],
|
|
162
177
|
* },
|
|
163
178
|
* unset: [ // MessageUnsetFieldsList
|
|
164
|
-
* "text" || "mentions" || "elements" || "attachments" || "quote" || "forward",
|
|
179
|
+
* "text" || "mentions" || "elements" || "attachments" || "quote" || "forward" || "whatsapp" || "whatsappStatus" || "sms" || "smsStatus",
|
|
165
180
|
* ],
|
|
166
181
|
* silent: true || false,
|
|
167
182
|
* };
|
|
@@ -172,6 +187,17 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
172
187
|
* // text: "STRING_VALUE",
|
|
173
188
|
* // elements: [ // ElementsList
|
|
174
189
|
* // { // Element Union: only one key present
|
|
190
|
+
* // template: { // MessageTemplateConfig
|
|
191
|
+
* // whatsapp: { // TemplateWithParameters
|
|
192
|
+
* // name: "STRING_VALUE", // required
|
|
193
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
194
|
+
* // { // TemplateParameter
|
|
195
|
+
* // name: "STRING_VALUE", // required
|
|
196
|
+
* // value: "STRING_VALUE", // required
|
|
197
|
+
* // },
|
|
198
|
+
* // ],
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
175
201
|
* // actions: [ // ActionsElementsList
|
|
176
202
|
* // { // ActionElement Union: only one key present
|
|
177
203
|
* // button: { // ButtonElement
|
|
@@ -286,6 +312,10 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
286
312
|
* // messageId: "STRING_VALUE", // required
|
|
287
313
|
* // channelId: "STRING_VALUE", // required
|
|
288
314
|
* // },
|
|
315
|
+
* // whatsapp: true || false,
|
|
316
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
317
|
+
* // sms: true || false,
|
|
318
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
289
319
|
* // type: "regular" || "system", // required
|
|
290
320
|
* // giphy: {
|
|
291
321
|
* // id: "STRING_VALUE", // required
|
|
@@ -296,10 +326,6 @@ declare const PartialUpdateMessageCommand_base: {
|
|
|
296
326
|
* // },
|
|
297
327
|
* // silent: true || false,
|
|
298
328
|
* // event: "STRING_VALUE",
|
|
299
|
-
* // sms: true || false,
|
|
300
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
301
|
-
* // whatsapp: true || false,
|
|
302
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
303
329
|
* // messageId: "STRING_VALUE", // required
|
|
304
330
|
* // channelId: "STRING_VALUE", // required
|
|
305
331
|
* // user: "<User>", // required
|
|
@@ -53,6 +53,17 @@ declare const SendGiphyCommand_base: {
|
|
|
53
53
|
* // text: "STRING_VALUE",
|
|
54
54
|
* // elements: [ // ElementsList
|
|
55
55
|
* // { // Element Union: only one key present
|
|
56
|
+
* // template: { // MessageTemplateConfig
|
|
57
|
+
* // whatsapp: { // TemplateWithParameters
|
|
58
|
+
* // name: "STRING_VALUE", // required
|
|
59
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
60
|
+
* // { // TemplateParameter
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // value: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
56
67
|
* // actions: [ // ActionsElementsList
|
|
57
68
|
* // { // ActionElement Union: only one key present
|
|
58
69
|
* // button: { // ButtonElement
|
|
@@ -167,6 +178,10 @@ declare const SendGiphyCommand_base: {
|
|
|
167
178
|
* // messageId: "STRING_VALUE", // required
|
|
168
179
|
* // channelId: "STRING_VALUE", // required
|
|
169
180
|
* // },
|
|
181
|
+
* // whatsapp: true || false,
|
|
182
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
183
|
+
* // sms: true || false,
|
|
184
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
170
185
|
* // type: "regular" || "system", // required
|
|
171
186
|
* // giphy: {
|
|
172
187
|
* // id: "STRING_VALUE", // required
|
|
@@ -177,10 +192,6 @@ declare const SendGiphyCommand_base: {
|
|
|
177
192
|
* // },
|
|
178
193
|
* // silent: true || false,
|
|
179
194
|
* // event: "STRING_VALUE",
|
|
180
|
-
* // sms: true || false,
|
|
181
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
182
|
-
* // whatsapp: true || false,
|
|
183
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
184
195
|
* // messageId: "STRING_VALUE", // required
|
|
185
196
|
* // channelId: "STRING_VALUE", // required
|
|
186
197
|
* // user: "<User>", // required
|
|
@@ -38,6 +38,17 @@ declare const SendMessageCommand_base: {
|
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
39
|
* elements: [ // ElementsList
|
|
40
40
|
* { // Element Union: only one key present
|
|
41
|
+
* template: { // MessageTemplateConfig
|
|
42
|
+
* whatsapp: { // TemplateWithParameters
|
|
43
|
+
* name: "STRING_VALUE", // required
|
|
44
|
+
* parameters: [ // ListTemplateParameter // required
|
|
45
|
+
* { // TemplateParameter
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
41
52
|
* actions: [ // ActionsElementsList
|
|
42
53
|
* { // ActionElement Union: only one key present
|
|
43
54
|
* button: { // ButtonElement
|
|
@@ -152,6 +163,10 @@ declare const SendMessageCommand_base: {
|
|
|
152
163
|
* messageId: "STRING_VALUE", // required
|
|
153
164
|
* channelId: "STRING_VALUE", // required
|
|
154
165
|
* },
|
|
166
|
+
* whatsapp: true || false,
|
|
167
|
+
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
168
|
+
* sms: true || false,
|
|
169
|
+
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
155
170
|
* messageId: "STRING_VALUE",
|
|
156
171
|
* mentions: [ // UsersIdList
|
|
157
172
|
* "STRING_VALUE",
|
|
@@ -166,6 +181,17 @@ declare const SendMessageCommand_base: {
|
|
|
166
181
|
* // text: "STRING_VALUE",
|
|
167
182
|
* // elements: [ // ElementsList
|
|
168
183
|
* // { // Element Union: only one key present
|
|
184
|
+
* // template: { // MessageTemplateConfig
|
|
185
|
+
* // whatsapp: { // TemplateWithParameters
|
|
186
|
+
* // name: "STRING_VALUE", // required
|
|
187
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
188
|
+
* // { // TemplateParameter
|
|
189
|
+
* // name: "STRING_VALUE", // required
|
|
190
|
+
* // value: "STRING_VALUE", // required
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
169
195
|
* // actions: [ // ActionsElementsList
|
|
170
196
|
* // { // ActionElement Union: only one key present
|
|
171
197
|
* // button: { // ButtonElement
|
|
@@ -280,6 +306,10 @@ declare const SendMessageCommand_base: {
|
|
|
280
306
|
* // messageId: "STRING_VALUE", // required
|
|
281
307
|
* // channelId: "STRING_VALUE", // required
|
|
282
308
|
* // },
|
|
309
|
+
* // whatsapp: true || false,
|
|
310
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
311
|
+
* // sms: true || false,
|
|
312
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
283
313
|
* // type: "regular" || "system", // required
|
|
284
314
|
* // giphy: {
|
|
285
315
|
* // id: "STRING_VALUE", // required
|
|
@@ -290,10 +320,6 @@ declare const SendMessageCommand_base: {
|
|
|
290
320
|
* // },
|
|
291
321
|
* // silent: true || false,
|
|
292
322
|
* // event: "STRING_VALUE",
|
|
293
|
-
* // sms: true || false,
|
|
294
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
295
|
-
* // whatsapp: true || false,
|
|
296
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
297
323
|
* // messageId: "STRING_VALUE", // required
|
|
298
324
|
* // channelId: "STRING_VALUE", // required
|
|
299
325
|
* // user: "<User>", // required
|
|
@@ -38,6 +38,17 @@ declare const UpdateMessageCommand_base: {
|
|
|
38
38
|
* text: "STRING_VALUE",
|
|
39
39
|
* elements: [ // ElementsList
|
|
40
40
|
* { // Element Union: only one key present
|
|
41
|
+
* template: { // MessageTemplateConfig
|
|
42
|
+
* whatsapp: { // TemplateWithParameters
|
|
43
|
+
* name: "STRING_VALUE", // required
|
|
44
|
+
* parameters: [ // ListTemplateParameter // required
|
|
45
|
+
* { // TemplateParameter
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* value: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
41
52
|
* actions: [ // ActionsElementsList
|
|
42
53
|
* { // ActionElement Union: only one key present
|
|
43
54
|
* button: { // ButtonElement
|
|
@@ -152,6 +163,10 @@ declare const UpdateMessageCommand_base: {
|
|
|
152
163
|
* messageId: "STRING_VALUE", // required
|
|
153
164
|
* channelId: "STRING_VALUE", // required
|
|
154
165
|
* },
|
|
166
|
+
* whatsapp: true || false,
|
|
167
|
+
* whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
168
|
+
* sms: true || false,
|
|
169
|
+
* smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
155
170
|
* messageId: "STRING_VALUE", // required
|
|
156
171
|
* mentions: [ // UsersIdList
|
|
157
172
|
* "STRING_VALUE",
|
|
@@ -167,6 +182,17 @@ declare const UpdateMessageCommand_base: {
|
|
|
167
182
|
* // text: "STRING_VALUE",
|
|
168
183
|
* // elements: [ // ElementsList
|
|
169
184
|
* // { // Element Union: only one key present
|
|
185
|
+
* // template: { // MessageTemplateConfig
|
|
186
|
+
* // whatsapp: { // TemplateWithParameters
|
|
187
|
+
* // name: "STRING_VALUE", // required
|
|
188
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
189
|
+
* // { // TemplateParameter
|
|
190
|
+
* // name: "STRING_VALUE", // required
|
|
191
|
+
* // value: "STRING_VALUE", // required
|
|
192
|
+
* // },
|
|
193
|
+
* // ],
|
|
194
|
+
* // },
|
|
195
|
+
* // },
|
|
170
196
|
* // actions: [ // ActionsElementsList
|
|
171
197
|
* // { // ActionElement Union: only one key present
|
|
172
198
|
* // button: { // ButtonElement
|
|
@@ -281,6 +307,10 @@ declare const UpdateMessageCommand_base: {
|
|
|
281
307
|
* // messageId: "STRING_VALUE", // required
|
|
282
308
|
* // channelId: "STRING_VALUE", // required
|
|
283
309
|
* // },
|
|
310
|
+
* // whatsapp: true || false,
|
|
311
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
312
|
+
* // sms: true || false,
|
|
313
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
284
314
|
* // type: "regular" || "system", // required
|
|
285
315
|
* // giphy: {
|
|
286
316
|
* // id: "STRING_VALUE", // required
|
|
@@ -291,10 +321,6 @@ declare const UpdateMessageCommand_base: {
|
|
|
291
321
|
* // },
|
|
292
322
|
* // silent: true || false,
|
|
293
323
|
* // event: "STRING_VALUE",
|
|
294
|
-
* // sms: true || false,
|
|
295
|
-
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
296
|
-
* // whatsapp: true || false,
|
|
297
|
-
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
298
324
|
* // messageId: "STRING_VALUE", // required
|
|
299
325
|
* // channelId: "STRING_VALUE", // required
|
|
300
326
|
* // user: "<User>", // required
|
|
@@ -50,7 +50,6 @@ export * from "./SendActionTriggerResultCommand";
|
|
|
50
50
|
export * from "./SendGiphyCommand";
|
|
51
51
|
export * from "./SendMessageCommand";
|
|
52
52
|
export * from "./SendMessageReactionCommand";
|
|
53
|
-
export * from "./SendTemplateMessageCommand";
|
|
54
53
|
export * from "./SendTypingStartCommand";
|
|
55
54
|
export * from "./SendTypingStopCommand";
|
|
56
55
|
export * from "./ShowChannelCommand";
|