@aws-sdk/client-connectcases 3.300.0 → 3.303.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.
Files changed (35) hide show
  1. package/dist-cjs/models/models_0.js +31 -38
  2. package/dist-es/models/models_0.js +31 -38
  3. package/dist-types/commands/BatchGetFieldCommand.d.ts +3 -3
  4. package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateCaseCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateFieldCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateLayoutCommand.d.ts +10 -10
  9. package/dist-types/commands/CreateRelatedItemCommand.d.ts +4 -4
  10. package/dist-types/commands/CreateTemplateCommand.d.ts +4 -4
  11. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  12. package/dist-types/commands/GetCaseCommand.d.ts +3 -3
  13. package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/GetDomainCommand.d.ts +1 -1
  15. package/dist-types/commands/GetLayoutCommand.d.ts +1 -1
  16. package/dist-types/commands/GetTemplateCommand.d.ts +1 -1
  17. package/dist-types/commands/ListCasesForContactCommand.d.ts +1 -1
  18. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListFieldOptionsCommand.d.ts +2 -2
  20. package/dist-types/commands/ListFieldsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListLayoutsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTemplatesCommand.d.ts +2 -2
  24. package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +7 -7
  25. package/dist-types/commands/SearchCasesCommand.d.ts +29 -90
  26. package/dist-types/commands/SearchRelatedItemsCommand.d.ts +5 -5
  27. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  28. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UpdateCaseCommand.d.ts +4 -4
  30. package/dist-types/commands/UpdateFieldCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateLayoutCommand.d.ts +10 -10
  32. package/dist-types/commands/UpdateTemplateCommand.d.ts +4 -4
  33. package/dist-types/models/models_0.d.ts +66 -31
  34. package/dist-types/ts3.4/models/models_0.d.ts +42 -31
  35. package/package.json +34 -34
@@ -97,10 +97,9 @@ class ValidationException extends ConnectCasesServiceException_1.ConnectCasesSer
97
97
  }
98
98
  }
99
99
  exports.ValidationException = ValidationException;
100
- var CommentBodyTextType;
101
- (function (CommentBodyTextType) {
102
- CommentBodyTextType["PLAINTEXT"] = "Text/Plain";
103
- })(CommentBodyTextType = exports.CommentBodyTextType || (exports.CommentBodyTextType = {}));
100
+ exports.CommentBodyTextType = {
101
+ PLAINTEXT: "Text/Plain",
102
+ };
104
103
  var RelatedItemInputContent;
105
104
  (function (RelatedItemInputContent) {
106
105
  RelatedItemInputContent.visit = (value, visitor) => {
@@ -111,11 +110,10 @@ var RelatedItemInputContent;
111
110
  return visitor._(value.$unknown[0], value.$unknown[1]);
112
111
  };
113
112
  })(RelatedItemInputContent = exports.RelatedItemInputContent || (exports.RelatedItemInputContent = {}));
114
- var RelatedItemType;
115
- (function (RelatedItemType) {
116
- RelatedItemType["COMMENT"] = "Comment";
117
- RelatedItemType["CONTACT"] = "Contact";
118
- })(RelatedItemType = exports.RelatedItemType || (exports.RelatedItemType = {}));
113
+ exports.RelatedItemType = {
114
+ COMMENT: "Comment",
115
+ CONTACT: "Contact",
116
+ };
119
117
  class ServiceQuotaExceededException extends ConnectCasesServiceException_1.ConnectCasesServiceException {
120
118
  constructor(opts) {
121
119
  super({
@@ -167,30 +165,26 @@ var FieldFilter;
167
165
  return visitor._(value.$unknown[0], value.$unknown[1]);
168
166
  };
169
167
  })(FieldFilter = exports.FieldFilter || (exports.FieldFilter = {}));
170
- var Order;
171
- (function (Order) {
172
- Order["ASCENDING"] = "Asc";
173
- Order["DESCENDING"] = "Desc";
174
- })(Order = exports.Order || (exports.Order = {}));
175
- var DomainStatus;
176
- (function (DomainStatus) {
177
- DomainStatus["ACTIVE"] = "Active";
178
- DomainStatus["CREATION_FAILED"] = "CreationFailed";
179
- DomainStatus["CREATION_IN_PROGRESS"] = "CreationInProgress";
180
- })(DomainStatus = exports.DomainStatus || (exports.DomainStatus = {}));
181
- var FieldNamespace;
182
- (function (FieldNamespace) {
183
- FieldNamespace["CUSTOM"] = "Custom";
184
- FieldNamespace["SYSTEM"] = "System";
185
- })(FieldNamespace = exports.FieldNamespace || (exports.FieldNamespace = {}));
186
- var FieldType;
187
- (function (FieldType) {
188
- FieldType["BOOLEAN"] = "Boolean";
189
- FieldType["DATE_TIME"] = "DateTime";
190
- FieldType["NUMBER"] = "Number";
191
- FieldType["SINGLE_SELECT"] = "SingleSelect";
192
- FieldType["TEXT"] = "Text";
193
- })(FieldType = exports.FieldType || (exports.FieldType = {}));
168
+ exports.Order = {
169
+ ASCENDING: "Asc",
170
+ DESCENDING: "Desc",
171
+ };
172
+ exports.DomainStatus = {
173
+ ACTIVE: "Active",
174
+ CREATION_FAILED: "CreationFailed",
175
+ CREATION_IN_PROGRESS: "CreationInProgress",
176
+ };
177
+ exports.FieldNamespace = {
178
+ CUSTOM: "Custom",
179
+ SYSTEM: "System",
180
+ };
181
+ exports.FieldType = {
182
+ BOOLEAN: "Boolean",
183
+ DATE_TIME: "DateTime",
184
+ NUMBER: "Number",
185
+ SINGLE_SELECT: "SingleSelect",
186
+ TEXT: "Text",
187
+ };
194
188
  var Section;
195
189
  (function (Section) {
196
190
  Section.visit = (value, visitor) => {
@@ -207,11 +201,10 @@ var LayoutContent;
207
201
  return visitor._(value.$unknown[0], value.$unknown[1]);
208
202
  };
209
203
  })(LayoutContent = exports.LayoutContent || (exports.LayoutContent = {}));
210
- var TemplateStatus;
211
- (function (TemplateStatus) {
212
- TemplateStatus["ACTIVE"] = "Active";
213
- TemplateStatus["INACTIVE"] = "Inactive";
214
- })(TemplateStatus = exports.TemplateStatus || (exports.TemplateStatus = {}));
204
+ exports.TemplateStatus = {
205
+ ACTIVE: "Active",
206
+ INACTIVE: "Inactive",
207
+ };
215
208
  var CaseFilter;
216
209
  (function (CaseFilter) {
217
210
  CaseFilter.visit = (value, visitor) => {
@@ -88,10 +88,9 @@ export class ValidationException extends __BaseException {
88
88
  Object.setPrototypeOf(this, ValidationException.prototype);
89
89
  }
90
90
  }
91
- export var CommentBodyTextType;
92
- (function (CommentBodyTextType) {
93
- CommentBodyTextType["PLAINTEXT"] = "Text/Plain";
94
- })(CommentBodyTextType || (CommentBodyTextType = {}));
91
+ export const CommentBodyTextType = {
92
+ PLAINTEXT: "Text/Plain",
93
+ };
95
94
  export var RelatedItemInputContent;
96
95
  (function (RelatedItemInputContent) {
97
96
  RelatedItemInputContent.visit = (value, visitor) => {
@@ -102,11 +101,10 @@ export var RelatedItemInputContent;
102
101
  return visitor._(value.$unknown[0], value.$unknown[1]);
103
102
  };
104
103
  })(RelatedItemInputContent || (RelatedItemInputContent = {}));
105
- export var RelatedItemType;
106
- (function (RelatedItemType) {
107
- RelatedItemType["COMMENT"] = "Comment";
108
- RelatedItemType["CONTACT"] = "Contact";
109
- })(RelatedItemType || (RelatedItemType = {}));
104
+ export const RelatedItemType = {
105
+ COMMENT: "Comment",
106
+ CONTACT: "Contact",
107
+ };
110
108
  export class ServiceQuotaExceededException extends __BaseException {
111
109
  constructor(opts) {
112
110
  super({
@@ -157,30 +155,26 @@ export var FieldFilter;
157
155
  return visitor._(value.$unknown[0], value.$unknown[1]);
158
156
  };
159
157
  })(FieldFilter || (FieldFilter = {}));
160
- export var Order;
161
- (function (Order) {
162
- Order["ASCENDING"] = "Asc";
163
- Order["DESCENDING"] = "Desc";
164
- })(Order || (Order = {}));
165
- export var DomainStatus;
166
- (function (DomainStatus) {
167
- DomainStatus["ACTIVE"] = "Active";
168
- DomainStatus["CREATION_FAILED"] = "CreationFailed";
169
- DomainStatus["CREATION_IN_PROGRESS"] = "CreationInProgress";
170
- })(DomainStatus || (DomainStatus = {}));
171
- export var FieldNamespace;
172
- (function (FieldNamespace) {
173
- FieldNamespace["CUSTOM"] = "Custom";
174
- FieldNamespace["SYSTEM"] = "System";
175
- })(FieldNamespace || (FieldNamespace = {}));
176
- export var FieldType;
177
- (function (FieldType) {
178
- FieldType["BOOLEAN"] = "Boolean";
179
- FieldType["DATE_TIME"] = "DateTime";
180
- FieldType["NUMBER"] = "Number";
181
- FieldType["SINGLE_SELECT"] = "SingleSelect";
182
- FieldType["TEXT"] = "Text";
183
- })(FieldType || (FieldType = {}));
158
+ export const Order = {
159
+ ASCENDING: "Asc",
160
+ DESCENDING: "Desc",
161
+ };
162
+ export const DomainStatus = {
163
+ ACTIVE: "Active",
164
+ CREATION_FAILED: "CreationFailed",
165
+ CREATION_IN_PROGRESS: "CreationInProgress",
166
+ };
167
+ export const FieldNamespace = {
168
+ CUSTOM: "Custom",
169
+ SYSTEM: "System",
170
+ };
171
+ export const FieldType = {
172
+ BOOLEAN: "Boolean",
173
+ DATE_TIME: "DateTime",
174
+ NUMBER: "Number",
175
+ SINGLE_SELECT: "SingleSelect",
176
+ TEXT: "Text",
177
+ };
184
178
  export var Section;
185
179
  (function (Section) {
186
180
  Section.visit = (value, visitor) => {
@@ -197,11 +191,10 @@ export var LayoutContent;
197
191
  return visitor._(value.$unknown[0], value.$unknown[1]);
198
192
  };
199
193
  })(LayoutContent || (LayoutContent = {}));
200
- export var TemplateStatus;
201
- (function (TemplateStatus) {
202
- TemplateStatus["ACTIVE"] = "Active";
203
- TemplateStatus["INACTIVE"] = "Inactive";
204
- })(TemplateStatus || (TemplateStatus = {}));
194
+ export const TemplateStatus = {
195
+ ACTIVE: "Active",
196
+ INACTIVE: "Inactive",
197
+ };
205
198
  export var CaseFilter;
206
199
  (function (CaseFilter) {
207
200
  CaseFilter.visit = (value, visitor) => {
@@ -26,10 +26,10 @@ export interface BatchGetFieldCommandOutput extends BatchGetFieldResponse, __Met
26
26
  * import { ConnectCasesClient, BatchGetFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, BatchGetFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // BatchGetFieldRequest
30
30
  * domainId: "STRING_VALUE", // required
31
- * fields: [ // required
32
- * {
31
+ * fields: [ // BatchGetFieldIdentifierList // required
32
+ * { // FieldIdentifier
33
33
  * id: "STRING_VALUE", // required
34
34
  * },
35
35
  * ],
@@ -27,11 +27,11 @@ export interface BatchPutFieldOptionsCommandOutput extends BatchPutFieldOptionsR
27
27
  * import { ConnectCasesClient, BatchPutFieldOptionsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, BatchPutFieldOptionsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
- * const input = {
30
+ * const input = { // BatchPutFieldOptionsRequest
31
31
  * domainId: "STRING_VALUE", // required
32
32
  * fieldId: "STRING_VALUE", // required
33
- * options: [ // required
34
- * {
33
+ * options: [ // FieldOptionsList // required
34
+ * { // FieldOption
35
35
  * name: "STRING_VALUE", // required
36
36
  * value: "STRING_VALUE", // required
37
37
  * active: true || false, // required
@@ -46,13 +46,13 @@ export interface CreateCaseCommandOutput extends CreateCaseResponse, __MetadataB
46
46
  * import { ConnectCasesClient, CreateCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
47
47
  * // const { ConnectCasesClient, CreateCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
48
48
  * const client = new ConnectCasesClient(config);
49
- * const input = {
49
+ * const input = { // CreateCaseRequest
50
50
  * domainId: "STRING_VALUE", // required
51
51
  * templateId: "STRING_VALUE", // required
52
- * fields: [ // required
53
- * {
52
+ * fields: [ // FieldValueList // required
53
+ * { // FieldValue
54
54
  * id: "STRING_VALUE", // required
55
- * value: { // Union: only one key present
55
+ * value: { // FieldValueUnion Union: only one key present
56
56
  * stringValue: "STRING_VALUE",
57
57
  * doubleValue: Number("double"),
58
58
  * booleanValue: true || false,
@@ -35,7 +35,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
35
35
  * import { ConnectCasesClient, CreateDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
36
36
  * // const { ConnectCasesClient, CreateDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
37
37
  * const client = new ConnectCasesClient(config);
38
- * const input = {
38
+ * const input = { // CreateDomainRequest
39
39
  * name: "STRING_VALUE", // required
40
40
  * };
41
41
  * const command = new CreateDomainCommand(input);
@@ -27,7 +27,7 @@ export interface CreateFieldCommandOutput extends CreateFieldResponse, __Metadat
27
27
  * import { ConnectCasesClient, CreateFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, CreateFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
- * const input = {
30
+ * const input = { // CreateFieldRequest
31
31
  * domainId: "STRING_VALUE", // required
32
32
  * name: "STRING_VALUE", // required
33
33
  * type: "STRING_VALUE", // required
@@ -39,18 +39,18 @@ export interface CreateLayoutCommandOutput extends CreateLayoutResponse, __Metad
39
39
  * import { ConnectCasesClient, CreateLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
40
40
  * // const { ConnectCasesClient, CreateLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
41
41
  * const client = new ConnectCasesClient(config);
42
- * const input = {
42
+ * const input = { // CreateLayoutRequest
43
43
  * domainId: "STRING_VALUE", // required
44
44
  * name: "STRING_VALUE", // required
45
- * content: { // Union: only one key present
46
- * basic: {
47
- * topPanel: {
48
- * sections: [
49
- * { // Union: only one key present
50
- * fieldGroup: {
45
+ * content: { // LayoutContent Union: only one key present
46
+ * basic: { // BasicLayout
47
+ * topPanel: { // LayoutSections
48
+ * sections: [ // SectionsList
49
+ * { // Section Union: only one key present
50
+ * fieldGroup: { // FieldGroup
51
51
  * name: "STRING_VALUE",
52
- * fields: [ // required
53
- * {
52
+ * fields: [ // FieldList // required
53
+ * { // FieldItem
54
54
  * id: "STRING_VALUE", // required
55
55
  * },
56
56
  * ],
@@ -60,7 +60,7 @@ export interface CreateLayoutCommandOutput extends CreateLayoutResponse, __Metad
60
60
  * },
61
61
  * moreInfo: {
62
62
  * sections: [
63
- * { // Union: only one key present
63
+ * {// Union: only one key present
64
64
  * fieldGroup: {
65
65
  * name: "STRING_VALUE",
66
66
  * fields: [ // required
@@ -34,15 +34,15 @@ export interface CreateRelatedItemCommandOutput extends CreateRelatedItemRespons
34
34
  * import { ConnectCasesClient, CreateRelatedItemCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
35
35
  * // const { ConnectCasesClient, CreateRelatedItemCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
36
36
  * const client = new ConnectCasesClient(config);
37
- * const input = {
37
+ * const input = { // CreateRelatedItemRequest
38
38
  * domainId: "STRING_VALUE", // required
39
39
  * caseId: "STRING_VALUE", // required
40
40
  * type: "STRING_VALUE", // required
41
- * content: { // Union: only one key present
42
- * contact: {
41
+ * content: { // RelatedItemInputContent Union: only one key present
42
+ * contact: { // Contact
43
43
  * contactArn: "STRING_VALUE", // required
44
44
  * },
45
- * comment: {
45
+ * comment: { // CommentContent
46
46
  * body: "STRING_VALUE", // required
47
47
  * contentType: "STRING_VALUE", // required
48
48
  * },
@@ -31,15 +31,15 @@ export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __M
31
31
  * import { ConnectCasesClient, CreateTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
32
32
  * // const { ConnectCasesClient, CreateTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
33
33
  * const client = new ConnectCasesClient(config);
34
- * const input = {
34
+ * const input = { // CreateTemplateRequest
35
35
  * domainId: "STRING_VALUE", // required
36
36
  * name: "STRING_VALUE", // required
37
37
  * description: "STRING_VALUE",
38
- * layoutConfiguration: {
38
+ * layoutConfiguration: { // LayoutConfiguration
39
39
  * defaultLayout: "STRING_VALUE",
40
40
  * },
41
- * requiredFields: [
42
- * {
41
+ * requiredFields: [ // RequiredFieldList
42
+ * { // RequiredField
43
43
  * fieldId: "STRING_VALUE", // required
44
44
  * },
45
45
  * ],
@@ -26,7 +26,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
26
26
  * import { ConnectCasesClient, DeleteDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, DeleteDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // DeleteDomainRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteDomainCommand(input);
@@ -26,11 +26,11 @@ export interface GetCaseCommandOutput extends GetCaseResponse, __MetadataBearer
26
26
  * import { ConnectCasesClient, GetCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // GetCaseRequest
30
30
  * caseId: "STRING_VALUE", // required
31
31
  * domainId: "STRING_VALUE", // required
32
- * fields: [ // required
33
- * {
32
+ * fields: [ // FieldIdentifierList // required
33
+ * { // FieldIdentifier
34
34
  * id: "STRING_VALUE", // required
35
35
  * },
36
36
  * ],
@@ -26,7 +26,7 @@ export interface GetCaseEventConfigurationCommandOutput extends GetCaseEventConf
26
26
  * import { ConnectCasesClient, GetCaseEventConfigurationCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetCaseEventConfigurationCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // GetCaseEventConfigurationRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetCaseEventConfigurationCommand(input);
@@ -26,7 +26,7 @@ export interface GetDomainCommandOutput extends GetDomainResponse, __MetadataBea
26
26
  * import { ConnectCasesClient, GetDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // GetDomainRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new GetDomainCommand(input);
@@ -26,7 +26,7 @@ export interface GetLayoutCommandOutput extends GetLayoutResponse, __MetadataBea
26
26
  * import { ConnectCasesClient, GetLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // GetLayoutRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * layoutId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface GetTemplateCommandOutput extends GetTemplateResponse, __Metadat
26
26
  * import { ConnectCasesClient, GetTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, GetTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // GetTemplateRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * templateId: "STRING_VALUE", // required
32
32
  * };
@@ -26,7 +26,7 @@ export interface ListCasesForContactCommandOutput extends ListCasesForContactRes
26
26
  * import { ConnectCasesClient, ListCasesForContactCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListCasesForContactCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // ListCasesForContactRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * contactArn: "STRING_VALUE", // required
32
32
  * maxResults: Number("int"),
@@ -27,7 +27,7 @@ export interface ListDomainsCommandOutput extends ListDomainsResponse, __Metadat
27
27
  * import { ConnectCasesClient, ListDomainsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, ListDomainsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
- * const input = {
30
+ * const input = { // ListDomainsRequest
31
31
  * maxResults: Number("int"),
32
32
  * nextToken: "STRING_VALUE",
33
33
  * };
@@ -26,12 +26,12 @@ export interface ListFieldOptionsCommandOutput extends ListFieldOptionsResponse,
26
26
  * import { ConnectCasesClient, ListFieldOptionsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListFieldOptionsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // ListFieldOptionsRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * fieldId: "STRING_VALUE", // required
32
32
  * maxResults: Number("int"),
33
33
  * nextToken: "STRING_VALUE",
34
- * values: [
34
+ * values: [ // ValuesList
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * };
@@ -26,7 +26,7 @@ export interface ListFieldsCommandOutput extends ListFieldsResponse, __MetadataB
26
26
  * import { ConnectCasesClient, ListFieldsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListFieldsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // ListFieldsRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * maxResults: Number("int"),
32
32
  * nextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ export interface ListLayoutsCommandOutput extends ListLayoutsResponse, __Metadat
27
27
  * import { ConnectCasesClient, ListLayoutsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, ListLayoutsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
- * const input = {
30
+ * const input = { // ListLayoutsRequest
31
31
  * domainId: "STRING_VALUE", // required
32
32
  * maxResults: Number("int"),
33
33
  * nextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ConnectCasesClient, ListTagsForResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * arn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -27,11 +27,11 @@ export interface ListTemplatesCommandOutput extends ListTemplatesResponse, __Met
27
27
  * import { ConnectCasesClient, ListTemplatesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
28
28
  * // const { ConnectCasesClient, ListTemplatesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
29
29
  * const client = new ConnectCasesClient(config);
30
- * const input = {
30
+ * const input = { // ListTemplatesRequest
31
31
  * domainId: "STRING_VALUE", // required
32
32
  * maxResults: Number("int"),
33
33
  * nextToken: "STRING_VALUE",
34
- * status: [
34
+ * status: [ // TemplateStatusFilters
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * };
@@ -26,19 +26,19 @@ export interface PutCaseEventConfigurationCommandOutput extends PutCaseEventConf
26
26
  * import { ConnectCasesClient, PutCaseEventConfigurationCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, PutCaseEventConfigurationCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // PutCaseEventConfigurationRequest
30
30
  * domainId: "STRING_VALUE", // required
31
- * eventBridge: {
31
+ * eventBridge: { // EventBridgeConfiguration
32
32
  * enabled: true || false, // required
33
- * includedData: {
34
- * caseData: {
35
- * fields: [ // required
36
- * {
33
+ * includedData: { // EventIncludedData
34
+ * caseData: { // CaseEventIncludedData
35
+ * fields: [ // FieldIdentifierList // required
36
+ * { // FieldIdentifier
37
37
  * id: "STRING_VALUE", // required
38
38
  * },
39
39
  * ],
40
40
  * },
41
- * relatedItemData: {
41
+ * relatedItemData: { // RelatedItemEventIncludedData
42
42
  * includeContent: true || false, // required
43
43
  * },
44
44
  * },
@@ -32,16 +32,16 @@ export interface SearchCasesCommandOutput extends SearchCasesResponse, __Metadat
32
32
  * import { ConnectCasesClient, SearchCasesCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
33
33
  * // const { ConnectCasesClient, SearchCasesCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
34
34
  * const client = new ConnectCasesClient(config);
35
- * const input = {
35
+ * const input = { // SearchCasesRequest
36
36
  * domainId: "STRING_VALUE", // required
37
37
  * maxResults: Number("int"),
38
38
  * nextToken: "STRING_VALUE",
39
39
  * searchTerm: "STRING_VALUE",
40
- * filter: { // Union: only one key present
41
- * field: { // Union: only one key present
42
- * equalTo: {
40
+ * filter: { // CaseFilter Union: only one key present
41
+ * field: { // FieldFilter Union: only one key present
42
+ * equalTo: { // FieldValue
43
43
  * id: "STRING_VALUE", // required
44
- * value: { // Union: only one key present
44
+ * value: { // FieldValueUnion Union: only one key present
45
45
  * stringValue: "STRING_VALUE",
46
46
  * doubleValue: Number("double"),
47
47
  * booleanValue: true || false,
@@ -49,7 +49,7 @@ export interface SearchCasesCommandOutput extends SearchCasesResponse, __Metadat
49
49
  * },
50
50
  * contains: {
51
51
  * id: "STRING_VALUE", // required
52
- * value: { // Union: only one key present
52
+ * value: {// Union: only one key present
53
53
  * stringValue: "STRING_VALUE",
54
54
  * doubleValue: Number("double"),
55
55
  * booleanValue: true || false,
@@ -57,7 +57,7 @@ export interface SearchCasesCommandOutput extends SearchCasesResponse, __Metadat
57
57
  * },
58
58
  * greaterThan: {
59
59
  * id: "STRING_VALUE", // required
60
- * value: { // Union: only one key present
60
+ * value: {// Union: only one key present
61
61
  * stringValue: "STRING_VALUE",
62
62
  * doubleValue: Number("double"),
63
63
  * booleanValue: true || false,
@@ -65,7 +65,7 @@ export interface SearchCasesCommandOutput extends SearchCasesResponse, __Metadat
65
65
  * },
66
66
  * greaterThanOrEqualTo: {
67
67
  * id: "STRING_VALUE", // required
68
- * value: { // Union: only one key present
68
+ * value: {// Union: only one key present
69
69
  * stringValue: "STRING_VALUE",
70
70
  * doubleValue: Number("double"),
71
71
  * booleanValue: true || false,
@@ -73,101 +73,40 @@ export interface SearchCasesCommandOutput extends SearchCasesResponse, __Metadat
73
73
  * },
74
74
  * lessThan: {
75
75
  * id: "STRING_VALUE", // required
76
- * value: { // Union: only one key present
77
- * stringValue: "STRING_VALUE",
78
- * doubleValue: Number("double"),
79
- * booleanValue: true || false,
80
- * },
81
- * },
82
- * lessThanOrEqualTo: {
83
- * id: "STRING_VALUE", // required
84
- * value: { // Union: only one key present
76
+ * value: {// Union: only one key present
85
77
  * stringValue: "STRING_VALUE",
86
78
  * doubleValue: Number("double"),
87
79
  * booleanValue: true || false,
88
80
  * },
89
81
  * },
82
+ * lessThanOrEqualTo: "<FieldValue>",
90
83
  * },
91
- * not: { // Union: only one key present
92
- * field: { // Union: only one key present
93
- * equalTo: {
94
- * id: "STRING_VALUE", // required
95
- * value: { // Union: only one key present
96
- * stringValue: "STRING_VALUE",
97
- * doubleValue: Number("double"),
98
- * booleanValue: true || false,
99
- * },
100
- * },
101
- * contains: {
102
- * id: "STRING_VALUE", // required
103
- * value: { // Union: only one key present
104
- * stringValue: "STRING_VALUE",
105
- * doubleValue: Number("double"),
106
- * booleanValue: true || false,
107
- * },
108
- * },
109
- * greaterThan: {
110
- * id: "STRING_VALUE", // required
111
- * value: { // Union: only one key present
112
- * stringValue: "STRING_VALUE",
113
- * doubleValue: Number("double"),
114
- * booleanValue: true || false,
115
- * },
116
- * },
117
- * greaterThanOrEqualTo: {
118
- * id: "STRING_VALUE", // required
119
- * value: { // Union: only one key present
120
- * stringValue: "STRING_VALUE",
121
- * doubleValue: Number("double"),
122
- * booleanValue: true || false,
123
- * },
124
- * },
125
- * lessThan: {
126
- * id: "STRING_VALUE", // required
127
- * value: { // Union: only one key present
128
- * stringValue: "STRING_VALUE",
129
- * doubleValue: Number("double"),
130
- * booleanValue: true || false,
131
- * },
132
- * },
133
- * lessThanOrEqualTo: {
134
- * id: "STRING_VALUE", // required
135
- * value: { // Union: only one key present
136
- * stringValue: "STRING_VALUE",
137
- * doubleValue: Number("double"),
138
- * booleanValue: true || false,
139
- * },
140
- * },
141
- * },
142
- * not: { // Union: only one key present
143
- * field: "<CaseFilter>",
144
- * not: "<CaseFilter>",
145
- * andAll: [
146
- * { // Union: only one key present
147
- * field: "<CaseFilter>",
148
- * not: "<CaseFilter>",
149
- * andAll: [
150
- * { // Union: only one key present
151
- * field: "<CaseFilter>",
152
- * not: "<CaseFilter>",
153
- * andAll: "<CaseFilter>",
154
- * },
155
- * ],
156
- * },
157
- * ],
84
+ * not: {// Union: only one key present
85
+ * field: {// Union: only one key present
86
+ * equalTo: "<FieldValue>",
87
+ * contains: "<FieldValue>",
88
+ * greaterThan: "<FieldValue>",
89
+ * greaterThanOrEqualTo: "<FieldValue>",
90
+ * lessThan: "<FieldValue>",
91
+ * lessThanOrEqualTo: "<FieldValue>",
158
92
  * },
159
- * andAll: "<CaseFilter>",
93
+ * not: "<CaseFilter>",
94
+ * andAll: [ // CaseFilterList
95
+ * "<CaseFilter>",
96
+ * ],
160
97
  * },
161
- * andAll: "<CaseFilter>",
98
+ * andAll: [
99
+ * "<CaseFilter>",
100
+ * ],
162
101
  * },
163
- * sorts: [
164
- * {
102
+ * sorts: [ // SortList
103
+ * { // Sort
165
104
  * fieldId: "STRING_VALUE", // required
166
105
  * sortOrder: "STRING_VALUE", // required
167
106
  * },
168
107
  * ],
169
- * fields: [
170
- * {
108
+ * fields: [ // FieldIdentifierList
109
+ * { // FieldIdentifier
171
110
  * id: "STRING_VALUE", // required
172
111
  * },
173
112
  * ],
@@ -30,15 +30,15 @@ export interface SearchRelatedItemsCommandOutput extends SearchRelatedItemsRespo
30
30
  * import { ConnectCasesClient, SearchRelatedItemsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
31
31
  * // const { ConnectCasesClient, SearchRelatedItemsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
32
32
  * const client = new ConnectCasesClient(config);
33
- * const input = {
33
+ * const input = { // SearchRelatedItemsRequest
34
34
  * domainId: "STRING_VALUE", // required
35
35
  * caseId: "STRING_VALUE", // required
36
36
  * maxResults: Number("int"),
37
37
  * nextToken: "STRING_VALUE",
38
- * filters: [
39
- * { // Union: only one key present
40
- * contact: {
41
- * channel: [
38
+ * filters: [ // RelatedItemFilterList
39
+ * { // RelatedItemTypeFilter Union: only one key present
40
+ * contact: { // ContactFilter
41
+ * channel: [ // ChannelList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
44
  * contactArn: "STRING_VALUE",
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCasesClient, TagResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, TagResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * arn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // Tags // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ConnectCasesClient, UntagResourceCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, UntagResourceCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * arn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -29,13 +29,13 @@ export interface UpdateCaseCommandOutput extends UpdateCaseResponse, __MetadataB
29
29
  * import { ConnectCasesClient, UpdateCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
30
30
  * // const { ConnectCasesClient, UpdateCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
31
31
  * const client = new ConnectCasesClient(config);
32
- * const input = {
32
+ * const input = { // UpdateCaseRequest
33
33
  * domainId: "STRING_VALUE", // required
34
34
  * caseId: "STRING_VALUE", // required
35
- * fields: [ // required
36
- * {
35
+ * fields: [ // FieldValueList // required
36
+ * { // FieldValue
37
37
  * id: "STRING_VALUE", // required
38
- * value: { // Union: only one key present
38
+ * value: { // FieldValueUnion Union: only one key present
39
39
  * stringValue: "STRING_VALUE",
40
40
  * doubleValue: Number("double"),
41
41
  * booleanValue: true || false,
@@ -26,7 +26,7 @@ export interface UpdateFieldCommandOutput extends UpdateFieldResponse, __Metadat
26
26
  * import { ConnectCasesClient, UpdateFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
27
27
  * // const { ConnectCasesClient, UpdateFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
28
28
  * const client = new ConnectCasesClient(config);
29
- * const input = {
29
+ * const input = { // UpdateFieldRequest
30
30
  * domainId: "STRING_VALUE", // required
31
31
  * fieldId: "STRING_VALUE", // required
32
32
  * name: "STRING_VALUE",
@@ -34,19 +34,19 @@ export interface UpdateLayoutCommandOutput extends UpdateLayoutResponse, __Metad
34
34
  * import { ConnectCasesClient, UpdateLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
35
35
  * // const { ConnectCasesClient, UpdateLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
36
36
  * const client = new ConnectCasesClient(config);
37
- * const input = {
37
+ * const input = { // UpdateLayoutRequest
38
38
  * domainId: "STRING_VALUE", // required
39
39
  * layoutId: "STRING_VALUE", // required
40
40
  * name: "STRING_VALUE",
41
- * content: { // Union: only one key present
42
- * basic: {
43
- * topPanel: {
44
- * sections: [
45
- * { // Union: only one key present
46
- * fieldGroup: {
41
+ * content: { // LayoutContent Union: only one key present
42
+ * basic: { // BasicLayout
43
+ * topPanel: { // LayoutSections
44
+ * sections: [ // SectionsList
45
+ * { // Section Union: only one key present
46
+ * fieldGroup: { // FieldGroup
47
47
  * name: "STRING_VALUE",
48
- * fields: [ // required
49
- * {
48
+ * fields: [ // FieldList // required
49
+ * { // FieldItem
50
50
  * id: "STRING_VALUE", // required
51
51
  * },
52
52
  * ],
@@ -56,7 +56,7 @@ export interface UpdateLayoutCommandOutput extends UpdateLayoutResponse, __Metad
56
56
  * },
57
57
  * moreInfo: {
58
58
  * sections: [
59
- * { // Union: only one key present
59
+ * {// Union: only one key present
60
60
  * fieldGroup: {
61
61
  * name: "STRING_VALUE",
62
62
  * fields: [ // required
@@ -30,16 +30,16 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M
30
30
  * import { ConnectCasesClient, UpdateTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
31
31
  * // const { ConnectCasesClient, UpdateTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
32
32
  * const client = new ConnectCasesClient(config);
33
- * const input = {
33
+ * const input = { // UpdateTemplateRequest
34
34
  * domainId: "STRING_VALUE", // required
35
35
  * templateId: "STRING_VALUE", // required
36
36
  * name: "STRING_VALUE",
37
37
  * description: "STRING_VALUE",
38
- * layoutConfiguration: {
38
+ * layoutConfiguration: { // LayoutConfiguration
39
39
  * defaultLayout: "STRING_VALUE",
40
40
  * },
41
- * requiredFields: [
42
- * {
41
+ * requiredFields: [ // RequiredFieldList
42
+ * { // RequiredField
43
43
  * fieldId: "STRING_VALUE", // required
44
44
  * },
45
45
  * ],
@@ -297,10 +297,15 @@ export interface ListCasesForContactResponse {
297
297
  }
298
298
  /**
299
299
  * @public
300
+ * @enum
300
301
  */
301
- export declare enum CommentBodyTextType {
302
- PLAINTEXT = "Text/Plain"
303
- }
302
+ export declare const CommentBodyTextType: {
303
+ readonly PLAINTEXT: "Text/Plain";
304
+ };
305
+ /**
306
+ * @public
307
+ */
308
+ export type CommentBodyTextType = (typeof CommentBodyTextType)[keyof typeof CommentBodyTextType];
304
309
  /**
305
310
  * @public
306
311
  * <p>Represents the content of a <code>Comment</code> to be returned to agents.</p>
@@ -364,11 +369,16 @@ export declare namespace RelatedItemInputContent {
364
369
  }
365
370
  /**
366
371
  * @public
372
+ * @enum
367
373
  */
368
- export declare enum RelatedItemType {
369
- COMMENT = "Comment",
370
- CONTACT = "Contact"
371
- }
374
+ export declare const RelatedItemType: {
375
+ readonly COMMENT: "Comment";
376
+ readonly CONTACT: "Contact";
377
+ };
378
+ /**
379
+ * @public
380
+ */
381
+ export type RelatedItemType = (typeof RelatedItemType)[keyof typeof RelatedItemType];
372
382
  /**
373
383
  * @public
374
384
  */
@@ -697,11 +707,16 @@ export declare namespace FieldFilter {
697
707
  }
698
708
  /**
699
709
  * @public
710
+ * @enum
700
711
  */
701
- export declare enum Order {
702
- ASCENDING = "Asc",
703
- DESCENDING = "Desc"
704
- }
712
+ export declare const Order: {
713
+ readonly ASCENDING: "Asc";
714
+ readonly DESCENDING: "Desc";
715
+ };
716
+ /**
717
+ * @public
718
+ */
719
+ export type Order = (typeof Order)[keyof typeof Order];
705
720
  /**
706
721
  * @public
707
722
  * <p>A structured set of sort terms.</p>
@@ -787,12 +802,17 @@ export interface CreateDomainRequest {
787
802
  }
788
803
  /**
789
804
  * @public
805
+ * @enum
790
806
  */
791
- export declare enum DomainStatus {
792
- ACTIVE = "Active",
793
- CREATION_FAILED = "CreationFailed",
794
- CREATION_IN_PROGRESS = "CreationInProgress"
795
- }
807
+ export declare const DomainStatus: {
808
+ readonly ACTIVE: "Active";
809
+ readonly CREATION_FAILED: "CreationFailed";
810
+ readonly CREATION_IN_PROGRESS: "CreationInProgress";
811
+ };
812
+ /**
813
+ * @public
814
+ */
815
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
796
816
  /**
797
817
  * @public
798
818
  */
@@ -1029,21 +1049,31 @@ export interface FieldError {
1029
1049
  }
1030
1050
  /**
1031
1051
  * @public
1052
+ * @enum
1032
1053
  */
1033
- export declare enum FieldNamespace {
1034
- CUSTOM = "Custom",
1035
- SYSTEM = "System"
1036
- }
1054
+ export declare const FieldNamespace: {
1055
+ readonly CUSTOM: "Custom";
1056
+ readonly SYSTEM: "System";
1057
+ };
1037
1058
  /**
1038
1059
  * @public
1039
1060
  */
1040
- export declare enum FieldType {
1041
- BOOLEAN = "Boolean",
1042
- DATE_TIME = "DateTime",
1043
- NUMBER = "Number",
1044
- SINGLE_SELECT = "SingleSelect",
1045
- TEXT = "Text"
1046
- }
1061
+ export type FieldNamespace = (typeof FieldNamespace)[keyof typeof FieldNamespace];
1062
+ /**
1063
+ * @public
1064
+ * @enum
1065
+ */
1066
+ export declare const FieldType: {
1067
+ readonly BOOLEAN: "Boolean";
1068
+ readonly DATE_TIME: "DateTime";
1069
+ readonly NUMBER: "Number";
1070
+ readonly SINGLE_SELECT: "SingleSelect";
1071
+ readonly TEXT: "Text";
1072
+ };
1073
+ /**
1074
+ * @public
1075
+ */
1076
+ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
1047
1077
  /**
1048
1078
  * @public
1049
1079
  * <p>Object to store detailed field information.</p>
@@ -1615,11 +1645,16 @@ export interface RequiredField {
1615
1645
  }
1616
1646
  /**
1617
1647
  * @public
1648
+ * @enum
1618
1649
  */
1619
- export declare enum TemplateStatus {
1620
- ACTIVE = "Active",
1621
- INACTIVE = "Inactive"
1622
- }
1650
+ export declare const TemplateStatus: {
1651
+ readonly ACTIVE: "Active";
1652
+ readonly INACTIVE: "Inactive";
1653
+ };
1654
+ /**
1655
+ * @public
1656
+ */
1657
+ export type TemplateStatus = (typeof TemplateStatus)[keyof typeof TemplateStatus];
1623
1658
  /**
1624
1659
  * @public
1625
1660
  */
@@ -126,9 +126,11 @@ export interface ListCasesForContactResponse {
126
126
  cases: CaseSummary[] | undefined;
127
127
  nextToken?: string;
128
128
  }
129
- export declare enum CommentBodyTextType {
130
- PLAINTEXT = "Text/Plain",
131
- }
129
+ export declare const CommentBodyTextType: {
130
+ readonly PLAINTEXT: "Text/Plain";
131
+ };
132
+ export type CommentBodyTextType =
133
+ (typeof CommentBodyTextType)[keyof typeof CommentBodyTextType];
132
134
  export interface CommentContent {
133
135
  body: string | undefined;
134
136
  contentType: CommentBodyTextType | string | undefined;
@@ -163,10 +165,12 @@ export declare namespace RelatedItemInputContent {
163
165
  }
164
166
  const visit: <T>(value: RelatedItemInputContent, visitor: Visitor<T>) => T;
165
167
  }
166
- export declare enum RelatedItemType {
167
- COMMENT = "Comment",
168
- CONTACT = "Contact",
169
- }
168
+ export declare const RelatedItemType: {
169
+ readonly COMMENT: "Comment";
170
+ readonly CONTACT: "Contact";
171
+ };
172
+ export type RelatedItemType =
173
+ (typeof RelatedItemType)[keyof typeof RelatedItemType];
170
174
  export interface CreateRelatedItemRequest {
171
175
  domainId: string | undefined;
172
176
  caseId: string | undefined;
@@ -349,10 +353,11 @@ export declare namespace FieldFilter {
349
353
  }
350
354
  const visit: <T>(value: FieldFilter, visitor: Visitor<T>) => T;
351
355
  }
352
- export declare enum Order {
353
- ASCENDING = "Asc",
354
- DESCENDING = "Desc",
355
- }
356
+ export declare const Order: {
357
+ readonly ASCENDING: "Asc";
358
+ readonly DESCENDING: "Desc";
359
+ };
360
+ export type Order = (typeof Order)[keyof typeof Order];
356
361
  export interface Sort {
357
362
  fieldId: string | undefined;
358
363
  sortOrder: Order | string | undefined;
@@ -376,11 +381,12 @@ export interface UpdateCaseResponse {}
376
381
  export interface CreateDomainRequest {
377
382
  name: string | undefined;
378
383
  }
379
- export declare enum DomainStatus {
380
- ACTIVE = "Active",
381
- CREATION_FAILED = "CreationFailed",
382
- CREATION_IN_PROGRESS = "CreationInProgress",
383
- }
384
+ export declare const DomainStatus: {
385
+ readonly ACTIVE: "Active";
386
+ readonly CREATION_FAILED: "CreationFailed";
387
+ readonly CREATION_IN_PROGRESS: "CreationInProgress";
388
+ };
389
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
384
390
  export interface CreateDomainResponse {
385
391
  domainId: string | undefined;
386
392
  domainArn: string | undefined;
@@ -448,17 +454,20 @@ export interface FieldError {
448
454
  errorCode: string | undefined;
449
455
  message?: string;
450
456
  }
451
- export declare enum FieldNamespace {
452
- CUSTOM = "Custom",
453
- SYSTEM = "System",
454
- }
455
- export declare enum FieldType {
456
- BOOLEAN = "Boolean",
457
- DATE_TIME = "DateTime",
458
- NUMBER = "Number",
459
- SINGLE_SELECT = "SingleSelect",
460
- TEXT = "Text",
461
- }
457
+ export declare const FieldNamespace: {
458
+ readonly CUSTOM: "Custom";
459
+ readonly SYSTEM: "System";
460
+ };
461
+ export type FieldNamespace =
462
+ (typeof FieldNamespace)[keyof typeof FieldNamespace];
463
+ export declare const FieldType: {
464
+ readonly BOOLEAN: "Boolean";
465
+ readonly DATE_TIME: "DateTime";
466
+ readonly NUMBER: "Number";
467
+ readonly SINGLE_SELECT: "SingleSelect";
468
+ readonly TEXT: "Text";
469
+ };
470
+ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
462
471
  export interface GetFieldResponse {
463
472
  fieldId: string | undefined;
464
473
  name: string | undefined;
@@ -639,10 +648,12 @@ export interface LayoutConfiguration {
639
648
  export interface RequiredField {
640
649
  fieldId: string | undefined;
641
650
  }
642
- export declare enum TemplateStatus {
643
- ACTIVE = "Active",
644
- INACTIVE = "Inactive",
645
- }
651
+ export declare const TemplateStatus: {
652
+ readonly ACTIVE: "Active";
653
+ readonly INACTIVE: "Inactive";
654
+ };
655
+ export type TemplateStatus =
656
+ (typeof TemplateStatus)[keyof typeof TemplateStatus];
646
657
  export interface CreateTemplateRequest {
647
658
  domainId: string | undefined;
648
659
  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.300.0",
4
+ "version": "3.303.0",
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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",