@wildix/xbees-conversations-client 4.2.0 → 4.2.2

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.
@@ -2,10 +2,10 @@
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
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.GetOrCreateMessagingChannelOutput$ = exports.GetOrCreateMessagingChannelInput$ = exports.GetOrCreateDirectChannelOutput$ = exports.GetOrCreateDirectChannelInput$ = exports.GetMessagingChannelIdOutput$ = exports.GetMessagingChannelIdInput$ = 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.GetOrCreateMessagingChannel$ = exports.GetOrCreateDirectChannel$ = exports.GetMessagingChannelId$ = 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;
5
+ 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.InvitedUser$ = exports.InitialMessage$ = exports.InboxUnreadChannel$ = exports.InboxTaggedChannel$ = exports.InboxTag$ = exports.InboxPinnedChannel$ = void 0;
6
+ 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$ = exports.QueryChannelsOutput$ = void 0;
7
+ exports.HideChannel$ = exports.GetWhatsAppChannelId$ = exports.GetUploadedFileInfo$ = exports.GetToken$ = exports.GetTelephonyChannelId$ = exports.GetSmsChannelId$ = exports.GetOrCreateWhatsAppChannel$ = exports.GetOrCreateTelephonyChannel$ = exports.GetOrCreateSmsChannel$ = exports.GetOrCreateMessagingChannel$ = exports.GetOrCreateDirectChannel$ = exports.GetMessagingChannelId$ = 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$ = exports.WebhookChatMessageDeletedEvent$ = 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$ = exports.Invite$ = void 0;
9
9
  const _AC = "AssignChannel";
10
10
  const _ACAR = "AssignChannelAssigneeRequest";
11
11
  const _ACI = "AssignChannelInput";
@@ -140,8 +140,10 @@ const _IT = "InboxTag";
140
140
  const _ITC = "InboxTaggedChannel";
141
141
  const _ITCL = "InboxTaggedChannelsList";
142
142
  const _ITL = "InboxTagsList";
143
+ const _IU = "InvitedUser";
143
144
  const _IUC = "InboxUnreadChannel";
144
145
  const _IUCL = "InboxUnreadChannelsList";
146
+ const _IUL = "InvitedUsersList";
145
147
  const _JC = "JoinChannel";
146
148
  const _JCI = "JoinChannelInput";
147
149
  const _JCO = "JoinChannelOutput";
@@ -1059,6 +1061,11 @@ exports.InitialMessage$ = [3, n1, _IM,
1059
1061
  [_mIe, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _men],
1060
1062
  [0, 0, () => ElementsList, () => MessageAttachmentList, () => exports.MessageQuote$, () => exports.MessageForward$, 2, 0, 0, 0, 2, 0, 2, 64 | 0], 1
1061
1063
  ];
1064
+ exports.InvitedUser$ = [3, n1, _IU,
1065
+ 0,
1066
+ [_i, _n, _em, _ph, _co, _pUI],
1067
+ [0, 0, 0, 0, 0, 0], 1
1068
+ ];
1062
1069
  exports.InviteInput$ = [3, n1, _II,
1063
1070
  0,
1064
1071
  [_in, _cIo],
@@ -1067,7 +1074,7 @@ exports.InviteInput$ = [3, n1, _II,
1067
1074
  exports.InviteOutput$ = [3, n1, _IO,
1068
1075
  0,
1069
1076
  [_use, _sI],
1070
- [() => UsersList, () => SkippedMembersList], 2
1077
+ [() => InvitedUsersList, () => SkippedMembersList], 2
1071
1078
  ];
1072
1079
  exports.JoinChannelInput$ = [3, n1, _JCI,
1073
1080
  0,
@@ -1631,6 +1638,9 @@ var InboxTagsList = [1, n1, _ITL,
1631
1638
  var InboxUnreadChannelsList = [1, n1, _IUCL,
1632
1639
  0, () => exports.InboxUnreadChannel$
1633
1640
  ];
1641
+ var InvitedUsersList = [1, n1, _IUL,
1642
+ 0, () => exports.InvitedUser$
1643
+ ];
1634
1644
  var MessageAttachmentList = [1, n1, _MAL,
1635
1645
  0, () => exports.MessageAttachment$
1636
1646
  ];
@@ -132,8 +132,10 @@ const _IT = "InboxTag";
132
132
  const _ITC = "InboxTaggedChannel";
133
133
  const _ITCL = "InboxTaggedChannelsList";
134
134
  const _ITL = "InboxTagsList";
135
+ const _IU = "InvitedUser";
135
136
  const _IUC = "InboxUnreadChannel";
136
137
  const _IUCL = "InboxUnreadChannelsList";
138
+ const _IUL = "InvitedUsersList";
137
139
  const _JC = "JoinChannel";
138
140
  const _JCI = "JoinChannelInput";
139
141
  const _JCO = "JoinChannelOutput";
@@ -1051,6 +1053,11 @@ export var InitialMessage$ = [3, n1, _IM,
1051
1053
  [_mIe, _t, _el, _att, _q, _fo, _w, _wS, _mCe, _mS, _sm, _sS, _ma, _men],
1052
1054
  [0, 0, () => ElementsList, () => MessageAttachmentList, () => MessageQuote$, () => MessageForward$, 2, 0, 0, 0, 2, 0, 2, 64 | 0], 1
1053
1055
  ];
1056
+ export var InvitedUser$ = [3, n1, _IU,
1057
+ 0,
1058
+ [_i, _n, _em, _ph, _co, _pUI],
1059
+ [0, 0, 0, 0, 0, 0], 1
1060
+ ];
1054
1061
  export var InviteInput$ = [3, n1, _II,
1055
1062
  0,
1056
1063
  [_in, _cIo],
@@ -1059,7 +1066,7 @@ export var InviteInput$ = [3, n1, _II,
1059
1066
  export var InviteOutput$ = [3, n1, _IO,
1060
1067
  0,
1061
1068
  [_use, _sI],
1062
- [() => UsersList, () => SkippedMembersList], 2
1069
+ [() => InvitedUsersList, () => SkippedMembersList], 2
1063
1070
  ];
1064
1071
  export var JoinChannelInput$ = [3, n1, _JCI,
1065
1072
  0,
@@ -1623,6 +1630,9 @@ var InboxTagsList = [1, n1, _ITL,
1623
1630
  var InboxUnreadChannelsList = [1, n1, _IUCL,
1624
1631
  0, () => InboxUnreadChannel$
1625
1632
  ];
1633
+ var InvitedUsersList = [1, n1, _IUL,
1634
+ 0, () => InvitedUser$
1635
+ ];
1626
1636
  var MessageAttachmentList = [1, n1, _MAL,
1627
1637
  0, () => MessageAttachment$
1628
1638
  ];
@@ -54,25 +54,14 @@ declare const InviteCommand_base: {
54
54
  * const command = new InviteCommand(input);
55
55
  * const response = await client.send(command);
56
56
  * // { // InviteOutput
57
- * // users: [ // UsersList // required
58
- * // { // User
57
+ * // users: [ // InvitedUsersList // required
58
+ * // { // InvitedUser
59
59
  * // id: "STRING_VALUE", // required
60
60
  * // name: "STRING_VALUE",
61
61
  * // email: "STRING_VALUE",
62
62
  * // phone: "STRING_VALUE",
63
- * // picture: "STRING_VALUE",
64
- * // locale: "STRING_VALUE",
65
- * // timeZone: "STRING_VALUE",
66
63
  * // company: "STRING_VALUE",
67
- * // bot: true || false,
68
- * // pbxDomain: "STRING_VALUE",
69
- * // pbxPort: "STRING_VALUE",
70
- * // pbxExtension: "STRING_VALUE",
71
- * // pbxSerial: "STRING_VALUE",
72
64
  * // pbxUserId: "STRING_VALUE",
73
- * // pbxGroupId: "STRING_VALUE",
74
- * // createdAt: "STRING_VALUE",
75
- * // updatedAt: "STRING_VALUE",
76
65
  * // },
77
66
  * // ],
78
67
  * // skippedInvitees: [ // SkippedMembersList // required
@@ -1929,15 +1929,37 @@ export interface InviteInput {
1929
1929
  */
1930
1930
  invitees: UserToInvite[];
1931
1931
  }
1932
+ /**
1933
+ * Reduced user record returned by Invite. Callers receive only the fields they use to correlate the invitee and continue the conversation flow: id, name, email, phone, company, and pbxUserId.
1934
+ * PBX installation details (domain, port, extension, serial, group), profile metadata (picture, locale, time zone, bot), and timestamps are not included.
1935
+ *
1936
+ * @public
1937
+ */
1938
+ export interface InvitedUser {
1939
+ id: string;
1940
+ name?: string | undefined;
1941
+ email?: string | undefined;
1942
+ phone?: string | undefined;
1943
+ /**
1944
+ * Tenant id. Callers use it to tell a colleague from an external user.
1945
+ * @public
1946
+ */
1947
+ company?: string | undefined;
1948
+ /**
1949
+ * PBX user id of a colleague. A caller that already knows the colleague matches the invite result by this value.
1950
+ * @public
1951
+ */
1952
+ pbxUserId?: string | undefined;
1953
+ }
1932
1954
  /**
1933
1955
  * @public
1934
1956
  */
1935
1957
  export interface InviteOutput {
1936
1958
  /**
1937
- * A list of users who were successfully invited.
1959
+ * A list of users who were successfully invited. Each entry contains only id, name, email, phone, company, and pbxUserId.
1938
1960
  * @public
1939
1961
  */
1940
- users: User[];
1962
+ users: InvitedUser[];
1941
1963
  /**
1942
1964
  * A list of invitees that were skipped during the operation, for example because the resolved account is deactivated in GetStream. Each entry carries the email or phone supplied in the request, and the user id when it was already known.
1943
1965
  * @public
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
39
39
  tls?: boolean;
40
40
  useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
41
41
  useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
42
+ ignoreConfiguredEndpointUrls?: boolean;
42
43
  serviceConfiguredEndpoint?: never;
43
44
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
45
  httpAuthSchemes: {
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
39
39
  tls?: boolean;
40
40
  useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
41
41
  useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
42
+ ignoreConfiguredEndpointUrls?: boolean;
42
43
  serviceConfiguredEndpoint?: never;
43
44
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
45
  httpAuthSchemes: {
@@ -39,6 +39,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
39
39
  tls?: boolean;
40
40
  useDualstackEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
41
41
  useFipsEndpoint?: boolean | import("@smithy/types").Provider<boolean | undefined>;
42
+ ignoreConfiguredEndpointUrls?: boolean;
42
43
  serviceConfiguredEndpoint?: never;
43
44
  authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
45
  httpAuthSchemes: {
@@ -110,6 +110,7 @@ export declare var InboxTag$: StaticStructureSchema;
110
110
  export declare var InboxTaggedChannel$: StaticStructureSchema;
111
111
  export declare var InboxUnreadChannel$: StaticStructureSchema;
112
112
  export declare var InitialMessage$: StaticStructureSchema;
113
+ export declare var InvitedUser$: StaticStructureSchema;
113
114
  export declare var InviteInput$: StaticStructureSchema;
114
115
  export declare var InviteOutput$: StaticStructureSchema;
115
116
  export declare var JoinChannelInput$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "4.2.0",
4
+ "version": "4.2.2",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -57,4 +57,4 @@
57
57
  "browser": {
58
58
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
59
  }
60
- }
60
+ }