@wildix/xbees-conversations-client 1.1.13 → 1.1.14

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 (75) hide show
  1. package/dist-cjs/ConversationsClient.js +4 -5
  2. package/dist-cjs/models/models_0.js +48 -43
  3. package/dist-cjs/protocols/Aws_restJson1.js +101 -150
  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/ConversationsClient.js +4 -5
  8. package/dist-es/models/models_0.js +43 -38
  9. package/dist-es/protocols/Aws_restJson1.js +5 -54
  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/ConversationsClient.d.ts +1 -1
  14. package/dist-types/commands/AddChannelMemberCommand.d.ts +13 -0
  15. package/dist-types/commands/AddChannelMembersCommand.d.ts +13 -0
  16. package/dist-types/commands/AssignChannelCommand.d.ts +12 -0
  17. package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -0
  18. package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -0
  19. package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -0
  20. package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
  21. package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -0
  22. package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -0
  23. package/dist-types/commands/DeleteMessageCommand.d.ts +12 -0
  24. package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -0
  25. package/dist-types/commands/DescribeEventCommand.d.ts +12 -0
  26. package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -0
  27. package/dist-types/commands/GetChannelCommand.d.ts +12 -0
  28. package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -0
  29. package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -0
  30. package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -0
  31. package/dist-types/commands/GetInboxStateCommand.d.ts +12 -0
  32. package/dist-types/commands/GetMessageCommand.d.ts +12 -0
  33. package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -0
  34. package/dist-types/commands/GetTokenCommand.d.ts +12 -0
  35. package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -0
  36. package/dist-types/commands/HideChannelCommand.d.ts +12 -0
  37. package/dist-types/commands/InviteCommand.d.ts +12 -0
  38. package/dist-types/commands/JoinChannelCommand.d.ts +12 -0
  39. package/dist-types/commands/LeaveChannelCommand.d.ts +12 -0
  40. package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -0
  41. package/dist-types/commands/ListChannelsCommand.d.ts +12 -0
  42. package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -0
  43. package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -0
  44. package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -0
  45. package/dist-types/commands/ListMessagesCommand.d.ts +12 -0
  46. package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -0
  47. package/dist-types/commands/MarkReadCommand.d.ts +12 -0
  48. package/dist-types/commands/MarkUnreadCommand.d.ts +12 -0
  49. package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -0
  50. package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -0
  51. package/dist-types/commands/PinChannelCommand.d.ts +12 -0
  52. package/dist-types/commands/PinMessageCommand.d.ts +12 -0
  53. package/dist-types/commands/QueryChannelsCommand.d.ts +12 -0
  54. package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -0
  55. package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -0
  56. package/dist-types/commands/SendGiphyCommand.d.ts +12 -0
  57. package/dist-types/commands/SendMessageCommand.d.ts +12 -0
  58. package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -0
  59. package/dist-types/commands/SendTypingStartCommand.d.ts +12 -0
  60. package/dist-types/commands/SendTypingStopCommand.d.ts +12 -0
  61. package/dist-types/commands/ShowChannelCommand.d.ts +12 -0
  62. package/dist-types/commands/TagChannelCommand.d.ts +12 -0
  63. package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -0
  64. package/dist-types/commands/UnpinChannelCommand.d.ts +12 -0
  65. package/dist-types/commands/UnpinMessageCommand.d.ts +12 -0
  66. package/dist-types/commands/UntagChannelCommand.d.ts +12 -0
  67. package/dist-types/commands/UpdateChannelCommand.d.ts +12 -0
  68. package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -0
  69. package/dist-types/commands/UpdateMessageCommand.d.ts +12 -0
  70. package/dist-types/commands/UploadFileCommand.d.ts +12 -0
  71. package/dist-types/models/models_0.d.ts +301 -291
  72. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  73. package/dist-types/runtimeConfig.d.ts +3 -2
  74. package/dist-types/runtimeConfig.native.d.ts +3 -2
  75. package/package.json +38 -34
@@ -7,13 +7,13 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
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: ConversationsClientConfig) => {
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: ConversationsClientConfig) => {
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 { ConversationsClientConfig } from "./ConversationsClient";
5
5
  export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
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: ConversationsClientConfig) => {
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-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.1.13",
4
+ "version": "1.1.14",
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
- "tslib": "^2.6.2",
21
- "@aws-crypto/sha256-browser": "3.0.0",
22
- "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/middleware-user-agent": "3.587.0",
20
+ "@aws-crypto/sha256-browser": "5.2.0",
21
+ "@aws-crypto/sha256-js": "5.2.0",
22
+ "@aws-sdk/core": "3.775.0",
23
+ "@aws-sdk/middleware-host-header": "3.775.0",
24
+ "@aws-sdk/middleware-logger": "3.775.0",
25
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
26
+ "@aws-sdk/middleware-user-agent": "3.775.0",
24
27
  "@aws-sdk/types": "latest",
25
- "@aws-sdk/util-user-agent-browser": "3.577.0",
26
- "@aws-sdk/util-user-agent-node": "3.587.0",
27
- "@smithy/config-resolver": "^3.0.1",
28
- "@smithy/core": "^2.2.0",
29
- "@smithy/fetch-http-handler": "^3.0.1",
30
- "@smithy/hash-node": "^3.0.0",
31
- "@smithy/invalid-dependency": "^3.0.0",
32
- "@smithy/middleware-content-length": "^3.0.0",
33
- "@smithy/middleware-retry": "^3.0.3",
34
- "@smithy/middleware-serde": "^3.0.0",
35
- "@smithy/middleware-stack": "^3.0.0",
36
- "@smithy/node-config-provider": "^3.1.0",
37
- "@smithy/node-http-handler": "^3.0.0",
38
- "@smithy/protocol-http": "^4.0.0",
39
- "@smithy/smithy-client": "^3.1.1",
40
- "@smithy/types": "^3.0.0",
41
- "@smithy/url-parser": "^3.0.0",
42
- "@smithy/util-base64": "^3.0.0",
43
- "@smithy/util-body-length-browser": "^3.0.0",
44
- "@smithy/util-body-length-node": "^3.0.0",
45
- "@smithy/util-defaults-mode-browser": "^3.0.3",
46
- "@smithy/util-defaults-mode-node": "^3.0.3",
47
- "@smithy/util-retry": "^3.0.0",
48
- "@smithy/util-utf8": "^3.0.0",
49
- "@wildix/smithy-utils": "^1.0.2"
28
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
29
+ "@aws-sdk/util-user-agent-node": "3.775.0",
30
+ "@smithy/config-resolver": "^4.1.0",
31
+ "@smithy/core": "^3.2.0",
32
+ "@smithy/fetch-http-handler": "^5.0.2",
33
+ "@smithy/hash-node": "^4.0.2",
34
+ "@smithy/invalid-dependency": "^4.0.2",
35
+ "@smithy/middleware-content-length": "^4.0.2",
36
+ "@smithy/middleware-retry": "^4.1.0",
37
+ "@smithy/middleware-serde": "^4.0.3",
38
+ "@smithy/middleware-stack": "^4.0.2",
39
+ "@smithy/node-config-provider": "^4.0.2",
40
+ "@smithy/node-http-handler": "^4.0.4",
41
+ "@smithy/protocol-http": "^5.1.0",
42
+ "@smithy/smithy-client": "^4.2.0",
43
+ "@smithy/types": "^4.2.0",
44
+ "@smithy/url-parser": "^4.0.2",
45
+ "@smithy/util-base64": "^4.0.0",
46
+ "@smithy/util-body-length-browser": "^4.0.0",
47
+ "@smithy/util-body-length-node": "^4.0.0",
48
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
49
+ "@smithy/util-defaults-mode-node": "^4.0.8",
50
+ "@smithy/util-retry": "^4.0.2",
51
+ "@smithy/util-utf8": "^4.0.0",
52
+ "@wildix/smithy-utils": "^1.0.3",
53
+ "tslib": "^2.6.2"
50
54
  },
51
55
  "devDependencies": {
52
- "@tsconfig/node16": "16.1.3",
56
+ "@tsconfig/node18": "18.2.4",
57
+ "@types/node": "^18.19.69",
53
58
  "concurrently": "7.0.0",
54
59
  "downlevel-dts": "0.10.1",
55
60
  "rimraf": "^3.0.0",
56
- "typescript": "~4.9.5",
57
- "@types/node": "^16.18.96"
61
+ "typescript": "~5.2.2"
58
62
  },
59
63
  "engines": {
60
- "node": ">=16.0.0"
64
+ "node": ">=18.0.0"
61
65
  },
62
66
  "typesVersions": {
63
67
  "<4.0": {