@aws-sdk/client-connectcases 3.901.0 → 3.906.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.
@@ -685,12 +685,12 @@ export interface CommentContent {
685
685
  contentType: CommentBodyTextType | undefined;
686
686
  }
687
687
  /**
688
- * Represents the input content of a Case related item
688
+ * <p>Represents the content of a <code>ConnectCase</code> related item.</p>
689
689
  * @public
690
690
  */
691
691
  export interface ConnectCaseInputContent {
692
692
  /**
693
- * The unique identifier of the case to be related
693
+ * <p>A unique identifier of the case.</p>
694
694
  * @public
695
695
  */
696
696
  caseId: string | undefined;
@@ -707,12 +707,12 @@ export interface Contact {
707
707
  contactArn: string | undefined;
708
708
  }
709
709
  /**
710
- * Represents the input content of a Custom related item
710
+ * <p>Represents the content of a <code>Custom</code> related item.</p>
711
711
  * @public
712
712
  */
713
713
  export interface CustomInputContent {
714
714
  /**
715
- * List of field values for the custom related item
715
+ * <p>List of field values for the <code>Custom</code> related item.</p>
716
716
  * @public
717
717
  */
718
718
  fields: FieldValue[] | undefined;
@@ -862,7 +862,7 @@ export declare namespace RelatedItemInputContent {
862
862
  $unknown?: never;
863
863
  }
864
864
  /**
865
- * Input content for a related Connect case
865
+ * <p>Represents the Amazon Connect case to be created as a related item.</p>
866
866
  * @public
867
867
  */
868
868
  interface ConnectCaseMember {
@@ -875,7 +875,7 @@ export declare namespace RelatedItemInputContent {
875
875
  $unknown?: never;
876
876
  }
877
877
  /**
878
- * Input content for a custom related item
878
+ * <p>Represents the content of a <code>Custom</code> type related item.</p>
879
879
  * @public
880
880
  */
881
881
  interface CustomMember {
@@ -999,12 +999,12 @@ export interface DeleteRelatedItemResponse {
999
999
  export interface CommentFilter {
1000
1000
  }
1001
1001
  /**
1002
- * A filter for related items of type Case
1002
+ * <p>A filter for related items of type <code>ConnectCase</code>.</p>
1003
1003
  * @public
1004
1004
  */
1005
1005
  export interface ConnectCaseFilter {
1006
1006
  /**
1007
- * The unique identifier of the case to filter by
1007
+ * <p>A unique identifier of the case.</p>
1008
1008
  * @public
1009
1009
  */
1010
1010
  caseId?: string | undefined;
@@ -1177,12 +1177,12 @@ export interface SlaFilter {
1177
1177
  status?: SlaStatus | undefined;
1178
1178
  }
1179
1179
  /**
1180
- * Represents the content of a Case related item
1180
+ * <p>Represents the content of a <code>ConnectCase</code> type related item.</p>
1181
1181
  * @public
1182
1182
  */
1183
1183
  export interface ConnectCaseContent {
1184
1184
  /**
1185
- * The unique identifier of the related case
1185
+ * <p>A unique identifier of the case.</p>
1186
1186
  * @public
1187
1187
  */
1188
1188
  caseId: string | undefined;
@@ -1209,12 +1209,12 @@ export interface ContactContent {
1209
1209
  connectedToSystemTime: Date | undefined;
1210
1210
  }
1211
1211
  /**
1212
- * Represents the content of a Custom related item
1212
+ * <p>Represents the content of a <code>Custom</code> type related item.</p>
1213
1213
  * @public
1214
1214
  */
1215
1215
  export interface CustomContent {
1216
1216
  /**
1217
- * List of field values for the custom related item
1217
+ * <p>List of field values for the <code>Custom</code> related item.</p>
1218
1218
  * @public
1219
1219
  */
1220
1220
  fields: FieldValue[] | undefined;
@@ -1333,7 +1333,7 @@ export declare namespace RelatedItemContent {
1333
1333
  $unknown?: never;
1334
1334
  }
1335
1335
  /**
1336
- * Content for a related Connect case
1336
+ * <p>Represents the Amazon Connect case to be created as a related item.</p>
1337
1337
  * @public
1338
1338
  */
1339
1339
  interface ConnectCaseMember {
@@ -1346,7 +1346,7 @@ export declare namespace RelatedItemContent {
1346
1346
  $unknown?: never;
1347
1347
  }
1348
1348
  /**
1349
- * Content for a custom related item
1349
+ * <p>Represents the content of a <code>Custom</code> type related item.</p>
1350
1350
  * @public
1351
1351
  */
1352
1352
  interface CustomMember {
@@ -2281,6 +2281,90 @@ export interface PutCaseEventConfigurationRequest {
2281
2281
  */
2282
2282
  export interface PutCaseEventConfigurationResponse {
2283
2283
  }
2284
+ /**
2285
+ * @public
2286
+ * @enum
2287
+ */
2288
+ export declare const SearchAllRelatedItemsSortProperty: {
2289
+ readonly ASSOCIATION_TIME: "AssociationTime";
2290
+ readonly CASE_ID: "CaseId";
2291
+ };
2292
+ /**
2293
+ * @public
2294
+ */
2295
+ export type SearchAllRelatedItemsSortProperty = (typeof SearchAllRelatedItemsSortProperty)[keyof typeof SearchAllRelatedItemsSortProperty];
2296
+ /**
2297
+ * <p>The order in which all returned related items should be sorted.</p>
2298
+ * @public
2299
+ */
2300
+ export interface SearchAllRelatedItemsSort {
2301
+ /**
2302
+ * <p>Whether related items should be sorted in ascending or descending order. </p>
2303
+ * @public
2304
+ */
2305
+ sortProperty: SearchAllRelatedItemsSortProperty | undefined;
2306
+ /**
2307
+ * <p>Whether related items should be sorted by association time or case ID. </p>
2308
+ * @public
2309
+ */
2310
+ sortOrder: Order | undefined;
2311
+ }
2312
+ /**
2313
+ * <p>A list of items that represent RelatedItems. This data type is similar to <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_SearchRelatedItemsResponseItem.html">SearchRelatedItemsResponseItem</a> except Search<b>All</b>RelatedItemsResponseItem has a caseId field.</p>
2314
+ * @public
2315
+ */
2316
+ export interface SearchAllRelatedItemsResponseItem {
2317
+ /**
2318
+ * <p>Unique identifier of a related item.</p>
2319
+ * @public
2320
+ */
2321
+ relatedItemId: string | undefined;
2322
+ /**
2323
+ * <p>A unique identifier of the case.</p>
2324
+ * @public
2325
+ */
2326
+ caseId: string | undefined;
2327
+ /**
2328
+ * <p>Type of a related item.</p>
2329
+ * @public
2330
+ */
2331
+ type: RelatedItemType | undefined;
2332
+ /**
2333
+ * <p>Time at which a related item was associated with a case.</p>
2334
+ * @public
2335
+ */
2336
+ associationTime: Date | undefined;
2337
+ /**
2338
+ * <p>Represents the content of a particular type of related item.</p>
2339
+ * @public
2340
+ */
2341
+ content: RelatedItemContent | undefined;
2342
+ /**
2343
+ * <p>Represents the entity that performed the action.</p>
2344
+ * @public
2345
+ */
2346
+ performedBy?: UserUnion | undefined;
2347
+ /**
2348
+ * <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
2349
+ * @public
2350
+ */
2351
+ tags?: Record<string, string> | undefined;
2352
+ }
2353
+ /**
2354
+ * @public
2355
+ */
2356
+ export interface SearchAllRelatedItemsResponse {
2357
+ /**
2358
+ * <p>The token for the next set of results. This is null if there are no more results to return.</p>
2359
+ * @public
2360
+ */
2361
+ nextToken?: string | undefined;
2362
+ /**
2363
+ * <p>A list of items related to a case.</p>
2364
+ * @public
2365
+ */
2366
+ relatedItems: SearchAllRelatedItemsResponseItem[] | undefined;
2367
+ }
2284
2368
  /**
2285
2369
  * @public
2286
2370
  */
@@ -3449,7 +3533,7 @@ export declare namespace CaseFilter {
3449
3533
  const visit: <T>(value: CaseFilter, visitor: Visitor<T>) => T;
3450
3534
  }
3451
3535
  /**
3452
- * A filter for fields in related items of type Custom
3536
+ * <p>A filter for fields in <code>Custom</code> type related items. Only one value can be provided.</p>
3453
3537
  * @public
3454
3538
  */
3455
3539
  export type CustomFieldsFilter = CustomFieldsFilter.AndAllMember | CustomFieldsFilter.FieldMember | CustomFieldsFilter.NotMember | CustomFieldsFilter.OrAllMember | CustomFieldsFilter.$UnknownMember;
@@ -3469,7 +3553,7 @@ export declare namespace CustomFieldsFilter {
3469
3553
  $unknown?: never;
3470
3554
  }
3471
3555
  /**
3472
- * Excludes items matching the filter
3556
+ * <p>Excludes items matching the filter.</p>
3473
3557
  * @public
3474
3558
  */
3475
3559
  interface NotMember {
@@ -3480,7 +3564,7 @@ export declare namespace CustomFieldsFilter {
3480
3564
  $unknown?: never;
3481
3565
  }
3482
3566
  /**
3483
- * Matches items that satisfy all of the specified filter conditions
3567
+ * <p>Provides "and all" filtering.</p>
3484
3568
  * @public
3485
3569
  */
3486
3570
  interface AndAllMember {
@@ -3491,7 +3575,7 @@ export declare namespace CustomFieldsFilter {
3491
3575
  $unknown?: never;
3492
3576
  }
3493
3577
  /**
3494
- * Matches items that satisfy any of the specified filter conditions
3578
+ * <p>Provides "or all" filtering.</p>
3495
3579
  * @public
3496
3580
  */
3497
3581
  interface OrAllMember {
@@ -3521,12 +3605,12 @@ export declare namespace CustomFieldsFilter {
3521
3605
  const visit: <T>(value: CustomFieldsFilter, visitor: Visitor<T>) => T;
3522
3606
  }
3523
3607
  /**
3524
- * A filter for related items of type Custom
3608
+ * <p>A filter for related items of type <code>Custom</code>.</p>
3525
3609
  * @public
3526
3610
  */
3527
3611
  export interface CustomFilter {
3528
3612
  /**
3529
- * Filter conditions for custom fields
3613
+ * <p>Filter conditions for custom fields.</p>
3530
3614
  * @public
3531
3615
  */
3532
3616
  fields?: CustomFieldsFilter | undefined;
@@ -3633,7 +3717,7 @@ export declare namespace RelatedItemTypeFilter {
3633
3717
  $unknown?: never;
3634
3718
  }
3635
3719
  /**
3636
- * Filter for related items of type Connect case
3720
+ * <p>Represents the Amazon Connect case to be created as a related item.</p>
3637
3721
  * @public
3638
3722
  */
3639
3723
  interface ConnectCaseMember {
@@ -3646,7 +3730,7 @@ export declare namespace RelatedItemTypeFilter {
3646
3730
  $unknown?: never;
3647
3731
  }
3648
3732
  /**
3649
- * Filter for related items of type Custom
3733
+ * <p>Represents the content of a <code>Custom</code> type related item.</p>
3650
3734
  * @public
3651
3735
  */
3652
3736
  interface CustomMember {
@@ -3681,6 +3765,36 @@ export declare namespace RelatedItemTypeFilter {
3681
3765
  }
3682
3766
  const visit: <T>(value: RelatedItemTypeFilter, visitor: Visitor<T>) => T;
3683
3767
  }
3768
+ /**
3769
+ * @public
3770
+ */
3771
+ export interface SearchAllRelatedItemsRequest {
3772
+ /**
3773
+ * <p>The unique identifier of the Cases domain. </p>
3774
+ * @public
3775
+ */
3776
+ domainId: string | undefined;
3777
+ /**
3778
+ * <p>The maximum number of results to return per page.</p>
3779
+ * @public
3780
+ */
3781
+ maxResults?: number | undefined;
3782
+ /**
3783
+ * <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
3784
+ * @public
3785
+ */
3786
+ nextToken?: string | undefined;
3787
+ /**
3788
+ * <p>The list of types of related items and their parameters to use for filtering. The filters work as an OR condition: caller gets back related items that match any of the specified filter types.</p>
3789
+ * @public
3790
+ */
3791
+ filters?: RelatedItemTypeFilter[] | undefined;
3792
+ /**
3793
+ * <p>A structured set of sort terms to specify the order in which related items should be returned. Supports sorting by association time or case ID. The sorts work in the order specified: first sort term takes precedence over subsequent terms.</p>
3794
+ * @public
3795
+ */
3796
+ sorts?: SearchAllRelatedItemsSort[] | undefined;
3797
+ }
3684
3798
  /**
3685
3799
  * @public
3686
3800
  */
@@ -3775,10 +3889,22 @@ export declare const SearchRelatedItemsResponseFilterSensitiveLog: (obj: SearchR
3775
3889
  * @internal
3776
3890
  */
3777
3891
  export declare const UpdateCaseRequestFilterSensitiveLog: (obj: UpdateCaseRequest) => any;
3892
+ /**
3893
+ * @internal
3894
+ */
3895
+ export declare const SearchAllRelatedItemsResponseItemFilterSensitiveLog: (obj: SearchAllRelatedItemsResponseItem) => any;
3896
+ /**
3897
+ * @internal
3898
+ */
3899
+ export declare const SearchAllRelatedItemsResponseFilterSensitiveLog: (obj: SearchAllRelatedItemsResponse) => any;
3778
3900
  /**
3779
3901
  * @internal
3780
3902
  */
3781
3903
  export declare const RelatedItemTypeFilterFilterSensitiveLog: (obj: RelatedItemTypeFilter) => any;
3904
+ /**
3905
+ * @internal
3906
+ */
3907
+ export declare const SearchAllRelatedItemsRequestFilterSensitiveLog: (obj: SearchAllRelatedItemsRequest) => any;
3782
3908
  /**
3783
3909
  * @internal
3784
3910
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { SearchAllRelatedItemsCommandInput, SearchAllRelatedItemsCommandOutput } from "../commands/SearchAllRelatedItemsCommand";
3
+ import { ConnectCasesPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchAllRelatedItems: (config: ConnectCasesPaginationConfiguration, input: SearchAllRelatedItemsCommandInput, ...rest: any[]) => 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";
@@ -32,6 +32,7 @@ import { ListLayoutsCommandInput, ListLayoutsCommandOutput } from "../commands/L
32
32
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
33
33
  import { ListTemplatesCommandInput, ListTemplatesCommandOutput } from "../commands/ListTemplatesCommand";
34
34
  import { PutCaseEventConfigurationCommandInput, PutCaseEventConfigurationCommandOutput } from "../commands/PutCaseEventConfigurationCommand";
35
+ import { SearchAllRelatedItemsCommandInput, SearchAllRelatedItemsCommandOutput } from "../commands/SearchAllRelatedItemsCommand";
35
36
  import { SearchCasesCommandInput, SearchCasesCommandOutput } from "../commands/SearchCasesCommand";
36
37
  import { SearchRelatedItemsCommandInput, SearchRelatedItemsCommandOutput } from "../commands/SearchRelatedItemsCommand";
37
38
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -169,6 +170,10 @@ export declare const se_ListTemplatesCommand: (input: ListTemplatesCommandInput,
169
170
  * serializeAws_restJson1PutCaseEventConfigurationCommand
170
171
  */
171
172
  export declare const se_PutCaseEventConfigurationCommand: (input: PutCaseEventConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
173
+ /**
174
+ * serializeAws_restJson1SearchAllRelatedItemsCommand
175
+ */
176
+ export declare const se_SearchAllRelatedItemsCommand: (input: SearchAllRelatedItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
172
177
  /**
173
178
  * serializeAws_restJson1SearchCasesCommand
174
179
  */
@@ -333,6 +338,10 @@ export declare const de_ListTemplatesCommand: (output: __HttpResponse, context:
333
338
  * deserializeAws_restJson1PutCaseEventConfigurationCommand
334
339
  */
335
340
  export declare const de_PutCaseEventConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutCaseEventConfigurationCommandOutput>;
341
+ /**
342
+ * deserializeAws_restJson1SearchAllRelatedItemsCommand
343
+ */
344
+ export declare const de_SearchAllRelatedItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAllRelatedItemsCommandOutput>;
336
345
  /**
337
346
  * deserializeAws_restJson1SearchCasesCommand
338
347
  */
@@ -127,6 +127,10 @@ import {
127
127
  PutCaseEventConfigurationCommandInput,
128
128
  PutCaseEventConfigurationCommandOutput,
129
129
  } from "./commands/PutCaseEventConfigurationCommand";
130
+ import {
131
+ SearchAllRelatedItemsCommandInput,
132
+ SearchAllRelatedItemsCommandOutput,
133
+ } from "./commands/SearchAllRelatedItemsCommand";
130
134
  import {
131
135
  SearchCasesCommandInput,
132
136
  SearchCasesCommandOutput,
@@ -582,6 +586,19 @@ export interface ConnectCases {
582
586
  options: __HttpHandlerOptions,
583
587
  cb: (err: any, data?: PutCaseEventConfigurationCommandOutput) => void
584
588
  ): void;
589
+ searchAllRelatedItems(
590
+ args: SearchAllRelatedItemsCommandInput,
591
+ options?: __HttpHandlerOptions
592
+ ): Promise<SearchAllRelatedItemsCommandOutput>;
593
+ searchAllRelatedItems(
594
+ args: SearchAllRelatedItemsCommandInput,
595
+ cb: (err: any, data?: SearchAllRelatedItemsCommandOutput) => void
596
+ ): void;
597
+ searchAllRelatedItems(
598
+ args: SearchAllRelatedItemsCommandInput,
599
+ options: __HttpHandlerOptions,
600
+ cb: (err: any, data?: SearchAllRelatedItemsCommandOutput) => void
601
+ ): void;
585
602
  searchCases(
586
603
  args: SearchCasesCommandInput,
587
604
  options?: __HttpHandlerOptions
@@ -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.906.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",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.901.0",
24
- "@aws-sdk/credential-provider-node": "3.901.0",
23
+ "@aws-sdk/core": "3.906.0",
24
+ "@aws-sdk/credential-provider-node": "3.906.0",
25
25
  "@aws-sdk/middleware-host-header": "3.901.0",
26
26
  "@aws-sdk/middleware-logger": "3.901.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.901.0",
28
- "@aws-sdk/middleware-user-agent": "3.901.0",
28
+ "@aws-sdk/middleware-user-agent": "3.906.0",
29
29
  "@aws-sdk/region-config-resolver": "3.901.0",
30
30
  "@aws-sdk/types": "3.901.0",
31
31
  "@aws-sdk/util-endpoints": "3.901.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.901.0",
33
- "@aws-sdk/util-user-agent-node": "3.901.0",
33
+ "@aws-sdk/util-user-agent-node": "3.906.0",
34
34
  "@smithy/config-resolver": "^4.3.0",
35
35
  "@smithy/core": "^3.14.0",
36
36
  "@smithy/fetch-http-handler": "^5.3.0",