@aws-sdk/client-connectcases 3.204.0 → 3.208.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/models/models_0.js +8 -3
- package/dist-cjs/protocols/Aws_restJson1.js +10 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +10 -0
- package/dist-types/ConnectCases.d.ts +12 -10
- package/dist-types/commands/CreateTemplateCommand.d.ts +6 -4
- package/dist-types/commands/UpdateCaseCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTemplateCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +30 -3
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +35 -35
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.SearchCasesRequestFilterSensitiveLog = exports.CaseFilterFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.UpdateTemplateResponseFilterSensitiveLog = exports.UpdateTemplateRequestFilterSensitiveLog = exports.ListTemplatesResponseFilterSensitiveLog = exports.TemplateSummaryFilterSensitiveLog = exports.ListTemplatesRequestFilterSensitiveLog = exports.GetTemplateResponseFilterSensitiveLog = exports.GetTemplateRequestFilterSensitiveLog = exports.CreateTemplateResponseFilterSensitiveLog = exports.CreateTemplateRequestFilterSensitiveLog = exports.RequiredFieldFilterSensitiveLog = exports.LayoutConfigurationFilterSensitiveLog = void 0;
|
|
3
|
+
exports.UpdateCaseRequestFilterSensitiveLog = exports.SearchCasesResponseFilterSensitiveLog = exports.SearchCasesResponseItemFilterSensitiveLog = exports.SortFilterSensitiveLog = exports.FieldFilterFilterSensitiveLog = exports.SearchRelatedItemsResponseFilterSensitiveLog = exports.SearchRelatedItemsResponseItemFilterSensitiveLog = exports.RelatedItemContentFilterSensitiveLog = exports.ContactContentFilterSensitiveLog = exports.SearchRelatedItemsRequestFilterSensitiveLog = exports.RelatedItemTypeFilterFilterSensitiveLog = exports.ContactFilterFilterSensitiveLog = exports.CommentFilterFilterSensitiveLog = exports.CreateRelatedItemResponseFilterSensitiveLog = exports.CreateRelatedItemRequestFilterSensitiveLog = exports.RelatedItemInputContentFilterSensitiveLog = exports.ContactFilterSensitiveLog = exports.CommentContentFilterSensitiveLog = exports.ListCasesForContactResponseFilterSensitiveLog = exports.CaseSummaryFilterSensitiveLog = exports.ListCasesForContactRequestFilterSensitiveLog = exports.GetCaseResponseFilterSensitiveLog = exports.GetCaseRequestFilterSensitiveLog = exports.FieldIdentifierFilterSensitiveLog = exports.CreateCaseResponseFilterSensitiveLog = exports.CreateCaseRequestFilterSensitiveLog = exports.FieldValueFilterSensitiveLog = exports.FieldValueUnionFilterSensitiveLog = exports.CaseFilter = exports.TemplateStatus = exports.LayoutContent = exports.Section = exports.FieldType = exports.FieldNamespace = exports.DomainStatus = exports.Order = exports.FieldFilter = exports.RelatedItemContent = exports.RelatedItemTypeFilter = exports.ServiceQuotaExceededException = exports.RelatedItemType = exports.RelatedItemInputContent = exports.CommentBodyTextType = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.FieldValueUnion = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.UpdateLayoutResponseFilterSensitiveLog = exports.UpdateLayoutRequestFilterSensitiveLog = exports.ListLayoutsResponseFilterSensitiveLog = exports.LayoutSummaryFilterSensitiveLog = exports.ListLayoutsRequestFilterSensitiveLog = exports.GetLayoutResponseFilterSensitiveLog = exports.GetLayoutRequestFilterSensitiveLog = exports.CreateLayoutResponseFilterSensitiveLog = exports.CreateLayoutRequestFilterSensitiveLog = exports.LayoutContentFilterSensitiveLog = exports.BasicLayoutFilterSensitiveLog = exports.LayoutSectionsFilterSensitiveLog = exports.SectionFilterSensitiveLog = exports.FieldGroupFilterSensitiveLog = exports.FieldItemFilterSensitiveLog = exports.UpdateFieldResponseFilterSensitiveLog = exports.UpdateFieldRequestFilterSensitiveLog = exports.ListFieldsResponseFilterSensitiveLog = exports.FieldSummaryFilterSensitiveLog = exports.ListFieldsRequestFilterSensitiveLog = exports.ListFieldOptionsResponseFilterSensitiveLog = exports.ListFieldOptionsRequestFilterSensitiveLog = exports.CreateFieldResponseFilterSensitiveLog = exports.CreateFieldRequestFilterSensitiveLog = exports.BatchPutFieldOptionsResponseFilterSensitiveLog = exports.FieldOptionErrorFilterSensitiveLog = exports.BatchPutFieldOptionsRequestFilterSensitiveLog = exports.FieldOptionFilterSensitiveLog = exports.BatchGetFieldResponseFilterSensitiveLog = exports.GetFieldResponseFilterSensitiveLog = exports.FieldErrorFilterSensitiveLog = exports.BatchGetFieldRequestFilterSensitiveLog = exports.PutCaseEventConfigurationResponseFilterSensitiveLog = exports.PutCaseEventConfigurationRequestFilterSensitiveLog = exports.ListDomainsResponseFilterSensitiveLog = exports.DomainSummaryFilterSensitiveLog = exports.ListDomainsRequestFilterSensitiveLog = exports.GetDomainResponseFilterSensitiveLog = exports.GetDomainRequestFilterSensitiveLog = exports.GetCaseEventConfigurationResponseFilterSensitiveLog = exports.EventBridgeConfigurationFilterSensitiveLog = exports.EventIncludedDataFilterSensitiveLog = exports.RelatedItemEventIncludedDataFilterSensitiveLog = exports.CaseEventIncludedDataFilterSensitiveLog = exports.GetCaseEventConfigurationRequestFilterSensitiveLog = exports.CreateDomainResponseFilterSensitiveLog = exports.CreateDomainRequestFilterSensitiveLog = exports.UpdateCaseResponseFilterSensitiveLog = void 0;
|
|
5
|
+
exports.SearchCasesRequestFilterSensitiveLog = exports.CaseFilterFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.UpdateTemplateResponseFilterSensitiveLog = exports.UpdateTemplateRequestFilterSensitiveLog = exports.ListTemplatesResponseFilterSensitiveLog = exports.TemplateSummaryFilterSensitiveLog = exports.ListTemplatesRequestFilterSensitiveLog = exports.GetTemplateResponseFilterSensitiveLog = exports.GetTemplateRequestFilterSensitiveLog = exports.CreateTemplateResponseFilterSensitiveLog = exports.CreateTemplateRequestFilterSensitiveLog = exports.RequiredFieldFilterSensitiveLog = exports.LayoutConfigurationFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = void 0;
|
|
6
6
|
const ConnectCasesServiceException_1 = require("./ConnectCasesServiceException");
|
|
7
7
|
class AccessDeniedException extends ConnectCasesServiceException_1.ConnectCasesServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -209,6 +209,11 @@ var LayoutContent;
|
|
|
209
209
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
210
210
|
};
|
|
211
211
|
})(LayoutContent = exports.LayoutContent || (exports.LayoutContent = {}));
|
|
212
|
+
var TemplateStatus;
|
|
213
|
+
(function (TemplateStatus) {
|
|
214
|
+
TemplateStatus["ACTIVE"] = "Active";
|
|
215
|
+
TemplateStatus["INACTIVE"] = "Inactive";
|
|
216
|
+
})(TemplateStatus = exports.TemplateStatus || (exports.TemplateStatus = {}));
|
|
212
217
|
var CaseFilter;
|
|
213
218
|
(function (CaseFilter) {
|
|
214
219
|
CaseFilter.visit = (value, visitor) => {
|
|
@@ -187,6 +187,7 @@ const serializeAws_restJson1CreateTemplateCommand = async (input, context) => {
|
|
|
187
187
|
...(input.requiredFields != null && {
|
|
188
188
|
requiredFields: serializeAws_restJson1RequiredFieldList(input.requiredFields, context),
|
|
189
189
|
}),
|
|
190
|
+
...(input.status != null && { status: input.status }),
|
|
190
191
|
});
|
|
191
192
|
return new protocol_http_1.HttpRequest({
|
|
192
193
|
protocol,
|
|
@@ -435,6 +436,7 @@ const serializeAws_restJson1ListTemplatesCommand = async (input, context) => {
|
|
|
435
436
|
const query = map({
|
|
436
437
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
437
438
|
nextToken: [, input.nextToken],
|
|
439
|
+
status: [() => input.status !== void 0, () => (input.status || []).map((_entry) => _entry)],
|
|
438
440
|
});
|
|
439
441
|
let body;
|
|
440
442
|
return new protocol_http_1.HttpRequest({
|
|
@@ -660,6 +662,7 @@ const serializeAws_restJson1UpdateTemplateCommand = async (input, context) => {
|
|
|
660
662
|
...(input.requiredFields != null && {
|
|
661
663
|
requiredFields: serializeAws_restJson1RequiredFieldList(input.requiredFields, context),
|
|
662
664
|
}),
|
|
665
|
+
...(input.status != null && { status: input.status }),
|
|
663
666
|
});
|
|
664
667
|
return new protocol_http_1.HttpRequest({
|
|
665
668
|
protocol,
|
|
@@ -1334,6 +1337,9 @@ const deserializeAws_restJson1GetTemplateCommand = async (output, context) => {
|
|
|
1334
1337
|
if (data.requiredFields != null) {
|
|
1335
1338
|
contents.requiredFields = deserializeAws_restJson1RequiredFieldList(data.requiredFields, context);
|
|
1336
1339
|
}
|
|
1340
|
+
if (data.status != null) {
|
|
1341
|
+
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
1342
|
+
}
|
|
1337
1343
|
if (data.tags != null) {
|
|
1338
1344
|
contents.tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
1339
1345
|
}
|
|
@@ -2061,6 +2067,9 @@ const deserializeAws_restJson1UpdateLayoutCommandError = async (output, context)
|
|
|
2061
2067
|
case "ResourceNotFoundException":
|
|
2062
2068
|
case "com.amazonaws.connectcases#ResourceNotFoundException":
|
|
2063
2069
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2070
|
+
case "ServiceQuotaExceededException":
|
|
2071
|
+
case "com.amazonaws.connectcases#ServiceQuotaExceededException":
|
|
2072
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
2064
2073
|
case "ThrottlingException":
|
|
2065
2074
|
case "com.amazonaws.connectcases#ThrottlingException":
|
|
2066
2075
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
@@ -2840,6 +2849,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2840
2849
|
const deserializeAws_restJson1TemplateSummary = (output, context) => {
|
|
2841
2850
|
return {
|
|
2842
2851
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
2852
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2843
2853
|
templateArn: (0, smithy_client_1.expectString)(output.templateArn),
|
|
2844
2854
|
templateId: (0, smithy_client_1.expectString)(output.templateId),
|
|
2845
2855
|
};
|
|
@@ -197,6 +197,11 @@ export var LayoutContent;
|
|
|
197
197
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
198
198
|
};
|
|
199
199
|
})(LayoutContent || (LayoutContent = {}));
|
|
200
|
+
export var TemplateStatus;
|
|
201
|
+
(function (TemplateStatus) {
|
|
202
|
+
TemplateStatus["ACTIVE"] = "Active";
|
|
203
|
+
TemplateStatus["INACTIVE"] = "Inactive";
|
|
204
|
+
})(TemplateStatus || (TemplateStatus = {}));
|
|
200
205
|
export var CaseFilter;
|
|
201
206
|
(function (CaseFilter) {
|
|
202
207
|
CaseFilter.visit = (value, visitor) => {
|
|
@@ -176,6 +176,7 @@ export const serializeAws_restJson1CreateTemplateCommand = async (input, context
|
|
|
176
176
|
...(input.requiredFields != null && {
|
|
177
177
|
requiredFields: serializeAws_restJson1RequiredFieldList(input.requiredFields, context),
|
|
178
178
|
}),
|
|
179
|
+
...(input.status != null && { status: input.status }),
|
|
179
180
|
});
|
|
180
181
|
return new __HttpRequest({
|
|
181
182
|
protocol,
|
|
@@ -412,6 +413,7 @@ export const serializeAws_restJson1ListTemplatesCommand = async (input, context)
|
|
|
412
413
|
const query = map({
|
|
413
414
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
414
415
|
nextToken: [, input.nextToken],
|
|
416
|
+
status: [() => input.status !== void 0, () => (input.status || []).map((_entry) => _entry)],
|
|
415
417
|
});
|
|
416
418
|
let body;
|
|
417
419
|
return new __HttpRequest({
|
|
@@ -628,6 +630,7 @@ export const serializeAws_restJson1UpdateTemplateCommand = async (input, context
|
|
|
628
630
|
...(input.requiredFields != null && {
|
|
629
631
|
requiredFields: serializeAws_restJson1RequiredFieldList(input.requiredFields, context),
|
|
630
632
|
}),
|
|
633
|
+
...(input.status != null && { status: input.status }),
|
|
631
634
|
});
|
|
632
635
|
return new __HttpRequest({
|
|
633
636
|
protocol,
|
|
@@ -1289,6 +1292,9 @@ export const deserializeAws_restJson1GetTemplateCommand = async (output, context
|
|
|
1289
1292
|
if (data.requiredFields != null) {
|
|
1290
1293
|
contents.requiredFields = deserializeAws_restJson1RequiredFieldList(data.requiredFields, context);
|
|
1291
1294
|
}
|
|
1295
|
+
if (data.status != null) {
|
|
1296
|
+
contents.status = __expectString(data.status);
|
|
1297
|
+
}
|
|
1292
1298
|
if (data.tags != null) {
|
|
1293
1299
|
contents.tags = deserializeAws_restJson1Tags(data.tags, context);
|
|
1294
1300
|
}
|
|
@@ -2000,6 +2006,9 @@ const deserializeAws_restJson1UpdateLayoutCommandError = async (output, context)
|
|
|
2000
2006
|
case "ResourceNotFoundException":
|
|
2001
2007
|
case "com.amazonaws.connectcases#ResourceNotFoundException":
|
|
2002
2008
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2009
|
+
case "ServiceQuotaExceededException":
|
|
2010
|
+
case "com.amazonaws.connectcases#ServiceQuotaExceededException":
|
|
2011
|
+
throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
2003
2012
|
case "ThrottlingException":
|
|
2004
2013
|
case "com.amazonaws.connectcases#ThrottlingException":
|
|
2005
2014
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
@@ -2778,6 +2787,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2778
2787
|
const deserializeAws_restJson1TemplateSummary = (output, context) => {
|
|
2779
2788
|
return {
|
|
2780
2789
|
name: __expectString(output.name),
|
|
2790
|
+
status: __expectString(output.status),
|
|
2781
2791
|
templateArn: __expectString(output.templateArn),
|
|
2782
2792
|
templateId: __expectString(output.templateId),
|
|
2783
2793
|
};
|
|
@@ -116,10 +116,12 @@ export declare class ConnectCases extends ConnectCasesClient {
|
|
|
116
116
|
createRelatedItem(args: CreateRelatedItemCommandInput, cb: (err: any, data?: CreateRelatedItemCommandOutput) => void): void;
|
|
117
117
|
createRelatedItem(args: CreateRelatedItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRelatedItemCommandOutput) => void): void;
|
|
118
118
|
/**
|
|
119
|
-
* <p>Creates a template in the Cases domain. This template is used to define the case
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* IDs. Additionally, multiple fields with same IDs are not allowed within the same Template
|
|
119
|
+
* <p>Creates a template in the Cases domain. This template is used to define the case object
|
|
120
|
+
* model (that is, to define what data can be captured on cases) in a Cases domain. A template
|
|
121
|
+
* must have a unique name within a domain, and it must reference existing field IDs and layout
|
|
122
|
+
* IDs. Additionally, multiple fields with same IDs are not allowed within the same Template. A
|
|
123
|
+
* template can be either Active or Inactive, as indicated by its status. Inactive templates
|
|
124
|
+
* cannot be used to create cases.</p>
|
|
123
125
|
*/
|
|
124
126
|
createTemplate(args: CreateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateTemplateCommandOutput>;
|
|
125
127
|
createTemplate(args: CreateTemplateCommandInput, cb: (err: any, data?: CreateTemplateCommandOutput) => void): void;
|
|
@@ -235,8 +237,8 @@ export declare class ConnectCases extends ConnectCasesClient {
|
|
|
235
237
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
236
238
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
237
239
|
/**
|
|
238
|
-
* <p>Updates the values of fields on a case. Fields to be updated are
|
|
239
|
-
*
|
|
240
|
+
* <p>Updates the values of fields on a case. Fields to be updated are received as an array of
|
|
241
|
+
* id/value pairs identical to the <code>CreateCase</code> input .</p>
|
|
240
242
|
* <p>If the action is successful, the service sends back an HTTP 200 response with an empty
|
|
241
243
|
* HTTP body.</p>
|
|
242
244
|
*/
|
|
@@ -265,10 +267,10 @@ export declare class ConnectCases extends ConnectCasesClient {
|
|
|
265
267
|
updateLayout(args: UpdateLayoutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLayoutCommandOutput) => void): void;
|
|
266
268
|
/**
|
|
267
269
|
* <p>Updates the attributes of an existing template. The template attributes that can be
|
|
268
|
-
* modified include <code>name</code>, <code>description</code>,
|
|
269
|
-
*
|
|
270
|
-
* attributes must not be null. If a null value is provided for a given
|
|
271
|
-
* is ignored and its current value is preserved.</p>
|
|
270
|
+
* modified include <code>name</code>, <code>description</code>,
|
|
271
|
+
* <code>layoutConfiguration</code>, <code>requiredFields</code>, and <code>status</code>. At
|
|
272
|
+
* least one of these attributes must not be null. If a null value is provided for a given
|
|
273
|
+
* attribute, that attribute is ignored and its current value is preserved.</p>
|
|
272
274
|
*/
|
|
273
275
|
updateTemplate(args: UpdateTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTemplateCommandOutput>;
|
|
274
276
|
updateTemplate(args: UpdateTemplateCommandInput, cb: (err: any, data?: UpdateTemplateCommandOutput) => void): void;
|
|
@@ -8,10 +8,12 @@ export interface CreateTemplateCommandInput extends CreateTemplateRequest {
|
|
|
8
8
|
export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a template in the Cases domain. This template is used to define the case
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* IDs. Additionally, multiple fields with same IDs are not allowed within the same Template
|
|
11
|
+
* <p>Creates a template in the Cases domain. This template is used to define the case object
|
|
12
|
+
* model (that is, to define what data can be captured on cases) in a Cases domain. A template
|
|
13
|
+
* must have a unique name within a domain, and it must reference existing field IDs and layout
|
|
14
|
+
* IDs. Additionally, multiple fields with same IDs are not allowed within the same Template. A
|
|
15
|
+
* template can be either Active or Inactive, as indicated by its status. Inactive templates
|
|
16
|
+
* cannot be used to create cases.</p>
|
|
15
17
|
* @example
|
|
16
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
19
|
* ```javascript
|
|
@@ -8,8 +8,8 @@ export interface UpdateCaseCommandInput extends UpdateCaseRequest {
|
|
|
8
8
|
export interface UpdateCaseCommandOutput extends UpdateCaseResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Updates the values of fields on a case. Fields to be updated are
|
|
12
|
-
*
|
|
11
|
+
* <p>Updates the values of fields on a case. Fields to be updated are received as an array of
|
|
12
|
+
* id/value pairs identical to the <code>CreateCase</code> input .</p>
|
|
13
13
|
* <p>If the action is successful, the service sends back an HTTP 200 response with an empty
|
|
14
14
|
* HTTP body.</p>
|
|
15
15
|
* @example
|
|
@@ -9,10 +9,10 @@ export interface UpdateTemplateCommandOutput extends UpdateTemplateResponse, __M
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates the attributes of an existing template. The template attributes that can be
|
|
12
|
-
* modified include <code>name</code>, <code>description</code>,
|
|
13
|
-
*
|
|
14
|
-
* attributes must not be null. If a null value is provided for a given
|
|
15
|
-
* is ignored and its current value is preserved.</p>
|
|
12
|
+
* modified include <code>name</code>, <code>description</code>,
|
|
13
|
+
* <code>layoutConfiguration</code>, <code>requiredFields</code>, and <code>status</code>. At
|
|
14
|
+
* least one of these attributes must not be null. If a null value is provided for a given
|
|
15
|
+
* attribute, that attribute is ignored and its current value is preserved.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
18
|
* ```javascript
|
|
@@ -100,7 +100,9 @@ export interface CreateCaseRequest {
|
|
|
100
100
|
fields: FieldValue[] | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
103
|
-
* request
|
|
103
|
+
* request. If not provided, the Amazon Web Services
|
|
104
|
+
* SDK populates this field. For more information about idempotency, see
|
|
105
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
104
106
|
*/
|
|
105
107
|
clientToken?: string;
|
|
106
108
|
}
|
|
@@ -1171,7 +1173,8 @@ export declare namespace Section {
|
|
|
1171
1173
|
const visit: <T>(value: Section, visitor: Visitor<T>) => T;
|
|
1172
1174
|
}
|
|
1173
1175
|
/**
|
|
1174
|
-
* <p>Ordered list containing different kinds of sections that can be added. A LayoutSections
|
|
1176
|
+
* <p>Ordered list containing different kinds of sections that can be added. A LayoutSections
|
|
1177
|
+
* object can only contain one section.</p>
|
|
1175
1178
|
*/
|
|
1176
1179
|
export interface LayoutSections {
|
|
1177
1180
|
/**
|
|
@@ -1377,6 +1380,10 @@ export interface RequiredField {
|
|
|
1377
1380
|
*/
|
|
1378
1381
|
fieldId: string | undefined;
|
|
1379
1382
|
}
|
|
1383
|
+
export declare enum TemplateStatus {
|
|
1384
|
+
ACTIVE = "Active",
|
|
1385
|
+
INACTIVE = "Inactive"
|
|
1386
|
+
}
|
|
1380
1387
|
export interface CreateTemplateRequest {
|
|
1381
1388
|
/**
|
|
1382
1389
|
* <p>The unique identifier of the Cases domain. </p>
|
|
@@ -1399,6 +1406,10 @@ export interface CreateTemplateRequest {
|
|
|
1399
1406
|
* template.</p>
|
|
1400
1407
|
*/
|
|
1401
1408
|
requiredFields?: RequiredField[];
|
|
1409
|
+
/**
|
|
1410
|
+
* <p>The status of the template.</p>
|
|
1411
|
+
*/
|
|
1412
|
+
status?: TemplateStatus | string;
|
|
1402
1413
|
}
|
|
1403
1414
|
export interface CreateTemplateResponse {
|
|
1404
1415
|
/**
|
|
@@ -1450,6 +1461,10 @@ export interface GetTemplateResponse {
|
|
|
1450
1461
|
* <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
|
|
1451
1462
|
*/
|
|
1452
1463
|
tags?: Record<string, string>;
|
|
1464
|
+
/**
|
|
1465
|
+
* <p>The status of the template.</p>
|
|
1466
|
+
*/
|
|
1467
|
+
status: TemplateStatus | string | undefined;
|
|
1453
1468
|
}
|
|
1454
1469
|
export interface ListTemplatesRequest {
|
|
1455
1470
|
/**
|
|
@@ -1465,6 +1480,10 @@ export interface ListTemplatesRequest {
|
|
|
1465
1480
|
* response in the next request to retrieve the next set of results.</p>
|
|
1466
1481
|
*/
|
|
1467
1482
|
nextToken?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* <p>A list of status values to filter on.</p>
|
|
1485
|
+
*/
|
|
1486
|
+
status?: (TemplateStatus | string)[];
|
|
1468
1487
|
}
|
|
1469
1488
|
/**
|
|
1470
1489
|
* <p>Template summary information.</p>
|
|
@@ -1475,13 +1494,17 @@ export interface TemplateSummary {
|
|
|
1475
1494
|
*/
|
|
1476
1495
|
templateId: string | undefined;
|
|
1477
1496
|
/**
|
|
1478
|
-
* <p>The Amazon Resource Name (ARN)
|
|
1497
|
+
* <p>The Amazon Resource Name (ARN) of the template.</p>
|
|
1479
1498
|
*/
|
|
1480
1499
|
templateArn: string | undefined;
|
|
1481
1500
|
/**
|
|
1482
1501
|
* <p>The template name.</p>
|
|
1483
1502
|
*/
|
|
1484
1503
|
name: string | undefined;
|
|
1504
|
+
/**
|
|
1505
|
+
* <p>The status of the template.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
status: TemplateStatus | string | undefined;
|
|
1485
1508
|
}
|
|
1486
1509
|
export interface ListTemplatesResponse {
|
|
1487
1510
|
/**
|
|
@@ -1519,6 +1542,10 @@ export interface UpdateTemplateRequest {
|
|
|
1519
1542
|
* template.</p>
|
|
1520
1543
|
*/
|
|
1521
1544
|
requiredFields?: RequiredField[];
|
|
1545
|
+
/**
|
|
1546
|
+
* <p>The status of the template.</p>
|
|
1547
|
+
*/
|
|
1548
|
+
status?: TemplateStatus | string;
|
|
1522
1549
|
}
|
|
1523
1550
|
export interface UpdateTemplateResponse {
|
|
1524
1551
|
}
|
|
@@ -635,12 +635,17 @@ export interface LayoutConfiguration {
|
|
|
635
635
|
export interface RequiredField {
|
|
636
636
|
fieldId: string | undefined;
|
|
637
637
|
}
|
|
638
|
+
export declare enum TemplateStatus {
|
|
639
|
+
ACTIVE = "Active",
|
|
640
|
+
INACTIVE = "Inactive",
|
|
641
|
+
}
|
|
638
642
|
export interface CreateTemplateRequest {
|
|
639
643
|
domainId: string | undefined;
|
|
640
644
|
name: string | undefined;
|
|
641
645
|
description?: string;
|
|
642
646
|
layoutConfiguration?: LayoutConfiguration;
|
|
643
647
|
requiredFields?: RequiredField[];
|
|
648
|
+
status?: TemplateStatus | string;
|
|
644
649
|
}
|
|
645
650
|
export interface CreateTemplateResponse {
|
|
646
651
|
templateId: string | undefined;
|
|
@@ -658,16 +663,19 @@ export interface GetTemplateResponse {
|
|
|
658
663
|
layoutConfiguration?: LayoutConfiguration;
|
|
659
664
|
requiredFields?: RequiredField[];
|
|
660
665
|
tags?: Record<string, string>;
|
|
666
|
+
status: TemplateStatus | string | undefined;
|
|
661
667
|
}
|
|
662
668
|
export interface ListTemplatesRequest {
|
|
663
669
|
domainId: string | undefined;
|
|
664
670
|
maxResults?: number;
|
|
665
671
|
nextToken?: string;
|
|
672
|
+
status?: (TemplateStatus | string)[];
|
|
666
673
|
}
|
|
667
674
|
export interface TemplateSummary {
|
|
668
675
|
templateId: string | undefined;
|
|
669
676
|
templateArn: string | undefined;
|
|
670
677
|
name: string | undefined;
|
|
678
|
+
status: TemplateStatus | string | undefined;
|
|
671
679
|
}
|
|
672
680
|
export interface ListTemplatesResponse {
|
|
673
681
|
templates: TemplateSummary[] | undefined;
|
|
@@ -680,6 +688,7 @@ export interface UpdateTemplateRequest {
|
|
|
680
688
|
description?: string;
|
|
681
689
|
layoutConfiguration?: LayoutConfiguration;
|
|
682
690
|
requiredFields?: RequiredField[];
|
|
691
|
+
status?: TemplateStatus | string;
|
|
683
692
|
}
|
|
684
693
|
export interface UpdateTemplateResponse {}
|
|
685
694
|
export interface UntagResourceRequest {
|
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.208.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",
|
|
@@ -19,47 +19,47 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64": "3.
|
|
45
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.208.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.208.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.208.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.208.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.208.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.208.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.208.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.208.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.208.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.208.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.208.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.208.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.208.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.208.0",
|
|
42
|
+
"@aws-sdk/types": "3.208.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.208.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-base64-browser": "3.208.0",
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.208.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.208.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.208.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.208.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
55
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
|
-
"@types/node": "^
|
|
62
|
+
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|
|
64
64
|
"concurrently": "7.0.0",
|
|
65
65
|
"downlevel-dts": "0.10.1",
|