@aws-sdk/client-connectcases 3.568.0 → 3.569.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.
- package/dist-cjs/index.js +13 -1
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/CreateRelatedItemCommand.d.ts +3 -0
- package/dist-types/commands/SearchRelatedItemsCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +81 -16
- package/dist-types/ts3.4/models/models_0.d.ts +40 -0
- package/package.json +4 -2
package/dist-cjs/index.js
CHANGED
|
@@ -419,7 +419,8 @@ var AuditEventFieldValueUnion;
|
|
|
419
419
|
})(AuditEventFieldValueUnion || (AuditEventFieldValueUnion = {}));
|
|
420
420
|
var RelatedItemType = {
|
|
421
421
|
COMMENT: "Comment",
|
|
422
|
-
CONTACT: "Contact"
|
|
422
|
+
CONTACT: "Contact",
|
|
423
|
+
FILE: "File"
|
|
423
424
|
};
|
|
424
425
|
var AuditEventType = {
|
|
425
426
|
CASE_CREATED: "Case.Created",
|
|
@@ -436,6 +437,8 @@ var RelatedItemInputContent;
|
|
|
436
437
|
return visitor.contact(value.contact);
|
|
437
438
|
if (value.comment !== void 0)
|
|
438
439
|
return visitor.comment(value.comment);
|
|
440
|
+
if (value.file !== void 0)
|
|
441
|
+
return visitor.file(value.file);
|
|
439
442
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
440
443
|
}, "visit");
|
|
441
444
|
})(RelatedItemInputContent || (RelatedItemInputContent = {}));
|
|
@@ -463,6 +466,8 @@ var RelatedItemTypeFilter;
|
|
|
463
466
|
return visitor.contact(value.contact);
|
|
464
467
|
if (value.comment !== void 0)
|
|
465
468
|
return visitor.comment(value.comment);
|
|
469
|
+
if (value.file !== void 0)
|
|
470
|
+
return visitor.file(value.file);
|
|
466
471
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
467
472
|
}, "visit");
|
|
468
473
|
})(RelatedItemTypeFilter || (RelatedItemTypeFilter = {}));
|
|
@@ -473,6 +478,8 @@ var RelatedItemContent;
|
|
|
473
478
|
return visitor.contact(value.contact);
|
|
474
479
|
if (value.comment !== void 0)
|
|
475
480
|
return visitor.comment(value.comment);
|
|
481
|
+
if (value.file !== void 0)
|
|
482
|
+
return visitor.file(value.file);
|
|
476
483
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
477
484
|
}, "visit");
|
|
478
485
|
})(RelatedItemContent || (RelatedItemContent = {}));
|
|
@@ -1850,6 +1857,11 @@ var de_RelatedItemContent = /* @__PURE__ */ __name((output, context) => {
|
|
|
1850
1857
|
contact: de_ContactContent(output.contact, context)
|
|
1851
1858
|
};
|
|
1852
1859
|
}
|
|
1860
|
+
if (output.file != null) {
|
|
1861
|
+
return {
|
|
1862
|
+
file: (0, import_smithy_client._json)(output.file)
|
|
1863
|
+
};
|
|
1864
|
+
}
|
|
1853
1865
|
return { $unknown: Object.entries(output)[0] };
|
|
1854
1866
|
}, "de_RelatedItemContent");
|
|
1855
1867
|
var de_SearchCasesResponseItem = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -119,6 +119,7 @@ export var AuditEventFieldValueUnion;
|
|
|
119
119
|
export const RelatedItemType = {
|
|
120
120
|
COMMENT: "Comment",
|
|
121
121
|
CONTACT: "Contact",
|
|
122
|
+
FILE: "File",
|
|
122
123
|
};
|
|
123
124
|
export const AuditEventType = {
|
|
124
125
|
CASE_CREATED: "Case.Created",
|
|
@@ -135,6 +136,8 @@ export var RelatedItemInputContent;
|
|
|
135
136
|
return visitor.contact(value.contact);
|
|
136
137
|
if (value.comment !== undefined)
|
|
137
138
|
return visitor.comment(value.comment);
|
|
139
|
+
if (value.file !== undefined)
|
|
140
|
+
return visitor.file(value.file);
|
|
138
141
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
139
142
|
};
|
|
140
143
|
})(RelatedItemInputContent || (RelatedItemInputContent = {}));
|
|
@@ -157,6 +160,8 @@ export var RelatedItemTypeFilter;
|
|
|
157
160
|
return visitor.contact(value.contact);
|
|
158
161
|
if (value.comment !== undefined)
|
|
159
162
|
return visitor.comment(value.comment);
|
|
163
|
+
if (value.file !== undefined)
|
|
164
|
+
return visitor.file(value.file);
|
|
160
165
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
161
166
|
};
|
|
162
167
|
})(RelatedItemTypeFilter || (RelatedItemTypeFilter = {}));
|
|
@@ -167,6 +172,8 @@ export var RelatedItemContent;
|
|
|
167
172
|
return visitor.contact(value.contact);
|
|
168
173
|
if (value.comment !== undefined)
|
|
169
174
|
return visitor.comment(value.comment);
|
|
175
|
+
if (value.file !== undefined)
|
|
176
|
+
return visitor.file(value.file);
|
|
170
177
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
171
178
|
};
|
|
172
179
|
})(RelatedItemContent || (RelatedItemContent = {}));
|
|
@@ -1272,6 +1272,11 @@ const de_RelatedItemContent = (output, context) => {
|
|
|
1272
1272
|
contact: de_ContactContent(output.contact, context),
|
|
1273
1273
|
};
|
|
1274
1274
|
}
|
|
1275
|
+
if (output.file != null) {
|
|
1276
|
+
return {
|
|
1277
|
+
file: _json(output.file),
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1275
1280
|
return { $unknown: Object.entries(output)[0] };
|
|
1276
1281
|
};
|
|
1277
1282
|
const de_SearchCasesResponseItem = (output, context) => {
|
|
@@ -62,6 +62,9 @@ declare const CreateRelatedItemCommand_base: {
|
|
|
62
62
|
* body: "STRING_VALUE", // required
|
|
63
63
|
* contentType: "STRING_VALUE", // required
|
|
64
64
|
* },
|
|
65
|
+
* file: { // FileContent
|
|
66
|
+
* fileArn: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
65
68
|
* },
|
|
66
69
|
* performedBy: { // UserUnion Union: only one key present
|
|
67
70
|
* userArn: "STRING_VALUE",
|
|
@@ -51,6 +51,9 @@ declare const SearchRelatedItemsCommand_base: {
|
|
|
51
51
|
* contactArn: "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
53
|
* comment: {},
|
|
54
|
+
* file: { // FileFilter
|
|
55
|
+
* fileArn: "STRING_VALUE",
|
|
56
|
+
* },
|
|
54
57
|
* },
|
|
55
58
|
* ],
|
|
56
59
|
* };
|
|
@@ -73,6 +76,9 @@ declare const SearchRelatedItemsCommand_base: {
|
|
|
73
76
|
* // body: "STRING_VALUE", // required
|
|
74
77
|
* // contentType: "STRING_VALUE", // required
|
|
75
78
|
* // },
|
|
79
|
+
* // file: { // FileContent
|
|
80
|
+
* // fileArn: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
76
82
|
* // },
|
|
77
83
|
* // tags: { // Tags
|
|
78
84
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -519,6 +519,7 @@ export interface AuditEventPerformedBy {
|
|
|
519
519
|
export declare const RelatedItemType: {
|
|
520
520
|
readonly COMMENT: "Comment";
|
|
521
521
|
readonly CONTACT: "Contact";
|
|
522
|
+
readonly FILE: "File";
|
|
522
523
|
};
|
|
523
524
|
/**
|
|
524
525
|
* @public
|
|
@@ -684,11 +685,22 @@ export interface Contact {
|
|
|
684
685
|
*/
|
|
685
686
|
contactArn: string | undefined;
|
|
686
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* <p>An object that represents a content of an Amazon Connect file object.</p>
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
export interface FileContent {
|
|
693
|
+
/**
|
|
694
|
+
* <p>The Amazon Resource Name (ARN) of a File in Amazon Connect.</p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
fileArn: string | undefined;
|
|
698
|
+
}
|
|
687
699
|
/**
|
|
688
700
|
* <p>Represents the content of a related item to be created.</p>
|
|
689
701
|
* @public
|
|
690
702
|
*/
|
|
691
|
-
export type RelatedItemInputContent = RelatedItemInputContent.CommentMember | RelatedItemInputContent.ContactMember | RelatedItemInputContent.$UnknownMember;
|
|
703
|
+
export type RelatedItemInputContent = RelatedItemInputContent.CommentMember | RelatedItemInputContent.ContactMember | RelatedItemInputContent.FileMember | RelatedItemInputContent.$UnknownMember;
|
|
692
704
|
/**
|
|
693
705
|
* @public
|
|
694
706
|
*/
|
|
@@ -700,6 +712,7 @@ export declare namespace RelatedItemInputContent {
|
|
|
700
712
|
interface ContactMember {
|
|
701
713
|
contact: Contact;
|
|
702
714
|
comment?: never;
|
|
715
|
+
file?: never;
|
|
703
716
|
$unknown?: never;
|
|
704
717
|
}
|
|
705
718
|
/**
|
|
@@ -709,6 +722,17 @@ export declare namespace RelatedItemInputContent {
|
|
|
709
722
|
interface CommentMember {
|
|
710
723
|
contact?: never;
|
|
711
724
|
comment: CommentContent;
|
|
725
|
+
file?: never;
|
|
726
|
+
$unknown?: never;
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* <p>A file of related items.</p>
|
|
730
|
+
* @public
|
|
731
|
+
*/
|
|
732
|
+
interface FileMember {
|
|
733
|
+
contact?: never;
|
|
734
|
+
comment?: never;
|
|
735
|
+
file: FileContent;
|
|
712
736
|
$unknown?: never;
|
|
713
737
|
}
|
|
714
738
|
/**
|
|
@@ -717,11 +741,13 @@ export declare namespace RelatedItemInputContent {
|
|
|
717
741
|
interface $UnknownMember {
|
|
718
742
|
contact?: never;
|
|
719
743
|
comment?: never;
|
|
744
|
+
file?: never;
|
|
720
745
|
$unknown: [string, any];
|
|
721
746
|
}
|
|
722
747
|
interface Visitor<T> {
|
|
723
748
|
contact: (value: Contact) => T;
|
|
724
749
|
comment: (value: CommentContent) => T;
|
|
750
|
+
file: (value: FileContent) => T;
|
|
725
751
|
_: (name: string, value: any) => T;
|
|
726
752
|
}
|
|
727
753
|
const visit: <T>(value: RelatedItemInputContent, visitor: Visitor<T>) => T;
|
|
@@ -806,11 +832,22 @@ export interface ContactFilter {
|
|
|
806
832
|
*/
|
|
807
833
|
contactArn?: string;
|
|
808
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* <p>A filter for related items of type <code>File</code>.</p>
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
export interface FileFilter {
|
|
840
|
+
/**
|
|
841
|
+
* <p>The Amazon Resource Name (ARN) of the file.</p>
|
|
842
|
+
* @public
|
|
843
|
+
*/
|
|
844
|
+
fileArn?: string;
|
|
845
|
+
}
|
|
809
846
|
/**
|
|
810
847
|
* <p>The list of types of related items and their parameters to use for filtering.</p>
|
|
811
848
|
* @public
|
|
812
849
|
*/
|
|
813
|
-
export type RelatedItemTypeFilter = RelatedItemTypeFilter.CommentMember | RelatedItemTypeFilter.ContactMember | RelatedItemTypeFilter.$UnknownMember;
|
|
850
|
+
export type RelatedItemTypeFilter = RelatedItemTypeFilter.CommentMember | RelatedItemTypeFilter.ContactMember | RelatedItemTypeFilter.FileMember | RelatedItemTypeFilter.$UnknownMember;
|
|
814
851
|
/**
|
|
815
852
|
* @public
|
|
816
853
|
*/
|
|
@@ -822,6 +859,7 @@ export declare namespace RelatedItemTypeFilter {
|
|
|
822
859
|
interface ContactMember {
|
|
823
860
|
contact: ContactFilter;
|
|
824
861
|
comment?: never;
|
|
862
|
+
file?: never;
|
|
825
863
|
$unknown?: never;
|
|
826
864
|
}
|
|
827
865
|
/**
|
|
@@ -831,6 +869,17 @@ export declare namespace RelatedItemTypeFilter {
|
|
|
831
869
|
interface CommentMember {
|
|
832
870
|
contact?: never;
|
|
833
871
|
comment: CommentFilter;
|
|
872
|
+
file?: never;
|
|
873
|
+
$unknown?: never;
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* <p>A filter for related items of this type of <code>File</code>.</p>
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
879
|
+
interface FileMember {
|
|
880
|
+
contact?: never;
|
|
881
|
+
comment?: never;
|
|
882
|
+
file: FileFilter;
|
|
834
883
|
$unknown?: never;
|
|
835
884
|
}
|
|
836
885
|
/**
|
|
@@ -839,11 +888,13 @@ export declare namespace RelatedItemTypeFilter {
|
|
|
839
888
|
interface $UnknownMember {
|
|
840
889
|
contact?: never;
|
|
841
890
|
comment?: never;
|
|
891
|
+
file?: never;
|
|
842
892
|
$unknown: [string, any];
|
|
843
893
|
}
|
|
844
894
|
interface Visitor<T> {
|
|
845
895
|
contact: (value: ContactFilter) => T;
|
|
846
896
|
comment: (value: CommentFilter) => T;
|
|
897
|
+
file: (value: FileFilter) => T;
|
|
847
898
|
_: (name: string, value: any) => T;
|
|
848
899
|
}
|
|
849
900
|
const visit: <T>(value: RelatedItemTypeFilter, visitor: Visitor<T>) => T;
|
|
@@ -905,7 +956,7 @@ export interface ContactContent {
|
|
|
905
956
|
* <p>Represents the content of a particular type of related item.</p>
|
|
906
957
|
* @public
|
|
907
958
|
*/
|
|
908
|
-
export type RelatedItemContent = RelatedItemContent.CommentMember | RelatedItemContent.ContactMember | RelatedItemContent.$UnknownMember;
|
|
959
|
+
export type RelatedItemContent = RelatedItemContent.CommentMember | RelatedItemContent.ContactMember | RelatedItemContent.FileMember | RelatedItemContent.$UnknownMember;
|
|
909
960
|
/**
|
|
910
961
|
* @public
|
|
911
962
|
*/
|
|
@@ -917,6 +968,7 @@ export declare namespace RelatedItemContent {
|
|
|
917
968
|
interface ContactMember {
|
|
918
969
|
contact: ContactContent;
|
|
919
970
|
comment?: never;
|
|
971
|
+
file?: never;
|
|
920
972
|
$unknown?: never;
|
|
921
973
|
}
|
|
922
974
|
/**
|
|
@@ -926,6 +978,17 @@ export declare namespace RelatedItemContent {
|
|
|
926
978
|
interface CommentMember {
|
|
927
979
|
contact?: never;
|
|
928
980
|
comment: CommentContent;
|
|
981
|
+
file?: never;
|
|
982
|
+
$unknown?: never;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* <p>Represents the content of a File to be returned to agents.</p>
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
interface FileMember {
|
|
989
|
+
contact?: never;
|
|
990
|
+
comment?: never;
|
|
991
|
+
file: FileContent;
|
|
929
992
|
$unknown?: never;
|
|
930
993
|
}
|
|
931
994
|
/**
|
|
@@ -934,11 +997,13 @@ export declare namespace RelatedItemContent {
|
|
|
934
997
|
interface $UnknownMember {
|
|
935
998
|
contact?: never;
|
|
936
999
|
comment?: never;
|
|
1000
|
+
file?: never;
|
|
937
1001
|
$unknown: [string, any];
|
|
938
1002
|
}
|
|
939
1003
|
interface Visitor<T> {
|
|
940
1004
|
contact: (value: ContactContent) => T;
|
|
941
1005
|
comment: (value: CommentContent) => T;
|
|
1006
|
+
file: (value: FileContent) => T;
|
|
942
1007
|
_: (name: string, value: any) => T;
|
|
943
1008
|
}
|
|
944
1009
|
const visit: <T>(value: RelatedItemContent, visitor: Visitor<T>) => T;
|
|
@@ -1566,17 +1631,17 @@ export interface GetFieldResponse {
|
|
|
1566
1631
|
*/
|
|
1567
1632
|
tags?: Record<string, string>;
|
|
1568
1633
|
/**
|
|
1569
|
-
* <p>
|
|
1634
|
+
* <p>Denotes whether or not the resource has been deleted.</p>
|
|
1570
1635
|
* @public
|
|
1571
1636
|
*/
|
|
1572
1637
|
deleted?: boolean;
|
|
1573
1638
|
/**
|
|
1574
|
-
* <p>
|
|
1639
|
+
* <p>Timestamp at which the resource was created.</p>
|
|
1575
1640
|
* @public
|
|
1576
1641
|
*/
|
|
1577
1642
|
createdTime?: Date;
|
|
1578
1643
|
/**
|
|
1579
|
-
* <p>
|
|
1644
|
+
* <p>Timestamp at which the resource was created or last modified.</p>
|
|
1580
1645
|
* @public
|
|
1581
1646
|
*/
|
|
1582
1647
|
lastModifiedTime?: Date;
|
|
@@ -1716,12 +1781,12 @@ export interface CreateFieldResponse {
|
|
|
1716
1781
|
*/
|
|
1717
1782
|
export interface DeleteFieldRequest {
|
|
1718
1783
|
/**
|
|
1719
|
-
* <p>The unique identifier of the Cases domain
|
|
1784
|
+
* <p>The unique identifier of the Cases domain.</p>
|
|
1720
1785
|
* @public
|
|
1721
1786
|
*/
|
|
1722
1787
|
domainId: string | undefined;
|
|
1723
1788
|
/**
|
|
1724
|
-
* <p>
|
|
1789
|
+
* <p>Unique identifier of the field.</p>
|
|
1725
1790
|
* @public
|
|
1726
1791
|
*/
|
|
1727
1792
|
fieldId: string | undefined;
|
|
@@ -2033,7 +2098,7 @@ export interface CreateLayoutResponse {
|
|
|
2033
2098
|
*/
|
|
2034
2099
|
export interface DeleteLayoutRequest {
|
|
2035
2100
|
/**
|
|
2036
|
-
* <p>The unique identifier of the Cases domain
|
|
2101
|
+
* <p>The unique identifier of the Cases domain.</p>
|
|
2037
2102
|
* @public
|
|
2038
2103
|
*/
|
|
2039
2104
|
domainId: string | undefined;
|
|
@@ -2094,17 +2159,17 @@ export interface GetLayoutResponse {
|
|
|
2094
2159
|
*/
|
|
2095
2160
|
tags?: Record<string, string>;
|
|
2096
2161
|
/**
|
|
2097
|
-
* <p>
|
|
2162
|
+
* <p>Denotes whether or not the resource has been deleted.</p>
|
|
2098
2163
|
* @public
|
|
2099
2164
|
*/
|
|
2100
2165
|
deleted?: boolean;
|
|
2101
2166
|
/**
|
|
2102
|
-
* <p>
|
|
2167
|
+
* <p>Timestamp at which the resource was created.</p>
|
|
2103
2168
|
* @public
|
|
2104
2169
|
*/
|
|
2105
2170
|
createdTime?: Date;
|
|
2106
2171
|
/**
|
|
2107
|
-
* <p>
|
|
2172
|
+
* <p>Timestamp at which the resource was created or last modified.</p>
|
|
2108
2173
|
* @public
|
|
2109
2174
|
*/
|
|
2110
2175
|
lastModifiedTime?: Date;
|
|
@@ -2322,7 +2387,7 @@ export interface CreateTemplateResponse {
|
|
|
2322
2387
|
*/
|
|
2323
2388
|
export interface DeleteTemplateRequest {
|
|
2324
2389
|
/**
|
|
2325
|
-
* <p>The unique identifier of the Cases domain
|
|
2390
|
+
* <p>The unique identifier of the Cases domain.</p>
|
|
2326
2391
|
* @public
|
|
2327
2392
|
*/
|
|
2328
2393
|
domainId: string | undefined;
|
|
@@ -2398,17 +2463,17 @@ export interface GetTemplateResponse {
|
|
|
2398
2463
|
*/
|
|
2399
2464
|
status: TemplateStatus | undefined;
|
|
2400
2465
|
/**
|
|
2401
|
-
* <p>
|
|
2466
|
+
* <p>Denotes whether or not the resource has been deleted.</p>
|
|
2402
2467
|
* @public
|
|
2403
2468
|
*/
|
|
2404
2469
|
deleted?: boolean;
|
|
2405
2470
|
/**
|
|
2406
|
-
* <p>
|
|
2471
|
+
* <p>Timestamp at which the resource was created.</p>
|
|
2407
2472
|
* @public
|
|
2408
2473
|
*/
|
|
2409
2474
|
createdTime?: Date;
|
|
2410
2475
|
/**
|
|
2411
|
-
* <p>
|
|
2476
|
+
* <p>Timestamp at which the resource was created or last modified.</p>
|
|
2412
2477
|
* @public
|
|
2413
2478
|
*/
|
|
2414
2479
|
lastModifiedTime?: Date;
|
|
@@ -242,6 +242,7 @@ export interface AuditEventPerformedBy {
|
|
|
242
242
|
export declare const RelatedItemType: {
|
|
243
243
|
readonly COMMENT: "Comment";
|
|
244
244
|
readonly CONTACT: "Contact";
|
|
245
|
+
readonly FILE: "File";
|
|
245
246
|
};
|
|
246
247
|
export type RelatedItemType =
|
|
247
248
|
(typeof RelatedItemType)[keyof typeof RelatedItemType];
|
|
@@ -290,29 +291,43 @@ export interface CommentContent {
|
|
|
290
291
|
export interface Contact {
|
|
291
292
|
contactArn: string | undefined;
|
|
292
293
|
}
|
|
294
|
+
export interface FileContent {
|
|
295
|
+
fileArn: string | undefined;
|
|
296
|
+
}
|
|
293
297
|
export type RelatedItemInputContent =
|
|
294
298
|
| RelatedItemInputContent.CommentMember
|
|
295
299
|
| RelatedItemInputContent.ContactMember
|
|
300
|
+
| RelatedItemInputContent.FileMember
|
|
296
301
|
| RelatedItemInputContent.$UnknownMember;
|
|
297
302
|
export declare namespace RelatedItemInputContent {
|
|
298
303
|
interface ContactMember {
|
|
299
304
|
contact: Contact;
|
|
300
305
|
comment?: never;
|
|
306
|
+
file?: never;
|
|
301
307
|
$unknown?: never;
|
|
302
308
|
}
|
|
303
309
|
interface CommentMember {
|
|
304
310
|
contact?: never;
|
|
305
311
|
comment: CommentContent;
|
|
312
|
+
file?: never;
|
|
313
|
+
$unknown?: never;
|
|
314
|
+
}
|
|
315
|
+
interface FileMember {
|
|
316
|
+
contact?: never;
|
|
317
|
+
comment?: never;
|
|
318
|
+
file: FileContent;
|
|
306
319
|
$unknown?: never;
|
|
307
320
|
}
|
|
308
321
|
interface $UnknownMember {
|
|
309
322
|
contact?: never;
|
|
310
323
|
comment?: never;
|
|
324
|
+
file?: never;
|
|
311
325
|
$unknown: [string, any];
|
|
312
326
|
}
|
|
313
327
|
interface Visitor<T> {
|
|
314
328
|
contact: (value: Contact) => T;
|
|
315
329
|
comment: (value: CommentContent) => T;
|
|
330
|
+
file: (value: FileContent) => T;
|
|
316
331
|
_: (name: string, value: any) => T;
|
|
317
332
|
}
|
|
318
333
|
const visit: <T>(value: RelatedItemInputContent, visitor: Visitor<T>) => T;
|
|
@@ -340,29 +355,43 @@ export interface ContactFilter {
|
|
|
340
355
|
channel?: string[];
|
|
341
356
|
contactArn?: string;
|
|
342
357
|
}
|
|
358
|
+
export interface FileFilter {
|
|
359
|
+
fileArn?: string;
|
|
360
|
+
}
|
|
343
361
|
export type RelatedItemTypeFilter =
|
|
344
362
|
| RelatedItemTypeFilter.CommentMember
|
|
345
363
|
| RelatedItemTypeFilter.ContactMember
|
|
364
|
+
| RelatedItemTypeFilter.FileMember
|
|
346
365
|
| RelatedItemTypeFilter.$UnknownMember;
|
|
347
366
|
export declare namespace RelatedItemTypeFilter {
|
|
348
367
|
interface ContactMember {
|
|
349
368
|
contact: ContactFilter;
|
|
350
369
|
comment?: never;
|
|
370
|
+
file?: never;
|
|
351
371
|
$unknown?: never;
|
|
352
372
|
}
|
|
353
373
|
interface CommentMember {
|
|
354
374
|
contact?: never;
|
|
355
375
|
comment: CommentFilter;
|
|
376
|
+
file?: never;
|
|
377
|
+
$unknown?: never;
|
|
378
|
+
}
|
|
379
|
+
interface FileMember {
|
|
380
|
+
contact?: never;
|
|
381
|
+
comment?: never;
|
|
382
|
+
file: FileFilter;
|
|
356
383
|
$unknown?: never;
|
|
357
384
|
}
|
|
358
385
|
interface $UnknownMember {
|
|
359
386
|
contact?: never;
|
|
360
387
|
comment?: never;
|
|
388
|
+
file?: never;
|
|
361
389
|
$unknown: [string, any];
|
|
362
390
|
}
|
|
363
391
|
interface Visitor<T> {
|
|
364
392
|
contact: (value: ContactFilter) => T;
|
|
365
393
|
comment: (value: CommentFilter) => T;
|
|
394
|
+
file: (value: FileFilter) => T;
|
|
366
395
|
_: (name: string, value: any) => T;
|
|
367
396
|
}
|
|
368
397
|
const visit: <T>(value: RelatedItemTypeFilter, visitor: Visitor<T>) => T;
|
|
@@ -382,26 +411,37 @@ export interface ContactContent {
|
|
|
382
411
|
export type RelatedItemContent =
|
|
383
412
|
| RelatedItemContent.CommentMember
|
|
384
413
|
| RelatedItemContent.ContactMember
|
|
414
|
+
| RelatedItemContent.FileMember
|
|
385
415
|
| RelatedItemContent.$UnknownMember;
|
|
386
416
|
export declare namespace RelatedItemContent {
|
|
387
417
|
interface ContactMember {
|
|
388
418
|
contact: ContactContent;
|
|
389
419
|
comment?: never;
|
|
420
|
+
file?: never;
|
|
390
421
|
$unknown?: never;
|
|
391
422
|
}
|
|
392
423
|
interface CommentMember {
|
|
393
424
|
contact?: never;
|
|
394
425
|
comment: CommentContent;
|
|
426
|
+
file?: never;
|
|
427
|
+
$unknown?: never;
|
|
428
|
+
}
|
|
429
|
+
interface FileMember {
|
|
430
|
+
contact?: never;
|
|
431
|
+
comment?: never;
|
|
432
|
+
file: FileContent;
|
|
395
433
|
$unknown?: never;
|
|
396
434
|
}
|
|
397
435
|
interface $UnknownMember {
|
|
398
436
|
contact?: never;
|
|
399
437
|
comment?: never;
|
|
438
|
+
file?: never;
|
|
400
439
|
$unknown: [string, any];
|
|
401
440
|
}
|
|
402
441
|
interface Visitor<T> {
|
|
403
442
|
contact: (value: ContactContent) => T;
|
|
404
443
|
comment: (value: CommentContent) => T;
|
|
444
|
+
file: (value: FileContent) => T;
|
|
405
445
|
_: (name: string, value: any) => T;
|
|
406
446
|
}
|
|
407
447
|
const visit: <T>(value: RelatedItemContent, visitor: Visitor<T>) => T;
|
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.
|
|
4
|
+
"version": "3.569.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,8 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.569.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.569.0",
|
|
23
25
|
"@aws-sdk/core": "3.567.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.569.0",
|
|
25
27
|
"@aws-sdk/middleware-host-header": "3.567.0",
|
|
26
28
|
"@aws-sdk/middleware-logger": "3.568.0",
|
|
27
29
|
"@aws-sdk/middleware-recursion-detection": "3.567.0",
|