@aws-sdk/client-connectcases 3.758.0 → 3.772.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +141 -181
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AuditEventFieldValueUnion: () => AuditEventFieldValueUnion,
|
|
26
26
|
AuditEventType: () => AuditEventType,
|
|
@@ -106,7 +106,7 @@ __export(src_exports, {
|
|
|
106
106
|
paginateSearchCases: () => paginateSearchCases,
|
|
107
107
|
paginateSearchRelatedItems: () => paginateSearchRelatedItems
|
|
108
108
|
});
|
|
109
|
-
module.exports = __toCommonJS(
|
|
109
|
+
module.exports = __toCommonJS(index_exports);
|
|
110
110
|
|
|
111
111
|
// src/ConnectCasesClient.ts
|
|
112
112
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -233,9 +233,9 @@ var ConnectCasesClient = class extends import_smithy_client.Client {
|
|
|
233
233
|
this.middlewareStack.use(
|
|
234
234
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
235
235
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultConnectCasesHttpAuthSchemeParametersProvider,
|
|
236
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
236
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
237
237
|
"aws.auth#sigv4": config.credentials
|
|
238
|
-
})
|
|
238
|
+
}), "identityProviderConfigProvider")
|
|
239
239
|
})
|
|
240
240
|
);
|
|
241
241
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -319,24 +319,18 @@ var ConflictException = class _ConflictException extends ConnectCasesServiceExce
|
|
|
319
319
|
var FieldValueUnion;
|
|
320
320
|
((FieldValueUnion2) => {
|
|
321
321
|
FieldValueUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
322
|
-
if (value.stringValue !== void 0)
|
|
323
|
-
|
|
324
|
-
if (value.
|
|
325
|
-
|
|
326
|
-
if (value.
|
|
327
|
-
return visitor.booleanValue(value.booleanValue);
|
|
328
|
-
if (value.emptyValue !== void 0)
|
|
329
|
-
return visitor.emptyValue(value.emptyValue);
|
|
330
|
-
if (value.userArnValue !== void 0)
|
|
331
|
-
return visitor.userArnValue(value.userArnValue);
|
|
322
|
+
if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
|
|
323
|
+
if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue);
|
|
324
|
+
if (value.booleanValue !== void 0) return visitor.booleanValue(value.booleanValue);
|
|
325
|
+
if (value.emptyValue !== void 0) return visitor.emptyValue(value.emptyValue);
|
|
326
|
+
if (value.userArnValue !== void 0) return visitor.userArnValue(value.userArnValue);
|
|
332
327
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
333
328
|
}, "visit");
|
|
334
329
|
})(FieldValueUnion || (FieldValueUnion = {}));
|
|
335
330
|
var UserUnion;
|
|
336
331
|
((UserUnion3) => {
|
|
337
332
|
UserUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
338
|
-
if (value.userArn !== void 0)
|
|
339
|
-
return visitor.userArn(value.userArn);
|
|
333
|
+
if (value.userArn !== void 0) return visitor.userArn(value.userArn);
|
|
340
334
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
341
335
|
}, "visit");
|
|
342
336
|
})(UserUnion || (UserUnion = {}));
|
|
@@ -435,16 +429,11 @@ var ValidationException = class _ValidationException extends ConnectCasesService
|
|
|
435
429
|
var AuditEventFieldValueUnion;
|
|
436
430
|
((AuditEventFieldValueUnion3) => {
|
|
437
431
|
AuditEventFieldValueUnion3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
438
|
-
if (value.stringValue !== void 0)
|
|
439
|
-
|
|
440
|
-
if (value.
|
|
441
|
-
|
|
442
|
-
if (value.
|
|
443
|
-
return visitor.booleanValue(value.booleanValue);
|
|
444
|
-
if (value.emptyValue !== void 0)
|
|
445
|
-
return visitor.emptyValue(value.emptyValue);
|
|
446
|
-
if (value.userArnValue !== void 0)
|
|
447
|
-
return visitor.userArnValue(value.userArnValue);
|
|
432
|
+
if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
|
|
433
|
+
if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue);
|
|
434
|
+
if (value.booleanValue !== void 0) return visitor.booleanValue(value.booleanValue);
|
|
435
|
+
if (value.emptyValue !== void 0) return visitor.emptyValue(value.emptyValue);
|
|
436
|
+
if (value.userArnValue !== void 0) return visitor.userArnValue(value.userArnValue);
|
|
448
437
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
449
438
|
}, "visit");
|
|
450
439
|
})(AuditEventFieldValueUnion || (AuditEventFieldValueUnion = {}));
|
|
@@ -464,12 +453,9 @@ var CommentBodyTextType = {
|
|
|
464
453
|
var RelatedItemInputContent;
|
|
465
454
|
((RelatedItemInputContent3) => {
|
|
466
455
|
RelatedItemInputContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
467
|
-
if (value.contact !== void 0)
|
|
468
|
-
|
|
469
|
-
if (value.
|
|
470
|
-
return visitor.comment(value.comment);
|
|
471
|
-
if (value.file !== void 0)
|
|
472
|
-
return visitor.file(value.file);
|
|
456
|
+
if (value.contact !== void 0) return visitor.contact(value.contact);
|
|
457
|
+
if (value.comment !== void 0) return visitor.comment(value.comment);
|
|
458
|
+
if (value.file !== void 0) return visitor.file(value.file);
|
|
473
459
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
474
460
|
}, "visit");
|
|
475
461
|
})(RelatedItemInputContent || (RelatedItemInputContent = {}));
|
|
@@ -494,42 +480,30 @@ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends
|
|
|
494
480
|
var RelatedItemTypeFilter;
|
|
495
481
|
((RelatedItemTypeFilter3) => {
|
|
496
482
|
RelatedItemTypeFilter3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
497
|
-
if (value.contact !== void 0)
|
|
498
|
-
|
|
499
|
-
if (value.
|
|
500
|
-
return visitor.comment(value.comment);
|
|
501
|
-
if (value.file !== void 0)
|
|
502
|
-
return visitor.file(value.file);
|
|
483
|
+
if (value.contact !== void 0) return visitor.contact(value.contact);
|
|
484
|
+
if (value.comment !== void 0) return visitor.comment(value.comment);
|
|
485
|
+
if (value.file !== void 0) return visitor.file(value.file);
|
|
503
486
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
504
487
|
}, "visit");
|
|
505
488
|
})(RelatedItemTypeFilter || (RelatedItemTypeFilter = {}));
|
|
506
489
|
var RelatedItemContent;
|
|
507
490
|
((RelatedItemContent3) => {
|
|
508
491
|
RelatedItemContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
509
|
-
if (value.contact !== void 0)
|
|
510
|
-
|
|
511
|
-
if (value.
|
|
512
|
-
return visitor.comment(value.comment);
|
|
513
|
-
if (value.file !== void 0)
|
|
514
|
-
return visitor.file(value.file);
|
|
492
|
+
if (value.contact !== void 0) return visitor.contact(value.contact);
|
|
493
|
+
if (value.comment !== void 0) return visitor.comment(value.comment);
|
|
494
|
+
if (value.file !== void 0) return visitor.file(value.file);
|
|
515
495
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
516
496
|
}, "visit");
|
|
517
497
|
})(RelatedItemContent || (RelatedItemContent = {}));
|
|
518
498
|
var FieldFilter;
|
|
519
499
|
((FieldFilter2) => {
|
|
520
500
|
FieldFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
521
|
-
if (value.equalTo !== void 0)
|
|
522
|
-
|
|
523
|
-
if (value.
|
|
524
|
-
|
|
525
|
-
if (value.
|
|
526
|
-
|
|
527
|
-
if (value.greaterThanOrEqualTo !== void 0)
|
|
528
|
-
return visitor.greaterThanOrEqualTo(value.greaterThanOrEqualTo);
|
|
529
|
-
if (value.lessThan !== void 0)
|
|
530
|
-
return visitor.lessThan(value.lessThan);
|
|
531
|
-
if (value.lessThanOrEqualTo !== void 0)
|
|
532
|
-
return visitor.lessThanOrEqualTo(value.lessThanOrEqualTo);
|
|
501
|
+
if (value.equalTo !== void 0) return visitor.equalTo(value.equalTo);
|
|
502
|
+
if (value.contains !== void 0) return visitor.contains(value.contains);
|
|
503
|
+
if (value.greaterThan !== void 0) return visitor.greaterThan(value.greaterThan);
|
|
504
|
+
if (value.greaterThanOrEqualTo !== void 0) return visitor.greaterThanOrEqualTo(value.greaterThanOrEqualTo);
|
|
505
|
+
if (value.lessThan !== void 0) return visitor.lessThan(value.lessThan);
|
|
506
|
+
if (value.lessThanOrEqualTo !== void 0) return visitor.lessThanOrEqualTo(value.lessThanOrEqualTo);
|
|
533
507
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
534
508
|
}, "visit");
|
|
535
509
|
})(FieldFilter || (FieldFilter = {}));
|
|
@@ -540,40 +514,32 @@ var Order = {
|
|
|
540
514
|
var OperandOne;
|
|
541
515
|
((OperandOne3) => {
|
|
542
516
|
OperandOne3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
543
|
-
if (value.fieldId !== void 0)
|
|
544
|
-
return visitor.fieldId(value.fieldId);
|
|
517
|
+
if (value.fieldId !== void 0) return visitor.fieldId(value.fieldId);
|
|
545
518
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
546
519
|
}, "visit");
|
|
547
520
|
})(OperandOne || (OperandOne = {}));
|
|
548
521
|
var OperandTwo;
|
|
549
522
|
((OperandTwo2) => {
|
|
550
523
|
OperandTwo2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
551
|
-
if (value.stringValue !== void 0)
|
|
552
|
-
|
|
553
|
-
if (value.
|
|
554
|
-
|
|
555
|
-
if (value.doubleValue !== void 0)
|
|
556
|
-
return visitor.doubleValue(value.doubleValue);
|
|
557
|
-
if (value.emptyValue !== void 0)
|
|
558
|
-
return visitor.emptyValue(value.emptyValue);
|
|
524
|
+
if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
|
|
525
|
+
if (value.booleanValue !== void 0) return visitor.booleanValue(value.booleanValue);
|
|
526
|
+
if (value.doubleValue !== void 0) return visitor.doubleValue(value.doubleValue);
|
|
527
|
+
if (value.emptyValue !== void 0) return visitor.emptyValue(value.emptyValue);
|
|
559
528
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
560
529
|
}, "visit");
|
|
561
530
|
})(OperandTwo || (OperandTwo = {}));
|
|
562
531
|
var BooleanCondition;
|
|
563
532
|
((BooleanCondition2) => {
|
|
564
533
|
BooleanCondition2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
565
|
-
if (value.equalTo !== void 0)
|
|
566
|
-
|
|
567
|
-
if (value.notEqualTo !== void 0)
|
|
568
|
-
return visitor.notEqualTo(value.notEqualTo);
|
|
534
|
+
if (value.equalTo !== void 0) return visitor.equalTo(value.equalTo);
|
|
535
|
+
if (value.notEqualTo !== void 0) return visitor.notEqualTo(value.notEqualTo);
|
|
569
536
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
570
537
|
}, "visit");
|
|
571
538
|
})(BooleanCondition || (BooleanCondition = {}));
|
|
572
539
|
var CaseRuleDetails;
|
|
573
540
|
((CaseRuleDetails2) => {
|
|
574
541
|
CaseRuleDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
575
|
-
if (value.required !== void 0)
|
|
576
|
-
return visitor.required(value.required);
|
|
542
|
+
if (value.required !== void 0) return visitor.required(value.required);
|
|
577
543
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
578
544
|
}, "visit");
|
|
579
545
|
})(CaseRuleDetails || (CaseRuleDetails = {}));
|
|
@@ -601,16 +567,14 @@ var FieldType = {
|
|
|
601
567
|
var Section;
|
|
602
568
|
((Section3) => {
|
|
603
569
|
Section3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
604
|
-
if (value.fieldGroup !== void 0)
|
|
605
|
-
return visitor.fieldGroup(value.fieldGroup);
|
|
570
|
+
if (value.fieldGroup !== void 0) return visitor.fieldGroup(value.fieldGroup);
|
|
606
571
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
607
572
|
}, "visit");
|
|
608
573
|
})(Section || (Section = {}));
|
|
609
574
|
var LayoutContent;
|
|
610
575
|
((LayoutContent3) => {
|
|
611
576
|
LayoutContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
612
|
-
if (value.basic !== void 0)
|
|
613
|
-
return visitor.basic(value.basic);
|
|
577
|
+
if (value.basic !== void 0) return visitor.basic(value.basic);
|
|
614
578
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
615
579
|
}, "visit");
|
|
616
580
|
})(LayoutContent || (LayoutContent = {}));
|
|
@@ -621,14 +585,10 @@ var TemplateStatus = {
|
|
|
621
585
|
var CaseFilter;
|
|
622
586
|
((CaseFilter2) => {
|
|
623
587
|
CaseFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
624
|
-
if (value.field !== void 0)
|
|
625
|
-
|
|
626
|
-
if (value.
|
|
627
|
-
|
|
628
|
-
if (value.andAll !== void 0)
|
|
629
|
-
return visitor.andAll(value.andAll);
|
|
630
|
-
if (value.orAll !== void 0)
|
|
631
|
-
return visitor.orAll(value.orAll);
|
|
588
|
+
if (value.field !== void 0) return visitor.field(value.field);
|
|
589
|
+
if (value.not !== void 0) return visitor.not(value.not);
|
|
590
|
+
if (value.andAll !== void 0) return visitor.andAll(value.andAll);
|
|
591
|
+
if (value.orAll !== void 0) return visitor.orAll(value.orAll);
|
|
632
592
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
633
593
|
}, "visit");
|
|
634
594
|
})(CaseFilter || (CaseFilter = {}));
|
|
@@ -644,7 +604,7 @@ var se_BatchGetCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
644
604
|
let body;
|
|
645
605
|
body = JSON.stringify(
|
|
646
606
|
(0, import_smithy_client.take)(input, {
|
|
647
|
-
caseRules: (_) => (0, import_smithy_client._json)(_)
|
|
607
|
+
caseRules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "caseRules")
|
|
648
608
|
})
|
|
649
609
|
);
|
|
650
610
|
b.m("POST").h(headers).b(body);
|
|
@@ -660,7 +620,7 @@ var se_BatchGetFieldCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
660
620
|
let body;
|
|
661
621
|
body = JSON.stringify(
|
|
662
622
|
(0, import_smithy_client.take)(input, {
|
|
663
|
-
fields: (_) => (0, import_smithy_client._json)(_)
|
|
623
|
+
fields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "fields")
|
|
664
624
|
})
|
|
665
625
|
);
|
|
666
626
|
b.m("POST").h(headers).b(body);
|
|
@@ -677,7 +637,7 @@ var se_BatchPutFieldOptionsCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
677
637
|
let body;
|
|
678
638
|
body = JSON.stringify(
|
|
679
639
|
(0, import_smithy_client.take)(input, {
|
|
680
|
-
options: (_) => (0, import_smithy_client._json)(_)
|
|
640
|
+
options: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "options")
|
|
681
641
|
})
|
|
682
642
|
);
|
|
683
643
|
b.m("PUT").h(headers).b(body);
|
|
@@ -694,8 +654,8 @@ var se_CreateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
694
654
|
body = JSON.stringify(
|
|
695
655
|
(0, import_smithy_client.take)(input, {
|
|
696
656
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
697
|
-
fields: (_) => se_FieldValueList(_, context),
|
|
698
|
-
performedBy: (_) => (0, import_smithy_client._json)(_),
|
|
657
|
+
fields: /* @__PURE__ */ __name((_) => se_FieldValueList(_, context), "fields"),
|
|
658
|
+
performedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "performedBy"),
|
|
699
659
|
templateId: []
|
|
700
660
|
})
|
|
701
661
|
);
|
|
@@ -714,7 +674,7 @@ var se_CreateCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
714
674
|
(0, import_smithy_client.take)(input, {
|
|
715
675
|
description: [],
|
|
716
676
|
name: [],
|
|
717
|
-
rule: (_) => se_CaseRuleDetails(_, context)
|
|
677
|
+
rule: /* @__PURE__ */ __name((_) => se_CaseRuleDetails(_, context), "rule")
|
|
718
678
|
})
|
|
719
679
|
);
|
|
720
680
|
b.m("POST").h(headers).b(body);
|
|
@@ -763,7 +723,7 @@ var se_CreateLayoutCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
763
723
|
let body;
|
|
764
724
|
body = JSON.stringify(
|
|
765
725
|
(0, import_smithy_client.take)(input, {
|
|
766
|
-
content: (_) => (0, import_smithy_client._json)(_),
|
|
726
|
+
content: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "content"),
|
|
767
727
|
name: []
|
|
768
728
|
})
|
|
769
729
|
);
|
|
@@ -781,8 +741,8 @@ var se_CreateRelatedItemCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
781
741
|
let body;
|
|
782
742
|
body = JSON.stringify(
|
|
783
743
|
(0, import_smithy_client.take)(input, {
|
|
784
|
-
content: (_) => (0, import_smithy_client._json)(_),
|
|
785
|
-
performedBy: (_) => (0, import_smithy_client._json)(_),
|
|
744
|
+
content: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "content"),
|
|
745
|
+
performedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "performedBy"),
|
|
786
746
|
type: []
|
|
787
747
|
})
|
|
788
748
|
);
|
|
@@ -800,10 +760,10 @@ var se_CreateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
800
760
|
body = JSON.stringify(
|
|
801
761
|
(0, import_smithy_client.take)(input, {
|
|
802
762
|
description: [],
|
|
803
|
-
layoutConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
763
|
+
layoutConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "layoutConfiguration"),
|
|
804
764
|
name: [],
|
|
805
|
-
requiredFields: (_) => (0, import_smithy_client._json)(_),
|
|
806
|
-
rules: (_) => (0, import_smithy_client._json)(_),
|
|
765
|
+
requiredFields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requiredFields"),
|
|
766
|
+
rules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "rules"),
|
|
807
767
|
status: []
|
|
808
768
|
})
|
|
809
769
|
);
|
|
@@ -870,7 +830,7 @@ var se_GetCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
870
830
|
let body;
|
|
871
831
|
body = JSON.stringify(
|
|
872
832
|
(0, import_smithy_client.take)(input, {
|
|
873
|
-
fields: (_) => (0, import_smithy_client._json)(_),
|
|
833
|
+
fields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "fields"),
|
|
874
834
|
nextToken: []
|
|
875
835
|
})
|
|
876
836
|
);
|
|
@@ -1050,7 +1010,7 @@ var se_PutCaseEventConfigurationCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1050
1010
|
let body;
|
|
1051
1011
|
body = JSON.stringify(
|
|
1052
1012
|
(0, import_smithy_client.take)(input, {
|
|
1053
|
-
eventBridge: (_) => (0, import_smithy_client._json)(_)
|
|
1013
|
+
eventBridge: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "eventBridge")
|
|
1054
1014
|
})
|
|
1055
1015
|
);
|
|
1056
1016
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1066,12 +1026,12 @@ var se_SearchCasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1066
1026
|
let body;
|
|
1067
1027
|
body = JSON.stringify(
|
|
1068
1028
|
(0, import_smithy_client.take)(input, {
|
|
1069
|
-
fields: (_) => (0, import_smithy_client._json)(_),
|
|
1070
|
-
filter: (_) => se_CaseFilter(_, context),
|
|
1029
|
+
fields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "fields"),
|
|
1030
|
+
filter: /* @__PURE__ */ __name((_) => se_CaseFilter(_, context), "filter"),
|
|
1071
1031
|
maxResults: [],
|
|
1072
1032
|
nextToken: [],
|
|
1073
1033
|
searchTerm: [],
|
|
1074
|
-
sorts: (_) => (0, import_smithy_client._json)(_)
|
|
1034
|
+
sorts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sorts")
|
|
1075
1035
|
})
|
|
1076
1036
|
);
|
|
1077
1037
|
b.m("POST").h(headers).b(body);
|
|
@@ -1088,7 +1048,7 @@ var se_SearchRelatedItemsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1088
1048
|
let body;
|
|
1089
1049
|
body = JSON.stringify(
|
|
1090
1050
|
(0, import_smithy_client.take)(input, {
|
|
1091
|
-
filters: (_) => (0, import_smithy_client._json)(_),
|
|
1051
|
+
filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
|
|
1092
1052
|
maxResults: [],
|
|
1093
1053
|
nextToken: []
|
|
1094
1054
|
})
|
|
@@ -1106,7 +1066,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1106
1066
|
let body;
|
|
1107
1067
|
body = JSON.stringify(
|
|
1108
1068
|
(0, import_smithy_client.take)(input, {
|
|
1109
|
-
tags: (_) => se_Tags(_, context)
|
|
1069
|
+
tags: /* @__PURE__ */ __name((_) => se_Tags(_, context), "tags")
|
|
1110
1070
|
})
|
|
1111
1071
|
);
|
|
1112
1072
|
b.m("POST").h(headers).b(body);
|
|
@@ -1135,8 +1095,8 @@ var se_UpdateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1135
1095
|
let body;
|
|
1136
1096
|
body = JSON.stringify(
|
|
1137
1097
|
(0, import_smithy_client.take)(input, {
|
|
1138
|
-
fields: (_) => se_FieldValueList(_, context),
|
|
1139
|
-
performedBy: (_) => (0, import_smithy_client._json)(_)
|
|
1098
|
+
fields: /* @__PURE__ */ __name((_) => se_FieldValueList(_, context), "fields"),
|
|
1099
|
+
performedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "performedBy")
|
|
1140
1100
|
})
|
|
1141
1101
|
);
|
|
1142
1102
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1155,7 +1115,7 @@ var se_UpdateCaseRuleCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1155
1115
|
(0, import_smithy_client.take)(input, {
|
|
1156
1116
|
description: [],
|
|
1157
1117
|
name: [],
|
|
1158
|
-
rule: (_) => se_CaseRuleDetails(_, context)
|
|
1118
|
+
rule: /* @__PURE__ */ __name((_) => se_CaseRuleDetails(_, context), "rule")
|
|
1159
1119
|
})
|
|
1160
1120
|
);
|
|
1161
1121
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1190,7 +1150,7 @@ var se_UpdateLayoutCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1190
1150
|
let body;
|
|
1191
1151
|
body = JSON.stringify(
|
|
1192
1152
|
(0, import_smithy_client.take)(input, {
|
|
1193
|
-
content: (_) => (0, import_smithy_client._json)(_),
|
|
1153
|
+
content: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "content"),
|
|
1194
1154
|
name: []
|
|
1195
1155
|
})
|
|
1196
1156
|
);
|
|
@@ -1209,10 +1169,10 @@ var se_UpdateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1209
1169
|
body = JSON.stringify(
|
|
1210
1170
|
(0, import_smithy_client.take)(input, {
|
|
1211
1171
|
description: [],
|
|
1212
|
-
layoutConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1172
|
+
layoutConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "layoutConfiguration"),
|
|
1213
1173
|
name: [],
|
|
1214
|
-
requiredFields: (_) => (0, import_smithy_client._json)(_),
|
|
1215
|
-
rules: (_) => (0, import_smithy_client._json)(_),
|
|
1174
|
+
requiredFields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requiredFields"),
|
|
1175
|
+
rules: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "rules"),
|
|
1216
1176
|
status: []
|
|
1217
1177
|
})
|
|
1218
1178
|
);
|
|
@@ -1228,7 +1188,7 @@ var de_BatchGetCaseRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1228
1188
|
});
|
|
1229
1189
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1230
1190
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1231
|
-
caseRules: (_) => de_BatchGetCaseRuleList(_, context),
|
|
1191
|
+
caseRules: /* @__PURE__ */ __name((_) => de_BatchGetCaseRuleList(_, context), "caseRules"),
|
|
1232
1192
|
errors: import_smithy_client._json
|
|
1233
1193
|
});
|
|
1234
1194
|
Object.assign(contents, doc);
|
|
@@ -1244,7 +1204,7 @@ var de_BatchGetFieldCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1244
1204
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1245
1205
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1246
1206
|
errors: import_smithy_client._json,
|
|
1247
|
-
fields: (_) => de_BatchGetFieldList(_, context)
|
|
1207
|
+
fields: /* @__PURE__ */ __name((_) => de_BatchGetFieldList(_, context), "fields")
|
|
1248
1208
|
});
|
|
1249
1209
|
Object.assign(contents, doc);
|
|
1250
1210
|
return contents;
|
|
@@ -1428,9 +1388,9 @@ var de_GetCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1428
1388
|
});
|
|
1429
1389
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1430
1390
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1431
|
-
fields: (_) => de_FieldValueList(_, context),
|
|
1391
|
+
fields: /* @__PURE__ */ __name((_) => de_FieldValueList(_, context), "fields"),
|
|
1432
1392
|
nextToken: import_smithy_client.expectString,
|
|
1433
|
-
tags: (_) => de_Tags(_, context),
|
|
1393
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags"),
|
|
1434
1394
|
templateId: import_smithy_client.expectString
|
|
1435
1395
|
});
|
|
1436
1396
|
Object.assign(contents, doc);
|
|
@@ -1445,7 +1405,7 @@ var de_GetCaseAuditEventsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1445
1405
|
});
|
|
1446
1406
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1447
1407
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1448
|
-
auditEvents: (_) => de_AuditEventsList(_, context),
|
|
1408
|
+
auditEvents: /* @__PURE__ */ __name((_) => de_AuditEventsList(_, context), "auditEvents"),
|
|
1449
1409
|
nextToken: import_smithy_client.expectString
|
|
1450
1410
|
});
|
|
1451
1411
|
Object.assign(contents, doc);
|
|
@@ -1474,12 +1434,12 @@ var de_GetDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1474
1434
|
});
|
|
1475
1435
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1476
1436
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1477
|
-
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1437
|
+
createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),
|
|
1478
1438
|
domainArn: import_smithy_client.expectString,
|
|
1479
1439
|
domainId: import_smithy_client.expectString,
|
|
1480
1440
|
domainStatus: import_smithy_client.expectString,
|
|
1481
1441
|
name: import_smithy_client.expectString,
|
|
1482
|
-
tags: (_) => de_Tags(_, context)
|
|
1442
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags")
|
|
1483
1443
|
});
|
|
1484
1444
|
Object.assign(contents, doc);
|
|
1485
1445
|
return contents;
|
|
@@ -1493,14 +1453,14 @@ var de_GetLayoutCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1493
1453
|
});
|
|
1494
1454
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1495
1455
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1496
|
-
content: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1497
|
-
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1456
|
+
content: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "content"),
|
|
1457
|
+
createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),
|
|
1498
1458
|
deleted: import_smithy_client.expectBoolean,
|
|
1499
|
-
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1459
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
|
|
1500
1460
|
layoutArn: import_smithy_client.expectString,
|
|
1501
1461
|
layoutId: import_smithy_client.expectString,
|
|
1502
1462
|
name: import_smithy_client.expectString,
|
|
1503
|
-
tags: (_) => de_Tags(_, context)
|
|
1463
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags")
|
|
1504
1464
|
});
|
|
1505
1465
|
Object.assign(contents, doc);
|
|
1506
1466
|
return contents;
|
|
@@ -1514,16 +1474,16 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1514
1474
|
});
|
|
1515
1475
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1516
1476
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1517
|
-
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1477
|
+
createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),
|
|
1518
1478
|
deleted: import_smithy_client.expectBoolean,
|
|
1519
1479
|
description: import_smithy_client.expectString,
|
|
1520
|
-
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1480
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
|
|
1521
1481
|
layoutConfiguration: import_smithy_client._json,
|
|
1522
1482
|
name: import_smithy_client.expectString,
|
|
1523
1483
|
requiredFields: import_smithy_client._json,
|
|
1524
1484
|
rules: import_smithy_client._json,
|
|
1525
1485
|
status: import_smithy_client.expectString,
|
|
1526
|
-
tags: (_) => de_Tags(_, context),
|
|
1486
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags"),
|
|
1527
1487
|
templateArn: import_smithy_client.expectString,
|
|
1528
1488
|
templateId: import_smithy_client.expectString
|
|
1529
1489
|
});
|
|
@@ -1629,7 +1589,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1629
1589
|
});
|
|
1630
1590
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1631
1591
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1632
|
-
tags: (_) => de_Tags(_, context)
|
|
1592
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags")
|
|
1633
1593
|
});
|
|
1634
1594
|
Object.assign(contents, doc);
|
|
1635
1595
|
return contents;
|
|
@@ -1668,7 +1628,7 @@ var de_SearchCasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1668
1628
|
});
|
|
1669
1629
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1670
1630
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1671
|
-
cases: (_) => de_SearchCasesResponseItemList(_, context),
|
|
1631
|
+
cases: /* @__PURE__ */ __name((_) => de_SearchCasesResponseItemList(_, context), "cases"),
|
|
1672
1632
|
nextToken: import_smithy_client.expectString
|
|
1673
1633
|
});
|
|
1674
1634
|
Object.assign(contents, doc);
|
|
@@ -1684,7 +1644,7 @@ var de_SearchRelatedItemsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1684
1644
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1685
1645
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1686
1646
|
nextToken: import_smithy_client.expectString,
|
|
1687
|
-
relatedItems: (_) => de_SearchRelatedItemsResponseItemList(_, context)
|
|
1647
|
+
relatedItems: /* @__PURE__ */ __name((_) => de_SearchRelatedItemsResponseItemList(_, context), "relatedItems")
|
|
1688
1648
|
});
|
|
1689
1649
|
Object.assign(contents, doc);
|
|
1690
1650
|
return contents;
|
|
@@ -1894,9 +1854,9 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1894
1854
|
}, "de_ValidationExceptionRes");
|
|
1895
1855
|
var se_BooleanCondition = /* @__PURE__ */ __name((input, context) => {
|
|
1896
1856
|
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 })
|
|
1857
|
+
equalTo: /* @__PURE__ */ __name((value) => ({ equalTo: se_BooleanOperands(value, context) }), "equalTo"),
|
|
1858
|
+
notEqualTo: /* @__PURE__ */ __name((value) => ({ notEqualTo: se_BooleanOperands(value, context) }), "notEqualTo"),
|
|
1859
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1900
1860
|
});
|
|
1901
1861
|
}, "se_BooleanCondition");
|
|
1902
1862
|
var se_BooleanConditionList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1907,17 +1867,17 @@ var se_BooleanConditionList = /* @__PURE__ */ __name((input, context) => {
|
|
|
1907
1867
|
var se_BooleanOperands = /* @__PURE__ */ __name((input, context) => {
|
|
1908
1868
|
return (0, import_smithy_client.take)(input, {
|
|
1909
1869
|
operandOne: import_smithy_client._json,
|
|
1910
|
-
operandTwo: (_) => se_OperandTwo(_, context),
|
|
1870
|
+
operandTwo: /* @__PURE__ */ __name((_) => se_OperandTwo(_, context), "operandTwo"),
|
|
1911
1871
|
result: []
|
|
1912
1872
|
});
|
|
1913
1873
|
}, "se_BooleanOperands");
|
|
1914
1874
|
var se_CaseFilter = /* @__PURE__ */ __name((input, context) => {
|
|
1915
1875
|
return CaseFilter.visit(input, {
|
|
1916
|
-
andAll: (value) => ({ andAll: se_CaseFilterList(value, context) }),
|
|
1917
|
-
field: (value) => ({ field: se_FieldFilter(value, context) }),
|
|
1918
|
-
not: (value) => ({ not: se_CaseFilter(value, context) }),
|
|
1919
|
-
orAll: (value) => ({ orAll: se_CaseFilterList(value, context) }),
|
|
1920
|
-
_: (name, value) => ({ [name]: value })
|
|
1876
|
+
andAll: /* @__PURE__ */ __name((value) => ({ andAll: se_CaseFilterList(value, context) }), "andAll"),
|
|
1877
|
+
field: /* @__PURE__ */ __name((value) => ({ field: se_FieldFilter(value, context) }), "field"),
|
|
1878
|
+
not: /* @__PURE__ */ __name((value) => ({ not: se_CaseFilter(value, context) }), "not"),
|
|
1879
|
+
orAll: /* @__PURE__ */ __name((value) => ({ orAll: se_CaseFilterList(value, context) }), "orAll"),
|
|
1880
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1921
1881
|
});
|
|
1922
1882
|
}, "se_CaseFilter");
|
|
1923
1883
|
var se_CaseFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1927,25 +1887,25 @@ var se_CaseFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
|
1927
1887
|
}, "se_CaseFilterList");
|
|
1928
1888
|
var se_CaseRuleDetails = /* @__PURE__ */ __name((input, context) => {
|
|
1929
1889
|
return CaseRuleDetails.visit(input, {
|
|
1930
|
-
required: (value) => ({ required: se_RequiredCaseRule(value, context) }),
|
|
1931
|
-
_: (name, value) => ({ [name]: value })
|
|
1890
|
+
required: /* @__PURE__ */ __name((value) => ({ required: se_RequiredCaseRule(value, context) }), "required"),
|
|
1891
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1932
1892
|
});
|
|
1933
1893
|
}, "se_CaseRuleDetails");
|
|
1934
1894
|
var se_FieldFilter = /* @__PURE__ */ __name((input, context) => {
|
|
1935
1895
|
return FieldFilter.visit(input, {
|
|
1936
|
-
contains: (value) => ({ contains: se_FieldValue(value, context) }),
|
|
1937
|
-
equalTo: (value) => ({ equalTo: se_FieldValue(value, context) }),
|
|
1938
|
-
greaterThan: (value) => ({ greaterThan: se_FieldValue(value, context) }),
|
|
1939
|
-
greaterThanOrEqualTo: (value) => ({ greaterThanOrEqualTo: se_FieldValue(value, context) }),
|
|
1940
|
-
lessThan: (value) => ({ lessThan: se_FieldValue(value, context) }),
|
|
1941
|
-
lessThanOrEqualTo: (value) => ({ lessThanOrEqualTo: se_FieldValue(value, context) }),
|
|
1942
|
-
_: (name, value) => ({ [name]: value })
|
|
1896
|
+
contains: /* @__PURE__ */ __name((value) => ({ contains: se_FieldValue(value, context) }), "contains"),
|
|
1897
|
+
equalTo: /* @__PURE__ */ __name((value) => ({ equalTo: se_FieldValue(value, context) }), "equalTo"),
|
|
1898
|
+
greaterThan: /* @__PURE__ */ __name((value) => ({ greaterThan: se_FieldValue(value, context) }), "greaterThan"),
|
|
1899
|
+
greaterThanOrEqualTo: /* @__PURE__ */ __name((value) => ({ greaterThanOrEqualTo: se_FieldValue(value, context) }), "greaterThanOrEqualTo"),
|
|
1900
|
+
lessThan: /* @__PURE__ */ __name((value) => ({ lessThan: se_FieldValue(value, context) }), "lessThan"),
|
|
1901
|
+
lessThanOrEqualTo: /* @__PURE__ */ __name((value) => ({ lessThanOrEqualTo: se_FieldValue(value, context) }), "lessThanOrEqualTo"),
|
|
1902
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1943
1903
|
});
|
|
1944
1904
|
}, "se_FieldFilter");
|
|
1945
1905
|
var se_FieldValue = /* @__PURE__ */ __name((input, context) => {
|
|
1946
1906
|
return (0, import_smithy_client.take)(input, {
|
|
1947
1907
|
id: [],
|
|
1948
|
-
value: (_) => se_FieldValueUnion(_, context)
|
|
1908
|
+
value: /* @__PURE__ */ __name((_) => se_FieldValueUnion(_, context), "value")
|
|
1949
1909
|
});
|
|
1950
1910
|
}, "se_FieldValue");
|
|
1951
1911
|
var se_FieldValueList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -1955,26 +1915,26 @@ var se_FieldValueList = /* @__PURE__ */ __name((input, context) => {
|
|
|
1955
1915
|
}, "se_FieldValueList");
|
|
1956
1916
|
var se_FieldValueUnion = /* @__PURE__ */ __name((input, context) => {
|
|
1957
1917
|
return FieldValueUnion.visit(input, {
|
|
1958
|
-
booleanValue: (value) => ({ booleanValue: value }),
|
|
1959
|
-
doubleValue: (value) => ({ doubleValue: (0, import_smithy_client.serializeFloat)(value) }),
|
|
1960
|
-
emptyValue: (value) => ({ emptyValue: (0, import_smithy_client._json)(value) }),
|
|
1961
|
-
stringValue: (value) => ({ stringValue: value }),
|
|
1962
|
-
userArnValue: (value) => ({ userArnValue: value }),
|
|
1963
|
-
_: (name, value) => ({ [name]: value })
|
|
1918
|
+
booleanValue: /* @__PURE__ */ __name((value) => ({ booleanValue: value }), "booleanValue"),
|
|
1919
|
+
doubleValue: /* @__PURE__ */ __name((value) => ({ doubleValue: (0, import_smithy_client.serializeFloat)(value) }), "doubleValue"),
|
|
1920
|
+
emptyValue: /* @__PURE__ */ __name((value) => ({ emptyValue: (0, import_smithy_client._json)(value) }), "emptyValue"),
|
|
1921
|
+
stringValue: /* @__PURE__ */ __name((value) => ({ stringValue: value }), "stringValue"),
|
|
1922
|
+
userArnValue: /* @__PURE__ */ __name((value) => ({ userArnValue: value }), "userArnValue"),
|
|
1923
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1964
1924
|
});
|
|
1965
1925
|
}, "se_FieldValueUnion");
|
|
1966
1926
|
var se_OperandTwo = /* @__PURE__ */ __name((input, context) => {
|
|
1967
1927
|
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 })
|
|
1928
|
+
booleanValue: /* @__PURE__ */ __name((value) => ({ booleanValue: value }), "booleanValue"),
|
|
1929
|
+
doubleValue: /* @__PURE__ */ __name((value) => ({ doubleValue: (0, import_smithy_client.serializeFloat)(value) }), "doubleValue"),
|
|
1930
|
+
emptyValue: /* @__PURE__ */ __name((value) => ({ emptyValue: (0, import_smithy_client._json)(value) }), "emptyValue"),
|
|
1931
|
+
stringValue: /* @__PURE__ */ __name((value) => ({ stringValue: value }), "stringValue"),
|
|
1932
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1973
1933
|
});
|
|
1974
1934
|
}, "se_OperandTwo");
|
|
1975
1935
|
var se_RequiredCaseRule = /* @__PURE__ */ __name((input, context) => {
|
|
1976
1936
|
return (0, import_smithy_client.take)(input, {
|
|
1977
|
-
conditions: (_) => se_BooleanConditionList(_, context),
|
|
1937
|
+
conditions: /* @__PURE__ */ __name((_) => se_BooleanConditionList(_, context), "conditions"),
|
|
1978
1938
|
defaultValue: []
|
|
1979
1939
|
});
|
|
1980
1940
|
}, "se_RequiredCaseRule");
|
|
@@ -1991,9 +1951,9 @@ var se_Tags = /* @__PURE__ */ __name((input, context) => {
|
|
|
1991
1951
|
var de_AuditEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1992
1952
|
return (0, import_smithy_client.take)(output, {
|
|
1993
1953
|
eventId: import_smithy_client.expectString,
|
|
1994
|
-
fields: (_) => de_AuditEventFieldList(_, context),
|
|
1954
|
+
fields: /* @__PURE__ */ __name((_) => de_AuditEventFieldList(_, context), "fields"),
|
|
1995
1955
|
performedBy: import_smithy_client._json,
|
|
1996
|
-
performedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1956
|
+
performedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "performedTime"),
|
|
1997
1957
|
relatedItemType: import_smithy_client.expectString,
|
|
1998
1958
|
type: import_smithy_client.expectString
|
|
1999
1959
|
});
|
|
@@ -2001,8 +1961,8 @@ var de_AuditEvent = /* @__PURE__ */ __name((output, context) => {
|
|
|
2001
1961
|
var de_AuditEventField = /* @__PURE__ */ __name((output, context) => {
|
|
2002
1962
|
return (0, import_smithy_client.take)(output, {
|
|
2003
1963
|
eventFieldId: import_smithy_client.expectString,
|
|
2004
|
-
newValue: (_) => de_AuditEventFieldValueUnion((0, import_core2.awsExpectUnion)(_), context),
|
|
2005
|
-
oldValue: (_) => de_AuditEventFieldValueUnion((0, import_core2.awsExpectUnion)(_), context)
|
|
1964
|
+
newValue: /* @__PURE__ */ __name((_) => de_AuditEventFieldValueUnion((0, import_core2.awsExpectUnion)(_), context), "newValue"),
|
|
1965
|
+
oldValue: /* @__PURE__ */ __name((_) => de_AuditEventFieldValueUnion((0, import_core2.awsExpectUnion)(_), context), "oldValue")
|
|
2006
1966
|
});
|
|
2007
1967
|
}, "de_AuditEventField");
|
|
2008
1968
|
var de_AuditEventFieldList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2076,8 +2036,8 @@ var de_BooleanConditionList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2076
2036
|
}, "de_BooleanConditionList");
|
|
2077
2037
|
var de_BooleanOperands = /* @__PURE__ */ __name((output, context) => {
|
|
2078
2038
|
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),
|
|
2039
|
+
operandOne: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "operandOne"),
|
|
2040
|
+
operandTwo: /* @__PURE__ */ __name((_) => de_OperandTwo((0, import_core2.awsExpectUnion)(_), context), "operandTwo"),
|
|
2081
2041
|
result: import_smithy_client.expectBoolean
|
|
2082
2042
|
});
|
|
2083
2043
|
}, "de_BooleanOperands");
|
|
@@ -2092,14 +2052,14 @@ var de_CaseRuleDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
2092
2052
|
var de_ContactContent = /* @__PURE__ */ __name((output, context) => {
|
|
2093
2053
|
return (0, import_smithy_client.take)(output, {
|
|
2094
2054
|
channel: import_smithy_client.expectString,
|
|
2095
|
-
connectedToSystemTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2055
|
+
connectedToSystemTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "connectedToSystemTime"),
|
|
2096
2056
|
contactArn: import_smithy_client.expectString
|
|
2097
2057
|
});
|
|
2098
2058
|
}, "de_ContactContent");
|
|
2099
2059
|
var de_FieldValue = /* @__PURE__ */ __name((output, context) => {
|
|
2100
2060
|
return (0, import_smithy_client.take)(output, {
|
|
2101
2061
|
id: import_smithy_client.expectString,
|
|
2102
|
-
value: (_) => de_FieldValueUnion((0, import_core2.awsExpectUnion)(_), context)
|
|
2062
|
+
value: /* @__PURE__ */ __name((_) => de_FieldValueUnion((0, import_core2.awsExpectUnion)(_), context), "value")
|
|
2103
2063
|
});
|
|
2104
2064
|
}, "de_FieldValue");
|
|
2105
2065
|
var de_FieldValueList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2132,26 +2092,26 @@ var de_GetCaseRuleResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
2132
2092
|
return (0, import_smithy_client.take)(output, {
|
|
2133
2093
|
caseRuleArn: import_smithy_client.expectString,
|
|
2134
2094
|
caseRuleId: import_smithy_client.expectString,
|
|
2135
|
-
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2095
|
+
createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),
|
|
2136
2096
|
deleted: import_smithy_client.expectBoolean,
|
|
2137
2097
|
description: import_smithy_client.expectString,
|
|
2138
|
-
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2098
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
|
|
2139
2099
|
name: import_smithy_client.expectString,
|
|
2140
|
-
rule: (_) => de_CaseRuleDetails((0, import_core2.awsExpectUnion)(_), context),
|
|
2141
|
-
tags: (_) => de_Tags(_, context)
|
|
2100
|
+
rule: /* @__PURE__ */ __name((_) => de_CaseRuleDetails((0, import_core2.awsExpectUnion)(_), context), "rule"),
|
|
2101
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags")
|
|
2142
2102
|
});
|
|
2143
2103
|
}, "de_GetCaseRuleResponse");
|
|
2144
2104
|
var de_GetFieldResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2145
2105
|
return (0, import_smithy_client.take)(output, {
|
|
2146
|
-
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2106
|
+
createdTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdTime"),
|
|
2147
2107
|
deleted: import_smithy_client.expectBoolean,
|
|
2148
2108
|
description: import_smithy_client.expectString,
|
|
2149
2109
|
fieldArn: import_smithy_client.expectString,
|
|
2150
2110
|
fieldId: import_smithy_client.expectString,
|
|
2151
|
-
lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2111
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
|
|
2152
2112
|
name: import_smithy_client.expectString,
|
|
2153
2113
|
namespace: import_smithy_client.expectString,
|
|
2154
|
-
tags: (_) => de_Tags(_, context),
|
|
2114
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags"),
|
|
2155
2115
|
type: import_smithy_client.expectString
|
|
2156
2116
|
});
|
|
2157
2117
|
}, "de_GetFieldResponse");
|
|
@@ -2192,15 +2152,15 @@ var de_RelatedItemContent = /* @__PURE__ */ __name((output, context) => {
|
|
|
2192
2152
|
}, "de_RelatedItemContent");
|
|
2193
2153
|
var de_RequiredCaseRule = /* @__PURE__ */ __name((output, context) => {
|
|
2194
2154
|
return (0, import_smithy_client.take)(output, {
|
|
2195
|
-
conditions: (_) => de_BooleanConditionList(_, context),
|
|
2155
|
+
conditions: /* @__PURE__ */ __name((_) => de_BooleanConditionList(_, context), "conditions"),
|
|
2196
2156
|
defaultValue: import_smithy_client.expectBoolean
|
|
2197
2157
|
});
|
|
2198
2158
|
}, "de_RequiredCaseRule");
|
|
2199
2159
|
var de_SearchCasesResponseItem = /* @__PURE__ */ __name((output, context) => {
|
|
2200
2160
|
return (0, import_smithy_client.take)(output, {
|
|
2201
2161
|
caseId: import_smithy_client.expectString,
|
|
2202
|
-
fields: (_) => de_FieldValueList(_, context),
|
|
2203
|
-
tags: (_) => de_Tags(_, context),
|
|
2162
|
+
fields: /* @__PURE__ */ __name((_) => de_FieldValueList(_, context), "fields"),
|
|
2163
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags"),
|
|
2204
2164
|
templateId: import_smithy_client.expectString
|
|
2205
2165
|
});
|
|
2206
2166
|
}, "de_SearchCasesResponseItem");
|
|
@@ -2215,11 +2175,11 @@ var de_SearchCasesResponseItemList = /* @__PURE__ */ __name((output, context) =>
|
|
|
2215
2175
|
}, "de_SearchCasesResponseItemList");
|
|
2216
2176
|
var de_SearchRelatedItemsResponseItem = /* @__PURE__ */ __name((output, context) => {
|
|
2217
2177
|
return (0, import_smithy_client.take)(output, {
|
|
2218
|
-
associationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2219
|
-
content: (_) => de_RelatedItemContent((0, import_core2.awsExpectUnion)(_), context),
|
|
2220
|
-
performedBy: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2178
|
+
associationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "associationTime"),
|
|
2179
|
+
content: /* @__PURE__ */ __name((_) => de_RelatedItemContent((0, import_core2.awsExpectUnion)(_), context), "content"),
|
|
2180
|
+
performedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "performedBy"),
|
|
2221
2181
|
relatedItemId: import_smithy_client.expectString,
|
|
2222
|
-
tags: (_) => de_Tags(_, context),
|
|
2182
|
+
tags: /* @__PURE__ */ __name((_) => de_Tags(_, context), "tags"),
|
|
2223
2183
|
type: import_smithy_client.expectString
|
|
2224
2184
|
});
|
|
2225
2185
|
}, "de_SearchRelatedItemsResponseItem");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connectcases",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connectcases Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connectcases",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|