@aws-sdk/client-connectcases 3.299.0 → 3.300.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 +8 -0
- package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +11 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +15 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -0
- package/dist-types/commands/CreateFieldCommand.d.ts +6 -0
- package/dist-types/commands/CreateLayoutCommand.d.ts +36 -0
- package/dist-types/commands/CreateRelatedItemCommand.d.ts +14 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +14 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/GetCaseCommand.d.ts +10 -0
- package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetDomainCommand.d.ts +3 -0
- package/dist-types/commands/GetLayoutCommand.d.ts +4 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +4 -0
- package/dist-types/commands/ListCasesForContactCommand.d.ts +6 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +4 -0
- package/dist-types/commands/ListFieldOptionsCommand.d.ts +9 -0
- package/dist-types/commands/ListFieldsCommand.d.ts +5 -0
- package/dist-types/commands/ListLayoutsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +8 -0
- package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +18 -0
- package/dist-types/commands/SearchCasesCommand.d.ts +140 -0
- package/dist-types/commands/SearchRelatedItemsCommand.d.ts +17 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +14 -0
- package/dist-types/commands/UpdateFieldCommand.d.ts +6 -0
- package/dist-types/commands/UpdateLayoutCommand.d.ts +37 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +15 -0
- package/package.json +8 -8
|
@@ -26,6 +26,14 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* fields: [ // required
|
|
32
|
+
* {
|
|
33
|
+
* id: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
29
37
|
* const command = new BatchGetFieldCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -27,6 +27,17 @@ 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 = {
|
|
31
|
+
* domainId: "STRING_VALUE", // required
|
|
32
|
+
* fieldId: "STRING_VALUE", // required
|
|
33
|
+
* options: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* name: "STRING_VALUE", // required
|
|
36
|
+
* value: "STRING_VALUE", // required
|
|
37
|
+
* active: true || false, // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
30
41
|
* const command = new BatchPutFieldOptionsCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -46,6 +46,21 @@ 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 = {
|
|
50
|
+
* domainId: "STRING_VALUE", // required
|
|
51
|
+
* templateId: "STRING_VALUE", // required
|
|
52
|
+
* fields: [ // required
|
|
53
|
+
* {
|
|
54
|
+
* id: "STRING_VALUE", // required
|
|
55
|
+
* value: { // Union: only one key present
|
|
56
|
+
* stringValue: "STRING_VALUE",
|
|
57
|
+
* doubleValue: Number("double"),
|
|
58
|
+
* booleanValue: true || false,
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* clientToken: "STRING_VALUE",
|
|
63
|
+
* };
|
|
49
64
|
* const command = new CreateCaseCommand(input);
|
|
50
65
|
* const response = await client.send(command);
|
|
51
66
|
* ```
|
|
@@ -35,6 +35,9 @@ 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 = {
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new CreateDomainCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -27,6 +27,12 @@ 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 = {
|
|
31
|
+
* domainId: "STRING_VALUE", // required
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* type: "STRING_VALUE", // required
|
|
34
|
+
* description: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new CreateFieldCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -39,6 +39,42 @@ 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 = {
|
|
43
|
+
* domainId: "STRING_VALUE", // required
|
|
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: {
|
|
51
|
+
* name: "STRING_VALUE",
|
|
52
|
+
* fields: [ // required
|
|
53
|
+
* {
|
|
54
|
+
* id: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* moreInfo: {
|
|
62
|
+
* sections: [
|
|
63
|
+
* { // Union: only one key present
|
|
64
|
+
* fieldGroup: {
|
|
65
|
+
* name: "STRING_VALUE",
|
|
66
|
+
* fields: [ // required
|
|
67
|
+
* {
|
|
68
|
+
* id: "STRING_VALUE", // required
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* };
|
|
42
78
|
* const command = new CreateLayoutCommand(input);
|
|
43
79
|
* const response = await client.send(command);
|
|
44
80
|
* ```
|
|
@@ -34,6 +34,20 @@ 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 = {
|
|
38
|
+
* domainId: "STRING_VALUE", // required
|
|
39
|
+
* caseId: "STRING_VALUE", // required
|
|
40
|
+
* type: "STRING_VALUE", // required
|
|
41
|
+
* content: { // Union: only one key present
|
|
42
|
+
* contact: {
|
|
43
|
+
* contactArn: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* comment: {
|
|
46
|
+
* body: "STRING_VALUE", // required
|
|
47
|
+
* contentType: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
37
51
|
* const command = new CreateRelatedItemCommand(input);
|
|
38
52
|
* const response = await client.send(command);
|
|
39
53
|
* ```
|
|
@@ -31,6 +31,20 @@ 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 = {
|
|
35
|
+
* domainId: "STRING_VALUE", // required
|
|
36
|
+
* name: "STRING_VALUE", // required
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* layoutConfiguration: {
|
|
39
|
+
* defaultLayout: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* requiredFields: [
|
|
42
|
+
* {
|
|
43
|
+
* fieldId: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* status: "STRING_VALUE",
|
|
47
|
+
* };
|
|
34
48
|
* const command = new CreateTemplateCommand(input);
|
|
35
49
|
* const response = await client.send(command);
|
|
36
50
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteDomainCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,16 @@ 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 = {
|
|
30
|
+
* caseId: "STRING_VALUE", // required
|
|
31
|
+
* domainId: "STRING_VALUE", // required
|
|
32
|
+
* fields: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new GetCaseCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetCaseEventConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDomainCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* layoutId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetLayoutCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* templateId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetTemplateCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* contactArn: "STRING_VALUE", // required
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListCasesForContactCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,10 @@ 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 = {
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListDomainsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,15 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* fieldId: "STRING_VALUE", // required
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* values: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ListFieldOptionsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListFieldsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,11 @@ 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 = {
|
|
31
|
+
* domainId: "STRING_VALUE", // required
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListLayoutsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -26,6 +26,9 @@ 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 = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,14 @@ 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 = {
|
|
31
|
+
* domainId: "STRING_VALUE", // required
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* status: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
30
38
|
* const command = new ListTemplatesCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -26,6 +26,24 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* eventBridge: {
|
|
32
|
+
* enabled: true || false, // required
|
|
33
|
+
* includedData: {
|
|
34
|
+
* caseData: {
|
|
35
|
+
* fields: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* relatedItemData: {
|
|
42
|
+
* includeContent: true || false, // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
29
47
|
* const command = new PutCaseEventConfigurationCommand(input);
|
|
30
48
|
* const response = await client.send(command);
|
|
31
49
|
* ```
|
|
@@ -32,6 +32,146 @@ 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 = {
|
|
36
|
+
* domainId: "STRING_VALUE", // required
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* searchTerm: "STRING_VALUE",
|
|
40
|
+
* filter: { // Union: only one key present
|
|
41
|
+
* field: { // Union: only one key present
|
|
42
|
+
* equalTo: {
|
|
43
|
+
* id: "STRING_VALUE", // required
|
|
44
|
+
* value: { // Union: only one key present
|
|
45
|
+
* stringValue: "STRING_VALUE",
|
|
46
|
+
* doubleValue: Number("double"),
|
|
47
|
+
* booleanValue: true || false,
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* contains: {
|
|
51
|
+
* id: "STRING_VALUE", // required
|
|
52
|
+
* value: { // Union: only one key present
|
|
53
|
+
* stringValue: "STRING_VALUE",
|
|
54
|
+
* doubleValue: Number("double"),
|
|
55
|
+
* booleanValue: true || false,
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* greaterThan: {
|
|
59
|
+
* id: "STRING_VALUE", // required
|
|
60
|
+
* value: { // Union: only one key present
|
|
61
|
+
* stringValue: "STRING_VALUE",
|
|
62
|
+
* doubleValue: Number("double"),
|
|
63
|
+
* booleanValue: true || false,
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* greaterThanOrEqualTo: {
|
|
67
|
+
* id: "STRING_VALUE", // required
|
|
68
|
+
* value: { // Union: only one key present
|
|
69
|
+
* stringValue: "STRING_VALUE",
|
|
70
|
+
* doubleValue: Number("double"),
|
|
71
|
+
* booleanValue: true || false,
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* lessThan: {
|
|
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
|
|
85
|
+
* stringValue: "STRING_VALUE",
|
|
86
|
+
* doubleValue: Number("double"),
|
|
87
|
+
* booleanValue: true || false,
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
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
|
+
* ],
|
|
158
|
+
* },
|
|
159
|
+
* andAll: "<CaseFilter>",
|
|
160
|
+
* },
|
|
161
|
+
* andAll: "<CaseFilter>",
|
|
162
|
+
* },
|
|
163
|
+
* sorts: [
|
|
164
|
+
* {
|
|
165
|
+
* fieldId: "STRING_VALUE", // required
|
|
166
|
+
* sortOrder: "STRING_VALUE", // required
|
|
167
|
+
* },
|
|
168
|
+
* ],
|
|
169
|
+
* fields: [
|
|
170
|
+
* {
|
|
171
|
+
* id: "STRING_VALUE", // required
|
|
172
|
+
* },
|
|
173
|
+
* ],
|
|
174
|
+
* };
|
|
35
175
|
* const command = new SearchCasesCommand(input);
|
|
36
176
|
* const response = await client.send(command);
|
|
37
177
|
* ```
|
|
@@ -30,6 +30,23 @@ 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 = {
|
|
34
|
+
* domainId: "STRING_VALUE", // required
|
|
35
|
+
* caseId: "STRING_VALUE", // required
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* filters: [
|
|
39
|
+
* { // Union: only one key present
|
|
40
|
+
* contact: {
|
|
41
|
+
* channel: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* contactArn: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* comment: {},
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
33
50
|
* const command = new SearchRelatedItemsCommand(input);
|
|
34
51
|
* const response = await client.send(command);
|
|
35
52
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* arn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -29,6 +29,20 @@ 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 = {
|
|
33
|
+
* domainId: "STRING_VALUE", // required
|
|
34
|
+
* caseId: "STRING_VALUE", // required
|
|
35
|
+
* fields: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* value: { // Union: only one key present
|
|
39
|
+
* stringValue: "STRING_VALUE",
|
|
40
|
+
* doubleValue: Number("double"),
|
|
41
|
+
* booleanValue: true || false,
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
32
46
|
* const command = new UpdateCaseCommand(input);
|
|
33
47
|
* const response = await client.send(command);
|
|
34
48
|
* ```
|
|
@@ -26,6 +26,12 @@ 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 = {
|
|
30
|
+
* domainId: "STRING_VALUE", // required
|
|
31
|
+
* fieldId: "STRING_VALUE", // required
|
|
32
|
+
* name: "STRING_VALUE",
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateFieldCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -34,6 +34,43 @@ 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 = {
|
|
38
|
+
* domainId: "STRING_VALUE", // required
|
|
39
|
+
* layoutId: "STRING_VALUE", // required
|
|
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: {
|
|
47
|
+
* name: "STRING_VALUE",
|
|
48
|
+
* fields: [ // required
|
|
49
|
+
* {
|
|
50
|
+
* id: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* moreInfo: {
|
|
58
|
+
* sections: [
|
|
59
|
+
* { // Union: only one key present
|
|
60
|
+
* fieldGroup: {
|
|
61
|
+
* name: "STRING_VALUE",
|
|
62
|
+
* fields: [ // required
|
|
63
|
+
* {
|
|
64
|
+
* id: "STRING_VALUE", // required
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* };
|
|
37
74
|
* const command = new UpdateLayoutCommand(input);
|
|
38
75
|
* const response = await client.send(command);
|
|
39
76
|
* ```
|
|
@@ -30,6 +30,21 @@ 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 = {
|
|
34
|
+
* domainId: "STRING_VALUE", // required
|
|
35
|
+
* templateId: "STRING_VALUE", // required
|
|
36
|
+
* name: "STRING_VALUE",
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* layoutConfiguration: {
|
|
39
|
+
* defaultLayout: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* requiredFields: [
|
|
42
|
+
* {
|
|
43
|
+
* fieldId: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* status: "STRING_VALUE",
|
|
47
|
+
* };
|
|
33
48
|
* const command = new UpdateTemplateCommand(input);
|
|
34
49
|
* const response = await client.send(command);
|
|
35
50
|
* ```
|
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.300.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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
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",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|