@rippling/rippling-sdk 0.2.0-alpha.31 → 0.2.0-alpha.32
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/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/earnings-inputs.d.mts +71 -0
- package/resources/earnings-inputs.d.mts.map +1 -0
- package/resources/earnings-inputs.d.ts +71 -0
- package/resources/earnings-inputs.d.ts.map +1 -0
- package/resources/earnings-inputs.js +21 -0
- package/resources/earnings-inputs.js.map +1 -0
- package/resources/earnings-inputs.mjs +17 -0
- package/resources/earnings-inputs.mjs.map +1 -0
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-codes.d.mts +20 -0
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +20 -0
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/workflow-action-executions.d.mts +417 -2
- package/resources/workflow-action-executions.d.mts.map +1 -1
- package/resources/workflow-action-executions.d.ts +417 -2
- package/resources/workflow-action-executions.d.ts.map +1 -1
- package/src/client.ts +16 -0
- package/src/resources/earnings-inputs.ts +93 -0
- package/src/resources/index.ts +5 -0
- package/src/resources/job-codes.ts +24 -0
- package/src/resources/workflow-action-executions.ts +610 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -43,7 +43,12 @@ export interface WorkflowActionExecutionCreateParams {
|
|
|
43
43
|
| 'send_teams'
|
|
44
44
|
| 'assign_review'
|
|
45
45
|
| 'send_report_sftp'
|
|
46
|
-
| 'run_query'
|
|
46
|
+
| 'run_query'
|
|
47
|
+
| 'enroll_into_course'
|
|
48
|
+
| 'enroll_into_learning_path'
|
|
49
|
+
| 'report_email'
|
|
50
|
+
| 'send_document'
|
|
51
|
+
| 'accrue_leave';
|
|
47
52
|
|
|
48
53
|
/**
|
|
49
54
|
* An action that sends an email.
|
|
@@ -84,6 +89,19 @@ export interface WorkflowActionExecutionCreateParams {
|
|
|
84
89
|
| WorkflowActionExecutionCreateParams.SendReportSftpPasswordCsvPayload
|
|
85
90
|
| WorkflowActionExecutionCreateParams.SendReportSftpSSHKeyExcelPayload
|
|
86
91
|
| WorkflowActionExecutionCreateParams.SendReportSftpSSHKeyCsvPayload
|
|
92
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourse1WeekPayload
|
|
93
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourse2WeeksPayload
|
|
94
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourse1MonthPayload
|
|
95
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourse3MonthsPayload
|
|
96
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourse6MonthsPayload
|
|
97
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourse12MonthsPayload
|
|
98
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoCourseCustomPayload
|
|
99
|
+
| WorkflowActionExecutionCreateParams.EnrollIntoLearningPathPayload
|
|
100
|
+
| WorkflowActionExecutionCreateParams.SendReportEmailExcelPayload
|
|
101
|
+
| WorkflowActionExecutionCreateParams.SendReportEmailCsvPayload
|
|
102
|
+
| WorkflowActionExecutionCreateParams.SendDocumentPayload
|
|
103
|
+
| WorkflowActionExecutionCreateParams.AccrueLeaveLeavePolicyPayload
|
|
104
|
+
| WorkflowActionExecutionCreateParams.AccrueLeaveCompanyLeaveTypePayload
|
|
87
105
|
| WorkflowActionExecutionCreateParams.RunQueryPayload;
|
|
88
106
|
|
|
89
107
|
workflow_definition_id?: string;
|
|
@@ -1415,6 +1433,597 @@ export namespace WorkflowActionExecutionCreateParams {
|
|
|
1415
1433
|
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
1416
1434
|
}
|
|
1417
1435
|
|
|
1436
|
+
/**
|
|
1437
|
+
* Automatically enroll people into a course
|
|
1438
|
+
*/
|
|
1439
|
+
export interface EnrollIntoCourse1WeekPayload {
|
|
1440
|
+
/**
|
|
1441
|
+
* Select a course to enroll people in
|
|
1442
|
+
*/
|
|
1443
|
+
course_id: string;
|
|
1444
|
+
|
|
1445
|
+
due_date: '1_week';
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* Select people to enroll in this course
|
|
1449
|
+
*/
|
|
1450
|
+
role_ids: Array<string>;
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1454
|
+
*/
|
|
1455
|
+
skip_if_certified?: boolean | null;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Automatically enroll people into a course
|
|
1460
|
+
*/
|
|
1461
|
+
export interface EnrollIntoCourse2WeeksPayload {
|
|
1462
|
+
/**
|
|
1463
|
+
* Select a course to enroll people in
|
|
1464
|
+
*/
|
|
1465
|
+
course_id: string;
|
|
1466
|
+
|
|
1467
|
+
due_date: '2_weeks';
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Select people to enroll in this course
|
|
1471
|
+
*/
|
|
1472
|
+
role_ids: Array<string>;
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1476
|
+
*/
|
|
1477
|
+
skip_if_certified?: boolean | null;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Automatically enroll people into a course
|
|
1482
|
+
*/
|
|
1483
|
+
export interface EnrollIntoCourse1MonthPayload {
|
|
1484
|
+
/**
|
|
1485
|
+
* Select a course to enroll people in
|
|
1486
|
+
*/
|
|
1487
|
+
course_id: string;
|
|
1488
|
+
|
|
1489
|
+
due_date: '1_month';
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Select people to enroll in this course
|
|
1493
|
+
*/
|
|
1494
|
+
role_ids: Array<string>;
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1498
|
+
*/
|
|
1499
|
+
skip_if_certified?: boolean | null;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* Automatically enroll people into a course
|
|
1504
|
+
*/
|
|
1505
|
+
export interface EnrollIntoCourse3MonthsPayload {
|
|
1506
|
+
/**
|
|
1507
|
+
* Select a course to enroll people in
|
|
1508
|
+
*/
|
|
1509
|
+
course_id: string;
|
|
1510
|
+
|
|
1511
|
+
due_date: '3_months';
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Select people to enroll in this course
|
|
1515
|
+
*/
|
|
1516
|
+
role_ids: Array<string>;
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1520
|
+
*/
|
|
1521
|
+
skip_if_certified?: boolean | null;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Automatically enroll people into a course
|
|
1526
|
+
*/
|
|
1527
|
+
export interface EnrollIntoCourse6MonthsPayload {
|
|
1528
|
+
/**
|
|
1529
|
+
* Select a course to enroll people in
|
|
1530
|
+
*/
|
|
1531
|
+
course_id: string;
|
|
1532
|
+
|
|
1533
|
+
due_date: '6_months';
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* Select people to enroll in this course
|
|
1537
|
+
*/
|
|
1538
|
+
role_ids: Array<string>;
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1542
|
+
*/
|
|
1543
|
+
skip_if_certified?: boolean | null;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Automatically enroll people into a course
|
|
1548
|
+
*/
|
|
1549
|
+
export interface EnrollIntoCourse12MonthsPayload {
|
|
1550
|
+
/**
|
|
1551
|
+
* Select a course to enroll people in
|
|
1552
|
+
*/
|
|
1553
|
+
course_id: string;
|
|
1554
|
+
|
|
1555
|
+
due_date: '12_months';
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* Select people to enroll in this course
|
|
1559
|
+
*/
|
|
1560
|
+
role_ids: Array<string>;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1564
|
+
*/
|
|
1565
|
+
skip_if_certified?: boolean | null;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Automatically enroll people into a course
|
|
1570
|
+
*/
|
|
1571
|
+
export interface EnrollIntoCourseCustomPayload {
|
|
1572
|
+
/**
|
|
1573
|
+
* Select a course to enroll people in
|
|
1574
|
+
*/
|
|
1575
|
+
course_id: string;
|
|
1576
|
+
|
|
1577
|
+
due_date: 'custom';
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* Select people to enroll in this course
|
|
1581
|
+
*/
|
|
1582
|
+
role_ids: Array<string>;
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* Time unit
|
|
1586
|
+
*/
|
|
1587
|
+
custom_due_duration?: 'day' | 'week' | 'month' | 'year' | null;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Number of days/weeks/months/years
|
|
1591
|
+
*/
|
|
1592
|
+
custom_due_value?: number | null;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Skip enrollment if the employee already has a valid certificate for this course
|
|
1596
|
+
*/
|
|
1597
|
+
skip_if_certified?: boolean | null;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* Automatically enroll people into a learning path
|
|
1602
|
+
*/
|
|
1603
|
+
export interface EnrollIntoLearningPathPayload {
|
|
1604
|
+
/**
|
|
1605
|
+
* Select a learning path to enroll people in
|
|
1606
|
+
*/
|
|
1607
|
+
learning_path_id: string;
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* Select people to enroll in this learning path
|
|
1611
|
+
*/
|
|
1612
|
+
role_ids: Array<string>;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Time unit
|
|
1616
|
+
*/
|
|
1617
|
+
custom_due_unit?: 'day' | 'week' | 'month' | 'year' | null;
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* Number of days/weeks/months/years
|
|
1621
|
+
*/
|
|
1622
|
+
custom_due_value?: number | null;
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Number of days after completing one course before the next is due
|
|
1626
|
+
*/
|
|
1627
|
+
days_between_courses?: number | null;
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* Due date type
|
|
1631
|
+
*/
|
|
1632
|
+
due_date_type?: 'global' | 'relative' | null;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Due in
|
|
1636
|
+
*/
|
|
1637
|
+
due_in?: '1_week' | '2_weeks' | '1_month' | '3_months' | '6_months' | '12_months' | 'custom' | null;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Give credit for courses the employee has already completed
|
|
1641
|
+
*/
|
|
1642
|
+
induct_completed_enrollments?: boolean | null;
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* Skip enrollment if the employee already completed this learning path
|
|
1646
|
+
*/
|
|
1647
|
+
skip_if_completed?: boolean | null;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Send Report via Email.
|
|
1652
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=382019482598'>Help
|
|
1653
|
+
* docs</helpdocslink>
|
|
1654
|
+
*/
|
|
1655
|
+
export interface SendReportEmailExcelPayload {
|
|
1656
|
+
file_type: 'EXCEL';
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Not all report types are supported in workflows, like change and trend reports
|
|
1660
|
+
*/
|
|
1661
|
+
report_id: string;
|
|
1662
|
+
|
|
1663
|
+
/**
|
|
1664
|
+
* Whose report view should be used to generate this report? (Only the workflow
|
|
1665
|
+
* owner's access level will be available if external emails are included.)
|
|
1666
|
+
*/
|
|
1667
|
+
run_report_perms: 'RECIPIENT' | 'WORKFLOW_OWNER';
|
|
1668
|
+
|
|
1669
|
+
send_to: SendReportEmailExcelPayload.SendTo;
|
|
1670
|
+
|
|
1671
|
+
add_role_referenced_id_column?: boolean | null;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* CSV quoting
|
|
1675
|
+
*/
|
|
1676
|
+
csv_quoting?: 1 | 0 | 2 | 3 | null;
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* Currency field formatting
|
|
1680
|
+
*/
|
|
1681
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE' | null;
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Date & time formatting
|
|
1685
|
+
*/
|
|
1686
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT' | null;
|
|
1687
|
+
|
|
1688
|
+
show_sub_totals?: boolean | null;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Time zones
|
|
1692
|
+
*/
|
|
1693
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
export namespace SendReportEmailExcelPayload {
|
|
1697
|
+
export interface SendTo {
|
|
1698
|
+
bcc?: SendTo.Recipient1 | SendTo.Recipient2 | null;
|
|
1699
|
+
|
|
1700
|
+
cc?: SendTo.Recipient1 | SendTo.Recipient2 | null;
|
|
1701
|
+
|
|
1702
|
+
to?: SendTo.Recipient1 | SendTo.Recipient2 | null;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
export namespace SendTo {
|
|
1706
|
+
export interface Recipient1 {
|
|
1707
|
+
supergroup: Array<string>;
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Email type
|
|
1711
|
+
*/
|
|
1712
|
+
emailType?:
|
|
1713
|
+
| 'work_or_personal_email'
|
|
1714
|
+
| 'work_email_only'
|
|
1715
|
+
| 'personal_email_only'
|
|
1716
|
+
| 'work_and_personal_email'
|
|
1717
|
+
| null;
|
|
1718
|
+
|
|
1719
|
+
externalEmails?: Array<string> | null;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
export interface Recipient2 {
|
|
1723
|
+
externalEmails: Array<string>;
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* Email type
|
|
1727
|
+
*/
|
|
1728
|
+
emailType?:
|
|
1729
|
+
| 'work_or_personal_email'
|
|
1730
|
+
| 'work_email_only'
|
|
1731
|
+
| 'personal_email_only'
|
|
1732
|
+
| 'work_and_personal_email'
|
|
1733
|
+
| null;
|
|
1734
|
+
|
|
1735
|
+
supergroup?: Array<string> | null;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
export interface Recipient1 {
|
|
1739
|
+
supergroup: Array<string>;
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* Email type
|
|
1743
|
+
*/
|
|
1744
|
+
emailType?:
|
|
1745
|
+
| 'work_or_personal_email'
|
|
1746
|
+
| 'work_email_only'
|
|
1747
|
+
| 'personal_email_only'
|
|
1748
|
+
| 'work_and_personal_email'
|
|
1749
|
+
| null;
|
|
1750
|
+
|
|
1751
|
+
externalEmails?: Array<string> | null;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
export interface Recipient2 {
|
|
1755
|
+
externalEmails: Array<string>;
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Email type
|
|
1759
|
+
*/
|
|
1760
|
+
emailType?:
|
|
1761
|
+
| 'work_or_personal_email'
|
|
1762
|
+
| 'work_email_only'
|
|
1763
|
+
| 'personal_email_only'
|
|
1764
|
+
| 'work_and_personal_email'
|
|
1765
|
+
| null;
|
|
1766
|
+
|
|
1767
|
+
supergroup?: Array<string> | null;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
export interface Recipient1 {
|
|
1771
|
+
supergroup: Array<string>;
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* Email type
|
|
1775
|
+
*/
|
|
1776
|
+
emailType?:
|
|
1777
|
+
| 'work_or_personal_email'
|
|
1778
|
+
| 'work_email_only'
|
|
1779
|
+
| 'personal_email_only'
|
|
1780
|
+
| 'work_and_personal_email'
|
|
1781
|
+
| null;
|
|
1782
|
+
|
|
1783
|
+
externalEmails?: Array<string> | null;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export interface Recipient2 {
|
|
1787
|
+
externalEmails: Array<string>;
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* Email type
|
|
1791
|
+
*/
|
|
1792
|
+
emailType?:
|
|
1793
|
+
| 'work_or_personal_email'
|
|
1794
|
+
| 'work_email_only'
|
|
1795
|
+
| 'personal_email_only'
|
|
1796
|
+
| 'work_and_personal_email'
|
|
1797
|
+
| null;
|
|
1798
|
+
|
|
1799
|
+
supergroup?: Array<string> | null;
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Send Report via Email.
|
|
1806
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=382019482598'>Help
|
|
1807
|
+
* docs</helpdocslink>
|
|
1808
|
+
*/
|
|
1809
|
+
export interface SendReportEmailCsvPayload {
|
|
1810
|
+
file_type: 'CSV';
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Not all report types are supported in workflows, like change and trend reports
|
|
1814
|
+
*/
|
|
1815
|
+
report_id: string;
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* Whose report view should be used to generate this report? (Only the workflow
|
|
1819
|
+
* owner's access level will be available if external emails are included.)
|
|
1820
|
+
*/
|
|
1821
|
+
run_report_perms: 'RECIPIENT' | 'WORKFLOW_OWNER';
|
|
1822
|
+
|
|
1823
|
+
send_to: SendReportEmailCsvPayload.SendTo;
|
|
1824
|
+
|
|
1825
|
+
add_role_referenced_id_column?: boolean | null;
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* CSV quoting
|
|
1829
|
+
*/
|
|
1830
|
+
csv_quoting?: 1 | 0 | 2 | 3 | null;
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* Custom separator
|
|
1834
|
+
*/
|
|
1835
|
+
csv_separator?: ',' | ';' | '\t' | '|' | null;
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
* Currency field formatting
|
|
1839
|
+
*/
|
|
1840
|
+
currency_fields?: 'WITH_CURRENCY_TYPE' | 'WITHOUT_CURRENCY_TYPE' | null;
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Date & time formatting
|
|
1844
|
+
*/
|
|
1845
|
+
date_and_time_formatting?: 'ISO_FORMAT' | 'LOCALE_FORMAT' | null;
|
|
1846
|
+
|
|
1847
|
+
show_sub_totals?: boolean | null;
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* Time zones
|
|
1851
|
+
*/
|
|
1852
|
+
time_zones?: 'UTC' | 'PRESERVE_TZ' | 'VIEWER_LOCALE' | null;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
export namespace SendReportEmailCsvPayload {
|
|
1856
|
+
export interface SendTo {
|
|
1857
|
+
bcc?: SendTo.Recipient1 | SendTo.Recipient2 | null;
|
|
1858
|
+
|
|
1859
|
+
cc?: SendTo.Recipient1 | SendTo.Recipient2 | null;
|
|
1860
|
+
|
|
1861
|
+
to?: SendTo.Recipient1 | SendTo.Recipient2 | null;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
export namespace SendTo {
|
|
1865
|
+
export interface Recipient1 {
|
|
1866
|
+
supergroup: Array<string>;
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* Email type
|
|
1870
|
+
*/
|
|
1871
|
+
emailType?:
|
|
1872
|
+
| 'work_or_personal_email'
|
|
1873
|
+
| 'work_email_only'
|
|
1874
|
+
| 'personal_email_only'
|
|
1875
|
+
| 'work_and_personal_email'
|
|
1876
|
+
| null;
|
|
1877
|
+
|
|
1878
|
+
externalEmails?: Array<string> | null;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
export interface Recipient2 {
|
|
1882
|
+
externalEmails: Array<string>;
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Email type
|
|
1886
|
+
*/
|
|
1887
|
+
emailType?:
|
|
1888
|
+
| 'work_or_personal_email'
|
|
1889
|
+
| 'work_email_only'
|
|
1890
|
+
| 'personal_email_only'
|
|
1891
|
+
| 'work_and_personal_email'
|
|
1892
|
+
| null;
|
|
1893
|
+
|
|
1894
|
+
supergroup?: Array<string> | null;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
export interface Recipient1 {
|
|
1898
|
+
supergroup: Array<string>;
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* Email type
|
|
1902
|
+
*/
|
|
1903
|
+
emailType?:
|
|
1904
|
+
| 'work_or_personal_email'
|
|
1905
|
+
| 'work_email_only'
|
|
1906
|
+
| 'personal_email_only'
|
|
1907
|
+
| 'work_and_personal_email'
|
|
1908
|
+
| null;
|
|
1909
|
+
|
|
1910
|
+
externalEmails?: Array<string> | null;
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
export interface Recipient2 {
|
|
1914
|
+
externalEmails: Array<string>;
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* Email type
|
|
1918
|
+
*/
|
|
1919
|
+
emailType?:
|
|
1920
|
+
| 'work_or_personal_email'
|
|
1921
|
+
| 'work_email_only'
|
|
1922
|
+
| 'personal_email_only'
|
|
1923
|
+
| 'work_and_personal_email'
|
|
1924
|
+
| null;
|
|
1925
|
+
|
|
1926
|
+
supergroup?: Array<string> | null;
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
export interface Recipient1 {
|
|
1930
|
+
supergroup: Array<string>;
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* Email type
|
|
1934
|
+
*/
|
|
1935
|
+
emailType?:
|
|
1936
|
+
| 'work_or_personal_email'
|
|
1937
|
+
| 'work_email_only'
|
|
1938
|
+
| 'personal_email_only'
|
|
1939
|
+
| 'work_and_personal_email'
|
|
1940
|
+
| null;
|
|
1941
|
+
|
|
1942
|
+
externalEmails?: Array<string> | null;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
export interface Recipient2 {
|
|
1946
|
+
externalEmails: Array<string>;
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Email type
|
|
1950
|
+
*/
|
|
1951
|
+
emailType?:
|
|
1952
|
+
| 'work_or_personal_email'
|
|
1953
|
+
| 'work_email_only'
|
|
1954
|
+
| 'personal_email_only'
|
|
1955
|
+
| 'work_and_personal_email'
|
|
1956
|
+
| null;
|
|
1957
|
+
|
|
1958
|
+
supergroup?: Array<string> | null;
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Sends a document to employees
|
|
1965
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=5M7eDUNcGIZndtJQv99mjW'>Help
|
|
1966
|
+
* docs</helpdocslink>
|
|
1967
|
+
*/
|
|
1968
|
+
export interface SendDocumentPayload {
|
|
1969
|
+
document: string;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* Maximum recipients: 500
|
|
1973
|
+
*/
|
|
1974
|
+
recipients: Array<string>;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* Adjust time off balance of a leave policy or a leave type
|
|
1979
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=807953794978'>Help
|
|
1980
|
+
* docs</helpdocslink>
|
|
1981
|
+
*/
|
|
1982
|
+
export interface AccrueLeaveLeavePolicyPayload {
|
|
1983
|
+
/**
|
|
1984
|
+
* Choose how to adjust the employee's leave balance
|
|
1985
|
+
*/
|
|
1986
|
+
balance_action_type: 'ADD_BALANCE' | 'DEDUCT_BALANCE';
|
|
1987
|
+
|
|
1988
|
+
balance_increment: number;
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* The unit of time to accrue leave in
|
|
1992
|
+
*/
|
|
1993
|
+
balance_unit: 'HOURS' | 'DAYS' | 'WEEKS';
|
|
1994
|
+
|
|
1995
|
+
leave_policy: string;
|
|
1996
|
+
|
|
1997
|
+
pto_type: 'LEAVE_POLICY';
|
|
1998
|
+
|
|
1999
|
+
recipients: Array<string>;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* Adjust time off balance of a leave policy or a leave type
|
|
2004
|
+
* <helpdocslink href='https://help.rippling.com/article?articleId=807953794978'>Help
|
|
2005
|
+
* docs</helpdocslink>
|
|
2006
|
+
*/
|
|
2007
|
+
export interface AccrueLeaveCompanyLeaveTypePayload {
|
|
2008
|
+
/**
|
|
2009
|
+
* Choose how to adjust the employee's leave balance
|
|
2010
|
+
*/
|
|
2011
|
+
balance_action_type: 'ADD_BALANCE' | 'DEDUCT_BALANCE';
|
|
2012
|
+
|
|
2013
|
+
balance_increment: number;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* The unit of time to accrue leave in
|
|
2017
|
+
*/
|
|
2018
|
+
balance_unit: 'HOURS' | 'DAYS' | 'WEEKS';
|
|
2019
|
+
|
|
2020
|
+
company_leave_type: string;
|
|
2021
|
+
|
|
2022
|
+
pto_type: 'COMPANY_LEAVE_TYPE';
|
|
2023
|
+
|
|
2024
|
+
recipients: Array<string>;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
1418
2027
|
export interface RunQueryPayload {
|
|
1419
2028
|
query: string;
|
|
1420
2029
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.32'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.32";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.32";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.32'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.32'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|