@wildix/xbees-users-client 1.4.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist-cjs/Users.js +3 -3
  2. package/dist-cjs/UsersClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +81 -0
  5. package/dist-cjs/commands/BatchGetUsersCommand.js +10 -11
  6. package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +10 -11
  7. package/dist-cjs/commands/BatchGetUsersPbxLinkDataCommand.js +10 -11
  8. package/dist-cjs/commands/BatchGetUsersPbxLinkDataV1Command.js +10 -11
  9. package/dist-cjs/commands/ChangeUserEmailCommand.js +10 -11
  10. package/dist-cjs/commands/CreateAnonymousSessionCommand.js +10 -11
  11. package/dist-cjs/commands/CreateBotApiKeyCommand.js +10 -11
  12. package/dist-cjs/commands/CreateBotCommand.js +10 -11
  13. package/dist-cjs/commands/CreateSystemBotCommand.js +10 -11
  14. package/dist-cjs/commands/DeleteBotApiKeyCommand.js +10 -11
  15. package/dist-cjs/commands/DeleteBotCommand.js +10 -11
  16. package/dist-cjs/commands/GetAccountCommand.js +10 -11
  17. package/dist-cjs/commands/GetAppVersionCommand.js +10 -11
  18. package/dist-cjs/commands/GetBotCallbackCommand.js +10 -11
  19. package/dist-cjs/commands/GetBotCommand.js +10 -11
  20. package/dist-cjs/commands/GetUserCommand.js +10 -11
  21. package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +10 -11
  22. package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +10 -11
  23. package/dist-cjs/commands/GetUserPbxLinkSuggestionCommand.js +10 -11
  24. package/dist-cjs/commands/GetUserPbxLinkSuggestionV1Command.js +10 -11
  25. package/dist-cjs/commands/IntelligenceSearchCommand.js +10 -11
  26. package/dist-cjs/commands/InviteCommand.js +10 -11
  27. package/dist-cjs/commands/LinkIdentityCommand.js +10 -11
  28. package/dist-cjs/commands/ListBotApiKeysCommand.js +10 -11
  29. package/dist-cjs/commands/ListBotsCommand.js +10 -11
  30. package/dist-cjs/commands/ListIdentitiesCommand.js +10 -11
  31. package/dist-cjs/commands/ListWorkspacesCommand.js +10 -11
  32. package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +10 -11
  33. package/dist-cjs/commands/QueryColleaguesCommand.js +10 -11
  34. package/dist-cjs/commands/QueryUserCommand.js +10 -11
  35. package/dist-cjs/commands/QueryUsersCommand.js +10 -11
  36. package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +10 -11
  37. package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +10 -11
  38. package/dist-cjs/commands/UnlinkIdentityCommand.js +10 -11
  39. package/dist-cjs/commands/UnlinkWorkspaceCommand.js +10 -11
  40. package/dist-cjs/commands/UpdateAccountCommand.js +10 -11
  41. package/dist-cjs/commands/UpdateBotCallbackCommand.js +10 -11
  42. package/dist-cjs/commands/UpdateBotCommand.js +10 -11
  43. package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +10 -11
  44. package/dist-cjs/commands/UpdateWorkspaceCommand.js +10 -11
  45. package/dist-cjs/commands/UploadPictureCommand.js +10 -11
  46. package/dist-cjs/commands/UploadPictureV1Command.js +10 -11
  47. package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +10 -11
  48. package/dist-cjs/commands/VerifyBotSecretKeyV1Command.js +10 -11
  49. package/dist-cjs/commands/VerifyIdentityCommand.js +10 -11
  50. package/dist-cjs/commands/index.js +4 -4
  51. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  52. package/dist-cjs/endpoint/bdd.js +28 -0
  53. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  54. package/dist-cjs/index.js +4 -1
  55. package/dist-cjs/models/UsersServiceException.js +3 -3
  56. package/dist-cjs/models/enums.js +86 -0
  57. package/dist-cjs/models/errors.js +225 -0
  58. package/dist-cjs/models/models_0.js +0 -400
  59. package/dist-cjs/runtimeConfig.browser.js +11 -11
  60. package/dist-cjs/runtimeConfig.js +22 -18
  61. package/dist-cjs/runtimeConfig.shared.js +35 -10
  62. package/dist-cjs/runtimeExtensions.js +6 -5
  63. package/dist-cjs/schemas/schemas_0.js +1463 -0
  64. package/dist-es/Users.js +10 -10
  65. package/dist-es/UsersClient.js +30 -22
  66. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  67. package/dist-es/auth/httpAuthSchemeProvider.js +75 -0
  68. package/dist-es/commands/BatchGetUsersCommand.js +9 -10
  69. package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +9 -10
  70. package/dist-es/commands/BatchGetUsersPbxLinkDataCommand.js +9 -10
  71. package/dist-es/commands/BatchGetUsersPbxLinkDataV1Command.js +9 -10
  72. package/dist-es/commands/ChangeUserEmailCommand.js +9 -10
  73. package/dist-es/commands/CreateAnonymousSessionCommand.js +9 -10
  74. package/dist-es/commands/CreateBotApiKeyCommand.js +9 -10
  75. package/dist-es/commands/CreateBotCommand.js +9 -10
  76. package/dist-es/commands/CreateSystemBotCommand.js +9 -10
  77. package/dist-es/commands/DeleteBotApiKeyCommand.js +9 -10
  78. package/dist-es/commands/DeleteBotCommand.js +9 -10
  79. package/dist-es/commands/GetAccountCommand.js +9 -10
  80. package/dist-es/commands/GetAppVersionCommand.js +9 -10
  81. package/dist-es/commands/GetBotCallbackCommand.js +9 -10
  82. package/dist-es/commands/GetBotCommand.js +9 -10
  83. package/dist-es/commands/GetUserCommand.js +9 -10
  84. package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +9 -10
  85. package/dist-es/commands/GetUserPbxLinkDataCommand.js +9 -10
  86. package/dist-es/commands/GetUserPbxLinkSuggestionCommand.js +9 -10
  87. package/dist-es/commands/GetUserPbxLinkSuggestionV1Command.js +9 -10
  88. package/dist-es/commands/IntelligenceSearchCommand.js +9 -10
  89. package/dist-es/commands/InviteCommand.js +9 -10
  90. package/dist-es/commands/LinkIdentityCommand.js +9 -10
  91. package/dist-es/commands/ListBotApiKeysCommand.js +9 -10
  92. package/dist-es/commands/ListBotsCommand.js +9 -10
  93. package/dist-es/commands/ListIdentitiesCommand.js +9 -10
  94. package/dist-es/commands/ListWorkspacesCommand.js +9 -10
  95. package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +9 -10
  96. package/dist-es/commands/QueryColleaguesCommand.js +9 -10
  97. package/dist-es/commands/QueryUserCommand.js +9 -10
  98. package/dist-es/commands/QueryUsersCommand.js +9 -10
  99. package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +9 -10
  100. package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +9 -10
  101. package/dist-es/commands/UnlinkIdentityCommand.js +9 -10
  102. package/dist-es/commands/UnlinkWorkspaceCommand.js +9 -10
  103. package/dist-es/commands/UpdateAccountCommand.js +9 -10
  104. package/dist-es/commands/UpdateBotCallbackCommand.js +9 -10
  105. package/dist-es/commands/UpdateBotCommand.js +9 -10
  106. package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +9 -10
  107. package/dist-es/commands/UpdateWorkspaceCommand.js +9 -10
  108. package/dist-es/commands/UploadPictureCommand.js +9 -10
  109. package/dist-es/commands/UploadPictureV1Command.js +9 -10
  110. package/dist-es/commands/VerifyBotSecretKeyCommand.js +9 -10
  111. package/dist-es/commands/VerifyBotSecretKeyV1Command.js +9 -10
  112. package/dist-es/commands/VerifyIdentityCommand.js +9 -10
  113. package/dist-es/commands/index.js +4 -4
  114. package/dist-es/endpoint/EndpointParameters.js +12 -0
  115. package/dist-es/endpoint/bdd.js +25 -0
  116. package/dist-es/endpoint/endpointResolver.js +12 -0
  117. package/dist-es/index.js +4 -1
  118. package/dist-es/models/UsersServiceException.js +1 -1
  119. package/dist-es/models/enums.js +83 -0
  120. package/dist-es/models/errors.js +205 -0
  121. package/dist-es/models/models_0.js +1 -382
  122. package/dist-es/runtimeConfig.browser.js +7 -7
  123. package/dist-es/runtimeConfig.js +17 -13
  124. package/dist-es/runtimeConfig.shared.js +29 -4
  125. package/dist-es/runtimeExtensions.js +6 -5
  126. package/dist-es/schemas/schemas_0.js +1456 -0
  127. package/dist-types/Users.d.ts +46 -46
  128. package/dist-types/UsersClient.d.ts +75 -57
  129. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  130. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  131. package/dist-types/commands/BatchGetUsersCommand.d.ts +11 -7
  132. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +11 -7
  133. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +11 -7
  134. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +11 -7
  135. package/dist-types/commands/ChangeUserEmailCommand.d.ts +11 -7
  136. package/dist-types/commands/CreateAnonymousSessionCommand.d.ts +11 -7
  137. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +11 -7
  138. package/dist-types/commands/CreateBotCommand.d.ts +11 -7
  139. package/dist-types/commands/CreateSystemBotCommand.d.ts +11 -7
  140. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +11 -7
  141. package/dist-types/commands/DeleteBotCommand.d.ts +11 -7
  142. package/dist-types/commands/GetAccountCommand.d.ts +11 -7
  143. package/dist-types/commands/GetAppVersionCommand.d.ts +11 -7
  144. package/dist-types/commands/GetBotCallbackCommand.d.ts +11 -7
  145. package/dist-types/commands/GetBotCommand.d.ts +11 -7
  146. package/dist-types/commands/GetUserCommand.d.ts +11 -7
  147. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +11 -7
  148. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +11 -7
  149. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +11 -7
  150. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +11 -7
  151. package/dist-types/commands/IntelligenceSearchCommand.d.ts +11 -7
  152. package/dist-types/commands/InviteCommand.d.ts +11 -7
  153. package/dist-types/commands/LinkIdentityCommand.d.ts +11 -7
  154. package/dist-types/commands/ListBotApiKeysCommand.d.ts +11 -7
  155. package/dist-types/commands/ListBotsCommand.d.ts +11 -7
  156. package/dist-types/commands/ListIdentitiesCommand.d.ts +11 -7
  157. package/dist-types/commands/ListWorkspacesCommand.d.ts +11 -7
  158. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +11 -7
  159. package/dist-types/commands/QueryColleaguesCommand.d.ts +11 -7
  160. package/dist-types/commands/QueryUserCommand.d.ts +11 -7
  161. package/dist-types/commands/QueryUsersCommand.d.ts +11 -7
  162. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +11 -7
  163. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +11 -7
  164. package/dist-types/commands/UnlinkIdentityCommand.d.ts +11 -7
  165. package/dist-types/commands/UnlinkWorkspaceCommand.d.ts +11 -7
  166. package/dist-types/commands/UpdateAccountCommand.d.ts +11 -7
  167. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +11 -7
  168. package/dist-types/commands/UpdateBotCommand.d.ts +11 -7
  169. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +11 -7
  170. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +11 -7
  171. package/dist-types/commands/UploadPictureCommand.d.ts +11 -7
  172. package/dist-types/commands/UploadPictureV1Command.d.ts +12 -8
  173. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +11 -7
  174. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +11 -7
  175. package/dist-types/commands/VerifyIdentityCommand.d.ts +11 -7
  176. package/dist-types/commands/index.d.ts +4 -4
  177. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  178. package/dist-types/endpoint/bdd.d.ts +2 -0
  179. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  180. package/dist-types/extensionConfiguration.d.ts +4 -3
  181. package/dist-types/index.d.ts +5 -1
  182. package/dist-types/models/UsersServiceException.d.ts +1 -1
  183. package/dist-types/models/enums.d.ts +196 -0
  184. package/dist-types/models/errors.d.ts +189 -0
  185. package/dist-types/models/models_0.d.ts +75 -435
  186. package/dist-types/runtimeConfig.browser.d.ts +39 -16
  187. package/dist-types/runtimeConfig.d.ts +38 -15
  188. package/dist-types/runtimeConfig.native.d.ts +40 -17
  189. package/dist-types/runtimeConfig.shared.d.ts +24 -3
  190. package/dist-types/runtimeExtensions.d.ts +1 -1
  191. package/dist-types/schemas/schemas_0.d.ts +217 -0
  192. package/package.json +13 -39
  193. package/dist-cjs/models/index.js +0 -4
  194. package/dist-cjs/protocols/Aws_restJson1.js +0 -1915
  195. package/dist-es/models/index.js +0 -1
  196. package/dist-es/protocols/Aws_restJson1.js +0 -1821
  197. package/dist-types/models/index.d.ts +0 -1
  198. package/dist-types/protocols/Aws_restJson1.d.ts +0 -407
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QueryUsersCommand = 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
- class QueryUsersCommand extends smithy_client_1.Command.classBuilder()
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 QueryUsersCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "QueryUsers", {})
15
16
  .n("UsersClient", "QueryUsersCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_QueryUsersCommand)
18
- .de(Aws_restJson1_1.de_QueryUsersCommand)
17
+ .sc(schemas_0_1.QueryUsers$)
19
18
  .build() {
20
19
  }
21
20
  exports.QueryUsersCommand = QueryUsersCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = 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
- class ToggleTranscriptionEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
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 ToggleTranscriptionEmailNotificationsSubscriptionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "ToggleTranscriptionEmailNotificationsSubscription", {})
15
16
  .n("UsersClient", "ToggleTranscriptionEmailNotificationsSubscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
18
- .de(Aws_restJson1_1.de_ToggleTranscriptionEmailNotificationsSubscriptionCommand)
17
+ .sc(schemas_0_1.ToggleTranscriptionEmailNotificationsSubscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.ToggleTranscriptionEmailNotificationsSubscriptionCommand = ToggleTranscriptionEmailNotificationsSubscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ToggleUnreadEmailNotificationsSubscriptionCommand = 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
- class ToggleUnreadEmailNotificationsSubscriptionCommand extends smithy_client_1.Command.classBuilder()
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 ToggleUnreadEmailNotificationsSubscriptionCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "ToggleUnreadEmailNotificationsSubscription", {})
15
16
  .n("UsersClient", "ToggleUnreadEmailNotificationsSubscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ToggleUnreadEmailNotificationsSubscriptionCommand)
18
- .de(Aws_restJson1_1.de_ToggleUnreadEmailNotificationsSubscriptionCommand)
17
+ .sc(schemas_0_1.ToggleUnreadEmailNotificationsSubscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.ToggleUnreadEmailNotificationsSubscriptionCommand = ToggleUnreadEmailNotificationsSubscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UnlinkIdentityCommand = 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
- class UnlinkIdentityCommand extends smithy_client_1.Command.classBuilder()
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 UnlinkIdentityCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UnlinkIdentity", {})
15
16
  .n("UsersClient", "UnlinkIdentityCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UnlinkIdentityCommand)
18
- .de(Aws_restJson1_1.de_UnlinkIdentityCommand)
17
+ .sc(schemas_0_1.UnlinkIdentity$)
19
18
  .build() {
20
19
  }
21
20
  exports.UnlinkIdentityCommand = UnlinkIdentityCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UnlinkWorkspaceCommand = 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
- class UnlinkWorkspaceCommand extends smithy_client_1.Command.classBuilder()
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 UnlinkWorkspaceCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UnlinkWorkspace", {})
15
16
  .n("UsersClient", "UnlinkWorkspaceCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UnlinkWorkspaceCommand)
18
- .de(Aws_restJson1_1.de_UnlinkWorkspaceCommand)
17
+ .sc(schemas_0_1.UnlinkWorkspace$)
19
18
  .build() {
20
19
  }
21
20
  exports.UnlinkWorkspaceCommand = UnlinkWorkspaceCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateAccountCommand = 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
- class UpdateAccountCommand extends smithy_client_1.Command.classBuilder()
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 UpdateAccountCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UpdateAccount", {})
15
16
  .n("UsersClient", "UpdateAccountCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UpdateAccountCommand)
18
- .de(Aws_restJson1_1.de_UpdateAccountCommand)
17
+ .sc(schemas_0_1.UpdateAccount$)
19
18
  .build() {
20
19
  }
21
20
  exports.UpdateAccountCommand = UpdateAccountCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateBotCallbackCommand = 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
- class UpdateBotCallbackCommand extends smithy_client_1.Command.classBuilder()
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 UpdateBotCallbackCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UpdateBotCallback", {})
15
16
  .n("UsersClient", "UpdateBotCallbackCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UpdateBotCallbackCommand)
18
- .de(Aws_restJson1_1.de_UpdateBotCallbackCommand)
17
+ .sc(schemas_0_1.UpdateBotCallback$)
19
18
  .build() {
20
19
  }
21
20
  exports.UpdateBotCallbackCommand = UpdateBotCallbackCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateBotCommand = 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
- class UpdateBotCommand extends smithy_client_1.Command.classBuilder()
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 UpdateBotCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UpdateBot", {})
15
16
  .n("UsersClient", "UpdateBotCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UpdateBotCommand)
18
- .de(Aws_restJson1_1.de_UpdateBotCommand)
17
+ .sc(schemas_0_1.UpdateBot$)
19
18
  .build() {
20
19
  }
21
20
  exports.UpdateBotCommand = UpdateBotCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateUserEmailNotificationsSettingsCommand = 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
- class UpdateUserEmailNotificationsSettingsCommand extends smithy_client_1.Command.classBuilder()
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 UpdateUserEmailNotificationsSettingsCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UpdateUserEmailNotificationsSettings", {})
15
16
  .n("UsersClient", "UpdateUserEmailNotificationsSettingsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UpdateUserEmailNotificationsSettingsCommand)
18
- .de(Aws_restJson1_1.de_UpdateUserEmailNotificationsSettingsCommand)
17
+ .sc(schemas_0_1.UpdateUserEmailNotificationsSettings$)
19
18
  .build() {
20
19
  }
21
20
  exports.UpdateUserEmailNotificationsSettingsCommand = UpdateUserEmailNotificationsSettingsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateWorkspaceCommand = 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
- class UpdateWorkspaceCommand extends smithy_client_1.Command.classBuilder()
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 UpdateWorkspaceCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UpdateWorkspace", {})
15
16
  .n("UsersClient", "UpdateWorkspaceCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UpdateWorkspaceCommand)
18
- .de(Aws_restJson1_1.de_UpdateWorkspaceCommand)
17
+ .sc(schemas_0_1.UpdateWorkspace$)
19
18
  .build() {
20
19
  }
21
20
  exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UploadPictureCommand = 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
- class UploadPictureCommand extends smithy_client_1.Command.classBuilder()
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 UploadPictureCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UploadPicture", {})
15
16
  .n("UsersClient", "UploadPictureCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UploadPictureCommand)
18
- .de(Aws_restJson1_1.de_UploadPictureCommand)
17
+ .sc(schemas_0_1.UploadPicture$)
19
18
  .build() {
20
19
  }
21
20
  exports.UploadPictureCommand = UploadPictureCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UploadPictureV1Command = 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
- class UploadPictureV1Command extends smithy_client_1.Command.classBuilder()
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 UploadPictureV1Command extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "UploadPictureV1", {})
15
16
  .n("UsersClient", "UploadPictureV1Command")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UploadPictureV1Command)
18
- .de(Aws_restJson1_1.de_UploadPictureV1Command)
17
+ .sc(schemas_0_1.UploadPictureV1$)
19
18
  .build() {
20
19
  }
21
20
  exports.UploadPictureV1Command = UploadPictureV1Command;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VerifyBotSecretKeyCommand = 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
- class VerifyBotSecretKeyCommand extends smithy_client_1.Command.classBuilder()
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 VerifyBotSecretKeyCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "VerifyBotSecretKey", {})
15
16
  .n("UsersClient", "VerifyBotSecretKeyCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_VerifyBotSecretKeyCommand)
18
- .de(Aws_restJson1_1.de_VerifyBotSecretKeyCommand)
17
+ .sc(schemas_0_1.VerifyBotSecretKey$)
19
18
  .build() {
20
19
  }
21
20
  exports.VerifyBotSecretKeyCommand = VerifyBotSecretKeyCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VerifyBotSecretKeyV1Command = 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
- class VerifyBotSecretKeyV1Command extends smithy_client_1.Command.classBuilder()
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 VerifyBotSecretKeyV1Command extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "VerifyBotSecretKeyV1", {})
15
16
  .n("UsersClient", "VerifyBotSecretKeyV1Command")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_VerifyBotSecretKeyV1Command)
18
- .de(Aws_restJson1_1.de_VerifyBotSecretKeyV1Command)
17
+ .sc(schemas_0_1.VerifyBotSecretKeyV1$)
19
18
  .build() {
20
19
  }
21
20
  exports.VerifyBotSecretKeyV1Command = VerifyBotSecretKeyV1Command;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VerifyIdentityCommand = 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
- class VerifyIdentityCommand extends smithy_client_1.Command.classBuilder()
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 VerifyIdentityCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
9
12
  .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
13
14
  })
14
15
  .s("Users", "VerifyIdentity", {})
15
16
  .n("UsersClient", "VerifyIdentityCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_VerifyIdentityCommand)
18
- .de(Aws_restJson1_1.de_VerifyIdentityCommand)
17
+ .sc(schemas_0_1.VerifyIdentity$)
19
18
  .build() {
20
19
  }
21
20
  exports.VerifyIdentityCommand = VerifyIdentityCommand;
@@ -7,15 +7,15 @@ tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataCommand"), exports);
7
7
  tslib_1.__exportStar(require("./BatchGetUsersPbxLinkDataV1Command"), exports);
8
8
  tslib_1.__exportStar(require("./ChangeUserEmailCommand"), exports);
9
9
  tslib_1.__exportStar(require("./CreateAnonymousSessionCommand"), exports);
10
- tslib_1.__exportStar(require("./CreateBotCommand"), exports);
11
10
  tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateBotCommand"), exports);
12
12
  tslib_1.__exportStar(require("./CreateSystemBotCommand"), exports);
13
- tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
14
13
  tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
15
15
  tslib_1.__exportStar(require("./GetAccountCommand"), exports);
16
16
  tslib_1.__exportStar(require("./GetAppVersionCommand"), exports);
17
- tslib_1.__exportStar(require("./GetBotCommand"), exports);
18
17
  tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetBotCommand"), exports);
19
19
  tslib_1.__exportStar(require("./GetUserCommand"), exports);
20
20
  tslib_1.__exportStar(require("./GetUserEmailNotificationsSettingsCommand"), exports);
21
21
  tslib_1.__exportStar(require("./GetUserPbxLinkDataCommand"), exports);
@@ -37,8 +37,8 @@ tslib_1.__exportStar(require("./ToggleUnreadEmailNotificationsSubscriptionComman
37
37
  tslib_1.__exportStar(require("./UnlinkIdentityCommand"), exports);
38
38
  tslib_1.__exportStar(require("./UnlinkWorkspaceCommand"), exports);
39
39
  tslib_1.__exportStar(require("./UpdateAccountCommand"), exports);
40
- tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
41
40
  tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
41
+ tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
42
42
  tslib_1.__exportStar(require("./UpdateUserEmailNotificationsSettingsCommand"), exports);
43
43
  tslib_1.__exportStar(require("./UpdateWorkspaceCommand"), exports);
44
44
  tslib_1.__exportStar(require("./UploadPictureCommand"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const clientContextParamDefaults = {};
5
+ const resolveClientEndpointParameters = (options) => {
6
+ return Object.assign(options, {
7
+ env: options.env ?? "prod",
8
+ defaultSigningName: "",
9
+ clientContextParams: Object.assign(clientContextParamDefaults, options.clientContextParams),
10
+ });
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ env: { type: "clientContextParams", name: "env" },
15
+ endpoint: { type: "builtInParams", name: "endpoint" },
16
+ };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bdd = void 0;
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
+ const a = "stringEquals", b = { "ref": "endpoint" }, c = { "ref": "env" };
6
+ const _data = {
7
+ conditions: [
8
+ ["isSet", [b]],
9
+ [a, [c, "stable"]],
10
+ [a, [c, "stage"]]
11
+ ],
12
+ results: [
13
+ [-1],
14
+ [b, {}],
15
+ ["https://api-stable.x-bees.com", {}],
16
+ ["https://api-stage.x-bees.com", {}],
17
+ ["https://api.x-bees.com", {}]
18
+ ]
19
+ };
20
+ const root = 2;
21
+ const r = 100_000_000;
22
+ const nodes = new Int32Array([
23
+ -1, 1, -1,
24
+ 0, r + 1, 3,
25
+ 1, r + 2, 4,
26
+ 2, r + 3, r + 4,
27
+ ]);
28
+ exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
+ const bdd_1 = require("./bdd");
6
+ const cache = new endpoints_1.EndpointCache({
7
+ size: 50,
8
+ params: ["endpoint", "env"],
9
+ });
10
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
11
+ return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
12
+ endpointParams: endpointParams,
13
+ logger: context.logger,
14
+ }));
15
+ };
16
+ exports.defaultEndpointResolver = defaultEndpointResolver;
package/dist-cjs/index.js CHANGED
@@ -5,6 +5,9 @@ const tslib_1 = require("tslib");
5
5
  tslib_1.__exportStar(require("./UsersClient"), exports);
6
6
  tslib_1.__exportStar(require("./Users"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
9
+ tslib_1.__exportStar(require("./models/enums"), exports);
10
+ tslib_1.__exportStar(require("./models/errors"), exports);
11
+ tslib_1.__exportStar(require("./models/models_0"), exports);
9
12
  var UsersServiceException_1 = require("./models/UsersServiceException");
10
13
  Object.defineProperty(exports, "UsersServiceException", { enumerable: true, get: function () { return UsersServiceException_1.UsersServiceException; } });
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UsersServiceException = 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 UsersServiceException extends smithy_client_1.ServiceException {
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class UsersServiceException extends client_1.ServiceException {
7
7
  constructor(options) {
8
8
  super(options);
9
9
  Object.setPrototypeOf(this, UsersServiceException.prototype);