@wildix/xbees-conversations-client 1.0.30 → 1.0.31

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 (80) hide show
  1. package/dist-cjs/Conversations.js +36 -4
  2. package/dist-cjs/commands/AddChannelMemberCommand.js +41 -0
  3. package/dist-cjs/commands/AddChannelMembersCommand.js +41 -0
  4. package/dist-cjs/commands/CreateGroupChannelCommand.js +41 -0
  5. package/dist-cjs/commands/DeleteChannelMemberCommand.js +41 -0
  6. package/dist-cjs/commands/DeleteMessageReactionCommand.js +41 -0
  7. package/dist-cjs/commands/GetDirectChannelIdCommand.js +41 -0
  8. package/dist-cjs/commands/GetMessageReactionsCommand.js +41 -0
  9. package/dist-cjs/commands/GetOrCreateDirectChannelCommand.js +41 -0
  10. package/dist-cjs/commands/InviteCommand.js +41 -0
  11. package/dist-cjs/commands/{CreateChannelCommand.js → LeaveChannelCommand.js} +7 -7
  12. package/dist-cjs/commands/ListChannelMembersCommand.js +41 -0
  13. package/dist-cjs/commands/MarkReadCommand.js +41 -0
  14. package/dist-cjs/commands/SendGiphyCommand.js +41 -0
  15. package/dist-cjs/commands/SendMessageCommand.js +41 -0
  16. package/dist-cjs/commands/SendMessageReactionCommand.js +41 -0
  17. package/dist-cjs/commands/SendSystemMessageCommand.js +41 -0
  18. package/dist-cjs/commands/SendTypingStartCommand.js +41 -0
  19. package/dist-cjs/commands/{CreateMessageCommand.js → SendTypingStopCommand.js} +7 -7
  20. package/dist-cjs/commands/index.js +18 -2
  21. package/dist-cjs/models/models_0.js +71 -52
  22. package/dist-cjs/protocols/Aws_restJson1.js +1204 -145
  23. package/dist-es/Conversations.js +36 -4
  24. package/dist-es/commands/AddChannelMemberCommand.js +37 -0
  25. package/dist-es/commands/AddChannelMembersCommand.js +37 -0
  26. package/dist-es/commands/CreateGroupChannelCommand.js +37 -0
  27. package/dist-es/commands/DeleteChannelMemberCommand.js +37 -0
  28. package/dist-es/commands/DeleteMessageReactionCommand.js +37 -0
  29. package/dist-es/commands/GetDirectChannelIdCommand.js +37 -0
  30. package/dist-es/commands/GetMessageReactionsCommand.js +37 -0
  31. package/dist-es/commands/GetOrCreateDirectChannelCommand.js +37 -0
  32. package/dist-es/commands/{CreateChannelCommand.js → InviteCommand.js} +6 -6
  33. package/dist-es/commands/{CreateMessageCommand.js → LeaveChannelCommand.js} +6 -6
  34. package/dist-es/commands/ListChannelMembersCommand.js +37 -0
  35. package/dist-es/commands/MarkReadCommand.js +37 -0
  36. package/dist-es/commands/SendGiphyCommand.js +37 -0
  37. package/dist-es/commands/SendMessageCommand.js +37 -0
  38. package/dist-es/commands/SendMessageReactionCommand.js +37 -0
  39. package/dist-es/commands/SendSystemMessageCommand.js +37 -0
  40. package/dist-es/commands/SendTypingStartCommand.js +37 -0
  41. package/dist-es/commands/SendTypingStopCommand.js +37 -0
  42. package/dist-es/commands/index.js +18 -2
  43. package/dist-es/models/models_0.js +67 -50
  44. package/dist-es/protocols/Aws_restJson1.js +1174 -148
  45. package/dist-types/Conversations.d.ts +122 -10
  46. package/dist-types/ConversationsClient.d.ts +20 -4
  47. package/dist-types/commands/AddChannelMemberCommand.d.ts +105 -0
  48. package/dist-types/commands/AddChannelMembersCommand.d.ts +113 -0
  49. package/dist-types/commands/{CreateChannelCommand.d.ts → CreateGroupChannelCommand.d.ts} +37 -79
  50. package/dist-types/commands/DeleteChannelCommand.d.ts +2 -0
  51. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +79 -0
  52. package/dist-types/commands/DeleteMessageCommand.d.ts +2 -0
  53. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +80 -0
  54. package/dist-types/commands/GetChannelCommand.d.ts +2 -0
  55. package/dist-types/commands/GetChannelMemberCommand.d.ts +17 -0
  56. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +82 -0
  57. package/dist-types/commands/GetMessageCommand.d.ts +23 -21
  58. package/dist-types/commands/GetMessageReactionsCommand.d.ts +101 -0
  59. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +144 -0
  60. package/dist-types/commands/InviteCommand.d.ts +98 -0
  61. package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
  62. package/dist-types/commands/LeaveChannelCommand.d.ts +77 -0
  63. package/dist-types/commands/ListChannelMembersCommand.d.ts +102 -0
  64. package/dist-types/commands/ListChannelsCommand.d.ts +2 -0
  65. package/dist-types/commands/ListMessagesCommand.d.ts +23 -21
  66. package/dist-types/commands/MarkReadCommand.d.ts +76 -0
  67. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +5 -52
  68. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +46 -54
  69. package/dist-types/commands/SendGiphyCommand.d.ts +220 -0
  70. package/dist-types/commands/{CreateMessageCommand.d.ts → SendMessageCommand.d.ts} +137 -143
  71. package/dist-types/commands/SendMessageReactionCommand.d.ts +78 -0
  72. package/dist-types/commands/SendSystemMessageCommand.d.ts +213 -0
  73. package/dist-types/commands/SendTypingStartCommand.d.ts +76 -0
  74. package/dist-types/commands/SendTypingStopCommand.d.ts +76 -0
  75. package/dist-types/commands/UpdateChannelCommand.d.ts +8 -57
  76. package/dist-types/commands/UpdateMessageCommand.d.ts +118 -125
  77. package/dist-types/commands/index.d.ts +18 -2
  78. package/dist-types/models/models_0.d.ts +450 -172
  79. package/dist-types/protocols/Aws_restJson1.d.ts +154 -10
  80. package/package.json +1 -1
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendMessageCommand = 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 SendMessageCommand 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 = "SendMessageCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "SendMessage",
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_SendMessageCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_SendMessageCommand)(output, context);
39
+ }
40
+ }
41
+ exports.SendMessageCommand = SendMessageCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendMessageReactionCommand = 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 SendMessageReactionCommand 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 = "SendMessageReactionCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "SendMessageReaction",
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_SendMessageReactionCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_SendMessageReactionCommand)(output, context);
39
+ }
40
+ }
41
+ exports.SendMessageReactionCommand = SendMessageReactionCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendSystemMessageCommand = 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 SendSystemMessageCommand 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 = "SendSystemMessageCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "SendSystemMessage",
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_SendSystemMessageCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_SendSystemMessageCommand)(output, context);
39
+ }
40
+ }
41
+ exports.SendSystemMessageCommand = SendSystemMessageCommand;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendTypingStartCommand = 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 SendTypingStartCommand 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 = "SendTypingStartCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
24
+ inputFilterSensitiveLog: (_) => _,
25
+ outputFilterSensitiveLog: (_) => _,
26
+ [types_1.SMITHY_CONTEXT_KEY]: {
27
+ service: "Conversations",
28
+ operation: "SendTypingStart",
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_SendTypingStartCommand)(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return (0, Aws_restJson1_1.de_SendTypingStartCommand)(output, context);
39
+ }
40
+ }
41
+ exports.SendTypingStartCommand = SendTypingStartCommand;
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateMessageCommand = exports.$Command = void 0;
3
+ exports.SendTypingStopCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const types_1 = require("@smithy/types");
9
- class CreateMessageCommand extends smithy_client_1.Command {
9
+ class SendTypingStopCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
11
11
  super();
12
12
  this.input = input;
@@ -16,7 +16,7 @@ class CreateMessageCommand extends smithy_client_1.Command {
16
16
  const stack = clientStack.concat(this.middlewareStack);
17
17
  const { logger } = configuration;
18
18
  const clientName = "ConversationsClient";
19
- const commandName = "CreateMessageCommand";
19
+ const commandName = "SendTypingStopCommand";
20
20
  const handlerExecutionContext = {
21
21
  logger,
22
22
  clientName,
@@ -25,17 +25,17 @@ class CreateMessageCommand extends smithy_client_1.Command {
25
25
  outputFilterSensitiveLog: (_) => _,
26
26
  [types_1.SMITHY_CONTEXT_KEY]: {
27
27
  service: "Conversations",
28
- operation: "CreateMessage",
28
+ operation: "SendTypingStop",
29
29
  },
30
30
  };
31
31
  const { requestHandler } = configuration;
32
32
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
33
  }
34
34
  serialize(input, context) {
35
- return (0, Aws_restJson1_1.se_CreateMessageCommand)(input, context);
35
+ return (0, Aws_restJson1_1.se_SendTypingStopCommand)(input, context);
36
36
  }
37
37
  deserialize(output, context) {
38
- return (0, Aws_restJson1_1.de_CreateMessageCommand)(output, context);
38
+ return (0, Aws_restJson1_1.de_SendTypingStopCommand)(output, context);
39
39
  }
40
40
  }
41
- exports.CreateMessageCommand = CreateMessageCommand;
41
+ exports.SendTypingStopCommand = SendTypingStopCommand;
@@ -1,18 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CreateChannelCommand"), exports);
5
- tslib_1.__exportStar(require("./CreateMessageCommand"), exports);
4
+ tslib_1.__exportStar(require("./AddChannelMemberCommand"), exports);
5
+ tslib_1.__exportStar(require("./AddChannelMembersCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateGroupChannelCommand"), exports);
6
7
  tslib_1.__exportStar(require("./DeleteChannelCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeleteChannelMemberCommand"), exports);
7
9
  tslib_1.__exportStar(require("./DeleteMessageCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteMessageReactionCommand"), exports);
8
11
  tslib_1.__exportStar(require("./GetChannelCommand"), exports);
9
12
  tslib_1.__exportStar(require("./GetChannelMemberCommand"), exports);
13
+ tslib_1.__exportStar(require("./GetDirectChannelIdCommand"), exports);
10
14
  tslib_1.__exportStar(require("./GetMessageCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetMessageReactionsCommand"), exports);
16
+ tslib_1.__exportStar(require("./GetOrCreateDirectChannelCommand"), exports);
17
+ tslib_1.__exportStar(require("./InviteCommand"), exports);
11
18
  tslib_1.__exportStar(require("./JoinChannelCommand"), exports);
19
+ tslib_1.__exportStar(require("./LeaveChannelCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListChannelMembersCommand"), exports);
12
21
  tslib_1.__exportStar(require("./ListChannelsCommand"), exports);
13
22
  tslib_1.__exportStar(require("./ListMessagesCommand"), exports);
23
+ tslib_1.__exportStar(require("./MarkReadCommand"), exports);
14
24
  tslib_1.__exportStar(require("./PartialUpdateChannelCommand"), exports);
15
25
  tslib_1.__exportStar(require("./PartialUpdateMessageCommand"), exports);
16
26
  tslib_1.__exportStar(require("./ScheduleExternalFlagAdjustmentJobCommand"), exports);
27
+ tslib_1.__exportStar(require("./SendGiphyCommand"), exports);
28
+ tslib_1.__exportStar(require("./SendMessageCommand"), exports);
29
+ tslib_1.__exportStar(require("./SendMessageReactionCommand"), exports);
30
+ tslib_1.__exportStar(require("./SendSystemMessageCommand"), exports);
31
+ tslib_1.__exportStar(require("./SendTypingStartCommand"), exports);
32
+ tslib_1.__exportStar(require("./SendTypingStopCommand"), exports);
17
33
  tslib_1.__exportStar(require("./UpdateChannelCommand"), exports);
18
34
  tslib_1.__exportStar(require("./UpdateMessageCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConversationsServiceException = exports.MessageUnsetFields = exports.MemberNotFoundException = exports.MessageNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.ChannelType = exports.ValidationException = exports.ForbiddenException = void 0;
3
+ exports.ConversationsServiceException = exports.MessageUnsetFields = exports.GroupChannelUnsetOptions = exports.MessageType = exports.MessageSmsStatus = exports.ReactionType = exports.MessageNotFoundException = exports.MemberNotFoundException = exports.ChannelAlreadyExistException = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.MemberAlreadyExistException = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelType = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const ConversationsServiceException_1 = require("./ConversationsServiceException");
5
5
  class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
6
6
  constructor(opts) {
@@ -32,19 +32,6 @@ exports.ChannelType = {
32
32
  DIRECT: "direct",
33
33
  GROUP: "group",
34
34
  };
35
- exports.ChannelAccess = {
36
- PRIVATE: "private",
37
- PUBLIC: "public",
38
- };
39
- exports.ChannelContextEventAttendeeStatus = {
40
- ACCEPTED: "accepted",
41
- DECLINED: "declined",
42
- NONE: "none",
43
- TENTATIVE: "tentative",
44
- };
45
- exports.ChannelContextSource = {
46
- KITE: "kite",
47
- };
48
35
  exports.ChannelMemberRole = {
49
36
  MEMBER: "member",
50
37
  SUPERVISOR: "supervisor",
@@ -62,52 +49,45 @@ class ChannelNotFoundException extends ConversationsServiceException_1.Conversat
62
49
  }
63
50
  }
64
51
  exports.ChannelNotFoundException = ChannelNotFoundException;
65
- exports.ChannelUnsetFields = {
66
- ACCESS: "access",
67
- ASSIGNEE: "assignee",
68
- BROADCAST: "broadcast",
69
- COMPANY: "company",
70
- CONTEXT: "context",
71
- DESCRIPTION: "description",
72
- EXTERNAL: "external",
73
- KITE: "kite",
74
- KITE_ASSIGN: "kiteAssign",
75
- KITE_DEFAULT_SUBJECT: "kiteDefaultSubject",
76
- KITE_SERVICE_NAME: "kiteServiceName",
77
- KITE_TARGET: "kiteTarget",
78
- KITE_VARIANT: "kiteVariant",
79
- MMS: "mms",
80
- PICTURE: "picture",
81
- PICTURE_COLOR: "pictureColor",
82
- SERVICE: "service",
83
- SERVICE_RECIPIENT: "serviceRecipient",
84
- SERVICE_TITLE: "serviceTitle",
85
- SMS: "sms",
86
- SUBJECT: "subject",
87
- TELEPHONY: "telephony",
52
+ class MemberAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
53
+ constructor(opts) {
54
+ super({
55
+ name: "MemberAlreadyExistException",
56
+ $fault: "client",
57
+ ...opts
58
+ });
59
+ this.name = "MemberAlreadyExistException";
60
+ this.$fault = "client";
61
+ Object.setPrototypeOf(this, MemberAlreadyExistException.prototype);
62
+ }
63
+ }
64
+ exports.MemberAlreadyExistException = MemberAlreadyExistException;
65
+ exports.ChannelAccess = {
66
+ PRIVATE: "private",
67
+ PUBLIC: "public",
88
68
  };
89
- exports.MessageSmsStatus = {
90
- DELIVERED: "delivered",
91
- ERROR: "error",
92
- SENT: "sent",
93
- TRYING: "trying",
69
+ exports.ChannelContextEventAttendeeStatus = {
70
+ ACCEPTED: "accepted",
71
+ DECLINED: "declined",
72
+ NONE: "none",
73
+ TENTATIVE: "tentative",
94
74
  };
95
- exports.MessageType = {
96
- REGULAR: "regular",
75
+ exports.ChannelContextSource = {
76
+ KITE: "kite",
97
77
  };
98
- class MessageNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
78
+ class ChannelAlreadyExistException extends ConversationsServiceException_1.ConversationsServiceException {
99
79
  constructor(opts) {
100
80
  super({
101
- name: "MessageNotFoundException",
81
+ name: "ChannelAlreadyExistException",
102
82
  $fault: "client",
103
83
  ...opts
104
84
  });
105
- this.name = "MessageNotFoundException";
85
+ this.name = "ChannelAlreadyExistException";
106
86
  this.$fault = "client";
107
- Object.setPrototypeOf(this, MessageNotFoundException.prototype);
87
+ Object.setPrototypeOf(this, ChannelAlreadyExistException.prototype);
108
88
  }
109
89
  }
110
- exports.MessageNotFoundException = MessageNotFoundException;
90
+ exports.ChannelAlreadyExistException = ChannelAlreadyExistException;
111
91
  class MemberNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
112
92
  constructor(opts) {
113
93
  super({
@@ -121,13 +101,52 @@ class MemberNotFoundException extends ConversationsServiceException_1.Conversati
121
101
  }
122
102
  }
123
103
  exports.MemberNotFoundException = MemberNotFoundException;
104
+ class MessageNotFoundException extends ConversationsServiceException_1.ConversationsServiceException {
105
+ constructor(opts) {
106
+ super({
107
+ name: "MessageNotFoundException",
108
+ $fault: "client",
109
+ ...opts
110
+ });
111
+ this.name = "MessageNotFoundException";
112
+ this.$fault = "client";
113
+ Object.setPrototypeOf(this, MessageNotFoundException.prototype);
114
+ }
115
+ }
116
+ exports.MessageNotFoundException = MessageNotFoundException;
117
+ exports.ReactionType = {
118
+ CLAP: "clap",
119
+ CONFUSED: "confused",
120
+ EYES: "eyes",
121
+ HEART: "heart",
122
+ SLIGHTLY_SMILING_FACE: "slightly_smiling_face",
123
+ SMILEY: "smiley",
124
+ THUMBSDOWN: "thumbsdown",
125
+ THUMBSUP: "thumbsup",
126
+ WHITE_CHECK_MARK: "white_check_mark",
127
+ };
128
+ exports.MessageSmsStatus = {
129
+ DELIVERED: "delivered",
130
+ ERROR: "error",
131
+ SENT: "sent",
132
+ TRYING: "trying",
133
+ };
134
+ exports.MessageType = {
135
+ REGULAR: "regular",
136
+ };
137
+ exports.GroupChannelUnsetOptions = {
138
+ ACCESS: "access",
139
+ BROADCAST: "broadcast",
140
+ DESCRIPTION: "description",
141
+ PICTURE: "picture",
142
+ PICTURE_COLOR: "pictureColor",
143
+ SUBJECT: "subject",
144
+ };
124
145
  exports.MessageUnsetFields = {
125
146
  ATTACHMENTS: "attachments",
126
- EVENT: "event",
127
147
  FORWARD: "forward",
128
148
  QUOTE: "quote",
129
- SMS: "sms",
130
- SMS_STATUS: "smsStatus",
149
+ TEXT: "text",
131
150
  };
132
151
  class ConversationsServiceException extends ConversationsServiceException_1.ConversationsServiceException {
133
152
  constructor(opts) {