@wildix/wim-cache-client 1.0.1 → 1.0.4

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 (59) hide show
  1. package/dist-cjs/WimCache.js +8 -0
  2. package/dist-cjs/WimCacheClient.js +14 -8
  3. package/dist-cjs/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
  4. package/dist-cjs/commands/DeleteIntegrationDataCommand.js +21 -0
  5. package/dist-cjs/commands/GetEntitiesByIdsCommand.js +12 -32
  6. package/dist-cjs/commands/GetIntegrationDataCommand.js +21 -0
  7. package/dist-cjs/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
  8. package/dist-cjs/commands/PutIntegrationDataCommand.js +21 -0
  9. package/dist-cjs/commands/SearchEntitiesByListParamsCommand.js +12 -32
  10. package/dist-cjs/commands/SearchEntitiesByParamsCommand.js +12 -32
  11. package/dist-cjs/commands/SyncCacheCommand.js +12 -32
  12. package/dist-cjs/commands/UpdateEntitiesWeightCommand.js +21 -0
  13. package/dist-cjs/commands/index.js +4 -0
  14. package/dist-cjs/models/models_0.js +16 -3
  15. package/dist-cjs/protocols/Aws_restJson1.js +227 -227
  16. package/dist-cjs/runtimeConfig.browser.js +5 -1
  17. package/dist-cjs/runtimeConfig.js +8 -3
  18. package/dist-cjs/runtimeConfig.shared.js +13 -11
  19. package/dist-cjs/runtimeExtensions.js +2 -10
  20. package/dist-es/WimCache.js +8 -0
  21. package/dist-es/WimCacheClient.js +15 -9
  22. package/dist-es/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
  23. package/dist-es/commands/DeleteIntegrationDataCommand.js +17 -0
  24. package/dist-es/commands/GetEntitiesByIdsCommand.js +12 -32
  25. package/dist-es/commands/GetIntegrationDataCommand.js +17 -0
  26. package/dist-es/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
  27. package/dist-es/commands/PutIntegrationDataCommand.js +17 -0
  28. package/dist-es/commands/SearchEntitiesByListParamsCommand.js +12 -32
  29. package/dist-es/commands/SearchEntitiesByParamsCommand.js +12 -32
  30. package/dist-es/commands/SyncCacheCommand.js +12 -32
  31. package/dist-es/commands/UpdateEntitiesWeightCommand.js +17 -0
  32. package/dist-es/commands/index.js +4 -0
  33. package/dist-es/models/models_0.js +14 -2
  34. package/dist-es/protocols/Aws_restJson1.js +209 -217
  35. package/dist-es/runtimeConfig.browser.js +4 -1
  36. package/dist-es/runtimeConfig.js +7 -3
  37. package/dist-es/runtimeConfig.shared.js +13 -11
  38. package/dist-es/runtimeExtensions.js +2 -10
  39. package/dist-types/WimCache.d.ts +31 -0
  40. package/dist-types/WimCacheClient.d.ts +22 -11
  41. package/dist-types/commands/DeleteEntitiesFromGeneralCacheCommand.d.ts +24 -21
  42. package/dist-types/commands/DeleteIntegrationDataCommand.d.ts +76 -0
  43. package/dist-types/commands/GetEntitiesByIdsCommand.d.ts +27 -21
  44. package/dist-types/commands/GetIntegrationDataCommand.d.ts +84 -0
  45. package/dist-types/commands/PutEntitiesToGeneralCacheCommand.d.ts +24 -21
  46. package/dist-types/commands/PutIntegrationDataCommand.d.ts +78 -0
  47. package/dist-types/commands/SearchEntitiesByListParamsCommand.d.ts +27 -21
  48. package/dist-types/commands/SearchEntitiesByParamsCommand.d.ts +27 -21
  49. package/dist-types/commands/SyncCacheCommand.d.ts +24 -21
  50. package/dist-types/commands/UpdateEntitiesWeightCommand.d.ts +79 -0
  51. package/dist-types/commands/index.d.ts +4 -0
  52. package/dist-types/index.d.ts +2 -0
  53. package/dist-types/models/WimCacheServiceException.d.ts +2 -1
  54. package/dist-types/models/models_0.d.ts +213 -71
  55. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +12 -5
  57. package/dist-types/runtimeConfig.d.ts +12 -5
  58. package/dist-types/runtimeConfig.native.d.ts +12 -5
  59. package/package.json +41 -35
@@ -1,5 +1,17 @@
1
1
  import { WimCacheServiceException as __BaseException } from "./WimCacheServiceException";
2
2
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
+ import { DocumentType as __DocumentType } from "@smithy/types";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare class ForbiddenException extends __BaseException {
8
+ readonly name: "ForbiddenException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
14
+ }
3
15
  /**
4
16
  * @public
5
17
  */
@@ -16,60 +28,87 @@ export declare class ValidationException extends __BaseException {
16
28
  */
17
29
  export interface DeleteEntitiesFromGeneralCacheInput {
18
30
  /**
19
- * @public
20
31
  * Email for delete
32
+ * @public
21
33
  */
22
- email?: string;
34
+ email?: string | undefined;
23
35
  /**
24
- * @public
25
36
  * Phone for delete
37
+ * @public
26
38
  */
27
- phone?: string;
39
+ phone?: string | undefined;
28
40
  /**
29
- * @public
30
41
  * Delete all general cache for the current user
42
+ * @public
31
43
  */
32
- clean?: boolean;
44
+ clean?: boolean | undefined;
33
45
  }
34
46
  /**
35
47
  * @public
36
48
  */
37
49
  export interface DeleteEntitiesFromGeneralCacheOutput {
38
50
  }
51
+ /**
52
+ * @public
53
+ */
54
+ export interface DeleteIntegrationDataInput {
55
+ /**
56
+ * Unique identifier
57
+ * @public
58
+ */
59
+ id: string;
60
+ /**
61
+ * Company identifier
62
+ * @public
63
+ */
64
+ companyId?: string | undefined;
65
+ /**
66
+ * Integration data type
67
+ * @public
68
+ */
69
+ type?: string | undefined;
70
+ }
71
+ /**
72
+ * @public
73
+ */
74
+ export interface DeleteIntegrationDataOutput {
75
+ }
39
76
  /**
40
77
  * @public
41
78
  */
42
79
  export interface SalesforceAttrubuteField {
43
- url?: string;
44
- type?: string;
80
+ url?: string | undefined;
81
+ type?: string | undefined;
45
82
  }
46
83
  /**
47
84
  * @public
48
85
  */
49
86
  export interface EntityData {
50
- Id?: string;
51
- Name?: string;
52
- FirstName?: string;
53
- LastName?: string;
54
- Phone?: string;
55
- Email?: string;
56
- OwnerId?: string;
57
- MobilePhone?: string;
58
- AccountId?: string;
59
- Company?: string;
60
- IsConverted?: boolean;
61
- LastModifiedDate?: string;
62
- CompanyName?: string;
63
- IsActive?: boolean;
64
- TimeZoneSidKey?: string;
65
- Extension?: string;
66
- attributes?: SalesforceAttrubuteField;
67
- CallPhone?: string;
68
- Archived?: boolean;
69
- Domain?: string;
70
- UpdatedAt?: string;
71
- Avatar?: string;
72
- CustomData?: Record<string, string>;
87
+ Id?: string | undefined;
88
+ Name?: string | undefined;
89
+ FirstName?: string | undefined;
90
+ LastName?: string | undefined;
91
+ Phone?: string | undefined;
92
+ Email?: string | undefined;
93
+ OwnerId?: string | undefined;
94
+ MobilePhone?: string | undefined;
95
+ AccountId?: string | undefined;
96
+ Company?: string | undefined;
97
+ IsConverted?: boolean | undefined;
98
+ LastModifiedDate?: string | undefined;
99
+ CompanyName?: string | undefined;
100
+ IsActive?: boolean | undefined;
101
+ TimeZoneSidKey?: string | undefined;
102
+ Extension?: string | undefined;
103
+ PersonMobilePhone?: string | undefined;
104
+ PersonOtherPhone?: string | undefined;
105
+ attributes?: SalesforceAttrubuteField | undefined;
106
+ CallPhone?: string | undefined;
107
+ Archived?: boolean | undefined;
108
+ Domain?: string | undefined;
109
+ UpdatedAt?: string | undefined;
110
+ Avatar?: string | undefined;
111
+ CustomData?: Record<string, string> | undefined;
73
112
  }
74
113
  /**
75
114
  * @public
@@ -78,7 +117,8 @@ export interface Entity {
78
117
  integrationId: string;
79
118
  entityType: string;
80
119
  data: EntityData;
81
- integrationOrder?: number;
120
+ weight?: number | undefined;
121
+ integrationOrder?: number | undefined;
82
122
  }
83
123
  /**
84
124
  * @public
@@ -86,27 +126,27 @@ export interface Entity {
86
126
  export interface GeneralEntityInputData {
87
127
  IntegrationId: string;
88
128
  IntegrationOrder: number;
89
- Name?: string;
90
- Id?: string;
91
- Phone?: string;
92
- Email?: string;
93
- OwnerId?: string;
94
- Avatar?: string;
95
- UpdatedAt?: string;
96
- CustomData?: Record<string, string>;
129
+ Name?: string | undefined;
130
+ Id?: string | undefined;
131
+ Phone?: string | undefined;
132
+ Email?: string | undefined;
133
+ OwnerId?: string | undefined;
134
+ Avatar?: string | undefined;
135
+ UpdatedAt?: string | undefined;
136
+ CustomData?: Record<string, string> | undefined;
97
137
  }
98
138
  /**
99
139
  * @public
100
140
  */
101
141
  export interface GetEntitiesByIdsInput {
102
142
  /**
103
- * @public
104
143
  * Organization identifier
144
+ * @public
105
145
  */
106
- organizationId?: string;
146
+ organizationId?: string | undefined;
107
147
  /**
108
- * @public
109
148
  * Unique Entities identifiers
149
+ * @public
110
150
  */
111
151
  entityIds: (string)[];
112
152
  }
@@ -114,13 +154,59 @@ export interface GetEntitiesByIdsInput {
114
154
  * @public
115
155
  */
116
156
  export interface GetEntitiesByIdsOutput {
117
- items?: (Entity)[];
157
+ items?: (Entity)[] | undefined;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export interface GetIntegrationDataInput {
163
+ /**
164
+ * Unique identifier
165
+ * @public
166
+ */
167
+ id: string;
168
+ /**
169
+ * Company identifier should be provided only for S2S authorization
170
+ * @public
171
+ */
172
+ companyId?: string | undefined;
173
+ /**
174
+ * Data type
175
+ * @public
176
+ */
177
+ type?: string | undefined;
178
+ }
179
+ /**
180
+ * @public
181
+ */
182
+ export interface IntegrationDataItem {
183
+ /**
184
+ * Integration data type
185
+ * @public
186
+ */
187
+ type: string;
188
+ /**
189
+ * Integration data
190
+ * @public
191
+ */
192
+ data: __DocumentType;
193
+ /**
194
+ * Integration identifier
195
+ * @public
196
+ */
197
+ integrationId: string;
198
+ }
199
+ /**
200
+ * @public
201
+ */
202
+ export interface GetIntegrationDataOutput {
203
+ items?: (IntegrationDataItem)[] | undefined;
118
204
  }
119
205
  /**
120
206
  * @public
121
207
  */
122
208
  export interface PutEntitiesToGeneralCacheInput {
123
- items?: (GeneralEntityInputData)[];
209
+ items?: (GeneralEntityInputData)[] | undefined;
124
210
  }
125
211
  /**
126
212
  * @public
@@ -130,30 +216,65 @@ export interface PutEntitiesToGeneralCacheOutput {
130
216
  /**
131
217
  * @public
132
218
  */
133
- export interface SearchPostParams {
219
+ export interface PutIntegrationDataInput {
134
220
  /**
221
+ * Integration identifier
135
222
  * @public
136
- * Phone for search
137
223
  */
138
- phone?: string;
224
+ integrationId: string;
139
225
  /**
226
+ * Unique identifier that will be used for the data retrieving
140
227
  * @public
228
+ */
229
+ id: string;
230
+ /**
231
+ * Integration data
232
+ * @public
233
+ */
234
+ data: __DocumentType;
235
+ /**
236
+ * Integration data type
237
+ * @public
238
+ */
239
+ type: string;
240
+ /**
241
+ * Company identifier should be provided only for S2S authorization
242
+ * @public
243
+ */
244
+ companyId?: string | undefined;
245
+ }
246
+ /**
247
+ * @public
248
+ */
249
+ export interface PutIntegrationDataOutput {
250
+ }
251
+ /**
252
+ * @public
253
+ */
254
+ export interface SearchPostParams {
255
+ /**
256
+ * Phone for search
257
+ * @public
258
+ */
259
+ phone?: string | undefined;
260
+ /**
141
261
  * Email for search
262
+ * @public
142
263
  */
143
- email?: string;
264
+ email?: string | undefined;
144
265
  }
145
266
  /**
146
267
  * @public
147
268
  */
148
269
  export interface SearchEntitiesByListParamsInput {
149
270
  /**
150
- * @public
151
271
  * Organization identifier
272
+ * @public
152
273
  */
153
- organizationId?: string;
274
+ organizationId?: string | undefined;
154
275
  /**
155
- * @public
156
276
  * Params for search
277
+ * @public
157
278
  */
158
279
  params: (SearchPostParams)[];
159
280
  }
@@ -161,64 +282,64 @@ export interface SearchEntitiesByListParamsInput {
161
282
  * @public
162
283
  */
163
284
  export interface SearchResult {
164
- email?: string;
165
- phone?: string;
166
- items?: (Entity)[];
285
+ email?: string | undefined;
286
+ phone?: string | undefined;
287
+ items?: (Entity)[] | undefined;
167
288
  }
168
289
  /**
169
290
  * @public
170
291
  */
171
292
  export interface SearchEntitiesByListParamsOutput {
172
- items?: (SearchResult)[];
293
+ items?: (SearchResult)[] | undefined;
173
294
  }
174
295
  /**
175
296
  * @public
176
297
  */
177
298
  export interface SearchEntitiesByParamsInput {
178
299
  /**
179
- * @public
180
300
  * Unique organization identifier
301
+ * @public
181
302
  */
182
- organizationId?: string;
303
+ organizationId?: string | undefined;
183
304
  /**
184
- * @public
185
305
  * Phone for search
306
+ * @public
186
307
  */
187
- phone?: string;
308
+ phone?: string | undefined;
188
309
  /**
189
- * @public
190
310
  * Email for search
311
+ * @public
191
312
  */
192
- email?: string;
313
+ email?: string | undefined;
193
314
  /**
194
- * @public
195
315
  * Query string for search (use only for Backend auto loging integrations)
316
+ * @public
196
317
  */
197
- query?: string;
318
+ query?: string | undefined;
198
319
  /**
199
- * @public
200
320
  * Starting document offset. Needs to by non-negative and defaults to 0
321
+ * @public
201
322
  */
202
- from?: number;
323
+ from?: number | undefined;
203
324
  /**
204
- * @public
205
325
  * Defines the number of hits to return. Defaults to 10
326
+ * @public
206
327
  */
207
- size?: number;
328
+ size?: number | undefined;
208
329
  }
209
330
  /**
210
331
  * @public
211
332
  */
212
333
  export interface SearchEntitiesByParamsOutput {
213
- items?: (SearchResult)[];
334
+ items?: (SearchResult)[] | undefined;
214
335
  }
215
336
  /**
216
337
  * @public
217
338
  */
218
339
  export interface SyncCacheInput {
219
340
  /**
220
- * @public
221
341
  * Organization identifier
342
+ * @public
222
343
  */
223
344
  organizationId: string;
224
345
  }
@@ -226,5 +347,26 @@ export interface SyncCacheInput {
226
347
  * @public
227
348
  */
228
349
  export interface SyncCacheOutput {
229
- success?: boolean;
350
+ success?: boolean | undefined;
351
+ }
352
+ /**
353
+ * @public
354
+ */
355
+ export interface UpdateEntitiesWeightInput {
356
+ /**
357
+ * Organization identifier
358
+ * @public
359
+ */
360
+ organizationId: string;
361
+ /**
362
+ * Unique Entities identifiers
363
+ * @public
364
+ */
365
+ entityIds: (string)[];
366
+ }
367
+ /**
368
+ * @public
369
+ */
370
+ export interface UpdateEntitiesWeightOutput {
371
+ success: boolean;
230
372
  }
@@ -1,23 +1,39 @@
1
1
  import { DeleteEntitiesFromGeneralCacheCommandInput, DeleteEntitiesFromGeneralCacheCommandOutput } from "../commands/DeleteEntitiesFromGeneralCacheCommand";
2
+ import { DeleteIntegrationDataCommandInput, DeleteIntegrationDataCommandOutput } from "../commands/DeleteIntegrationDataCommand";
2
3
  import { GetEntitiesByIdsCommandInput, GetEntitiesByIdsCommandOutput } from "../commands/GetEntitiesByIdsCommand";
4
+ import { GetIntegrationDataCommandInput, GetIntegrationDataCommandOutput } from "../commands/GetIntegrationDataCommand";
3
5
  import { PutEntitiesToGeneralCacheCommandInput, PutEntitiesToGeneralCacheCommandOutput } from "../commands/PutEntitiesToGeneralCacheCommand";
6
+ import { PutIntegrationDataCommandInput, PutIntegrationDataCommandOutput } from "../commands/PutIntegrationDataCommand";
4
7
  import { SearchEntitiesByListParamsCommandInput, SearchEntitiesByListParamsCommandOutput } from "../commands/SearchEntitiesByListParamsCommand";
5
8
  import { SearchEntitiesByParamsCommandInput, SearchEntitiesByParamsCommandOutput } from "../commands/SearchEntitiesByParamsCommand";
6
9
  import { SyncCacheCommandInput, SyncCacheCommandOutput } from "../commands/SyncCacheCommand";
10
+ import { UpdateEntitiesWeightCommandInput, UpdateEntitiesWeightCommandOutput } from "../commands/UpdateEntitiesWeightCommand";
7
11
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
8
12
  import { SerdeContext as __SerdeContext } from "@smithy/types";
9
13
  /**
10
14
  * serializeAws_restJson1DeleteEntitiesFromGeneralCacheCommand
11
15
  */
12
16
  export declare const se_DeleteEntitiesFromGeneralCacheCommand: (input: DeleteEntitiesFromGeneralCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ /**
18
+ * serializeAws_restJson1DeleteIntegrationDataCommand
19
+ */
20
+ export declare const se_DeleteIntegrationDataCommand: (input: DeleteIntegrationDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
21
  /**
14
22
  * serializeAws_restJson1GetEntitiesByIdsCommand
15
23
  */
16
24
  export declare const se_GetEntitiesByIdsCommand: (input: GetEntitiesByIdsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ /**
26
+ * serializeAws_restJson1GetIntegrationDataCommand
27
+ */
28
+ export declare const se_GetIntegrationDataCommand: (input: GetIntegrationDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
29
  /**
18
30
  * serializeAws_restJson1PutEntitiesToGeneralCacheCommand
19
31
  */
20
32
  export declare const se_PutEntitiesToGeneralCacheCommand: (input: PutEntitiesToGeneralCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1PutIntegrationDataCommand
35
+ */
36
+ export declare const se_PutIntegrationDataCommand: (input: PutIntegrationDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
37
  /**
22
38
  * serializeAws_restJson1SearchEntitiesByListParamsCommand
23
39
  */
@@ -30,18 +46,34 @@ export declare const se_SearchEntitiesByParamsCommand: (input: SearchEntitiesByP
30
46
  * serializeAws_restJson1SyncCacheCommand
31
47
  */
32
48
  export declare const se_SyncCacheCommand: (input: SyncCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ /**
50
+ * serializeAws_restJson1UpdateEntitiesWeightCommand
51
+ */
52
+ export declare const se_UpdateEntitiesWeightCommand: (input: UpdateEntitiesWeightCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
53
  /**
34
54
  * deserializeAws_restJson1DeleteEntitiesFromGeneralCacheCommand
35
55
  */
36
56
  export declare const de_DeleteEntitiesFromGeneralCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEntitiesFromGeneralCacheCommandOutput>;
57
+ /**
58
+ * deserializeAws_restJson1DeleteIntegrationDataCommand
59
+ */
60
+ export declare const de_DeleteIntegrationDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteIntegrationDataCommandOutput>;
37
61
  /**
38
62
  * deserializeAws_restJson1GetEntitiesByIdsCommand
39
63
  */
40
64
  export declare const de_GetEntitiesByIdsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEntitiesByIdsCommandOutput>;
65
+ /**
66
+ * deserializeAws_restJson1GetIntegrationDataCommand
67
+ */
68
+ export declare const de_GetIntegrationDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIntegrationDataCommandOutput>;
41
69
  /**
42
70
  * deserializeAws_restJson1PutEntitiesToGeneralCacheCommand
43
71
  */
44
72
  export declare const de_PutEntitiesToGeneralCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutEntitiesToGeneralCacheCommandOutput>;
73
+ /**
74
+ * deserializeAws_restJson1PutIntegrationDataCommand
75
+ */
76
+ export declare const de_PutIntegrationDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutIntegrationDataCommandOutput>;
45
77
  /**
46
78
  * deserializeAws_restJson1SearchEntitiesByListParamsCommand
47
79
  */
@@ -54,3 +86,7 @@ export declare const de_SearchEntitiesByParamsCommand: (output: __HttpResponse,
54
86
  * deserializeAws_restJson1SyncCacheCommand
55
87
  */
56
88
  export declare const de_SyncCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SyncCacheCommandOutput>;
89
+ /**
90
+ * deserializeAws_restJson1UpdateEntitiesWeightCommand
91
+ */
92
+ export declare const de_UpdateEntitiesWeightCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEntitiesWeightCommandOutput>;
@@ -7,16 +7,20 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
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: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
10
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
11
- requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/fetch-http-handler").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
12
- updateHttpClientConfig(key: never, value: never): void;
13
- httpHandlerConfigs(): {};
14
- }) | RequestHandler;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
13
  retryMode: string | import("@smithy/types").Provider<string>;
16
14
  sha256: import("@smithy/types").HashConstructor;
17
15
  streamCollector: import("@smithy/types").StreamCollector;
18
- env: string;
16
+ env?: "stage" | "stable" | "prod" | undefined;
19
17
  token: import("@wildix/smithy-utils").TokenProvider;
18
+ cacheMiddleware?: boolean | undefined;
19
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
20
+ protocolSettings?: {
21
+ [setting: string]: unknown;
22
+ defaultNamespace?: string | undefined;
23
+ } | undefined;
20
24
  apiVersion: string;
21
25
  urlParser: import("@smithy/types").UrlParser;
22
26
  base64Decoder: import("@smithy/types").Decoder;
@@ -26,4 +30,7 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
26
30
  disableHostPrefix: boolean;
27
31
  logger: import("@smithy/types").Logger;
28
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
34
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
36
  };
@@ -7,16 +7,21 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
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: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
10
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
11
- requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/node-http-handler").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
12
- updateHttpClientConfig(key: never, value: never): void;
13
- httpHandlerConfigs(): {};
14
- }) | RequestHandler;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
13
  retryMode: string | import("@smithy/types").Provider<string>;
16
14
  sha256: import("@smithy/types").HashConstructor;
17
15
  streamCollector: import("@smithy/types").StreamCollector;
18
- env: string;
16
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
+ env?: "stage" | "stable" | "prod" | undefined;
19
18
  token: import("@wildix/smithy-utils").TokenProvider;
19
+ cacheMiddleware?: boolean | undefined;
20
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
21
+ protocolSettings?: {
22
+ [setting: string]: unknown;
23
+ defaultNamespace?: string | undefined;
24
+ } | undefined;
20
25
  apiVersion: string;
21
26
  urlParser: import("@smithy/types").UrlParser;
22
27
  base64Decoder: import("@smithy/types").Decoder;
@@ -26,4 +31,6 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
26
31
  disableHostPrefix: boolean;
27
32
  logger: import("@smithy/types").Logger;
28
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
36
  };
@@ -5,12 +5,15 @@ import { WimCacheClientConfig } from "./WimCacheClient";
5
5
  export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- env: string;
8
+ env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
- requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
11
- updateHttpClientConfig(key: never, value: never): void;
12
- httpHandlerConfigs(): {};
13
- }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
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
+ cacheMiddleware?: boolean | undefined;
12
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
+ protocolSettings?: {
14
+ [setting: string]: unknown;
15
+ defaultNamespace?: string | undefined;
16
+ } | undefined;
14
17
  apiVersion: string;
15
18
  urlParser: import("@smithy/types").UrlParser;
16
19
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -20,9 +23,13 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
20
23
  utf8Decoder: import("@smithy/types").Decoder;
21
24
  utf8Encoder: (input: string | Uint8Array) => string;
22
25
  disableHostPrefix: boolean;
26
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
23
27
  maxAttempts: number | import("@smithy/types").Provider<number>;
24
28
  retryMode: string | import("@smithy/types").Provider<string>;
25
29
  logger: import("@smithy/types").Logger;
26
30
  extensions: import("./runtimeExtensions").RuntimeExtension[];
27
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
28
35
  };