@wildix/wim-cache-client 1.0.1 → 1.0.2
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/WimCache.js +2 -0
- package/dist-cjs/WimCacheClient.js +14 -8
- package/dist-cjs/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
- package/dist-cjs/commands/GetEntitiesByIdsCommand.js +12 -32
- package/dist-cjs/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
- package/dist-cjs/commands/SearchEntitiesByListParamsCommand.js +12 -32
- package/dist-cjs/commands/SearchEntitiesByParamsCommand.js +12 -32
- package/dist-cjs/commands/SyncCacheCommand.js +12 -32
- package/dist-cjs/commands/UpdateEntitiesWeightCommand.js +21 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +16 -3
- package/dist-cjs/protocols/Aws_restJson1.js +118 -233
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +8 -3
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-cjs/runtimeExtensions.js +2 -10
- package/dist-es/WimCache.js +2 -0
- package/dist-es/WimCacheClient.js +15 -9
- package/dist-es/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
- package/dist-es/commands/GetEntitiesByIdsCommand.js +12 -32
- package/dist-es/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
- package/dist-es/commands/SearchEntitiesByListParamsCommand.js +12 -32
- package/dist-es/commands/SearchEntitiesByParamsCommand.js +12 -32
- package/dist-es/commands/SyncCacheCommand.js +12 -32
- package/dist-es/commands/UpdateEntitiesWeightCommand.js +17 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +14 -2
- package/dist-es/protocols/Aws_restJson1.js +109 -226
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +7 -3
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-es/runtimeExtensions.js +2 -10
- package/dist-types/WimCache.d.ts +10 -0
- package/dist-types/WimCacheClient.d.ts +19 -11
- package/dist-types/commands/DeleteEntitiesFromGeneralCacheCommand.d.ts +24 -21
- package/dist-types/commands/GetEntitiesByIdsCommand.d.ts +25 -21
- package/dist-types/commands/PutEntitiesToGeneralCacheCommand.d.ts +24 -21
- package/dist-types/commands/SearchEntitiesByListParamsCommand.d.ts +25 -21
- package/dist-types/commands/SearchEntitiesByParamsCommand.d.ts +25 -21
- package/dist-types/commands/SyncCacheCommand.d.ts +24 -21
- package/dist-types/commands/UpdateEntitiesWeightCommand.d.ts +79 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/WimCacheServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +104 -71
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +7 -5
- package/dist-types/runtimeConfig.d.ts +7 -5
- package/dist-types/runtimeConfig.native.d.ts +7 -5
- package/package.json +42 -36
|
@@ -4,28 +4,31 @@ import { PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommand
|
|
|
4
4
|
import { SearchEntitiesByListParamsCommandInput, SearchEntitiesByListParamsCommandOutput } from "./commands/SearchEntitiesByListParamsCommand";
|
|
5
5
|
import { SearchEntitiesByParamsCommandInput, SearchEntitiesByParamsCommandOutput } from "./commands/SearchEntitiesByParamsCommand";
|
|
6
6
|
import { SyncCacheCommandInput, SyncCacheCommandOutput } from "./commands/SyncCacheCommand";
|
|
7
|
+
import { UpdateEntitiesWeightCommandInput, UpdateEntitiesWeightCommandOutput } from "./commands/UpdateEntitiesWeightCommand";
|
|
7
8
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
8
|
-
import {
|
|
9
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
10
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
11
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
9
12
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser } from "@smithy/types";
|
|
11
|
-
import { TokenProvider } from
|
|
13
|
+
import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
14
|
+
import { TokenProvider } from '@wildix/smithy-utils';
|
|
12
15
|
export { __Client };
|
|
13
16
|
/**
|
|
14
17
|
* @public
|
|
15
18
|
*/
|
|
16
|
-
export type ServiceInputTypes = DeleteEntitiesFromGeneralCacheCommandInput | GetEntitiesByIdsCommandInput | PutEntitiesToGeneralCacheCommandInput | SearchEntitiesByListParamsCommandInput | SearchEntitiesByParamsCommandInput | SyncCacheCommandInput;
|
|
19
|
+
export type ServiceInputTypes = DeleteEntitiesFromGeneralCacheCommandInput | GetEntitiesByIdsCommandInput | PutEntitiesToGeneralCacheCommandInput | SearchEntitiesByListParamsCommandInput | SearchEntitiesByParamsCommandInput | SyncCacheCommandInput | UpdateEntitiesWeightCommandInput;
|
|
17
20
|
/**
|
|
18
21
|
* @public
|
|
19
22
|
*/
|
|
20
|
-
export type ServiceOutputTypes = DeleteEntitiesFromGeneralCacheCommandOutput | GetEntitiesByIdsCommandOutput | PutEntitiesToGeneralCacheCommandOutput | SearchEntitiesByListParamsCommandOutput | SearchEntitiesByParamsCommandOutput | SyncCacheCommandOutput;
|
|
23
|
+
export type ServiceOutputTypes = DeleteEntitiesFromGeneralCacheCommandOutput | GetEntitiesByIdsCommandOutput | PutEntitiesToGeneralCacheCommandOutput | SearchEntitiesByListParamsCommandOutput | SearchEntitiesByParamsCommandOutput | SyncCacheCommandOutput | UpdateEntitiesWeightCommandOutput;
|
|
21
24
|
/**
|
|
22
25
|
* @public
|
|
23
26
|
*/
|
|
24
|
-
export interface ClientDefaults extends Partial<
|
|
27
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
25
28
|
/**
|
|
26
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
29
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
27
30
|
*/
|
|
28
|
-
requestHandler?:
|
|
31
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
29
32
|
/**
|
|
30
33
|
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
31
34
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
@@ -77,6 +80,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
77
80
|
* trait of an operation.
|
|
78
81
|
*/
|
|
79
82
|
disableHostPrefix?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
80
88
|
/**
|
|
81
89
|
* Value for how many times a request will be made at most in case of retry.
|
|
82
90
|
*/
|
|
@@ -103,20 +111,20 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
103
111
|
/**
|
|
104
112
|
* @public
|
|
105
113
|
*/
|
|
106
|
-
export type WimCacheClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults;
|
|
114
|
+
export type WimCacheClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
|
|
107
115
|
/**
|
|
108
116
|
* @public
|
|
109
117
|
*
|
|
110
118
|
* The configuration interface of WimCacheClient class constructor that set the region, credentials and other options.
|
|
111
119
|
*/
|
|
112
120
|
export interface WimCacheClientConfig extends WimCacheClientConfigType {
|
|
113
|
-
env
|
|
121
|
+
env?: 'stage' | 'stable' | 'prod';
|
|
114
122
|
token: TokenProvider;
|
|
115
123
|
}
|
|
116
124
|
/**
|
|
117
125
|
* @public
|
|
118
126
|
*/
|
|
119
|
-
export type WimCacheClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig;
|
|
127
|
+
export type WimCacheClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
|
|
120
128
|
/**
|
|
121
129
|
* @public
|
|
122
130
|
*
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { DeleteEntitiesFromGeneralCacheInput, DeleteEntitiesFromGeneralCacheOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface DeleteEntitiesFromGeneralCacheCommandInput extends DeleteEntiti
|
|
|
20
21
|
*/
|
|
21
22
|
export interface DeleteEntitiesFromGeneralCacheCommandOutput extends DeleteEntitiesFromGeneralCacheOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const DeleteEntitiesFromGeneralCacheCommand_base: {
|
|
25
|
+
new (input: DeleteEntitiesFromGeneralCacheCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DeleteEntitiesFromGeneralCacheCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Deleting entities to the general cache, requires one of the parameters: email or phone or clean
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -48,26 +53,24 @@ export interface DeleteEntitiesFromGeneralCacheCommandOutput extends DeleteEntit
|
|
|
48
53
|
*
|
|
49
54
|
* @throws {@link ValidationException} (client fault)
|
|
50
55
|
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
*
|
|
51
58
|
* @throws {@link WimCacheServiceException}
|
|
52
59
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
53
60
|
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
54
63
|
*/
|
|
55
|
-
export declare class DeleteEntitiesFromGeneralCacheCommand extends
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*/
|
|
68
|
-
private serialize;
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
private deserialize;
|
|
64
|
+
export declare class DeleteEntitiesFromGeneralCacheCommand extends DeleteEntitiesFromGeneralCacheCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: DeleteEntitiesFromGeneralCacheInput;
|
|
69
|
+
output: {};
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: DeleteEntitiesFromGeneralCacheCommandInput;
|
|
73
|
+
output: DeleteEntitiesFromGeneralCacheCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
73
76
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { GetEntitiesByIdsInput, GetEntitiesByIdsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface GetEntitiesByIdsCommandInput extends GetEntitiesByIdsInput {
|
|
|
20
21
|
*/
|
|
21
22
|
export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const GetEntitiesByIdsCommand_base: {
|
|
25
|
+
new (input: GetEntitiesByIdsCommandInput): import("@smithy/smithy-client").CommandImpl<GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetEntitiesByIdsCommandInput): import("@smithy/smithy-client").CommandImpl<GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Allows to retrieve entities by id, use only in backend integrations
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -72,6 +77,7 @@ export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, _
|
|
|
72
77
|
* // "<keys>": "STRING_VALUE",
|
|
73
78
|
* // },
|
|
74
79
|
* // },
|
|
80
|
+
* // weight: Number("long"),
|
|
75
81
|
* // integrationOrder: Number("int"),
|
|
76
82
|
* // },
|
|
77
83
|
* // ],
|
|
@@ -87,26 +93,24 @@ export interface GetEntitiesByIdsCommandOutput extends GetEntitiesByIdsOutput, _
|
|
|
87
93
|
*
|
|
88
94
|
* @throws {@link ValidationException} (client fault)
|
|
89
95
|
*
|
|
96
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
97
|
+
*
|
|
90
98
|
* @throws {@link WimCacheServiceException}
|
|
91
99
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
92
100
|
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
93
103
|
*/
|
|
94
|
-
export declare class GetEntitiesByIdsCommand extends
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
*/
|
|
107
|
-
private serialize;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private deserialize;
|
|
104
|
+
export declare class GetEntitiesByIdsCommand extends GetEntitiesByIdsCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: GetEntitiesByIdsInput;
|
|
109
|
+
output: GetEntitiesByIdsOutput;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: GetEntitiesByIdsCommandInput;
|
|
113
|
+
output: GetEntitiesByIdsCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
112
116
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { PutEntitiesToGeneralCacheInput, PutEntitiesToGeneralCacheOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface PutEntitiesToGeneralCacheCommandInput extends PutEntitiesToGene
|
|
|
20
21
|
*/
|
|
21
22
|
export interface PutEntitiesToGeneralCacheCommandOutput extends PutEntitiesToGeneralCacheOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const PutEntitiesToGeneralCacheCommand_base: {
|
|
25
|
+
new (input: PutEntitiesToGeneralCacheCommandInput): import("@smithy/smithy-client").CommandImpl<PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [PutEntitiesToGeneralCacheCommandInput]): import("@smithy/smithy-client").CommandImpl<PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Adds entities to the general cache
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -61,26 +66,24 @@ export interface PutEntitiesToGeneralCacheCommandOutput extends PutEntitiesToGen
|
|
|
61
66
|
*
|
|
62
67
|
* @throws {@link ValidationException} (client fault)
|
|
63
68
|
*
|
|
69
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
70
|
+
*
|
|
64
71
|
* @throws {@link WimCacheServiceException}
|
|
65
72
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
66
73
|
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
67
76
|
*/
|
|
68
|
-
export declare class PutEntitiesToGeneralCacheCommand extends
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*/
|
|
81
|
-
private serialize;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private deserialize;
|
|
77
|
+
export declare class PutEntitiesToGeneralCacheCommand extends PutEntitiesToGeneralCacheCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: PutEntitiesToGeneralCacheInput;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: PutEntitiesToGeneralCacheCommandInput;
|
|
86
|
+
output: PutEntitiesToGeneralCacheCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
86
89
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { SearchEntitiesByListParamsInput, SearchEntitiesByListParamsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface SearchEntitiesByListParamsCommandInput extends SearchEntitiesBy
|
|
|
20
21
|
*/
|
|
21
22
|
export interface SearchEntitiesByListParamsCommandOutput extends SearchEntitiesByListParamsOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const SearchEntitiesByListParamsCommand_base: {
|
|
25
|
+
new (input: SearchEntitiesByListParamsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchEntitiesByListParamsCommandInput, SearchEntitiesByListParamsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SearchEntitiesByListParamsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchEntitiesByListParamsCommandInput, SearchEntitiesByListParamsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* searches for entities, unlike a GET request, allows you to specify more matching parameters
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -79,6 +84,7 @@ export interface SearchEntitiesByListParamsCommandOutput extends SearchEntitiesB
|
|
|
79
84
|
* // "<keys>": "STRING_VALUE",
|
|
80
85
|
* // },
|
|
81
86
|
* // },
|
|
87
|
+
* // weight: Number("long"),
|
|
82
88
|
* // integrationOrder: Number("int"),
|
|
83
89
|
* // },
|
|
84
90
|
* // ],
|
|
@@ -96,26 +102,24 @@ export interface SearchEntitiesByListParamsCommandOutput extends SearchEntitiesB
|
|
|
96
102
|
*
|
|
97
103
|
* @throws {@link ValidationException} (client fault)
|
|
98
104
|
*
|
|
105
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
106
|
+
*
|
|
99
107
|
* @throws {@link WimCacheServiceException}
|
|
100
108
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
101
109
|
*
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
102
112
|
*/
|
|
103
|
-
export declare class SearchEntitiesByListParamsCommand extends
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
*/
|
|
116
|
-
private serialize;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
private deserialize;
|
|
113
|
+
export declare class SearchEntitiesByListParamsCommand extends SearchEntitiesByListParamsCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: SearchEntitiesByListParamsInput;
|
|
118
|
+
output: SearchEntitiesByListParamsOutput;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: SearchEntitiesByListParamsCommandInput;
|
|
122
|
+
output: SearchEntitiesByListParamsCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
121
125
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { SearchEntitiesByParamsInput, SearchEntitiesByParamsOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface SearchEntitiesByParamsCommandInput extends SearchEntitiesByPara
|
|
|
20
21
|
*/
|
|
21
22
|
export interface SearchEntitiesByParamsCommandOutput extends SearchEntitiesByParamsOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const SearchEntitiesByParamsCommand_base: {
|
|
25
|
+
new (input: SearchEntitiesByParamsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchEntitiesByParamsCommandInput, SearchEntitiesByParamsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [SearchEntitiesByParamsCommandInput]): import("@smithy/smithy-client").CommandImpl<SearchEntitiesByParamsCommandInput, SearchEntitiesByParamsCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Searches for entities, unlike a POST request allows to specify additional parameters such as 'query', 'from', and 'size'. requires one of the parameters: query or email or phone
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -78,6 +83,7 @@ export interface SearchEntitiesByParamsCommandOutput extends SearchEntitiesByPar
|
|
|
78
83
|
* // "<keys>": "STRING_VALUE",
|
|
79
84
|
* // },
|
|
80
85
|
* // },
|
|
86
|
+
* // weight: Number("long"),
|
|
81
87
|
* // integrationOrder: Number("int"),
|
|
82
88
|
* // },
|
|
83
89
|
* // ],
|
|
@@ -95,26 +101,24 @@ export interface SearchEntitiesByParamsCommandOutput extends SearchEntitiesByPar
|
|
|
95
101
|
*
|
|
96
102
|
* @throws {@link ValidationException} (client fault)
|
|
97
103
|
*
|
|
104
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
105
|
+
*
|
|
98
106
|
* @throws {@link WimCacheServiceException}
|
|
99
107
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
100
108
|
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
101
111
|
*/
|
|
102
|
-
export declare class SearchEntitiesByParamsCommand extends
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
*/
|
|
115
|
-
private serialize;
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
private deserialize;
|
|
112
|
+
export declare class SearchEntitiesByParamsCommand extends SearchEntitiesByParamsCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: SearchEntitiesByParamsInput;
|
|
117
|
+
output: SearchEntitiesByParamsOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: SearchEntitiesByParamsCommandInput;
|
|
121
|
+
output: SearchEntitiesByParamsCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
120
124
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
2
|
import { SyncCacheInput, SyncCacheOutput } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -20,8 +21,12 @@ export interface SyncCacheCommandInput extends SyncCacheInput {
|
|
|
20
21
|
*/
|
|
21
22
|
export interface SyncCacheCommandOutput extends SyncCacheOutput, __MetadataBearer {
|
|
22
23
|
}
|
|
24
|
+
declare const SyncCacheCommand_base: {
|
|
25
|
+
new (input: SyncCacheCommandInput): import("@smithy/smithy-client").CommandImpl<SyncCacheCommandInput, SyncCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SyncCacheCommandInput): import("@smithy/smithy-client").CommandImpl<SyncCacheCommandInput, SyncCacheCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
23
29
|
/**
|
|
24
|
-
* @public
|
|
25
30
|
* Allows to run target integration synchronization
|
|
26
31
|
* @example
|
|
27
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -48,26 +53,24 @@ export interface SyncCacheCommandOutput extends SyncCacheOutput, __MetadataBeare
|
|
|
48
53
|
*
|
|
49
54
|
* @throws {@link ValidationException} (client fault)
|
|
50
55
|
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
*
|
|
51
58
|
* @throws {@link WimCacheServiceException}
|
|
52
59
|
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
53
60
|
*
|
|
61
|
+
*
|
|
62
|
+
* @public
|
|
54
63
|
*/
|
|
55
|
-
export declare class SyncCacheCommand extends
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*/
|
|
68
|
-
private serialize;
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
private deserialize;
|
|
64
|
+
export declare class SyncCacheCommand extends SyncCacheCommand_base {
|
|
65
|
+
/** @internal type navigation helper, not in runtime. */
|
|
66
|
+
protected static __types: {
|
|
67
|
+
api: {
|
|
68
|
+
input: SyncCacheInput;
|
|
69
|
+
output: SyncCacheOutput;
|
|
70
|
+
};
|
|
71
|
+
sdk: {
|
|
72
|
+
input: SyncCacheCommandInput;
|
|
73
|
+
output: SyncCacheCommandOutput;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
73
76
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ServiceInputTypes, ServiceOutputTypes, WimCacheClientResolvedConfig } from "../WimCacheClient";
|
|
2
|
+
import { UpdateEntitiesWeightInput, UpdateEntitiesWeightOutput } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEntitiesWeightCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEntitiesWeightCommandInput extends UpdateEntitiesWeightInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEntitiesWeightCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEntitiesWeightCommandOutput extends UpdateEntitiesWeightOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateEntitiesWeightCommand_base: {
|
|
25
|
+
new (input: UpdateEntitiesWeightCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitiesWeightCommandInput, UpdateEntitiesWeightCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateEntitiesWeightCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEntitiesWeightCommandInput, UpdateEntitiesWeightCommandOutput, WimCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Allows for batch updating the weight property of multiple entities
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WimCacheClient, UpdateEntitiesWeightCommand } from "@wildix/wim-cache-client"; // ES Modules import
|
|
35
|
+
* // const { WimCacheClient, UpdateEntitiesWeightCommand } = require("@wildix/wim-cache-client"); // CommonJS import
|
|
36
|
+
* const client = new WimCacheClient(config);
|
|
37
|
+
* const input = { // UpdateEntitiesWeightInput
|
|
38
|
+
* organizationId: "STRING_VALUE", // required
|
|
39
|
+
* entityIds: [ // EntityIds // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateEntitiesWeightCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateEntitiesWeightOutput
|
|
46
|
+
* // success: true || false, // required
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateEntitiesWeightCommandInput - {@link UpdateEntitiesWeightCommandInput}
|
|
52
|
+
* @returns {@link UpdateEntitiesWeightCommandOutput}
|
|
53
|
+
* @see {@link UpdateEntitiesWeightCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateEntitiesWeightCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link WimCacheClientResolvedConfig | config} for WimCacheClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ValidationException} (client fault)
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link WimCacheServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from WimCache service.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class UpdateEntitiesWeightCommand extends UpdateEntitiesWeightCommand_base {
|
|
68
|
+
/** @internal type navigation helper, not in runtime. */
|
|
69
|
+
protected static __types: {
|
|
70
|
+
api: {
|
|
71
|
+
input: UpdateEntitiesWeightInput;
|
|
72
|
+
output: UpdateEntitiesWeightOutput;
|
|
73
|
+
};
|
|
74
|
+
sdk: {
|
|
75
|
+
input: UpdateEntitiesWeightCommandInput;
|
|
76
|
+
output: UpdateEntitiesWeightCommandOutput;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./WimCacheClient";
|
|
2
2
|
export * from "./WimCache";
|
|
3
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
+
export type { WimCacheExtensionConfiguration } from "./extensionConfiguration";
|
|
3
5
|
export * from "./commands";
|
|
4
6
|
export * from "./models";
|
|
5
7
|
export { WimCacheServiceException } from "./models/WimCacheServiceException";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
-
export {
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|