@wildix/xbees-users-client 1.0.7 → 1.0.9

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 (65) hide show
  1. package/dist-cjs/Users.js +6 -0
  2. package/dist-cjs/UsersClient.js +7 -3
  3. package/dist-cjs/commands/BatchGetUsersPbxLinkDataCommand.js +12 -32
  4. package/dist-cjs/commands/BatchGetUsersStreamLinkDataCommand.js +12 -32
  5. package/dist-cjs/commands/CreateBotApiKeyCommand.js +12 -32
  6. package/dist-cjs/commands/CreateBotCommand.js +12 -32
  7. package/dist-cjs/commands/DeleteBotApiKeyCommand.js +12 -32
  8. package/dist-cjs/commands/DeleteBotCommand.js +12 -32
  9. package/dist-cjs/commands/GetBotCallbackCommand.js +21 -0
  10. package/dist-cjs/commands/GetBotCommand.js +21 -0
  11. package/dist-cjs/commands/ListBotApiKeysCommand.js +12 -32
  12. package/dist-cjs/commands/ListBotsCommand.js +12 -32
  13. package/dist-cjs/commands/UpdateBotCallbackCommand.js +21 -0
  14. package/dist-cjs/commands/UpdateBotCommand.js +12 -32
  15. package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +12 -32
  16. package/dist-cjs/commands/index.js +3 -0
  17. package/dist-cjs/models/models_0.js +25 -21
  18. package/dist-cjs/protocols/Aws_restJson1.js +200 -352
  19. package/dist-cjs/runtimeConfig.browser.js +5 -1
  20. package/dist-cjs/runtimeConfig.js +5 -1
  21. package/dist-cjs/runtimeConfig.shared.js +13 -11
  22. package/dist-es/Users.js +6 -0
  23. package/dist-es/UsersClient.js +7 -3
  24. package/dist-es/commands/BatchGetUsersPbxLinkDataCommand.js +12 -32
  25. package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +12 -32
  26. package/dist-es/commands/CreateBotApiKeyCommand.js +12 -32
  27. package/dist-es/commands/CreateBotCommand.js +12 -32
  28. package/dist-es/commands/DeleteBotApiKeyCommand.js +12 -32
  29. package/dist-es/commands/DeleteBotCommand.js +12 -32
  30. package/dist-es/commands/GetBotCallbackCommand.js +17 -0
  31. package/dist-es/commands/GetBotCommand.js +17 -0
  32. package/dist-es/commands/ListBotApiKeysCommand.js +12 -32
  33. package/dist-es/commands/ListBotsCommand.js +12 -32
  34. package/dist-es/commands/UpdateBotCallbackCommand.js +17 -0
  35. package/dist-es/commands/UpdateBotCommand.js +12 -32
  36. package/dist-es/commands/VerifyBotSecretKeyCommand.js +12 -32
  37. package/dist-es/commands/index.js +3 -0
  38. package/dist-es/models/models_0.js +22 -18
  39. package/dist-es/protocols/Aws_restJson1.js +192 -350
  40. package/dist-es/runtimeConfig.browser.js +4 -1
  41. package/dist-es/runtimeConfig.js +4 -1
  42. package/dist-es/runtimeConfig.shared.js +13 -11
  43. package/dist-types/Users.d.ts +22 -0
  44. package/dist-types/UsersClient.d.ts +18 -9
  45. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +7 -19
  46. package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +7 -19
  47. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +11 -45
  48. package/dist-types/commands/CreateBotCommand.d.ts +32 -66
  49. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +7 -19
  50. package/dist-types/commands/DeleteBotCommand.d.ts +7 -19
  51. package/dist-types/commands/GetBotCallbackCommand.d.ts +91 -0
  52. package/dist-types/commands/GetBotCommand.d.ts +73 -0
  53. package/dist-types/commands/ListBotApiKeysCommand.d.ts +7 -19
  54. package/dist-types/commands/ListBotsCommand.d.ts +9 -45
  55. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +115 -0
  56. package/dist-types/commands/UpdateBotCommand.d.ts +12 -71
  57. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +7 -19
  58. package/dist-types/commands/index.d.ts +3 -0
  59. package/dist-types/index.d.ts +2 -0
  60. package/dist-types/models/models_0.d.ts +155 -62
  61. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  62. package/dist-types/runtimeConfig.browser.d.ts +3 -4
  63. package/dist-types/runtimeConfig.d.ts +3 -4
  64. package/dist-types/runtimeConfig.native.d.ts +3 -4
  65. package/package.json +32 -31
@@ -7,7 +7,10 @@ tslib_1.__exportStar(require("./CreateBotCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateBotApiKeyCommand"), exports);
8
8
  tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
9
9
  tslib_1.__exportStar(require("./DeleteBotApiKeyCommand"), exports);
10
+ tslib_1.__exportStar(require("./GetBotCommand"), exports);
11
+ tslib_1.__exportStar(require("./GetBotCallbackCommand"), exports);
10
12
  tslib_1.__exportStar(require("./ListBotApiKeysCommand"), exports);
11
13
  tslib_1.__exportStar(require("./ListBotsCommand"), exports);
12
14
  tslib_1.__exportStar(require("./UpdateBotCommand"), exports);
15
+ tslib_1.__exportStar(require("./UpdateBotCallbackCommand"), exports);
13
16
  tslib_1.__exportStar(require("./VerifyBotSecretKeyCommand"), exports);
@@ -1,43 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotApiKeyNotFoundException = exports.BotCallbackSettings = exports.ValidationException = exports.ForbiddenException = void 0;
3
+ exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotApiKeyNotFoundException = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
- class ForbiddenException extends UsersServiceException_1.UsersServiceException {
5
+ class ValidationException extends UsersServiceException_1.UsersServiceException {
6
6
  constructor(opts) {
7
7
  super({
8
- name: "ForbiddenException",
8
+ name: "ValidationException",
9
9
  $fault: "client",
10
10
  ...opts
11
11
  });
12
- this.name = "ForbiddenException";
12
+ this.name = "ValidationException";
13
13
  this.$fault = "client";
14
- Object.setPrototypeOf(this, ForbiddenException.prototype);
14
+ Object.setPrototypeOf(this, ValidationException.prototype);
15
15
  }
16
16
  }
17
- exports.ForbiddenException = ForbiddenException;
18
- class ValidationException extends UsersServiceException_1.UsersServiceException {
17
+ exports.ValidationException = ValidationException;
18
+ class ForbiddenException extends UsersServiceException_1.UsersServiceException {
19
19
  constructor(opts) {
20
20
  super({
21
- name: "ValidationException",
21
+ name: "ForbiddenException",
22
22
  $fault: "client",
23
23
  ...opts
24
24
  });
25
- this.name = "ValidationException";
25
+ this.name = "ForbiddenException";
26
26
  this.$fault = "client";
27
- Object.setPrototypeOf(this, ValidationException.prototype);
27
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
28
28
  }
29
29
  }
30
- exports.ValidationException = ValidationException;
31
- var BotCallbackSettings;
32
- (function (BotCallbackSettings) {
33
- BotCallbackSettings.visit = (value, visitor) => {
34
- if (value.webhook !== undefined)
35
- return visitor.webhook(value.webhook);
36
- if (value.sqs !== undefined)
37
- return visitor.sqs(value.sqs);
38
- return visitor._(value.$unknown[0], value.$unknown[1]);
39
- };
40
- })(BotCallbackSettings = exports.BotCallbackSettings || (exports.BotCallbackSettings = {}));
30
+ exports.ForbiddenException = ForbiddenException;
41
31
  class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceException {
42
32
  constructor(opts) {
43
33
  super({
@@ -51,6 +41,20 @@ class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceExc
51
41
  }
52
42
  }
53
43
  exports.BotApiKeyNotFoundException = BotApiKeyNotFoundException;
44
+ var BotEndpoint;
45
+ (function (BotEndpoint) {
46
+ BotEndpoint.visit = (value, visitor) => {
47
+ if (value.dialogflowCx !== undefined)
48
+ return visitor.dialogflowCx(value.dialogflowCx);
49
+ if (value.openAiAssistant !== undefined)
50
+ return visitor.openAiAssistant(value.openAiAssistant);
51
+ if (value.webhook !== undefined)
52
+ return visitor.webhook(value.webhook);
53
+ if (value.sqs !== undefined)
54
+ return visitor.sqs(value.sqs);
55
+ return visitor._(value.$unknown[0], value.$unknown[1]);
56
+ };
57
+ })(BotEndpoint = exports.BotEndpoint || (exports.BotEndpoint = {}));
54
58
  class BotNotFoundException extends UsersServiceException_1.UsersServiceException {
55
59
  constructor(opts) {
56
60
  super({