@wildix/xbees-conversations-client 1.1.12 → 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.
- package/dist-cjs/Conversations.js +2 -0
- package/dist-cjs/ConversationsClient.js +4 -5
- package/dist-cjs/commands/AssignChannelCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +71 -42
- package/dist-cjs/protocols/Aws_restJson1.js +142 -151
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/Conversations.js +2 -0
- package/dist-es/ConversationsClient.js +4 -5
- package/dist-es/commands/AssignChannelCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +67 -38
- package/dist-es/protocols/Aws_restJson1.js +43 -54
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/Conversations.d.ts +7 -0
- package/dist-types/ConversationsClient.d.ts +4 -3
- package/dist-types/commands/AddChannelMemberCommand.d.ts +13 -0
- package/dist-types/commands/AddChannelMembersCommand.d.ts +13 -0
- package/dist-types/commands/AssignChannelCommand.d.ts +120 -0
- package/dist-types/commands/CreateGroupChannelCommand.d.ts +12 -0
- package/dist-types/commands/CreateInboxTagCommand.d.ts +12 -0
- package/dist-types/commands/CreateKiteChannelCommand.d.ts +12 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
- package/dist-types/commands/DeleteChannelMemberCommand.d.ts +12 -0
- package/dist-types/commands/DeleteInboxTagCommand.d.ts +12 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +12 -0
- package/dist-types/commands/DeleteMessageReactionCommand.d.ts +12 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +12 -0
- package/dist-types/commands/GetActionTriggerResultCommand.d.ts +12 -0
- package/dist-types/commands/GetChannelCommand.d.ts +12 -0
- package/dist-types/commands/GetChannelMemberCommand.d.ts +12 -0
- package/dist-types/commands/GetDirectChannelIdCommand.d.ts +12 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +12 -0
- package/dist-types/commands/GetInboxStateCommand.d.ts +12 -0
- package/dist-types/commands/GetMessageCommand.d.ts +12 -0
- package/dist-types/commands/GetOrCreateDirectChannelCommand.d.ts +12 -0
- package/dist-types/commands/GetTokenCommand.d.ts +12 -0
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +12 -0
- package/dist-types/commands/HideChannelCommand.d.ts +12 -0
- package/dist-types/commands/InviteCommand.d.ts +12 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +12 -0
- package/dist-types/commands/LeaveChannelCommand.d.ts +12 -0
- package/dist-types/commands/ListChannelMembersCommand.d.ts +12 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ListInboxTaggedChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ListInboxTagsCommand.d.ts +12 -0
- package/dist-types/commands/ListMessageReactionsCommand.d.ts +12 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +12 -0
- package/dist-types/commands/ListPinnedMessagesCommand.d.ts +12 -0
- package/dist-types/commands/MarkReadCommand.d.ts +12 -0
- package/dist-types/commands/MarkUnreadCommand.d.ts +12 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +12 -0
- package/dist-types/commands/PartialUpdateMessageCommand.d.ts +12 -0
- package/dist-types/commands/PinChannelCommand.d.ts +12 -0
- package/dist-types/commands/PinMessageCommand.d.ts +12 -0
- package/dist-types/commands/QueryChannelsCommand.d.ts +12 -0
- package/dist-types/commands/ScheduleExternalFlagAdjustmentJobCommand.d.ts +12 -0
- package/dist-types/commands/SendActionTriggerResultCommand.d.ts +12 -0
- package/dist-types/commands/SendGiphyCommand.d.ts +12 -0
- package/dist-types/commands/SendMessageCommand.d.ts +12 -0
- package/dist-types/commands/SendMessageReactionCommand.d.ts +12 -0
- package/dist-types/commands/SendTypingStartCommand.d.ts +12 -0
- package/dist-types/commands/SendTypingStopCommand.d.ts +12 -0
- package/dist-types/commands/ShowChannelCommand.d.ts +12 -0
- package/dist-types/commands/TagChannelCommand.d.ts +12 -0
- package/dist-types/commands/TriggerMessageActionCommand.d.ts +12 -0
- package/dist-types/commands/UnpinChannelCommand.d.ts +12 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +12 -0
- package/dist-types/commands/UntagChannelCommand.d.ts +12 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +12 -0
- package/dist-types/commands/UpdateInboxTagCommand.d.ts +12 -0
- package/dist-types/commands/UpdateMessageCommand.d.ts +12 -0
- package/dist-types/commands/UploadFileCommand.d.ts +12 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +459 -284
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/package.json +38 -34
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AddChannelMemberCommandInput, AddChannelMemberCommandOutput } from "../commands/AddChannelMemberCommand";
|
|
2
2
|
import { AddChannelMembersCommandInput, AddChannelMembersCommandOutput } from "../commands/AddChannelMembersCommand";
|
|
3
|
+
import { AssignChannelCommandInput, AssignChannelCommandOutput } from "../commands/AssignChannelCommand";
|
|
3
4
|
import { CreateGroupChannelCommandInput, CreateGroupChannelCommandOutput } from "../commands/CreateGroupChannelCommand";
|
|
4
5
|
import { CreateInboxTagCommandInput, CreateInboxTagCommandOutput } from "../commands/CreateInboxTagCommand";
|
|
5
6
|
import { CreateKiteChannelCommandInput, CreateKiteChannelCommandOutput } from "../commands/CreateKiteChannelCommand";
|
|
@@ -64,6 +65,10 @@ export declare const se_AddChannelMemberCommand: (input: AddChannelMemberCommand
|
|
|
64
65
|
* serializeAws_restJson1AddChannelMembersCommand
|
|
65
66
|
*/
|
|
66
67
|
export declare const se_AddChannelMembersCommand: (input: AddChannelMembersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
68
|
+
/**
|
|
69
|
+
* serializeAws_restJson1AssignChannelCommand
|
|
70
|
+
*/
|
|
71
|
+
export declare const se_AssignChannelCommand: (input: AssignChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
72
|
/**
|
|
68
73
|
* serializeAws_restJson1CreateGroupChannelCommand
|
|
69
74
|
*/
|
|
@@ -288,6 +293,10 @@ export declare const de_AddChannelMemberCommand: (output: __HttpResponse, contex
|
|
|
288
293
|
* deserializeAws_restJson1AddChannelMembersCommand
|
|
289
294
|
*/
|
|
290
295
|
export declare const de_AddChannelMembersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddChannelMembersCommandOutput>;
|
|
296
|
+
/**
|
|
297
|
+
* deserializeAws_restJson1AssignChannelCommand
|
|
298
|
+
*/
|
|
299
|
+
export declare const de_AssignChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssignChannelCommandOutput>;
|
|
291
300
|
/**
|
|
292
301
|
* deserializeAws_restJson1CreateGroupChannelCommand
|
|
293
302
|
*/
|
|
@@ -7,15 +7,16 @@ 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("@
|
|
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
|
|
16
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
18
|
apiVersion: string;
|
|
19
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
21
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
22
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -25,5 +26,6 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
25
26
|
logger: import("@smithy/types").Logger;
|
|
26
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
28
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
28
30
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
31
|
};
|
|
@@ -7,15 +7,17 @@ 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("@
|
|
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
|
-
|
|
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;
|
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
|
19
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
21
23
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -5,10 +5,11 @@ 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
|
|
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;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -17,12 +18,13 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
17
18
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
19
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
19
20
|
disableHostPrefix: boolean;
|
|
20
|
-
defaultUserAgentProvider: import("@
|
|
21
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
21
22
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
22
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
24
|
logger: import("@smithy/types").Logger;
|
|
24
25
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
25
26
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
26
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
27
29
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
28
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.
|
|
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
|
-
"
|
|
21
|
-
"@aws-crypto/sha256-
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-sdk/middleware-
|
|
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.
|
|
26
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
27
|
-
"@smithy/config-resolver": "^
|
|
28
|
-
"@smithy/core": "^
|
|
29
|
-
"@smithy/fetch-http-handler": "^
|
|
30
|
-
"@smithy/hash-node": "^
|
|
31
|
-
"@smithy/invalid-dependency": "^
|
|
32
|
-
"@smithy/middleware-content-length": "^
|
|
33
|
-
"@smithy/middleware-retry": "^
|
|
34
|
-
"@smithy/middleware-serde": "^
|
|
35
|
-
"@smithy/middleware-stack": "^
|
|
36
|
-
"@smithy/node-config-provider": "^
|
|
37
|
-
"@smithy/node-http-handler": "^
|
|
38
|
-
"@smithy/protocol-http": "^
|
|
39
|
-
"@smithy/smithy-client": "^
|
|
40
|
-
"@smithy/types": "^
|
|
41
|
-
"@smithy/url-parser": "^
|
|
42
|
-
"@smithy/util-base64": "^
|
|
43
|
-
"@smithy/util-body-length-browser": "^
|
|
44
|
-
"@smithy/util-body-length-node": "^
|
|
45
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
46
|
-
"@smithy/util-defaults-mode-node": "^
|
|
47
|
-
"@smithy/util-retry": "^
|
|
48
|
-
"@smithy/util-utf8": "^
|
|
49
|
-
"@wildix/smithy-utils": "^1.0.
|
|
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/
|
|
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": "~
|
|
57
|
-
"@types/node": "^16.18.96"
|
|
61
|
+
"typescript": "~5.2.2"
|
|
58
62
|
},
|
|
59
63
|
"engines": {
|
|
60
|
-
"node": ">=
|
|
64
|
+
"node": ">=18.0.0"
|
|
61
65
|
},
|
|
62
66
|
"typesVersions": {
|
|
63
67
|
"<4.0": {
|