@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,988 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { ConnectCasesServiceException as __BaseException } from "./ConnectCasesServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
export declare type FieldValueUnion =
|
|
16
|
+
| FieldValueUnion.BooleanValueMember
|
|
17
|
+
| FieldValueUnion.DoubleValueMember
|
|
18
|
+
| FieldValueUnion.StringValueMember
|
|
19
|
+
| FieldValueUnion.$UnknownMember;
|
|
20
|
+
export declare namespace FieldValueUnion {
|
|
21
|
+
interface StringValueMember {
|
|
22
|
+
stringValue: string;
|
|
23
|
+
doubleValue?: never;
|
|
24
|
+
booleanValue?: never;
|
|
25
|
+
$unknown?: never;
|
|
26
|
+
}
|
|
27
|
+
interface DoubleValueMember {
|
|
28
|
+
stringValue?: never;
|
|
29
|
+
doubleValue: number;
|
|
30
|
+
booleanValue?: never;
|
|
31
|
+
$unknown?: never;
|
|
32
|
+
}
|
|
33
|
+
interface BooleanValueMember {
|
|
34
|
+
stringValue?: never;
|
|
35
|
+
doubleValue?: never;
|
|
36
|
+
booleanValue: boolean;
|
|
37
|
+
$unknown?: never;
|
|
38
|
+
}
|
|
39
|
+
interface $UnknownMember {
|
|
40
|
+
stringValue?: never;
|
|
41
|
+
doubleValue?: never;
|
|
42
|
+
booleanValue?: never;
|
|
43
|
+
$unknown: [string, any];
|
|
44
|
+
}
|
|
45
|
+
interface Visitor<T> {
|
|
46
|
+
stringValue: (value: string) => T;
|
|
47
|
+
doubleValue: (value: number) => T;
|
|
48
|
+
booleanValue: (value: boolean) => T;
|
|
49
|
+
_: (name: string, value: any) => T;
|
|
50
|
+
}
|
|
51
|
+
const visit: <T>(value: FieldValueUnion, visitor: Visitor<T>) => T;
|
|
52
|
+
}
|
|
53
|
+
export interface FieldValue {
|
|
54
|
+
id: string | undefined;
|
|
55
|
+
value: FieldValueUnion | undefined;
|
|
56
|
+
}
|
|
57
|
+
export interface CreateCaseRequest {
|
|
58
|
+
domainId: string | undefined;
|
|
59
|
+
templateId: string | undefined;
|
|
60
|
+
fields: FieldValue[] | undefined;
|
|
61
|
+
clientToken?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface CreateCaseResponse {
|
|
64
|
+
caseId: string | undefined;
|
|
65
|
+
caseArn: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export declare class InternalServerException extends __BaseException {
|
|
68
|
+
readonly name: "InternalServerException";
|
|
69
|
+
readonly $fault: "server";
|
|
70
|
+
$retryable: {};
|
|
71
|
+
retryAfterSeconds?: number;
|
|
72
|
+
constructor(
|
|
73
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
77
|
+
readonly name: "ResourceNotFoundException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
resourceId: string | undefined;
|
|
80
|
+
resourceType: string | undefined;
|
|
81
|
+
constructor(
|
|
82
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
export declare class ThrottlingException extends __BaseException {
|
|
86
|
+
readonly name: "ThrottlingException";
|
|
87
|
+
readonly $fault: "client";
|
|
88
|
+
$retryable: {};
|
|
89
|
+
constructor(
|
|
90
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
export declare class ValidationException extends __BaseException {
|
|
94
|
+
readonly name: "ValidationException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
constructor(
|
|
97
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
export interface FieldIdentifier {
|
|
101
|
+
id: string | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface GetCaseRequest {
|
|
104
|
+
caseId: string | undefined;
|
|
105
|
+
domainId: string | undefined;
|
|
106
|
+
fields: FieldIdentifier[] | undefined;
|
|
107
|
+
nextToken?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface GetCaseResponse {
|
|
110
|
+
fields: FieldValue[] | undefined;
|
|
111
|
+
templateId: string | undefined;
|
|
112
|
+
nextToken?: string;
|
|
113
|
+
tags?: Record<string, string>;
|
|
114
|
+
}
|
|
115
|
+
export interface ListCasesForContactRequest {
|
|
116
|
+
domainId: string | undefined;
|
|
117
|
+
contactArn: string | undefined;
|
|
118
|
+
maxResults?: number;
|
|
119
|
+
nextToken?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface CaseSummary {
|
|
122
|
+
caseId: string | undefined;
|
|
123
|
+
templateId: string | undefined;
|
|
124
|
+
}
|
|
125
|
+
export interface ListCasesForContactResponse {
|
|
126
|
+
cases: CaseSummary[] | undefined;
|
|
127
|
+
nextToken?: string;
|
|
128
|
+
}
|
|
129
|
+
export declare enum CommentBodyTextType {
|
|
130
|
+
PLAINTEXT = "Text/Plain",
|
|
131
|
+
}
|
|
132
|
+
export interface CommentContent {
|
|
133
|
+
body: string | undefined;
|
|
134
|
+
contentType: CommentBodyTextType | string | undefined;
|
|
135
|
+
}
|
|
136
|
+
export interface Contact {
|
|
137
|
+
contactArn: string | undefined;
|
|
138
|
+
}
|
|
139
|
+
export declare type RelatedItemInputContent =
|
|
140
|
+
| RelatedItemInputContent.CommentMember
|
|
141
|
+
| RelatedItemInputContent.ContactMember
|
|
142
|
+
| RelatedItemInputContent.$UnknownMember;
|
|
143
|
+
export declare namespace RelatedItemInputContent {
|
|
144
|
+
interface ContactMember {
|
|
145
|
+
contact: Contact;
|
|
146
|
+
comment?: never;
|
|
147
|
+
$unknown?: never;
|
|
148
|
+
}
|
|
149
|
+
interface CommentMember {
|
|
150
|
+
contact?: never;
|
|
151
|
+
comment: CommentContent;
|
|
152
|
+
$unknown?: never;
|
|
153
|
+
}
|
|
154
|
+
interface $UnknownMember {
|
|
155
|
+
contact?: never;
|
|
156
|
+
comment?: never;
|
|
157
|
+
$unknown: [string, any];
|
|
158
|
+
}
|
|
159
|
+
interface Visitor<T> {
|
|
160
|
+
contact: (value: Contact) => T;
|
|
161
|
+
comment: (value: CommentContent) => T;
|
|
162
|
+
_: (name: string, value: any) => T;
|
|
163
|
+
}
|
|
164
|
+
const visit: <T>(value: RelatedItemInputContent, visitor: Visitor<T>) => T;
|
|
165
|
+
}
|
|
166
|
+
export declare enum RelatedItemType {
|
|
167
|
+
COMMENT = "Comment",
|
|
168
|
+
CONTACT = "Contact",
|
|
169
|
+
}
|
|
170
|
+
export interface CreateRelatedItemRequest {
|
|
171
|
+
domainId: string | undefined;
|
|
172
|
+
caseId: string | undefined;
|
|
173
|
+
type: RelatedItemType | string | undefined;
|
|
174
|
+
content: RelatedItemInputContent | undefined;
|
|
175
|
+
}
|
|
176
|
+
export interface CreateRelatedItemResponse {
|
|
177
|
+
relatedItemId: string | undefined;
|
|
178
|
+
relatedItemArn: string | undefined;
|
|
179
|
+
}
|
|
180
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
181
|
+
readonly name: "ServiceQuotaExceededException";
|
|
182
|
+
readonly $fault: "client";
|
|
183
|
+
constructor(
|
|
184
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
185
|
+
);
|
|
186
|
+
}
|
|
187
|
+
export interface CommentFilter {}
|
|
188
|
+
export interface ContactFilter {
|
|
189
|
+
channel?: string[];
|
|
190
|
+
contactArn?: string;
|
|
191
|
+
}
|
|
192
|
+
export declare type RelatedItemTypeFilter =
|
|
193
|
+
| RelatedItemTypeFilter.CommentMember
|
|
194
|
+
| RelatedItemTypeFilter.ContactMember
|
|
195
|
+
| RelatedItemTypeFilter.$UnknownMember;
|
|
196
|
+
export declare namespace RelatedItemTypeFilter {
|
|
197
|
+
interface ContactMember {
|
|
198
|
+
contact: ContactFilter;
|
|
199
|
+
comment?: never;
|
|
200
|
+
$unknown?: never;
|
|
201
|
+
}
|
|
202
|
+
interface CommentMember {
|
|
203
|
+
contact?: never;
|
|
204
|
+
comment: CommentFilter;
|
|
205
|
+
$unknown?: never;
|
|
206
|
+
}
|
|
207
|
+
interface $UnknownMember {
|
|
208
|
+
contact?: never;
|
|
209
|
+
comment?: never;
|
|
210
|
+
$unknown: [string, any];
|
|
211
|
+
}
|
|
212
|
+
interface Visitor<T> {
|
|
213
|
+
contact: (value: ContactFilter) => T;
|
|
214
|
+
comment: (value: CommentFilter) => T;
|
|
215
|
+
_: (name: string, value: any) => T;
|
|
216
|
+
}
|
|
217
|
+
const visit: <T>(value: RelatedItemTypeFilter, visitor: Visitor<T>) => T;
|
|
218
|
+
}
|
|
219
|
+
export interface SearchRelatedItemsRequest {
|
|
220
|
+
domainId: string | undefined;
|
|
221
|
+
caseId: string | undefined;
|
|
222
|
+
maxResults?: number;
|
|
223
|
+
nextToken?: string;
|
|
224
|
+
filters?: RelatedItemTypeFilter[];
|
|
225
|
+
}
|
|
226
|
+
export interface ContactContent {
|
|
227
|
+
contactArn: string | undefined;
|
|
228
|
+
channel: string | undefined;
|
|
229
|
+
connectedToSystemTime: Date | undefined;
|
|
230
|
+
}
|
|
231
|
+
export declare type RelatedItemContent =
|
|
232
|
+
| RelatedItemContent.CommentMember
|
|
233
|
+
| RelatedItemContent.ContactMember
|
|
234
|
+
| RelatedItemContent.$UnknownMember;
|
|
235
|
+
export declare namespace RelatedItemContent {
|
|
236
|
+
interface ContactMember {
|
|
237
|
+
contact: ContactContent;
|
|
238
|
+
comment?: never;
|
|
239
|
+
$unknown?: never;
|
|
240
|
+
}
|
|
241
|
+
interface CommentMember {
|
|
242
|
+
contact?: never;
|
|
243
|
+
comment: CommentContent;
|
|
244
|
+
$unknown?: never;
|
|
245
|
+
}
|
|
246
|
+
interface $UnknownMember {
|
|
247
|
+
contact?: never;
|
|
248
|
+
comment?: never;
|
|
249
|
+
$unknown: [string, any];
|
|
250
|
+
}
|
|
251
|
+
interface Visitor<T> {
|
|
252
|
+
contact: (value: ContactContent) => T;
|
|
253
|
+
comment: (value: CommentContent) => T;
|
|
254
|
+
_: (name: string, value: any) => T;
|
|
255
|
+
}
|
|
256
|
+
const visit: <T>(value: RelatedItemContent, visitor: Visitor<T>) => T;
|
|
257
|
+
}
|
|
258
|
+
export interface SearchRelatedItemsResponseItem {
|
|
259
|
+
relatedItemId: string | undefined;
|
|
260
|
+
type: RelatedItemType | string | undefined;
|
|
261
|
+
associationTime: Date | undefined;
|
|
262
|
+
content: RelatedItemContent | undefined;
|
|
263
|
+
tags?: Record<string, string>;
|
|
264
|
+
}
|
|
265
|
+
export interface SearchRelatedItemsResponse {
|
|
266
|
+
nextToken?: string;
|
|
267
|
+
relatedItems: SearchRelatedItemsResponseItem[] | undefined;
|
|
268
|
+
}
|
|
269
|
+
export declare type FieldFilter =
|
|
270
|
+
| FieldFilter.ContainsMember
|
|
271
|
+
| FieldFilter.EqualToMember
|
|
272
|
+
| FieldFilter.GreaterThanMember
|
|
273
|
+
| FieldFilter.GreaterThanOrEqualToMember
|
|
274
|
+
| FieldFilter.LessThanMember
|
|
275
|
+
| FieldFilter.LessThanOrEqualToMember
|
|
276
|
+
| FieldFilter.$UnknownMember;
|
|
277
|
+
export declare namespace FieldFilter {
|
|
278
|
+
interface EqualToMember {
|
|
279
|
+
equalTo: FieldValue;
|
|
280
|
+
contains?: never;
|
|
281
|
+
greaterThan?: never;
|
|
282
|
+
greaterThanOrEqualTo?: never;
|
|
283
|
+
lessThan?: never;
|
|
284
|
+
lessThanOrEqualTo?: never;
|
|
285
|
+
$unknown?: never;
|
|
286
|
+
}
|
|
287
|
+
interface ContainsMember {
|
|
288
|
+
equalTo?: never;
|
|
289
|
+
contains: FieldValue;
|
|
290
|
+
greaterThan?: never;
|
|
291
|
+
greaterThanOrEqualTo?: never;
|
|
292
|
+
lessThan?: never;
|
|
293
|
+
lessThanOrEqualTo?: never;
|
|
294
|
+
$unknown?: never;
|
|
295
|
+
}
|
|
296
|
+
interface GreaterThanMember {
|
|
297
|
+
equalTo?: never;
|
|
298
|
+
contains?: never;
|
|
299
|
+
greaterThan: FieldValue;
|
|
300
|
+
greaterThanOrEqualTo?: never;
|
|
301
|
+
lessThan?: never;
|
|
302
|
+
lessThanOrEqualTo?: never;
|
|
303
|
+
$unknown?: never;
|
|
304
|
+
}
|
|
305
|
+
interface GreaterThanOrEqualToMember {
|
|
306
|
+
equalTo?: never;
|
|
307
|
+
contains?: never;
|
|
308
|
+
greaterThan?: never;
|
|
309
|
+
greaterThanOrEqualTo: FieldValue;
|
|
310
|
+
lessThan?: never;
|
|
311
|
+
lessThanOrEqualTo?: never;
|
|
312
|
+
$unknown?: never;
|
|
313
|
+
}
|
|
314
|
+
interface LessThanMember {
|
|
315
|
+
equalTo?: never;
|
|
316
|
+
contains?: never;
|
|
317
|
+
greaterThan?: never;
|
|
318
|
+
greaterThanOrEqualTo?: never;
|
|
319
|
+
lessThan: FieldValue;
|
|
320
|
+
lessThanOrEqualTo?: never;
|
|
321
|
+
$unknown?: never;
|
|
322
|
+
}
|
|
323
|
+
interface LessThanOrEqualToMember {
|
|
324
|
+
equalTo?: never;
|
|
325
|
+
contains?: never;
|
|
326
|
+
greaterThan?: never;
|
|
327
|
+
greaterThanOrEqualTo?: never;
|
|
328
|
+
lessThan?: never;
|
|
329
|
+
lessThanOrEqualTo: FieldValue;
|
|
330
|
+
$unknown?: never;
|
|
331
|
+
}
|
|
332
|
+
interface $UnknownMember {
|
|
333
|
+
equalTo?: never;
|
|
334
|
+
contains?: never;
|
|
335
|
+
greaterThan?: never;
|
|
336
|
+
greaterThanOrEqualTo?: never;
|
|
337
|
+
lessThan?: never;
|
|
338
|
+
lessThanOrEqualTo?: never;
|
|
339
|
+
$unknown: [string, any];
|
|
340
|
+
}
|
|
341
|
+
interface Visitor<T> {
|
|
342
|
+
equalTo: (value: FieldValue) => T;
|
|
343
|
+
contains: (value: FieldValue) => T;
|
|
344
|
+
greaterThan: (value: FieldValue) => T;
|
|
345
|
+
greaterThanOrEqualTo: (value: FieldValue) => T;
|
|
346
|
+
lessThan: (value: FieldValue) => T;
|
|
347
|
+
lessThanOrEqualTo: (value: FieldValue) => T;
|
|
348
|
+
_: (name: string, value: any) => T;
|
|
349
|
+
}
|
|
350
|
+
const visit: <T>(value: FieldFilter, visitor: Visitor<T>) => T;
|
|
351
|
+
}
|
|
352
|
+
export declare enum Order {
|
|
353
|
+
ASCENDING = "Asc",
|
|
354
|
+
DESCENDING = "Desc",
|
|
355
|
+
}
|
|
356
|
+
export interface Sort {
|
|
357
|
+
fieldId: string | undefined;
|
|
358
|
+
sortOrder: Order | string | undefined;
|
|
359
|
+
}
|
|
360
|
+
export interface SearchCasesResponseItem {
|
|
361
|
+
caseId: string | undefined;
|
|
362
|
+
templateId: string | undefined;
|
|
363
|
+
fields: FieldValue[] | undefined;
|
|
364
|
+
tags?: Record<string, string>;
|
|
365
|
+
}
|
|
366
|
+
export interface SearchCasesResponse {
|
|
367
|
+
nextToken?: string;
|
|
368
|
+
cases: SearchCasesResponseItem[] | undefined;
|
|
369
|
+
}
|
|
370
|
+
export interface UpdateCaseRequest {
|
|
371
|
+
domainId: string | undefined;
|
|
372
|
+
caseId: string | undefined;
|
|
373
|
+
fields: FieldValue[] | undefined;
|
|
374
|
+
}
|
|
375
|
+
export interface UpdateCaseResponse {}
|
|
376
|
+
export interface CreateDomainRequest {
|
|
377
|
+
name: string | undefined;
|
|
378
|
+
}
|
|
379
|
+
export declare enum DomainStatus {
|
|
380
|
+
ACTIVE = "Active",
|
|
381
|
+
CREATION_FAILED = "CreationFailed",
|
|
382
|
+
CREATION_IN_PROGRESS = "CreationInProgress",
|
|
383
|
+
}
|
|
384
|
+
export interface CreateDomainResponse {
|
|
385
|
+
domainId: string | undefined;
|
|
386
|
+
domainArn: string | undefined;
|
|
387
|
+
domainStatus: DomainStatus | string | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface GetCaseEventConfigurationRequest {
|
|
390
|
+
domainId: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
export interface CaseEventIncludedData {
|
|
393
|
+
fields: FieldIdentifier[] | undefined;
|
|
394
|
+
}
|
|
395
|
+
export interface RelatedItemEventIncludedData {
|
|
396
|
+
includeContent: boolean | undefined;
|
|
397
|
+
}
|
|
398
|
+
export interface EventIncludedData {
|
|
399
|
+
caseData?: CaseEventIncludedData;
|
|
400
|
+
relatedItemData?: RelatedItemEventIncludedData;
|
|
401
|
+
}
|
|
402
|
+
export interface EventBridgeConfiguration {
|
|
403
|
+
enabled: boolean | undefined;
|
|
404
|
+
includedData?: EventIncludedData;
|
|
405
|
+
}
|
|
406
|
+
export interface GetCaseEventConfigurationResponse {
|
|
407
|
+
eventBridge: EventBridgeConfiguration | undefined;
|
|
408
|
+
}
|
|
409
|
+
export interface GetDomainRequest {
|
|
410
|
+
domainId: string | undefined;
|
|
411
|
+
}
|
|
412
|
+
export interface GetDomainResponse {
|
|
413
|
+
domainId: string | undefined;
|
|
414
|
+
domainArn: string | undefined;
|
|
415
|
+
name: string | undefined;
|
|
416
|
+
createdTime: Date | undefined;
|
|
417
|
+
domainStatus: DomainStatus | string | undefined;
|
|
418
|
+
tags?: Record<string, string>;
|
|
419
|
+
}
|
|
420
|
+
export interface ListDomainsRequest {
|
|
421
|
+
maxResults?: number;
|
|
422
|
+
nextToken?: string;
|
|
423
|
+
}
|
|
424
|
+
export interface DomainSummary {
|
|
425
|
+
domainId: string | undefined;
|
|
426
|
+
domainArn: string | undefined;
|
|
427
|
+
name: string | undefined;
|
|
428
|
+
}
|
|
429
|
+
export interface ListDomainsResponse {
|
|
430
|
+
domains: DomainSummary[] | undefined;
|
|
431
|
+
nextToken?: string;
|
|
432
|
+
}
|
|
433
|
+
export interface PutCaseEventConfigurationRequest {
|
|
434
|
+
domainId: string | undefined;
|
|
435
|
+
eventBridge: EventBridgeConfiguration | undefined;
|
|
436
|
+
}
|
|
437
|
+
export interface PutCaseEventConfigurationResponse {}
|
|
438
|
+
export interface BatchGetFieldRequest {
|
|
439
|
+
domainId: string | undefined;
|
|
440
|
+
fields: FieldIdentifier[] | undefined;
|
|
441
|
+
}
|
|
442
|
+
export interface FieldError {
|
|
443
|
+
id: string | undefined;
|
|
444
|
+
errorCode: string | undefined;
|
|
445
|
+
message?: string;
|
|
446
|
+
}
|
|
447
|
+
export declare enum FieldNamespace {
|
|
448
|
+
CUSTOM = "Custom",
|
|
449
|
+
SYSTEM = "System",
|
|
450
|
+
}
|
|
451
|
+
export declare enum FieldType {
|
|
452
|
+
BOOLEAN = "Boolean",
|
|
453
|
+
DATE_TIME = "DateTime",
|
|
454
|
+
NUMBER = "Number",
|
|
455
|
+
SINGLE_SELECT = "SingleSelect",
|
|
456
|
+
TEXT = "Text",
|
|
457
|
+
}
|
|
458
|
+
export interface GetFieldResponse {
|
|
459
|
+
fieldId: string | undefined;
|
|
460
|
+
name: string | undefined;
|
|
461
|
+
fieldArn: string | undefined;
|
|
462
|
+
description?: string;
|
|
463
|
+
type: FieldType | string | undefined;
|
|
464
|
+
namespace: FieldNamespace | string | undefined;
|
|
465
|
+
tags?: Record<string, string>;
|
|
466
|
+
}
|
|
467
|
+
export interface BatchGetFieldResponse {
|
|
468
|
+
fields: GetFieldResponse[] | undefined;
|
|
469
|
+
errors: FieldError[] | undefined;
|
|
470
|
+
}
|
|
471
|
+
export interface FieldOption {
|
|
472
|
+
name: string | undefined;
|
|
473
|
+
value: string | undefined;
|
|
474
|
+
active: boolean | undefined;
|
|
475
|
+
}
|
|
476
|
+
export interface BatchPutFieldOptionsRequest {
|
|
477
|
+
domainId: string | undefined;
|
|
478
|
+
fieldId: string | undefined;
|
|
479
|
+
options: FieldOption[] | undefined;
|
|
480
|
+
}
|
|
481
|
+
export interface FieldOptionError {
|
|
482
|
+
message: string | undefined;
|
|
483
|
+
errorCode: string | undefined;
|
|
484
|
+
value: string | undefined;
|
|
485
|
+
}
|
|
486
|
+
export interface BatchPutFieldOptionsResponse {
|
|
487
|
+
errors?: FieldOptionError[];
|
|
488
|
+
}
|
|
489
|
+
export interface CreateFieldRequest {
|
|
490
|
+
domainId: string | undefined;
|
|
491
|
+
name: string | undefined;
|
|
492
|
+
type: FieldType | string | undefined;
|
|
493
|
+
description?: string;
|
|
494
|
+
}
|
|
495
|
+
export interface CreateFieldResponse {
|
|
496
|
+
fieldId: string | undefined;
|
|
497
|
+
fieldArn: string | undefined;
|
|
498
|
+
}
|
|
499
|
+
export interface ListFieldOptionsRequest {
|
|
500
|
+
domainId: string | undefined;
|
|
501
|
+
fieldId: string | undefined;
|
|
502
|
+
maxResults?: number;
|
|
503
|
+
nextToken?: string;
|
|
504
|
+
values?: string[];
|
|
505
|
+
}
|
|
506
|
+
export interface ListFieldOptionsResponse {
|
|
507
|
+
options: FieldOption[] | undefined;
|
|
508
|
+
nextToken?: string;
|
|
509
|
+
}
|
|
510
|
+
export interface ListFieldsRequest {
|
|
511
|
+
domainId: string | undefined;
|
|
512
|
+
maxResults?: number;
|
|
513
|
+
nextToken?: string;
|
|
514
|
+
}
|
|
515
|
+
export interface FieldSummary {
|
|
516
|
+
fieldId: string | undefined;
|
|
517
|
+
fieldArn: string | undefined;
|
|
518
|
+
name: string | undefined;
|
|
519
|
+
type: FieldType | string | undefined;
|
|
520
|
+
namespace: FieldNamespace | string | undefined;
|
|
521
|
+
}
|
|
522
|
+
export interface ListFieldsResponse {
|
|
523
|
+
fields: FieldSummary[] | undefined;
|
|
524
|
+
nextToken?: string;
|
|
525
|
+
}
|
|
526
|
+
export interface UpdateFieldRequest {
|
|
527
|
+
domainId: string | undefined;
|
|
528
|
+
fieldId: string | undefined;
|
|
529
|
+
name?: string;
|
|
530
|
+
description?: string;
|
|
531
|
+
}
|
|
532
|
+
export interface UpdateFieldResponse {}
|
|
533
|
+
export interface FieldItem {
|
|
534
|
+
id: string | undefined;
|
|
535
|
+
}
|
|
536
|
+
export interface FieldGroup {
|
|
537
|
+
name?: string;
|
|
538
|
+
fields: FieldItem[] | undefined;
|
|
539
|
+
}
|
|
540
|
+
export declare type Section = Section.FieldGroupMember | Section.$UnknownMember;
|
|
541
|
+
export declare namespace Section {
|
|
542
|
+
interface FieldGroupMember {
|
|
543
|
+
fieldGroup: FieldGroup;
|
|
544
|
+
$unknown?: never;
|
|
545
|
+
}
|
|
546
|
+
interface $UnknownMember {
|
|
547
|
+
fieldGroup?: never;
|
|
548
|
+
$unknown: [string, any];
|
|
549
|
+
}
|
|
550
|
+
interface Visitor<T> {
|
|
551
|
+
fieldGroup: (value: FieldGroup) => T;
|
|
552
|
+
_: (name: string, value: any) => T;
|
|
553
|
+
}
|
|
554
|
+
const visit: <T>(value: Section, visitor: Visitor<T>) => T;
|
|
555
|
+
}
|
|
556
|
+
export interface LayoutSections {
|
|
557
|
+
sections?: Section[];
|
|
558
|
+
}
|
|
559
|
+
export interface BasicLayout {
|
|
560
|
+
topPanel?: LayoutSections;
|
|
561
|
+
moreInfo?: LayoutSections;
|
|
562
|
+
}
|
|
563
|
+
export declare type LayoutContent =
|
|
564
|
+
| LayoutContent.BasicMember
|
|
565
|
+
| LayoutContent.$UnknownMember;
|
|
566
|
+
export declare namespace LayoutContent {
|
|
567
|
+
interface BasicMember {
|
|
568
|
+
basic: BasicLayout;
|
|
569
|
+
$unknown?: never;
|
|
570
|
+
}
|
|
571
|
+
interface $UnknownMember {
|
|
572
|
+
basic?: never;
|
|
573
|
+
$unknown: [string, any];
|
|
574
|
+
}
|
|
575
|
+
interface Visitor<T> {
|
|
576
|
+
basic: (value: BasicLayout) => T;
|
|
577
|
+
_: (name: string, value: any) => T;
|
|
578
|
+
}
|
|
579
|
+
const visit: <T>(value: LayoutContent, visitor: Visitor<T>) => T;
|
|
580
|
+
}
|
|
581
|
+
export interface CreateLayoutRequest {
|
|
582
|
+
domainId: string | undefined;
|
|
583
|
+
name: string | undefined;
|
|
584
|
+
content: LayoutContent | undefined;
|
|
585
|
+
}
|
|
586
|
+
export interface CreateLayoutResponse {
|
|
587
|
+
layoutId: string | undefined;
|
|
588
|
+
layoutArn: string | undefined;
|
|
589
|
+
}
|
|
590
|
+
export interface GetLayoutRequest {
|
|
591
|
+
domainId: string | undefined;
|
|
592
|
+
layoutId: string | undefined;
|
|
593
|
+
}
|
|
594
|
+
export interface GetLayoutResponse {
|
|
595
|
+
layoutId: string | undefined;
|
|
596
|
+
layoutArn: string | undefined;
|
|
597
|
+
name: string | undefined;
|
|
598
|
+
content: LayoutContent | undefined;
|
|
599
|
+
tags?: Record<string, string>;
|
|
600
|
+
}
|
|
601
|
+
export interface ListLayoutsRequest {
|
|
602
|
+
domainId: string | undefined;
|
|
603
|
+
maxResults?: number;
|
|
604
|
+
nextToken?: string;
|
|
605
|
+
}
|
|
606
|
+
export interface LayoutSummary {
|
|
607
|
+
layoutId: string | undefined;
|
|
608
|
+
layoutArn: string | undefined;
|
|
609
|
+
name: string | undefined;
|
|
610
|
+
}
|
|
611
|
+
export interface ListLayoutsResponse {
|
|
612
|
+
layouts: LayoutSummary[] | undefined;
|
|
613
|
+
nextToken?: string;
|
|
614
|
+
}
|
|
615
|
+
export interface UpdateLayoutRequest {
|
|
616
|
+
domainId: string | undefined;
|
|
617
|
+
layoutId: string | undefined;
|
|
618
|
+
name?: string;
|
|
619
|
+
content?: LayoutContent;
|
|
620
|
+
}
|
|
621
|
+
export interface UpdateLayoutResponse {}
|
|
622
|
+
export interface ListTagsForResourceRequest {
|
|
623
|
+
arn: string | undefined;
|
|
624
|
+
}
|
|
625
|
+
export interface ListTagsForResourceResponse {
|
|
626
|
+
tags?: Record<string, string>;
|
|
627
|
+
}
|
|
628
|
+
export interface TagResourceRequest {
|
|
629
|
+
arn: string | undefined;
|
|
630
|
+
tags: Record<string, string> | undefined;
|
|
631
|
+
}
|
|
632
|
+
export interface LayoutConfiguration {
|
|
633
|
+
defaultLayout?: string;
|
|
634
|
+
}
|
|
635
|
+
export interface RequiredField {
|
|
636
|
+
fieldId: string | undefined;
|
|
637
|
+
}
|
|
638
|
+
export interface CreateTemplateRequest {
|
|
639
|
+
domainId: string | undefined;
|
|
640
|
+
name: string | undefined;
|
|
641
|
+
description?: string;
|
|
642
|
+
layoutConfiguration?: LayoutConfiguration;
|
|
643
|
+
requiredFields?: RequiredField[];
|
|
644
|
+
}
|
|
645
|
+
export interface CreateTemplateResponse {
|
|
646
|
+
templateId: string | undefined;
|
|
647
|
+
templateArn: string | undefined;
|
|
648
|
+
}
|
|
649
|
+
export interface GetTemplateRequest {
|
|
650
|
+
domainId: string | undefined;
|
|
651
|
+
templateId: string | undefined;
|
|
652
|
+
}
|
|
653
|
+
export interface GetTemplateResponse {
|
|
654
|
+
templateId: string | undefined;
|
|
655
|
+
templateArn: string | undefined;
|
|
656
|
+
name: string | undefined;
|
|
657
|
+
description?: string;
|
|
658
|
+
layoutConfiguration?: LayoutConfiguration;
|
|
659
|
+
requiredFields?: RequiredField[];
|
|
660
|
+
tags?: Record<string, string>;
|
|
661
|
+
}
|
|
662
|
+
export interface ListTemplatesRequest {
|
|
663
|
+
domainId: string | undefined;
|
|
664
|
+
maxResults?: number;
|
|
665
|
+
nextToken?: string;
|
|
666
|
+
}
|
|
667
|
+
export interface TemplateSummary {
|
|
668
|
+
templateId: string | undefined;
|
|
669
|
+
templateArn: string | undefined;
|
|
670
|
+
name: string | undefined;
|
|
671
|
+
}
|
|
672
|
+
export interface ListTemplatesResponse {
|
|
673
|
+
templates: TemplateSummary[] | undefined;
|
|
674
|
+
nextToken?: string;
|
|
675
|
+
}
|
|
676
|
+
export interface UpdateTemplateRequest {
|
|
677
|
+
domainId: string | undefined;
|
|
678
|
+
templateId: string | undefined;
|
|
679
|
+
name?: string;
|
|
680
|
+
description?: string;
|
|
681
|
+
layoutConfiguration?: LayoutConfiguration;
|
|
682
|
+
requiredFields?: RequiredField[];
|
|
683
|
+
}
|
|
684
|
+
export interface UpdateTemplateResponse {}
|
|
685
|
+
export interface UntagResourceRequest {
|
|
686
|
+
arn: string | undefined;
|
|
687
|
+
tagKeys: string[] | undefined;
|
|
688
|
+
}
|
|
689
|
+
export declare type CaseFilter =
|
|
690
|
+
| CaseFilter.AndAllMember
|
|
691
|
+
| CaseFilter.FieldMember
|
|
692
|
+
| CaseFilter.NotMember
|
|
693
|
+
| CaseFilter.$UnknownMember;
|
|
694
|
+
export declare namespace CaseFilter {
|
|
695
|
+
interface FieldMember {
|
|
696
|
+
field: FieldFilter;
|
|
697
|
+
not?: never;
|
|
698
|
+
andAll?: never;
|
|
699
|
+
$unknown?: never;
|
|
700
|
+
}
|
|
701
|
+
interface NotMember {
|
|
702
|
+
field?: never;
|
|
703
|
+
not: CaseFilter;
|
|
704
|
+
andAll?: never;
|
|
705
|
+
$unknown?: never;
|
|
706
|
+
}
|
|
707
|
+
interface AndAllMember {
|
|
708
|
+
field?: never;
|
|
709
|
+
not?: never;
|
|
710
|
+
andAll: CaseFilter[];
|
|
711
|
+
$unknown?: never;
|
|
712
|
+
}
|
|
713
|
+
interface $UnknownMember {
|
|
714
|
+
field?: never;
|
|
715
|
+
not?: never;
|
|
716
|
+
andAll?: never;
|
|
717
|
+
$unknown: [string, any];
|
|
718
|
+
}
|
|
719
|
+
interface Visitor<T> {
|
|
720
|
+
field: (value: FieldFilter) => T;
|
|
721
|
+
not: (value: CaseFilter) => T;
|
|
722
|
+
andAll: (value: CaseFilter[]) => T;
|
|
723
|
+
_: (name: string, value: any) => T;
|
|
724
|
+
}
|
|
725
|
+
const visit: <T>(value: CaseFilter, visitor: Visitor<T>) => T;
|
|
726
|
+
}
|
|
727
|
+
export interface SearchCasesRequest {
|
|
728
|
+
domainId: string | undefined;
|
|
729
|
+
maxResults?: number;
|
|
730
|
+
nextToken?: string;
|
|
731
|
+
searchTerm?: string;
|
|
732
|
+
filter?: CaseFilter;
|
|
733
|
+
sorts?: Sort[];
|
|
734
|
+
fields?: FieldIdentifier[];
|
|
735
|
+
}
|
|
736
|
+
export declare const FieldValueUnionFilterSensitiveLog: (
|
|
737
|
+
obj: FieldValueUnion
|
|
738
|
+
) => any;
|
|
739
|
+
export declare const FieldValueFilterSensitiveLog: (obj: FieldValue) => any;
|
|
740
|
+
export declare const CreateCaseRequestFilterSensitiveLog: (
|
|
741
|
+
obj: CreateCaseRequest
|
|
742
|
+
) => any;
|
|
743
|
+
export declare const CreateCaseResponseFilterSensitiveLog: (
|
|
744
|
+
obj: CreateCaseResponse
|
|
745
|
+
) => any;
|
|
746
|
+
export declare const FieldIdentifierFilterSensitiveLog: (
|
|
747
|
+
obj: FieldIdentifier
|
|
748
|
+
) => any;
|
|
749
|
+
export declare const GetCaseRequestFilterSensitiveLog: (
|
|
750
|
+
obj: GetCaseRequest
|
|
751
|
+
) => any;
|
|
752
|
+
export declare const GetCaseResponseFilterSensitiveLog: (
|
|
753
|
+
obj: GetCaseResponse
|
|
754
|
+
) => any;
|
|
755
|
+
export declare const ListCasesForContactRequestFilterSensitiveLog: (
|
|
756
|
+
obj: ListCasesForContactRequest
|
|
757
|
+
) => any;
|
|
758
|
+
export declare const CaseSummaryFilterSensitiveLog: (obj: CaseSummary) => any;
|
|
759
|
+
export declare const ListCasesForContactResponseFilterSensitiveLog: (
|
|
760
|
+
obj: ListCasesForContactResponse
|
|
761
|
+
) => any;
|
|
762
|
+
export declare const CommentContentFilterSensitiveLog: (
|
|
763
|
+
obj: CommentContent
|
|
764
|
+
) => any;
|
|
765
|
+
export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
|
|
766
|
+
export declare const RelatedItemInputContentFilterSensitiveLog: (
|
|
767
|
+
obj: RelatedItemInputContent
|
|
768
|
+
) => any;
|
|
769
|
+
export declare const CreateRelatedItemRequestFilterSensitiveLog: (
|
|
770
|
+
obj: CreateRelatedItemRequest
|
|
771
|
+
) => any;
|
|
772
|
+
export declare const CreateRelatedItemResponseFilterSensitiveLog: (
|
|
773
|
+
obj: CreateRelatedItemResponse
|
|
774
|
+
) => any;
|
|
775
|
+
export declare const CommentFilterFilterSensitiveLog: (
|
|
776
|
+
obj: CommentFilter
|
|
777
|
+
) => any;
|
|
778
|
+
export declare const ContactFilterFilterSensitiveLog: (
|
|
779
|
+
obj: ContactFilter
|
|
780
|
+
) => any;
|
|
781
|
+
export declare const RelatedItemTypeFilterFilterSensitiveLog: (
|
|
782
|
+
obj: RelatedItemTypeFilter
|
|
783
|
+
) => any;
|
|
784
|
+
export declare const SearchRelatedItemsRequestFilterSensitiveLog: (
|
|
785
|
+
obj: SearchRelatedItemsRequest
|
|
786
|
+
) => any;
|
|
787
|
+
export declare const ContactContentFilterSensitiveLog: (
|
|
788
|
+
obj: ContactContent
|
|
789
|
+
) => any;
|
|
790
|
+
export declare const RelatedItemContentFilterSensitiveLog: (
|
|
791
|
+
obj: RelatedItemContent
|
|
792
|
+
) => any;
|
|
793
|
+
export declare const SearchRelatedItemsResponseItemFilterSensitiveLog: (
|
|
794
|
+
obj: SearchRelatedItemsResponseItem
|
|
795
|
+
) => any;
|
|
796
|
+
export declare const SearchRelatedItemsResponseFilterSensitiveLog: (
|
|
797
|
+
obj: SearchRelatedItemsResponse
|
|
798
|
+
) => any;
|
|
799
|
+
export declare const FieldFilterFilterSensitiveLog: (obj: FieldFilter) => any;
|
|
800
|
+
export declare const SortFilterSensitiveLog: (obj: Sort) => any;
|
|
801
|
+
export declare const SearchCasesResponseItemFilterSensitiveLog: (
|
|
802
|
+
obj: SearchCasesResponseItem
|
|
803
|
+
) => any;
|
|
804
|
+
export declare const SearchCasesResponseFilterSensitiveLog: (
|
|
805
|
+
obj: SearchCasesResponse
|
|
806
|
+
) => any;
|
|
807
|
+
export declare const UpdateCaseRequestFilterSensitiveLog: (
|
|
808
|
+
obj: UpdateCaseRequest
|
|
809
|
+
) => any;
|
|
810
|
+
export declare const UpdateCaseResponseFilterSensitiveLog: (
|
|
811
|
+
obj: UpdateCaseResponse
|
|
812
|
+
) => any;
|
|
813
|
+
export declare const CreateDomainRequestFilterSensitiveLog: (
|
|
814
|
+
obj: CreateDomainRequest
|
|
815
|
+
) => any;
|
|
816
|
+
export declare const CreateDomainResponseFilterSensitiveLog: (
|
|
817
|
+
obj: CreateDomainResponse
|
|
818
|
+
) => any;
|
|
819
|
+
export declare const GetCaseEventConfigurationRequestFilterSensitiveLog: (
|
|
820
|
+
obj: GetCaseEventConfigurationRequest
|
|
821
|
+
) => any;
|
|
822
|
+
export declare const CaseEventIncludedDataFilterSensitiveLog: (
|
|
823
|
+
obj: CaseEventIncludedData
|
|
824
|
+
) => any;
|
|
825
|
+
export declare const RelatedItemEventIncludedDataFilterSensitiveLog: (
|
|
826
|
+
obj: RelatedItemEventIncludedData
|
|
827
|
+
) => any;
|
|
828
|
+
export declare const EventIncludedDataFilterSensitiveLog: (
|
|
829
|
+
obj: EventIncludedData
|
|
830
|
+
) => any;
|
|
831
|
+
export declare const EventBridgeConfigurationFilterSensitiveLog: (
|
|
832
|
+
obj: EventBridgeConfiguration
|
|
833
|
+
) => any;
|
|
834
|
+
export declare const GetCaseEventConfigurationResponseFilterSensitiveLog: (
|
|
835
|
+
obj: GetCaseEventConfigurationResponse
|
|
836
|
+
) => any;
|
|
837
|
+
export declare const GetDomainRequestFilterSensitiveLog: (
|
|
838
|
+
obj: GetDomainRequest
|
|
839
|
+
) => any;
|
|
840
|
+
export declare const GetDomainResponseFilterSensitiveLog: (
|
|
841
|
+
obj: GetDomainResponse
|
|
842
|
+
) => any;
|
|
843
|
+
export declare const ListDomainsRequestFilterSensitiveLog: (
|
|
844
|
+
obj: ListDomainsRequest
|
|
845
|
+
) => any;
|
|
846
|
+
export declare const DomainSummaryFilterSensitiveLog: (
|
|
847
|
+
obj: DomainSummary
|
|
848
|
+
) => any;
|
|
849
|
+
export declare const ListDomainsResponseFilterSensitiveLog: (
|
|
850
|
+
obj: ListDomainsResponse
|
|
851
|
+
) => any;
|
|
852
|
+
export declare const PutCaseEventConfigurationRequestFilterSensitiveLog: (
|
|
853
|
+
obj: PutCaseEventConfigurationRequest
|
|
854
|
+
) => any;
|
|
855
|
+
export declare const PutCaseEventConfigurationResponseFilterSensitiveLog: (
|
|
856
|
+
obj: PutCaseEventConfigurationResponse
|
|
857
|
+
) => any;
|
|
858
|
+
export declare const BatchGetFieldRequestFilterSensitiveLog: (
|
|
859
|
+
obj: BatchGetFieldRequest
|
|
860
|
+
) => any;
|
|
861
|
+
export declare const FieldErrorFilterSensitiveLog: (obj: FieldError) => any;
|
|
862
|
+
export declare const GetFieldResponseFilterSensitiveLog: (
|
|
863
|
+
obj: GetFieldResponse
|
|
864
|
+
) => any;
|
|
865
|
+
export declare const BatchGetFieldResponseFilterSensitiveLog: (
|
|
866
|
+
obj: BatchGetFieldResponse
|
|
867
|
+
) => any;
|
|
868
|
+
export declare const FieldOptionFilterSensitiveLog: (obj: FieldOption) => any;
|
|
869
|
+
export declare const BatchPutFieldOptionsRequestFilterSensitiveLog: (
|
|
870
|
+
obj: BatchPutFieldOptionsRequest
|
|
871
|
+
) => any;
|
|
872
|
+
export declare const FieldOptionErrorFilterSensitiveLog: (
|
|
873
|
+
obj: FieldOptionError
|
|
874
|
+
) => any;
|
|
875
|
+
export declare const BatchPutFieldOptionsResponseFilterSensitiveLog: (
|
|
876
|
+
obj: BatchPutFieldOptionsResponse
|
|
877
|
+
) => any;
|
|
878
|
+
export declare const CreateFieldRequestFilterSensitiveLog: (
|
|
879
|
+
obj: CreateFieldRequest
|
|
880
|
+
) => any;
|
|
881
|
+
export declare const CreateFieldResponseFilterSensitiveLog: (
|
|
882
|
+
obj: CreateFieldResponse
|
|
883
|
+
) => any;
|
|
884
|
+
export declare const ListFieldOptionsRequestFilterSensitiveLog: (
|
|
885
|
+
obj: ListFieldOptionsRequest
|
|
886
|
+
) => any;
|
|
887
|
+
export declare const ListFieldOptionsResponseFilterSensitiveLog: (
|
|
888
|
+
obj: ListFieldOptionsResponse
|
|
889
|
+
) => any;
|
|
890
|
+
export declare const ListFieldsRequestFilterSensitiveLog: (
|
|
891
|
+
obj: ListFieldsRequest
|
|
892
|
+
) => any;
|
|
893
|
+
export declare const FieldSummaryFilterSensitiveLog: (obj: FieldSummary) => any;
|
|
894
|
+
export declare const ListFieldsResponseFilterSensitiveLog: (
|
|
895
|
+
obj: ListFieldsResponse
|
|
896
|
+
) => any;
|
|
897
|
+
export declare const UpdateFieldRequestFilterSensitiveLog: (
|
|
898
|
+
obj: UpdateFieldRequest
|
|
899
|
+
) => any;
|
|
900
|
+
export declare const UpdateFieldResponseFilterSensitiveLog: (
|
|
901
|
+
obj: UpdateFieldResponse
|
|
902
|
+
) => any;
|
|
903
|
+
export declare const FieldItemFilterSensitiveLog: (obj: FieldItem) => any;
|
|
904
|
+
export declare const FieldGroupFilterSensitiveLog: (obj: FieldGroup) => any;
|
|
905
|
+
export declare const SectionFilterSensitiveLog: (obj: Section) => any;
|
|
906
|
+
export declare const LayoutSectionsFilterSensitiveLog: (
|
|
907
|
+
obj: LayoutSections
|
|
908
|
+
) => any;
|
|
909
|
+
export declare const BasicLayoutFilterSensitiveLog: (obj: BasicLayout) => any;
|
|
910
|
+
export declare const LayoutContentFilterSensitiveLog: (
|
|
911
|
+
obj: LayoutContent
|
|
912
|
+
) => any;
|
|
913
|
+
export declare const CreateLayoutRequestFilterSensitiveLog: (
|
|
914
|
+
obj: CreateLayoutRequest
|
|
915
|
+
) => any;
|
|
916
|
+
export declare const CreateLayoutResponseFilterSensitiveLog: (
|
|
917
|
+
obj: CreateLayoutResponse
|
|
918
|
+
) => any;
|
|
919
|
+
export declare const GetLayoutRequestFilterSensitiveLog: (
|
|
920
|
+
obj: GetLayoutRequest
|
|
921
|
+
) => any;
|
|
922
|
+
export declare const GetLayoutResponseFilterSensitiveLog: (
|
|
923
|
+
obj: GetLayoutResponse
|
|
924
|
+
) => any;
|
|
925
|
+
export declare const ListLayoutsRequestFilterSensitiveLog: (
|
|
926
|
+
obj: ListLayoutsRequest
|
|
927
|
+
) => any;
|
|
928
|
+
export declare const LayoutSummaryFilterSensitiveLog: (
|
|
929
|
+
obj: LayoutSummary
|
|
930
|
+
) => any;
|
|
931
|
+
export declare const ListLayoutsResponseFilterSensitiveLog: (
|
|
932
|
+
obj: ListLayoutsResponse
|
|
933
|
+
) => any;
|
|
934
|
+
export declare const UpdateLayoutRequestFilterSensitiveLog: (
|
|
935
|
+
obj: UpdateLayoutRequest
|
|
936
|
+
) => any;
|
|
937
|
+
export declare const UpdateLayoutResponseFilterSensitiveLog: (
|
|
938
|
+
obj: UpdateLayoutResponse
|
|
939
|
+
) => any;
|
|
940
|
+
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
941
|
+
obj: ListTagsForResourceRequest
|
|
942
|
+
) => any;
|
|
943
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
944
|
+
obj: ListTagsForResourceResponse
|
|
945
|
+
) => any;
|
|
946
|
+
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
947
|
+
obj: TagResourceRequest
|
|
948
|
+
) => any;
|
|
949
|
+
export declare const LayoutConfigurationFilterSensitiveLog: (
|
|
950
|
+
obj: LayoutConfiguration
|
|
951
|
+
) => any;
|
|
952
|
+
export declare const RequiredFieldFilterSensitiveLog: (
|
|
953
|
+
obj: RequiredField
|
|
954
|
+
) => any;
|
|
955
|
+
export declare const CreateTemplateRequestFilterSensitiveLog: (
|
|
956
|
+
obj: CreateTemplateRequest
|
|
957
|
+
) => any;
|
|
958
|
+
export declare const CreateTemplateResponseFilterSensitiveLog: (
|
|
959
|
+
obj: CreateTemplateResponse
|
|
960
|
+
) => any;
|
|
961
|
+
export declare const GetTemplateRequestFilterSensitiveLog: (
|
|
962
|
+
obj: GetTemplateRequest
|
|
963
|
+
) => any;
|
|
964
|
+
export declare const GetTemplateResponseFilterSensitiveLog: (
|
|
965
|
+
obj: GetTemplateResponse
|
|
966
|
+
) => any;
|
|
967
|
+
export declare const ListTemplatesRequestFilterSensitiveLog: (
|
|
968
|
+
obj: ListTemplatesRequest
|
|
969
|
+
) => any;
|
|
970
|
+
export declare const TemplateSummaryFilterSensitiveLog: (
|
|
971
|
+
obj: TemplateSummary
|
|
972
|
+
) => any;
|
|
973
|
+
export declare const ListTemplatesResponseFilterSensitiveLog: (
|
|
974
|
+
obj: ListTemplatesResponse
|
|
975
|
+
) => any;
|
|
976
|
+
export declare const UpdateTemplateRequestFilterSensitiveLog: (
|
|
977
|
+
obj: UpdateTemplateRequest
|
|
978
|
+
) => any;
|
|
979
|
+
export declare const UpdateTemplateResponseFilterSensitiveLog: (
|
|
980
|
+
obj: UpdateTemplateResponse
|
|
981
|
+
) => any;
|
|
982
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
983
|
+
obj: UntagResourceRequest
|
|
984
|
+
) => any;
|
|
985
|
+
export declare const CaseFilterFilterSensitiveLog: (obj: CaseFilter) => any;
|
|
986
|
+
export declare const SearchCasesRequestFilterSensitiveLog: (
|
|
987
|
+
obj: SearchCasesRequest
|
|
988
|
+
) => any;
|