@wildix/xbees-conversations-client 1.3.0 → 1.4.1
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/models/models_0.js +32 -32
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/models/models_0.js +29 -29
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/AddChannelMemberCommand.d.ts +10 -1
- package/dist-types/commands/AddChannelMembersCommand.d.ts +11 -1
- package/dist-types/commands/InviteCommand.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +71 -36
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.SystemMessage = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.TriggerNotFoundException = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.
|
|
3
|
+
exports.MessageActionNotFoundException = exports.TaggedChannelsLimitReachedException = exports.SystemMessage = exports.ConversationsServiceException = exports.PinnedChannelsLimitReachedException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MarkUnreadChannelsLimitReachedException = exports.TagNotFoundException = exports.TriggerNotFoundException = exports.WebhookEventType = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TagsLimitReachedException = exports.GroupChannelCreationEventType = exports.ChannelAlreadyExistException = exports.AssignChannelVariant = exports.AssignChannelServiceRequest = exports.AssignChannelAssigneeRequest = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ActionTriggerStatus = exports.FileNotFoundException = exports.ConversationFileCategory = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.TargetNotEligibleReason = exports.ValidationException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
5
|
class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
name = "ForbiddenException";
|
|
@@ -49,6 +49,37 @@ class ValidationException extends ConversationsServiceException_1.ConversationsS
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
exports.ValidationException = ValidationException;
|
|
52
|
+
exports.TargetNotEligibleReason = {
|
|
53
|
+
NO_LICENSE: "no_license",
|
|
54
|
+
};
|
|
55
|
+
class TargetNotEligibleException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
56
|
+
name = "TargetNotEligibleException";
|
|
57
|
+
$fault = "client";
|
|
58
|
+
reason;
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "TargetNotEligibleException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts
|
|
64
|
+
});
|
|
65
|
+
Object.setPrototypeOf(this, TargetNotEligibleException.prototype);
|
|
66
|
+
this.reason = opts.reason;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.TargetNotEligibleException = TargetNotEligibleException;
|
|
70
|
+
class TargetNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
71
|
+
name = "TargetNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "TargetNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.TargetNotFoundException = TargetNotFoundException;
|
|
52
83
|
exports.ChannelAccess = {
|
|
53
84
|
PRIVATE: "private",
|
|
54
85
|
PUBLIC: "public",
|
|
@@ -226,37 +257,6 @@ class TagsLimitReachedException extends ConversationsServiceException_1.Conversa
|
|
|
226
257
|
}
|
|
227
258
|
}
|
|
228
259
|
exports.TagsLimitReachedException = TagsLimitReachedException;
|
|
229
|
-
exports.TargetNotEligibleReason = {
|
|
230
|
-
NO_LICENSE: "no_license",
|
|
231
|
-
};
|
|
232
|
-
class TargetNotEligibleException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
233
|
-
name = "TargetNotEligibleException";
|
|
234
|
-
$fault = "client";
|
|
235
|
-
reason;
|
|
236
|
-
constructor(opts) {
|
|
237
|
-
super({
|
|
238
|
-
name: "TargetNotEligibleException",
|
|
239
|
-
$fault: "client",
|
|
240
|
-
...opts
|
|
241
|
-
});
|
|
242
|
-
Object.setPrototypeOf(this, TargetNotEligibleException.prototype);
|
|
243
|
-
this.reason = opts.reason;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
exports.TargetNotEligibleException = TargetNotEligibleException;
|
|
247
|
-
class TargetNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
248
|
-
name = "TargetNotFoundException";
|
|
249
|
-
$fault = "client";
|
|
250
|
-
constructor(opts) {
|
|
251
|
-
super({
|
|
252
|
-
name: "TargetNotFoundException",
|
|
253
|
-
$fault: "client",
|
|
254
|
-
...opts
|
|
255
|
-
});
|
|
256
|
-
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
exports.TargetNotFoundException = TargetNotFoundException;
|
|
260
260
|
class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
261
261
|
name = "MemberNotFoundException";
|
|
262
262
|
$fault = "client";
|
|
@@ -1302,6 +1302,7 @@ const de_AddChannelMemberCommand = async (output, context) => {
|
|
|
1302
1302
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1303
1303
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1304
1304
|
'member': smithy_client_1._json,
|
|
1305
|
+
'skippedMember': smithy_client_1._json,
|
|
1305
1306
|
'user': smithy_client_1._json,
|
|
1306
1307
|
});
|
|
1307
1308
|
Object.assign(contents, doc);
|
|
@@ -1318,6 +1319,7 @@ const de_AddChannelMembersCommand = async (output, context) => {
|
|
|
1318
1319
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1319
1320
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1320
1321
|
'members': smithy_client_1._json,
|
|
1322
|
+
'skippedMembers': smithy_client_1._json,
|
|
1321
1323
|
'users': smithy_client_1._json,
|
|
1322
1324
|
});
|
|
1323
1325
|
Object.assign(contents, doc);
|
|
@@ -1728,6 +1730,7 @@ const de_InviteCommand = async (output, context) => {
|
|
|
1728
1730
|
});
|
|
1729
1731
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
1730
1732
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1733
|
+
'skippedInvitees': smithy_client_1._json,
|
|
1731
1734
|
'users': smithy_client_1._json,
|
|
1732
1735
|
});
|
|
1733
1736
|
Object.assign(contents, doc);
|
|
@@ -43,6 +43,35 @@ export class ValidationException extends __BaseException {
|
|
|
43
43
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
export const TargetNotEligibleReason = {
|
|
47
|
+
NO_LICENSE: "no_license",
|
|
48
|
+
};
|
|
49
|
+
export class TargetNotEligibleException extends __BaseException {
|
|
50
|
+
name = "TargetNotEligibleException";
|
|
51
|
+
$fault = "client";
|
|
52
|
+
reason;
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "TargetNotEligibleException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, TargetNotEligibleException.prototype);
|
|
60
|
+
this.reason = opts.reason;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export class TargetNotFoundException extends __BaseException {
|
|
64
|
+
name = "TargetNotFoundException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "TargetNotFoundException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts
|
|
71
|
+
});
|
|
72
|
+
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
46
75
|
export const ChannelAccess = {
|
|
47
76
|
PRIVATE: "private",
|
|
48
77
|
PUBLIC: "public",
|
|
@@ -215,35 +244,6 @@ export class TagsLimitReachedException extends __BaseException {
|
|
|
215
244
|
Object.setPrototypeOf(this, TagsLimitReachedException.prototype);
|
|
216
245
|
}
|
|
217
246
|
}
|
|
218
|
-
export const TargetNotEligibleReason = {
|
|
219
|
-
NO_LICENSE: "no_license",
|
|
220
|
-
};
|
|
221
|
-
export class TargetNotEligibleException extends __BaseException {
|
|
222
|
-
name = "TargetNotEligibleException";
|
|
223
|
-
$fault = "client";
|
|
224
|
-
reason;
|
|
225
|
-
constructor(opts) {
|
|
226
|
-
super({
|
|
227
|
-
name: "TargetNotEligibleException",
|
|
228
|
-
$fault: "client",
|
|
229
|
-
...opts
|
|
230
|
-
});
|
|
231
|
-
Object.setPrototypeOf(this, TargetNotEligibleException.prototype);
|
|
232
|
-
this.reason = opts.reason;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
export class TargetNotFoundException extends __BaseException {
|
|
236
|
-
name = "TargetNotFoundException";
|
|
237
|
-
$fault = "client";
|
|
238
|
-
constructor(opts) {
|
|
239
|
-
super({
|
|
240
|
-
name: "TargetNotFoundException",
|
|
241
|
-
$fault: "client",
|
|
242
|
-
...opts
|
|
243
|
-
});
|
|
244
|
-
Object.setPrototypeOf(this, TargetNotFoundException.prototype);
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
247
|
export class MemberNotFoundException extends __BaseException {
|
|
248
248
|
name = "MemberNotFoundException";
|
|
249
249
|
$fault = "client";
|
|
@@ -1232,6 +1232,7 @@ export const de_AddChannelMemberCommand = async (output, context) => {
|
|
|
1232
1232
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1233
1233
|
const doc = take(data, {
|
|
1234
1234
|
'member': _json,
|
|
1235
|
+
'skippedMember': _json,
|
|
1235
1236
|
'user': _json,
|
|
1236
1237
|
});
|
|
1237
1238
|
Object.assign(contents, doc);
|
|
@@ -1247,6 +1248,7 @@ export const de_AddChannelMembersCommand = async (output, context) => {
|
|
|
1247
1248
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1248
1249
|
const doc = take(data, {
|
|
1249
1250
|
'members': _json,
|
|
1251
|
+
'skippedMembers': _json,
|
|
1250
1252
|
'users': _json,
|
|
1251
1253
|
});
|
|
1252
1254
|
Object.assign(contents, doc);
|
|
@@ -1629,6 +1631,7 @@ export const de_InviteCommand = async (output, context) => {
|
|
|
1629
1631
|
});
|
|
1630
1632
|
const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
|
|
1631
1633
|
const doc = take(data, {
|
|
1634
|
+
'skippedInvitees': _json,
|
|
1632
1635
|
'users': _json,
|
|
1633
1636
|
});
|
|
1634
1637
|
Object.assign(contents, doc);
|
|
@@ -27,7 +27,11 @@ declare const AddChannelMemberCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Adds a single member to an existing channel.
|
|
30
|
+
* Adds a single member to an existing channel.
|
|
31
|
+
* This operation will either add an existing user or invite a new user to the channel.
|
|
32
|
+
* This operation is idempotent, meaning that if the member already exists, the operation will still return a successful response.
|
|
33
|
+
* If the specified member cannot be added because the account is deactivated in GetStream, the response returns `skippedMember` instead of `member` and `user`.
|
|
34
|
+
*
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -74,6 +78,11 @@ declare const AddChannelMemberCommand_base: {
|
|
|
74
78
|
* // createdAt: "STRING_VALUE",
|
|
75
79
|
* // updatedAt: "STRING_VALUE",
|
|
76
80
|
* // },
|
|
81
|
+
* // skippedMember: { // SkippedMember
|
|
82
|
+
* // id: "STRING_VALUE",
|
|
83
|
+
* // email: "STRING_VALUE",
|
|
84
|
+
* // phone: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
77
86
|
* // };
|
|
78
87
|
*
|
|
79
88
|
* ```
|
|
@@ -27,7 +27,10 @@ declare const AddChannelMembersCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Adds members to an existing channel.
|
|
30
|
+
* Adds members to an existing channel.
|
|
31
|
+
* This operation is idempotent, meaning that if a member already exists in the channel, the operation will still return a successful response.
|
|
32
|
+
* If some members cannot be added because their accounts are deactivated in GetStream, the operation still succeeds for the rest and returns skipped members in the response.
|
|
33
|
+
*
|
|
31
34
|
* @example
|
|
32
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
36
|
* ```javascript
|
|
@@ -83,6 +86,13 @@ declare const AddChannelMembersCommand_base: {
|
|
|
83
86
|
* // updatedAt: "STRING_VALUE",
|
|
84
87
|
* // },
|
|
85
88
|
* // ],
|
|
89
|
+
* // skippedMembers: [ // SkippedMembersList // required
|
|
90
|
+
* // { // SkippedMember
|
|
91
|
+
* // id: "STRING_VALUE",
|
|
92
|
+
* // email: "STRING_VALUE",
|
|
93
|
+
* // phone: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
86
96
|
* // };
|
|
87
97
|
*
|
|
88
98
|
* ```
|
|
@@ -28,6 +28,10 @@ declare const InviteCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Invite a list of users to x-bees. This operation creates an account for specified emails or phone numbers. Use this method to create users who can be added to conversations later.
|
|
31
|
+
* If an invitee resolves to an account that is currently deactivated in GetStream, the operation does not fail; instead, that invitee is reported in `skippedInvitees` and is not included in `users`.
|
|
32
|
+
*
|
|
33
|
+
*
|
|
34
|
+
* @deprecated Use InviteCommand from xbees-users-client instead.
|
|
31
35
|
* @example
|
|
32
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
37
|
* ```javascript
|
|
@@ -69,6 +73,13 @@ declare const InviteCommand_base: {
|
|
|
69
73
|
* // updatedAt: "STRING_VALUE",
|
|
70
74
|
* // },
|
|
71
75
|
* // ],
|
|
76
|
+
* // skippedInvitees: [ // SkippedMembersList // required
|
|
77
|
+
* // { // SkippedMember
|
|
78
|
+
* // id: "STRING_VALUE",
|
|
79
|
+
* // email: "STRING_VALUE",
|
|
80
|
+
* // phone: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
72
83
|
* // };
|
|
73
84
|
*
|
|
74
85
|
* ```
|
|
@@ -67,6 +67,40 @@ export interface TemplateWithParameters {
|
|
|
67
67
|
name: string;
|
|
68
68
|
parameters?: (TemplateParameter)[] | undefined;
|
|
69
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
* @enum
|
|
73
|
+
*/
|
|
74
|
+
export declare const TargetNotEligibleReason: {
|
|
75
|
+
readonly NO_LICENSE: "no_license";
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export type TargetNotEligibleReason = typeof TargetNotEligibleReason[keyof typeof TargetNotEligibleReason];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class TargetNotEligibleException extends __BaseException {
|
|
85
|
+
readonly name: "TargetNotEligibleException";
|
|
86
|
+
readonly $fault: "client";
|
|
87
|
+
reason?: TargetNotEligibleReason | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class TargetNotFoundException extends __BaseException {
|
|
97
|
+
readonly name: "TargetNotFoundException";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
|
|
103
|
+
}
|
|
70
104
|
/**
|
|
71
105
|
* @public
|
|
72
106
|
* @enum
|
|
@@ -639,6 +673,26 @@ export interface ChannelMember {
|
|
|
639
673
|
createdAt: string;
|
|
640
674
|
role: ChannelMemberRole;
|
|
641
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* @public
|
|
678
|
+
*/
|
|
679
|
+
export interface SkippedMember {
|
|
680
|
+
/**
|
|
681
|
+
* The unique identifier of the skipped user if it is known.
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
id?: string | undefined;
|
|
685
|
+
/**
|
|
686
|
+
* The email address of the skipped user if it is known.
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
email?: string | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* The phone number of the skipped user if it is known.
|
|
692
|
+
* @public
|
|
693
|
+
*/
|
|
694
|
+
phone?: string | undefined;
|
|
695
|
+
}
|
|
642
696
|
/**
|
|
643
697
|
* @public
|
|
644
698
|
*/
|
|
@@ -647,12 +701,17 @@ export interface AddChannelMemberOutput {
|
|
|
647
701
|
* Details of the member added to the channel.
|
|
648
702
|
* @public
|
|
649
703
|
*/
|
|
650
|
-
member
|
|
704
|
+
member?: ChannelMember | undefined;
|
|
651
705
|
/**
|
|
652
706
|
* Details of the user added to the channel.
|
|
653
707
|
* @public
|
|
654
708
|
*/
|
|
655
|
-
user
|
|
709
|
+
user?: User | undefined;
|
|
710
|
+
/**
|
|
711
|
+
* Details of the skipped user if the member was not added, for example because the account is deactivated in GetStream.
|
|
712
|
+
* @public
|
|
713
|
+
*/
|
|
714
|
+
skippedMember?: SkippedMember | undefined;
|
|
656
715
|
}
|
|
657
716
|
/**
|
|
658
717
|
* @public
|
|
@@ -730,6 +789,11 @@ export interface AddChannelMembersOutput {
|
|
|
730
789
|
* @public
|
|
731
790
|
*/
|
|
732
791
|
users: (User)[];
|
|
792
|
+
/**
|
|
793
|
+
* The list of users skipped during the operation, for example because they are deactivated in GetStream.
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
skippedMembers: (SkippedMember)[];
|
|
733
797
|
}
|
|
734
798
|
/**
|
|
735
799
|
* @public
|
|
@@ -1176,40 +1240,6 @@ export interface CreateKiteChannelInput {
|
|
|
1176
1240
|
export interface CreateKiteChannelOutput {
|
|
1177
1241
|
channel: Channel;
|
|
1178
1242
|
}
|
|
1179
|
-
/**
|
|
1180
|
-
* @public
|
|
1181
|
-
* @enum
|
|
1182
|
-
*/
|
|
1183
|
-
export declare const TargetNotEligibleReason: {
|
|
1184
|
-
readonly NO_LICENSE: "no_license";
|
|
1185
|
-
};
|
|
1186
|
-
/**
|
|
1187
|
-
* @public
|
|
1188
|
-
*/
|
|
1189
|
-
export type TargetNotEligibleReason = typeof TargetNotEligibleReason[keyof typeof TargetNotEligibleReason];
|
|
1190
|
-
/**
|
|
1191
|
-
* @public
|
|
1192
|
-
*/
|
|
1193
|
-
export declare class TargetNotEligibleException extends __BaseException {
|
|
1194
|
-
readonly name: "TargetNotEligibleException";
|
|
1195
|
-
readonly $fault: "client";
|
|
1196
|
-
reason?: TargetNotEligibleReason | undefined;
|
|
1197
|
-
/**
|
|
1198
|
-
* @internal
|
|
1199
|
-
*/
|
|
1200
|
-
constructor(opts: __ExceptionOptionType<TargetNotEligibleException, __BaseException>);
|
|
1201
|
-
}
|
|
1202
|
-
/**
|
|
1203
|
-
* @public
|
|
1204
|
-
*/
|
|
1205
|
-
export declare class TargetNotFoundException extends __BaseException {
|
|
1206
|
-
readonly name: "TargetNotFoundException";
|
|
1207
|
-
readonly $fault: "client";
|
|
1208
|
-
/**
|
|
1209
|
-
* @internal
|
|
1210
|
-
*/
|
|
1211
|
-
constructor(opts: __ExceptionOptionType<TargetNotFoundException, __BaseException>);
|
|
1212
|
-
}
|
|
1213
1243
|
/**
|
|
1214
1244
|
* @public
|
|
1215
1245
|
*/
|
|
@@ -2115,6 +2145,11 @@ export interface InviteOutput {
|
|
|
2115
2145
|
* @public
|
|
2116
2146
|
*/
|
|
2117
2147
|
users: (User)[];
|
|
2148
|
+
/**
|
|
2149
|
+
* 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.
|
|
2150
|
+
* @public
|
|
2151
|
+
*/
|
|
2152
|
+
skippedInvitees: (SkippedMember)[];
|
|
2118
2153
|
}
|
|
2119
2154
|
/**
|
|
2120
2155
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.1",
|
|
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",
|