@rivet-gg/chat 0.0.2 → 0.0.5

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 (40) hide show
  1. package/dist-cjs/ChatService.js +112 -0
  2. package/dist-cjs/ChatServiceClient.js +47 -0
  3. package/dist-cjs/commands/GetDirectThreadCommand.js +36 -0
  4. package/dist-cjs/commands/GetThreadHistoryCommand.js +36 -0
  5. package/dist-cjs/commands/GetThreadTopicCommand.js +36 -0
  6. package/dist-cjs/commands/SendChatMessageCommand.js +36 -0
  7. package/dist-cjs/commands/SetThreadReadCommand.js +36 -0
  8. package/dist-cjs/commands/SetTypingStatusCommand.js +36 -0
  9. package/dist-cjs/commands/WatchThreadCommand.js +36 -0
  10. package/dist-cjs/commands/index.js +10 -0
  11. package/dist-cjs/index.js +11 -0
  12. package/dist-cjs/models/ChatServiceServiceException.js +11 -0
  13. package/dist-cjs/models/index.js +4 -0
  14. package/dist-cjs/models/models_0.js +600 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +1055 -0
  16. package/dist-cjs/runtimeConfig.browser.js +42 -0
  17. package/dist-cjs/runtimeConfig.js +45 -0
  18. package/dist-cjs/runtimeConfig.native.js +16 -0
  19. package/dist-cjs/runtimeConfig.shared.js +14 -0
  20. package/dist-es/ChatService.js +115 -0
  21. package/dist-es/ChatServiceClient.js +49 -0
  22. package/dist-es/commands/GetDirectThreadCommand.js +39 -0
  23. package/dist-es/commands/GetThreadHistoryCommand.js +39 -0
  24. package/dist-es/commands/GetThreadTopicCommand.js +39 -0
  25. package/dist-es/commands/SendChatMessageCommand.js +39 -0
  26. package/dist-es/commands/SetThreadReadCommand.js +39 -0
  27. package/dist-es/commands/SetTypingStatusCommand.js +39 -0
  28. package/dist-es/commands/WatchThreadCommand.js +39 -0
  29. package/dist-es/commands/index.js +7 -0
  30. package/dist-es/index.js +6 -0
  31. package/dist-es/models/ChatServiceServiceException.js +12 -0
  32. package/dist-es/models/index.js +1 -0
  33. package/dist-es/models/models_0.js +492 -0
  34. package/dist-es/protocols/Aws_restJson1.js +1238 -0
  35. package/dist-es/runtimeConfig.browser.js +25 -0
  36. package/dist-es/runtimeConfig.js +28 -0
  37. package/dist-es/runtimeConfig.native.js +8 -0
  38. package/dist-es/runtimeConfig.shared.js +10 -0
  39. package/dist-types/models/models_0.d.ts +1 -1
  40. package/package.json +1 -1
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatService = void 0;
4
+ const ChatServiceClient_1 = require("./ChatServiceClient");
5
+ const GetDirectThreadCommand_1 = require("./commands/GetDirectThreadCommand");
6
+ const GetThreadHistoryCommand_1 = require("./commands/GetThreadHistoryCommand");
7
+ const GetThreadTopicCommand_1 = require("./commands/GetThreadTopicCommand");
8
+ const SendChatMessageCommand_1 = require("./commands/SendChatMessageCommand");
9
+ const SetThreadReadCommand_1 = require("./commands/SetThreadReadCommand");
10
+ const SetTypingStatusCommand_1 = require("./commands/SetTypingStatusCommand");
11
+ const WatchThreadCommand_1 = require("./commands/WatchThreadCommand");
12
+ class ChatService extends ChatServiceClient_1.ChatServiceClient {
13
+ getDirectThread(args, optionsOrCb, cb) {
14
+ const command = new GetDirectThreadCommand_1.GetDirectThreadCommand(args);
15
+ if (typeof optionsOrCb === "function") {
16
+ this.send(command, optionsOrCb);
17
+ }
18
+ else if (typeof cb === "function") {
19
+ if (typeof optionsOrCb !== "object")
20
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
21
+ this.send(command, optionsOrCb || {}, cb);
22
+ }
23
+ else {
24
+ return this.send(command, optionsOrCb);
25
+ }
26
+ }
27
+ getThreadHistory(args, optionsOrCb, cb) {
28
+ const command = new GetThreadHistoryCommand_1.GetThreadHistoryCommand(args);
29
+ if (typeof optionsOrCb === "function") {
30
+ this.send(command, optionsOrCb);
31
+ }
32
+ else if (typeof cb === "function") {
33
+ if (typeof optionsOrCb !== "object")
34
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
35
+ this.send(command, optionsOrCb || {}, cb);
36
+ }
37
+ else {
38
+ return this.send(command, optionsOrCb);
39
+ }
40
+ }
41
+ getThreadTopic(args, optionsOrCb, cb) {
42
+ const command = new GetThreadTopicCommand_1.GetThreadTopicCommand(args);
43
+ if (typeof optionsOrCb === "function") {
44
+ this.send(command, optionsOrCb);
45
+ }
46
+ else if (typeof cb === "function") {
47
+ if (typeof optionsOrCb !== "object")
48
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
49
+ this.send(command, optionsOrCb || {}, cb);
50
+ }
51
+ else {
52
+ return this.send(command, optionsOrCb);
53
+ }
54
+ }
55
+ sendChatMessage(args, optionsOrCb, cb) {
56
+ const command = new SendChatMessageCommand_1.SendChatMessageCommand(args);
57
+ if (typeof optionsOrCb === "function") {
58
+ this.send(command, optionsOrCb);
59
+ }
60
+ else if (typeof cb === "function") {
61
+ if (typeof optionsOrCb !== "object")
62
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
63
+ this.send(command, optionsOrCb || {}, cb);
64
+ }
65
+ else {
66
+ return this.send(command, optionsOrCb);
67
+ }
68
+ }
69
+ setThreadRead(args, optionsOrCb, cb) {
70
+ const command = new SetThreadReadCommand_1.SetThreadReadCommand(args);
71
+ if (typeof optionsOrCb === "function") {
72
+ this.send(command, optionsOrCb);
73
+ }
74
+ else if (typeof cb === "function") {
75
+ if (typeof optionsOrCb !== "object")
76
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
77
+ this.send(command, optionsOrCb || {}, cb);
78
+ }
79
+ else {
80
+ return this.send(command, optionsOrCb);
81
+ }
82
+ }
83
+ setTypingStatus(args, optionsOrCb, cb) {
84
+ const command = new SetTypingStatusCommand_1.SetTypingStatusCommand(args);
85
+ if (typeof optionsOrCb === "function") {
86
+ this.send(command, optionsOrCb);
87
+ }
88
+ else if (typeof cb === "function") {
89
+ if (typeof optionsOrCb !== "object")
90
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
91
+ this.send(command, optionsOrCb || {}, cb);
92
+ }
93
+ else {
94
+ return this.send(command, optionsOrCb);
95
+ }
96
+ }
97
+ watchThread(args, optionsOrCb, cb) {
98
+ const command = new WatchThreadCommand_1.WatchThreadCommand(args);
99
+ if (typeof optionsOrCb === "function") {
100
+ this.send(command, optionsOrCb);
101
+ }
102
+ else if (typeof cb === "function") {
103
+ if (typeof optionsOrCb !== "object")
104
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
105
+ this.send(command, optionsOrCb || {}, cb);
106
+ }
107
+ else {
108
+ return this.send(command, optionsOrCb);
109
+ }
110
+ }
111
+ }
112
+ exports.ChatService = ChatService;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatServiceClient = void 0;
4
+ const runtimeConfig_1 = require("./runtimeConfig");
5
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
6
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
8
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
9
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const common_1 = require("@rivet-gg/common");
13
+ class ChatServiceClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ if (!configuration.hasOwnProperty("requestHandler")) {
16
+ if (typeof window !== "undefined")
17
+ configuration.requestHandler = common_1.middleware.browser.requestHandlerMiddleware(configuration.token);
18
+ else
19
+ configuration.requestHandler = common_1.middleware.nodejs.requestHandlerMiddleware(configuration.token);
20
+ }
21
+ function rivetConfig(input) {
22
+ var _a, _b, _c;
23
+ return Object.assign(Object.assign({}, input), {
24
+ endpoint: (_a = configuration.endpoint) !== null && _a !== void 0 ? _a : (typeof process !== "undefined" ?
25
+ ((_b = process.env.RIVET_CHAT_API_URL) !== null && _b !== void 0 ? _b : "") : ""),
26
+ token: (_c = input.token) !== null && _c !== void 0 ? _c : null,
27
+ });
28
+ }
29
+ let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
30
+ let _config_1 = rivetConfig(_config_0);
31
+ let _config_2 = (0, config_resolver_1.resolveCustomEndpointsConfig)(_config_1);
32
+ let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
33
+ let _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
34
+ let _config_5 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_4);
35
+ super(_config_5);
36
+ this.config = _config_5;
37
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
38
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
39
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
40
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
41
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
42
+ }
43
+ destroy() {
44
+ super.destroy();
45
+ }
46
+ }
47
+ exports.ChatServiceClient = ChatServiceClient;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDirectThreadCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class GetDirectThreadCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "GetDirectThreadCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetDirectThreadInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetDirectThreadOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetDirectThreadCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetDirectThreadCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetDirectThreadCommand = GetDirectThreadCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetThreadHistoryCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class GetThreadHistoryCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "GetThreadHistoryCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetThreadHistoryInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetThreadHistoryOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetThreadHistoryCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetThreadHistoryCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetThreadHistoryCommand = GetThreadHistoryCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetThreadTopicCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class GetThreadTopicCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "GetThreadTopicCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetThreadTopicInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetThreadTopicOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetThreadTopicCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetThreadTopicCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetThreadTopicCommand = GetThreadTopicCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendChatMessageCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class SendChatMessageCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "SendChatMessageCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SendChatMessageInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SendChatMessageOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SendChatMessageCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SendChatMessageCommand)(output, context);
34
+ }
35
+ }
36
+ exports.SendChatMessageCommand = SendChatMessageCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetThreadReadCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class SetThreadReadCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "SetThreadReadCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SetThreadReadInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SetThreadReadOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetThreadReadCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetThreadReadCommand)(output, context);
34
+ }
35
+ }
36
+ exports.SetThreadReadCommand = SetThreadReadCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetTypingStatusCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class SetTypingStatusCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "SetTypingStatusCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SetTypingStatusInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SetTypingStatusOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetTypingStatusCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetTypingStatusCommand)(output, context);
34
+ }
35
+ }
36
+ exports.SetTypingStatusCommand = SetTypingStatusCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WatchThreadCommand = void 0;
4
+ const models_0_1 = require("../models/models_0");
5
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ class WatchThreadCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "ChatServiceClient";
18
+ const commandName = "WatchThreadCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.WatchThreadInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.WatchThreadOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1WatchThreadCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1WatchThreadCommand)(output, context);
34
+ }
35
+ }
36
+ exports.WatchThreadCommand = WatchThreadCommand;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./GetDirectThreadCommand"), exports);
5
+ tslib_1.__exportStar(require("./GetThreadHistoryCommand"), exports);
6
+ tslib_1.__exportStar(require("./GetThreadTopicCommand"), exports);
7
+ tslib_1.__exportStar(require("./SendChatMessageCommand"), exports);
8
+ tslib_1.__exportStar(require("./SetThreadReadCommand"), exports);
9
+ tslib_1.__exportStar(require("./SetTypingStatusCommand"), exports);
10
+ tslib_1.__exportStar(require("./WatchThreadCommand"), exports);
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatServiceServiceException = exports.common = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./ChatServiceClient"), exports);
6
+ tslib_1.__exportStar(require("./ChatService"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./models"), exports);
9
+ exports.common = tslib_1.__importStar(require("@rivet-gg/common"));
10
+ var ChatServiceServiceException_1 = require("./models/ChatServiceServiceException");
11
+ Object.defineProperty(exports, "ChatServiceServiceException", { enumerable: true, get: function () { return ChatServiceServiceException_1.ChatServiceServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatServiceServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ChatServiceServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ChatServiceServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ChatServiceServiceException = ChatServiceServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);