@aws-sdk/client-connectcases 3.300.0 → 3.301.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-types/commands/BatchGetFieldCommand.d.ts +3 -3
- package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +3 -3
- package/dist-types/commands/CreateCaseCommand.d.ts +4 -4
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateFieldCommand.d.ts +1 -1
- package/dist-types/commands/CreateLayoutCommand.d.ts +10 -10
- package/dist-types/commands/CreateRelatedItemCommand.d.ts +4 -4
- package/dist-types/commands/CreateTemplateCommand.d.ts +4 -4
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetCaseCommand.d.ts +3 -3
- package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetLayoutCommand.d.ts +1 -1
- package/dist-types/commands/GetTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListCasesForContactCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldOptionsCommand.d.ts +2 -2
- package/dist-types/commands/ListFieldsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayoutsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplatesCommand.d.ts +2 -2
- package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +7 -7
- package/dist-types/commands/SearchCasesCommand.d.ts +29 -90
- package/dist-types/commands/SearchRelatedItemsCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCaseCommand.d.ts +4 -4
- package/dist-types/commands/UpdateFieldCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLayoutCommand.d.ts +10 -10
- package/dist-types/commands/UpdateTemplateCommand.d.ts +4 -4
- package/package.json +3 -3
|
@@ -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
|
-
* {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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: {
|
|
92
|
-
* field: {
|
|
93
|
-
* equalTo:
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
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
|
-
*
|
|
93
|
+
* not: "<CaseFilter>",
|
|
94
|
+
* andAll: [ // CaseFilterList
|
|
95
|
+
* "<CaseFilter>",
|
|
96
|
+
* ],
|
|
160
97
|
* },
|
|
161
|
-
* andAll:
|
|
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
|
-
* {
|
|
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
|
* ],
|
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.301.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|