@wildix/xbees-users-client 1.0.37 → 1.0.39

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 (51) hide show
  1. package/dist-cjs/UsersClient.js +4 -5
  2. package/dist-cjs/models/models_0.js +33 -21
  3. package/dist-cjs/protocols/Aws_restJson1.js +73 -116
  4. package/dist-cjs/runtimeConfig.browser.js +1 -1
  5. package/dist-cjs/runtimeConfig.js +4 -3
  6. package/dist-cjs/runtimeExtensions.js +2 -10
  7. package/dist-es/UsersClient.js +4 -5
  8. package/dist-es/models/models_0.js +28 -16
  9. package/dist-es/protocols/Aws_restJson1.js +6 -49
  10. package/dist-es/runtimeConfig.browser.js +2 -2
  11. package/dist-es/runtimeConfig.js +5 -4
  12. package/dist-es/runtimeExtensions.js +2 -10
  13. package/dist-types/UsersClient.d.ts +1 -1
  14. package/dist-types/commands/BatchGetUsersCommand.d.ts +12 -0
  15. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +12 -0
  16. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +12 -0
  17. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +12 -0
  18. package/dist-types/commands/ChangeUserEmailCommand.d.ts +12 -0
  19. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +16 -1
  20. package/dist-types/commands/CreateBotCommand.d.ts +19 -3
  21. package/dist-types/commands/CreateSystemBotCommand.d.ts +12 -0
  22. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +12 -0
  23. package/dist-types/commands/DeleteBotCommand.d.ts +12 -0
  24. package/dist-types/commands/GetBotCallbackCommand.d.ts +13 -1
  25. package/dist-types/commands/GetBotCommand.d.ts +16 -1
  26. package/dist-types/commands/GetUserCommand.d.ts +12 -0
  27. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +12 -0
  28. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +12 -0
  29. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +12 -0
  30. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +12 -0
  31. package/dist-types/commands/IntelligenceSearchCommand.d.ts +12 -0
  32. package/dist-types/commands/ListBotApiKeysCommand.d.ts +12 -0
  33. package/dist-types/commands/ListBotsCommand.d.ts +16 -1
  34. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
  35. package/dist-types/commands/QueryColleaguesCommand.d.ts +12 -0
  36. package/dist-types/commands/QueryUserCommand.d.ts +12 -0
  37. package/dist-types/commands/QueryUsersCommand.d.ts +12 -0
  38. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +12 -0
  39. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +12 -0
  40. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +14 -2
  41. package/dist-types/commands/UpdateBotCommand.d.ts +19 -3
  42. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +12 -0
  43. package/dist-types/commands/UploadPictureCommand.d.ts +12 -0
  44. package/dist-types/commands/UploadPictureV1Command.d.ts +12 -0
  45. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +12 -0
  46. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +12 -0
  47. package/dist-types/models/models_0.d.ts +179 -118
  48. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  49. package/dist-types/runtimeConfig.d.ts +3 -2
  50. package/dist-types/runtimeConfig.native.d.ts +3 -2
  51. package/package.json +38 -34
@@ -7,13 +7,13 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
10
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
12
  requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
- env: "stage" | "stable" | "prod";
16
+ env?: "stage" | "stable" | "prod" | undefined;
17
17
  token: import("@wildix/smithy-utils").TokenProvider;
18
18
  apiVersion: string;
19
19
  cacheMiddleware?: boolean | undefined;
@@ -26,5 +26,6 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
26
26
  logger: import("@smithy/types").Logger;
27
27
  extensions: import("./runtimeExtensions").RuntimeExtension[];
28
28
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
29
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
29
30
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
30
31
  };
@@ -7,13 +7,14 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
10
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
12
  requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
- env: "stage" | "stable" | "prod";
16
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
+ env?: "stage" | "stable" | "prod" | undefined;
17
18
  token: import("@wildix/smithy-utils").TokenProvider;
18
19
  apiVersion: string;
19
20
  cacheMiddleware?: boolean | undefined;
@@ -5,7 +5,7 @@ import { UsersClientConfig } from "./UsersClient";
5
5
  export declare const getRuntimeConfig: (config: UsersClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- env: "stage" | "stable" | "prod";
8
+ env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
10
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
@@ -18,12 +18,13 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
19
  utf8Encoder: (input: string | Uint8Array) => string;
20
20
  disableHostPrefix: boolean;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
21
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
22
22
  maxAttempts: number | import("@smithy/types").Provider<number>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  logger: import("@smithy/types").Logger;
25
25
  extensions: import("./runtimeExtensions").RuntimeExtension[];
26
26
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
27
27
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
28
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
28
29
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
30
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.0.37",
4
+ "version": "1.0.39",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -17,47 +17,51 @@
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
- "@aws-crypto/sha256-browser": "3.0.0",
21
- "@aws-crypto/sha256-js": "3.0.0",
22
- "@aws-sdk/middleware-user-agent": "3.587.0",
20
+ "tslib": "^2.6.2",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/middleware-host-header": "3.775.0",
25
+ "@aws-sdk/middleware-logger": "3.775.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
27
+ "@aws-sdk/middleware-user-agent": "3.775.0",
23
28
  "@aws-sdk/types": "latest",
24
- "@aws-sdk/util-user-agent-browser": "3.577.0",
25
- "@aws-sdk/util-user-agent-node": "3.587.0",
26
- "@smithy/config-resolver": "^3.0.1",
27
- "@smithy/core": "^2.2.0",
28
- "@smithy/fetch-http-handler": "^3.0.1",
29
- "@smithy/hash-node": "^3.0.0",
30
- "@smithy/invalid-dependency": "^3.0.0",
31
- "@smithy/middleware-content-length": "^3.0.0",
32
- "@smithy/middleware-retry": "^3.0.3",
33
- "@smithy/middleware-serde": "^3.0.0",
34
- "@smithy/middleware-stack": "^3.0.0",
35
- "@smithy/node-config-provider": "^3.1.0",
36
- "@smithy/node-http-handler": "^3.0.0",
37
- "@smithy/protocol-http": "^4.0.0",
38
- "@smithy/smithy-client": "^3.1.1",
39
- "@smithy/types": "^3.0.0",
40
- "@smithy/url-parser": "^3.0.0",
41
- "@smithy/util-base64": "^3.0.0",
42
- "@smithy/util-body-length-browser": "^3.0.0",
43
- "@smithy/util-body-length-node": "^3.0.0",
44
- "@smithy/util-defaults-mode-browser": "^3.0.3",
45
- "@smithy/util-defaults-mode-node": "^3.0.3",
46
- "@smithy/util-retry": "^3.0.0",
47
- "@smithy/util-utf8": "^3.0.0",
48
- "@wildix/smithy-utils": "^1.0.2",
49
- "tslib": "^2.6.2"
29
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
30
+ "@aws-sdk/util-user-agent-node": "3.775.0",
31
+ "@smithy/config-resolver": "^4.1.0",
32
+ "@smithy/core": "^3.2.0",
33
+ "@smithy/fetch-http-handler": "^5.0.2",
34
+ "@smithy/hash-node": "^4.0.2",
35
+ "@smithy/invalid-dependency": "^4.0.2",
36
+ "@smithy/middleware-content-length": "^4.0.2",
37
+ "@smithy/middleware-retry": "^4.1.0",
38
+ "@smithy/middleware-serde": "^4.0.3",
39
+ "@smithy/middleware-stack": "^4.0.2",
40
+ "@smithy/node-config-provider": "^4.0.2",
41
+ "@smithy/node-http-handler": "^4.0.4",
42
+ "@smithy/protocol-http": "^5.1.0",
43
+ "@smithy/smithy-client": "^4.2.0",
44
+ "@smithy/types": "^4.2.0",
45
+ "@smithy/url-parser": "^4.0.2",
46
+ "@smithy/util-base64": "^4.0.0",
47
+ "@smithy/util-body-length-browser": "^4.0.0",
48
+ "@smithy/util-body-length-node": "^4.0.0",
49
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
50
+ "@smithy/util-defaults-mode-node": "^4.0.8",
51
+ "@smithy/util-retry": "^4.0.2",
52
+ "@smithy/util-utf8": "^4.0.0",
53
+ "@wildix/smithy-utils": "^1.0.3"
50
54
  },
51
55
  "devDependencies": {
52
- "@tsconfig/node16": "16.1.3",
53
- "@types/node": "^16.18.96",
56
+ "@tsconfig/node18": "18.2.4",
54
57
  "concurrently": "7.0.0",
55
58
  "downlevel-dts": "0.10.1",
56
59
  "rimraf": "^3.0.0",
57
- "typescript": "~4.9.5"
60
+ "typescript": "~5.2.2",
61
+ "@types/node": "^18.19.69"
58
62
  },
59
63
  "engines": {
60
- "node": ">=16.0.0"
64
+ "node": ">=18.0.0"
61
65
  },
62
66
  "typesVersions": {
63
67
  "<4.0": {