@aws-sdk/client-connectcases 3.901.0 → 3.902.0

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.
@@ -173,6 +173,10 @@ import {
173
173
  PutCaseEventConfigurationCommandInput,
174
174
  PutCaseEventConfigurationCommandOutput,
175
175
  } from "./commands/PutCaseEventConfigurationCommand";
176
+ import {
177
+ SearchAllRelatedItemsCommandInput,
178
+ SearchAllRelatedItemsCommandOutput,
179
+ } from "./commands/SearchAllRelatedItemsCommand";
176
180
  import {
177
181
  SearchCasesCommandInput,
178
182
  SearchCasesCommandOutput,
@@ -249,6 +253,7 @@ export type ServiceInputTypes =
249
253
  | ListTagsForResourceCommandInput
250
254
  | ListTemplatesCommandInput
251
255
  | PutCaseEventConfigurationCommandInput
256
+ | SearchAllRelatedItemsCommandInput
252
257
  | SearchCasesCommandInput
253
258
  | SearchRelatedItemsCommandInput
254
259
  | TagResourceCommandInput
@@ -291,6 +296,7 @@ export type ServiceOutputTypes =
291
296
  | ListTagsForResourceCommandOutput
292
297
  | ListTemplatesCommandOutput
293
298
  | PutCaseEventConfigurationCommandOutput
299
+ | SearchAllRelatedItemsCommandOutput
294
300
  | SearchCasesCommandOutput
295
301
  | SearchRelatedItemsCommandOutput
296
302
  | TagResourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectCasesClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectCasesClient";
8
+ import {
9
+ SearchAllRelatedItemsRequest,
10
+ SearchAllRelatedItemsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface SearchAllRelatedItemsCommandInput
15
+ extends SearchAllRelatedItemsRequest {}
16
+ export interface SearchAllRelatedItemsCommandOutput
17
+ extends SearchAllRelatedItemsResponse,
18
+ __MetadataBearer {}
19
+ declare const SearchAllRelatedItemsCommand_base: {
20
+ new (
21
+ input: SearchAllRelatedItemsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ SearchAllRelatedItemsCommandInput,
24
+ SearchAllRelatedItemsCommandOutput,
25
+ ConnectCasesClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: SearchAllRelatedItemsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ SearchAllRelatedItemsCommandInput,
33
+ SearchAllRelatedItemsCommandOutput,
34
+ ConnectCasesClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class SearchAllRelatedItemsCommand extends SearchAllRelatedItemsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: SearchAllRelatedItemsRequest;
44
+ output: SearchAllRelatedItemsResponse;
45
+ };
46
+ sdk: {
47
+ input: SearchAllRelatedItemsCommandInput;
48
+ output: SearchAllRelatedItemsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -30,6 +30,7 @@ export * from "./ListLayoutsCommand";
30
30
  export * from "./ListTagsForResourceCommand";
31
31
  export * from "./ListTemplatesCommand";
32
32
  export * from "./PutCaseEventConfigurationCommand";
33
+ export * from "./SearchAllRelatedItemsCommand";
33
34
  export * from "./SearchCasesCommand";
34
35
  export * from "./SearchRelatedItemsCommand";
35
36
  export * from "./TagResourceCommand";
@@ -963,6 +963,29 @@ export interface PutCaseEventConfigurationRequest {
963
963
  eventBridge: EventBridgeConfiguration | undefined;
964
964
  }
965
965
  export interface PutCaseEventConfigurationResponse {}
966
+ export declare const SearchAllRelatedItemsSortProperty: {
967
+ readonly ASSOCIATION_TIME: "AssociationTime";
968
+ readonly CASE_ID: "CaseId";
969
+ };
970
+ export type SearchAllRelatedItemsSortProperty =
971
+ (typeof SearchAllRelatedItemsSortProperty)[keyof typeof SearchAllRelatedItemsSortProperty];
972
+ export interface SearchAllRelatedItemsSort {
973
+ sortProperty: SearchAllRelatedItemsSortProperty | undefined;
974
+ sortOrder: Order | undefined;
975
+ }
976
+ export interface SearchAllRelatedItemsResponseItem {
977
+ relatedItemId: string | undefined;
978
+ caseId: string | undefined;
979
+ type: RelatedItemType | undefined;
980
+ associationTime: Date | undefined;
981
+ content: RelatedItemContent | undefined;
982
+ performedBy?: UserUnion | undefined;
983
+ tags?: Record<string, string> | undefined;
984
+ }
985
+ export interface SearchAllRelatedItemsResponse {
986
+ nextToken?: string | undefined;
987
+ relatedItems: SearchAllRelatedItemsResponseItem[] | undefined;
988
+ }
966
989
  export interface BatchGetFieldRequest {
967
990
  domainId: string | undefined;
968
991
  fields: FieldIdentifier[] | undefined;
@@ -1458,6 +1481,13 @@ export declare namespace RelatedItemTypeFilter {
1458
1481
  }
1459
1482
  const visit: <T>(value: RelatedItemTypeFilter, visitor: Visitor<T>) => T;
1460
1483
  }
1484
+ export interface SearchAllRelatedItemsRequest {
1485
+ domainId: string | undefined;
1486
+ maxResults?: number | undefined;
1487
+ nextToken?: string | undefined;
1488
+ filters?: RelatedItemTypeFilter[] | undefined;
1489
+ sorts?: SearchAllRelatedItemsSort[] | undefined;
1490
+ }
1461
1491
  export interface SearchRelatedItemsRequest {
1462
1492
  domainId: string | undefined;
1463
1493
  caseId: string | undefined;
@@ -1505,9 +1535,18 @@ export declare const SearchRelatedItemsResponseFilterSensitiveLog: (
1505
1535
  export declare const UpdateCaseRequestFilterSensitiveLog: (
1506
1536
  obj: UpdateCaseRequest
1507
1537
  ) => any;
1538
+ export declare const SearchAllRelatedItemsResponseItemFilterSensitiveLog: (
1539
+ obj: SearchAllRelatedItemsResponseItem
1540
+ ) => any;
1541
+ export declare const SearchAllRelatedItemsResponseFilterSensitiveLog: (
1542
+ obj: SearchAllRelatedItemsResponse
1543
+ ) => any;
1508
1544
  export declare const RelatedItemTypeFilterFilterSensitiveLog: (
1509
1545
  obj: RelatedItemTypeFilter
1510
1546
  ) => any;
1547
+ export declare const SearchAllRelatedItemsRequestFilterSensitiveLog: (
1548
+ obj: SearchAllRelatedItemsRequest
1549
+ ) => any;
1511
1550
  export declare const SearchRelatedItemsRequestFilterSensitiveLog: (
1512
1551
  obj: SearchRelatedItemsRequest
1513
1552
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchAllRelatedItemsCommandInput,
4
+ SearchAllRelatedItemsCommandOutput,
5
+ } from "../commands/SearchAllRelatedItemsCommand";
6
+ import { ConnectCasesPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchAllRelatedItems: (
8
+ config: ConnectCasesPaginationConfiguration,
9
+ input: SearchAllRelatedItemsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchAllRelatedItemsCommandOutput>;
@@ -8,5 +8,6 @@ export * from "./ListFieldOptionsPaginator";
8
8
  export * from "./ListFieldsPaginator";
9
9
  export * from "./ListLayoutsPaginator";
10
10
  export * from "./ListTemplatesPaginator";
11
+ export * from "./SearchAllRelatedItemsPaginator";
11
12
  export * from "./SearchCasesPaginator";
12
13
  export * from "./SearchRelatedItemsPaginator";
@@ -131,6 +131,10 @@ import {
131
131
  PutCaseEventConfigurationCommandInput,
132
132
  PutCaseEventConfigurationCommandOutput,
133
133
  } from "../commands/PutCaseEventConfigurationCommand";
134
+ import {
135
+ SearchAllRelatedItemsCommandInput,
136
+ SearchAllRelatedItemsCommandOutput,
137
+ } from "../commands/SearchAllRelatedItemsCommand";
134
138
  import {
135
139
  SearchCasesCommandInput,
136
140
  SearchCasesCommandOutput,
@@ -295,6 +299,10 @@ export declare const se_PutCaseEventConfigurationCommand: (
295
299
  input: PutCaseEventConfigurationCommandInput,
296
300
  context: __SerdeContext
297
301
  ) => Promise<__HttpRequest>;
302
+ export declare const se_SearchAllRelatedItemsCommand: (
303
+ input: SearchAllRelatedItemsCommandInput,
304
+ context: __SerdeContext
305
+ ) => Promise<__HttpRequest>;
298
306
  export declare const se_SearchCasesCommand: (
299
307
  input: SearchCasesCommandInput,
300
308
  context: __SerdeContext
@@ -459,6 +467,10 @@ export declare const de_PutCaseEventConfigurationCommand: (
459
467
  output: __HttpResponse,
460
468
  context: __SerdeContext
461
469
  ) => Promise<PutCaseEventConfigurationCommandOutput>;
470
+ export declare const de_SearchAllRelatedItemsCommand: (
471
+ output: __HttpResponse,
472
+ context: __SerdeContext
473
+ ) => Promise<SearchAllRelatedItemsCommandOutput>;
462
474
  export declare const de_SearchCasesCommand: (
463
475
  output: __HttpResponse,
464
476
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcases",
3
3
  "description": "AWS SDK for JavaScript Connectcases Client for Node.js, Browser and React Native",
4
- "version": "3.901.0",
4
+ "version": "3.902.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connectcases",