@rippling/rippling-sdk 0.2.0-alpha.112 → 0.2.0-alpha.114

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 (277) hide show
  1. package/client.d.mts +41 -8
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +41 -8
  4. package/client.d.ts.map +1 -1
  5. package/client.js +35 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +35 -0
  8. package/client.mjs.map +1 -1
  9. package/lib/manifest/app.d.mts +20 -1
  10. package/lib/manifest/app.d.mts.map +1 -1
  11. package/lib/manifest/app.d.ts +20 -1
  12. package/lib/manifest/app.d.ts.map +1 -1
  13. package/lib/manifest/app.js +50 -0
  14. package/lib/manifest/app.js.map +1 -1
  15. package/lib/manifest/app.mjs +51 -1
  16. package/lib/manifest/app.mjs.map +1 -1
  17. package/lib/manifest/composition.d.mts +3 -0
  18. package/lib/manifest/composition.d.mts.map +1 -1
  19. package/lib/manifest/composition.d.ts +3 -0
  20. package/lib/manifest/composition.d.ts.map +1 -1
  21. package/lib/manifest/composition.js.map +1 -1
  22. package/lib/manifest/composition.mjs.map +1 -1
  23. package/lib/manifest/definitions/app.js +4 -1
  24. package/lib/manifest/definitions/app.js.map +1 -1
  25. package/lib/manifest/definitions/app.mjs +4 -1
  26. package/lib/manifest/definitions/app.mjs.map +1 -1
  27. package/lib/manifest/definitions/canvas-instance.d.mts +114 -0
  28. package/lib/manifest/definitions/canvas-instance.d.mts.map +1 -0
  29. package/lib/manifest/definitions/canvas-instance.d.ts +114 -0
  30. package/lib/manifest/definitions/canvas-instance.d.ts.map +1 -0
  31. package/lib/manifest/definitions/canvas-instance.js +31 -0
  32. package/lib/manifest/definitions/canvas-instance.js.map +1 -0
  33. package/lib/manifest/definitions/canvas-instance.mjs +28 -0
  34. package/lib/manifest/definitions/canvas-instance.mjs.map +1 -0
  35. package/lib/manifest/definitions/function.d.mts.map +1 -1
  36. package/lib/manifest/definitions/function.d.ts.map +1 -1
  37. package/lib/manifest/definitions/function.js +1 -0
  38. package/lib/manifest/definitions/function.js.map +1 -1
  39. package/lib/manifest/definitions/function.mjs +1 -0
  40. package/lib/manifest/definitions/function.mjs.map +1 -1
  41. package/lib/manifest/definitions/group.d.mts +64 -0
  42. package/lib/manifest/definitions/group.d.mts.map +1 -0
  43. package/lib/manifest/definitions/group.d.ts +64 -0
  44. package/lib/manifest/definitions/group.d.ts.map +1 -0
  45. package/lib/manifest/definitions/group.js +57 -0
  46. package/lib/manifest/definitions/group.js.map +1 -0
  47. package/lib/manifest/definitions/group.mjs +50 -0
  48. package/lib/manifest/definitions/group.mjs.map +1 -0
  49. package/lib/manifest/definitions/index.d.mts +5 -0
  50. package/lib/manifest/definitions/index.d.mts.map +1 -1
  51. package/lib/manifest/definitions/index.d.ts +5 -0
  52. package/lib/manifest/definitions/index.d.ts.map +1 -1
  53. package/lib/manifest/definitions/index.js +9 -1
  54. package/lib/manifest/definitions/index.js.map +1 -1
  55. package/lib/manifest/definitions/index.mjs +3 -0
  56. package/lib/manifest/definitions/index.mjs.map +1 -1
  57. package/lib/manifest/definitions/saved-super-group.d.mts +12 -0
  58. package/lib/manifest/definitions/saved-super-group.d.mts.map +1 -0
  59. package/lib/manifest/definitions/saved-super-group.d.ts +12 -0
  60. package/lib/manifest/definitions/saved-super-group.d.ts.map +1 -0
  61. package/lib/manifest/definitions/saved-super-group.js +26 -0
  62. package/lib/manifest/definitions/saved-super-group.js.map +1 -0
  63. package/lib/manifest/definitions/saved-super-group.mjs +21 -0
  64. package/lib/manifest/definitions/saved-super-group.mjs.map +1 -0
  65. package/lib/manifest/existing-manifest-context.d.mts +3 -0
  66. package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
  67. package/lib/manifest/existing-manifest-context.d.ts +3 -0
  68. package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
  69. package/lib/manifest/existing-manifest-context.js +15 -0
  70. package/lib/manifest/existing-manifest-context.js.map +1 -1
  71. package/lib/manifest/existing-manifest-context.mjs +15 -0
  72. package/lib/manifest/existing-manifest-context.mjs.map +1 -1
  73. package/lib/manifest/group.d.mts +83 -0
  74. package/lib/manifest/group.d.mts.map +1 -0
  75. package/lib/manifest/group.d.ts +83 -0
  76. package/lib/manifest/group.d.ts.map +1 -0
  77. package/lib/manifest/group.js +207 -0
  78. package/lib/manifest/group.js.map +1 -0
  79. package/lib/manifest/group.mjs +203 -0
  80. package/lib/manifest/group.mjs.map +1 -0
  81. package/lib/manifest/index.d.mts +2 -0
  82. package/lib/manifest/index.d.mts.map +1 -1
  83. package/lib/manifest/index.d.ts +2 -0
  84. package/lib/manifest/index.d.ts.map +1 -1
  85. package/lib/manifest/index.js +5 -1
  86. package/lib/manifest/index.js.map +1 -1
  87. package/lib/manifest/index.mjs +2 -0
  88. package/lib/manifest/index.mjs.map +1 -1
  89. package/lib/manifest/manifest-builder.d.mts +1 -1
  90. package/lib/manifest/manifest-builder.d.mts.map +1 -1
  91. package/lib/manifest/manifest-builder.d.ts +1 -1
  92. package/lib/manifest/manifest-builder.d.ts.map +1 -1
  93. package/lib/manifest/manifest-builder.js.map +1 -1
  94. package/lib/manifest/manifest-builder.mjs.map +1 -1
  95. package/lib/manifest/manifest-function.d.mts +16 -0
  96. package/lib/manifest/manifest-function.d.mts.map +1 -1
  97. package/lib/manifest/manifest-function.d.ts +16 -0
  98. package/lib/manifest/manifest-function.d.ts.map +1 -1
  99. package/lib/manifest/manifest-function.js +67 -0
  100. package/lib/manifest/manifest-function.js.map +1 -1
  101. package/lib/manifest/manifest-function.mjs +68 -1
  102. package/lib/manifest/manifest-function.mjs.map +1 -1
  103. package/lib/manifest/saved-super-group.d.mts +43 -0
  104. package/lib/manifest/saved-super-group.d.mts.map +1 -0
  105. package/lib/manifest/saved-super-group.d.ts +43 -0
  106. package/lib/manifest/saved-super-group.d.ts.map +1 -0
  107. package/lib/manifest/saved-super-group.js +136 -0
  108. package/lib/manifest/saved-super-group.js.map +1 -0
  109. package/lib/manifest/saved-super-group.mjs +132 -0
  110. package/lib/manifest/saved-super-group.mjs.map +1 -0
  111. package/package.json +1 -1
  112. package/resources/application-submissions.d.mts +261 -0
  113. package/resources/application-submissions.d.mts.map +1 -0
  114. package/resources/application-submissions.d.ts +261 -0
  115. package/resources/application-submissions.d.ts.map +1 -0
  116. package/resources/application-submissions.js +112 -0
  117. package/resources/application-submissions.js.map +1 -0
  118. package/resources/application-submissions.mjs +108 -0
  119. package/resources/application-submissions.mjs.map +1 -0
  120. package/resources/bills.d.mts +913 -12
  121. package/resources/bills.d.mts.map +1 -1
  122. package/resources/bills.d.ts +913 -12
  123. package/resources/bills.d.ts.map +1 -1
  124. package/resources/bills.js +221 -0
  125. package/resources/bills.js.map +1 -1
  126. package/resources/bills.mjs +221 -0
  127. package/resources/bills.mjs.map +1 -1
  128. package/resources/candidate-applications.d.mts +247 -9
  129. package/resources/candidate-applications.d.mts.map +1 -1
  130. package/resources/candidate-applications.d.ts +247 -9
  131. package/resources/candidate-applications.d.ts.map +1 -1
  132. package/resources/candidate-applications.js +37 -5
  133. package/resources/candidate-applications.js.map +1 -1
  134. package/resources/candidate-applications.mjs +37 -5
  135. package/resources/candidate-applications.mjs.map +1 -1
  136. package/resources/card-transactions.d.mts +1580 -30
  137. package/resources/card-transactions.d.mts.map +1 -1
  138. package/resources/card-transactions.d.ts +1580 -30
  139. package/resources/card-transactions.d.ts.map +1 -1
  140. package/resources/card-transactions.js +404 -4
  141. package/resources/card-transactions.js.map +1 -1
  142. package/resources/card-transactions.mjs +404 -4
  143. package/resources/card-transactions.mjs.map +1 -1
  144. package/resources/custom-objects/custom-objects.d.mts +4 -0
  145. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  146. package/resources/custom-objects/custom-objects.d.ts +4 -0
  147. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  148. package/resources/custom-objects/custom-objects.js +4 -0
  149. package/resources/custom-objects/custom-objects.js.map +1 -1
  150. package/resources/custom-objects/custom-objects.mjs +4 -0
  151. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  152. package/resources/custom-objects/index.d.mts +1 -0
  153. package/resources/custom-objects/index.d.mts.map +1 -1
  154. package/resources/custom-objects/index.d.ts +1 -0
  155. package/resources/custom-objects/index.d.ts.map +1 -1
  156. package/resources/custom-objects/index.js +3 -1
  157. package/resources/custom-objects/index.js.map +1 -1
  158. package/resources/custom-objects/index.mjs +1 -0
  159. package/resources/custom-objects/index.mjs.map +1 -1
  160. package/resources/custom-objects/record-actions.d.mts +98 -0
  161. package/resources/custom-objects/record-actions.d.mts.map +1 -0
  162. package/resources/custom-objects/record-actions.d.ts +98 -0
  163. package/resources/custom-objects/record-actions.d.ts.map +1 -0
  164. package/resources/custom-objects/record-actions.js +58 -0
  165. package/resources/custom-objects/record-actions.js.map +1 -0
  166. package/resources/custom-objects/record-actions.mjs +54 -0
  167. package/resources/custom-objects/record-actions.mjs.map +1 -0
  168. package/resources/earnings-inputs.d.mts +14 -2
  169. package/resources/earnings-inputs.d.mts.map +1 -1
  170. package/resources/earnings-inputs.d.ts +14 -2
  171. package/resources/earnings-inputs.d.ts.map +1 -1
  172. package/resources/earnings-inputs.js +14 -2
  173. package/resources/earnings-inputs.js.map +1 -1
  174. package/resources/earnings-inputs.mjs +14 -2
  175. package/resources/earnings-inputs.mjs.map +1 -1
  176. package/resources/index.d.mts +9 -4
  177. package/resources/index.d.mts.map +1 -1
  178. package/resources/index.d.ts +9 -4
  179. package/resources/index.d.ts.map +1 -1
  180. package/resources/index.js +13 -3
  181. package/resources/index.js.map +1 -1
  182. package/resources/index.mjs +5 -0
  183. package/resources/index.mjs.map +1 -1
  184. package/resources/job-posts.d.mts +345 -0
  185. package/resources/job-posts.d.mts.map +1 -0
  186. package/resources/job-posts.d.ts +345 -0
  187. package/resources/job-posts.d.ts.map +1 -0
  188. package/resources/job-posts.js +110 -0
  189. package/resources/job-posts.js.map +1 -0
  190. package/resources/job-posts.mjs +106 -0
  191. package/resources/job-posts.mjs.map +1 -0
  192. package/resources/job-requisitions.d.mts +96 -4
  193. package/resources/job-requisitions.d.mts.map +1 -1
  194. package/resources/job-requisitions.d.ts +96 -4
  195. package/resources/job-requisitions.d.ts.map +1 -1
  196. package/resources/job-requisitions.js +64 -3
  197. package/resources/job-requisitions.js.map +1 -1
  198. package/resources/job-requisitions.mjs +64 -3
  199. package/resources/job-requisitions.mjs.map +1 -1
  200. package/resources/record-detail-related-records.d.mts +60 -30
  201. package/resources/record-detail-related-records.d.mts.map +1 -1
  202. package/resources/record-detail-related-records.d.ts +60 -30
  203. package/resources/record-detail-related-records.d.ts.map +1 -1
  204. package/resources/record-details.d.mts +120 -60
  205. package/resources/record-details.d.mts.map +1 -1
  206. package/resources/record-details.d.ts +120 -60
  207. package/resources/record-details.d.ts.map +1 -1
  208. package/resources/reimbursements.d.mts +1106 -64
  209. package/resources/reimbursements.d.mts.map +1 -1
  210. package/resources/reimbursements.d.ts +1106 -64
  211. package/resources/reimbursements.d.ts.map +1 -1
  212. package/resources/reimbursements.js +208 -0
  213. package/resources/reimbursements.js.map +1 -1
  214. package/resources/reimbursements.mjs +208 -0
  215. package/resources/reimbursements.mjs.map +1 -1
  216. package/resources/scheduled-payout-labels.d.mts +267 -0
  217. package/resources/scheduled-payout-labels.d.mts.map +1 -0
  218. package/resources/scheduled-payout-labels.d.ts +267 -0
  219. package/resources/scheduled-payout-labels.d.ts.map +1 -0
  220. package/resources/scheduled-payout-labels.js +151 -0
  221. package/resources/scheduled-payout-labels.js.map +1 -0
  222. package/resources/scheduled-payout-labels.mjs +147 -0
  223. package/resources/scheduled-payout-labels.mjs.map +1 -0
  224. package/resources/scheduled-payout-types.d.mts +680 -0
  225. package/resources/scheduled-payout-types.d.mts.map +1 -0
  226. package/resources/scheduled-payout-types.d.ts +680 -0
  227. package/resources/scheduled-payout-types.d.ts.map +1 -0
  228. package/resources/scheduled-payout-types.js +546 -0
  229. package/resources/scheduled-payout-types.js.map +1 -0
  230. package/resources/scheduled-payout-types.mjs +542 -0
  231. package/resources/scheduled-payout-types.mjs.map +1 -0
  232. package/resources/scheduled-payouts.d.mts +1588 -0
  233. package/resources/scheduled-payouts.d.mts.map +1 -0
  234. package/resources/scheduled-payouts.d.ts +1588 -0
  235. package/resources/scheduled-payouts.d.ts.map +1 -0
  236. package/resources/scheduled-payouts.js +582 -0
  237. package/resources/scheduled-payouts.js.map +1 -0
  238. package/resources/scheduled-payouts.mjs +578 -0
  239. package/resources/scheduled-payouts.mjs.map +1 -0
  240. package/src/client.ts +150 -0
  241. package/src/lib/manifest/app.ts +72 -2
  242. package/src/lib/manifest/composition.ts +8 -2
  243. package/src/lib/manifest/definitions/README.md +3 -1
  244. package/src/lib/manifest/definitions/app.ts +4 -1
  245. package/src/lib/manifest/definitions/canvas-instance.ts +143 -0
  246. package/src/lib/manifest/definitions/function.ts +1 -0
  247. package/src/lib/manifest/definitions/group.ts +159 -0
  248. package/src/lib/manifest/definitions/index.ts +42 -0
  249. package/src/lib/manifest/definitions/saved-super-group.ts +28 -0
  250. package/src/lib/manifest/existing-manifest-context.ts +24 -0
  251. package/src/lib/manifest/group.ts +282 -0
  252. package/src/lib/manifest/index.ts +16 -0
  253. package/src/lib/manifest/manifest-builder.ts +2 -0
  254. package/src/lib/manifest/manifest-function.ts +91 -1
  255. package/src/lib/manifest/saved-super-group.ts +171 -0
  256. package/src/resources/application-submissions.ts +315 -0
  257. package/src/resources/bills.ts +1085 -12
  258. package/src/resources/candidate-applications.ts +282 -9
  259. package/src/resources/card-transactions.ts +1874 -32
  260. package/src/resources/custom-objects/custom-objects.ts +16 -0
  261. package/src/resources/custom-objects/index.ts +6 -0
  262. package/src/resources/custom-objects/record-actions.ts +125 -0
  263. package/src/resources/earnings-inputs.ts +14 -2
  264. package/src/resources/index.ts +57 -0
  265. package/src/resources/job-posts.ts +415 -0
  266. package/src/resources/job-requisitions.ts +110 -3
  267. package/src/resources/record-detail-related-records.ts +60 -30
  268. package/src/resources/record-details.ts +120 -60
  269. package/src/resources/reimbursements.ts +1299 -63
  270. package/src/resources/scheduled-payout-labels.ts +373 -0
  271. package/src/resources/scheduled-payout-types.ts +755 -0
  272. package/src/resources/scheduled-payouts.ts +1947 -0
  273. package/src/version.ts +1 -1
  274. package/version.d.mts +1 -1
  275. package/version.d.ts +1 -1
  276. package/version.js +1 -1
  277. package/version.mjs +1 -1
@@ -0,0 +1,1588 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as BusinessPartnersAPI from "./business-partners.js";
3
+ import * as WorkersAPI from "./workers.js";
4
+ import { APIPromise } from "../core/api-promise.js";
5
+ import { PageCursorURL, PagePromise } from "../core/pagination.js";
6
+ import { RequestOptions } from "../internal/request-options.js";
7
+ /**
8
+ * Compensation associated with workers
9
+ */
10
+ export declare class ScheduledPayouts extends APIResource {
11
+ /**
12
+ * List scheduled payouts. Paginated with limit and cursor. Filter with string
13
+ * equality joined by and on payee_id, client, external_id, status,
14
+ * source_label_id, and group_label_id, for example filter=client eq 'CUSTOM' and
15
+ * status eq 'SCHEDULED'. Supports
16
+ * expand=payee,payout_type,source_label,group_label. Always uses the company admin
17
+ * payout rowset; callers without admin payout visibility receive an empty list.
18
+ * Retrieve returns NotFound for the same rows.
19
+ *
20
+ * - Requires: `Internal Testing`
21
+ *
22
+ * @example HTTP
23
+ * Representative request and response shapes.
24
+ * ```
25
+ * GET /scheduled-payouts/?limit=0&cursor=cursor&filter=filter&expand=expand HTTP/1.1
26
+ * Host: rest.ripplingapis.com
27
+ * Accept: application/json
28
+ * Rippling-Api-Version: 2024-08-01
29
+ *
30
+ * HTTP/1.1 200 OK
31
+ * Content-Type: application/json
32
+ *
33
+ * {
34
+ * "__meta": {
35
+ * "redacted_fields": [
36
+ * {
37
+ * "name": "date_of_birth",
38
+ * "reason": "Insufficient entitlements"
39
+ * }
40
+ * ]
41
+ * },
42
+ * "results": [
43
+ * {
44
+ * "id": "string",
45
+ * "payee_id": "string",
46
+ * "payee": {
47
+ * "id": "string",
48
+ * "created_at": "string",
49
+ * "updated_at": "string",
50
+ * "user_id": "string",
51
+ * "user": {},
52
+ * "is_manager": "string",
53
+ * "manager_id": "string",
54
+ * "manager": {},
55
+ * "legal_entity_id": "string",
56
+ * "legal_entity": {},
57
+ * "country": "AF",
58
+ * "start_date": "string",
59
+ * "end_date": "string",
60
+ * "number": "string",
61
+ * "work_email": "string",
62
+ * "personal_email": "string",
63
+ * "status": "INIT",
64
+ * "location": {},
65
+ * "employment_type_id": "string",
66
+ * "employment_type": {},
67
+ * "gender": "MALE",
68
+ * "date_of_birth": "string",
69
+ * "race": "BLACK",
70
+ * "ethnicity": "HISPANIC_OR_LATINO",
71
+ * "citizenship": "AF",
72
+ * "compensation_id": "string",
73
+ * "compensation": {},
74
+ * "overtime_exemption": "EXEMPT",
75
+ * "department_id": "string",
76
+ * "department": {},
77
+ * "teams_id": [],
78
+ * "teams": [],
79
+ * "title": "string",
80
+ * "title_effective_date": "string",
81
+ * "level_id": "string",
82
+ * "level": {},
83
+ * "job_function_id": "string",
84
+ * "job_function": {},
85
+ * "termination_details": {},
86
+ * "pay_schedule_id": "string",
87
+ * "work_schedule": {},
88
+ * "compensation_grade": {},
89
+ * "original_start_date": "string",
90
+ * "custom_fields": [],
91
+ * "country_fields": {},
92
+ * "business_partners_id": [],
93
+ * "business_partners": []
94
+ * },
95
+ * "client": "VC_PLAN_CYCLE",
96
+ * "external_id": "string",
97
+ * "amount_base": {
98
+ * "currency_type": "string",
99
+ * "value": "string"
100
+ * },
101
+ * "amount_usd": {
102
+ * "currency_type": "string",
103
+ * "value": "string"
104
+ * },
105
+ * "pay_classification": "string",
106
+ * "payout_type_id": "string",
107
+ * "payout_type": {
108
+ * "id": "string",
109
+ * "key": "string",
110
+ * "display_name": "string",
111
+ * "is_system": "string",
112
+ * "created_by_id": "string",
113
+ * "created_by": {}
114
+ * },
115
+ * "scheduled_date": "string",
116
+ * "effective_start_date": "string",
117
+ * "effective_end_date": "string",
118
+ * "name": "string",
119
+ * "description": "string",
120
+ * "status": "DRAFT",
121
+ * "cancel_reason": "string",
122
+ * "source_label_id": "string",
123
+ * "source_label": {
124
+ * "id": "string",
125
+ * "client": "VC_PLAN_CYCLE",
126
+ * "external_id": "string",
127
+ * "name": "string"
128
+ * },
129
+ * "group_label_id": "string",
130
+ * "group_label": {
131
+ * "id": "string",
132
+ * "client": "VC_PLAN_CYCLE",
133
+ * "external_id": "string",
134
+ * "name": "string"
135
+ * },
136
+ * "paystub_id": "string",
137
+ * "created_at": "string",
138
+ * "updated_at": "string"
139
+ * }
140
+ * ],
141
+ * "next_link": "string"
142
+ * }
143
+ * ```
144
+ */
145
+ list(query?: ScheduledPayoutListParams | null | undefined, options?: RequestOptions): PagePromise<ScheduledPayoutListResponsesPageCursorURL, ScheduledPayoutListResponse>;
146
+ /**
147
+ * Create or update one payout. Identity is (client, external_id), not id. Same key
148
+ * and same body replays with 200. Same key and a different body overwrites a
149
+ * SCHEDULED or EVALUATION_FAILED payout when the caller can edit scheduled
150
+ * payouts; otherwise 403. RELEASED payouts return 409. Successful creates and
151
+ * updates return 200. client must be CUSTOM; other clients are written by Rippling
152
+ * systems and return 400.
153
+ *
154
+ * @example HTTP
155
+ * Representative request and response shapes.
156
+ * ```
157
+ * POST /scheduled-payouts/ HTTP/1.1
158
+ * Host: rest.ripplingapis.com
159
+ * Content-Type: application/json
160
+ * Accept: application/json
161
+ * Rippling-Api-Version: 2024-08-01
162
+ *
163
+ * {
164
+ * "amount_base": {},
165
+ * "amount_usd": {},
166
+ * "client": "VC_PLAN_CYCLE",
167
+ * "effective_end_date": "effective_end_date",
168
+ * "effective_start_date": "effective_start_date",
169
+ * "external_id": "external_id",
170
+ * "payee_id": "payee_id",
171
+ * "payout_type_id": "payout_type_id",
172
+ * "scheduled_date": "scheduled_date"
173
+ * }
174
+ *
175
+ * HTTP/1.1 200 OK
176
+ * Content-Type: application/json
177
+ *
178
+ * {
179
+ * "id": "string",
180
+ * "payee_id": "string",
181
+ * "payee": {
182
+ * "id": "string",
183
+ * "created_at": "string",
184
+ * "updated_at": "string"
185
+ * },
186
+ * "client": "VC_PLAN_CYCLE",
187
+ * "external_id": "string",
188
+ * "amount_base": {},
189
+ * "amount_usd": {},
190
+ * "pay_classification": "string",
191
+ * "payout_type_id": "string",
192
+ * "payout_type": {
193
+ * "id": "string",
194
+ * "key": "string",
195
+ * "display_name": "string",
196
+ * "is_system": false,
197
+ * "created_by_id": "string",
198
+ * "created_by": {
199
+ * "id": "string",
200
+ * "created_at": "string",
201
+ * "updated_at": "string",
202
+ * "user_id": "string",
203
+ * "user": {
204
+ * "id": "string",
205
+ * "created_at": "string",
206
+ * "updated_at": "string"
207
+ * },
208
+ * "is_manager": false,
209
+ * "manager_id": "string",
210
+ * "manager": {
211
+ * "id": "string",
212
+ * "created_at": "string",
213
+ * "updated_at": "string"
214
+ * },
215
+ * "legal_entity_id": "string",
216
+ * "legal_entity": {
217
+ * "id": "string",
218
+ * "created_at": "string",
219
+ * "updated_at": "string"
220
+ * },
221
+ * "country": "AF",
222
+ * "start_date": "string",
223
+ * "end_date": "string",
224
+ * "number": 0,
225
+ * "work_email": "string",
226
+ * "personal_email": "string",
227
+ * "status": "INIT",
228
+ * "location": {
229
+ * "type": "REMOTE",
230
+ * "work_location_id": "string"
231
+ * },
232
+ * "employment_type_id": "string",
233
+ * "employment_type": {
234
+ * "id": "string",
235
+ * "created_at": "string",
236
+ * "updated_at": "string",
237
+ * "label": "string"
238
+ * },
239
+ * "gender": "MALE",
240
+ * "date_of_birth": "string",
241
+ * "race": "BLACK",
242
+ * "ethnicity": "HISPANIC_OR_LATINO",
243
+ * "citizenship": "AF",
244
+ * "compensation_id": "string",
245
+ * "compensation": {
246
+ * "id": "string",
247
+ * "created_at": "string",
248
+ * "updated_at": "string"
249
+ * },
250
+ * "overtime_exemption": "EXEMPT",
251
+ * "department_id": "string",
252
+ * "department": {
253
+ * "id": "string",
254
+ * "created_at": "string",
255
+ * "updated_at": "string",
256
+ * "name": "string",
257
+ * "parent_id": "string",
258
+ * "parent": {},
259
+ * "reference_code": "string",
260
+ * "department_hierarchy_id": [],
261
+ * "department_hierarchy": []
262
+ * },
263
+ * "teams_id": [
264
+ * "string"
265
+ * ],
266
+ * "teams": [
267
+ * {}
268
+ * ],
269
+ * "title": "string",
270
+ * "title_effective_date": "string",
271
+ * "level_id": "string",
272
+ * "level": {
273
+ * "id": "string",
274
+ * "created_at": "string",
275
+ * "updated_at": "string",
276
+ * "name": "string",
277
+ * "parent_id": "string",
278
+ * "parent": {},
279
+ * "global_level": "string",
280
+ * "description": "string",
281
+ * "scope_of_responsibilities": "string",
282
+ * "experience_requirements": "string",
283
+ * "rank": "string",
284
+ * "track_id": "string",
285
+ * "track": {}
286
+ * },
287
+ * "job_function_id": "string",
288
+ * "job_function": {
289
+ * "id": "string",
290
+ * "created_at": "string",
291
+ * "updated_at": "string",
292
+ * "name": "string"
293
+ * },
294
+ * "termination_details": {
295
+ * "type": "VOLUNTARY",
296
+ * "reason": "string"
297
+ * },
298
+ * "pay_schedule_id": "string",
299
+ * "work_schedule": {},
300
+ * "compensation_grade": {
301
+ * "id": "string",
302
+ * "label": "string"
303
+ * },
304
+ * "original_start_date": "string",
305
+ * "custom_fields": [
306
+ * "string"
307
+ * ],
308
+ * "country_fields": {
309
+ * "us": {},
310
+ * "ca": {},
311
+ * "nz": {}
312
+ * },
313
+ * "business_partners_id": [
314
+ * "string"
315
+ * ],
316
+ * "business_partners": [
317
+ * {}
318
+ * ]
319
+ * }
320
+ * },
321
+ * "scheduled_date": "string",
322
+ * "effective_start_date": "string",
323
+ * "effective_end_date": "string",
324
+ * "name": "string",
325
+ * "description": "string",
326
+ * "status": "DRAFT",
327
+ * "cancel_reason": "string",
328
+ * "source_label_id": "string",
329
+ * "source_label": {
330
+ * "id": "string",
331
+ * "client": "VC_PLAN_CYCLE",
332
+ * "external_id": "string",
333
+ * "name": "string"
334
+ * },
335
+ * "group_label_id": "string",
336
+ * "group_label": {
337
+ * "id": "string",
338
+ * "client": "VC_PLAN_CYCLE",
339
+ * "external_id": "string",
340
+ * "name": "string"
341
+ * },
342
+ * "paystub_id": "string",
343
+ * "created_at": "string",
344
+ * "updated_at": "string"
345
+ * }
346
+ * ```
347
+ */
348
+ create(body: ScheduledPayoutCreateParams, options?: RequestOptions): APIPromise<ScheduledPayoutCreateResponse>;
349
+ /**
350
+ * Retrieve a specific scheduled payout. Uses the company admin payout rowset;
351
+ * callers without admin payout visibility receive NotFound.
352
+ *
353
+ * @example HTTP
354
+ * Representative request and response shapes.
355
+ * ```
356
+ * GET /scheduled-payouts/{id}/ HTTP/1.1
357
+ * Host: rest.ripplingapis.com
358
+ * Accept: application/json
359
+ * Rippling-Api-Version: 2024-08-01
360
+ *
361
+ * HTTP/1.1 200 OK
362
+ * Content-Type: application/json
363
+ *
364
+ * {
365
+ * "__meta": {
366
+ * "redacted_fields": [
367
+ * {}
368
+ * ]
369
+ * }
370
+ * }
371
+ * ```
372
+ */
373
+ retrieve(id: string, options?: RequestOptions): APIPromise<ScheduledPayoutRetrieveResponse>;
374
+ /**
375
+ * SCHEDULED and EVALUATION_FAILED payouts can be cancelled; cancelling an already
376
+ * cancelled payout returns it unchanged. Payouts in any other status return 409.
377
+ * Only CUSTOM payouts can be cancelled through this API; other clients return 400.
378
+ * The required reason is stored as cancel_reason. Callers without admin payout
379
+ * visibility receive 404.
380
+ *
381
+ * @example HTTP
382
+ * Representative request and response shapes.
383
+ * ```
384
+ * POST /scheduled-payouts/{id}/cancel/ HTTP/1.1
385
+ * Host: rest.ripplingapis.com
386
+ * Content-Type: application/json
387
+ * Accept: application/json
388
+ * Rippling-Api-Version: 2024-08-01
389
+ *
390
+ * {
391
+ * "reason": "reason"
392
+ * }
393
+ *
394
+ * HTTP/1.1 200 OK
395
+ * Content-Type: application/json
396
+ *
397
+ * {
398
+ * "id": "string",
399
+ * "payee_id": "string",
400
+ * "payee": {
401
+ * "id": "string",
402
+ * "created_at": "string",
403
+ * "updated_at": "string"
404
+ * },
405
+ * "client": "VC_PLAN_CYCLE",
406
+ * "external_id": "string",
407
+ * "amount_base": {},
408
+ * "amount_usd": {},
409
+ * "pay_classification": "string",
410
+ * "payout_type_id": "string",
411
+ * "payout_type": {
412
+ * "id": "string",
413
+ * "key": "string",
414
+ * "display_name": "string",
415
+ * "is_system": false,
416
+ * "created_by_id": "string",
417
+ * "created_by": {
418
+ * "id": "string",
419
+ * "created_at": "string",
420
+ * "updated_at": "string",
421
+ * "user_id": "string",
422
+ * "user": {
423
+ * "id": "string",
424
+ * "created_at": "string",
425
+ * "updated_at": "string"
426
+ * },
427
+ * "is_manager": false,
428
+ * "manager_id": "string",
429
+ * "manager": {
430
+ * "id": "string",
431
+ * "created_at": "string",
432
+ * "updated_at": "string"
433
+ * },
434
+ * "legal_entity_id": "string",
435
+ * "legal_entity": {
436
+ * "id": "string",
437
+ * "created_at": "string",
438
+ * "updated_at": "string"
439
+ * },
440
+ * "country": "AF",
441
+ * "start_date": "string",
442
+ * "end_date": "string",
443
+ * "number": 0,
444
+ * "work_email": "string",
445
+ * "personal_email": "string",
446
+ * "status": "INIT",
447
+ * "location": {
448
+ * "type": "REMOTE",
449
+ * "work_location_id": "string"
450
+ * },
451
+ * "employment_type_id": "string",
452
+ * "employment_type": {
453
+ * "id": "string",
454
+ * "created_at": "string",
455
+ * "updated_at": "string",
456
+ * "label": "string"
457
+ * },
458
+ * "gender": "MALE",
459
+ * "date_of_birth": "string",
460
+ * "race": "BLACK",
461
+ * "ethnicity": "HISPANIC_OR_LATINO",
462
+ * "citizenship": "AF",
463
+ * "compensation_id": "string",
464
+ * "compensation": {
465
+ * "id": "string",
466
+ * "created_at": "string",
467
+ * "updated_at": "string"
468
+ * },
469
+ * "overtime_exemption": "EXEMPT",
470
+ * "department_id": "string",
471
+ * "department": {
472
+ * "id": "string",
473
+ * "created_at": "string",
474
+ * "updated_at": "string",
475
+ * "name": "string",
476
+ * "parent_id": "string",
477
+ * "parent": {},
478
+ * "reference_code": "string",
479
+ * "department_hierarchy_id": [],
480
+ * "department_hierarchy": []
481
+ * },
482
+ * "teams_id": [
483
+ * "string"
484
+ * ],
485
+ * "teams": [
486
+ * {}
487
+ * ],
488
+ * "title": "string",
489
+ * "title_effective_date": "string",
490
+ * "level_id": "string",
491
+ * "level": {
492
+ * "id": "string",
493
+ * "created_at": "string",
494
+ * "updated_at": "string",
495
+ * "name": "string",
496
+ * "parent_id": "string",
497
+ * "parent": {},
498
+ * "global_level": "string",
499
+ * "description": "string",
500
+ * "scope_of_responsibilities": "string",
501
+ * "experience_requirements": "string",
502
+ * "rank": "string",
503
+ * "track_id": "string",
504
+ * "track": {}
505
+ * },
506
+ * "job_function_id": "string",
507
+ * "job_function": {
508
+ * "id": "string",
509
+ * "created_at": "string",
510
+ * "updated_at": "string",
511
+ * "name": "string"
512
+ * },
513
+ * "termination_details": {
514
+ * "type": "VOLUNTARY",
515
+ * "reason": "string"
516
+ * },
517
+ * "pay_schedule_id": "string",
518
+ * "work_schedule": {},
519
+ * "compensation_grade": {
520
+ * "id": "string",
521
+ * "label": "string"
522
+ * },
523
+ * "original_start_date": "string",
524
+ * "custom_fields": [
525
+ * "string"
526
+ * ],
527
+ * "country_fields": {
528
+ * "us": {},
529
+ * "ca": {},
530
+ * "nz": {}
531
+ * },
532
+ * "business_partners_id": [
533
+ * "string"
534
+ * ],
535
+ * "business_partners": [
536
+ * {}
537
+ * ]
538
+ * }
539
+ * },
540
+ * "scheduled_date": "string",
541
+ * "effective_start_date": "string",
542
+ * "effective_end_date": "string",
543
+ * "name": "string",
544
+ * "description": "string",
545
+ * "status": "DRAFT",
546
+ * "cancel_reason": "string",
547
+ * "source_label_id": "string",
548
+ * "source_label": {
549
+ * "id": "string",
550
+ * "client": "VC_PLAN_CYCLE",
551
+ * "external_id": "string",
552
+ * "name": "string"
553
+ * },
554
+ * "group_label_id": "string",
555
+ * "group_label": {
556
+ * "id": "string",
557
+ * "client": "VC_PLAN_CYCLE",
558
+ * "external_id": "string",
559
+ * "name": "string"
560
+ * },
561
+ * "paystub_id": "string",
562
+ * "created_at": "string",
563
+ * "updated_at": "string"
564
+ * }
565
+ * ```
566
+ */
567
+ cancel(id: string, body: ScheduledPayoutCancelParams, options?: RequestOptions): APIPromise<ScheduledPayoutCancelResponse>;
568
+ }
569
+ export type ScheduledPayoutListResponsesPageCursorURL = PageCursorURL<ScheduledPayoutListResponse>;
570
+ export interface ScheduledPayoutListResponse {
571
+ /**
572
+ * Unique identifier of the payout.
573
+ */
574
+ id: string;
575
+ /**
576
+ * Payout amount in the worker's base currency.
577
+ */
578
+ amount_base: ScheduledPayoutListResponse.AmountBase;
579
+ /**
580
+ * Payout amount converted to USD.
581
+ */
582
+ amount_usd: ScheduledPayoutListResponse.AmountUsd;
583
+ /**
584
+ * System that owns the payout; together with external_id it is the upsert
585
+ * identity. CUSTOM: created by an integrator through this API (the only value
586
+ * accepted on create). Rippling-generated, read-only here: VC_PLAN_CYCLE and
587
+ * VC_EVENT_DRIVEN_PLAN (variable compensation plans), MANUAL_PAYOUT (entered in
588
+ * Rippling), HRIS_SIGN_ON (new-hire sign-on bonuses), OFFLINE_RECOMMENDATION and
589
+ * NEW_HIRE_AGENT (Rippling recommendations).
590
+ */
591
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
592
+ /**
593
+ * When the payout was created, as an ISO 8601 UTC timestamp.
594
+ */
595
+ created_at: string;
596
+ /**
597
+ * Last day of the period the payout covers, as YYYY-MM-DD (inclusive).
598
+ */
599
+ effective_end_date: string;
600
+ /**
601
+ * First day of the period the payout covers, as YYYY-MM-DD (inclusive).
602
+ */
603
+ effective_start_date: string;
604
+ /**
605
+ * External identifier unique per company and client.
606
+ */
607
+ external_id: string;
608
+ /**
609
+ * ID of the worker who receives this payout.
610
+ */
611
+ payee_id: string;
612
+ /**
613
+ * Key of the company payout type used for this payout. List valid keys with GET
614
+ * /scheduled-payout-types/.
615
+ */
616
+ payout_type_id: string;
617
+ /**
618
+ * Date the payout becomes eligible for release, as YYYY-MM-DD.
619
+ */
620
+ scheduled_date: string;
621
+ /**
622
+ * Lifecycle status. Before scheduling: DRAFT, PENDING_APPROVAL, APPROVAL_REJECTED.
623
+ * SCHEDULED: waiting for scheduled_date and its release conditions.
624
+ * EVALUATION_FAILED: release conditions could not be evaluated and will be
625
+ * retried; editable like SCHEDULED. RELEASED: sent to payroll and locked.
626
+ * PAYROLL_RETRACT_IN_PROGRESS: being removed from payroll. Terminal: PAID,
627
+ * FORFEITED (release conditions not met), CANCELLED.
628
+ */
629
+ status: 'DRAFT' | 'PENDING_APPROVAL' | 'APPROVAL_REJECTED' | 'SCHEDULED' | 'RELEASED' | 'PAYROLL_RETRACT_IN_PROGRESS' | 'PAID' | 'FORFEITED' | 'EVALUATION_FAILED' | 'CANCELLED';
630
+ /**
631
+ * When the payout was last updated, as an ISO 8601 UTC timestamp.
632
+ */
633
+ updated_at: string;
634
+ /**
635
+ * Reason provided when the payout was cancelled.
636
+ */
637
+ cancel_reason?: string;
638
+ /**
639
+ * Optional payout description.
640
+ */
641
+ description?: string;
642
+ /**
643
+ * Group label attached to the payout. Populated only with expand=group_label,
644
+ * which requires scheduled-payout-labels.read.
645
+ */
646
+ group_label?: ScheduledPayoutListResponse.GroupLabel;
647
+ /**
648
+ * ID of the group label attached to the payout.
649
+ */
650
+ group_label_id?: string;
651
+ /**
652
+ * Optional payout name.
653
+ */
654
+ name?: string;
655
+ /**
656
+ * Payroll earning code resolved from the payout type's mapping for the payee's
657
+ * payroll entity. While the payout is open, reads reflect the current mapping;
658
+ * from RELEASED, PAYROLL_RETRACT_IN_PROGRESS, PAID, FORFEITED, CANCELLED, or
659
+ * APPROVAL_REJECTED onward it is the value stored at that transition. Payouts not
660
+ * paid through Rippling payroll return the stored value, which may be null.
661
+ */
662
+ pay_classification?: string;
663
+ /**
664
+ * Worker who receives this payout. Populated only with expand=payee, which
665
+ * requires workers.read.
666
+ */
667
+ payee?: WorkersAPI.Worker;
668
+ /**
669
+ * Payout type used for this payout. Populated only with expand=payout_type, which
670
+ * requires scheduled-payout-types.read.
671
+ */
672
+ payout_type?: ScheduledPayoutListResponse.PayoutType;
673
+ /**
674
+ * Paystub identifier when the payout has been synced to payroll.
675
+ */
676
+ paystub_id?: string;
677
+ /**
678
+ * Source label attached to the payout. Populated only with expand=source_label,
679
+ * which requires scheduled-payout-labels.read.
680
+ */
681
+ source_label?: ScheduledPayoutListResponse.SourceLabel;
682
+ /**
683
+ * ID of the source label attached to the payout.
684
+ */
685
+ source_label_id?: string;
686
+ }
687
+ export declare namespace ScheduledPayoutListResponse {
688
+ /**
689
+ * Payout amount in the worker's base currency.
690
+ */
691
+ interface AmountBase {
692
+ /**
693
+ * The currency type, ex: USD, EUR, etc.
694
+ */
695
+ currency_type?: string;
696
+ /**
697
+ * The decimal amount for the currency.
698
+ */
699
+ value?: number;
700
+ }
701
+ /**
702
+ * Payout amount converted to USD.
703
+ */
704
+ interface AmountUsd {
705
+ /**
706
+ * The currency type, ex: USD, EUR, etc.
707
+ */
708
+ currency_type?: string;
709
+ /**
710
+ * The decimal amount for the currency.
711
+ */
712
+ value?: number;
713
+ }
714
+ /**
715
+ * Group label attached to the payout. Populated only with expand=group_label,
716
+ * which requires scheduled-payout-labels.read.
717
+ */
718
+ interface GroupLabel {
719
+ /**
720
+ * Unique identifier of the payout label.
721
+ */
722
+ id: string;
723
+ /**
724
+ * System that owns the label; together with external_id it is the label identity.
725
+ * Same values as the payout client.
726
+ */
727
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
728
+ /**
729
+ * External identifier unique per company and client.
730
+ */
731
+ external_id: string;
732
+ /**
733
+ * Display name of the label.
734
+ */
735
+ name: string;
736
+ }
737
+ /**
738
+ * Payout type used for this payout. Populated only with expand=payout_type, which
739
+ * requires scheduled-payout-types.read.
740
+ */
741
+ interface PayoutType {
742
+ /**
743
+ * Unique identifier of the payout type, used in /scheduled-payout-types/{id}/
744
+ * paths. Always equal to key; both are returned because every resource exposes id
745
+ * while payouts reference types by key (payout_type_id).
746
+ */
747
+ id: string;
748
+ /**
749
+ * Display name of the payout type.
750
+ */
751
+ display_name: string;
752
+ /**
753
+ * Whether this is a built-in payout type.
754
+ */
755
+ is_system: boolean;
756
+ /**
757
+ * Stable payout type key assigned by the server on create.
758
+ */
759
+ key: string;
760
+ /**
761
+ * Worker who created this custom payout type. Populated only with
762
+ * expand=created_by, which requires workers.read.
763
+ */
764
+ created_by?: WorkersAPI.Worker;
765
+ /**
766
+ * ID of the worker who created this custom payout type; null for built-in types.
767
+ */
768
+ created_by_id?: string;
769
+ }
770
+ /**
771
+ * Source label attached to the payout. Populated only with expand=source_label,
772
+ * which requires scheduled-payout-labels.read.
773
+ */
774
+ interface SourceLabel {
775
+ /**
776
+ * Unique identifier of the payout label.
777
+ */
778
+ id: string;
779
+ /**
780
+ * System that owns the label; together with external_id it is the label identity.
781
+ * Same values as the payout client.
782
+ */
783
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
784
+ /**
785
+ * External identifier unique per company and client.
786
+ */
787
+ external_id: string;
788
+ /**
789
+ * Display name of the label.
790
+ */
791
+ name: string;
792
+ }
793
+ }
794
+ export interface ScheduledPayoutCreateResponse {
795
+ /**
796
+ * Unique identifier of the payout.
797
+ */
798
+ id: string;
799
+ /**
800
+ * Payout amount in the worker's base currency.
801
+ */
802
+ amount_base: ScheduledPayoutCreateResponse.AmountBase;
803
+ /**
804
+ * Payout amount converted to USD.
805
+ */
806
+ amount_usd: ScheduledPayoutCreateResponse.AmountUsd;
807
+ /**
808
+ * System that owns the payout; together with external_id it is the upsert
809
+ * identity. CUSTOM: created by an integrator through this API (the only value
810
+ * accepted on create). Rippling-generated, read-only here: VC_PLAN_CYCLE and
811
+ * VC_EVENT_DRIVEN_PLAN (variable compensation plans), MANUAL_PAYOUT (entered in
812
+ * Rippling), HRIS_SIGN_ON (new-hire sign-on bonuses), OFFLINE_RECOMMENDATION and
813
+ * NEW_HIRE_AGENT (Rippling recommendations).
814
+ */
815
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
816
+ /**
817
+ * When the payout was created, as an ISO 8601 UTC timestamp.
818
+ */
819
+ created_at: string;
820
+ /**
821
+ * Last day of the period the payout covers, as YYYY-MM-DD (inclusive).
822
+ */
823
+ effective_end_date: string;
824
+ /**
825
+ * First day of the period the payout covers, as YYYY-MM-DD (inclusive).
826
+ */
827
+ effective_start_date: string;
828
+ /**
829
+ * External identifier unique per company and client.
830
+ */
831
+ external_id: string;
832
+ /**
833
+ * ID of the worker who receives this payout.
834
+ */
835
+ payee_id: string;
836
+ /**
837
+ * Key of the company payout type used for this payout. List valid keys with GET
838
+ * /scheduled-payout-types/.
839
+ */
840
+ payout_type_id: string;
841
+ /**
842
+ * Date the payout becomes eligible for release, as YYYY-MM-DD.
843
+ */
844
+ scheduled_date: string;
845
+ /**
846
+ * Lifecycle status. Before scheduling: DRAFT, PENDING_APPROVAL, APPROVAL_REJECTED.
847
+ * SCHEDULED: waiting for scheduled_date and its release conditions.
848
+ * EVALUATION_FAILED: release conditions could not be evaluated and will be
849
+ * retried; editable like SCHEDULED. RELEASED: sent to payroll and locked.
850
+ * PAYROLL_RETRACT_IN_PROGRESS: being removed from payroll. Terminal: PAID,
851
+ * FORFEITED (release conditions not met), CANCELLED.
852
+ */
853
+ status: 'DRAFT' | 'PENDING_APPROVAL' | 'APPROVAL_REJECTED' | 'SCHEDULED' | 'RELEASED' | 'PAYROLL_RETRACT_IN_PROGRESS' | 'PAID' | 'FORFEITED' | 'EVALUATION_FAILED' | 'CANCELLED';
854
+ /**
855
+ * When the payout was last updated, as an ISO 8601 UTC timestamp.
856
+ */
857
+ updated_at: string;
858
+ /**
859
+ * Reason provided when the payout was cancelled.
860
+ */
861
+ cancel_reason?: string;
862
+ /**
863
+ * Optional payout description.
864
+ */
865
+ description?: string;
866
+ /**
867
+ * Group label attached to the payout. Populated only with expand=group_label,
868
+ * which requires scheduled-payout-labels.read.
869
+ */
870
+ group_label?: ScheduledPayoutCreateResponse.GroupLabel;
871
+ /**
872
+ * ID of the group label attached to the payout.
873
+ */
874
+ group_label_id?: string;
875
+ /**
876
+ * Optional payout name.
877
+ */
878
+ name?: string;
879
+ /**
880
+ * Payroll earning code resolved from the payout type's mapping for the payee's
881
+ * payroll entity. While the payout is open, reads reflect the current mapping;
882
+ * from RELEASED, PAYROLL_RETRACT_IN_PROGRESS, PAID, FORFEITED, CANCELLED, or
883
+ * APPROVAL_REJECTED onward it is the value stored at that transition. Payouts not
884
+ * paid through Rippling payroll return the stored value, which may be null.
885
+ */
886
+ pay_classification?: string;
887
+ /**
888
+ * Worker who receives this payout. Populated only with expand=payee, which
889
+ * requires workers.read.
890
+ */
891
+ payee?: WorkersAPI.Worker;
892
+ /**
893
+ * Payout type used for this payout. Populated only with expand=payout_type, which
894
+ * requires scheduled-payout-types.read.
895
+ */
896
+ payout_type?: ScheduledPayoutCreateResponse.PayoutType;
897
+ /**
898
+ * Paystub identifier when the payout has been synced to payroll.
899
+ */
900
+ paystub_id?: string;
901
+ /**
902
+ * Source label attached to the payout. Populated only with expand=source_label,
903
+ * which requires scheduled-payout-labels.read.
904
+ */
905
+ source_label?: ScheduledPayoutCreateResponse.SourceLabel;
906
+ /**
907
+ * ID of the source label attached to the payout.
908
+ */
909
+ source_label_id?: string;
910
+ }
911
+ export declare namespace ScheduledPayoutCreateResponse {
912
+ /**
913
+ * Payout amount in the worker's base currency.
914
+ */
915
+ interface AmountBase {
916
+ /**
917
+ * The currency type, ex: USD, EUR, etc.
918
+ */
919
+ currency_type?: string;
920
+ /**
921
+ * The decimal amount for the currency.
922
+ */
923
+ value?: number;
924
+ }
925
+ /**
926
+ * Payout amount converted to USD.
927
+ */
928
+ interface AmountUsd {
929
+ /**
930
+ * The currency type, ex: USD, EUR, etc.
931
+ */
932
+ currency_type?: string;
933
+ /**
934
+ * The decimal amount for the currency.
935
+ */
936
+ value?: number;
937
+ }
938
+ /**
939
+ * Group label attached to the payout. Populated only with expand=group_label,
940
+ * which requires scheduled-payout-labels.read.
941
+ */
942
+ interface GroupLabel {
943
+ /**
944
+ * Unique identifier of the payout label.
945
+ */
946
+ id: string;
947
+ /**
948
+ * System that owns the label; together with external_id it is the label identity.
949
+ * Same values as the payout client.
950
+ */
951
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
952
+ /**
953
+ * External identifier unique per company and client.
954
+ */
955
+ external_id: string;
956
+ /**
957
+ * Display name of the label.
958
+ */
959
+ name: string;
960
+ }
961
+ /**
962
+ * Payout type used for this payout. Populated only with expand=payout_type, which
963
+ * requires scheduled-payout-types.read.
964
+ */
965
+ interface PayoutType {
966
+ /**
967
+ * Unique identifier of the payout type, used in /scheduled-payout-types/{id}/
968
+ * paths. Always equal to key; both are returned because every resource exposes id
969
+ * while payouts reference types by key (payout_type_id).
970
+ */
971
+ id: string;
972
+ /**
973
+ * Display name of the payout type.
974
+ */
975
+ display_name: string;
976
+ /**
977
+ * Whether this is a built-in payout type.
978
+ */
979
+ is_system: boolean;
980
+ /**
981
+ * Stable payout type key assigned by the server on create.
982
+ */
983
+ key: string;
984
+ /**
985
+ * Worker who created this custom payout type. Populated only with
986
+ * expand=created_by, which requires workers.read.
987
+ */
988
+ created_by?: WorkersAPI.Worker;
989
+ /**
990
+ * ID of the worker who created this custom payout type; null for built-in types.
991
+ */
992
+ created_by_id?: string;
993
+ }
994
+ /**
995
+ * Source label attached to the payout. Populated only with expand=source_label,
996
+ * which requires scheduled-payout-labels.read.
997
+ */
998
+ interface SourceLabel {
999
+ /**
1000
+ * Unique identifier of the payout label.
1001
+ */
1002
+ id: string;
1003
+ /**
1004
+ * System that owns the label; together with external_id it is the label identity.
1005
+ * Same values as the payout client.
1006
+ */
1007
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1008
+ /**
1009
+ * External identifier unique per company and client.
1010
+ */
1011
+ external_id: string;
1012
+ /**
1013
+ * Display name of the label.
1014
+ */
1015
+ name: string;
1016
+ }
1017
+ }
1018
+ /**
1019
+ * Meta information for the response.
1020
+ */
1021
+ export interface ScheduledPayoutRetrieveResponse extends BusinessPartnersAPI.Meta {
1022
+ /**
1023
+ * Unique identifier of the payout.
1024
+ */
1025
+ id: string;
1026
+ /**
1027
+ * Payout amount in the worker's base currency.
1028
+ */
1029
+ amount_base: ScheduledPayoutRetrieveResponse.AmountBase;
1030
+ /**
1031
+ * Payout amount converted to USD.
1032
+ */
1033
+ amount_usd: ScheduledPayoutRetrieveResponse.AmountUsd;
1034
+ /**
1035
+ * System that owns the payout; together with external_id it is the upsert
1036
+ * identity. CUSTOM: created by an integrator through this API (the only value
1037
+ * accepted on create). Rippling-generated, read-only here: VC_PLAN_CYCLE and
1038
+ * VC_EVENT_DRIVEN_PLAN (variable compensation plans), MANUAL_PAYOUT (entered in
1039
+ * Rippling), HRIS_SIGN_ON (new-hire sign-on bonuses), OFFLINE_RECOMMENDATION and
1040
+ * NEW_HIRE_AGENT (Rippling recommendations).
1041
+ */
1042
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1043
+ /**
1044
+ * When the payout was created, as an ISO 8601 UTC timestamp.
1045
+ */
1046
+ created_at: string;
1047
+ /**
1048
+ * Last day of the period the payout covers, as YYYY-MM-DD (inclusive).
1049
+ */
1050
+ effective_end_date: string;
1051
+ /**
1052
+ * First day of the period the payout covers, as YYYY-MM-DD (inclusive).
1053
+ */
1054
+ effective_start_date: string;
1055
+ /**
1056
+ * External identifier unique per company and client.
1057
+ */
1058
+ external_id: string;
1059
+ /**
1060
+ * ID of the worker who receives this payout.
1061
+ */
1062
+ payee_id: string;
1063
+ /**
1064
+ * Key of the company payout type used for this payout. List valid keys with GET
1065
+ * /scheduled-payout-types/.
1066
+ */
1067
+ payout_type_id: string;
1068
+ /**
1069
+ * Date the payout becomes eligible for release, as YYYY-MM-DD.
1070
+ */
1071
+ scheduled_date: string;
1072
+ /**
1073
+ * Lifecycle status. Before scheduling: DRAFT, PENDING_APPROVAL, APPROVAL_REJECTED.
1074
+ * SCHEDULED: waiting for scheduled_date and its release conditions.
1075
+ * EVALUATION_FAILED: release conditions could not be evaluated and will be
1076
+ * retried; editable like SCHEDULED. RELEASED: sent to payroll and locked.
1077
+ * PAYROLL_RETRACT_IN_PROGRESS: being removed from payroll. Terminal: PAID,
1078
+ * FORFEITED (release conditions not met), CANCELLED.
1079
+ */
1080
+ status: 'DRAFT' | 'PENDING_APPROVAL' | 'APPROVAL_REJECTED' | 'SCHEDULED' | 'RELEASED' | 'PAYROLL_RETRACT_IN_PROGRESS' | 'PAID' | 'FORFEITED' | 'EVALUATION_FAILED' | 'CANCELLED';
1081
+ /**
1082
+ * When the payout was last updated, as an ISO 8601 UTC timestamp.
1083
+ */
1084
+ updated_at: string;
1085
+ /**
1086
+ * Reason provided when the payout was cancelled.
1087
+ */
1088
+ cancel_reason?: string;
1089
+ /**
1090
+ * Optional payout description.
1091
+ */
1092
+ description?: string;
1093
+ /**
1094
+ * Group label attached to the payout. Populated only with expand=group_label,
1095
+ * which requires scheduled-payout-labels.read.
1096
+ */
1097
+ group_label?: ScheduledPayoutRetrieveResponse.GroupLabel;
1098
+ /**
1099
+ * ID of the group label attached to the payout.
1100
+ */
1101
+ group_label_id?: string;
1102
+ /**
1103
+ * Optional payout name.
1104
+ */
1105
+ name?: string;
1106
+ /**
1107
+ * Payroll earning code resolved from the payout type's mapping for the payee's
1108
+ * payroll entity. While the payout is open, reads reflect the current mapping;
1109
+ * from RELEASED, PAYROLL_RETRACT_IN_PROGRESS, PAID, FORFEITED, CANCELLED, or
1110
+ * APPROVAL_REJECTED onward it is the value stored at that transition. Payouts not
1111
+ * paid through Rippling payroll return the stored value, which may be null.
1112
+ */
1113
+ pay_classification?: string;
1114
+ /**
1115
+ * Worker who receives this payout. Populated only with expand=payee, which
1116
+ * requires workers.read.
1117
+ */
1118
+ payee?: WorkersAPI.Worker;
1119
+ /**
1120
+ * Payout type used for this payout. Populated only with expand=payout_type, which
1121
+ * requires scheduled-payout-types.read.
1122
+ */
1123
+ payout_type?: ScheduledPayoutRetrieveResponse.PayoutType;
1124
+ /**
1125
+ * Paystub identifier when the payout has been synced to payroll.
1126
+ */
1127
+ paystub_id?: string;
1128
+ /**
1129
+ * Source label attached to the payout. Populated only with expand=source_label,
1130
+ * which requires scheduled-payout-labels.read.
1131
+ */
1132
+ source_label?: ScheduledPayoutRetrieveResponse.SourceLabel;
1133
+ /**
1134
+ * ID of the source label attached to the payout.
1135
+ */
1136
+ source_label_id?: string;
1137
+ }
1138
+ export declare namespace ScheduledPayoutRetrieveResponse {
1139
+ /**
1140
+ * Payout amount in the worker's base currency.
1141
+ */
1142
+ interface AmountBase {
1143
+ /**
1144
+ * The currency type, ex: USD, EUR, etc.
1145
+ */
1146
+ currency_type?: string;
1147
+ /**
1148
+ * The decimal amount for the currency.
1149
+ */
1150
+ value?: number;
1151
+ }
1152
+ /**
1153
+ * Payout amount converted to USD.
1154
+ */
1155
+ interface AmountUsd {
1156
+ /**
1157
+ * The currency type, ex: USD, EUR, etc.
1158
+ */
1159
+ currency_type?: string;
1160
+ /**
1161
+ * The decimal amount for the currency.
1162
+ */
1163
+ value?: number;
1164
+ }
1165
+ /**
1166
+ * Group label attached to the payout. Populated only with expand=group_label,
1167
+ * which requires scheduled-payout-labels.read.
1168
+ */
1169
+ interface GroupLabel {
1170
+ /**
1171
+ * Unique identifier of the payout label.
1172
+ */
1173
+ id: string;
1174
+ /**
1175
+ * System that owns the label; together with external_id it is the label identity.
1176
+ * Same values as the payout client.
1177
+ */
1178
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1179
+ /**
1180
+ * External identifier unique per company and client.
1181
+ */
1182
+ external_id: string;
1183
+ /**
1184
+ * Display name of the label.
1185
+ */
1186
+ name: string;
1187
+ }
1188
+ /**
1189
+ * Payout type used for this payout. Populated only with expand=payout_type, which
1190
+ * requires scheduled-payout-types.read.
1191
+ */
1192
+ interface PayoutType {
1193
+ /**
1194
+ * Unique identifier of the payout type, used in /scheduled-payout-types/{id}/
1195
+ * paths. Always equal to key; both are returned because every resource exposes id
1196
+ * while payouts reference types by key (payout_type_id).
1197
+ */
1198
+ id: string;
1199
+ /**
1200
+ * Display name of the payout type.
1201
+ */
1202
+ display_name: string;
1203
+ /**
1204
+ * Whether this is a built-in payout type.
1205
+ */
1206
+ is_system: boolean;
1207
+ /**
1208
+ * Stable payout type key assigned by the server on create.
1209
+ */
1210
+ key: string;
1211
+ /**
1212
+ * Worker who created this custom payout type. Populated only with
1213
+ * expand=created_by, which requires workers.read.
1214
+ */
1215
+ created_by?: WorkersAPI.Worker;
1216
+ /**
1217
+ * ID of the worker who created this custom payout type; null for built-in types.
1218
+ */
1219
+ created_by_id?: string;
1220
+ }
1221
+ /**
1222
+ * Source label attached to the payout. Populated only with expand=source_label,
1223
+ * which requires scheduled-payout-labels.read.
1224
+ */
1225
+ interface SourceLabel {
1226
+ /**
1227
+ * Unique identifier of the payout label.
1228
+ */
1229
+ id: string;
1230
+ /**
1231
+ * System that owns the label; together with external_id it is the label identity.
1232
+ * Same values as the payout client.
1233
+ */
1234
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1235
+ /**
1236
+ * External identifier unique per company and client.
1237
+ */
1238
+ external_id: string;
1239
+ /**
1240
+ * Display name of the label.
1241
+ */
1242
+ name: string;
1243
+ }
1244
+ }
1245
+ export interface ScheduledPayoutCancelResponse {
1246
+ /**
1247
+ * Unique identifier of the payout.
1248
+ */
1249
+ id: string;
1250
+ /**
1251
+ * Payout amount in the worker's base currency.
1252
+ */
1253
+ amount_base: ScheduledPayoutCancelResponse.AmountBase;
1254
+ /**
1255
+ * Payout amount converted to USD.
1256
+ */
1257
+ amount_usd: ScheduledPayoutCancelResponse.AmountUsd;
1258
+ /**
1259
+ * System that owns the payout; together with external_id it is the upsert
1260
+ * identity. CUSTOM: created by an integrator through this API (the only value
1261
+ * accepted on create). Rippling-generated, read-only here: VC_PLAN_CYCLE and
1262
+ * VC_EVENT_DRIVEN_PLAN (variable compensation plans), MANUAL_PAYOUT (entered in
1263
+ * Rippling), HRIS_SIGN_ON (new-hire sign-on bonuses), OFFLINE_RECOMMENDATION and
1264
+ * NEW_HIRE_AGENT (Rippling recommendations).
1265
+ */
1266
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1267
+ /**
1268
+ * When the payout was created, as an ISO 8601 UTC timestamp.
1269
+ */
1270
+ created_at: string;
1271
+ /**
1272
+ * Last day of the period the payout covers, as YYYY-MM-DD (inclusive).
1273
+ */
1274
+ effective_end_date: string;
1275
+ /**
1276
+ * First day of the period the payout covers, as YYYY-MM-DD (inclusive).
1277
+ */
1278
+ effective_start_date: string;
1279
+ /**
1280
+ * External identifier unique per company and client.
1281
+ */
1282
+ external_id: string;
1283
+ /**
1284
+ * ID of the worker who receives this payout.
1285
+ */
1286
+ payee_id: string;
1287
+ /**
1288
+ * Key of the company payout type used for this payout. List valid keys with GET
1289
+ * /scheduled-payout-types/.
1290
+ */
1291
+ payout_type_id: string;
1292
+ /**
1293
+ * Date the payout becomes eligible for release, as YYYY-MM-DD.
1294
+ */
1295
+ scheduled_date: string;
1296
+ /**
1297
+ * Lifecycle status. Before scheduling: DRAFT, PENDING_APPROVAL, APPROVAL_REJECTED.
1298
+ * SCHEDULED: waiting for scheduled_date and its release conditions.
1299
+ * EVALUATION_FAILED: release conditions could not be evaluated and will be
1300
+ * retried; editable like SCHEDULED. RELEASED: sent to payroll and locked.
1301
+ * PAYROLL_RETRACT_IN_PROGRESS: being removed from payroll. Terminal: PAID,
1302
+ * FORFEITED (release conditions not met), CANCELLED.
1303
+ */
1304
+ status: 'DRAFT' | 'PENDING_APPROVAL' | 'APPROVAL_REJECTED' | 'SCHEDULED' | 'RELEASED' | 'PAYROLL_RETRACT_IN_PROGRESS' | 'PAID' | 'FORFEITED' | 'EVALUATION_FAILED' | 'CANCELLED';
1305
+ /**
1306
+ * When the payout was last updated, as an ISO 8601 UTC timestamp.
1307
+ */
1308
+ updated_at: string;
1309
+ /**
1310
+ * Reason provided when the payout was cancelled.
1311
+ */
1312
+ cancel_reason?: string;
1313
+ /**
1314
+ * Optional payout description.
1315
+ */
1316
+ description?: string;
1317
+ /**
1318
+ * Group label attached to the payout. Populated only with expand=group_label,
1319
+ * which requires scheduled-payout-labels.read.
1320
+ */
1321
+ group_label?: ScheduledPayoutCancelResponse.GroupLabel;
1322
+ /**
1323
+ * ID of the group label attached to the payout.
1324
+ */
1325
+ group_label_id?: string;
1326
+ /**
1327
+ * Optional payout name.
1328
+ */
1329
+ name?: string;
1330
+ /**
1331
+ * Payroll earning code resolved from the payout type's mapping for the payee's
1332
+ * payroll entity. While the payout is open, reads reflect the current mapping;
1333
+ * from RELEASED, PAYROLL_RETRACT_IN_PROGRESS, PAID, FORFEITED, CANCELLED, or
1334
+ * APPROVAL_REJECTED onward it is the value stored at that transition. Payouts not
1335
+ * paid through Rippling payroll return the stored value, which may be null.
1336
+ */
1337
+ pay_classification?: string;
1338
+ /**
1339
+ * Worker who receives this payout. Populated only with expand=payee, which
1340
+ * requires workers.read.
1341
+ */
1342
+ payee?: WorkersAPI.Worker;
1343
+ /**
1344
+ * Payout type used for this payout. Populated only with expand=payout_type, which
1345
+ * requires scheduled-payout-types.read.
1346
+ */
1347
+ payout_type?: ScheduledPayoutCancelResponse.PayoutType;
1348
+ /**
1349
+ * Paystub identifier when the payout has been synced to payroll.
1350
+ */
1351
+ paystub_id?: string;
1352
+ /**
1353
+ * Source label attached to the payout. Populated only with expand=source_label,
1354
+ * which requires scheduled-payout-labels.read.
1355
+ */
1356
+ source_label?: ScheduledPayoutCancelResponse.SourceLabel;
1357
+ /**
1358
+ * ID of the source label attached to the payout.
1359
+ */
1360
+ source_label_id?: string;
1361
+ }
1362
+ export declare namespace ScheduledPayoutCancelResponse {
1363
+ /**
1364
+ * Payout amount in the worker's base currency.
1365
+ */
1366
+ interface AmountBase {
1367
+ /**
1368
+ * The currency type, ex: USD, EUR, etc.
1369
+ */
1370
+ currency_type?: string;
1371
+ /**
1372
+ * The decimal amount for the currency.
1373
+ */
1374
+ value?: number;
1375
+ }
1376
+ /**
1377
+ * Payout amount converted to USD.
1378
+ */
1379
+ interface AmountUsd {
1380
+ /**
1381
+ * The currency type, ex: USD, EUR, etc.
1382
+ */
1383
+ currency_type?: string;
1384
+ /**
1385
+ * The decimal amount for the currency.
1386
+ */
1387
+ value?: number;
1388
+ }
1389
+ /**
1390
+ * Group label attached to the payout. Populated only with expand=group_label,
1391
+ * which requires scheduled-payout-labels.read.
1392
+ */
1393
+ interface GroupLabel {
1394
+ /**
1395
+ * Unique identifier of the payout label.
1396
+ */
1397
+ id: string;
1398
+ /**
1399
+ * System that owns the label; together with external_id it is the label identity.
1400
+ * Same values as the payout client.
1401
+ */
1402
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1403
+ /**
1404
+ * External identifier unique per company and client.
1405
+ */
1406
+ external_id: string;
1407
+ /**
1408
+ * Display name of the label.
1409
+ */
1410
+ name: string;
1411
+ }
1412
+ /**
1413
+ * Payout type used for this payout. Populated only with expand=payout_type, which
1414
+ * requires scheduled-payout-types.read.
1415
+ */
1416
+ interface PayoutType {
1417
+ /**
1418
+ * Unique identifier of the payout type, used in /scheduled-payout-types/{id}/
1419
+ * paths. Always equal to key; both are returned because every resource exposes id
1420
+ * while payouts reference types by key (payout_type_id).
1421
+ */
1422
+ id: string;
1423
+ /**
1424
+ * Display name of the payout type.
1425
+ */
1426
+ display_name: string;
1427
+ /**
1428
+ * Whether this is a built-in payout type.
1429
+ */
1430
+ is_system: boolean;
1431
+ /**
1432
+ * Stable payout type key assigned by the server on create.
1433
+ */
1434
+ key: string;
1435
+ /**
1436
+ * Worker who created this custom payout type. Populated only with
1437
+ * expand=created_by, which requires workers.read.
1438
+ */
1439
+ created_by?: WorkersAPI.Worker;
1440
+ /**
1441
+ * ID of the worker who created this custom payout type; null for built-in types.
1442
+ */
1443
+ created_by_id?: string;
1444
+ }
1445
+ /**
1446
+ * Source label attached to the payout. Populated only with expand=source_label,
1447
+ * which requires scheduled-payout-labels.read.
1448
+ */
1449
+ interface SourceLabel {
1450
+ /**
1451
+ * Unique identifier of the payout label.
1452
+ */
1453
+ id: string;
1454
+ /**
1455
+ * System that owns the label; together with external_id it is the label identity.
1456
+ * Same values as the payout client.
1457
+ */
1458
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1459
+ /**
1460
+ * External identifier unique per company and client.
1461
+ */
1462
+ external_id: string;
1463
+ /**
1464
+ * Display name of the label.
1465
+ */
1466
+ name: string;
1467
+ }
1468
+ }
1469
+ export interface ScheduledPayoutListParams {
1470
+ /**
1471
+ * Opaque pagination cursor from the previous page's next_link.
1472
+ */
1473
+ cursor?: string;
1474
+ /**
1475
+ * Comma-separated relationships to include: payee (requires workers.read),
1476
+ * payout_type (requires scheduled-payout-types.read), source_label and group_label
1477
+ * (require scheduled-payout-labels.read). Retrieve accepts the same values.
1478
+ */
1479
+ expand?: string;
1480
+ /**
1481
+ * String equality filters joined by and. Supported fields: payee_id, client,
1482
+ * external_id, status, source_label_id, group_label_id. payout_type_id is returned
1483
+ * but not filterable.
1484
+ */
1485
+ filter?: string;
1486
+ /**
1487
+ * Page size. Defaults to 50. Maximum 100.
1488
+ */
1489
+ limit?: number;
1490
+ }
1491
+ export interface ScheduledPayoutCreateParams {
1492
+ /**
1493
+ * Payout amount in the worker's base currency.
1494
+ */
1495
+ amount_base: ScheduledPayoutCreateParams.AmountBase;
1496
+ /**
1497
+ * Payout amount converted to USD.
1498
+ */
1499
+ amount_usd: ScheduledPayoutCreateParams.AmountUsd;
1500
+ /**
1501
+ * System that owns the payout; together with external_id it is the upsert
1502
+ * identity. CUSTOM: created by an integrator through this API (the only value
1503
+ * accepted on create). Rippling-generated, read-only here: VC_PLAN_CYCLE and
1504
+ * VC_EVENT_DRIVEN_PLAN (variable compensation plans), MANUAL_PAYOUT (entered in
1505
+ * Rippling), HRIS_SIGN_ON (new-hire sign-on bonuses), OFFLINE_RECOMMENDATION and
1506
+ * NEW_HIRE_AGENT (Rippling recommendations).
1507
+ */
1508
+ client: 'VC_PLAN_CYCLE' | 'VC_EVENT_DRIVEN_PLAN' | 'CUSTOM' | 'MANUAL_PAYOUT' | 'HRIS_SIGN_ON' | 'OFFLINE_RECOMMENDATION' | 'NEW_HIRE_AGENT';
1509
+ /**
1510
+ * Last day of the period the payout covers, as YYYY-MM-DD (inclusive).
1511
+ */
1512
+ effective_end_date: string;
1513
+ /**
1514
+ * First day of the period the payout covers, as YYYY-MM-DD (inclusive).
1515
+ */
1516
+ effective_start_date: string;
1517
+ /**
1518
+ * External identifier unique per company and client.
1519
+ */
1520
+ external_id: string;
1521
+ /**
1522
+ * ID of the worker who receives this payout.
1523
+ */
1524
+ payee_id: string;
1525
+ /**
1526
+ * Key of the company payout type used for this payout. List valid keys with GET
1527
+ * /scheduled-payout-types/.
1528
+ */
1529
+ payout_type_id: string;
1530
+ /**
1531
+ * Date the payout becomes eligible for release, as YYYY-MM-DD.
1532
+ */
1533
+ scheduled_date: string;
1534
+ /**
1535
+ * Optional payout description.
1536
+ */
1537
+ description?: string;
1538
+ /**
1539
+ * ID of the group label attached to the payout.
1540
+ */
1541
+ group_label_id?: string;
1542
+ /**
1543
+ * Optional payout name.
1544
+ */
1545
+ name?: string;
1546
+ /**
1547
+ * ID of the source label attached to the payout.
1548
+ */
1549
+ source_label_id?: string;
1550
+ }
1551
+ export declare namespace ScheduledPayoutCreateParams {
1552
+ /**
1553
+ * Payout amount in the worker's base currency.
1554
+ */
1555
+ interface AmountBase {
1556
+ /**
1557
+ * The currency type, ex: USD, EUR, etc.
1558
+ */
1559
+ currency_type?: string;
1560
+ /**
1561
+ * The decimal amount for the currency.
1562
+ */
1563
+ value?: number;
1564
+ }
1565
+ /**
1566
+ * Payout amount converted to USD.
1567
+ */
1568
+ interface AmountUsd {
1569
+ /**
1570
+ * The currency type, ex: USD, EUR, etc.
1571
+ */
1572
+ currency_type?: string;
1573
+ /**
1574
+ * The decimal amount for the currency.
1575
+ */
1576
+ value?: number;
1577
+ }
1578
+ }
1579
+ export interface ScheduledPayoutCancelParams {
1580
+ /**
1581
+ * Why the payout is being cancelled. Stored on the payout as cancel_reason.
1582
+ */
1583
+ reason: string;
1584
+ }
1585
+ export declare namespace ScheduledPayouts {
1586
+ export { type ScheduledPayoutListResponse as ScheduledPayoutListResponse, type ScheduledPayoutCreateResponse as ScheduledPayoutCreateResponse, type ScheduledPayoutRetrieveResponse as ScheduledPayoutRetrieveResponse, type ScheduledPayoutCancelResponse as ScheduledPayoutCancelResponse, type ScheduledPayoutListResponsesPageCursorURL as ScheduledPayoutListResponsesPageCursorURL, type ScheduledPayoutListParams as ScheduledPayoutListParams, type ScheduledPayoutCreateParams as ScheduledPayoutCreateParams, type ScheduledPayoutCancelParams as ScheduledPayoutCancelParams, };
1587
+ }
1588
+ //# sourceMappingURL=scheduled-payouts.d.ts.map