@aws-sdk/client-connectcases 3.738.0 → 3.743.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/README.md +54 -0
- package/dist-cjs/index.js +410 -1
- package/dist-es/ConnectCases.js +10 -0
- package/dist-es/commands/BatchGetCaseRuleCommand.js +22 -0
- package/dist-es/commands/CreateCaseRuleCommand.js +22 -0
- package/dist-es/commands/DeleteCaseRuleCommand.js +22 -0
- package/dist-es/commands/ListCaseRulesCommand.js +22 -0
- package/dist-es/commands/UpdateCaseRuleCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/pagination/ListCaseRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +261 -1
- package/dist-types/ConnectCases.d.ts +50 -1
- package/dist-types/ConnectCasesClient.d.ts +22 -3
- package/dist-types/commands/BatchGetCaseRuleCommand.d.ts +148 -0
- package/dist-types/commands/CreateCaseCommand.d.ts +0 -1
- package/dist-types/commands/CreateCaseRuleCommand.d.ts +135 -0
- package/dist-types/commands/CreateRelatedItemCommand.d.ts +3 -1
- package/dist-types/commands/CreateTemplateCommand.d.ts +29 -0
- package/dist-types/commands/DeleteCaseRuleCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +0 -1
- package/dist-types/commands/DeleteFieldCommand.d.ts +18 -15
- package/dist-types/commands/DeleteLayoutCommand.d.ts +3 -2
- package/dist-types/commands/GetTemplateCommand.d.ts +29 -1
- package/dist-types/commands/ListCaseRulesCommand.d.ts +101 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +23 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +0 -1
- package/dist-types/commands/UpdateCaseRuleCommand.d.ts +129 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +29 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +15 -1
- package/dist-types/models/models_0.d.ts +573 -1
- package/dist-types/pagination/ListCaseRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/ConnectCases.d.ts +85 -0
- package/dist-types/ts3.4/ConnectCasesClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetCaseRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateCaseRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCaseRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListCaseRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateCaseRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +199 -0
- package/dist-types/ts3.4/pagination/ListCaseRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -24,20 +24,25 @@ __export(src_exports, {
|
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AuditEventFieldValueUnion: () => AuditEventFieldValueUnion,
|
|
26
26
|
AuditEventType: () => AuditEventType,
|
|
27
|
+
BatchGetCaseRuleCommand: () => BatchGetCaseRuleCommand,
|
|
27
28
|
BatchGetFieldCommand: () => BatchGetFieldCommand,
|
|
28
29
|
BatchPutFieldOptionsCommand: () => BatchPutFieldOptionsCommand,
|
|
30
|
+
BooleanCondition: () => BooleanCondition,
|
|
29
31
|
CaseFilter: () => CaseFilter,
|
|
32
|
+
CaseRuleDetails: () => CaseRuleDetails,
|
|
30
33
|
CommentBodyTextType: () => CommentBodyTextType,
|
|
31
34
|
ConflictException: () => ConflictException,
|
|
32
35
|
ConnectCases: () => ConnectCases,
|
|
33
36
|
ConnectCasesClient: () => ConnectCasesClient,
|
|
34
37
|
ConnectCasesServiceException: () => ConnectCasesServiceException,
|
|
35
38
|
CreateCaseCommand: () => CreateCaseCommand,
|
|
39
|
+
CreateCaseRuleCommand: () => CreateCaseRuleCommand,
|
|
36
40
|
CreateDomainCommand: () => CreateDomainCommand,
|
|
37
41
|
CreateFieldCommand: () => CreateFieldCommand,
|
|
38
42
|
CreateLayoutCommand: () => CreateLayoutCommand,
|
|
39
43
|
CreateRelatedItemCommand: () => CreateRelatedItemCommand,
|
|
40
44
|
CreateTemplateCommand: () => CreateTemplateCommand,
|
|
45
|
+
DeleteCaseRuleCommand: () => DeleteCaseRuleCommand,
|
|
41
46
|
DeleteDomainCommand: () => DeleteDomainCommand,
|
|
42
47
|
DeleteFieldCommand: () => DeleteFieldCommand,
|
|
43
48
|
DeleteLayoutCommand: () => DeleteLayoutCommand,
|
|
@@ -55,6 +60,7 @@ __export(src_exports, {
|
|
|
55
60
|
GetTemplateCommand: () => GetTemplateCommand,
|
|
56
61
|
InternalServerException: () => InternalServerException,
|
|
57
62
|
LayoutContent: () => LayoutContent,
|
|
63
|
+
ListCaseRulesCommand: () => ListCaseRulesCommand,
|
|
58
64
|
ListCasesForContactCommand: () => ListCasesForContactCommand,
|
|
59
65
|
ListDomainsCommand: () => ListDomainsCommand,
|
|
60
66
|
ListFieldOptionsCommand: () => ListFieldOptionsCommand,
|
|
@@ -62,6 +68,8 @@ __export(src_exports, {
|
|
|
62
68
|
ListLayoutsCommand: () => ListLayoutsCommand,
|
|
63
69
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
64
70
|
ListTemplatesCommand: () => ListTemplatesCommand,
|
|
71
|
+
OperandOne: () => OperandOne,
|
|
72
|
+
OperandTwo: () => OperandTwo,
|
|
65
73
|
Order: () => Order,
|
|
66
74
|
PutCaseEventConfigurationCommand: () => PutCaseEventConfigurationCommand,
|
|
67
75
|
RelatedItemContent: () => RelatedItemContent,
|
|
@@ -69,6 +77,7 @@ __export(src_exports, {
|
|
|
69
77
|
RelatedItemType: () => RelatedItemType,
|
|
70
78
|
RelatedItemTypeFilter: () => RelatedItemTypeFilter,
|
|
71
79
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
80
|
+
RuleType: () => RuleType,
|
|
72
81
|
SearchCasesCommand: () => SearchCasesCommand,
|
|
73
82
|
SearchRelatedItemsCommand: () => SearchRelatedItemsCommand,
|
|
74
83
|
Section: () => Section,
|
|
@@ -78,6 +87,7 @@ __export(src_exports, {
|
|
|
78
87
|
ThrottlingException: () => ThrottlingException,
|
|
79
88
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
80
89
|
UpdateCaseCommand: () => UpdateCaseCommand,
|
|
90
|
+
UpdateCaseRuleCommand: () => UpdateCaseRuleCommand,
|
|
81
91
|
UpdateFieldCommand: () => UpdateFieldCommand,
|
|
82
92
|
UpdateLayoutCommand: () => UpdateLayoutCommand,
|
|
83
93
|
UpdateTemplateCommand: () => UpdateTemplateCommand,
|
|
@@ -86,6 +96,7 @@ __export(src_exports, {
|
|
|
86
96
|
__Client: () => import_smithy_client.Client,
|
|
87
97
|
paginateGetCase: () => paginateGetCase,
|
|
88
98
|
paginateGetCaseAuditEvents: () => paginateGetCaseAuditEvents,
|
|
99
|
+
paginateListCaseRules: () => paginateListCaseRules,
|
|
89
100
|
paginateListCasesForContact: () => paginateListCasesForContact,
|
|
90
101
|
paginateListDomains: () => paginateListDomains,
|
|
91
102
|
paginateListFieldOptions: () => paginateListFieldOptions,
|
|
@@ -242,7 +253,7 @@ var ConnectCasesClient = class extends import_smithy_client.Client {
|
|
|
242
253
|
// src/ConnectCases.ts
|
|
243
254
|
|
|
244
255
|
|
|
245
|
-
// src/commands/
|
|
256
|
+
// src/commands/BatchGetCaseRuleCommand.ts
|
|
246
257
|
|
|
247
258
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
248
259
|
|
|
@@ -526,6 +537,49 @@ var Order = {
|
|
|
526
537
|
ASCENDING: "Asc",
|
|
527
538
|
DESCENDING: "Desc"
|
|
528
539
|
};
|
|
540
|
+
var OperandOne;
|
|
541
|
+
((OperandOne3) => {
|
|
542
|
+
OperandOne3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
543
|
+
if (value.fieldId !== void 0)
|
|
544
|
+
return visitor.fieldId(value.fieldId);
|
|
545
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
546
|
+
}, "visit");
|
|
547
|
+
})(OperandOne || (OperandOne = {}));
|
|
548
|
+
var OperandTwo;
|
|
549
|
+
((OperandTwo2) => {
|
|
550
|
+
OperandTwo2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
551
|
+
if (value.stringValue !== void 0)
|
|
552
|
+
return visitor.stringValue(value.stringValue);
|
|
553
|
+
if (value.booleanValue !== void 0)
|
|
554
|
+
return visitor.booleanValue(value.booleanValue);
|
|
555
|
+
if (value.doubleValue !== void 0)
|
|
556
|
+
return visitor.doubleValue(value.doubleValue);
|
|
557
|
+
if (value.emptyValue !== void 0)
|
|
558
|
+
return visitor.emptyValue(value.emptyValue);
|
|
559
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
560
|
+
}, "visit");
|
|
561
|
+
})(OperandTwo || (OperandTwo = {}));
|
|
562
|
+
var BooleanCondition;
|
|
563
|
+
((BooleanCondition2) => {
|
|
564
|
+
BooleanCondition2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
565
|
+
if (value.equalTo !== void 0)
|
|
566
|
+
return visitor.equalTo(value.equalTo);
|
|
567
|
+
if (value.notEqualTo !== void 0)
|
|
568
|
+
return visitor.notEqualTo(value.notEqualTo);
|
|
569
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
570
|
+
}, "visit");
|
|
571
|
+
})(BooleanCondition || (BooleanCondition = {}));
|
|
572
|
+
var CaseRuleDetails;
|
|
573
|
+
((CaseRuleDetails2) => {
|
|
574
|
+
CaseRuleDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
575
|
+
if (value.required !== void 0)
|
|
576
|
+
return visitor.required(value.required);
|
|
577
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
578
|
+
}, "visit");
|
|
579
|
+
})(CaseRuleDetails || (CaseRuleDetails = {}));
|
|
580
|
+
var RuleType = {
|
|
581
|
+
REQUIRED: "Required"
|
|
582
|
+
};
|
|
529
583
|
var DomainStatus = {
|
|
530
584
|
ACTIVE: "Active",
|
|
531
585
|
CREATION_FAILED: "CreationFailed",
|
|
@@ -580,6 +634,22 @@ var CaseFilter;
|
|
|
580
634
|
})(CaseFilter || (CaseFilter = {}));
|
|
581
635
|
|
|
582
636
|
// src/protocols/Aws_restJson1.ts
|
|
637
|
+
var se_BatchGetCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
638
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
639
|
+
const headers = {
|
|
640
|
+
"content-type": "application/json"
|
|
641
|
+
};
|
|
642
|
+
b.bp("/domains/{domainId}/rules-batch");
|
|
643
|
+
b.p("domainId", () => input.domainId, "{domainId}", false);
|
|
644
|
+
let body;
|
|
645
|
+
body = JSON.stringify(
|
|
646
|
+
(0, import_smithy_client.take)(input, {
|
|
647
|
+
caseRules: (_) => (0, import_smithy_client._json)(_)
|
|
648
|
+
})
|
|
649
|
+
);
|
|
650
|
+
b.m("POST").h(headers).b(body);
|
|
651
|
+
return b.build();
|
|
652
|
+
}, "se_BatchGetCaseRuleCommand");
|
|
583
653
|
var se_BatchGetFieldCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
654
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
585
655
|
const headers = {
|
|
@@ -632,6 +702,24 @@ var se_CreateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
632
702
|
b.m("POST").h(headers).b(body);
|
|
633
703
|
return b.build();
|
|
634
704
|
}, "se_CreateCaseCommand");
|
|
705
|
+
var se_CreateCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
706
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
707
|
+
const headers = {
|
|
708
|
+
"content-type": "application/json"
|
|
709
|
+
};
|
|
710
|
+
b.bp("/domains/{domainId}/case-rules");
|
|
711
|
+
b.p("domainId", () => input.domainId, "{domainId}", false);
|
|
712
|
+
let body;
|
|
713
|
+
body = JSON.stringify(
|
|
714
|
+
(0, import_smithy_client.take)(input, {
|
|
715
|
+
description: [],
|
|
716
|
+
name: [],
|
|
717
|
+
rule: (_) => se_CaseRuleDetails(_, context)
|
|
718
|
+
})
|
|
719
|
+
);
|
|
720
|
+
b.m("POST").h(headers).b(body);
|
|
721
|
+
return b.build();
|
|
722
|
+
}, "se_CreateCaseRuleCommand");
|
|
635
723
|
var se_CreateDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
636
724
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
637
725
|
const headers = {
|
|
@@ -715,12 +803,23 @@ var se_CreateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
715
803
|
layoutConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
716
804
|
name: [],
|
|
717
805
|
requiredFields: (_) => (0, import_smithy_client._json)(_),
|
|
806
|
+
rules: (_) => (0, import_smithy_client._json)(_),
|
|
718
807
|
status: []
|
|
719
808
|
})
|
|
720
809
|
);
|
|
721
810
|
b.m("POST").h(headers).b(body);
|
|
722
811
|
return b.build();
|
|
723
812
|
}, "se_CreateTemplateCommand");
|
|
813
|
+
var se_DeleteCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
814
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
815
|
+
const headers = {};
|
|
816
|
+
b.bp("/domains/{domainId}/case-rules/{caseRuleId}");
|
|
817
|
+
b.p("domainId", () => input.domainId, "{domainId}", false);
|
|
818
|
+
b.p("caseRuleId", () => input.caseRuleId, "{caseRuleId}", false);
|
|
819
|
+
let body;
|
|
820
|
+
b.m("DELETE").h(headers).b(body);
|
|
821
|
+
return b.build();
|
|
822
|
+
}, "se_DeleteCaseRuleCommand");
|
|
724
823
|
var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
725
824
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
726
825
|
const headers = {};
|
|
@@ -834,6 +933,19 @@ var se_GetTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
834
933
|
b.m("POST").h(headers).b(body);
|
|
835
934
|
return b.build();
|
|
836
935
|
}, "se_GetTemplateCommand");
|
|
936
|
+
var se_ListCaseRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
937
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
938
|
+
const headers = {};
|
|
939
|
+
b.bp("/domains/{domainId}/rules-list");
|
|
940
|
+
b.p("domainId", () => input.domainId, "{domainId}", false);
|
|
941
|
+
const query = (0, import_smithy_client.map)({
|
|
942
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
943
|
+
[_nT]: [, input[_nT]]
|
|
944
|
+
});
|
|
945
|
+
let body;
|
|
946
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
947
|
+
return b.build();
|
|
948
|
+
}, "se_ListCaseRulesCommand");
|
|
837
949
|
var se_ListCasesForContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
838
950
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
839
951
|
const headers = {
|
|
@@ -1030,6 +1142,25 @@ var se_UpdateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1030
1142
|
b.m("PUT").h(headers).b(body);
|
|
1031
1143
|
return b.build();
|
|
1032
1144
|
}, "se_UpdateCaseCommand");
|
|
1145
|
+
var se_UpdateCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1146
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1147
|
+
const headers = {
|
|
1148
|
+
"content-type": "application/json"
|
|
1149
|
+
};
|
|
1150
|
+
b.bp("/domains/{domainId}/case-rules/{caseRuleId}");
|
|
1151
|
+
b.p("domainId", () => input.domainId, "{domainId}", false);
|
|
1152
|
+
b.p("caseRuleId", () => input.caseRuleId, "{caseRuleId}", false);
|
|
1153
|
+
let body;
|
|
1154
|
+
body = JSON.stringify(
|
|
1155
|
+
(0, import_smithy_client.take)(input, {
|
|
1156
|
+
description: [],
|
|
1157
|
+
name: [],
|
|
1158
|
+
rule: (_) => se_CaseRuleDetails(_, context)
|
|
1159
|
+
})
|
|
1160
|
+
);
|
|
1161
|
+
b.m("PUT").h(headers).b(body);
|
|
1162
|
+
return b.build();
|
|
1163
|
+
}, "se_UpdateCaseRuleCommand");
|
|
1033
1164
|
var se_UpdateFieldCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1034
1165
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1035
1166
|
const headers = {
|
|
@@ -1081,12 +1212,28 @@ var se_UpdateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1081
1212
|
layoutConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1082
1213
|
name: [],
|
|
1083
1214
|
requiredFields: (_) => (0, import_smithy_client._json)(_),
|
|
1215
|
+
rules: (_) => (0, import_smithy_client._json)(_),
|
|
1084
1216
|
status: []
|
|
1085
1217
|
})
|
|
1086
1218
|
);
|
|
1087
1219
|
b.m("PUT").h(headers).b(body);
|
|
1088
1220
|
return b.build();
|
|
1089
1221
|
}, "se_UpdateTemplateCommand");
|
|
1222
|
+
var de_BatchGetCaseRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1223
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1224
|
+
return de_CommandError(output, context);
|
|
1225
|
+
}
|
|
1226
|
+
const contents = (0, import_smithy_client.map)({
|
|
1227
|
+
$metadata: deserializeMetadata(output)
|
|
1228
|
+
});
|
|
1229
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1230
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1231
|
+
caseRules: (_) => de_BatchGetCaseRuleList(_, context),
|
|
1232
|
+
errors: import_smithy_client._json
|
|
1233
|
+
});
|
|
1234
|
+
Object.assign(contents, doc);
|
|
1235
|
+
return contents;
|
|
1236
|
+
}, "de_BatchGetCaseRuleCommand");
|
|
1090
1237
|
var de_BatchGetFieldCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1091
1238
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1092
1239
|
return de_CommandError(output, context);
|
|
@@ -1131,6 +1278,21 @@ var de_CreateCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1131
1278
|
Object.assign(contents, doc);
|
|
1132
1279
|
return contents;
|
|
1133
1280
|
}, "de_CreateCaseCommand");
|
|
1281
|
+
var de_CreateCaseRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1282
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1283
|
+
return de_CommandError(output, context);
|
|
1284
|
+
}
|
|
1285
|
+
const contents = (0, import_smithy_client.map)({
|
|
1286
|
+
$metadata: deserializeMetadata(output)
|
|
1287
|
+
});
|
|
1288
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1289
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1290
|
+
caseRuleArn: import_smithy_client.expectString,
|
|
1291
|
+
caseRuleId: import_smithy_client.expectString
|
|
1292
|
+
});
|
|
1293
|
+
Object.assign(contents, doc);
|
|
1294
|
+
return contents;
|
|
1295
|
+
}, "de_CreateCaseRuleCommand");
|
|
1134
1296
|
var de_CreateDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1135
1297
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
1298
|
return de_CommandError(output, context);
|
|
@@ -1207,6 +1369,16 @@ var de_CreateTemplateCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1207
1369
|
Object.assign(contents, doc);
|
|
1208
1370
|
return contents;
|
|
1209
1371
|
}, "de_CreateTemplateCommand");
|
|
1372
|
+
var de_DeleteCaseRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1373
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1374
|
+
return de_CommandError(output, context);
|
|
1375
|
+
}
|
|
1376
|
+
const contents = (0, import_smithy_client.map)({
|
|
1377
|
+
$metadata: deserializeMetadata(output)
|
|
1378
|
+
});
|
|
1379
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1380
|
+
return contents;
|
|
1381
|
+
}, "de_DeleteCaseRuleCommand");
|
|
1210
1382
|
var de_DeleteDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1211
1383
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1212
1384
|
return de_CommandError(output, context);
|
|
@@ -1349,6 +1521,7 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1349
1521
|
layoutConfiguration: import_smithy_client._json,
|
|
1350
1522
|
name: import_smithy_client.expectString,
|
|
1351
1523
|
requiredFields: import_smithy_client._json,
|
|
1524
|
+
rules: import_smithy_client._json,
|
|
1352
1525
|
status: import_smithy_client.expectString,
|
|
1353
1526
|
tags: (_) => de_Tags(_, context),
|
|
1354
1527
|
templateArn: import_smithy_client.expectString,
|
|
@@ -1357,6 +1530,21 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1357
1530
|
Object.assign(contents, doc);
|
|
1358
1531
|
return contents;
|
|
1359
1532
|
}, "de_GetTemplateCommand");
|
|
1533
|
+
var de_ListCaseRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1534
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1535
|
+
return de_CommandError(output, context);
|
|
1536
|
+
}
|
|
1537
|
+
const contents = (0, import_smithy_client.map)({
|
|
1538
|
+
$metadata: deserializeMetadata(output)
|
|
1539
|
+
});
|
|
1540
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1541
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1542
|
+
caseRules: import_smithy_client._json,
|
|
1543
|
+
nextToken: import_smithy_client.expectString
|
|
1544
|
+
});
|
|
1545
|
+
Object.assign(contents, doc);
|
|
1546
|
+
return contents;
|
|
1547
|
+
}, "de_ListCaseRulesCommand");
|
|
1360
1548
|
var de_ListCasesForContactCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1361
1549
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1362
1550
|
return de_CommandError(output, context);
|
|
@@ -1531,6 +1719,16 @@ var de_UpdateCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1531
1719
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1532
1720
|
return contents;
|
|
1533
1721
|
}, "de_UpdateCaseCommand");
|
|
1722
|
+
var de_UpdateCaseRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1723
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1724
|
+
return de_CommandError(output, context);
|
|
1725
|
+
}
|
|
1726
|
+
const contents = (0, import_smithy_client.map)({
|
|
1727
|
+
$metadata: deserializeMetadata(output)
|
|
1728
|
+
});
|
|
1729
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1730
|
+
return contents;
|
|
1731
|
+
}, "de_UpdateCaseRuleCommand");
|
|
1534
1732
|
var de_UpdateFieldCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1535
1733
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1536
1734
|
return de_CommandError(output, context);
|
|
@@ -1694,6 +1892,25 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1694
1892
|
});
|
|
1695
1893
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1696
1894
|
}, "de_ValidationExceptionRes");
|
|
1895
|
+
var se_BooleanCondition = /* @__PURE__ */ __name((input, context) => {
|
|
1896
|
+
return BooleanCondition.visit(input, {
|
|
1897
|
+
equalTo: (value) => ({ equalTo: se_BooleanOperands(value, context) }),
|
|
1898
|
+
notEqualTo: (value) => ({ notEqualTo: se_BooleanOperands(value, context) }),
|
|
1899
|
+
_: (name, value) => ({ name: value })
|
|
1900
|
+
});
|
|
1901
|
+
}, "se_BooleanCondition");
|
|
1902
|
+
var se_BooleanConditionList = /* @__PURE__ */ __name((input, context) => {
|
|
1903
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
1904
|
+
return se_BooleanCondition(entry, context);
|
|
1905
|
+
});
|
|
1906
|
+
}, "se_BooleanConditionList");
|
|
1907
|
+
var se_BooleanOperands = /* @__PURE__ */ __name((input, context) => {
|
|
1908
|
+
return (0, import_smithy_client.take)(input, {
|
|
1909
|
+
operandOne: import_smithy_client._json,
|
|
1910
|
+
operandTwo: (_) => se_OperandTwo(_, context),
|
|
1911
|
+
result: []
|
|
1912
|
+
});
|
|
1913
|
+
}, "se_BooleanOperands");
|
|
1697
1914
|
var se_CaseFilter = /* @__PURE__ */ __name((input, context) => {
|
|
1698
1915
|
return CaseFilter.visit(input, {
|
|
1699
1916
|
andAll: (value) => ({ andAll: se_CaseFilterList(value, context) }),
|
|
@@ -1708,6 +1925,12 @@ var se_CaseFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
|
1708
1925
|
return se_CaseFilter(entry, context);
|
|
1709
1926
|
});
|
|
1710
1927
|
}, "se_CaseFilterList");
|
|
1928
|
+
var se_CaseRuleDetails = /* @__PURE__ */ __name((input, context) => {
|
|
1929
|
+
return CaseRuleDetails.visit(input, {
|
|
1930
|
+
required: (value) => ({ required: se_RequiredCaseRule(value, context) }),
|
|
1931
|
+
_: (name, value) => ({ name: value })
|
|
1932
|
+
});
|
|
1933
|
+
}, "se_CaseRuleDetails");
|
|
1711
1934
|
var se_FieldFilter = /* @__PURE__ */ __name((input, context) => {
|
|
1712
1935
|
return FieldFilter.visit(input, {
|
|
1713
1936
|
contains: (value) => ({ contains: se_FieldValue(value, context) }),
|
|
@@ -1740,6 +1963,21 @@ var se_FieldValueUnion = /* @__PURE__ */ __name((input, context) => {
|
|
|
1740
1963
|
_: (name, value) => ({ name: value })
|
|
1741
1964
|
});
|
|
1742
1965
|
}, "se_FieldValueUnion");
|
|
1966
|
+
var se_OperandTwo = /* @__PURE__ */ __name((input, context) => {
|
|
1967
|
+
return OperandTwo.visit(input, {
|
|
1968
|
+
booleanValue: (value) => ({ booleanValue: value }),
|
|
1969
|
+
doubleValue: (value) => ({ doubleValue: (0, import_smithy_client.serializeFloat)(value) }),
|
|
1970
|
+
emptyValue: (value) => ({ emptyValue: (0, import_smithy_client._json)(value) }),
|
|
1971
|
+
stringValue: (value) => ({ stringValue: value }),
|
|
1972
|
+
_: (name, value) => ({ name: value })
|
|
1973
|
+
});
|
|
1974
|
+
}, "se_OperandTwo");
|
|
1975
|
+
var se_RequiredCaseRule = /* @__PURE__ */ __name((input, context) => {
|
|
1976
|
+
return (0, import_smithy_client.take)(input, {
|
|
1977
|
+
conditions: (_) => se_BooleanConditionList(_, context),
|
|
1978
|
+
defaultValue: []
|
|
1979
|
+
});
|
|
1980
|
+
}, "se_RequiredCaseRule");
|
|
1743
1981
|
var se_Tags = /* @__PURE__ */ __name((input, context) => {
|
|
1744
1982
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1745
1983
|
if (value === null) {
|
|
@@ -1805,12 +2043,52 @@ var de_AuditEventsList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1805
2043
|
});
|
|
1806
2044
|
return retVal;
|
|
1807
2045
|
}, "de_AuditEventsList");
|
|
2046
|
+
var de_BatchGetCaseRuleList = /* @__PURE__ */ __name((output, context) => {
|
|
2047
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2048
|
+
return de_GetCaseRuleResponse(entry, context);
|
|
2049
|
+
});
|
|
2050
|
+
return retVal;
|
|
2051
|
+
}, "de_BatchGetCaseRuleList");
|
|
1808
2052
|
var de_BatchGetFieldList = /* @__PURE__ */ __name((output, context) => {
|
|
1809
2053
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1810
2054
|
return de_GetFieldResponse(entry, context);
|
|
1811
2055
|
});
|
|
1812
2056
|
return retVal;
|
|
1813
2057
|
}, "de_BatchGetFieldList");
|
|
2058
|
+
var de_BooleanCondition = /* @__PURE__ */ __name((output, context) => {
|
|
2059
|
+
if (output.equalTo != null) {
|
|
2060
|
+
return {
|
|
2061
|
+
equalTo: de_BooleanOperands(output.equalTo, context)
|
|
2062
|
+
};
|
|
2063
|
+
}
|
|
2064
|
+
if (output.notEqualTo != null) {
|
|
2065
|
+
return {
|
|
2066
|
+
notEqualTo: de_BooleanOperands(output.notEqualTo, context)
|
|
2067
|
+
};
|
|
2068
|
+
}
|
|
2069
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2070
|
+
}, "de_BooleanCondition");
|
|
2071
|
+
var de_BooleanConditionList = /* @__PURE__ */ __name((output, context) => {
|
|
2072
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2073
|
+
return de_BooleanCondition((0, import_core2.awsExpectUnion)(entry), context);
|
|
2074
|
+
});
|
|
2075
|
+
return retVal;
|
|
2076
|
+
}, "de_BooleanConditionList");
|
|
2077
|
+
var de_BooleanOperands = /* @__PURE__ */ __name((output, context) => {
|
|
2078
|
+
return (0, import_smithy_client.take)(output, {
|
|
2079
|
+
operandOne: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2080
|
+
operandTwo: (_) => de_OperandTwo((0, import_core2.awsExpectUnion)(_), context),
|
|
2081
|
+
result: import_smithy_client.expectBoolean
|
|
2082
|
+
});
|
|
2083
|
+
}, "de_BooleanOperands");
|
|
2084
|
+
var de_CaseRuleDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2085
|
+
if (output.required != null) {
|
|
2086
|
+
return {
|
|
2087
|
+
required: de_RequiredCaseRule(output.required, context)
|
|
2088
|
+
};
|
|
2089
|
+
}
|
|
2090
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2091
|
+
}, "de_CaseRuleDetails");
|
|
1814
2092
|
var de_ContactContent = /* @__PURE__ */ __name((output, context) => {
|
|
1815
2093
|
return (0, import_smithy_client.take)(output, {
|
|
1816
2094
|
channel: import_smithy_client.expectString,
|
|
@@ -1850,6 +2128,19 @@ var de_FieldValueUnion = /* @__PURE__ */ __name((output, context) => {
|
|
|
1850
2128
|
}
|
|
1851
2129
|
return { $unknown: Object.entries(output)[0] };
|
|
1852
2130
|
}, "de_FieldValueUnion");
|
|
2131
|
+
var de_GetCaseRuleResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2132
|
+
return (0, import_smithy_client.take)(output, {
|
|
2133
|
+
caseRuleArn: import_smithy_client.expectString,
|
|
2134
|
+
caseRuleId: import_smithy_client.expectString,
|
|
2135
|
+
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2136
|
+
deleted: import_smithy_client.expectBoolean,
|
|
2137
|
+
description: import_smithy_client.expectString,
|
|
2138
|
+
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2139
|
+
name: import_smithy_client.expectString,
|
|
2140
|
+
rule: (_) => de_CaseRuleDetails((0, import_core2.awsExpectUnion)(_), context),
|
|
2141
|
+
tags: (_) => de_Tags(_, context)
|
|
2142
|
+
});
|
|
2143
|
+
}, "de_GetCaseRuleResponse");
|
|
1853
2144
|
var de_GetFieldResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1854
2145
|
return (0, import_smithy_client.take)(output, {
|
|
1855
2146
|
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1864,6 +2155,23 @@ var de_GetFieldResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1864
2155
|
type: import_smithy_client.expectString
|
|
1865
2156
|
});
|
|
1866
2157
|
}, "de_GetFieldResponse");
|
|
2158
|
+
var de_OperandTwo = /* @__PURE__ */ __name((output, context) => {
|
|
2159
|
+
if ((0, import_smithy_client.expectBoolean)(output.booleanValue) !== void 0) {
|
|
2160
|
+
return { booleanValue: (0, import_smithy_client.expectBoolean)(output.booleanValue) };
|
|
2161
|
+
}
|
|
2162
|
+
if ((0, import_smithy_client.limitedParseDouble)(output.doubleValue) !== void 0) {
|
|
2163
|
+
return { doubleValue: (0, import_smithy_client.limitedParseDouble)(output.doubleValue) };
|
|
2164
|
+
}
|
|
2165
|
+
if (output.emptyValue != null) {
|
|
2166
|
+
return {
|
|
2167
|
+
emptyValue: (0, import_smithy_client._json)(output.emptyValue)
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
if ((0, import_smithy_client.expectString)(output.stringValue) !== void 0) {
|
|
2171
|
+
return { stringValue: (0, import_smithy_client.expectString)(output.stringValue) };
|
|
2172
|
+
}
|
|
2173
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2174
|
+
}, "de_OperandTwo");
|
|
1867
2175
|
var de_RelatedItemContent = /* @__PURE__ */ __name((output, context) => {
|
|
1868
2176
|
if (output.comment != null) {
|
|
1869
2177
|
return {
|
|
@@ -1882,6 +2190,12 @@ var de_RelatedItemContent = /* @__PURE__ */ __name((output, context) => {
|
|
|
1882
2190
|
}
|
|
1883
2191
|
return { $unknown: Object.entries(output)[0] };
|
|
1884
2192
|
}, "de_RelatedItemContent");
|
|
2193
|
+
var de_RequiredCaseRule = /* @__PURE__ */ __name((output, context) => {
|
|
2194
|
+
return (0, import_smithy_client.take)(output, {
|
|
2195
|
+
conditions: (_) => de_BooleanConditionList(_, context),
|
|
2196
|
+
defaultValue: import_smithy_client.expectBoolean
|
|
2197
|
+
});
|
|
2198
|
+
}, "de_RequiredCaseRule");
|
|
1885
2199
|
var de_SearchCasesResponseItem = /* @__PURE__ */ __name((output, context) => {
|
|
1886
2200
|
return (0, import_smithy_client.take)(output, {
|
|
1887
2201
|
caseId: import_smithy_client.expectString,
|
|
@@ -1942,7 +2256,22 @@ var _s = "status";
|
|
|
1942
2256
|
var _tK = "tagKeys";
|
|
1943
2257
|
var _v = "values";
|
|
1944
2258
|
|
|
2259
|
+
// src/commands/BatchGetCaseRuleCommand.ts
|
|
2260
|
+
var BatchGetCaseRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2261
|
+
return [
|
|
2262
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2263
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2264
|
+
];
|
|
2265
|
+
}).s("AmazonConnectCases", "BatchGetCaseRule", {}).n("ConnectCasesClient", "BatchGetCaseRuleCommand").f(void 0, void 0).ser(se_BatchGetCaseRuleCommand).de(de_BatchGetCaseRuleCommand).build() {
|
|
2266
|
+
static {
|
|
2267
|
+
__name(this, "BatchGetCaseRuleCommand");
|
|
2268
|
+
}
|
|
2269
|
+
};
|
|
2270
|
+
|
|
1945
2271
|
// src/commands/BatchGetFieldCommand.ts
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
|
|
1946
2275
|
var BatchGetFieldCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1947
2276
|
return [
|
|
1948
2277
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -1984,6 +2313,21 @@ var CreateCaseCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
1984
2313
|
}
|
|
1985
2314
|
};
|
|
1986
2315
|
|
|
2316
|
+
// src/commands/CreateCaseRuleCommand.ts
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
var CreateCaseRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2321
|
+
return [
|
|
2322
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2323
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2324
|
+
];
|
|
2325
|
+
}).s("AmazonConnectCases", "CreateCaseRule", {}).n("ConnectCasesClient", "CreateCaseRuleCommand").f(void 0, void 0).ser(se_CreateCaseRuleCommand).de(de_CreateCaseRuleCommand).build() {
|
|
2326
|
+
static {
|
|
2327
|
+
__name(this, "CreateCaseRuleCommand");
|
|
2328
|
+
}
|
|
2329
|
+
};
|
|
2330
|
+
|
|
1987
2331
|
// src/commands/CreateDomainCommand.ts
|
|
1988
2332
|
|
|
1989
2333
|
|
|
@@ -2059,6 +2403,21 @@ var CreateTemplateCommand = class extends import_smithy_client.Command.classBuil
|
|
|
2059
2403
|
}
|
|
2060
2404
|
};
|
|
2061
2405
|
|
|
2406
|
+
// src/commands/DeleteCaseRuleCommand.ts
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
var DeleteCaseRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2411
|
+
return [
|
|
2412
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2413
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2414
|
+
];
|
|
2415
|
+
}).s("AmazonConnectCases", "DeleteCaseRule", {}).n("ConnectCasesClient", "DeleteCaseRuleCommand").f(void 0, void 0).ser(se_DeleteCaseRuleCommand).de(de_DeleteCaseRuleCommand).build() {
|
|
2416
|
+
static {
|
|
2417
|
+
__name(this, "DeleteCaseRuleCommand");
|
|
2418
|
+
}
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2062
2421
|
// src/commands/DeleteDomainCommand.ts
|
|
2063
2422
|
|
|
2064
2423
|
|
|
@@ -2209,6 +2568,21 @@ var GetTemplateCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
2209
2568
|
}
|
|
2210
2569
|
};
|
|
2211
2570
|
|
|
2571
|
+
// src/commands/ListCaseRulesCommand.ts
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
var ListCaseRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2576
|
+
return [
|
|
2577
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2578
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2579
|
+
];
|
|
2580
|
+
}).s("AmazonConnectCases", "ListCaseRules", {}).n("ConnectCasesClient", "ListCaseRulesCommand").f(void 0, void 0).ser(se_ListCaseRulesCommand).de(de_ListCaseRulesCommand).build() {
|
|
2581
|
+
static {
|
|
2582
|
+
__name(this, "ListCaseRulesCommand");
|
|
2583
|
+
}
|
|
2584
|
+
};
|
|
2585
|
+
|
|
2212
2586
|
// src/commands/ListCasesForContactCommand.ts
|
|
2213
2587
|
|
|
2214
2588
|
|
|
@@ -2404,6 +2778,21 @@ var UpdateCaseCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
2404
2778
|
}
|
|
2405
2779
|
};
|
|
2406
2780
|
|
|
2781
|
+
// src/commands/UpdateCaseRuleCommand.ts
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
var UpdateCaseRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2786
|
+
return [
|
|
2787
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2788
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2789
|
+
];
|
|
2790
|
+
}).s("AmazonConnectCases", "UpdateCaseRule", {}).n("ConnectCasesClient", "UpdateCaseRuleCommand").f(void 0, void 0).ser(se_UpdateCaseRuleCommand).de(de_UpdateCaseRuleCommand).build() {
|
|
2791
|
+
static {
|
|
2792
|
+
__name(this, "UpdateCaseRuleCommand");
|
|
2793
|
+
}
|
|
2794
|
+
};
|
|
2795
|
+
|
|
2407
2796
|
// src/commands/UpdateFieldCommand.ts
|
|
2408
2797
|
|
|
2409
2798
|
|
|
@@ -2451,14 +2840,17 @@ var UpdateTemplateCommand = class extends import_smithy_client.Command.classBuil
|
|
|
2451
2840
|
|
|
2452
2841
|
// src/ConnectCases.ts
|
|
2453
2842
|
var commands = {
|
|
2843
|
+
BatchGetCaseRuleCommand,
|
|
2454
2844
|
BatchGetFieldCommand,
|
|
2455
2845
|
BatchPutFieldOptionsCommand,
|
|
2456
2846
|
CreateCaseCommand,
|
|
2847
|
+
CreateCaseRuleCommand,
|
|
2457
2848
|
CreateDomainCommand,
|
|
2458
2849
|
CreateFieldCommand,
|
|
2459
2850
|
CreateLayoutCommand,
|
|
2460
2851
|
CreateRelatedItemCommand,
|
|
2461
2852
|
CreateTemplateCommand,
|
|
2853
|
+
DeleteCaseRuleCommand,
|
|
2462
2854
|
DeleteDomainCommand,
|
|
2463
2855
|
DeleteFieldCommand,
|
|
2464
2856
|
DeleteLayoutCommand,
|
|
@@ -2469,6 +2861,7 @@ var commands = {
|
|
|
2469
2861
|
GetDomainCommand,
|
|
2470
2862
|
GetLayoutCommand,
|
|
2471
2863
|
GetTemplateCommand,
|
|
2864
|
+
ListCaseRulesCommand,
|
|
2472
2865
|
ListCasesForContactCommand,
|
|
2473
2866
|
ListDomainsCommand,
|
|
2474
2867
|
ListFieldOptionsCommand,
|
|
@@ -2482,6 +2875,7 @@ var commands = {
|
|
|
2482
2875
|
TagResourceCommand,
|
|
2483
2876
|
UntagResourceCommand,
|
|
2484
2877
|
UpdateCaseCommand,
|
|
2878
|
+
UpdateCaseRuleCommand,
|
|
2485
2879
|
UpdateFieldCommand,
|
|
2486
2880
|
UpdateLayoutCommand,
|
|
2487
2881
|
UpdateTemplateCommand
|
|
@@ -2501,6 +2895,10 @@ var paginateGetCaseAuditEvents = (0, import_core.createPaginator)(ConnectCasesCl
|
|
|
2501
2895
|
|
|
2502
2896
|
var paginateGetCase = (0, import_core.createPaginator)(ConnectCasesClient, GetCaseCommand, "nextToken", "nextToken", "");
|
|
2503
2897
|
|
|
2898
|
+
// src/pagination/ListCaseRulesPaginator.ts
|
|
2899
|
+
|
|
2900
|
+
var paginateListCaseRules = (0, import_core.createPaginator)(ConnectCasesClient, ListCaseRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
2901
|
+
|
|
2504
2902
|
// src/pagination/ListCasesForContactPaginator.ts
|
|
2505
2903
|
|
|
2506
2904
|
var paginateListCasesForContact = (0, import_core.createPaginator)(ConnectCasesClient, ListCasesForContactCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -2540,14 +2938,17 @@ var paginateSearchRelatedItems = (0, import_core.createPaginator)(ConnectCasesCl
|
|
|
2540
2938
|
ConnectCasesClient,
|
|
2541
2939
|
ConnectCases,
|
|
2542
2940
|
$Command,
|
|
2941
|
+
BatchGetCaseRuleCommand,
|
|
2543
2942
|
BatchGetFieldCommand,
|
|
2544
2943
|
BatchPutFieldOptionsCommand,
|
|
2545
2944
|
CreateCaseCommand,
|
|
2945
|
+
CreateCaseRuleCommand,
|
|
2546
2946
|
CreateDomainCommand,
|
|
2547
2947
|
CreateFieldCommand,
|
|
2548
2948
|
CreateLayoutCommand,
|
|
2549
2949
|
CreateRelatedItemCommand,
|
|
2550
2950
|
CreateTemplateCommand,
|
|
2951
|
+
DeleteCaseRuleCommand,
|
|
2551
2952
|
DeleteDomainCommand,
|
|
2552
2953
|
DeleteFieldCommand,
|
|
2553
2954
|
DeleteLayoutCommand,
|
|
@@ -2558,6 +2959,7 @@ var paginateSearchRelatedItems = (0, import_core.createPaginator)(ConnectCasesCl
|
|
|
2558
2959
|
GetDomainCommand,
|
|
2559
2960
|
GetLayoutCommand,
|
|
2560
2961
|
GetTemplateCommand,
|
|
2962
|
+
ListCaseRulesCommand,
|
|
2561
2963
|
ListCasesForContactCommand,
|
|
2562
2964
|
ListDomainsCommand,
|
|
2563
2965
|
ListFieldOptionsCommand,
|
|
@@ -2571,11 +2973,13 @@ var paginateSearchRelatedItems = (0, import_core.createPaginator)(ConnectCasesCl
|
|
|
2571
2973
|
TagResourceCommand,
|
|
2572
2974
|
UntagResourceCommand,
|
|
2573
2975
|
UpdateCaseCommand,
|
|
2976
|
+
UpdateCaseRuleCommand,
|
|
2574
2977
|
UpdateFieldCommand,
|
|
2575
2978
|
UpdateLayoutCommand,
|
|
2576
2979
|
UpdateTemplateCommand,
|
|
2577
2980
|
paginateGetCaseAuditEvents,
|
|
2578
2981
|
paginateGetCase,
|
|
2982
|
+
paginateListCaseRules,
|
|
2579
2983
|
paginateListCasesForContact,
|
|
2580
2984
|
paginateListDomains,
|
|
2581
2985
|
paginateListFieldOptions,
|
|
@@ -2602,6 +3006,11 @@ var paginateSearchRelatedItems = (0, import_core.createPaginator)(ConnectCasesCl
|
|
|
2602
3006
|
RelatedItemContent,
|
|
2603
3007
|
FieldFilter,
|
|
2604
3008
|
Order,
|
|
3009
|
+
OperandOne,
|
|
3010
|
+
OperandTwo,
|
|
3011
|
+
BooleanCondition,
|
|
3012
|
+
CaseRuleDetails,
|
|
3013
|
+
RuleType,
|
|
2605
3014
|
DomainStatus,
|
|
2606
3015
|
FieldNamespace,
|
|
2607
3016
|
FieldType,
|