@wildix/xbees-conversations-client 1.0.58 → 1.0.60
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 +6 -0
- package/dist-cjs/commands/GetActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/SendActionTriggerResultCommand.js +21 -0
- package/dist-cjs/commands/TriggerMessageActionCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +74 -1
- package/dist-cjs/protocols/Aws_restJson1.js +135 -2
- package/dist-es/Conversations.js +6 -0
- package/dist-es/commands/GetActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/SendActionTriggerResultCommand.js +17 -0
- package/dist-es/commands/TriggerMessageActionCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +71 -0
- package/dist-es/protocols/Aws_restJson1.js +128 -1
- package/dist-types/Conversations.d.ts +21 -0
- package/dist-types/ConversationsClient.d.ts +5 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +259 -9
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +70 -0
- package/dist-types/commands/GetMessageCommand.d.ts +84 -19
- package/dist-types/commands/ListMessagesCommand.d.ts +84 -19
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +168 -38
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +68 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +84 -19
- package/dist-types/commands/SendMessageCommand.d.ts +168 -38
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +227 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +168 -38
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +387 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +2 -2
|
@@ -42,7 +42,7 @@ declare const DescribeEventCommand_base: {
|
|
|
42
42
|
* // WebhookChatChannelCreatedEvent: { // WebhookChatChannelCreatedEvent
|
|
43
43
|
* // id: "STRING_VALUE", // required
|
|
44
44
|
* // company: "STRING_VALUE", // required
|
|
45
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
45
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
46
46
|
* // time: Number("long"), // required
|
|
47
47
|
* // integrationId: "STRING_VALUE",
|
|
48
48
|
* // botId: "STRING_VALUE",
|
|
@@ -147,7 +147,7 @@ declare const DescribeEventCommand_base: {
|
|
|
147
147
|
* // WebhookChatChannelUpdatedEvent: { // WebhookChatChannelUpdatedEvent
|
|
148
148
|
* // id: "STRING_VALUE", // required
|
|
149
149
|
* // company: "STRING_VALUE", // required
|
|
150
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
150
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
151
151
|
* // time: Number("long"), // required
|
|
152
152
|
* // integrationId: "STRING_VALUE",
|
|
153
153
|
* // botId: "STRING_VALUE",
|
|
@@ -252,7 +252,7 @@ declare const DescribeEventCommand_base: {
|
|
|
252
252
|
* // WebhookChatMemberAddedEvent: { // WebhookChatMemberAddedEvent
|
|
253
253
|
* // id: "STRING_VALUE", // required
|
|
254
254
|
* // company: "STRING_VALUE", // required
|
|
255
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
255
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
256
256
|
* // time: Number("long"), // required
|
|
257
257
|
* // integrationId: "STRING_VALUE",
|
|
258
258
|
* // botId: "STRING_VALUE",
|
|
@@ -336,7 +336,7 @@ declare const DescribeEventCommand_base: {
|
|
|
336
336
|
* // WebhookChatMemberRemovedEvent: { // WebhookChatMemberRemovedEvent
|
|
337
337
|
* // id: "STRING_VALUE", // required
|
|
338
338
|
* // company: "STRING_VALUE", // required
|
|
339
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
339
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
340
340
|
* // time: Number("long"), // required
|
|
341
341
|
* // integrationId: "STRING_VALUE",
|
|
342
342
|
* // botId: "STRING_VALUE",
|
|
@@ -403,7 +403,7 @@ declare const DescribeEventCommand_base: {
|
|
|
403
403
|
* // WebhookChatMessageNewEvent: { // WebhookChatMessageNewEvent
|
|
404
404
|
* // id: "STRING_VALUE", // required
|
|
405
405
|
* // company: "STRING_VALUE", // required
|
|
406
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
406
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
407
407
|
* // time: Number("long"), // required
|
|
408
408
|
* // integrationId: "STRING_VALUE",
|
|
409
409
|
* // botId: "STRING_VALUE",
|
|
@@ -471,6 +471,71 @@ declare const DescribeEventCommand_base: {
|
|
|
471
471
|
* // ],
|
|
472
472
|
* // message: { // Message
|
|
473
473
|
* // text: "STRING_VALUE",
|
|
474
|
+
* // elements: [ // ElementsList
|
|
475
|
+
* // { // Element Union: only one key present
|
|
476
|
+
* // text: { // TextElement
|
|
477
|
+
* // value: "STRING_VALUE", // required
|
|
478
|
+
* // style: { // TextStyle
|
|
479
|
+
* // italic: true || false,
|
|
480
|
+
* // bold: true || false,
|
|
481
|
+
* // strike: true || false,
|
|
482
|
+
* // code: true || false,
|
|
483
|
+
* // },
|
|
484
|
+
* // },
|
|
485
|
+
* // link: { // LinkElement
|
|
486
|
+
* // url: "STRING_VALUE", // required
|
|
487
|
+
* // text: "STRING_VALUE",
|
|
488
|
+
* // style: {
|
|
489
|
+
* // italic: true || false,
|
|
490
|
+
* // bold: true || false,
|
|
491
|
+
* // strike: true || false,
|
|
492
|
+
* // code: true || false,
|
|
493
|
+
* // },
|
|
494
|
+
* // },
|
|
495
|
+
* // email: { // EmailElement
|
|
496
|
+
* // value: "STRING_VALUE", // required
|
|
497
|
+
* // style: {
|
|
498
|
+
* // italic: true || false,
|
|
499
|
+
* // bold: true || false,
|
|
500
|
+
* // strike: true || false,
|
|
501
|
+
* // code: true || false,
|
|
502
|
+
* // },
|
|
503
|
+
* // },
|
|
504
|
+
* // phone: { // PhoneElement
|
|
505
|
+
* // value: "STRING_VALUE", // required
|
|
506
|
+
* // style: {
|
|
507
|
+
* // italic: true || false,
|
|
508
|
+
* // bold: true || false,
|
|
509
|
+
* // strike: true || false,
|
|
510
|
+
* // code: true || false,
|
|
511
|
+
* // },
|
|
512
|
+
* // },
|
|
513
|
+
* // mention: { // MentionElement
|
|
514
|
+
* // text: "STRING_VALUE", // required
|
|
515
|
+
* // user: "<User>", // required
|
|
516
|
+
* // },
|
|
517
|
+
* // actions: [ // ActionsElementsList
|
|
518
|
+
* // { // ActionElement Union: only one key present
|
|
519
|
+
* // button: { // ButtonElement
|
|
520
|
+
* // text: "STRING_VALUE", // required
|
|
521
|
+
* // variant: "contained" || "outlined",
|
|
522
|
+
* // disabled: true || false,
|
|
523
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
524
|
+
* // link: { // ButtonLinkHandler
|
|
525
|
+
* // url: "STRING_VALUE", // required
|
|
526
|
+
* // },
|
|
527
|
+
* // reply: { // ButtonReplyHandler
|
|
528
|
+
* // text: "STRING_VALUE",
|
|
529
|
+
* // },
|
|
530
|
+
* // action: { // ButtonActionHandler
|
|
531
|
+
* // id: "STRING_VALUE", // required
|
|
532
|
+
* // },
|
|
533
|
+
* // },
|
|
534
|
+
* // },
|
|
535
|
+
* // },
|
|
536
|
+
* // ],
|
|
537
|
+
* // },
|
|
538
|
+
* // ],
|
|
474
539
|
* // attachments: [ // MessageAttachmentList
|
|
475
540
|
* // { // MessageAttachment
|
|
476
541
|
* // id: "STRING_VALUE", // required
|
|
@@ -563,7 +628,7 @@ declare const DescribeEventCommand_base: {
|
|
|
563
628
|
* // WebhookChatMessageUpdatedEvent: { // WebhookChatMessageUpdatedEvent
|
|
564
629
|
* // id: "STRING_VALUE", // required
|
|
565
630
|
* // company: "STRING_VALUE", // required
|
|
566
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
631
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
567
632
|
* // time: Number("long"), // required
|
|
568
633
|
* // integrationId: "STRING_VALUE",
|
|
569
634
|
* // botId: "STRING_VALUE",
|
|
@@ -571,6 +636,56 @@ declare const DescribeEventCommand_base: {
|
|
|
571
636
|
* // channel: "<Channel>", // required
|
|
572
637
|
* // message: {
|
|
573
638
|
* // text: "STRING_VALUE",
|
|
639
|
+
* // elements: [
|
|
640
|
+
* // {// Union: only one key present
|
|
641
|
+
* // text: {
|
|
642
|
+
* // value: "STRING_VALUE", // required
|
|
643
|
+
* // style: {
|
|
644
|
+
* // italic: true || false,
|
|
645
|
+
* // bold: true || false,
|
|
646
|
+
* // strike: true || false,
|
|
647
|
+
* // code: true || false,
|
|
648
|
+
* // },
|
|
649
|
+
* // },
|
|
650
|
+
* // link: {
|
|
651
|
+
* // url: "STRING_VALUE", // required
|
|
652
|
+
* // text: "STRING_VALUE",
|
|
653
|
+
* // style: "<TextStyle>",
|
|
654
|
+
* // },
|
|
655
|
+
* // email: {
|
|
656
|
+
* // value: "STRING_VALUE", // required
|
|
657
|
+
* // style: "<TextStyle>",
|
|
658
|
+
* // },
|
|
659
|
+
* // phone: {
|
|
660
|
+
* // value: "STRING_VALUE", // required
|
|
661
|
+
* // style: "<TextStyle>",
|
|
662
|
+
* // },
|
|
663
|
+
* // mention: {
|
|
664
|
+
* // text: "STRING_VALUE", // required
|
|
665
|
+
* // user: "<User>", // required
|
|
666
|
+
* // },
|
|
667
|
+
* // actions: [
|
|
668
|
+
* // {// Union: only one key present
|
|
669
|
+
* // button: {
|
|
670
|
+
* // text: "STRING_VALUE", // required
|
|
671
|
+
* // variant: "contained" || "outlined",
|
|
672
|
+
* // disabled: true || false,
|
|
673
|
+
* // handler: {// Union: only one key present
|
|
674
|
+
* // link: {
|
|
675
|
+
* // url: "STRING_VALUE", // required
|
|
676
|
+
* // },
|
|
677
|
+
* // reply: {
|
|
678
|
+
* // text: "STRING_VALUE",
|
|
679
|
+
* // },
|
|
680
|
+
* // action: {
|
|
681
|
+
* // id: "STRING_VALUE", // required
|
|
682
|
+
* // },
|
|
683
|
+
* // },
|
|
684
|
+
* // },
|
|
685
|
+
* // },
|
|
686
|
+
* // ],
|
|
687
|
+
* // },
|
|
688
|
+
* // ],
|
|
574
689
|
* // attachments: [
|
|
575
690
|
* // {
|
|
576
691
|
* // id: "STRING_VALUE", // required
|
|
@@ -661,7 +776,7 @@ declare const DescribeEventCommand_base: {
|
|
|
661
776
|
* // WebhookChatMessageDeletedEvent: { // WebhookChatMessageDeletedEvent
|
|
662
777
|
* // id: "STRING_VALUE", // required
|
|
663
778
|
* // company: "STRING_VALUE", // required
|
|
664
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
779
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
665
780
|
* // time: Number("long"), // required
|
|
666
781
|
* // integrationId: "STRING_VALUE",
|
|
667
782
|
* // botId: "STRING_VALUE",
|
|
@@ -669,6 +784,51 @@ declare const DescribeEventCommand_base: {
|
|
|
669
784
|
* // channel: "<Channel>", // required
|
|
670
785
|
* // message: {
|
|
671
786
|
* // text: "STRING_VALUE",
|
|
787
|
+
* // elements: [
|
|
788
|
+
* // {// Union: only one key present
|
|
789
|
+
* // text: {
|
|
790
|
+
* // value: "STRING_VALUE", // required
|
|
791
|
+
* // style: "<TextStyle>",
|
|
792
|
+
* // },
|
|
793
|
+
* // link: {
|
|
794
|
+
* // url: "STRING_VALUE", // required
|
|
795
|
+
* // text: "STRING_VALUE",
|
|
796
|
+
* // style: "<TextStyle>",
|
|
797
|
+
* // },
|
|
798
|
+
* // email: {
|
|
799
|
+
* // value: "STRING_VALUE", // required
|
|
800
|
+
* // style: "<TextStyle>",
|
|
801
|
+
* // },
|
|
802
|
+
* // phone: {
|
|
803
|
+
* // value: "STRING_VALUE", // required
|
|
804
|
+
* // style: "<TextStyle>",
|
|
805
|
+
* // },
|
|
806
|
+
* // mention: {
|
|
807
|
+
* // text: "STRING_VALUE", // required
|
|
808
|
+
* // user: "<User>", // required
|
|
809
|
+
* // },
|
|
810
|
+
* // actions: [
|
|
811
|
+
* // {// Union: only one key present
|
|
812
|
+
* // button: {
|
|
813
|
+
* // text: "STRING_VALUE", // required
|
|
814
|
+
* // variant: "contained" || "outlined",
|
|
815
|
+
* // disabled: true || false,
|
|
816
|
+
* // handler: {// Union: only one key present
|
|
817
|
+
* // link: {
|
|
818
|
+
* // url: "STRING_VALUE", // required
|
|
819
|
+
* // },
|
|
820
|
+
* // reply: {
|
|
821
|
+
* // text: "STRING_VALUE",
|
|
822
|
+
* // },
|
|
823
|
+
* // action: {
|
|
824
|
+
* // id: "STRING_VALUE", // required
|
|
825
|
+
* // },
|
|
826
|
+
* // },
|
|
827
|
+
* // },
|
|
828
|
+
* // },
|
|
829
|
+
* // ],
|
|
830
|
+
* // },
|
|
831
|
+
* // ],
|
|
672
832
|
* // attachments: [
|
|
673
833
|
* // {
|
|
674
834
|
* // id: "STRING_VALUE", // required
|
|
@@ -737,7 +897,7 @@ declare const DescribeEventCommand_base: {
|
|
|
737
897
|
* // WebhookChatReactionNewEvent: { // WebhookChatReactionNewEvent
|
|
738
898
|
* // id: "STRING_VALUE", // required
|
|
739
899
|
* // company: "STRING_VALUE", // required
|
|
740
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
900
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
741
901
|
* // time: Number("long"), // required
|
|
742
902
|
* // integrationId: "STRING_VALUE",
|
|
743
903
|
* // botId: "STRING_VALUE",
|
|
@@ -745,6 +905,51 @@ declare const DescribeEventCommand_base: {
|
|
|
745
905
|
* // channel: "<Channel>", // required
|
|
746
906
|
* // message: {
|
|
747
907
|
* // text: "STRING_VALUE",
|
|
908
|
+
* // elements: [
|
|
909
|
+
* // {// Union: only one key present
|
|
910
|
+
* // text: {
|
|
911
|
+
* // value: "STRING_VALUE", // required
|
|
912
|
+
* // style: "<TextStyle>",
|
|
913
|
+
* // },
|
|
914
|
+
* // link: {
|
|
915
|
+
* // url: "STRING_VALUE", // required
|
|
916
|
+
* // text: "STRING_VALUE",
|
|
917
|
+
* // style: "<TextStyle>",
|
|
918
|
+
* // },
|
|
919
|
+
* // email: {
|
|
920
|
+
* // value: "STRING_VALUE", // required
|
|
921
|
+
* // style: "<TextStyle>",
|
|
922
|
+
* // },
|
|
923
|
+
* // phone: {
|
|
924
|
+
* // value: "STRING_VALUE", // required
|
|
925
|
+
* // style: "<TextStyle>",
|
|
926
|
+
* // },
|
|
927
|
+
* // mention: {
|
|
928
|
+
* // text: "STRING_VALUE", // required
|
|
929
|
+
* // user: "<User>", // required
|
|
930
|
+
* // },
|
|
931
|
+
* // actions: [
|
|
932
|
+
* // {// Union: only one key present
|
|
933
|
+
* // button: {
|
|
934
|
+
* // text: "STRING_VALUE", // required
|
|
935
|
+
* // variant: "contained" || "outlined",
|
|
936
|
+
* // disabled: true || false,
|
|
937
|
+
* // handler: {// Union: only one key present
|
|
938
|
+
* // link: {
|
|
939
|
+
* // url: "STRING_VALUE", // required
|
|
940
|
+
* // },
|
|
941
|
+
* // reply: {
|
|
942
|
+
* // text: "STRING_VALUE",
|
|
943
|
+
* // },
|
|
944
|
+
* // action: {
|
|
945
|
+
* // id: "STRING_VALUE", // required
|
|
946
|
+
* // },
|
|
947
|
+
* // },
|
|
948
|
+
* // },
|
|
949
|
+
* // },
|
|
950
|
+
* // ],
|
|
951
|
+
* // },
|
|
952
|
+
* // ],
|
|
748
953
|
* // attachments: "<MessageAttachmentList>",
|
|
749
954
|
* // quote: {
|
|
750
955
|
* // messageId: "STRING_VALUE", // required
|
|
@@ -797,7 +1002,7 @@ declare const DescribeEventCommand_base: {
|
|
|
797
1002
|
* // WebhookChatReactionDeletedEvent: { // WebhookChatReactionDeletedEvent
|
|
798
1003
|
* // id: "STRING_VALUE", // required
|
|
799
1004
|
* // company: "STRING_VALUE", // required
|
|
800
|
-
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted", // required
|
|
1005
|
+
* // type: "chat:channel:created" || "chat:channel:updated" || "chat:member:added" || "chat:member:removed" || "chat:message:new" || "chat:message:updated" || "chat:message:deleted" || "chat:reaction:new" || "chat:reaction:deleted" || "chat:action:triggered", // required
|
|
801
1006
|
* // time: Number("long"), // required
|
|
802
1007
|
* // integrationId: "STRING_VALUE",
|
|
803
1008
|
* // botId: "STRING_VALUE",
|
|
@@ -805,6 +1010,51 @@ declare const DescribeEventCommand_base: {
|
|
|
805
1010
|
* // channel: "<Channel>", // required
|
|
806
1011
|
* // message: {
|
|
807
1012
|
* // text: "STRING_VALUE",
|
|
1013
|
+
* // elements: [
|
|
1014
|
+
* // {// Union: only one key present
|
|
1015
|
+
* // text: {
|
|
1016
|
+
* // value: "STRING_VALUE", // required
|
|
1017
|
+
* // style: "<TextStyle>",
|
|
1018
|
+
* // },
|
|
1019
|
+
* // link: {
|
|
1020
|
+
* // url: "STRING_VALUE", // required
|
|
1021
|
+
* // text: "STRING_VALUE",
|
|
1022
|
+
* // style: "<TextStyle>",
|
|
1023
|
+
* // },
|
|
1024
|
+
* // email: {
|
|
1025
|
+
* // value: "STRING_VALUE", // required
|
|
1026
|
+
* // style: "<TextStyle>",
|
|
1027
|
+
* // },
|
|
1028
|
+
* // phone: {
|
|
1029
|
+
* // value: "STRING_VALUE", // required
|
|
1030
|
+
* // style: "<TextStyle>",
|
|
1031
|
+
* // },
|
|
1032
|
+
* // mention: {
|
|
1033
|
+
* // text: "STRING_VALUE", // required
|
|
1034
|
+
* // user: "<User>", // required
|
|
1035
|
+
* // },
|
|
1036
|
+
* // actions: [
|
|
1037
|
+
* // {// Union: only one key present
|
|
1038
|
+
* // button: {
|
|
1039
|
+
* // text: "STRING_VALUE", // required
|
|
1040
|
+
* // variant: "contained" || "outlined",
|
|
1041
|
+
* // disabled: true || false,
|
|
1042
|
+
* // handler: {// Union: only one key present
|
|
1043
|
+
* // link: {
|
|
1044
|
+
* // url: "STRING_VALUE", // required
|
|
1045
|
+
* // },
|
|
1046
|
+
* // reply: {
|
|
1047
|
+
* // text: "STRING_VALUE",
|
|
1048
|
+
* // },
|
|
1049
|
+
* // action: {
|
|
1050
|
+
* // id: "STRING_VALUE", // required
|
|
1051
|
+
* // },
|
|
1052
|
+
* // },
|
|
1053
|
+
* // },
|
|
1054
|
+
* // },
|
|
1055
|
+
* // ],
|
|
1056
|
+
* // },
|
|
1057
|
+
* // ],
|
|
808
1058
|
* // attachments: "<MessageAttachmentList>",
|
|
809
1059
|
* // quote: {
|
|
810
1060
|
* // messageId: "STRING_VALUE", // required
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConversationsClient";
|
|
2
|
+
import { GetActionTriggerResultInput, GetActionTriggerResultOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetActionTriggerResultCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetActionTriggerResultCommandInput extends GetActionTriggerResultInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetActionTriggerResultCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetActionTriggerResultCommandOutput extends GetActionTriggerResultOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetActionTriggerResultCommand_base: {
|
|
25
|
+
new (input: GetActionTriggerResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetActionTriggerResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetActionTriggerResultCommandInput, GetActionTriggerResultCommandOutput, ConversationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get result of the triggered action.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ConversationsClient, GetActionTriggerResultCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
|
|
35
|
+
* // const { ConversationsClient, GetActionTriggerResultCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
|
|
36
|
+
* const client = new ConversationsClient(config);
|
|
37
|
+
* const input = { // GetActionTriggerResultInput
|
|
38
|
+
* triggerId: "STRING_VALUE", // required
|
|
39
|
+
* userId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetActionTriggerResultCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetActionTriggerResultOutput
|
|
44
|
+
* // status: "completed" || "pending", // required
|
|
45
|
+
* // result: {},
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param GetActionTriggerResultCommandInput - {@link GetActionTriggerResultCommandInput}
|
|
51
|
+
* @returns {@link GetActionTriggerResultCommandOutput}
|
|
52
|
+
* @see {@link GetActionTriggerResultCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link GetActionTriggerResultCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link ConversationsClientResolvedConfig | config} for ConversationsClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link TriggerNotFoundException} (client fault)
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link RateLimitExceededException} (client fault)
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConversationsServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Conversations service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class GetActionTriggerResultCommand extends GetActionTriggerResultCommand_base {
|
|
70
|
+
}
|
|
@@ -43,6 +43,88 @@ declare const GetMessageCommand_base: {
|
|
|
43
43
|
* // { // GetMessageOutput
|
|
44
44
|
* // message: { // Message
|
|
45
45
|
* // text: "STRING_VALUE",
|
|
46
|
+
* // elements: [ // ElementsList
|
|
47
|
+
* // { // Element Union: only one key present
|
|
48
|
+
* // text: { // TextElement
|
|
49
|
+
* // value: "STRING_VALUE", // required
|
|
50
|
+
* // style: { // TextStyle
|
|
51
|
+
* // italic: true || false,
|
|
52
|
+
* // bold: true || false,
|
|
53
|
+
* // strike: true || false,
|
|
54
|
+
* // code: true || false,
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // link: { // LinkElement
|
|
58
|
+
* // url: "STRING_VALUE", // required
|
|
59
|
+
* // text: "STRING_VALUE",
|
|
60
|
+
* // style: {
|
|
61
|
+
* // italic: true || false,
|
|
62
|
+
* // bold: true || false,
|
|
63
|
+
* // strike: true || false,
|
|
64
|
+
* // code: true || false,
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // email: { // EmailElement
|
|
68
|
+
* // value: "STRING_VALUE", // required
|
|
69
|
+
* // style: {
|
|
70
|
+
* // italic: true || false,
|
|
71
|
+
* // bold: true || false,
|
|
72
|
+
* // strike: true || false,
|
|
73
|
+
* // code: true || false,
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // phone: { // PhoneElement
|
|
77
|
+
* // value: "STRING_VALUE", // required
|
|
78
|
+
* // style: {
|
|
79
|
+
* // italic: true || false,
|
|
80
|
+
* // bold: true || false,
|
|
81
|
+
* // strike: true || false,
|
|
82
|
+
* // code: true || false,
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // mention: { // MentionElement
|
|
86
|
+
* // text: "STRING_VALUE", // required
|
|
87
|
+
* // user: { // User
|
|
88
|
+
* // id: "STRING_VALUE", // required
|
|
89
|
+
* // name: "STRING_VALUE",
|
|
90
|
+
* // email: "STRING_VALUE",
|
|
91
|
+
* // phone: "STRING_VALUE",
|
|
92
|
+
* // picture: "STRING_VALUE",
|
|
93
|
+
* // locale: "STRING_VALUE",
|
|
94
|
+
* // timeZone: "STRING_VALUE",
|
|
95
|
+
* // company: "STRING_VALUE",
|
|
96
|
+
* // bot: true || false,
|
|
97
|
+
* // pbxDomain: "STRING_VALUE",
|
|
98
|
+
* // pbxPort: "STRING_VALUE",
|
|
99
|
+
* // pbxExtension: "STRING_VALUE",
|
|
100
|
+
* // pbxSerial: "STRING_VALUE",
|
|
101
|
+
* // pbxUserId: "STRING_VALUE",
|
|
102
|
+
* // createdAt: "STRING_VALUE",
|
|
103
|
+
* // updatedAt: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // actions: [ // ActionsElementsList
|
|
107
|
+
* // { // ActionElement Union: only one key present
|
|
108
|
+
* // button: { // ButtonElement
|
|
109
|
+
* // text: "STRING_VALUE", // required
|
|
110
|
+
* // variant: "contained" || "outlined",
|
|
111
|
+
* // disabled: true || false,
|
|
112
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
113
|
+
* // link: { // ButtonLinkHandler
|
|
114
|
+
* // url: "STRING_VALUE", // required
|
|
115
|
+
* // },
|
|
116
|
+
* // reply: { // ButtonReplyHandler
|
|
117
|
+
* // text: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // action: { // ButtonActionHandler
|
|
120
|
+
* // id: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
46
128
|
* // attachments: [ // MessageAttachmentList
|
|
47
129
|
* // { // MessageAttachment
|
|
48
130
|
* // id: "STRING_VALUE", // required
|
|
@@ -58,7 +140,7 @@ declare const GetMessageCommand_base: {
|
|
|
58
140
|
* // quote: { // MessageQuote
|
|
59
141
|
* // messageId: "STRING_VALUE", // required
|
|
60
142
|
* // channelId: "STRING_VALUE", // required
|
|
61
|
-
* // user: {
|
|
143
|
+
* // user: {
|
|
62
144
|
* // id: "STRING_VALUE", // required
|
|
63
145
|
* // name: "STRING_VALUE",
|
|
64
146
|
* // email: "STRING_VALUE",
|
|
@@ -96,24 +178,7 @@ declare const GetMessageCommand_base: {
|
|
|
96
178
|
* // forwardName: "STRING_VALUE",
|
|
97
179
|
* // },
|
|
98
180
|
* // mentions: [ // UsersList
|
|
99
|
-
* //
|
|
100
|
-
* // id: "STRING_VALUE", // required
|
|
101
|
-
* // name: "STRING_VALUE",
|
|
102
|
-
* // email: "STRING_VALUE",
|
|
103
|
-
* // phone: "STRING_VALUE",
|
|
104
|
-
* // picture: "STRING_VALUE",
|
|
105
|
-
* // locale: "STRING_VALUE",
|
|
106
|
-
* // timeZone: "STRING_VALUE",
|
|
107
|
-
* // company: "STRING_VALUE",
|
|
108
|
-
* // bot: true || false,
|
|
109
|
-
* // pbxDomain: "STRING_VALUE",
|
|
110
|
-
* // pbxPort: "STRING_VALUE",
|
|
111
|
-
* // pbxExtension: "STRING_VALUE",
|
|
112
|
-
* // pbxSerial: "STRING_VALUE",
|
|
113
|
-
* // pbxUserId: "STRING_VALUE",
|
|
114
|
-
* // createdAt: "STRING_VALUE",
|
|
115
|
-
* // updatedAt: "STRING_VALUE",
|
|
116
|
-
* // },
|
|
181
|
+
* // "<User>",
|
|
117
182
|
* // ],
|
|
118
183
|
* // giphy: { // MessageGiphy
|
|
119
184
|
* // id: "STRING_VALUE", // required
|