@aws-sdk/client-connectcases 3.184.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +210 -0
- package/dist-cjs/ConnectCases.js +442 -0
- package/dist-cjs/ConnectCasesClient.js +37 -0
- package/dist-cjs/commands/BatchGetFieldCommand.js +36 -0
- package/dist-cjs/commands/BatchPutFieldOptionsCommand.js +36 -0
- package/dist-cjs/commands/CreateCaseCommand.js +36 -0
- package/dist-cjs/commands/CreateDomainCommand.js +36 -0
- package/dist-cjs/commands/CreateFieldCommand.js +36 -0
- package/dist-cjs/commands/CreateLayoutCommand.js +36 -0
- package/dist-cjs/commands/CreateRelatedItemCommand.js +36 -0
- package/dist-cjs/commands/CreateTemplateCommand.js +36 -0
- package/dist-cjs/commands/GetCaseCommand.js +36 -0
- package/dist-cjs/commands/GetCaseEventConfigurationCommand.js +36 -0
- package/dist-cjs/commands/GetDomainCommand.js +36 -0
- package/dist-cjs/commands/GetLayoutCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListCasesForContactCommand.js +36 -0
- package/dist-cjs/commands/ListDomainsCommand.js +36 -0
- package/dist-cjs/commands/ListFieldOptionsCommand.js +36 -0
- package/dist-cjs/commands/ListFieldsCommand.js +36 -0
- package/dist-cjs/commands/ListLayoutsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +36 -0
- package/dist-cjs/commands/PutCaseEventConfigurationCommand.js +36 -0
- package/dist-cjs/commands/SearchCasesCommand.js +36 -0
- package/dist-cjs/commands/SearchRelatedItemsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateCaseCommand.js +36 -0
- package/dist-cjs/commands/UpdateFieldCommand.js +36 -0
- package/dist-cjs/commands/UpdateLayoutCommand.js +36 -0
- package/dist-cjs/commands/UpdateTemplateCommand.js +36 -0
- package/dist-cjs/commands/index.js +32 -0
- package/dist-cjs/endpoints.js +132 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ConnectCasesServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +661 -0
- package/dist-cjs/pagination/GetCasePaginator.js +35 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCasesForContactPaginator.js +36 -0
- package/dist-cjs/pagination/ListDomainsPaginator.js +36 -0
- package/dist-cjs/pagination/ListFieldOptionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListFieldsPaginator.js +36 -0
- package/dist-cjs/pagination/ListLayoutsPaginator.js +36 -0
- package/dist-cjs/pagination/ListTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/SearchCasesPaginator.js +36 -0
- package/dist-cjs/pagination/SearchRelatedItemsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2920 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/ConnectCases.js +438 -0
- package/dist-es/ConnectCasesClient.js +33 -0
- package/dist-es/commands/BatchGetFieldCommand.js +32 -0
- package/dist-es/commands/BatchPutFieldOptionsCommand.js +32 -0
- package/dist-es/commands/CreateCaseCommand.js +32 -0
- package/dist-es/commands/CreateDomainCommand.js +32 -0
- package/dist-es/commands/CreateFieldCommand.js +32 -0
- package/dist-es/commands/CreateLayoutCommand.js +32 -0
- package/dist-es/commands/CreateRelatedItemCommand.js +32 -0
- package/dist-es/commands/CreateTemplateCommand.js +32 -0
- package/dist-es/commands/GetCaseCommand.js +32 -0
- package/dist-es/commands/GetCaseEventConfigurationCommand.js +32 -0
- package/dist-es/commands/GetDomainCommand.js +32 -0
- package/dist-es/commands/GetLayoutCommand.js +32 -0
- package/dist-es/commands/GetTemplateCommand.js +32 -0
- package/dist-es/commands/ListCasesForContactCommand.js +32 -0
- package/dist-es/commands/ListDomainsCommand.js +32 -0
- package/dist-es/commands/ListFieldOptionsCommand.js +32 -0
- package/dist-es/commands/ListFieldsCommand.js +32 -0
- package/dist-es/commands/ListLayoutsCommand.js +32 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +32 -0
- package/dist-es/commands/ListTemplatesCommand.js +32 -0
- package/dist-es/commands/PutCaseEventConfigurationCommand.js +32 -0
- package/dist-es/commands/SearchCasesCommand.js +32 -0
- package/dist-es/commands/SearchRelatedItemsCommand.js +32 -0
- package/dist-es/commands/TagResourceCommand.js +32 -0
- package/dist-es/commands/UntagResourceCommand.js +32 -0
- package/dist-es/commands/UpdateCaseCommand.js +32 -0
- package/dist-es/commands/UpdateFieldCommand.js +32 -0
- package/dist-es/commands/UpdateLayoutCommand.js +32 -0
- package/dist-es/commands/UpdateTemplateCommand.js +32 -0
- package/dist-es/commands/index.js +29 -0
- package/dist-es/endpoints.js +128 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ConnectCasesServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +556 -0
- package/dist-es/pagination/GetCasePaginator.js +31 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCasesForContactPaginator.js +32 -0
- package/dist-es/pagination/ListDomainsPaginator.js +32 -0
- package/dist-es/pagination/ListFieldOptionsPaginator.js +32 -0
- package/dist-es/pagination/ListFieldsPaginator.js +32 -0
- package/dist-es/pagination/ListLayoutsPaginator.js +32 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +32 -0
- package/dist-es/pagination/SearchCasesPaginator.js +32 -0
- package/dist-es/pagination/SearchRelatedItemsPaginator.js +32 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +2853 -0
- package/dist-es/runtimeConfig.browser.js +40 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-types/ConnectCases.d.ts +276 -0
- package/dist-types/ConnectCasesClient.d.ts +178 -0
- package/dist-types/commands/BatchGetFieldCommand.d.ts +35 -0
- package/dist-types/commands/BatchPutFieldOptionsCommand.d.ts +36 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +40 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +42 -0
- package/dist-types/commands/CreateFieldCommand.d.ts +36 -0
- package/dist-types/commands/CreateLayoutCommand.d.ts +48 -0
- package/dist-types/commands/CreateRelatedItemCommand.d.ts +43 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +38 -0
- package/dist-types/commands/GetCaseCommand.d.ts +35 -0
- package/dist-types/commands/GetCaseEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetDomainCommand.d.ts +35 -0
- package/dist-types/commands/GetLayoutCommand.d.ts +35 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +35 -0
- package/dist-types/commands/ListCasesForContactCommand.d.ts +35 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +36 -0
- package/dist-types/commands/ListFieldOptionsCommand.d.ts +35 -0
- package/dist-types/commands/ListFieldsCommand.d.ts +35 -0
- package/dist-types/commands/ListLayoutsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +36 -0
- package/dist-types/commands/PutCaseEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/SearchCasesCommand.d.ts +36 -0
- package/dist-types/commands/SearchRelatedItemsCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +38 -0
- package/dist-types/commands/UpdateFieldCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLayoutCommand.d.ts +43 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +29 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/ConnectCasesServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1985 -0
- package/dist-types/pagination/GetCasePaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCasesForContactPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDomainsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFieldOptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFieldsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLayoutsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchCasesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchRelatedItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +89 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/ConnectCases.d.ts +497 -0
- package/dist-types/ts3.4/ConnectCasesClient.d.ts +279 -0
- package/dist-types/ts3.4/commands/BatchGetFieldCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/BatchPutFieldOptionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateCaseCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateFieldCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateLayoutCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/CreateRelatedItemCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetCaseCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetCaseEventConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetLayoutCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListCasesForContactCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListFieldOptionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFieldsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListLayoutsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutCaseEventConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchCasesCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/SearchRelatedItemsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateCaseCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateFieldCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateLayoutCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +29 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ConnectCasesServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +988 -0
- package/dist-types/ts3.4/pagination/GetCasePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListCasesForContactPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFieldOptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFieldsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayoutsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchRelatedItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +353 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +67 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -0
- package/package.json +102 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { BatchPutFieldOptionsRequest, BatchPutFieldOptionsResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchPutFieldOptionsCommandInput extends BatchPutFieldOptionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchPutFieldOptionsCommandOutput extends BatchPutFieldOptionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates and updates a set of field options for a single select field in a Cases
|
|
11
|
+
* domain.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ConnectCasesClient, BatchPutFieldOptionsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
16
|
+
* // const { ConnectCasesClient, BatchPutFieldOptionsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
17
|
+
* const client = new ConnectCasesClient(config);
|
|
18
|
+
* const command = new BatchPutFieldOptionsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link BatchPutFieldOptionsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link BatchPutFieldOptionsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class BatchPutFieldOptionsCommand extends $Command<BatchPutFieldOptionsCommandInput, BatchPutFieldOptionsCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
28
|
+
readonly input: BatchPutFieldOptionsCommandInput;
|
|
29
|
+
constructor(input: BatchPutFieldOptionsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchPutFieldOptionsCommandInput, BatchPutFieldOptionsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { CreateCaseRequest, CreateCaseResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateCaseCommandInput extends CreateCaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateCaseCommandOutput extends CreateCaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a case in the specified Cases domain. Case system and custom fields are taken
|
|
11
|
+
* as an array id/value pairs with a declared data types.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>
|
|
14
|
+
* <code>customer_id</code> is a required field when creating a case.</p>
|
|
15
|
+
* </note>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { ConnectCasesClient, CreateCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
20
|
+
* // const { ConnectCasesClient, CreateCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
21
|
+
* const client = new ConnectCasesClient(config);
|
|
22
|
+
* const command = new CreateCaseCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link CreateCaseCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link CreateCaseCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class CreateCaseCommand extends $Command<CreateCaseCommandInput, CreateCaseCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
32
|
+
readonly input: CreateCaseCommandInput;
|
|
33
|
+
constructor(input: CreateCaseCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCaseCommandInput, CreateCaseCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { CreateDomainRequest, CreateDomainResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateDomainCommandInput extends CreateDomainRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateDomainCommandOutput extends CreateDomainResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a domain, which is a container for all case data, such as cases, fields, templates
|
|
11
|
+
* and layouts. Each Amazon Connect instance can be associated with only one Cases
|
|
12
|
+
* domain.</p>
|
|
13
|
+
* <important>
|
|
14
|
+
* <p>This will not associate your connect instance to Cases domain. Instead, use the
|
|
15
|
+
* Amazon Connect
|
|
16
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateIntegrationAssociation.html">CreateIntegrationAssociation</a> API.</p>
|
|
17
|
+
* </important>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { ConnectCasesClient, CreateDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
22
|
+
* // const { ConnectCasesClient, CreateDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
23
|
+
* const client = new ConnectCasesClient(config);
|
|
24
|
+
* const command = new CreateDomainCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link CreateDomainCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link CreateDomainCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
34
|
+
readonly input: CreateDomainCommandInput;
|
|
35
|
+
constructor(input: CreateDomainCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDomainCommandInput, CreateDomainCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { CreateFieldRequest, CreateFieldResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateFieldCommandInput extends CreateFieldRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateFieldCommandOutput extends CreateFieldResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a field in the Cases domain. This field is used to define the case object
|
|
11
|
+
* model (that is, defines what data can be captured on cases) in a Cases domain. </p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ConnectCasesClient, CreateFieldCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
16
|
+
* // const { ConnectCasesClient, CreateFieldCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
17
|
+
* const client = new ConnectCasesClient(config);
|
|
18
|
+
* const command = new CreateFieldCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreateFieldCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreateFieldCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreateFieldCommand extends $Command<CreateFieldCommandInput, CreateFieldCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
28
|
+
readonly input: CreateFieldCommandInput;
|
|
29
|
+
constructor(input: CreateFieldCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFieldCommandInput, CreateFieldCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { CreateLayoutRequest, CreateLayoutResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateLayoutCommandInput extends CreateLayoutRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateLayoutCommandOutput extends CreateLayoutResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a layout in the Cases domain. Layouts define the following configuration in
|
|
11
|
+
* the top section and More Info tab of the Cases user interface:</p>
|
|
12
|
+
* <ul>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>Fields to display to the users</p>
|
|
15
|
+
* </li>
|
|
16
|
+
* <li>
|
|
17
|
+
* <p>Field ordering</p>
|
|
18
|
+
* </li>
|
|
19
|
+
* </ul>
|
|
20
|
+
* <note>
|
|
21
|
+
* <p>Title and Status fields cannot be part of layouts since they are not
|
|
22
|
+
* configurable.</p>
|
|
23
|
+
* </note>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { ConnectCasesClient, CreateLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
28
|
+
* // const { ConnectCasesClient, CreateLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
29
|
+
* const client = new ConnectCasesClient(config);
|
|
30
|
+
* const command = new CreateLayoutCommand(input);
|
|
31
|
+
* const response = await client.send(command);
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @see {@link CreateLayoutCommandInput} for command's `input` shape.
|
|
35
|
+
* @see {@link CreateLayoutCommandOutput} for command's `response` shape.
|
|
36
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class CreateLayoutCommand extends $Command<CreateLayoutCommandInput, CreateLayoutCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
40
|
+
readonly input: CreateLayoutCommandInput;
|
|
41
|
+
constructor(input: CreateLayoutCommandInput);
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLayoutCommandInput, CreateLayoutCommandOutput>;
|
|
46
|
+
private serialize;
|
|
47
|
+
private deserialize;
|
|
48
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { CreateRelatedItemRequest, CreateRelatedItemResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateRelatedItemCommandInput extends CreateRelatedItemRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateRelatedItemCommandOutput extends CreateRelatedItemResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a related item (comments, tasks, and contacts) and associates it with a
|
|
11
|
+
* case.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>A Related Item is a resource that is associated with a case. It may or may not have an
|
|
14
|
+
* external identifier linking it to an external resource (for example, a
|
|
15
|
+
* <code>contactArn</code>). All Related Items have their own internal identifier, the
|
|
16
|
+
* <code>relatedItemArn</code>. Examples of related items include <code>comments</code> and
|
|
17
|
+
* <code>contacts</code>.</p>
|
|
18
|
+
* </note>
|
|
19
|
+
* @example
|
|
20
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
+
* ```javascript
|
|
22
|
+
* import { ConnectCasesClient, CreateRelatedItemCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
23
|
+
* // const { ConnectCasesClient, CreateRelatedItemCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
24
|
+
* const client = new ConnectCasesClient(config);
|
|
25
|
+
* const command = new CreateRelatedItemCommand(input);
|
|
26
|
+
* const response = await client.send(command);
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @see {@link CreateRelatedItemCommandInput} for command's `input` shape.
|
|
30
|
+
* @see {@link CreateRelatedItemCommandOutput} for command's `response` shape.
|
|
31
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare class CreateRelatedItemCommand extends $Command<CreateRelatedItemCommandInput, CreateRelatedItemCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
35
|
+
readonly input: CreateRelatedItemCommandInput;
|
|
36
|
+
constructor(input: CreateRelatedItemCommandInput);
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRelatedItemCommandInput, CreateRelatedItemCommandOutput>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { CreateTemplateRequest, CreateTemplateResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateTemplateCommandInput extends CreateTemplateRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateTemplateCommandOutput extends CreateTemplateResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a template in the Cases domain. This template is used to define the case
|
|
11
|
+
* object model (that is, define what data can be captured on cases) in a Cases domain. A
|
|
12
|
+
* template must have a unique name within a domain, and it must reference existing field IDs and layout
|
|
13
|
+
* IDs. Additionally, multiple fields with same IDs are not allowed within the same Template.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { ConnectCasesClient, CreateTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
18
|
+
* // const { ConnectCasesClient, CreateTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
19
|
+
* const client = new ConnectCasesClient(config);
|
|
20
|
+
* const command = new CreateTemplateCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link CreateTemplateCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link CreateTemplateCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class CreateTemplateCommand extends $Command<CreateTemplateCommandInput, CreateTemplateCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
30
|
+
readonly input: CreateTemplateCommandInput;
|
|
31
|
+
constructor(input: CreateTemplateCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTemplateCommandInput, CreateTemplateCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { GetCaseRequest, GetCaseResponse } from "../models/models_0";
|
|
5
|
+
export interface GetCaseCommandInput extends GetCaseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetCaseCommandOutput extends GetCaseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns information about a specific case if it exists. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, GetCaseCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, GetCaseCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new GetCaseCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetCaseCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetCaseCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetCaseCommand extends $Command<GetCaseCommandInput, GetCaseCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: GetCaseCommandInput;
|
|
28
|
+
constructor(input: GetCaseCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCaseCommandInput, GetCaseCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { GetCaseEventConfigurationRequest, GetCaseEventConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetCaseEventConfigurationCommandInput extends GetCaseEventConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetCaseEventConfigurationCommandOutput extends GetCaseEventConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the case event publishing configuration.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, GetCaseEventConfigurationCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, GetCaseEventConfigurationCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new GetCaseEventConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetCaseEventConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetCaseEventConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetCaseEventConfigurationCommand extends $Command<GetCaseEventConfigurationCommandInput, GetCaseEventConfigurationCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: GetCaseEventConfigurationCommandInput;
|
|
28
|
+
constructor(input: GetCaseEventConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCaseEventConfigurationCommandInput, GetCaseEventConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { GetDomainRequest, GetDomainResponse } from "../models/models_0";
|
|
5
|
+
export interface GetDomainCommandInput extends GetDomainRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetDomainCommandOutput extends GetDomainResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns information about a specific domain if it exists. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, GetDomainCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, GetDomainCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new GetDomainCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetDomainCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetDomainCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetDomainCommand extends $Command<GetDomainCommandInput, GetDomainCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: GetDomainCommandInput;
|
|
28
|
+
constructor(input: GetDomainCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDomainCommandInput, GetDomainCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { GetLayoutRequest, GetLayoutResponse } from "../models/models_0";
|
|
5
|
+
export interface GetLayoutCommandInput extends GetLayoutRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetLayoutCommandOutput extends GetLayoutResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the details for the requested layout.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, GetLayoutCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, GetLayoutCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new GetLayoutCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetLayoutCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetLayoutCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetLayoutCommand extends $Command<GetLayoutCommandInput, GetLayoutCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: GetLayoutCommandInput;
|
|
28
|
+
constructor(input: GetLayoutCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLayoutCommandInput, GetLayoutCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { GetTemplateRequest, GetTemplateResponse } from "../models/models_0";
|
|
5
|
+
export interface GetTemplateCommandInput extends GetTemplateRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetTemplateCommandOutput extends GetTemplateResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the details for the requested template. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, GetTemplateCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, GetTemplateCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new GetTemplateCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetTemplateCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetTemplateCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetTemplateCommand extends $Command<GetTemplateCommandInput, GetTemplateCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: GetTemplateCommandInput;
|
|
28
|
+
constructor(input: GetTemplateCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTemplateCommandInput, GetTemplateCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListCasesForContactRequest, ListCasesForContactResponse } from "../models/models_0";
|
|
5
|
+
export interface ListCasesForContactCommandInput extends ListCasesForContactRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListCasesForContactCommandOutput extends ListCasesForContactResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists cases for a given contact.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, ListCasesForContactCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, ListCasesForContactCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new ListCasesForContactCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListCasesForContactCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListCasesForContactCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListCasesForContactCommand extends $Command<ListCasesForContactCommandInput, ListCasesForContactCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: ListCasesForContactCommandInput;
|
|
28
|
+
constructor(input: ListCasesForContactCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCasesForContactCommandInput, ListCasesForContactCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListDomainsRequest, ListDomainsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListDomainsCommandInput extends ListDomainsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListDomainsCommandOutput extends ListDomainsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all cases domains in the Amazon Web Services account. Each list item is a condensed
|
|
11
|
+
* summary object of the domain.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ConnectCasesClient, ListDomainsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
16
|
+
* // const { ConnectCasesClient, ListDomainsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
17
|
+
* const client = new ConnectCasesClient(config);
|
|
18
|
+
* const command = new ListDomainsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListDomainsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListDomainsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListDomainsCommand extends $Command<ListDomainsCommandInput, ListDomainsCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
28
|
+
readonly input: ListDomainsCommandInput;
|
|
29
|
+
constructor(input: ListDomainsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDomainsCommandInput, ListDomainsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListFieldOptionsRequest, ListFieldOptionsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListFieldOptionsCommandInput extends ListFieldOptionsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListFieldOptionsCommandOutput extends ListFieldOptionsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all of the field options for a field identifier in the domain. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, ListFieldOptionsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, ListFieldOptionsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new ListFieldOptionsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListFieldOptionsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListFieldOptionsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListFieldOptionsCommand extends $Command<ListFieldOptionsCommandInput, ListFieldOptionsCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: ListFieldOptionsCommandInput;
|
|
28
|
+
constructor(input: ListFieldOptionsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFieldOptionsCommandInput, ListFieldOptionsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectCasesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCasesClient";
|
|
4
|
+
import { ListFieldsRequest, ListFieldsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListFieldsCommandInput extends ListFieldsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListFieldsCommandOutput extends ListFieldsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all fields in a Cases domain.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectCasesClient, ListFieldsCommand } from "@aws-sdk/client-connectcases"; // ES Modules import
|
|
15
|
+
* // const { ConnectCasesClient, ListFieldsCommand } = require("@aws-sdk/client-connectcases"); // CommonJS import
|
|
16
|
+
* const client = new ConnectCasesClient(config);
|
|
17
|
+
* const command = new ListFieldsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListFieldsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListFieldsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectCasesClientResolvedConfig | config} for ConnectCasesClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListFieldsCommand extends $Command<ListFieldsCommandInput, ListFieldsCommandOutput, ConnectCasesClientResolvedConfig> {
|
|
27
|
+
readonly input: ListFieldsCommandInput;
|
|
28
|
+
constructor(input: ListFieldsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectCasesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFieldsCommandInput, ListFieldsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|