@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.
Files changed (50) hide show
  1. package/dist-cjs/WimCache.js +2 -0
  2. package/dist-cjs/WimCacheClient.js +14 -8
  3. package/dist-cjs/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
  4. package/dist-cjs/commands/GetEntitiesByIdsCommand.js +12 -32
  5. package/dist-cjs/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
  6. package/dist-cjs/commands/SearchEntitiesByListParamsCommand.js +12 -32
  7. package/dist-cjs/commands/SearchEntitiesByParamsCommand.js +12 -32
  8. package/dist-cjs/commands/SyncCacheCommand.js +12 -32
  9. package/dist-cjs/commands/UpdateEntitiesWeightCommand.js +21 -0
  10. package/dist-cjs/commands/index.js +1 -0
  11. package/dist-cjs/models/models_0.js +16 -3
  12. package/dist-cjs/protocols/Aws_restJson1.js +118 -233
  13. package/dist-cjs/runtimeConfig.browser.js +5 -1
  14. package/dist-cjs/runtimeConfig.js +8 -3
  15. package/dist-cjs/runtimeConfig.shared.js +13 -11
  16. package/dist-cjs/runtimeExtensions.js +2 -10
  17. package/dist-es/WimCache.js +2 -0
  18. package/dist-es/WimCacheClient.js +15 -9
  19. package/dist-es/commands/DeleteEntitiesFromGeneralCacheCommand.js +12 -32
  20. package/dist-es/commands/GetEntitiesByIdsCommand.js +12 -32
  21. package/dist-es/commands/PutEntitiesToGeneralCacheCommand.js +12 -32
  22. package/dist-es/commands/SearchEntitiesByListParamsCommand.js +12 -32
  23. package/dist-es/commands/SearchEntitiesByParamsCommand.js +12 -32
  24. package/dist-es/commands/SyncCacheCommand.js +12 -32
  25. package/dist-es/commands/UpdateEntitiesWeightCommand.js +17 -0
  26. package/dist-es/commands/index.js +1 -0
  27. package/dist-es/models/models_0.js +14 -2
  28. package/dist-es/protocols/Aws_restJson1.js +109 -226
  29. package/dist-es/runtimeConfig.browser.js +4 -1
  30. package/dist-es/runtimeConfig.js +7 -3
  31. package/dist-es/runtimeConfig.shared.js +13 -11
  32. package/dist-es/runtimeExtensions.js +2 -10
  33. package/dist-types/WimCache.d.ts +10 -0
  34. package/dist-types/WimCacheClient.d.ts +19 -11
  35. package/dist-types/commands/DeleteEntitiesFromGeneralCacheCommand.d.ts +24 -21
  36. package/dist-types/commands/GetEntitiesByIdsCommand.d.ts +25 -21
  37. package/dist-types/commands/PutEntitiesToGeneralCacheCommand.d.ts +24 -21
  38. package/dist-types/commands/SearchEntitiesByListParamsCommand.d.ts +25 -21
  39. package/dist-types/commands/SearchEntitiesByParamsCommand.d.ts +25 -21
  40. package/dist-types/commands/SyncCacheCommand.d.ts +24 -21
  41. package/dist-types/commands/UpdateEntitiesWeightCommand.d.ts +79 -0
  42. package/dist-types/commands/index.d.ts +1 -0
  43. package/dist-types/index.d.ts +2 -0
  44. package/dist-types/models/WimCacheServiceException.d.ts +2 -1
  45. package/dist-types/models/models_0.d.ts +104 -71
  46. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  47. package/dist-types/runtimeConfig.browser.d.ts +7 -5
  48. package/dist-types/runtimeConfig.d.ts +7 -5
  49. package/dist-types/runtimeConfig.native.d.ts +7 -5
  50. package/package.json +42 -36
@@ -11,25 +11,36 @@ export declare class ValidationException extends __BaseException {
11
11
  */
12
12
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
13
13
  }
14
+ /**
15
+ * @public
16
+ */
17
+ export declare class ForbiddenException extends __BaseException {
18
+ readonly name: "ForbiddenException";
19
+ readonly $fault: "client";
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
24
+ }
14
25
  /**
15
26
  * @public
16
27
  */
17
28
  export interface DeleteEntitiesFromGeneralCacheInput {
18
29
  /**
19
- * @public
20
30
  * Email for delete
31
+ * @public
21
32
  */
22
- email?: string;
33
+ email?: string | undefined;
23
34
  /**
24
- * @public
25
35
  * Phone for delete
36
+ * @public
26
37
  */
27
- phone?: string;
38
+ phone?: string | undefined;
28
39
  /**
29
- * @public
30
40
  * Delete all general cache for the current user
41
+ * @public
31
42
  */
32
- clean?: boolean;
43
+ clean?: boolean | undefined;
33
44
  }
34
45
  /**
35
46
  * @public
@@ -40,36 +51,36 @@ export interface DeleteEntitiesFromGeneralCacheOutput {
40
51
  * @public
41
52
  */
42
53
  export interface SalesforceAttrubuteField {
43
- url?: string;
44
- type?: string;
54
+ url?: string | undefined;
55
+ type?: string | undefined;
45
56
  }
46
57
  /**
47
58
  * @public
48
59
  */
49
60
  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>;
61
+ Id?: string | undefined;
62
+ Name?: string | undefined;
63
+ FirstName?: string | undefined;
64
+ LastName?: string | undefined;
65
+ Phone?: string | undefined;
66
+ Email?: string | undefined;
67
+ OwnerId?: string | undefined;
68
+ MobilePhone?: string | undefined;
69
+ AccountId?: string | undefined;
70
+ Company?: string | undefined;
71
+ IsConverted?: boolean | undefined;
72
+ LastModifiedDate?: string | undefined;
73
+ CompanyName?: string | undefined;
74
+ IsActive?: boolean | undefined;
75
+ TimeZoneSidKey?: string | undefined;
76
+ Extension?: string | undefined;
77
+ attributes?: SalesforceAttrubuteField | undefined;
78
+ CallPhone?: string | undefined;
79
+ Archived?: boolean | undefined;
80
+ Domain?: string | undefined;
81
+ UpdatedAt?: string | undefined;
82
+ Avatar?: string | undefined;
83
+ CustomData?: Record<string, string> | undefined;
73
84
  }
74
85
  /**
75
86
  * @public
@@ -78,7 +89,8 @@ export interface Entity {
78
89
  integrationId: string;
79
90
  entityType: string;
80
91
  data: EntityData;
81
- integrationOrder?: number;
92
+ weight?: number | undefined;
93
+ integrationOrder?: number | undefined;
82
94
  }
83
95
  /**
84
96
  * @public
@@ -86,27 +98,27 @@ export interface Entity {
86
98
  export interface GeneralEntityInputData {
87
99
  IntegrationId: string;
88
100
  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>;
101
+ Name?: string | undefined;
102
+ Id?: string | undefined;
103
+ Phone?: string | undefined;
104
+ Email?: string | undefined;
105
+ OwnerId?: string | undefined;
106
+ Avatar?: string | undefined;
107
+ UpdatedAt?: string | undefined;
108
+ CustomData?: Record<string, string> | undefined;
97
109
  }
98
110
  /**
99
111
  * @public
100
112
  */
101
113
  export interface GetEntitiesByIdsInput {
102
114
  /**
103
- * @public
104
115
  * Organization identifier
116
+ * @public
105
117
  */
106
- organizationId?: string;
118
+ organizationId?: string | undefined;
107
119
  /**
108
- * @public
109
120
  * Unique Entities identifiers
121
+ * @public
110
122
  */
111
123
  entityIds: (string)[];
112
124
  }
@@ -114,13 +126,13 @@ export interface GetEntitiesByIdsInput {
114
126
  * @public
115
127
  */
116
128
  export interface GetEntitiesByIdsOutput {
117
- items?: (Entity)[];
129
+ items?: (Entity)[] | undefined;
118
130
  }
119
131
  /**
120
132
  * @public
121
133
  */
122
134
  export interface PutEntitiesToGeneralCacheInput {
123
- items?: (GeneralEntityInputData)[];
135
+ items?: (GeneralEntityInputData)[] | undefined;
124
136
  }
125
137
  /**
126
138
  * @public
@@ -132,28 +144,28 @@ export interface PutEntitiesToGeneralCacheOutput {
132
144
  */
133
145
  export interface SearchPostParams {
134
146
  /**
135
- * @public
136
147
  * Phone for search
148
+ * @public
137
149
  */
138
- phone?: string;
150
+ phone?: string | undefined;
139
151
  /**
140
- * @public
141
152
  * Email for search
153
+ * @public
142
154
  */
143
- email?: string;
155
+ email?: string | undefined;
144
156
  }
145
157
  /**
146
158
  * @public
147
159
  */
148
160
  export interface SearchEntitiesByListParamsInput {
149
161
  /**
150
- * @public
151
162
  * Organization identifier
163
+ * @public
152
164
  */
153
- organizationId?: string;
165
+ organizationId?: string | undefined;
154
166
  /**
155
- * @public
156
167
  * Params for search
168
+ * @public
157
169
  */
158
170
  params: (SearchPostParams)[];
159
171
  }
@@ -161,64 +173,64 @@ export interface SearchEntitiesByListParamsInput {
161
173
  * @public
162
174
  */
163
175
  export interface SearchResult {
164
- email?: string;
165
- phone?: string;
166
- items?: (Entity)[];
176
+ email?: string | undefined;
177
+ phone?: string | undefined;
178
+ items?: (Entity)[] | undefined;
167
179
  }
168
180
  /**
169
181
  * @public
170
182
  */
171
183
  export interface SearchEntitiesByListParamsOutput {
172
- items?: (SearchResult)[];
184
+ items?: (SearchResult)[] | undefined;
173
185
  }
174
186
  /**
175
187
  * @public
176
188
  */
177
189
  export interface SearchEntitiesByParamsInput {
178
190
  /**
179
- * @public
180
191
  * Unique organization identifier
192
+ * @public
181
193
  */
182
- organizationId?: string;
194
+ organizationId?: string | undefined;
183
195
  /**
184
- * @public
185
196
  * Phone for search
197
+ * @public
186
198
  */
187
- phone?: string;
199
+ phone?: string | undefined;
188
200
  /**
189
- * @public
190
201
  * Email for search
202
+ * @public
191
203
  */
192
- email?: string;
204
+ email?: string | undefined;
193
205
  /**
194
- * @public
195
206
  * Query string for search (use only for Backend auto loging integrations)
207
+ * @public
196
208
  */
197
- query?: string;
209
+ query?: string | undefined;
198
210
  /**
199
- * @public
200
211
  * Starting document offset. Needs to by non-negative and defaults to 0
212
+ * @public
201
213
  */
202
- from?: number;
214
+ from?: number | undefined;
203
215
  /**
204
- * @public
205
216
  * Defines the number of hits to return. Defaults to 10
217
+ * @public
206
218
  */
207
- size?: number;
219
+ size?: number | undefined;
208
220
  }
209
221
  /**
210
222
  * @public
211
223
  */
212
224
  export interface SearchEntitiesByParamsOutput {
213
- items?: (SearchResult)[];
225
+ items?: (SearchResult)[] | undefined;
214
226
  }
215
227
  /**
216
228
  * @public
217
229
  */
218
230
  export interface SyncCacheInput {
219
231
  /**
220
- * @public
221
232
  * Organization identifier
233
+ * @public
222
234
  */
223
235
  organizationId: string;
224
236
  }
@@ -226,5 +238,26 @@ export interface SyncCacheInput {
226
238
  * @public
227
239
  */
228
240
  export interface SyncCacheOutput {
229
- success?: boolean;
241
+ success?: boolean | undefined;
242
+ }
243
+ /**
244
+ * @public
245
+ */
246
+ export interface UpdateEntitiesWeightInput {
247
+ /**
248
+ * Organization identifier
249
+ * @public
250
+ */
251
+ organizationId: string;
252
+ /**
253
+ * Unique Entities identifiers
254
+ * @public
255
+ */
256
+ entityIds: (string)[];
257
+ }
258
+ /**
259
+ * @public
260
+ */
261
+ export interface UpdateEntitiesWeightOutput {
262
+ success: boolean;
230
263
  }
@@ -4,6 +4,7 @@ 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 { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
8
9
  import { SerdeContext as __SerdeContext } from "@smithy/types";
9
10
  /**
@@ -30,6 +31,10 @@ export declare const se_SearchEntitiesByParamsCommand: (input: SearchEntitiesByP
30
31
  * serializeAws_restJson1SyncCacheCommand
31
32
  */
32
33
  export declare const se_SyncCacheCommand: (input: SyncCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ /**
35
+ * serializeAws_restJson1UpdateEntitiesWeightCommand
36
+ */
37
+ export declare const se_UpdateEntitiesWeightCommand: (input: UpdateEntitiesWeightCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
38
  /**
34
39
  * deserializeAws_restJson1DeleteEntitiesFromGeneralCacheCommand
35
40
  */
@@ -54,3 +59,7 @@ export declare const de_SearchEntitiesByParamsCommand: (output: __HttpResponse,
54
59
  * deserializeAws_restJson1SyncCacheCommand
55
60
  */
56
61
  export declare const de_SyncCacheCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SyncCacheCommandOutput>;
62
+ /**
63
+ * deserializeAws_restJson1UpdateEntitiesWeightCommand
64
+ */
65
+ export declare const de_UpdateEntitiesWeightCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEntitiesWeightCommandOutput>;
@@ -7,17 +7,16 @@ 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;
20
18
  apiVersion: string;
19
+ cacheMiddleware?: boolean | undefined;
21
20
  urlParser: import("@smithy/types").UrlParser;
22
21
  base64Decoder: import("@smithy/types").Decoder;
23
22
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -26,4 +25,7 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
26
25
  disableHostPrefix: boolean;
27
26
  logger: import("@smithy/types").Logger;
28
27
  extensions: import("./runtimeExtensions").RuntimeExtension[];
28
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
29
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
31
  };
@@ -7,17 +7,17 @@ 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;
20
19
  apiVersion: string;
20
+ cacheMiddleware?: boolean | undefined;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
23
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -26,4 +26,6 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@smithy/types").Logger;
28
28
  extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
30
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
29
31
  };
@@ -5,13 +5,11 @@ 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;
14
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
15
13
  urlParser: import("@smithy/types").UrlParser;
16
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -20,9 +18,13 @@ export declare const getRuntimeConfig: (config: WimCacheClientConfig) => {
20
18
  utf8Decoder: import("@smithy/types").Decoder;
21
19
  utf8Encoder: (input: string | Uint8Array) => string;
22
20
  disableHostPrefix: boolean;
21
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
23
22
  maxAttempts: number | import("@smithy/types").Provider<number>;
24
23
  retryMode: string | import("@smithy/types").Provider<string>;
25
24
  logger: import("@smithy/types").Logger;
26
25
  extensions: import("./runtimeExtensions").RuntimeExtension[];
27
26
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
27
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
28
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
29
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
28
30
  };
package/package.json CHANGED
@@ -1,61 +1,67 @@
1
1
  {
2
2
  "name": "@wildix/wim-cache-client",
3
3
  "description": "@wildix/wim-cache-client client",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
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",
8
- "build:docs": "typedoc",
9
8
  "build:es": "tsc -p tsconfig.es.json",
10
9
  "build:types": "tsc -p tsconfig.types.json",
11
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
- "prepack": "yarn run clean && yarn run build"
11
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "prepack": "yarn run clean && yarn run build",
13
+ "postpublish": "node ../../scripts/postpublish.js"
14
14
  },
15
15
  "main": "./dist-cjs/index.js",
16
16
  "types": "./dist-types/index.d.ts",
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
- "tslib": "^2.5.0",
21
- "@aws-crypto/sha256-browser": "3.0.0",
22
- "@aws-crypto/sha256-js": "3.0.0",
20
+ "tslib": "^2.6.2",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/middleware-host-header": "3.775.0",
25
+ "@aws-sdk/middleware-logger": "3.775.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
27
+ "@aws-sdk/middleware-user-agent": "3.775.0",
23
28
  "@aws-sdk/types": "latest",
24
- "@smithy/config-resolver": "^2.0.11",
25
- "@smithy/fetch-http-handler": "^2.2.1",
26
- "@smithy/hash-node": "^2.0.10",
27
- "@smithy/invalid-dependency": "^2.0.10",
28
- "@smithy/middleware-content-length": "^2.0.12",
29
- "@smithy/middleware-retry": "^2.0.13",
30
- "@smithy/middleware-serde": "^2.0.10",
31
- "@smithy/middleware-stack": "^2.0.4",
32
- "@smithy/node-config-provider": "^2.0.13",
33
- "@smithy/node-http-handler": "^2.1.6",
34
- "@smithy/protocol-http": "^3.0.6",
35
- "@smithy/smithy-client": "^2.1.9",
36
- "@smithy/types": "^2.3.4",
37
- "@smithy/url-parser": "^2.0.10",
38
- "@smithy/util-base64": "^2.0.0",
39
- "@smithy/util-body-length-browser": "^2.0.0",
40
- "@smithy/util-body-length-node": "^2.1.0",
41
- "@smithy/util-defaults-mode-browser": "^2.0.13",
42
- "@smithy/util-defaults-mode-node": "^2.0.15",
43
- "@smithy/util-retry": "^2.0.3",
44
- "@smithy/util-utf8": "^2.0.0",
45
- "@wildix/auth-utils": "^1.0.4"
29
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
30
+ "@aws-sdk/util-user-agent-node": "3.775.0",
31
+ "@smithy/config-resolver": "^4.1.0",
32
+ "@smithy/core": "^3.2.0",
33
+ "@smithy/fetch-http-handler": "^5.0.2",
34
+ "@smithy/hash-node": "^4.0.2",
35
+ "@smithy/invalid-dependency": "^4.0.2",
36
+ "@smithy/middleware-content-length": "^4.0.2",
37
+ "@smithy/middleware-retry": "^4.1.0",
38
+ "@smithy/middleware-serde": "^4.0.3",
39
+ "@smithy/middleware-stack": "^4.0.2",
40
+ "@smithy/node-config-provider": "^4.0.2",
41
+ "@smithy/node-http-handler": "^4.0.4",
42
+ "@smithy/protocol-http": "^5.1.0",
43
+ "@smithy/smithy-client": "^4.2.0",
44
+ "@smithy/types": "^4.2.0",
45
+ "@smithy/url-parser": "^4.0.2",
46
+ "@smithy/util-base64": "^4.0.0",
47
+ "@smithy/util-body-length-browser": "^4.0.0",
48
+ "@smithy/util-body-length-node": "^4.0.0",
49
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
50
+ "@smithy/util-defaults-mode-node": "^4.0.8",
51
+ "@smithy/util-retry": "^4.0.2",
52
+ "@smithy/util-utf8": "^4.0.0",
53
+ "@wildix/smithy-utils": "^1.0.3"
46
54
  },
47
55
  "devDependencies": {
48
- "@tsconfig/node14": "1.0.3",
56
+ "@tsconfig/node18": "18.2.4",
49
57
  "concurrently": "7.0.0",
50
58
  "downlevel-dts": "0.10.1",
51
59
  "rimraf": "^3.0.0",
52
- "typedoc": "0.23.23",
53
- "typescript": "~4.9.5",
54
- "@smithy/service-client-documentation-generator": "^2.0.0",
55
- "@types/node": "^14.14.31"
60
+ "typescript": "~5.2.2",
61
+ "@types/node": "^18.19.69"
56
62
  },
57
63
  "engines": {
58
- "node": ">=14.0.0"
64
+ "node": ">=18.0.0"
59
65
  },
60
66
  "typesVersions": {
61
67
  "<4.0": {
@@ -74,4 +80,4 @@
74
80
  "react-native": {
75
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
76
82
  }
77
- }
83
+ }