@wildix/stream-client 4.2.3 → 4.4.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.
- package/dist-cjs/StreamService.js +10 -0
- package/dist-cjs/commands/CreateScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/DeleteScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/ListScheduledMessagesCommand.js +20 -0
- package/dist-cjs/commands/SendScheduledMessageNowCommand.js +20 -0
- package/dist-cjs/commands/UpdateScheduledMessageCommand.js +20 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/enums.js +29 -1
- package/dist-cjs/models/errors.js +29 -1
- package/dist-cjs/schemas/schemas_0.js +174 -26
- package/dist-es/StreamService.js +10 -0
- package/dist-es/commands/CreateScheduledMessageCommand.js +16 -0
- package/dist-es/commands/DeleteScheduledMessageCommand.js +16 -0
- package/dist-es/commands/ListScheduledMessagesCommand.js +16 -0
- package/dist-es/commands/SendScheduledMessageNowCommand.js +16 -0
- package/dist-es/commands/UpdateScheduledMessageCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/errors.js +26 -0
- package/dist-es/schemas/schemas_0.js +169 -21
- package/dist-types/StreamService.d.ts +36 -0
- package/dist-types/StreamServiceClient.d.ts +7 -2
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +2 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +45 -0
- package/dist-types/commands/CreateScheduledMessageCommand.d.ts +147 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +22 -0
- package/dist-types/commands/DeleteScheduledMessageCommand.d.ts +89 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetInboxCommand.d.ts +1 -0
- package/dist-types/commands/GetMessageCommand.d.ts +22 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateSmsChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateTelephonyChannelCommand.d.ts +1 -0
- package/dist-types/commands/GetOrCreateWhatsAppChannelCommand.d.ts +1 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +22 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +22 -0
- package/dist-types/commands/ListScheduledMessagesCommand.d.ts +124 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +44 -0
- package/dist-types/commands/PinMessageCommand.d.ts +22 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SearchChannelsCommand.d.ts +1 -0
- package/dist-types/commands/SearchMessagesCommand.d.ts +22 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -1
- package/dist-types/commands/SendGiphyCommand.d.ts +22 -0
- package/dist-types/commands/SendMessageCommand.d.ts +44 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +22 -0
- package/dist-types/commands/SendScheduledMessageNowCommand.d.ts +124 -0
- package/dist-types/commands/SendSystemMessageCommand.d.ts +22 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +22 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +44 -0
- package/dist-types/commands/UpdateScheduledMessageCommand.d.ts +146 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +77 -0
- package/dist-types/models/errors.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +500 -95
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/package.json +1 -1
|
@@ -7,11 +7,13 @@ const AddChannelMembersCommand_1 = require("./commands/AddChannelMembersCommand"
|
|
|
7
7
|
const AssignChannelCommand_1 = require("./commands/AssignChannelCommand");
|
|
8
8
|
const CreateGroupChannelCommand_1 = require("./commands/CreateGroupChannelCommand");
|
|
9
9
|
const CreateKiteChannelCommand_1 = require("./commands/CreateKiteChannelCommand");
|
|
10
|
+
const CreateScheduledMessageCommand_1 = require("./commands/CreateScheduledMessageCommand");
|
|
10
11
|
const CreateSectionCommand_1 = require("./commands/CreateSectionCommand");
|
|
11
12
|
const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
|
|
12
13
|
const DeleteChannelMemberCommand_1 = require("./commands/DeleteChannelMemberCommand");
|
|
13
14
|
const DeleteMessageCommand_1 = require("./commands/DeleteMessageCommand");
|
|
14
15
|
const DeleteMessageReactionCommand_1 = require("./commands/DeleteMessageReactionCommand");
|
|
16
|
+
const DeleteScheduledMessageCommand_1 = require("./commands/DeleteScheduledMessageCommand");
|
|
15
17
|
const DeleteSectionCommand_1 = require("./commands/DeleteSectionCommand");
|
|
16
18
|
const GetChannelCommand_1 = require("./commands/GetChannelCommand");
|
|
17
19
|
const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
|
|
@@ -36,6 +38,7 @@ const ListChannelMembersReadStatusCommand_1 = require("./commands/ListChannelMem
|
|
|
36
38
|
const ListChannelsCommand_1 = require("./commands/ListChannelsCommand");
|
|
37
39
|
const ListMentionsCommand_1 = require("./commands/ListMentionsCommand");
|
|
38
40
|
const ListMessagesCommand_1 = require("./commands/ListMessagesCommand");
|
|
41
|
+
const ListScheduledMessagesCommand_1 = require("./commands/ListScheduledMessagesCommand");
|
|
39
42
|
const MarkReadCommand_1 = require("./commands/MarkReadCommand");
|
|
40
43
|
const MarkUnreadCommand_1 = require("./commands/MarkUnreadCommand");
|
|
41
44
|
const MoveChannelToSectionCommand_1 = require("./commands/MoveChannelToSectionCommand");
|
|
@@ -54,6 +57,7 @@ const SearchUsersCommand_1 = require("./commands/SearchUsersCommand");
|
|
|
54
57
|
const SendGiphyCommand_1 = require("./commands/SendGiphyCommand");
|
|
55
58
|
const SendMessageCommand_1 = require("./commands/SendMessageCommand");
|
|
56
59
|
const SendMessageReactionCommand_1 = require("./commands/SendMessageReactionCommand");
|
|
60
|
+
const SendScheduledMessageNowCommand_1 = require("./commands/SendScheduledMessageNowCommand");
|
|
57
61
|
const SendSystemMessageCommand_1 = require("./commands/SendSystemMessageCommand");
|
|
58
62
|
const SendTypingStartCommand_1 = require("./commands/SendTypingStartCommand");
|
|
59
63
|
const SendTypingStopCommand_1 = require("./commands/SendTypingStopCommand");
|
|
@@ -63,6 +67,7 @@ const UnpinChannelCommand_1 = require("./commands/UnpinChannelCommand");
|
|
|
63
67
|
const UnpinMessageCommand_1 = require("./commands/UnpinMessageCommand");
|
|
64
68
|
const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
|
|
65
69
|
const UpdateMessageCommand_1 = require("./commands/UpdateMessageCommand");
|
|
70
|
+
const UpdateScheduledMessageCommand_1 = require("./commands/UpdateScheduledMessageCommand");
|
|
66
71
|
const UploadFileCommand_1 = require("./commands/UploadFileCommand");
|
|
67
72
|
const StreamServiceClient_1 = require("./StreamServiceClient");
|
|
68
73
|
const commands = {
|
|
@@ -71,11 +76,13 @@ const commands = {
|
|
|
71
76
|
AssignChannelCommand: AssignChannelCommand_1.AssignChannelCommand,
|
|
72
77
|
CreateGroupChannelCommand: CreateGroupChannelCommand_1.CreateGroupChannelCommand,
|
|
73
78
|
CreateKiteChannelCommand: CreateKiteChannelCommand_1.CreateKiteChannelCommand,
|
|
79
|
+
CreateScheduledMessageCommand: CreateScheduledMessageCommand_1.CreateScheduledMessageCommand,
|
|
74
80
|
CreateSectionCommand: CreateSectionCommand_1.CreateSectionCommand,
|
|
75
81
|
DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
|
|
76
82
|
DeleteChannelMemberCommand: DeleteChannelMemberCommand_1.DeleteChannelMemberCommand,
|
|
77
83
|
DeleteMessageCommand: DeleteMessageCommand_1.DeleteMessageCommand,
|
|
78
84
|
DeleteMessageReactionCommand: DeleteMessageReactionCommand_1.DeleteMessageReactionCommand,
|
|
85
|
+
DeleteScheduledMessageCommand: DeleteScheduledMessageCommand_1.DeleteScheduledMessageCommand,
|
|
79
86
|
DeleteSectionCommand: DeleteSectionCommand_1.DeleteSectionCommand,
|
|
80
87
|
GetChannelCommand: GetChannelCommand_1.GetChannelCommand,
|
|
81
88
|
GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
|
|
@@ -100,6 +107,7 @@ const commands = {
|
|
|
100
107
|
ListChannelsCommand: ListChannelsCommand_1.ListChannelsCommand,
|
|
101
108
|
ListMentionsCommand: ListMentionsCommand_1.ListMentionsCommand,
|
|
102
109
|
ListMessagesCommand: ListMessagesCommand_1.ListMessagesCommand,
|
|
110
|
+
ListScheduledMessagesCommand: ListScheduledMessagesCommand_1.ListScheduledMessagesCommand,
|
|
103
111
|
MarkReadCommand: MarkReadCommand_1.MarkReadCommand,
|
|
104
112
|
MarkUnreadCommand: MarkUnreadCommand_1.MarkUnreadCommand,
|
|
105
113
|
MoveChannelToSectionCommand: MoveChannelToSectionCommand_1.MoveChannelToSectionCommand,
|
|
@@ -118,6 +126,7 @@ const commands = {
|
|
|
118
126
|
SendGiphyCommand: SendGiphyCommand_1.SendGiphyCommand,
|
|
119
127
|
SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
|
|
120
128
|
SendMessageReactionCommand: SendMessageReactionCommand_1.SendMessageReactionCommand,
|
|
129
|
+
SendScheduledMessageNowCommand: SendScheduledMessageNowCommand_1.SendScheduledMessageNowCommand,
|
|
121
130
|
SendSystemMessageCommand: SendSystemMessageCommand_1.SendSystemMessageCommand,
|
|
122
131
|
SendTypingStartCommand: SendTypingStartCommand_1.SendTypingStartCommand,
|
|
123
132
|
SendTypingStopCommand: SendTypingStopCommand_1.SendTypingStopCommand,
|
|
@@ -127,6 +136,7 @@ const commands = {
|
|
|
127
136
|
UnpinMessageCommand: UnpinMessageCommand_1.UnpinMessageCommand,
|
|
128
137
|
UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
|
|
129
138
|
UpdateMessageCommand: UpdateMessageCommand_1.UpdateMessageCommand,
|
|
139
|
+
UpdateScheduledMessageCommand: UpdateScheduledMessageCommand_1.UpdateScheduledMessageCommand,
|
|
130
140
|
UploadFileCommand: UploadFileCommand_1.UploadFileCommand,
|
|
131
141
|
};
|
|
132
142
|
class StreamService extends StreamServiceClient_1.StreamServiceClient {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateScheduledMessageCommand = 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 CreateScheduledMessageCommand 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("StreamService", "CreateScheduledMessage", {})
|
|
16
|
+
.n("StreamServiceClient", "CreateScheduledMessageCommand")
|
|
17
|
+
.sc(schemas_0_1.CreateScheduledMessage$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.CreateScheduledMessageCommand = CreateScheduledMessageCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteScheduledMessageCommand = 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 DeleteScheduledMessageCommand 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("StreamService", "DeleteScheduledMessage", {})
|
|
16
|
+
.n("StreamServiceClient", "DeleteScheduledMessageCommand")
|
|
17
|
+
.sc(schemas_0_1.DeleteScheduledMessage$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.DeleteScheduledMessageCommand = DeleteScheduledMessageCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListScheduledMessagesCommand = 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 ListScheduledMessagesCommand 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("StreamService", "ListScheduledMessages", {})
|
|
16
|
+
.n("StreamServiceClient", "ListScheduledMessagesCommand")
|
|
17
|
+
.sc(schemas_0_1.ListScheduledMessages$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.ListScheduledMessagesCommand = ListScheduledMessagesCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SendScheduledMessageNowCommand = 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 SendScheduledMessageNowCommand 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("StreamService", "SendScheduledMessageNow", {})
|
|
16
|
+
.n("StreamServiceClient", "SendScheduledMessageNowCommand")
|
|
17
|
+
.sc(schemas_0_1.SendScheduledMessageNow$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.SendScheduledMessageNowCommand = SendScheduledMessageNowCommand;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateScheduledMessageCommand = 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 UpdateScheduledMessageCommand 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("StreamService", "UpdateScheduledMessage", {})
|
|
16
|
+
.n("StreamServiceClient", "UpdateScheduledMessageCommand")
|
|
17
|
+
.sc(schemas_0_1.UpdateScheduledMessage$)
|
|
18
|
+
.build() {
|
|
19
|
+
}
|
|
20
|
+
exports.UpdateScheduledMessageCommand = UpdateScheduledMessageCommand;
|
|
@@ -6,11 +6,13 @@ tslib_1.__exportStar(require("./AddChannelMembersCommand"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./AssignChannelCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateGroupChannelCommand"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./CreateKiteChannelCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateScheduledMessageCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreateSectionCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DeleteChannelMemberCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./DeleteMessageCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./DeleteMessageReactionCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteScheduledMessageCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./DeleteSectionCommand"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./GetChannelCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
|
|
@@ -35,6 +37,7 @@ tslib_1.__exportStar(require("./ListChannelMembersReadStatusCommand"), exports);
|
|
|
35
37
|
tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
|
|
36
38
|
tslib_1.__exportStar(require("./ListMentionsCommand"), exports);
|
|
37
39
|
tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListScheduledMessagesCommand"), exports);
|
|
38
41
|
tslib_1.__exportStar(require("./MarkReadCommand"), exports);
|
|
39
42
|
tslib_1.__exportStar(require("./MarkUnreadCommand"), exports);
|
|
40
43
|
tslib_1.__exportStar(require("./MoveChannelToSectionCommand"), exports);
|
|
@@ -53,6 +56,7 @@ tslib_1.__exportStar(require("./SearchUsersCommand"), exports);
|
|
|
53
56
|
tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
|
|
54
57
|
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|
|
55
58
|
tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./SendScheduledMessageNowCommand"), exports);
|
|
56
60
|
tslib_1.__exportStar(require("./SendSystemMessageCommand"), exports);
|
|
57
61
|
tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
|
|
58
62
|
tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
|
|
@@ -62,4 +66,5 @@ tslib_1.__exportStar(require("./UnpinChannelCommand"), exports);
|
|
|
62
66
|
tslib_1.__exportStar(require("./UnpinMessageCommand"), exports);
|
|
63
67
|
tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
|
|
64
68
|
tslib_1.__exportStar(require("./UpdateMessageCommand"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./UpdateScheduledMessageCommand"), exports);
|
|
65
70
|
tslib_1.__exportStar(require("./UploadFileCommand"), exports);
|
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchUsersMode = exports.UserMatchedOn = exports.SearchSort = exports.MessageUnsetFields = exports.MessageAnchor = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileCategory = exports.DownloadStrategy = exports.SectionType = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.MessageMessagingStatus = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelWhatsAppStatus = exports.ChannelMessagingStatus = exports.MessagingChannel = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AttachmentType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ButtonVariant = void 0;
|
|
3
|
+
exports.SearchUsersMode = exports.SearchUsersKind = exports.UserMatchedOn = exports.SearchSort = exports.MessageUnsetFields = exports.MessageAnchor = exports.MentionsFilter = exports.GroupChannelUnsetOptions = exports.FileCategory = exports.DownloadStrategy = exports.SectionType = exports.ScheduledMessageStatus = exports.ScheduledMessageErrorCode = exports.TargetNotEligibleReason = exports.MessageWhatsAppStatus = exports.MessageSmsStatus = exports.MessageMessagingStatus = exports.ChatVerbosity = exports.WilmaChatTurnOutcome = exports.GroupChannelCreationEventType = exports.ChannelsFilter = exports.ChannelWhatsAppStatus = exports.ChannelMessagingStatus = exports.MessagingChannel = exports.MessageType = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.AttachmentType = exports.AssignChannelVariant = exports.ChannelMemberRole = exports.ButtonVariant = void 0;
|
|
4
4
|
exports.ButtonVariant = {
|
|
5
5
|
CONTAINED: "contained",
|
|
6
6
|
OUTLINED: "outlined",
|
|
@@ -62,6 +62,16 @@ exports.GroupChannelCreationEventType = {
|
|
|
62
62
|
CONVERSATION_CREATED: "conversation_created",
|
|
63
63
|
CONVERSATION_CREATED_WITH_NAME: "conversation_created_with_name",
|
|
64
64
|
};
|
|
65
|
+
exports.WilmaChatTurnOutcome = {
|
|
66
|
+
DONE: "done",
|
|
67
|
+
FAILED: "failed",
|
|
68
|
+
STOPPED: "stopped",
|
|
69
|
+
};
|
|
70
|
+
exports.ChatVerbosity = {
|
|
71
|
+
FULL: "full",
|
|
72
|
+
NONE: "none",
|
|
73
|
+
SIMPLE: "simple",
|
|
74
|
+
};
|
|
65
75
|
exports.MessageMessagingStatus = {
|
|
66
76
|
DELIVERED: "delivered",
|
|
67
77
|
ERROR: "error",
|
|
@@ -83,6 +93,19 @@ exports.MessageWhatsAppStatus = {
|
|
|
83
93
|
exports.TargetNotEligibleReason = {
|
|
84
94
|
NO_LICENSE: "no_license",
|
|
85
95
|
};
|
|
96
|
+
exports.ScheduledMessageErrorCode = {
|
|
97
|
+
ATTACHMENT_UNAVAILABLE: "ATTACHMENT_UNAVAILABLE",
|
|
98
|
+
CHANNEL_NOT_FOUND: "CHANNEL_NOT_FOUND",
|
|
99
|
+
NOT_A_MEMBER: "NOT_A_MEMBER",
|
|
100
|
+
SEND_FAILED: "SEND_FAILED",
|
|
101
|
+
TOO_LATE: "TOO_LATE",
|
|
102
|
+
};
|
|
103
|
+
exports.ScheduledMessageStatus = {
|
|
104
|
+
FAILED: "failed",
|
|
105
|
+
PAUSED: "paused",
|
|
106
|
+
SCHEDULED: "scheduled",
|
|
107
|
+
SENDING: "sending",
|
|
108
|
+
};
|
|
86
109
|
exports.SectionType = {
|
|
87
110
|
CUSTOM: "custom",
|
|
88
111
|
SYSTEM: "system",
|
|
@@ -149,6 +172,11 @@ exports.UserMatchedOn = {
|
|
|
149
172
|
PHONETIC: "phonetic",
|
|
150
173
|
PREFIX: "prefix",
|
|
151
174
|
};
|
|
175
|
+
exports.SearchUsersKind = {
|
|
176
|
+
ALL: "all",
|
|
177
|
+
BOT: "bot",
|
|
178
|
+
HUMAN: "human",
|
|
179
|
+
};
|
|
152
180
|
exports.SearchUsersMode = {
|
|
153
181
|
AUTO: "auto",
|
|
154
182
|
EMAIL: "email",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MarkUnreadChannelsLimitReachedException = exports.FileNotFoundException = exports.SectionNotFoundException = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.ChannelAlreadyExistException = exports.StreamServiceException = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ValidationException = exports.UnauthorizedException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
|
|
3
|
+
exports.MarkUnreadChannelsLimitReachedException = exports.FileNotFoundException = exports.SectionNotFoundException = exports.ScheduledMessageNotFoundException = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ScheduledMessageLimitExceededException = exports.TargetNotFoundException = exports.TargetNotEligibleException = exports.ChannelAlreadyExistException = exports.StreamServiceException = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ValidationException = exports.UnauthorizedException = exports.RateLimitExceededException = exports.ForbiddenException = void 0;
|
|
4
4
|
const StreamServiceServiceException_1 = require("./StreamServiceServiceException");
|
|
5
5
|
class ForbiddenException extends StreamServiceServiceException_1.StreamServiceServiceException {
|
|
6
6
|
name = "ForbiddenException";
|
|
@@ -142,6 +142,21 @@ class TargetNotFoundException extends StreamServiceServiceException_1.StreamServ
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
exports.TargetNotFoundException = TargetNotFoundException;
|
|
145
|
+
class ScheduledMessageLimitExceededException extends StreamServiceServiceException_1.StreamServiceServiceException {
|
|
146
|
+
name = "ScheduledMessageLimitExceededException";
|
|
147
|
+
$fault = "client";
|
|
148
|
+
limit;
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "ScheduledMessageLimitExceededException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, ScheduledMessageLimitExceededException.prototype);
|
|
156
|
+
this.limit = opts.limit;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.ScheduledMessageLimitExceededException = ScheduledMessageLimitExceededException;
|
|
145
160
|
class MemberNotFoundException extends StreamServiceServiceException_1.StreamServiceServiceException {
|
|
146
161
|
name = "MemberNotFoundException";
|
|
147
162
|
$fault = "client";
|
|
@@ -168,6 +183,19 @@ class MessageNotFoundException extends StreamServiceServiceException_1.StreamSer
|
|
|
168
183
|
}
|
|
169
184
|
}
|
|
170
185
|
exports.MessageNotFoundException = MessageNotFoundException;
|
|
186
|
+
class ScheduledMessageNotFoundException extends StreamServiceServiceException_1.StreamServiceServiceException {
|
|
187
|
+
name = "ScheduledMessageNotFoundException";
|
|
188
|
+
$fault = "client";
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "ScheduledMessageNotFoundException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, ScheduledMessageNotFoundException.prototype);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
exports.ScheduledMessageNotFoundException = ScheduledMessageNotFoundException;
|
|
171
199
|
class SectionNotFoundException extends StreamServiceServiceException_1.StreamServiceServiceException {
|
|
172
200
|
name = "SectionNotFoundException";
|
|
173
201
|
$fault = "client";
|