@wildix/xbees-conversations-client 4.0.3 → 4.1.0

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.
Files changed (45) hide show
  1. package/dist-cjs/Conversations.js +4 -0
  2. package/dist-cjs/commands/GetMessengerChannelIdCommand.js +20 -0
  3. package/dist-cjs/commands/GetOrCreateMessengerChannelCommand.js +20 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/enums.js +11 -1
  6. package/dist-cjs/runtimeConfig.native.js +3 -0
  7. package/dist-cjs/schemas/schemas_0.js +64 -28
  8. package/dist-es/Conversations.js +4 -0
  9. package/dist-es/commands/GetMessengerChannelIdCommand.js +16 -0
  10. package/dist-es/commands/GetOrCreateMessengerChannelCommand.js +16 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/enums.js +10 -0
  13. package/dist-es/runtimeConfig.native.js +3 -0
  14. package/dist-es/schemas/schemas_0.js +59 -23
  15. package/dist-types/Conversations.d.ts +14 -0
  16. package/dist-types/ConversationsClient.d.ts +4 -2
  17. package/dist-types/commands/CreateGroupChannelCommand.d.ts +8 -0
  18. package/dist-types/commands/CreateKiteChannelCommand.d.ts +8 -0
  19. package/dist-types/commands/DescribeEventCommand.d.ts +30 -0
  20. package/dist-types/commands/GetChannelCommand.d.ts +4 -0
  21. package/dist-types/commands/GetMessageCommand.d.ts +2 -0
  22. package/dist-types/commands/GetMessengerChannelIdCommand.d.ts +83 -0
  23. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +4 -0
  24. package/dist-types/commands/GetOrCreateMessengerChannelCommand.d.ts +162 -0
  25. package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +4 -0
  26. package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +4 -0
  27. package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +4 -0
  28. package/dist-types/commands/JoinChannelCommand.d.ts +4 -0
  29. package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
  30. package/dist-types/commands/ListMessagesCommand.d.ts +2 -0
  31. package/dist-types/commands/ListPinnedMessagesCommand.d.ts +2 -0
  32. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +9 -1
  33. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +4 -0
  34. package/dist-types/commands/QueryChannelsCommand.d.ts +4 -0
  35. package/dist-types/commands/SendGiphyCommand.d.ts +2 -0
  36. package/dist-types/commands/SendMessageCommand.d.ts +4 -0
  37. package/dist-types/commands/SendSystemMessageCommand.d.ts +2 -0
  38. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -0
  39. package/dist-types/commands/UpdateMessageCommand.d.ts +4 -0
  40. package/dist-types/commands/index.d.ts +2 -0
  41. package/dist-types/models/enums.d.ts +26 -0
  42. package/dist-types/models/models_0.d.ts +173 -2
  43. package/dist-types/runtimeConfig.native.d.ts +2 -1
  44. package/dist-types/schemas/schemas_0.d.ts +6 -0
  45. package/package.json +7 -5
@@ -21,7 +21,9 @@ const GetDirectChannelIdCommand_1 = require("./commands/GetDirectChannelIdComman
21
21
  const GetFilePresignedDownloadUrlCommand_1 = require("./commands/GetFilePresignedDownloadUrlCommand");
22
22
  const GetInboxStateCommand_1 = require("./commands/GetInboxStateCommand");
23
23
  const GetMessageCommand_1 = require("./commands/GetMessageCommand");
24
+ const GetMessengerChannelIdCommand_1 = require("./commands/GetMessengerChannelIdCommand");
24
25
  const GetOrCreateDirectChannelCommand_1 = require("./commands/GetOrCreateDirectChannelCommand");
26
+ const GetOrCreateMessengerChannelCommand_1 = require("./commands/GetOrCreateMessengerChannelCommand");
25
27
  const GetOrCreateSmsChannelCommand_1 = require("./commands/GetOrCreateSmsChannelCommand");
26
28
  const GetOrCreateTelephonyChannelCommand_1 = require("./commands/GetOrCreateTelephonyChannelCommand");
27
29
  const GetOrCreateWhatsAppChannelCommand_1 = require("./commands/GetOrCreateWhatsAppChannelCommand");
@@ -88,7 +90,9 @@ const commands = {
88
90
  GetFilePresignedDownloadUrlCommand: GetFilePresignedDownloadUrlCommand_1.GetFilePresignedDownloadUrlCommand,
89
91
  GetInboxStateCommand: GetInboxStateCommand_1.GetInboxStateCommand,
90
92
  GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
93
+ GetMessengerChannelIdCommand: GetMessengerChannelIdCommand_1.GetMessengerChannelIdCommand,
91
94
  GetOrCreateDirectChannelCommand: GetOrCreateDirectChannelCommand_1.GetOrCreateDirectChannelCommand,
95
+ GetOrCreateMessengerChannelCommand: GetOrCreateMessengerChannelCommand_1.GetOrCreateMessengerChannelCommand,
92
96
  GetOrCreateSmsChannelCommand: GetOrCreateSmsChannelCommand_1.GetOrCreateSmsChannelCommand,
93
97
  GetOrCreateTelephonyChannelCommand: GetOrCreateTelephonyChannelCommand_1.GetOrCreateTelephonyChannelCommand,
94
98
  GetOrCreateWhatsAppChannelCommand: GetOrCreateWhatsAppChannelCommand_1.GetOrCreateWhatsAppChannelCommand,
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMessengerChannelIdCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class GetMessengerChannelIdCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("Conversations", "GetMessengerChannelId", {})
16
+ .n("ConversationsClient", "GetMessengerChannelIdCommand")
17
+ .sc(schemas_0_1.GetMessengerChannelId$)
18
+ .build() {
19
+ }
20
+ exports.GetMessengerChannelIdCommand = GetMessengerChannelIdCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetOrCreateMessengerChannelCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class GetOrCreateMessengerChannelCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("Conversations", "GetOrCreateMessengerChannel", {})
16
+ .n("ConversationsClient", "GetOrCreateMessengerChannelCommand")
17
+ .sc(schemas_0_1.GetOrCreateMessengerChannel$)
18
+ .build() {
19
+ }
20
+ exports.GetOrCreateMessengerChannelCommand = GetOrCreateMessengerChannelCommand;
@@ -20,7 +20,9 @@ tslib_1.__exportStar(require("./GetDirectChannelIdCommand"), exports);
20
20
  tslib_1.__exportStar(require("./GetFilePresignedDownloadUrlCommand"), exports);
21
21
  tslib_1.__exportStar(require("./GetInboxStateCommand"), exports);
22
22
  tslib_1.__exportStar(require("./GetMessageCommand"), exports);
23
+ tslib_1.__exportStar(require("./GetMessengerChannelIdCommand"), exports);
23
24
  tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
25
+ tslib_1.__exportStar(require("./GetOrCreateMessengerChannelCommand"), exports);
24
26
  tslib_1.__exportStar(require("./GetOrCreateSmsChannelCommand"), exports);
25
27
  tslib_1.__exportStar(require("./GetOrCreateTelephonyChannelCommand"), exports);
26
28
  tslib_1.__exportStar(require("./GetOrCreateWhatsAppChannelCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.WebhookEventType = exports.ReactionType = exports.GroupChannelCreationEventType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.ConversationFileCategory = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.ButtonVariant = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TargetNotEligibleReason = void 0;
3
+ exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.WebhookEventType = exports.ReactionType = exports.GroupChannelCreationEventType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.ConversationFileCategory = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.MessageMessengerStatus = exports.ButtonVariant = exports.ChannelWhatsAppStatus = exports.ChannelMessengerStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TargetNotEligibleReason = void 0;
4
4
  exports.TargetNotEligibleReason = {
5
5
  NO_LICENSE: "no_license",
6
6
  };
@@ -21,6 +21,9 @@ exports.ChannelContextEventAttendeeStatus = {
21
21
  exports.ChannelContextSource = {
22
22
  KITE: "kite",
23
23
  };
24
+ exports.ChannelMessengerStatus = {
25
+ WINDOW_CLOSED: "window_closed",
26
+ };
24
27
  exports.ChannelWhatsAppStatus = {
25
28
  CHANNEL_CLOSED: "24h_channel_closed",
26
29
  };
@@ -28,6 +31,12 @@ exports.ButtonVariant = {
28
31
  CONTAINED: "contained",
29
32
  OUTLINED: "outlined",
30
33
  };
34
+ exports.MessageMessengerStatus = {
35
+ DELIVERED: "delivered",
36
+ ERROR: "error",
37
+ SENT: "sent",
38
+ TRYING: "trying",
39
+ };
31
40
  exports.MessageSmsStatus = {
32
41
  DELIVERED: "delivered",
33
42
  ERROR: "error",
@@ -100,6 +109,7 @@ exports.GroupChannelUnsetOptions = {
100
109
  CONTEXT_PTT: "contextPtt",
101
110
  DESCRIPTION: "description",
102
111
  KITE_ASSIGN: "kiteAssign",
112
+ MESSENGER_STATUS: "messengerStatus",
103
113
  MMS: "mms",
104
114
  PICTURE: "picture",
105
115
  PICTURE_COLOR: "pictureColor",
@@ -2,13 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const smithy_react_native_1 = require("@wildix/smithy-react-native");
5
6
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
7
  const getRuntimeConfig = (config) => {
7
8
  const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
+ (0, smithy_react_native_1.installReactNativeGlobals)();
8
10
  return {
9
11
  ...browserDefaults,
10
12
  ...config,
11
13
  runtime: "react-native",
14
+ requestHandler: smithy_react_native_1.XhrHttpHandler.create(config?.requestHandler),
12
15
  sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
16
  };
14
17
  };
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteChannelInput$ = exports.CreateKiteChannelOutput$ = exports.CreateKiteChannelInput$ = exports.CreateInboxTagOutput$ = exports.CreateInboxTagInput$ = exports.CreateGroupChannelOutput$ = exports.CreateGroupChannelInput$ = exports.ChannelsQuery$ = exports.ChannelMemberReadStatus$ = exports.ChannelMember$ = exports.ChannelContextPushToTalk$ = exports.ChannelContextEventAttendee$ = exports.ChannelContextEvent$ = exports.ChannelContext$ = exports.Channel$ = exports.ButtonReplyHandler$ = exports.ButtonLinkHandler$ = exports.ButtonElement$ = exports.ButtonActionHandler$ = exports.AssignChannelOutput$ = exports.AssignChannelInput$ = exports.AddChannelMembersOutput$ = exports.AddChannelMembersInput$ = exports.AddChannelMemberOutput$ = exports.AddChannelMemberInput$ = exports.ActionTriggerResult$ = exports.TemplateWithParameters$ = exports.TemplateParameter$ = exports.errorTypeRegistries = exports.TargetNotFoundException$ = exports.TargetNotEligibleException$ = exports.TriggerNotFoundException$ = exports.TagsLimitReachedException$ = exports.TagNotFoundException$ = exports.TaggedChannelsLimitReachedException$ = exports.PinnedChannelsLimitReachedException$ = exports.MessageNotFoundException$ = exports.MessageActionNotFoundException$ = exports.MemberNotFoundException$ = exports.MemberDeactivatedException$ = exports.MemberAlreadyExistException$ = exports.MarkUnreadChannelsLimitReachedException$ = exports.FileNotFoundException$ = exports.ConversationsServiceException$ = exports.ChannelNotFoundException$ = exports.ChannelAlreadyExistException$ = exports.ValidationException$ = exports.RateLimitExceededException$ = exports.ForbiddenException$ = exports.ConversationsSyntheticServiceException$ = void 0;
4
- exports.InboxUnreadChannel$ = exports.InboxTaggedChannel$ = exports.InboxTag$ = exports.InboxPinnedChannel$ = exports.InboxChannelsState$ = exports.HideChannelOutput$ = exports.HideChannelInput$ = exports.GetWhatsAppChannelIdOutput$ = exports.GetWhatsAppChannelIdInput$ = exports.GetUploadedFileInfoOutput$ = exports.GetUploadedFileInfoInput$ = exports.GetTokenOutput$ = exports.GetTokenInput$ = exports.GetTelephonyChannelIdOutput$ = exports.GetTelephonyChannelIdInput$ = exports.GetSmsChannelIdOutput$ = exports.GetSmsChannelIdInput$ = exports.GetOrCreateWhatsAppChannelOutput$ = exports.GetOrCreateWhatsAppChannelInput$ = exports.GetOrCreateTelephonyChannelOutput$ = exports.GetOrCreateTelephonyChannelInput$ = exports.GetOrCreateSmsChannelOutput$ = exports.GetOrCreateSmsChannelInput$ = exports.GetOrCreateDirectChannelOutput$ = exports.GetOrCreateDirectChannelInput$ = exports.GetMessageOutput$ = exports.GetMessageInput$ = exports.GetInboxStateOutput$ = exports.GetInboxStateInput$ = exports.GetFilePresignedDownloadUrlOutput$ = exports.GetFilePresignedDownloadUrlInput$ = exports.GetDirectChannelIdOutput$ = exports.GetDirectChannelIdInput$ = exports.GetChannelOutput$ = exports.GetChannelMemberOutput$ = exports.GetChannelMemberInput$ = exports.GetChannelInput$ = exports.GetActionTriggerResultOutput$ = exports.GetActionTriggerResultInput$ = exports.DescribeEventOutput$ = exports.DescribeEventInput$ = exports.DeleteMessageReactionOutput$ = exports.DeleteMessageReactionInput$ = exports.DeleteMessageOutput$ = exports.DeleteMessageInput$ = exports.DeleteInboxTagOutput$ = exports.DeleteInboxTagInput$ = exports.DeleteChannelOutput$ = exports.DeleteChannelMemberOutput$ = exports.DeleteChannelMemberInput$ = void 0;
5
- exports.SendActionTriggerResultInput$ = exports.ScheduleExternalFlagAdjustmentJobOutput$ = exports.ScheduleExternalFlagAdjustmentJobInput$ = exports.Reaction$ = exports.QueryChannelsOutput$ = exports.QueryChannelsInput$ = exports.PinMessageOutput$ = exports.PinMessageInput$ = exports.PinChannelOutput$ = exports.PinChannelInput$ = exports.PartialUpdateMessageSetInput$ = exports.PartialUpdateMessageOutput$ = exports.PartialUpdateMessageInput$ = exports.PartialUpdateChannelSetOptions$ = exports.PartialUpdateChannelOutput$ = exports.PartialUpdateChannelInput$ = exports.MultipleMembersJoinedSystemMessage$ = exports.MessageTemplateConfig$ = exports.MessageQuote$ = exports.MessageGiphy$ = exports.MessageForward$ = exports.MessageAttachment$ = exports.Message$ = exports.MarkUnreadOutput$ = exports.MarkUnreadInput$ = exports.MarkReadOutput$ = exports.MarkReadInput$ = exports.ListPinnedMessagesOutput$ = exports.ListPinnedMessagesInput$ = exports.ListMessagesOutput$ = exports.ListMessagesInput$ = exports.ListMessageReactionsOutput$ = exports.ListMessageReactionsInput$ = exports.ListInboxTagsOutput$ = exports.ListInboxTagsInput$ = exports.ListInboxTaggedChannelsOutput$ = exports.ListInboxTaggedChannelsInput$ = exports.ListChannelsOutput$ = exports.ListChannelsInput$ = exports.ListChannelMembersReadStatusOutput$ = exports.ListChannelMembersReadStatusInput$ = exports.ListChannelMembersOutput$ = exports.ListChannelMembersInput$ = exports.LeaveChannelOutput$ = exports.LeaveChannelInput$ = exports.JoinChannelOutput$ = exports.JoinChannelInput$ = exports.InviteOutput$ = exports.InviteInput$ = exports.InitialMessage$ = void 0;
6
- exports.WebhookChatMessageUpdatedOrDeletedEventData$ = exports.WebhookChatMessageUpdatedEvent$ = exports.WebhookChatMessageNewEventData$ = exports.WebhookChatMessageNewEvent$ = exports.WebhookChatMessageDeletedEvent$ = exports.WebhookChatMemberRemovedEvent$ = exports.WebhookChatMemberAddedOrRemovedEventData$ = exports.WebhookChatMemberAddedEvent$ = exports.WebhookChatChannelUpdatedEvent$ = exports.WebhookChatChannelCreatedOrUpdatedEventData$ = exports.WebhookChatChannelCreatedEvent$ = exports.WebhookChatActionTriggeredEventData$ = exports.WebhookChatActionTriggeredEvent$ = exports.UserToInvite$ = exports.User$ = exports.UploadFileOutput$ = exports.UploadFileOptions$ = exports.UploadFileInput$ = exports.UpdateMessageOutput$ = exports.UpdateMessageInput$ = exports.UpdateInboxTagOutput$ = exports.UpdateInboxTagInput$ = exports.UpdateChannelOutput$ = exports.UpdateChannelInput$ = exports.UntagChannelOutput$ = exports.UntagChannelInput$ = exports.UnpinMessageOutput$ = exports.UnpinMessageInput$ = exports.UnpinChannelOutput$ = exports.UnpinChannelInput$ = exports.TriggerMessageActionOutput$ = exports.TriggerMessageActionInput$ = exports.TagChannelOutput$ = exports.TagChannelInput$ = exports.SkippedMember$ = exports.ShowChannelOutput$ = exports.ShowChannelInput$ = exports.SendTypingStopOutput$ = exports.SendTypingStopInput$ = exports.SendTypingStartOutput$ = exports.SendTypingStartInput$ = exports.SendSystemMessageOutput$ = exports.SendSystemMessageInput$ = exports.SendMessageReactionOutput$ = exports.SendMessageReactionInput$ = exports.SendMessageOutput$ = exports.SendMessageInput$ = exports.SendGiphyOutput$ = exports.SendGiphyInput$ = exports.SendActionTriggerResultOutput$ = void 0;
7
- exports.ListInboxTaggedChannels$ = exports.ListChannels$ = exports.ListChannelMembersReadStatus$ = exports.ListChannelMembers$ = exports.LeaveChannel$ = exports.JoinChannel$ = exports.Invite$ = exports.HideChannel$ = exports.GetWhatsAppChannelId$ = exports.GetUploadedFileInfo$ = exports.GetToken$ = exports.GetTelephonyChannelId$ = exports.GetSmsChannelId$ = exports.GetOrCreateWhatsAppChannel$ = exports.GetOrCreateTelephonyChannel$ = exports.GetOrCreateSmsChannel$ = exports.GetOrCreateDirectChannel$ = exports.GetMessage$ = exports.GetInboxState$ = exports.GetFilePresignedDownloadUrl$ = exports.GetDirectChannelId$ = exports.GetChannelMember$ = exports.GetChannel$ = exports.GetActionTriggerResult$ = exports.DescribeEvent$ = exports.DeleteMessageReaction$ = exports.DeleteMessage$ = exports.DeleteInboxTag$ = exports.DeleteChannelMember$ = exports.DeleteChannel$ = exports.CreateKiteChannel$ = exports.CreateInboxTag$ = exports.CreateGroupChannel$ = exports.AssignChannel$ = exports.AddChannelMembers$ = exports.AddChannelMember$ = exports.SystemMessage$ = exports.Element$ = exports.ButtonHandler$ = exports.AssignChannelServiceRequest$ = exports.AssignChannelAssigneeRequest$ = exports.ActionElement$ = exports.ServiceSettings$ = exports.ServicePbx$ = exports.Service$ = exports.WhatsAppClosedSystemMessage$ = exports.WelcomeMessage$ = exports.WebhookChatReactionNewOrDeletedEventData$ = exports.WebhookChatReactionNewEvent$ = exports.WebhookChatReactionDeletedEvent$ = void 0;
8
- exports.UploadFile$ = exports.UpdateMessage$ = exports.UpdateInboxTag$ = exports.UpdateChannel$ = exports.UntagChannel$ = exports.UnpinMessage$ = exports.UnpinChannel$ = exports.TriggerMessageAction$ = exports.TagChannel$ = exports.ShowChannel$ = exports.SendTypingStop$ = exports.SendTypingStart$ = exports.SendSystemMessage$ = exports.SendMessageReaction$ = exports.SendMessage$ = exports.SendGiphy$ = exports.SendActionTriggerResult$ = exports.ScheduleExternalFlagAdjustmentJob$ = exports.QueryChannels$ = exports.PinMessage$ = exports.PinChannel$ = exports.PartialUpdateMessage$ = exports.PartialUpdateChannel$ = exports.MarkUnread$ = exports.MarkRead$ = exports.ListPinnedMessages$ = exports.ListMessages$ = exports.ListMessageReactions$ = exports.ListInboxTags$ = void 0;
4
+ exports.InboxChannelsState$ = exports.HideChannelOutput$ = exports.HideChannelInput$ = exports.GetWhatsAppChannelIdOutput$ = exports.GetWhatsAppChannelIdInput$ = exports.GetUploadedFileInfoOutput$ = exports.GetUploadedFileInfoInput$ = exports.GetTokenOutput$ = exports.GetTokenInput$ = exports.GetTelephonyChannelIdOutput$ = exports.GetTelephonyChannelIdInput$ = exports.GetSmsChannelIdOutput$ = exports.GetSmsChannelIdInput$ = exports.GetOrCreateWhatsAppChannelOutput$ = exports.GetOrCreateWhatsAppChannelInput$ = exports.GetOrCreateTelephonyChannelOutput$ = exports.GetOrCreateTelephonyChannelInput$ = exports.GetOrCreateSmsChannelOutput$ = exports.GetOrCreateSmsChannelInput$ = exports.GetOrCreateMessengerChannelOutput$ = exports.GetOrCreateMessengerChannelInput$ = exports.GetOrCreateDirectChannelOutput$ = exports.GetOrCreateDirectChannelInput$ = exports.GetMessengerChannelIdOutput$ = exports.GetMessengerChannelIdInput$ = exports.GetMessageOutput$ = exports.GetMessageInput$ = exports.GetInboxStateOutput$ = exports.GetInboxStateInput$ = exports.GetFilePresignedDownloadUrlOutput$ = exports.GetFilePresignedDownloadUrlInput$ = exports.GetDirectChannelIdOutput$ = exports.GetDirectChannelIdInput$ = exports.GetChannelOutput$ = exports.GetChannelMemberOutput$ = exports.GetChannelMemberInput$ = exports.GetChannelInput$ = exports.GetActionTriggerResultOutput$ = exports.GetActionTriggerResultInput$ = exports.DescribeEventOutput$ = exports.DescribeEventInput$ = exports.DeleteMessageReactionOutput$ = exports.DeleteMessageReactionInput$ = exports.DeleteMessageOutput$ = exports.DeleteMessageInput$ = exports.DeleteInboxTagOutput$ = exports.DeleteInboxTagInput$ = exports.DeleteChannelOutput$ = exports.DeleteChannelMemberOutput$ = exports.DeleteChannelMemberInput$ = void 0;
5
+ exports.QueryChannelsOutput$ = exports.QueryChannelsInput$ = exports.PinMessageOutput$ = exports.PinMessageInput$ = exports.PinChannelOutput$ = exports.PinChannelInput$ = exports.PartialUpdateMessageSetInput$ = exports.PartialUpdateMessageOutput$ = exports.PartialUpdateMessageInput$ = exports.PartialUpdateChannelSetOptions$ = exports.PartialUpdateChannelOutput$ = exports.PartialUpdateChannelInput$ = exports.MultipleMembersJoinedSystemMessage$ = exports.MessageTemplateConfig$ = exports.MessageQuote$ = exports.MessageGiphy$ = exports.MessageForward$ = exports.MessageAttachment$ = exports.Message$ = exports.MarkUnreadOutput$ = exports.MarkUnreadInput$ = exports.MarkReadOutput$ = exports.MarkReadInput$ = exports.ListPinnedMessagesOutput$ = exports.ListPinnedMessagesInput$ = exports.ListMessagesOutput$ = exports.ListMessagesInput$ = exports.ListMessageReactionsOutput$ = exports.ListMessageReactionsInput$ = exports.ListInboxTagsOutput$ = exports.ListInboxTagsInput$ = exports.ListInboxTaggedChannelsOutput$ = exports.ListInboxTaggedChannelsInput$ = exports.ListChannelsOutput$ = exports.ListChannelsInput$ = exports.ListChannelMembersReadStatusOutput$ = exports.ListChannelMembersReadStatusInput$ = exports.ListChannelMembersOutput$ = exports.ListChannelMembersInput$ = exports.LeaveChannelOutput$ = exports.LeaveChannelInput$ = exports.JoinChannelOutput$ = exports.JoinChannelInput$ = exports.InviteOutput$ = exports.InviteInput$ = exports.InitialMessage$ = exports.InboxUnreadChannel$ = exports.InboxTaggedChannel$ = exports.InboxTag$ = exports.InboxPinnedChannel$ = void 0;
6
+ exports.WebhookChatMessageDeletedEvent$ = exports.WebhookChatMemberRemovedEvent$ = exports.WebhookChatMemberAddedOrRemovedEventData$ = exports.WebhookChatMemberAddedEvent$ = exports.WebhookChatChannelUpdatedEvent$ = exports.WebhookChatChannelCreatedOrUpdatedEventData$ = exports.WebhookChatChannelCreatedEvent$ = exports.WebhookChatActionTriggeredEventData$ = exports.WebhookChatActionTriggeredEvent$ = exports.UserToInvite$ = exports.User$ = exports.UploadFileOutput$ = exports.UploadFileOptions$ = exports.UploadFileInput$ = exports.UpdateMessageOutput$ = exports.UpdateMessageInput$ = exports.UpdateInboxTagOutput$ = exports.UpdateInboxTagInput$ = exports.UpdateChannelOutput$ = exports.UpdateChannelInput$ = exports.UntagChannelOutput$ = exports.UntagChannelInput$ = exports.UnpinMessageOutput$ = exports.UnpinMessageInput$ = exports.UnpinChannelOutput$ = exports.UnpinChannelInput$ = exports.TriggerMessageActionOutput$ = exports.TriggerMessageActionInput$ = exports.TagChannelOutput$ = exports.TagChannelInput$ = exports.SkippedMember$ = exports.ShowChannelOutput$ = exports.ShowChannelInput$ = exports.SendTypingStopOutput$ = exports.SendTypingStopInput$ = exports.SendTypingStartOutput$ = exports.SendTypingStartInput$ = exports.SendSystemMessageOutput$ = exports.SendSystemMessageInput$ = exports.SendMessageReactionOutput$ = exports.SendMessageReactionInput$ = exports.SendMessageOutput$ = exports.SendMessageInput$ = exports.SendGiphyOutput$ = exports.SendGiphyInput$ = exports.SendActionTriggerResultOutput$ = exports.SendActionTriggerResultInput$ = exports.ScheduleExternalFlagAdjustmentJobOutput$ = exports.ScheduleExternalFlagAdjustmentJobInput$ = exports.Reaction$ = void 0;
7
+ exports.Invite$ = exports.HideChannel$ = exports.GetWhatsAppChannelId$ = exports.GetUploadedFileInfo$ = exports.GetToken$ = exports.GetTelephonyChannelId$ = exports.GetSmsChannelId$ = exports.GetOrCreateWhatsAppChannel$ = exports.GetOrCreateTelephonyChannel$ = exports.GetOrCreateSmsChannel$ = exports.GetOrCreateMessengerChannel$ = exports.GetOrCreateDirectChannel$ = exports.GetMessengerChannelId$ = exports.GetMessage$ = exports.GetInboxState$ = exports.GetFilePresignedDownloadUrl$ = exports.GetDirectChannelId$ = exports.GetChannelMember$ = exports.GetChannel$ = exports.GetActionTriggerResult$ = exports.DescribeEvent$ = exports.DeleteMessageReaction$ = exports.DeleteMessage$ = exports.DeleteInboxTag$ = exports.DeleteChannelMember$ = exports.DeleteChannel$ = exports.CreateKiteChannel$ = exports.CreateInboxTag$ = exports.CreateGroupChannel$ = exports.AssignChannel$ = exports.AddChannelMembers$ = exports.AddChannelMember$ = exports.SystemMessage$ = exports.Element$ = exports.ButtonHandler$ = exports.AssignChannelServiceRequest$ = exports.AssignChannelAssigneeRequest$ = exports.ActionElement$ = exports.ServiceSettings$ = exports.ServicePbx$ = exports.Service$ = exports.WhatsAppClosedSystemMessage$ = exports.WelcomeMessage$ = exports.WebhookChatReactionNewOrDeletedEventData$ = exports.WebhookChatReactionNewEvent$ = exports.WebhookChatReactionDeletedEvent$ = exports.WebhookChatMessageUpdatedOrDeletedEventData$ = exports.WebhookChatMessageUpdatedEvent$ = exports.WebhookChatMessageNewEventData$ = exports.WebhookChatMessageNewEvent$ = void 0;
8
+ exports.UploadFile$ = exports.UpdateMessage$ = exports.UpdateInboxTag$ = exports.UpdateChannel$ = exports.UntagChannel$ = exports.UnpinMessage$ = exports.UnpinChannel$ = exports.TriggerMessageAction$ = exports.TagChannel$ = exports.ShowChannel$ = exports.SendTypingStop$ = exports.SendTypingStart$ = exports.SendSystemMessage$ = exports.SendMessageReaction$ = exports.SendMessage$ = exports.SendGiphy$ = exports.SendActionTriggerResult$ = exports.ScheduleExternalFlagAdjustmentJob$ = exports.QueryChannels$ = exports.PinMessage$ = exports.PinChannel$ = exports.PartialUpdateMessage$ = exports.PartialUpdateChannel$ = exports.MarkUnread$ = exports.MarkRead$ = exports.ListPinnedMessages$ = exports.ListMessages$ = exports.ListMessageReactions$ = exports.ListInboxTags$ = exports.ListInboxTaggedChannels$ = exports.ListChannels$ = exports.ListChannelMembersReadStatus$ = exports.ListChannelMembers$ = exports.LeaveChannel$ = exports.JoinChannel$ = void 0;
9
9
  const _AC = "AssignChannel";
10
10
  const _ACAR = "AssignChannelAssigneeRequest";
11
11
  const _ACI = "AssignChannelInput";
@@ -91,11 +91,17 @@ const _GIS = "GetInboxState";
91
91
  const _GISI = "GetInboxStateInput";
92
92
  const _GISO = "GetInboxStateOutput";
93
93
  const _GM = "GetMessage";
94
+ const _GMCI = "GetMessengerChannelId";
95
+ const _GMCII = "GetMessengerChannelIdInput";
96
+ const _GMCIO = "GetMessengerChannelIdOutput";
94
97
  const _GMI = "GetMessageInput";
95
98
  const _GMO = "GetMessageOutput";
96
99
  const _GOCDC = "GetOrCreateDirectChannel";
97
100
  const _GOCDCI = "GetOrCreateDirectChannelInput";
98
101
  const _GOCDCO = "GetOrCreateDirectChannelOutput";
102
+ const _GOCMC = "GetOrCreateMessengerChannel";
103
+ const _GOCMCI = "GetOrCreateMessengerChannelInput";
104
+ const _GOCMCO = "GetOrCreateMessengerChannelOutput";
99
105
  const _GOCSC = "GetOrCreateSmsChannel";
100
106
  const _GOCSCI = "GetOrCreateSmsChannelInput";
101
107
  const _GOCSCO = "GetOrCreateSmsChannelOutput";
@@ -390,13 +396,17 @@ const _mI = "memberId";
390
396
  const _mIe = "messageId";
391
397
  const _mMJ = "multipleMembersJoined";
392
398
  const _mN = "messagingNumber";
399
+ const _mPI = "messengerPageId";
400
+ const _mRU = "messengerReplyUntil";
401
+ const _mS = "messengerStatus";
393
402
  const _mTI = "memberToInvite";
394
403
  const _mTIe = "membersToInvite";
395
404
  const _ma = "markdown";
396
405
  const _me = "member";
397
406
  const _mem = "members";
398
407
  const _men = "mentions";
399
- const _mes = "messages";
408
+ const _mes = "messenger";
409
+ const _mess = "messages";
400
410
  const _mi = "mime";
401
411
  const _mm = "mms";
402
412
  const _n = "name";
@@ -701,8 +711,8 @@ exports.ButtonReplyHandler$ = [3, n1, _BRH,
701
711
  ];
702
712
  exports.Channel$ = [3, n1, _C,
703
713
  0,
704
- [_cI, _cT, _mC, _cA, _cB, _su, _de, _pi, _pC, _ac, _co, _con, _k, _kT, _kV, _kA, _kSN, _kDS, _ser, _sT, _sR, _a, _te, _sm, _mm, _w, _wS, _b, _ex, _aR, _tL, _wGVO, _uA],
705
- [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.ChannelContext$, 2, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.User$, 2, 2, 2, 2, 0, 2, 2, 2, 0, 2, 0], 5
714
+ [_cI, _cT, _mC, _cA, _cB, _su, _de, _pi, _pC, _ac, _co, _con, _k, _kT, _kV, _kA, _kSN, _kDS, _ser, _sT, _sR, _a, _te, _sm, _mm, _w, _wS, _mes, _mS, _mPI, _mRU, _b, _ex, _aR, _tL, _wGVO, _uA],
715
+ [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.ChannelContext$, 2, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.User$, 2, 2, 2, 2, 0, 2, 0, 0, 1, 2, 2, 2, 0, 2, 0], 5
706
716
  ];
707
717
  exports.ChannelContext$ = [3, n1, _CC,
708
718
  0,
@@ -741,8 +751,8 @@ exports.ChannelsQuery$ = [3, n1, _CQ,
741
751
  ];
742
752
  exports.CreateGroupChannelInput$ = [3, n1, _CGCI,
743
753
  0,
744
- [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
745
- [0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, () => exports.User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
754
+ [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mes, _mS, _mPI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _cI, _mem, _mTIe, _cET],
755
+ [0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 2, 0, 0, 1, 0, 0, () => exports.User$, 2, 0, 2, [0, { [_hQ]: _us }], 0, 64 | 0, () => UsersToInviteList, 0]
746
756
  ];
747
757
  exports.CreateGroupChannelOutput$ = [3, n1, _CGCO,
748
758
  0,
@@ -899,6 +909,16 @@ exports.GetMessageOutput$ = [3, n1, _GMO,
899
909
  [_m],
900
910
  [() => exports.Message$], 1
901
911
  ];
912
+ exports.GetMessengerChannelIdInput$ = [3, n1, _GMCII,
913
+ 0,
914
+ [_sU, _uI, _rI, _rN],
915
+ [0, [0, { [_hQ]: _us }], 0, 0], 1
916
+ ];
917
+ exports.GetMessengerChannelIdOutput$ = [3, n1, _GMCIO,
918
+ 0,
919
+ [_cI],
920
+ [0], 1
921
+ ];
902
922
  exports.GetOrCreateDirectChannelInput$ = [3, n1, _GOCDCI,
903
923
  0,
904
924
  [_uI, _mI, _mTI],
@@ -909,6 +929,16 @@ exports.GetOrCreateDirectChannelOutput$ = [3, n1, _GOCDCO,
909
929
  [_ch],
910
930
  [() => exports.Channel$], 1
911
931
  ];
932
+ exports.GetOrCreateMessengerChannelInput$ = [3, n1, _GOCMCI,
933
+ 0,
934
+ [_sU, _uI, _rI, _rN, _ou],
935
+ [0, [0, { [_hQ]: _us }], 0, 0, 2], 1
936
+ ];
937
+ exports.GetOrCreateMessengerChannelOutput$ = [3, n1, _GOCMCO,
938
+ 0,
939
+ [_ch],
940
+ [() => exports.Channel$], 1
941
+ ];
912
942
  exports.GetOrCreateSmsChannelInput$ = [3, n1, _GOCSCI,
913
943
  0,
914
944
  [_sU, _uI, _rI, _rN, _ou],
@@ -1026,8 +1056,8 @@ exports.InboxUnreadChannel$ = [3, n1, _IUC,
1026
1056
  ];
1027
1057
  exports.InitialMessage$ = [3, n1, _IM,
1028
1058
  0,
1029
- [_mIe, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men],
1030
- [0, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 64 | 0], 1
1059
+ [_mIe, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men],
1060
+ [0, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0], 1
1031
1061
  ];
1032
1062
  exports.InviteInput$ = [3, n1, _II,
1033
1063
  0,
@@ -1126,7 +1156,7 @@ exports.ListMessagesInput$ = [3, n1, _LMI,
1126
1156
  ];
1127
1157
  exports.ListMessagesOutput$ = [3, n1, _LMO,
1128
1158
  0,
1129
- [_mes],
1159
+ [_mess],
1130
1160
  [() => MessagesList], 1
1131
1161
  ];
1132
1162
  exports.ListPinnedMessagesInput$ = [3, n1, _LPMI,
@@ -1136,7 +1166,7 @@ exports.ListPinnedMessagesInput$ = [3, n1, _LPMI,
1136
1166
  ];
1137
1167
  exports.ListPinnedMessagesOutput$ = [3, n1, _LPMO,
1138
1168
  0,
1139
- [_mes],
1169
+ [_mess],
1140
1170
  [() => MessagesList], 1
1141
1171
  ];
1142
1172
  exports.MarkReadInput$ = [3, n1, _MRI,
@@ -1161,8 +1191,8 @@ exports.MarkUnreadOutput$ = [3, n1, _MUO,
1161
1191
  ];
1162
1192
  exports.Message$ = [3, n1, _M,
1163
1193
  0,
1164
- [_ty, _mIe, _cI, _us, _cA, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _g, _si, _eve, _ed, _men, _lRa, _rC, _uA],
1165
- [0, 0, 0, () => exports.User$, 0, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, () => exports.MessageGiphy$, 2, 0, 2, () => UsersList, () => ReactionList, 128 | 1, 0], 5
1194
+ [_ty, _mIe, _cI, _us, _cA, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _g, _si, _eve, _ed, _men, _lRa, _rC, _uA],
1195
+ [0, 0, 0, () => exports.User$, 0, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 2, () => exports.MessageGiphy$, 2, 0, 2, () => UsersList, () => ReactionList, 128 | 1, 0], 5
1166
1196
  ];
1167
1197
  exports.MessageAttachment$ = [3, n1, _MA,
1168
1198
  0,
@@ -1206,8 +1236,8 @@ exports.PartialUpdateChannelOutput$ = [3, n1, _PUCO,
1206
1236
  ];
1207
1237
  exports.PartialUpdateChannelSetOptions$ = [3, n1, _PUCSO,
1208
1238
  0,
1209
- [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _a, _aR, _tL, _wGVO],
1210
- [0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, () => exports.User$, 2, 0, 2]
1239
+ [_su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mes, _mS, _mPI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO],
1240
+ [0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 2, 0, 0, 1, 0, 0, () => exports.User$, 2, 0, 2]
1211
1241
  ];
1212
1242
  exports.PartialUpdateMessageInput$ = [3, n1, _PUMI,
1213
1243
  0,
@@ -1221,8 +1251,8 @@ exports.PartialUpdateMessageOutput$ = [3, n1, _PUMO,
1221
1251
  ];
1222
1252
  exports.PartialUpdateMessageSetInput$ = [3, n1, _PUMSI,
1223
1253
  0,
1224
- [_t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men],
1225
- [0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 64 | 0]
1254
+ [_t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men],
1255
+ [0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0]
1226
1256
  ];
1227
1257
  exports.PinChannelInput$ = [3, n1, _PCI,
1228
1258
  0,
@@ -1291,8 +1321,8 @@ exports.SendGiphyOutput$ = [3, n1, _SGO,
1291
1321
  ];
1292
1322
  exports.SendMessageInput$ = [3, n1, _SMI,
1293
1323
  0,
1294
- [_cI, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _mIe, _men, _uI],
1295
- [[0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 64 | 0, [0, { [_hQ]: _us }]], 1
1324
+ [_cI, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _mIe, _men, _uI],
1325
+ [[0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 2, 0, 64 | 0, [0, { [_hQ]: _us }]], 1
1296
1326
  ];
1297
1327
  exports.SendMessageOutput$ = [3, n1, _SMO,
1298
1328
  0,
@@ -1406,8 +1436,8 @@ exports.UntagChannelOutput$ = [3, n1, _UCOn,
1406
1436
  ];
1407
1437
  exports.UpdateChannelInput$ = [3, n1, _UCIp,
1408
1438
  0,
1409
- [_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
1410
- [[0, 1], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 0, 0, () => exports.User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
1439
+ [_cI, _su, _de, _pi, _pC, _ac, _b, _con, _wS, _sm, _mm, _w, _mes, _mS, _mPI, _mRU, _kA, _sT, _a, _aR, _tL, _wGVO, _uI, _si],
1440
+ [[0, 1], 0, 0, 0, 0, 0, 2, () => exports.ChannelContext$, 0, 2, 2, 2, 2, 0, 0, 1, 0, 0, () => exports.User$, 2, 0, 2, [0, { [_hQ]: _us }], 2], 1
1411
1441
  ];
1412
1442
  exports.UpdateChannelOutput$ = [3, n1, _UCOp,
1413
1443
  0,
@@ -1426,8 +1456,8 @@ exports.UpdateInboxTagOutput$ = [3, n1, _UITO,
1426
1456
  ];
1427
1457
  exports.UpdateMessageInput$ = [3, n1, _UMIp,
1428
1458
  0,
1429
- [_mIe, _cI, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men, _uI, _si],
1430
- [[0, 1], [0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 64 | 0, [0, { [_hQ]: _us }], 2], 2
1459
+ [_mIe, _cI, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men, _uI, _si],
1460
+ [[0, 1], [0, 1], 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0, [0, { [_hQ]: _us }], 2], 2
1431
1461
  ];
1432
1462
  exports.UpdateMessageOutput$ = [3, n1, _UMOp,
1433
1463
  0,
@@ -1541,8 +1571,8 @@ exports.WebhookChatReactionNewOrDeletedEventData$ = [3, n1, _WCRNODED,
1541
1571
  ];
1542
1572
  exports.WelcomeMessage$ = [3, n1, _WM,
1543
1573
  0,
1544
- [_mIe, _us, _t, _el, _att, _q, _fo, _w, _wS, _sm, _sS, _ma, _men],
1545
- [0, () => exports.User$, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 64 | 0], 2
1574
+ [_mIe, _us, _t, _el, _att, _q, _fo, _w, _wS, _mes, _mS, _sm, _sS, _ma, _men],
1575
+ [0, () => exports.User$, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 2, 0, 2, 0, 2, 64 | 0], 2
1546
1576
  ];
1547
1577
  exports.WhatsAppClosedSystemMessage$ = [3, n1, _WACSM,
1548
1578
  0,
@@ -1714,9 +1744,15 @@ exports.GetInboxState$ = [9, n1, _GIS,
1714
1744
  exports.GetMessage$ = [9, n1, _GM,
1715
1745
  { [_ht]: ["GET", "/v2/conversations/channels/{channelId}/messages/{messageId}", 200] }, () => exports.GetMessageInput$, () => exports.GetMessageOutput$
1716
1746
  ];
1747
+ exports.GetMessengerChannelId$ = [9, n1, _GMCI,
1748
+ { [_ht]: ["POST", "/v2/conversations/messenger/get_channel_id", 200] }, () => exports.GetMessengerChannelIdInput$, () => exports.GetMessengerChannelIdOutput$
1749
+ ];
1717
1750
  exports.GetOrCreateDirectChannel$ = [9, n1, _GOCDC,
1718
1751
  { [_ht]: ["POST", "/v2/conversations/direct/get_or_create_channel", 200] }, () => exports.GetOrCreateDirectChannelInput$, () => exports.GetOrCreateDirectChannelOutput$
1719
1752
  ];
1753
+ exports.GetOrCreateMessengerChannel$ = [9, n1, _GOCMC,
1754
+ { [_ht]: ["POST", "/v2/conversations/messenger/get_or_create_channel", 200] }, () => exports.GetOrCreateMessengerChannelInput$, () => exports.GetOrCreateMessengerChannelOutput$
1755
+ ];
1720
1756
  exports.GetOrCreateSmsChannel$ = [9, n1, _GOCSC,
1721
1757
  { [_ht]: ["POST", "/v2/conversations/sms/get_or_create_channel", 200] }, () => exports.GetOrCreateSmsChannelInput$, () => exports.GetOrCreateSmsChannelOutput$
1722
1758
  ];
@@ -18,7 +18,9 @@ import { GetDirectChannelIdCommand, } from "./commands/GetDirectChannelIdCommand
18
18
  import { GetFilePresignedDownloadUrlCommand, } from "./commands/GetFilePresignedDownloadUrlCommand";
19
19
  import { GetInboxStateCommand, } from "./commands/GetInboxStateCommand";
20
20
  import { GetMessageCommand, } from "./commands/GetMessageCommand";
21
+ import { GetMessengerChannelIdCommand, } from "./commands/GetMessengerChannelIdCommand";
21
22
  import { GetOrCreateDirectChannelCommand, } from "./commands/GetOrCreateDirectChannelCommand";
23
+ import { GetOrCreateMessengerChannelCommand, } from "./commands/GetOrCreateMessengerChannelCommand";
22
24
  import { GetOrCreateSmsChannelCommand, } from "./commands/GetOrCreateSmsChannelCommand";
23
25
  import { GetOrCreateTelephonyChannelCommand, } from "./commands/GetOrCreateTelephonyChannelCommand";
24
26
  import { GetOrCreateWhatsAppChannelCommand, } from "./commands/GetOrCreateWhatsAppChannelCommand";
@@ -85,7 +87,9 @@ const commands = {
85
87
  GetFilePresignedDownloadUrlCommand,
86
88
  GetInboxStateCommand,
87
89
  GetMessageCommand,
90
+ GetMessengerChannelIdCommand,
88
91
  GetOrCreateDirectChannelCommand,
92
+ GetOrCreateMessengerChannelCommand,
89
93
  GetOrCreateSmsChannelCommand,
90
94
  GetOrCreateTelephonyChannelCommand,
91
95
  GetOrCreateWhatsAppChannelCommand,
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetMessengerChannelId$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetMessengerChannelIdCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("Conversations", "GetMessengerChannelId", {})
13
+ .n("ConversationsClient", "GetMessengerChannelIdCommand")
14
+ .sc(GetMessengerChannelId$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetOrCreateMessengerChannel$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetOrCreateMessengerChannelCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("Conversations", "GetOrCreateMessengerChannel", {})
13
+ .n("ConversationsClient", "GetOrCreateMessengerChannelCommand")
14
+ .sc(GetOrCreateMessengerChannel$)
15
+ .build() {
16
+ }
@@ -17,7 +17,9 @@ export * from "./GetDirectChannelIdCommand";
17
17
  export * from "./GetFilePresignedDownloadUrlCommand";
18
18
  export * from "./GetInboxStateCommand";
19
19
  export * from "./GetMessageCommand";
20
+ export * from "./GetMessengerChannelIdCommand";
20
21
  export * from "./GetOrCreateDirectChannelCommand";
22
+ export * from "./GetOrCreateMessengerChannelCommand";
21
23
  export * from "./GetOrCreateSmsChannelCommand";
22
24
  export * from "./GetOrCreateTelephonyChannelCommand";
23
25
  export * from "./GetOrCreateWhatsAppChannelCommand";
@@ -18,6 +18,9 @@ export const ChannelContextEventAttendeeStatus = {
18
18
  export const ChannelContextSource = {
19
19
  KITE: "kite",
20
20
  };
21
+ export const ChannelMessengerStatus = {
22
+ WINDOW_CLOSED: "window_closed",
23
+ };
21
24
  export const ChannelWhatsAppStatus = {
22
25
  CHANNEL_CLOSED: "24h_channel_closed",
23
26
  };
@@ -25,6 +28,12 @@ export const ButtonVariant = {
25
28
  CONTAINED: "contained",
26
29
  OUTLINED: "outlined",
27
30
  };
31
+ export const MessageMessengerStatus = {
32
+ DELIVERED: "delivered",
33
+ ERROR: "error",
34
+ SENT: "sent",
35
+ TRYING: "trying",
36
+ };
28
37
  export const MessageSmsStatus = {
29
38
  DELIVERED: "delivered",
30
39
  ERROR: "error",
@@ -97,6 +106,7 @@ export const GroupChannelUnsetOptions = {
97
106
  CONTEXT_PTT: "contextPtt",
98
107
  DESCRIPTION: "description",
99
108
  KITE_ASSIGN: "kiteAssign",
109
+ MESSENGER_STATUS: "messengerStatus",
100
110
  MMS: "mms",
101
111
  PICTURE: "picture",
102
112
  PICTURE_COLOR: "pictureColor",
@@ -1,11 +1,14 @@
1
1
  import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { installReactNativeGlobals, XhrHttpHandler as RequestHandler } from "@wildix/smithy-react-native";
2
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
4
  export const getRuntimeConfig = (config) => {
4
5
  const browserDefaults = getBrowserRuntimeConfig(config);
6
+ installReactNativeGlobals();
5
7
  return {
6
8
  ...browserDefaults,
7
9
  ...config,
8
10
  runtime: "react-native",
11
+ requestHandler: RequestHandler.create(config?.requestHandler),
9
12
  sha256: config?.sha256 ?? Sha256,
10
13
  };
11
14
  };