@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.
Files changed (49) hide show
  1. package/README.md +54 -0
  2. package/dist-cjs/index.js +410 -1
  3. package/dist-es/ConnectCases.js +10 -0
  4. package/dist-es/commands/BatchGetCaseRuleCommand.js +22 -0
  5. package/dist-es/commands/CreateCaseRuleCommand.js +22 -0
  6. package/dist-es/commands/DeleteCaseRuleCommand.js +22 -0
  7. package/dist-es/commands/ListCaseRulesCommand.js +22 -0
  8. package/dist-es/commands/UpdateCaseRuleCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +43 -0
  11. package/dist-es/pagination/ListCaseRulesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +261 -1
  14. package/dist-types/ConnectCases.d.ts +50 -1
  15. package/dist-types/ConnectCasesClient.d.ts +22 -3
  16. package/dist-types/commands/BatchGetCaseRuleCommand.d.ts +148 -0
  17. package/dist-types/commands/CreateCaseCommand.d.ts +0 -1
  18. package/dist-types/commands/CreateCaseRuleCommand.d.ts +135 -0
  19. package/dist-types/commands/CreateRelatedItemCommand.d.ts +3 -1
  20. package/dist-types/commands/CreateTemplateCommand.d.ts +29 -0
  21. package/dist-types/commands/DeleteCaseRuleCommand.d.ts +91 -0
  22. package/dist-types/commands/DeleteDomainCommand.d.ts +0 -1
  23. package/dist-types/commands/DeleteFieldCommand.d.ts +18 -15
  24. package/dist-types/commands/DeleteLayoutCommand.d.ts +3 -2
  25. package/dist-types/commands/GetTemplateCommand.d.ts +29 -1
  26. package/dist-types/commands/ListCaseRulesCommand.d.ts +101 -0
  27. package/dist-types/commands/ListTemplatesCommand.d.ts +23 -0
  28. package/dist-types/commands/UpdateCaseCommand.d.ts +0 -1
  29. package/dist-types/commands/UpdateCaseRuleCommand.d.ts +129 -0
  30. package/dist-types/commands/UpdateTemplateCommand.d.ts +29 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +15 -1
  33. package/dist-types/models/models_0.d.ts +573 -1
  34. package/dist-types/pagination/ListCaseRulesPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  37. package/dist-types/ts3.4/ConnectCases.d.ts +85 -0
  38. package/dist-types/ts3.4/ConnectCasesClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetCaseRuleCommand.d.ts +50 -0
  40. package/dist-types/ts3.4/commands/CreateCaseRuleCommand.d.ts +50 -0
  41. package/dist-types/ts3.4/commands/DeleteCaseRuleCommand.d.ts +50 -0
  42. package/dist-types/ts3.4/commands/ListCaseRulesCommand.d.ts +50 -0
  43. package/dist-types/ts3.4/commands/UpdateCaseRuleCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +199 -0
  46. package/dist-types/ts3.4/pagination/ListCaseRulesPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  49. package/package.json +5 -5
@@ -38,7 +38,7 @@ export interface EmptyFieldValue {
38
38
  /**
39
39
  * <p>Object to store union of Field values.</p>
40
40
  * <note>
41
- * <p>The <code>Summary</code> system field accepts 1500 characters while all other fields
41
+ * <p>The <code>Summary</code> system field accepts 3000 characters while all other fields
42
42
  * accept 500 characters.</p>
43
43
  * </note>
44
44
  * @public
@@ -1270,6 +1270,543 @@ export interface UpdateCaseRequest {
1270
1270
  */
1271
1271
  export interface UpdateCaseResponse {
1272
1272
  }
1273
+ /**
1274
+ * <p>Object containing case rule identifier information.</p>
1275
+ * @public
1276
+ */
1277
+ export interface CaseRuleIdentifier {
1278
+ /**
1279
+ * <p>Unique identifier of a case rule.</p>
1280
+ * @public
1281
+ */
1282
+ id: string | undefined;
1283
+ }
1284
+ /**
1285
+ * @public
1286
+ */
1287
+ export interface BatchGetCaseRuleRequest {
1288
+ /**
1289
+ * <p>Unique identifier of a Cases domain.</p>
1290
+ * @public
1291
+ */
1292
+ domainId: string | undefined;
1293
+ /**
1294
+ * <p>List of case rule identifiers.</p>
1295
+ * @public
1296
+ */
1297
+ caseRules: CaseRuleIdentifier[] | undefined;
1298
+ }
1299
+ /**
1300
+ * <p>Represents the left hand operand in the condition. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1301
+ * For more
1302
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1303
+ * case template</a>.</p>
1304
+ * @public
1305
+ */
1306
+ export type OperandOne = OperandOne.FieldIdMember | OperandOne.$UnknownMember;
1307
+ /**
1308
+ * @public
1309
+ */
1310
+ export declare namespace OperandOne {
1311
+ /**
1312
+ * <p>The field ID that this operand should take the value of.</p>
1313
+ * @public
1314
+ */
1315
+ interface FieldIdMember {
1316
+ fieldId: string;
1317
+ $unknown?: never;
1318
+ }
1319
+ /**
1320
+ * @public
1321
+ */
1322
+ interface $UnknownMember {
1323
+ fieldId?: never;
1324
+ $unknown: [string, any];
1325
+ }
1326
+ interface Visitor<T> {
1327
+ fieldId: (value: string) => T;
1328
+ _: (name: string, value: any) => T;
1329
+ }
1330
+ const visit: <T>(value: OperandOne, visitor: Visitor<T>) => T;
1331
+ }
1332
+ /**
1333
+ * <p>Represents an empty operand value. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1334
+ * For more
1335
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1336
+ * case template</a>.</p>
1337
+ * @public
1338
+ */
1339
+ export interface EmptyOperandValue {
1340
+ }
1341
+ /**
1342
+ * <p>Represents the right hand operand in the condition. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1343
+ * For more
1344
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1345
+ * case template</a>.</p>
1346
+ * @public
1347
+ */
1348
+ export type OperandTwo = OperandTwo.BooleanValueMember | OperandTwo.DoubleValueMember | OperandTwo.EmptyValueMember | OperandTwo.StringValueMember | OperandTwo.$UnknownMember;
1349
+ /**
1350
+ * @public
1351
+ */
1352
+ export declare namespace OperandTwo {
1353
+ /**
1354
+ * <p>String value type.</p>
1355
+ * @public
1356
+ */
1357
+ interface StringValueMember {
1358
+ stringValue: string;
1359
+ booleanValue?: never;
1360
+ doubleValue?: never;
1361
+ emptyValue?: never;
1362
+ $unknown?: never;
1363
+ }
1364
+ /**
1365
+ * <p>Boolean value type.</p>
1366
+ * @public
1367
+ */
1368
+ interface BooleanValueMember {
1369
+ stringValue?: never;
1370
+ booleanValue: boolean;
1371
+ doubleValue?: never;
1372
+ emptyValue?: never;
1373
+ $unknown?: never;
1374
+ }
1375
+ /**
1376
+ * <p>Double value type.</p>
1377
+ * @public
1378
+ */
1379
+ interface DoubleValueMember {
1380
+ stringValue?: never;
1381
+ booleanValue?: never;
1382
+ doubleValue: number;
1383
+ emptyValue?: never;
1384
+ $unknown?: never;
1385
+ }
1386
+ /**
1387
+ * <p>Empty value type.</p>
1388
+ * @public
1389
+ */
1390
+ interface EmptyValueMember {
1391
+ stringValue?: never;
1392
+ booleanValue?: never;
1393
+ doubleValue?: never;
1394
+ emptyValue: EmptyOperandValue;
1395
+ $unknown?: never;
1396
+ }
1397
+ /**
1398
+ * @public
1399
+ */
1400
+ interface $UnknownMember {
1401
+ stringValue?: never;
1402
+ booleanValue?: never;
1403
+ doubleValue?: never;
1404
+ emptyValue?: never;
1405
+ $unknown: [string, any];
1406
+ }
1407
+ interface Visitor<T> {
1408
+ stringValue: (value: string) => T;
1409
+ booleanValue: (value: boolean) => T;
1410
+ doubleValue: (value: number) => T;
1411
+ emptyValue: (value: EmptyOperandValue) => T;
1412
+ _: (name: string, value: any) => T;
1413
+ }
1414
+ const visit: <T>(value: OperandTwo, visitor: Visitor<T>) => T;
1415
+ }
1416
+ /**
1417
+ * <p>Boolean operands for a condition. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1418
+ * For more
1419
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1420
+ * case template</a>.</p>
1421
+ * @public
1422
+ */
1423
+ export interface BooleanOperands {
1424
+ /**
1425
+ * <p>Represents the left hand operand in the condition.</p>
1426
+ * @public
1427
+ */
1428
+ operandOne: OperandOne | undefined;
1429
+ /**
1430
+ * <p>Represents the right hand operand in the condition.</p>
1431
+ * @public
1432
+ */
1433
+ operandTwo: OperandTwo | undefined;
1434
+ /**
1435
+ * <p>The value of the outer rule if the condition evaluates to true.</p>
1436
+ * @public
1437
+ */
1438
+ result: boolean | undefined;
1439
+ }
1440
+ /**
1441
+ * <p>Boolean condition for a rule. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1442
+ * For more
1443
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1444
+ * case template</a>.</p>
1445
+ * @public
1446
+ */
1447
+ export type BooleanCondition = BooleanCondition.EqualToMember | BooleanCondition.NotEqualToMember | BooleanCondition.$UnknownMember;
1448
+ /**
1449
+ * @public
1450
+ */
1451
+ export declare namespace BooleanCondition {
1452
+ /**
1453
+ * <p>Tests that operandOne is equal to operandTwo.</p>
1454
+ * @public
1455
+ */
1456
+ interface EqualToMember {
1457
+ equalTo: BooleanOperands;
1458
+ notEqualTo?: never;
1459
+ $unknown?: never;
1460
+ }
1461
+ /**
1462
+ * <p>Tests that operandOne is not equal to operandTwo.</p>
1463
+ * @public
1464
+ */
1465
+ interface NotEqualToMember {
1466
+ equalTo?: never;
1467
+ notEqualTo: BooleanOperands;
1468
+ $unknown?: never;
1469
+ }
1470
+ /**
1471
+ * @public
1472
+ */
1473
+ interface $UnknownMember {
1474
+ equalTo?: never;
1475
+ notEqualTo?: never;
1476
+ $unknown: [string, any];
1477
+ }
1478
+ interface Visitor<T> {
1479
+ equalTo: (value: BooleanOperands) => T;
1480
+ notEqualTo: (value: BooleanOperands) => T;
1481
+ _: (name: string, value: any) => T;
1482
+ }
1483
+ const visit: <T>(value: BooleanCondition, visitor: Visitor<T>) => T;
1484
+ }
1485
+ /**
1486
+ * <p>Required rule type, used to indicate whether a field is required.
1487
+ * In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1488
+ * For more
1489
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1490
+ * case template</a>.</p>
1491
+ * @public
1492
+ */
1493
+ export interface RequiredCaseRule {
1494
+ /**
1495
+ * <p>The value of the rule (that is, whether the field is required) should none of the conditions
1496
+ * evaluate to true.</p>
1497
+ * @public
1498
+ */
1499
+ defaultValue: boolean | undefined;
1500
+ /**
1501
+ * <p>List of conditions for the required rule; the first condition to evaluate to true dictates
1502
+ * the value of the rule.</p>
1503
+ * @public
1504
+ */
1505
+ conditions: BooleanCondition[] | undefined;
1506
+ }
1507
+ /**
1508
+ * <p>Represents what rule type should take place, under what conditions.
1509
+ * In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1510
+ * For more
1511
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1512
+ * case template</a>.</p>
1513
+ * @public
1514
+ */
1515
+ export type CaseRuleDetails = CaseRuleDetails.RequiredMember | CaseRuleDetails.$UnknownMember;
1516
+ /**
1517
+ * @public
1518
+ */
1519
+ export declare namespace CaseRuleDetails {
1520
+ /**
1521
+ * <p>Required rule type, used to indicate whether a field is required.</p>
1522
+ * @public
1523
+ */
1524
+ interface RequiredMember {
1525
+ required: RequiredCaseRule;
1526
+ $unknown?: never;
1527
+ }
1528
+ /**
1529
+ * @public
1530
+ */
1531
+ interface $UnknownMember {
1532
+ required?: never;
1533
+ $unknown: [string, any];
1534
+ }
1535
+ interface Visitor<T> {
1536
+ required: (value: RequiredCaseRule) => T;
1537
+ _: (name: string, value: any) => T;
1538
+ }
1539
+ const visit: <T>(value: CaseRuleDetails, visitor: Visitor<T>) => T;
1540
+ }
1541
+ /**
1542
+ * <p>Detailed case rule information. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1543
+ * For more
1544
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1545
+ * case template</a>.</p>
1546
+ * @public
1547
+ */
1548
+ export interface GetCaseRuleResponse {
1549
+ /**
1550
+ * <p>Unique identifier of a case rule.</p>
1551
+ * @public
1552
+ */
1553
+ caseRuleId: string | undefined;
1554
+ /**
1555
+ * <p>Name of the case rule.</p>
1556
+ * @public
1557
+ */
1558
+ name: string | undefined;
1559
+ /**
1560
+ * <p>The Amazon Resource Name (ARN) of the case rule.</p>
1561
+ * @public
1562
+ */
1563
+ caseRuleArn: string | undefined;
1564
+ /**
1565
+ * <p>Represents what rule type should take place, under what conditions.</p>
1566
+ * @public
1567
+ */
1568
+ rule: CaseRuleDetails | undefined;
1569
+ /**
1570
+ * <p>Description of a case rule.</p>
1571
+ * @public
1572
+ */
1573
+ description?: string | undefined;
1574
+ /**
1575
+ * <p>Indicates whether the resource has been deleted.</p>
1576
+ * @public
1577
+ */
1578
+ deleted?: boolean | undefined;
1579
+ /**
1580
+ * <p>Timestamp when the resource was created.</p>
1581
+ * @public
1582
+ */
1583
+ createdTime?: Date | undefined;
1584
+ /**
1585
+ * <p>Timestamp when the resource was created or last modified.</p>
1586
+ * @public
1587
+ */
1588
+ lastModifiedTime?: Date | undefined;
1589
+ /**
1590
+ * <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
1591
+ * @public
1592
+ */
1593
+ tags?: Record<string, string> | undefined;
1594
+ }
1595
+ /**
1596
+ * <p>Error for batch describe case rules API failure. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1597
+ * For more
1598
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1599
+ * case template</a>.</p>
1600
+ * @public
1601
+ */
1602
+ export interface CaseRuleError {
1603
+ /**
1604
+ * <p>The case rule identifier that caused the error.</p>
1605
+ * @public
1606
+ */
1607
+ id: string | undefined;
1608
+ /**
1609
+ * <p>Error code from getting a case rule.</p>
1610
+ * @public
1611
+ */
1612
+ errorCode: string | undefined;
1613
+ /**
1614
+ * <p>Error message from getting a case rule.</p>
1615
+ * @public
1616
+ */
1617
+ message?: string | undefined;
1618
+ }
1619
+ /**
1620
+ * @public
1621
+ */
1622
+ export interface BatchGetCaseRuleResponse {
1623
+ /**
1624
+ * <p>List of detailed case rule information.</p>
1625
+ * @public
1626
+ */
1627
+ caseRules: GetCaseRuleResponse[] | undefined;
1628
+ /**
1629
+ * <p>List of case rule errors.</p>
1630
+ * @public
1631
+ */
1632
+ errors: CaseRuleError[] | undefined;
1633
+ }
1634
+ /**
1635
+ * @public
1636
+ */
1637
+ export interface CreateCaseRuleRequest {
1638
+ /**
1639
+ * <p>Unique identifier of a Cases domain.</p>
1640
+ * @public
1641
+ */
1642
+ domainId: string | undefined;
1643
+ /**
1644
+ * <p>Name of the case rule.</p>
1645
+ * @public
1646
+ */
1647
+ name: string | undefined;
1648
+ /**
1649
+ * <p>The description of a case rule.</p>
1650
+ * @public
1651
+ */
1652
+ description?: string | undefined;
1653
+ /**
1654
+ * <p>Represents what rule type should take place, under what conditions.</p>
1655
+ * @public
1656
+ */
1657
+ rule: CaseRuleDetails | undefined;
1658
+ }
1659
+ /**
1660
+ * @public
1661
+ */
1662
+ export interface CreateCaseRuleResponse {
1663
+ /**
1664
+ * <p>Unique identifier of a case rule.</p>
1665
+ * @public
1666
+ */
1667
+ caseRuleId: string | undefined;
1668
+ /**
1669
+ * <p>The Amazon Resource Name (ARN) of a case rule.</p>
1670
+ * @public
1671
+ */
1672
+ caseRuleArn: string | undefined;
1673
+ }
1674
+ /**
1675
+ * @public
1676
+ */
1677
+ export interface DeleteCaseRuleRequest {
1678
+ /**
1679
+ * <p>Unique identifier of a Cases domain.</p>
1680
+ * @public
1681
+ */
1682
+ domainId: string | undefined;
1683
+ /**
1684
+ * <p>Unique identifier of a case rule.</p>
1685
+ * @public
1686
+ */
1687
+ caseRuleId: string | undefined;
1688
+ }
1689
+ /**
1690
+ * @public
1691
+ */
1692
+ export interface DeleteCaseRuleResponse {
1693
+ }
1694
+ /**
1695
+ * @public
1696
+ */
1697
+ export interface ListCaseRulesRequest {
1698
+ /**
1699
+ * <p>Unique identifier of a Cases domain.</p>
1700
+ * @public
1701
+ */
1702
+ domainId: string | undefined;
1703
+ /**
1704
+ * <p>The maximum number of results to return per page.</p>
1705
+ * @public
1706
+ */
1707
+ maxResults?: number | undefined;
1708
+ /**
1709
+ * <p>The token for the next set of results. Use the value returned in the previous
1710
+ * response in the next request to retrieve the next set of results.</p>
1711
+ * @public
1712
+ */
1713
+ nextToken?: string | undefined;
1714
+ }
1715
+ /**
1716
+ * @public
1717
+ * @enum
1718
+ */
1719
+ export declare const RuleType: {
1720
+ readonly REQUIRED: "Required";
1721
+ };
1722
+ /**
1723
+ * @public
1724
+ */
1725
+ export type RuleType = (typeof RuleType)[keyof typeof RuleType];
1726
+ /**
1727
+ * <p>Summary information of this case rule. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
1728
+ * For more
1729
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
1730
+ * case template</a>.</p>
1731
+ * @public
1732
+ */
1733
+ export interface CaseRuleSummary {
1734
+ /**
1735
+ * <p>Unique identifier of a case rule.</p>
1736
+ * @public
1737
+ */
1738
+ caseRuleId: string | undefined;
1739
+ /**
1740
+ * <p>Name of the case rule.</p>
1741
+ * @public
1742
+ */
1743
+ name: string | undefined;
1744
+ /**
1745
+ * <p>The Amazon Resource Name (ARN) of the case rule. </p>
1746
+ * @public
1747
+ */
1748
+ caseRuleArn: string | undefined;
1749
+ /**
1750
+ * <p>Possible types for a rule.</p>
1751
+ * @public
1752
+ */
1753
+ ruleType: RuleType | undefined;
1754
+ /**
1755
+ * <p>Description of a case rule.</p>
1756
+ * @public
1757
+ */
1758
+ description?: string | undefined;
1759
+ }
1760
+ /**
1761
+ * @public
1762
+ */
1763
+ export interface ListCaseRulesResponse {
1764
+ /**
1765
+ * <p>A list of field summary objects.</p>
1766
+ * @public
1767
+ */
1768
+ caseRules: CaseRuleSummary[] | undefined;
1769
+ /**
1770
+ * <p>The token for the next set of results. This is null if there are no more results to return.</p>
1771
+ * @public
1772
+ */
1773
+ nextToken?: string | undefined;
1774
+ }
1775
+ /**
1776
+ * @public
1777
+ */
1778
+ export interface UpdateCaseRuleRequest {
1779
+ /**
1780
+ * <p>Unique identifier of a Cases domain.</p>
1781
+ * @public
1782
+ */
1783
+ domainId: string | undefined;
1784
+ /**
1785
+ * <p>Unique identifier of a case rule.</p>
1786
+ * @public
1787
+ */
1788
+ caseRuleId: string | undefined;
1789
+ /**
1790
+ * <p>Name of the case rule.</p>
1791
+ * @public
1792
+ */
1793
+ name?: string | undefined;
1794
+ /**
1795
+ * <p>Description of a case rule.</p>
1796
+ * @public
1797
+ */
1798
+ description?: string | undefined;
1799
+ /**
1800
+ * <p>Represents what rule type should take place, under what conditions.</p>
1801
+ * @public
1802
+ */
1803
+ rule?: CaseRuleDetails | undefined;
1804
+ }
1805
+ /**
1806
+ * @public
1807
+ */
1808
+ export interface UpdateCaseRuleResponse {
1809
+ }
1273
1810
  /**
1274
1811
  * @public
1275
1812
  */
@@ -2319,6 +2856,25 @@ export interface RequiredField {
2319
2856
  */
2320
2857
  fieldId: string | undefined;
2321
2858
  }
2859
+ /**
2860
+ * <p>An association representing a case rule acting upon a field. In the Amazon Connect admin website, case rules are known as <i>case field conditions</i>.
2861
+ * For more
2862
+ * information about case field conditions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add case field conditions to a
2863
+ * case template</a>.</p>
2864
+ * @public
2865
+ */
2866
+ export interface TemplateRule {
2867
+ /**
2868
+ * <p>Unique identifier of a case rule.</p>
2869
+ * @public
2870
+ */
2871
+ caseRuleId: string | undefined;
2872
+ /**
2873
+ * <p>Unique identifier of a field.</p>
2874
+ * @public
2875
+ */
2876
+ fieldId: string | undefined;
2877
+ }
2322
2878
  /**
2323
2879
  * @public
2324
2880
  * @enum
@@ -2366,6 +2922,12 @@ export interface CreateTemplateRequest {
2366
2922
  * @public
2367
2923
  */
2368
2924
  status?: TemplateStatus | undefined;
2925
+ /**
2926
+ * <p>A list of case rules (also known as <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">case field conditions</a>) on a template.
2927
+ * </p>
2928
+ * @public
2929
+ */
2930
+ rules?: TemplateRule[] | undefined;
2369
2931
  }
2370
2932
  /**
2371
2933
  * @public
@@ -2477,6 +3039,11 @@ export interface GetTemplateResponse {
2477
3039
  * @public
2478
3040
  */
2479
3041
  lastModifiedTime?: Date | undefined;
3042
+ /**
3043
+ * <p>A list of case rules (also known as <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">case field conditions</a>) on a template. </p>
3044
+ * @public
3045
+ */
3046
+ rules?: TemplateRule[] | undefined;
2480
3047
  }
2481
3048
  /**
2482
3049
  * @public
@@ -2585,6 +3152,11 @@ export interface UpdateTemplateRequest {
2585
3152
  * @public
2586
3153
  */
2587
3154
  status?: TemplateStatus | undefined;
3155
+ /**
3156
+ * <p>A list of case rules (also known as <a href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">case field conditions</a>) on a template.</p>
3157
+ * @public
3158
+ */
3159
+ rules?: TemplateRule[] | undefined;
2588
3160
  }
2589
3161
  /**
2590
3162
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListCaseRulesCommandInput, ListCaseRulesCommandOutput } from "../commands/ListCaseRulesCommand";
3
+ import { ConnectCasesPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListCaseRules: (config: ConnectCasesPaginationConfiguration, input: ListCaseRulesCommandInput, ...rest: any[]) => Paginator<ListCaseRulesCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./GetCaseAuditEventsPaginator";
2
2
  export * from "./GetCasePaginator";
3
3
  export * from "./Interfaces";
4
+ export * from "./ListCaseRulesPaginator";
4
5
  export * from "./ListCasesForContactPaginator";
5
6
  export * from "./ListDomainsPaginator";
6
7
  export * from "./ListFieldOptionsPaginator";