@wildix/xbees-conversations-client 1.0.18

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 (67) hide show
  1. package/dist-cjs/Conversations.js +27 -0
  2. package/dist-cjs/ConversationsClient.js +33 -0
  3. package/dist-cjs/commands/CreateChannelCommand.js +41 -0
  4. package/dist-cjs/commands/CreateMessageCommand.js +41 -0
  5. package/dist-cjs/commands/DeleteChannelCommand.js +41 -0
  6. package/dist-cjs/commands/GetChannelCommand.js +41 -0
  7. package/dist-cjs/commands/GetChannelMemberCommand.js +41 -0
  8. package/dist-cjs/commands/GetMessageCommand.js +41 -0
  9. package/dist-cjs/commands/PartialUpdateChannelCommand.js +41 -0
  10. package/dist-cjs/commands/UpdateChannelCommand.js +41 -0
  11. package/dist-cjs/commands/index.js +11 -0
  12. package/dist-cjs/extensionConfiguration.js +2 -0
  13. package/dist-cjs/index.js +10 -0
  14. package/dist-cjs/models/ConversationsServiceException.js +12 -0
  15. package/dist-cjs/models/index.js +4 -0
  16. package/dist-cjs/models/models_0.js +96 -0
  17. package/dist-cjs/protocols/Aws_restJson1.js +597 -0
  18. package/dist-cjs/runtimeConfig.browser.js +28 -0
  19. package/dist-cjs/runtimeConfig.js +32 -0
  20. package/dist-cjs/runtimeConfig.native.js +15 -0
  21. package/dist-cjs/runtimeConfig.shared.js +19 -0
  22. package/dist-cjs/runtimeExtensions.js +19 -0
  23. package/dist-es/Conversations.js +23 -0
  24. package/dist-es/ConversationsClient.js +29 -0
  25. package/dist-es/commands/CreateChannelCommand.js +37 -0
  26. package/dist-es/commands/CreateMessageCommand.js +37 -0
  27. package/dist-es/commands/DeleteChannelCommand.js +37 -0
  28. package/dist-es/commands/GetChannelCommand.js +37 -0
  29. package/dist-es/commands/GetChannelMemberCommand.js +37 -0
  30. package/dist-es/commands/GetMessageCommand.js +37 -0
  31. package/dist-es/commands/PartialUpdateChannelCommand.js +37 -0
  32. package/dist-es/commands/UpdateChannelCommand.js +37 -0
  33. package/dist-es/commands/index.js +8 -0
  34. package/dist-es/extensionConfiguration.js +1 -0
  35. package/dist-es/index.js +5 -0
  36. package/dist-es/models/ConversationsServiceException.js +8 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +90 -0
  39. package/dist-es/protocols/Aws_restJson1.js +578 -0
  40. package/dist-es/runtimeConfig.browser.js +24 -0
  41. package/dist-es/runtimeConfig.js +28 -0
  42. package/dist-es/runtimeConfig.native.js +11 -0
  43. package/dist-es/runtimeConfig.shared.js +15 -0
  44. package/dist-es/runtimeExtensions.js +15 -0
  45. package/dist-types/Conversations.d.ts +65 -0
  46. package/dist-types/ConversationsClient.d.ts +144 -0
  47. package/dist-types/commands/CreateChannelCommand.d.ts +194 -0
  48. package/dist-types/commands/CreateMessageCommand.d.ts +360 -0
  49. package/dist-types/commands/DeleteChannelCommand.d.ts +71 -0
  50. package/dist-types/commands/GetChannelCommand.d.ts +136 -0
  51. package/dist-types/commands/GetChannelMemberCommand.d.ts +80 -0
  52. package/dist-types/commands/GetMessageCommand.d.ts +209 -0
  53. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +193 -0
  54. package/dist-types/commands/UpdateChannelCommand.d.ts +190 -0
  55. package/dist-types/commands/index.d.ts +8 -0
  56. package/dist-types/extensionConfiguration.d.ts +7 -0
  57. package/dist-types/index.d.ts +5 -0
  58. package/dist-types/models/ConversationsServiceException.d.ts +13 -0
  59. package/dist-types/models/index.d.ts +1 -0
  60. package/dist-types/models/models_0.d.ts +508 -0
  61. package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
  62. package/dist-types/runtimeConfig.browser.d.ts +29 -0
  63. package/dist-types/runtimeConfig.d.ts +29 -0
  64. package/dist-types/runtimeConfig.native.d.ts +28 -0
  65. package/dist-types/runtimeConfig.shared.d.ts +15 -0
  66. package/dist-types/runtimeExtensions.d.ts +17 -0
  67. package/package.json +77 -0
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Conversations = void 0;
4
+ const ConversationsClient_1 = require("./ConversationsClient");
5
+ const CreateChannelCommand_1 = require("./commands/CreateChannelCommand");
6
+ const CreateMessageCommand_1 = require("./commands/CreateMessageCommand");
7
+ const DeleteChannelCommand_1 = require("./commands/DeleteChannelCommand");
8
+ const GetChannelCommand_1 = require("./commands/GetChannelCommand");
9
+ const GetChannelMemberCommand_1 = require("./commands/GetChannelMemberCommand");
10
+ const GetMessageCommand_1 = require("./commands/GetMessageCommand");
11
+ const PartialUpdateChannelCommand_1 = require("./commands/PartialUpdateChannelCommand");
12
+ const UpdateChannelCommand_1 = require("./commands/UpdateChannelCommand");
13
+ const smithy_client_1 = require("@smithy/smithy-client");
14
+ const commands = {
15
+ CreateChannelCommand: CreateChannelCommand_1.CreateChannelCommand,
16
+ CreateMessageCommand: CreateMessageCommand_1.CreateMessageCommand,
17
+ DeleteChannelCommand: DeleteChannelCommand_1.DeleteChannelCommand,
18
+ GetChannelCommand: GetChannelCommand_1.GetChannelCommand,
19
+ GetChannelMemberCommand: GetChannelMemberCommand_1.GetChannelMemberCommand,
20
+ GetMessageCommand: GetMessageCommand_1.GetMessageCommand,
21
+ PartialUpdateChannelCommand: PartialUpdateChannelCommand_1.PartialUpdateChannelCommand,
22
+ UpdateChannelCommand: UpdateChannelCommand_1.UpdateChannelCommand,
23
+ };
24
+ class Conversations extends ConversationsClient_1.ConversationsClient {
25
+ }
26
+ exports.Conversations = Conversations;
27
+ (0, smithy_client_1.createAggregatedClient)(commands, Conversations);
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConversationsClient = exports.__Client = void 0;
4
+ const runtimeConfig_1 = require("./runtimeConfig");
5
+ const runtimeExtensions_1 = require("./runtimeExtensions");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
8
+ const smithy_utils_1 = require("@wildix/smithy-utils");
9
+ class ConversationsClient extends smithy_client_1.Client {
10
+ constructor(...[configuration]) {
11
+ let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
12
+ let _config_1 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_0, configuration?.extensions || []);
13
+ const endpoint = () => {
14
+ return {
15
+ hostname: configuration.env === 'prod' ? 'api.x-bees.com' : configuration.env === 'stable' ? 'api-stable.x-bees.com' : 'api-stage.x-bees.com',
16
+ protocol: "https",
17
+ port: '443',
18
+ path: ''
19
+ };
20
+ };
21
+ const config = {
22
+ ..._config_1,
23
+ endpoint,
24
+ };
25
+ super(config);
26
+ this.config = config;
27
+ this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
28
+ }
29
+ destroy() {
30
+ super.destroy();
31
+ }
32
+ }
33
+ exports.ConversationsClient = ConversationsClient;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class CreateChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "CreateChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "CreateChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_CreateChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_CreateChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.CreateChannelCommand = CreateChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateMessageCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class CreateMessageCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "CreateMessageCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "CreateMessage",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_CreateMessageCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_CreateMessageCommand)(output, context);
39
+ }
40
+ }
41
+ exports.CreateMessageCommand = CreateMessageCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class DeleteChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "DeleteChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "DeleteChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_DeleteChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_DeleteChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.DeleteChannelCommand = DeleteChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class GetChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "GetChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "GetChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_GetChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetChannelCommand = GetChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetChannelMemberCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class GetChannelMemberCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "GetChannelMemberCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "GetChannelMember",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_GetChannelMemberCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetChannelMemberCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetChannelMemberCommand = GetChannelMemberCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMessageCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class GetMessageCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "GetMessageCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "GetMessage",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_GetMessageCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_GetMessageCommand)(output, context);
39
+ }
40
+ }
41
+ exports.GetMessageCommand = GetMessageCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartialUpdateChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class PartialUpdateChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "PartialUpdateChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "PartialUpdateChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_PartialUpdateChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_PartialUpdateChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.PartialUpdateChannelCommand = PartialUpdateChannelCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateChannelCommand = exports.$Command = void 0;
4
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ class UpdateChannelCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ resolveMiddleware(clientStack, configuration, options) {
15
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "ConversationsClient";
19
+ const commandName = "UpdateChannelCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "UpdateChannel",
29
+ },
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return (0, Aws_restJson1_1.se_UpdateChannelCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_UpdateChannelCommand)(output, context);
39
+ }
40
+ }
41
+ exports.UpdateChannelCommand = UpdateChannelCommand;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateChannelCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateMessageCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetChannelCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
9
+ tslib_1.__exportStar(require("./GetMessageCommand"), exports);
10
+ tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
11
+ tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConversationsServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./ConversationsClient"), exports);
6
+ tslib_1.__exportStar(require("./Conversations"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./models"), exports);
9
+ var ConversationsServiceException_1 = require("./models/ConversationsServiceException");
10
+ Object.defineProperty(exports, "ConversationsServiceException", { enumerable: true, get: function () { return ConversationsServiceException_1.ConversationsServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConversationsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ConversationsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ConversationsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ConversationsServiceException = ConversationsServiceException;
@@ -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);
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MemberNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.ValidationException = void 0;
4
+ const ConversationsServiceException_1 = require("./ConversationsServiceException");
5
+ class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
6
+ constructor(opts) {
7
+ super({
8
+ name: "ValidationException",
9
+ $fault: "client",
10
+ ...opts
11
+ });
12
+ this.name = "ValidationException";
13
+ this.$fault = "client";
14
+ Object.setPrototypeOf(this, ValidationException.prototype);
15
+ }
16
+ }
17
+ exports.ValidationException = ValidationException;
18
+ exports.ChannelAccess = {
19
+ PRIVATE: "private",
20
+ PUBLIC: "public",
21
+ };
22
+ exports.ChannelType = {
23
+ DIRECT: "direct",
24
+ GROUP: "group",
25
+ };
26
+ exports.ChannelContextEventAttendeeStatus = {
27
+ ACCEPTED: "accepted",
28
+ DECLINED: "declined",
29
+ NONE: "none",
30
+ TENTATIVE: "tentative",
31
+ };
32
+ exports.ChannelContextSource = {
33
+ KITE: "kite",
34
+ };
35
+ exports.ChannelMemberRole = {
36
+ MEMBER: "member",
37
+ SUPERVISOR: "supervisor",
38
+ };
39
+ class ChannelNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
40
+ constructor(opts) {
41
+ super({
42
+ name: "ChannelNotFoundException",
43
+ $fault: "client",
44
+ ...opts
45
+ });
46
+ this.name = "ChannelNotFoundException";
47
+ this.$fault = "client";
48
+ Object.setPrototypeOf(this, ChannelNotFoundException.prototype);
49
+ }
50
+ }
51
+ exports.ChannelNotFoundException = ChannelNotFoundException;
52
+ exports.ChannelUnsetFields = {
53
+ ACCESS: "access",
54
+ ASSIGNEE: "assignee",
55
+ BROADCAST: "broadcast",
56
+ COMPANY: "company",
57
+ CONTEXT: "context",
58
+ DESCRIPTION: "description",
59
+ EXTERNAL: "external",
60
+ KITE: "kite",
61
+ KITE_ASSIGN: "kiteAssign",
62
+ KITE_DEFAULT_SUBJECT: "kiteDefaultSubject",
63
+ KITE_SERVICE_NAME: "kiteServiceName",
64
+ KITE_TARGET: "kiteTarget",
65
+ KITE_VARIANT: "kiteVariant",
66
+ PICTURE: "picture",
67
+ PICTURE_COLOR: "pictureColor",
68
+ SERVICE: "service",
69
+ SERVICE_RECIPIENT: "serviceRecipient",
70
+ SERVICE_TITLE: "serviceTitle",
71
+ SMS: "sms",
72
+ SUBJECT: "subject",
73
+ TELEPHONY: "telephony",
74
+ };
75
+ exports.MessageSmsStatus = {
76
+ DELIVERED: "delivered",
77
+ ERROR: "error",
78
+ SENT: "sent",
79
+ TRYING: "trying",
80
+ };
81
+ exports.MessageType = {
82
+ REGULAR: "regular",
83
+ };
84
+ class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
85
+ constructor(opts) {
86
+ super({
87
+ name: "MemberNotFoundException",
88
+ $fault: "client",
89
+ ...opts
90
+ });
91
+ this.name = "MemberNotFoundException";
92
+ this.$fault = "client";
93
+ Object.setPrototypeOf(this, MemberNotFoundException.prototype);
94
+ }
95
+ }
96
+ exports.MemberNotFoundException = MemberNotFoundException;