@aws-sdk/client-connectcases 3.936.0 → 3.939.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 CHANGED
@@ -2610,6 +2610,67 @@ const paginateSearchCases = core.createPaginator(ConnectCasesClient, SearchCases
2610
2610
 
2611
2611
  const paginateSearchRelatedItems = core.createPaginator(ConnectCasesClient, SearchRelatedItemsCommand, "nextToken", "nextToken", "maxResults");
2612
2612
 
2613
+ const RelatedItemType = {
2614
+ COMMENT: "Comment",
2615
+ CONNECT_CASE: "ConnectCase",
2616
+ CONTACT: "Contact",
2617
+ CUSTOM: "Custom",
2618
+ FILE: "File",
2619
+ SLA: "Sla",
2620
+ };
2621
+ const AuditEventType = {
2622
+ CASE_CREATED: "Case.Created",
2623
+ CASE_UPDATED: "Case.Updated",
2624
+ RELATED_ITEM_CREATED: "RelatedItem.Created",
2625
+ };
2626
+ const CommentBodyTextType = {
2627
+ PLAINTEXT: "Text/Plain",
2628
+ };
2629
+ const SlaType = {
2630
+ CASE_FIELD: "CaseField",
2631
+ };
2632
+ const SlaStatus = {
2633
+ ACTIVE: "Active",
2634
+ MET: "Met",
2635
+ NOT_MET: "NotMet",
2636
+ OVERDUE: "Overdue",
2637
+ };
2638
+ const Order = {
2639
+ ASCENDING: "Asc",
2640
+ DESCENDING: "Desc",
2641
+ };
2642
+ const RuleType = {
2643
+ FIELD_OPTIONS: "FieldOptions",
2644
+ HIDDEN: "Hidden",
2645
+ REQUIRED: "Required",
2646
+ };
2647
+ const DomainStatus = {
2648
+ ACTIVE: "Active",
2649
+ CREATION_FAILED: "CreationFailed",
2650
+ CREATION_IN_PROGRESS: "CreationInProgress",
2651
+ };
2652
+ const SearchAllRelatedItemsSortProperty = {
2653
+ ASSOCIATION_TIME: "AssociationTime",
2654
+ CASE_ID: "CaseId",
2655
+ };
2656
+ const FieldNamespace = {
2657
+ CUSTOM: "Custom",
2658
+ SYSTEM: "System",
2659
+ };
2660
+ const FieldType = {
2661
+ BOOLEAN: "Boolean",
2662
+ DATE_TIME: "DateTime",
2663
+ NUMBER: "Number",
2664
+ SINGLE_SELECT: "SingleSelect",
2665
+ TEXT: "Text",
2666
+ URL: "Url",
2667
+ USER: "User",
2668
+ };
2669
+ const TemplateStatus = {
2670
+ ACTIVE: "Active",
2671
+ INACTIVE: "Inactive",
2672
+ };
2673
+
2613
2674
  Object.defineProperty(exports, "$Command", {
2614
2675
  enumerable: true,
2615
2676
  get: function () { return smithyClient.Command; }
@@ -2619,9 +2680,11 @@ Object.defineProperty(exports, "__Client", {
2619
2680
  get: function () { return smithyClient.Client; }
2620
2681
  });
2621
2682
  exports.AccessDeniedException = AccessDeniedException$1;
2683
+ exports.AuditEventType = AuditEventType;
2622
2684
  exports.BatchGetCaseRuleCommand = BatchGetCaseRuleCommand;
2623
2685
  exports.BatchGetFieldCommand = BatchGetFieldCommand;
2624
2686
  exports.BatchPutFieldOptionsCommand = BatchPutFieldOptionsCommand;
2687
+ exports.CommentBodyTextType = CommentBodyTextType;
2625
2688
  exports.ConflictException = ConflictException$1;
2626
2689
  exports.ConnectCases = ConnectCases;
2627
2690
  exports.ConnectCasesClient = ConnectCasesClient;
@@ -2640,6 +2703,9 @@ exports.DeleteFieldCommand = DeleteFieldCommand;
2640
2703
  exports.DeleteLayoutCommand = DeleteLayoutCommand;
2641
2704
  exports.DeleteRelatedItemCommand = DeleteRelatedItemCommand;
2642
2705
  exports.DeleteTemplateCommand = DeleteTemplateCommand;
2706
+ exports.DomainStatus = DomainStatus;
2707
+ exports.FieldNamespace = FieldNamespace;
2708
+ exports.FieldType = FieldType;
2643
2709
  exports.GetCaseAuditEventsCommand = GetCaseAuditEventsCommand;
2644
2710
  exports.GetCaseCommand = GetCaseCommand;
2645
2711
  exports.GetCaseEventConfigurationCommand = GetCaseEventConfigurationCommand;
@@ -2655,13 +2721,20 @@ exports.ListFieldsCommand = ListFieldsCommand;
2655
2721
  exports.ListLayoutsCommand = ListLayoutsCommand;
2656
2722
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2657
2723
  exports.ListTemplatesCommand = ListTemplatesCommand;
2724
+ exports.Order = Order;
2658
2725
  exports.PutCaseEventConfigurationCommand = PutCaseEventConfigurationCommand;
2726
+ exports.RelatedItemType = RelatedItemType;
2659
2727
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2728
+ exports.RuleType = RuleType;
2660
2729
  exports.SearchAllRelatedItemsCommand = SearchAllRelatedItemsCommand;
2730
+ exports.SearchAllRelatedItemsSortProperty = SearchAllRelatedItemsSortProperty;
2661
2731
  exports.SearchCasesCommand = SearchCasesCommand;
2662
2732
  exports.SearchRelatedItemsCommand = SearchRelatedItemsCommand;
2663
2733
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2734
+ exports.SlaStatus = SlaStatus;
2735
+ exports.SlaType = SlaType;
2664
2736
  exports.TagResourceCommand = TagResourceCommand;
2737
+ exports.TemplateStatus = TemplateStatus;
2665
2738
  exports.ThrottlingException = ThrottlingException$1;
2666
2739
  exports.UntagResourceCommand = UntagResourceCommand;
2667
2740
  exports.UpdateCaseCommand = UpdateCaseCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ConnectCasesClient";
2
2
  export * from "./ConnectCases";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException";
@@ -0,0 +1,60 @@
1
+ export const RelatedItemType = {
2
+ COMMENT: "Comment",
3
+ CONNECT_CASE: "ConnectCase",
4
+ CONTACT: "Contact",
5
+ CUSTOM: "Custom",
6
+ FILE: "File",
7
+ SLA: "Sla",
8
+ };
9
+ export const AuditEventType = {
10
+ CASE_CREATED: "Case.Created",
11
+ CASE_UPDATED: "Case.Updated",
12
+ RELATED_ITEM_CREATED: "RelatedItem.Created",
13
+ };
14
+ export const CommentBodyTextType = {
15
+ PLAINTEXT: "Text/Plain",
16
+ };
17
+ export const SlaType = {
18
+ CASE_FIELD: "CaseField",
19
+ };
20
+ export const SlaStatus = {
21
+ ACTIVE: "Active",
22
+ MET: "Met",
23
+ NOT_MET: "NotMet",
24
+ OVERDUE: "Overdue",
25
+ };
26
+ export const Order = {
27
+ ASCENDING: "Asc",
28
+ DESCENDING: "Desc",
29
+ };
30
+ export const RuleType = {
31
+ FIELD_OPTIONS: "FieldOptions",
32
+ HIDDEN: "Hidden",
33
+ REQUIRED: "Required",
34
+ };
35
+ export const DomainStatus = {
36
+ ACTIVE: "Active",
37
+ CREATION_FAILED: "CreationFailed",
38
+ CREATION_IN_PROGRESS: "CreationInProgress",
39
+ };
40
+ export const SearchAllRelatedItemsSortProperty = {
41
+ ASSOCIATION_TIME: "AssociationTime",
42
+ CASE_ID: "CaseId",
43
+ };
44
+ export const FieldNamespace = {
45
+ CUSTOM: "Custom",
46
+ SYSTEM: "System",
47
+ };
48
+ export const FieldType = {
49
+ BOOLEAN: "Boolean",
50
+ DATE_TIME: "DateTime",
51
+ NUMBER: "Number",
52
+ SINGLE_SELECT: "SingleSelect",
53
+ TEXT: "Text",
54
+ URL: "Url",
55
+ USER: "User",
56
+ };
57
+ export const TemplateStatus = {
58
+ ACTIVE: "Active",
59
+ INACTIVE: "Inactive",
60
+ };
@@ -1,60 +1 @@
1
- export const RelatedItemType = {
2
- COMMENT: "Comment",
3
- CONNECT_CASE: "ConnectCase",
4
- CONTACT: "Contact",
5
- CUSTOM: "Custom",
6
- FILE: "File",
7
- SLA: "Sla",
8
- };
9
- export const AuditEventType = {
10
- CASE_CREATED: "Case.Created",
11
- CASE_UPDATED: "Case.Updated",
12
- RELATED_ITEM_CREATED: "RelatedItem.Created",
13
- };
14
- export const CommentBodyTextType = {
15
- PLAINTEXT: "Text/Plain",
16
- };
17
- export const SlaType = {
18
- CASE_FIELD: "CaseField",
19
- };
20
- export const SlaStatus = {
21
- ACTIVE: "Active",
22
- MET: "Met",
23
- NOT_MET: "NotMet",
24
- OVERDUE: "Overdue",
25
- };
26
- export const Order = {
27
- ASCENDING: "Asc",
28
- DESCENDING: "Desc",
29
- };
30
- export const RuleType = {
31
- FIELD_OPTIONS: "FieldOptions",
32
- HIDDEN: "Hidden",
33
- REQUIRED: "Required",
34
- };
35
- export const DomainStatus = {
36
- ACTIVE: "Active",
37
- CREATION_FAILED: "CreationFailed",
38
- CREATION_IN_PROGRESS: "CreationInProgress",
39
- };
40
- export const SearchAllRelatedItemsSortProperty = {
41
- ASSOCIATION_TIME: "AssociationTime",
42
- CASE_ID: "CaseId",
43
- };
44
- export const FieldNamespace = {
45
- CUSTOM: "Custom",
46
- SYSTEM: "System",
47
- };
48
- export const FieldType = {
49
- BOOLEAN: "Boolean",
50
- DATE_TIME: "DateTime",
51
- NUMBER: "Number",
52
- SINGLE_SELECT: "SingleSelect",
53
- TEXT: "Text",
54
- URL: "Url",
55
- USER: "User",
56
- };
57
- export const TemplateStatus = {
58
- ACTIVE: "Active",
59
- INACTIVE: "Inactive",
60
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ConnectCasesExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException";
@@ -0,0 +1,156 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const RelatedItemType: {
6
+ readonly COMMENT: "Comment";
7
+ readonly CONNECT_CASE: "ConnectCase";
8
+ readonly CONTACT: "Contact";
9
+ readonly CUSTOM: "Custom";
10
+ readonly FILE: "File";
11
+ readonly SLA: "Sla";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type RelatedItemType = (typeof RelatedItemType)[keyof typeof RelatedItemType];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const AuditEventType: {
22
+ readonly CASE_CREATED: "Case.Created";
23
+ readonly CASE_UPDATED: "Case.Updated";
24
+ readonly RELATED_ITEM_CREATED: "RelatedItem.Created";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type AuditEventType = (typeof AuditEventType)[keyof typeof AuditEventType];
30
+ /**
31
+ * @public
32
+ * @enum
33
+ */
34
+ export declare const CommentBodyTextType: {
35
+ readonly PLAINTEXT: "Text/Plain";
36
+ };
37
+ /**
38
+ * @public
39
+ */
40
+ export type CommentBodyTextType = (typeof CommentBodyTextType)[keyof typeof CommentBodyTextType];
41
+ /**
42
+ * @public
43
+ * @enum
44
+ */
45
+ export declare const SlaType: {
46
+ readonly CASE_FIELD: "CaseField";
47
+ };
48
+ /**
49
+ * @public
50
+ */
51
+ export type SlaType = (typeof SlaType)[keyof typeof SlaType];
52
+ /**
53
+ * @public
54
+ * @enum
55
+ */
56
+ export declare const SlaStatus: {
57
+ readonly ACTIVE: "Active";
58
+ readonly MET: "Met";
59
+ readonly NOT_MET: "NotMet";
60
+ readonly OVERDUE: "Overdue";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type SlaStatus = (typeof SlaStatus)[keyof typeof SlaStatus];
66
+ /**
67
+ * @public
68
+ * @enum
69
+ */
70
+ export declare const Order: {
71
+ readonly ASCENDING: "Asc";
72
+ readonly DESCENDING: "Desc";
73
+ };
74
+ /**
75
+ * @public
76
+ */
77
+ export type Order = (typeof Order)[keyof typeof Order];
78
+ /**
79
+ * @public
80
+ * @enum
81
+ */
82
+ export declare const RuleType: {
83
+ readonly FIELD_OPTIONS: "FieldOptions";
84
+ readonly HIDDEN: "Hidden";
85
+ readonly REQUIRED: "Required";
86
+ };
87
+ /**
88
+ * @public
89
+ */
90
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
91
+ /**
92
+ * @public
93
+ * @enum
94
+ */
95
+ export declare const DomainStatus: {
96
+ readonly ACTIVE: "Active";
97
+ readonly CREATION_FAILED: "CreationFailed";
98
+ readonly CREATION_IN_PROGRESS: "CreationInProgress";
99
+ };
100
+ /**
101
+ * @public
102
+ */
103
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
104
+ /**
105
+ * @public
106
+ * @enum
107
+ */
108
+ export declare const SearchAllRelatedItemsSortProperty: {
109
+ readonly ASSOCIATION_TIME: "AssociationTime";
110
+ readonly CASE_ID: "CaseId";
111
+ };
112
+ /**
113
+ * @public
114
+ */
115
+ export type SearchAllRelatedItemsSortProperty = (typeof SearchAllRelatedItemsSortProperty)[keyof typeof SearchAllRelatedItemsSortProperty];
116
+ /**
117
+ * @public
118
+ * @enum
119
+ */
120
+ export declare const FieldNamespace: {
121
+ readonly CUSTOM: "Custom";
122
+ readonly SYSTEM: "System";
123
+ };
124
+ /**
125
+ * @public
126
+ */
127
+ export type FieldNamespace = (typeof FieldNamespace)[keyof typeof FieldNamespace];
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const FieldType: {
133
+ readonly BOOLEAN: "Boolean";
134
+ readonly DATE_TIME: "DateTime";
135
+ readonly NUMBER: "Number";
136
+ readonly SINGLE_SELECT: "SingleSelect";
137
+ readonly TEXT: "Text";
138
+ readonly URL: "Url";
139
+ readonly USER: "User";
140
+ };
141
+ /**
142
+ * @public
143
+ */
144
+ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
145
+ /**
146
+ * @public
147
+ * @enum
148
+ */
149
+ export declare const TemplateStatus: {
150
+ readonly ACTIVE: "Active";
151
+ readonly INACTIVE: "Inactive";
152
+ };
153
+ /**
154
+ * @public
155
+ */
156
+ export type TemplateStatus = (typeof TemplateStatus)[keyof typeof TemplateStatus];
@@ -1,3 +1,4 @@
1
+ import { AuditEventType, CommentBodyTextType, DomainStatus, FieldNamespace, FieldType, Order, RelatedItemType, RuleType, SearchAllRelatedItemsSortProperty, SlaStatus, SlaType, TemplateStatus } from "./enums";
1
2
  /**
2
3
  * <p>An empty value. You cannot set <code>EmptyFieldValue</code> on a field that is required on a case template.</p> <p>This structure will never have any data members. It signifies an empty value on a case field.</p>
3
4
  * @public
@@ -439,35 +440,6 @@ export interface AuditEventPerformedBy {
439
440
  */
440
441
  iamPrincipalArn: string | undefined;
441
442
  }
442
- /**
443
- * @public
444
- * @enum
445
- */
446
- export declare const RelatedItemType: {
447
- readonly COMMENT: "Comment";
448
- readonly CONNECT_CASE: "ConnectCase";
449
- readonly CONTACT: "Contact";
450
- readonly CUSTOM: "Custom";
451
- readonly FILE: "File";
452
- readonly SLA: "Sla";
453
- };
454
- /**
455
- * @public
456
- */
457
- export type RelatedItemType = (typeof RelatedItemType)[keyof typeof RelatedItemType];
458
- /**
459
- * @public
460
- * @enum
461
- */
462
- export declare const AuditEventType: {
463
- readonly CASE_CREATED: "Case.Created";
464
- readonly CASE_UPDATED: "Case.Updated";
465
- readonly RELATED_ITEM_CREATED: "RelatedItem.Created";
466
- };
467
- /**
468
- * @public
469
- */
470
- export type AuditEventType = (typeof AuditEventType)[keyof typeof AuditEventType];
471
443
  /**
472
444
  * <p>Represents the content of a particular audit event.</p>
473
445
  * @public
@@ -575,17 +547,6 @@ export interface ListCasesForContactResponse {
575
547
  */
576
548
  nextToken?: string | undefined;
577
549
  }
578
- /**
579
- * @public
580
- * @enum
581
- */
582
- export declare const CommentBodyTextType: {
583
- readonly PLAINTEXT: "Text/Plain";
584
- };
585
- /**
586
- * @public
587
- */
588
- export type CommentBodyTextType = (typeof CommentBodyTextType)[keyof typeof CommentBodyTextType];
589
550
  /**
590
551
  * <p>Represents the content of a <code>Comment</code> to be returned to agents.</p>
591
552
  * @public
@@ -646,17 +607,6 @@ export interface FileContent {
646
607
  */
647
608
  fileArn: string | undefined;
648
609
  }
649
- /**
650
- * @public
651
- * @enum
652
- */
653
- export declare const SlaType: {
654
- readonly CASE_FIELD: "CaseField";
655
- };
656
- /**
657
- * @public
658
- */
659
- export type SlaType = (typeof SlaType)[keyof typeof SlaType];
660
610
  /**
661
611
  * <p>Represents the input configuration of an SLA being created.</p>
662
612
  * @public
@@ -1061,20 +1011,6 @@ export interface FileFilter {
1061
1011
  */
1062
1012
  fileArn?: string | undefined;
1063
1013
  }
1064
- /**
1065
- * @public
1066
- * @enum
1067
- */
1068
- export declare const SlaStatus: {
1069
- readonly ACTIVE: "Active";
1070
- readonly MET: "Met";
1071
- readonly NOT_MET: "NotMet";
1072
- readonly OVERDUE: "Overdue";
1073
- };
1074
- /**
1075
- * @public
1076
- */
1077
- export type SlaStatus = (typeof SlaStatus)[keyof typeof SlaStatus];
1078
1014
  /**
1079
1015
  * <p>A filter for related items of type <code>SLA</code>.</p>
1080
1016
  * @public
@@ -1350,18 +1286,6 @@ export interface SearchRelatedItemsResponse {
1350
1286
  */
1351
1287
  relatedItems: SearchRelatedItemsResponseItem[] | undefined;
1352
1288
  }
1353
- /**
1354
- * @public
1355
- * @enum
1356
- */
1357
- export declare const Order: {
1358
- readonly ASCENDING: "Asc";
1359
- readonly DESCENDING: "Desc";
1360
- };
1361
- /**
1362
- * @public
1363
- */
1364
- export type Order = (typeof Order)[keyof typeof Order];
1365
1289
  /**
1366
1290
  * <p>A structured set of sort terms.</p>
1367
1291
  * @public
@@ -1955,19 +1879,6 @@ export interface ListCaseRulesRequest {
1955
1879
  */
1956
1880
  nextToken?: string | undefined;
1957
1881
  }
1958
- /**
1959
- * @public
1960
- * @enum
1961
- */
1962
- export declare const RuleType: {
1963
- readonly FIELD_OPTIONS: "FieldOptions";
1964
- readonly HIDDEN: "Hidden";
1965
- readonly REQUIRED: "Required";
1966
- };
1967
- /**
1968
- * @public
1969
- */
1970
- export type RuleType = (typeof RuleType)[keyof typeof RuleType];
1971
1882
  /**
1972
1883
  * <p>Summary information of this case rule. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>. For more information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a case template</a>.</p>
1973
1884
  * @public
@@ -2059,19 +1970,6 @@ export interface CreateDomainRequest {
2059
1970
  */
2060
1971
  name: string | undefined;
2061
1972
  }
2062
- /**
2063
- * @public
2064
- * @enum
2065
- */
2066
- export declare const DomainStatus: {
2067
- readonly ACTIVE: "Active";
2068
- readonly CREATION_FAILED: "CreationFailed";
2069
- readonly CREATION_IN_PROGRESS: "CreationInProgress";
2070
- };
2071
- /**
2072
- * @public
2073
- */
2074
- export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
2075
1973
  /**
2076
1974
  * @public
2077
1975
  */
@@ -2297,18 +2195,6 @@ export interface PutCaseEventConfigurationRequest {
2297
2195
  */
2298
2196
  export interface PutCaseEventConfigurationResponse {
2299
2197
  }
2300
- /**
2301
- * @public
2302
- * @enum
2303
- */
2304
- export declare const SearchAllRelatedItemsSortProperty: {
2305
- readonly ASSOCIATION_TIME: "AssociationTime";
2306
- readonly CASE_ID: "CaseId";
2307
- };
2308
- /**
2309
- * @public
2310
- */
2311
- export type SearchAllRelatedItemsSortProperty = (typeof SearchAllRelatedItemsSortProperty)[keyof typeof SearchAllRelatedItemsSortProperty];
2312
2198
  /**
2313
2199
  * <p>The order in which all returned related items should be sorted.</p>
2314
2200
  * @public
@@ -2417,35 +2303,6 @@ export interface FieldError {
2417
2303
  */
2418
2304
  message?: string | undefined;
2419
2305
  }
2420
- /**
2421
- * @public
2422
- * @enum
2423
- */
2424
- export declare const FieldNamespace: {
2425
- readonly CUSTOM: "Custom";
2426
- readonly SYSTEM: "System";
2427
- };
2428
- /**
2429
- * @public
2430
- */
2431
- export type FieldNamespace = (typeof FieldNamespace)[keyof typeof FieldNamespace];
2432
- /**
2433
- * @public
2434
- * @enum
2435
- */
2436
- export declare const FieldType: {
2437
- readonly BOOLEAN: "Boolean";
2438
- readonly DATE_TIME: "DateTime";
2439
- readonly NUMBER: "Number";
2440
- readonly SINGLE_SELECT: "SingleSelect";
2441
- readonly TEXT: "Text";
2442
- readonly URL: "Url";
2443
- readonly USER: "User";
2444
- };
2445
- /**
2446
- * @public
2447
- */
2448
- export type FieldType = (typeof FieldType)[keyof typeof FieldType];
2449
2306
  /**
2450
2307
  * <p>Object to store detailed field information.</p>
2451
2308
  * @public
@@ -3184,18 +3041,6 @@ export interface TemplateRule {
3184
3041
  */
3185
3042
  fieldId?: string | undefined;
3186
3043
  }
3187
- /**
3188
- * @public
3189
- * @enum
3190
- */
3191
- export declare const TemplateStatus: {
3192
- readonly ACTIVE: "Active";
3193
- readonly INACTIVE: "Inactive";
3194
- };
3195
- /**
3196
- * @public
3197
- */
3198
- export type TemplateStatus = (typeof TemplateStatus)[keyof typeof TemplateStatus];
3199
3044
  /**
3200
3045
  * @public
3201
3046
  */
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ConnectCasesExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException";
@@ -0,0 +1,78 @@
1
+ export declare const RelatedItemType: {
2
+ readonly COMMENT: "Comment";
3
+ readonly CONNECT_CASE: "ConnectCase";
4
+ readonly CONTACT: "Contact";
5
+ readonly CUSTOM: "Custom";
6
+ readonly FILE: "File";
7
+ readonly SLA: "Sla";
8
+ };
9
+ export type RelatedItemType =
10
+ (typeof RelatedItemType)[keyof typeof RelatedItemType];
11
+ export declare const AuditEventType: {
12
+ readonly CASE_CREATED: "Case.Created";
13
+ readonly CASE_UPDATED: "Case.Updated";
14
+ readonly RELATED_ITEM_CREATED: "RelatedItem.Created";
15
+ };
16
+ export type AuditEventType =
17
+ (typeof AuditEventType)[keyof typeof AuditEventType];
18
+ export declare const CommentBodyTextType: {
19
+ readonly PLAINTEXT: "Text/Plain";
20
+ };
21
+ export type CommentBodyTextType =
22
+ (typeof CommentBodyTextType)[keyof typeof CommentBodyTextType];
23
+ export declare const SlaType: {
24
+ readonly CASE_FIELD: "CaseField";
25
+ };
26
+ export type SlaType = (typeof SlaType)[keyof typeof SlaType];
27
+ export declare const SlaStatus: {
28
+ readonly ACTIVE: "Active";
29
+ readonly MET: "Met";
30
+ readonly NOT_MET: "NotMet";
31
+ readonly OVERDUE: "Overdue";
32
+ };
33
+ export type SlaStatus = (typeof SlaStatus)[keyof typeof SlaStatus];
34
+ export declare const Order: {
35
+ readonly ASCENDING: "Asc";
36
+ readonly DESCENDING: "Desc";
37
+ };
38
+ export type Order = (typeof Order)[keyof typeof Order];
39
+ export declare const RuleType: {
40
+ readonly FIELD_OPTIONS: "FieldOptions";
41
+ readonly HIDDEN: "Hidden";
42
+ readonly REQUIRED: "Required";
43
+ };
44
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
45
+ export declare const DomainStatus: {
46
+ readonly ACTIVE: "Active";
47
+ readonly CREATION_FAILED: "CreationFailed";
48
+ readonly CREATION_IN_PROGRESS: "CreationInProgress";
49
+ };
50
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
51
+ export declare const SearchAllRelatedItemsSortProperty: {
52
+ readonly ASSOCIATION_TIME: "AssociationTime";
53
+ readonly CASE_ID: "CaseId";
54
+ };
55
+ export type SearchAllRelatedItemsSortProperty =
56
+ (typeof SearchAllRelatedItemsSortProperty)[keyof typeof SearchAllRelatedItemsSortProperty];
57
+ export declare const FieldNamespace: {
58
+ readonly CUSTOM: "Custom";
59
+ readonly SYSTEM: "System";
60
+ };
61
+ export type FieldNamespace =
62
+ (typeof FieldNamespace)[keyof typeof FieldNamespace];
63
+ export declare const FieldType: {
64
+ readonly BOOLEAN: "Boolean";
65
+ readonly DATE_TIME: "DateTime";
66
+ readonly NUMBER: "Number";
67
+ readonly SINGLE_SELECT: "SingleSelect";
68
+ readonly TEXT: "Text";
69
+ readonly URL: "Url";
70
+ readonly USER: "User";
71
+ };
72
+ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
73
+ export declare const TemplateStatus: {
74
+ readonly ACTIVE: "Active";
75
+ readonly INACTIVE: "Inactive";
76
+ };
77
+ export type TemplateStatus =
78
+ (typeof TemplateStatus)[keyof typeof TemplateStatus];
@@ -1,3 +1,17 @@
1
+ import {
2
+ AuditEventType,
3
+ CommentBodyTextType,
4
+ DomainStatus,
5
+ FieldNamespace,
6
+ FieldType,
7
+ Order,
8
+ RelatedItemType,
9
+ RuleType,
10
+ SearchAllRelatedItemsSortProperty,
11
+ SlaStatus,
12
+ SlaType,
13
+ TemplateStatus,
14
+ } from "./enums";
1
15
  export interface EmptyFieldValue {}
2
16
  export type FieldValueUnion =
3
17
  | FieldValueUnion.BooleanValueMember
@@ -205,23 +219,6 @@ export interface AuditEventPerformedBy {
205
219
  user?: UserUnion | undefined;
206
220
  iamPrincipalArn: string | undefined;
207
221
  }
208
- export declare const RelatedItemType: {
209
- readonly COMMENT: "Comment";
210
- readonly CONNECT_CASE: "ConnectCase";
211
- readonly CONTACT: "Contact";
212
- readonly CUSTOM: "Custom";
213
- readonly FILE: "File";
214
- readonly SLA: "Sla";
215
- };
216
- export type RelatedItemType =
217
- (typeof RelatedItemType)[keyof typeof RelatedItemType];
218
- export declare const AuditEventType: {
219
- readonly CASE_CREATED: "Case.Created";
220
- readonly CASE_UPDATED: "Case.Updated";
221
- readonly RELATED_ITEM_CREATED: "RelatedItem.Created";
222
- };
223
- export type AuditEventType =
224
- (typeof AuditEventType)[keyof typeof AuditEventType];
225
222
  export interface AuditEvent {
226
223
  eventId: string | undefined;
227
224
  type: AuditEventType | undefined;
@@ -248,11 +245,6 @@ export interface ListCasesForContactResponse {
248
245
  cases: CaseSummary[] | undefined;
249
246
  nextToken?: string | undefined;
250
247
  }
251
- export declare const CommentBodyTextType: {
252
- readonly PLAINTEXT: "Text/Plain";
253
- };
254
- export type CommentBodyTextType =
255
- (typeof CommentBodyTextType)[keyof typeof CommentBodyTextType];
256
248
  export interface CommentContent {
257
249
  body: string | undefined;
258
250
  contentType: CommentBodyTextType | undefined;
@@ -269,10 +261,6 @@ export interface CustomInputContent {
269
261
  export interface FileContent {
270
262
  fileArn: string | undefined;
271
263
  }
272
- export declare const SlaType: {
273
- readonly CASE_FIELD: "CaseField";
274
- };
275
- export type SlaType = (typeof SlaType)[keyof typeof SlaType];
276
264
  export interface SlaInputConfiguration {
277
265
  name: string | undefined;
278
266
  type: SlaType | undefined;
@@ -489,13 +477,6 @@ export declare namespace FieldFilter {
489
477
  export interface FileFilter {
490
478
  fileArn?: string | undefined;
491
479
  }
492
- export declare const SlaStatus: {
493
- readonly ACTIVE: "Active";
494
- readonly MET: "Met";
495
- readonly NOT_MET: "NotMet";
496
- readonly OVERDUE: "Overdue";
497
- };
498
- export type SlaStatus = (typeof SlaStatus)[keyof typeof SlaStatus];
499
480
  export interface SlaFilter {
500
481
  name?: string | undefined;
501
482
  status?: SlaStatus | undefined;
@@ -617,11 +598,6 @@ export interface SearchRelatedItemsResponse {
617
598
  nextToken?: string | undefined;
618
599
  relatedItems: SearchRelatedItemsResponseItem[] | undefined;
619
600
  }
620
- export declare const Order: {
621
- readonly ASCENDING: "Asc";
622
- readonly DESCENDING: "Desc";
623
- };
624
- export type Order = (typeof Order)[keyof typeof Order];
625
601
  export interface Sort {
626
602
  fieldId: string | undefined;
627
603
  sortOrder: Order | undefined;
@@ -842,12 +818,6 @@ export interface ListCaseRulesRequest {
842
818
  maxResults?: number | undefined;
843
819
  nextToken?: string | undefined;
844
820
  }
845
- export declare const RuleType: {
846
- readonly FIELD_OPTIONS: "FieldOptions";
847
- readonly HIDDEN: "Hidden";
848
- readonly REQUIRED: "Required";
849
- };
850
- export type RuleType = (typeof RuleType)[keyof typeof RuleType];
851
821
  export interface CaseRuleSummary {
852
822
  caseRuleId: string | undefined;
853
823
  name: string | undefined;
@@ -870,12 +840,6 @@ export interface UpdateCaseRuleResponse {}
870
840
  export interface CreateDomainRequest {
871
841
  name: string | undefined;
872
842
  }
873
- export declare const DomainStatus: {
874
- readonly ACTIVE: "Active";
875
- readonly CREATION_FAILED: "CreationFailed";
876
- readonly CREATION_IN_PROGRESS: "CreationInProgress";
877
- };
878
- export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
879
843
  export interface CreateDomainResponse {
880
844
  domainId: string | undefined;
881
845
  domainArn: string | undefined;
@@ -934,12 +898,6 @@ export interface PutCaseEventConfigurationRequest {
934
898
  eventBridge: EventBridgeConfiguration | undefined;
935
899
  }
936
900
  export interface PutCaseEventConfigurationResponse {}
937
- export declare const SearchAllRelatedItemsSortProperty: {
938
- readonly ASSOCIATION_TIME: "AssociationTime";
939
- readonly CASE_ID: "CaseId";
940
- };
941
- export type SearchAllRelatedItemsSortProperty =
942
- (typeof SearchAllRelatedItemsSortProperty)[keyof typeof SearchAllRelatedItemsSortProperty];
943
901
  export interface SearchAllRelatedItemsSort {
944
902
  sortProperty: SearchAllRelatedItemsSortProperty | undefined;
945
903
  sortOrder: Order | undefined;
@@ -966,22 +924,6 @@ export interface FieldError {
966
924
  errorCode: string | undefined;
967
925
  message?: string | undefined;
968
926
  }
969
- export declare const FieldNamespace: {
970
- readonly CUSTOM: "Custom";
971
- readonly SYSTEM: "System";
972
- };
973
- export type FieldNamespace =
974
- (typeof FieldNamespace)[keyof typeof FieldNamespace];
975
- export declare const FieldType: {
976
- readonly BOOLEAN: "Boolean";
977
- readonly DATE_TIME: "DateTime";
978
- readonly NUMBER: "Number";
979
- readonly SINGLE_SELECT: "SingleSelect";
980
- readonly TEXT: "Text";
981
- readonly URL: "Url";
982
- readonly USER: "User";
983
- };
984
- export type FieldType = (typeof FieldType)[keyof typeof FieldType];
985
927
  export interface GetFieldResponse {
986
928
  fieldId: string | undefined;
987
929
  name: string | undefined;
@@ -1180,12 +1122,6 @@ export interface TemplateRule {
1180
1122
  caseRuleId: string | undefined;
1181
1123
  fieldId?: string | undefined;
1182
1124
  }
1183
- export declare const TemplateStatus: {
1184
- readonly ACTIVE: "Active";
1185
- readonly INACTIVE: "Inactive";
1186
- };
1187
- export type TemplateStatus =
1188
- (typeof TemplateStatus)[keyof typeof TemplateStatus];
1189
1125
  export interface CreateTemplateRequest {
1190
1126
  domainId: string | undefined;
1191
1127
  name: string | undefined;
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.936.0",
4
+ "version": "3.939.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",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",