@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,546 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ScheduledPayoutTypes = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const headers_1 = require("../internal/headers.js");
8
+ const path_1 = require("../internal/utils/path.js");
9
+ /**
10
+ * Compensation associated with workers
11
+ */
12
+ class ScheduledPayoutTypes extends resource_1.APIResource {
13
+ /**
14
+ * List system and custom payout types, ordered by id. Per-entity earning code
15
+ * mappings are configured in Rippling and are not part of this API. Paginated with
16
+ * limit and cursor.
17
+ *
18
+ * - Requires: `Internal Testing`
19
+ *
20
+ * @example HTTP
21
+ * Representative request and response shapes.
22
+ * ```
23
+ * GET /scheduled-payout-types/?expand=expand&limit=0&cursor=cursor HTTP/1.1
24
+ * Host: rest.ripplingapis.com
25
+ * Accept: application/json
26
+ * Rippling-Api-Version: 2024-08-01
27
+ *
28
+ * HTTP/1.1 200 OK
29
+ * Content-Type: application/json
30
+ *
31
+ * {
32
+ * "__meta": {
33
+ * "redacted_fields": [
34
+ * {
35
+ * "name": "date_of_birth",
36
+ * "reason": "Insufficient entitlements"
37
+ * }
38
+ * ]
39
+ * },
40
+ * "results": [
41
+ * {
42
+ * "id": "string",
43
+ * "key": "string",
44
+ * "display_name": "string",
45
+ * "is_system": false,
46
+ * "created_by_id": "string",
47
+ * "created_by": {
48
+ * "id": "string",
49
+ * "created_at": "string",
50
+ * "updated_at": "string",
51
+ * "user_id": "string",
52
+ * "user": {},
53
+ * "is_manager": "string",
54
+ * "manager_id": "string",
55
+ * "manager": {},
56
+ * "legal_entity_id": "string",
57
+ * "legal_entity": {},
58
+ * "country": "AF",
59
+ * "start_date": "string",
60
+ * "end_date": "string",
61
+ * "number": "string",
62
+ * "work_email": "string",
63
+ * "personal_email": "string",
64
+ * "status": "INIT",
65
+ * "location": {},
66
+ * "employment_type_id": "string",
67
+ * "employment_type": {},
68
+ * "gender": "MALE",
69
+ * "date_of_birth": "string",
70
+ * "race": "BLACK",
71
+ * "ethnicity": "HISPANIC_OR_LATINO",
72
+ * "citizenship": "AF",
73
+ * "compensation_id": "string",
74
+ * "compensation": {},
75
+ * "overtime_exemption": "EXEMPT",
76
+ * "department_id": "string",
77
+ * "department": {},
78
+ * "teams_id": [],
79
+ * "teams": [],
80
+ * "title": "string",
81
+ * "title_effective_date": "string",
82
+ * "level_id": "string",
83
+ * "level": {},
84
+ * "job_function_id": "string",
85
+ * "job_function": {},
86
+ * "termination_details": {},
87
+ * "pay_schedule_id": "string",
88
+ * "work_schedule": {},
89
+ * "compensation_grade": {},
90
+ * "original_start_date": "string",
91
+ * "custom_fields": [],
92
+ * "country_fields": {},
93
+ * "business_partners_id": [],
94
+ * "business_partners": []
95
+ * }
96
+ * }
97
+ * ],
98
+ * "next_link": "string"
99
+ * }
100
+ * ```
101
+ */
102
+ list(query = {}, options) {
103
+ return this._client.getAPIList('/scheduled-payout-types/', (pagination_1.PageCursorURL), { query, ...options });
104
+ }
105
+ /**
106
+ * Create a custom payout type. Omit key; the server assigns one. Creates are not
107
+ * idempotent: repeating the request creates another payout type with a new key,
108
+ * even with the same display_name. Use PATCH /scheduled-payout-types/{key}/ to
109
+ * update.
110
+ *
111
+ * @example HTTP
112
+ * Representative request and response shapes.
113
+ * ```
114
+ * POST /scheduled-payout-types/ HTTP/1.1
115
+ * Host: rest.ripplingapis.com
116
+ * Content-Type: application/json
117
+ * Accept: application/json
118
+ * Rippling-Api-Version: 2024-08-01
119
+ *
120
+ * {
121
+ * "display_name": "display_name"
122
+ * }
123
+ *
124
+ * HTTP/1.1 200 OK
125
+ * Content-Type: application/json
126
+ *
127
+ * {
128
+ * "id": "string",
129
+ * "key": "string",
130
+ * "display_name": "string",
131
+ * "is_system": false,
132
+ * "created_by_id": "string",
133
+ * "created_by": {
134
+ * "id": "string",
135
+ * "created_at": "string",
136
+ * "updated_at": "string",
137
+ * "user_id": "string",
138
+ * "user": {
139
+ * "id": "string",
140
+ * "created_at": "string",
141
+ * "updated_at": "string"
142
+ * },
143
+ * "is_manager": false,
144
+ * "manager_id": "string",
145
+ * "manager": {
146
+ * "id": "string",
147
+ * "created_at": "string",
148
+ * "updated_at": "string"
149
+ * },
150
+ * "legal_entity_id": "string",
151
+ * "legal_entity": {
152
+ * "id": "string",
153
+ * "created_at": "string",
154
+ * "updated_at": "string"
155
+ * },
156
+ * "country": "AF",
157
+ * "start_date": "string",
158
+ * "end_date": "string",
159
+ * "number": 0,
160
+ * "work_email": "string",
161
+ * "personal_email": "string",
162
+ * "status": "INIT",
163
+ * "location": {
164
+ * "type": "REMOTE",
165
+ * "work_location_id": "string"
166
+ * },
167
+ * "employment_type_id": "string",
168
+ * "employment_type": {
169
+ * "id": "string",
170
+ * "created_at": "string",
171
+ * "updated_at": "string",
172
+ * "label": "string"
173
+ * },
174
+ * "gender": "MALE",
175
+ * "date_of_birth": "string",
176
+ * "race": "BLACK",
177
+ * "ethnicity": "HISPANIC_OR_LATINO",
178
+ * "citizenship": "AF",
179
+ * "compensation_id": "string",
180
+ * "compensation": {
181
+ * "id": "string",
182
+ * "created_at": "string",
183
+ * "updated_at": "string"
184
+ * },
185
+ * "overtime_exemption": "EXEMPT",
186
+ * "department_id": "string",
187
+ * "department": {
188
+ * "id": "string",
189
+ * "created_at": "string",
190
+ * "updated_at": "string",
191
+ * "name": "string",
192
+ * "parent_id": "string"
193
+ * },
194
+ * "teams_id": [
195
+ * "string"
196
+ * ],
197
+ * "teams": [
198
+ * {
199
+ * "id": "string",
200
+ * "created_at": "string",
201
+ * "updated_at": "string",
202
+ * "parent_id": "string",
203
+ * "parent": {},
204
+ * "name": "string"
205
+ * }
206
+ * ],
207
+ * "title": "string",
208
+ * "title_effective_date": "string",
209
+ * "level_id": "string",
210
+ * "level": {
211
+ * "id": "string",
212
+ * "created_at": "string",
213
+ * "updated_at": "string",
214
+ * "name": "string",
215
+ * "parent_id": "string",
216
+ * "parent": {
217
+ * "id": "string",
218
+ * "created_at": "string",
219
+ * "updated_at": "string",
220
+ * "name": "string",
221
+ * "parent_id": "string",
222
+ * "parent": {},
223
+ * "global_level": "string",
224
+ * "description": "string",
225
+ * "scope_of_responsibilities": "string",
226
+ * "experience_requirements": "string",
227
+ * "rank": "string",
228
+ * "track_id": "string",
229
+ * "track": {}
230
+ * },
231
+ * "global_level": 0,
232
+ * "description": "string",
233
+ * "scope_of_responsibilities": "string",
234
+ * "experience_requirements": "string",
235
+ * "rank": 0,
236
+ * "track_id": "string",
237
+ * "track": {
238
+ * "id": "string",
239
+ * "created_at": "string",
240
+ * "updated_at": "string",
241
+ * "name": "string",
242
+ * "is_default": "string",
243
+ * "order": "string",
244
+ * "start_global_level": "string"
245
+ * }
246
+ * },
247
+ * "job_function_id": "string",
248
+ * "job_function": {
249
+ * "id": "string",
250
+ * "created_at": "string",
251
+ * "updated_at": "string",
252
+ * "name": "string"
253
+ * },
254
+ * "termination_details": {
255
+ * "type": "VOLUNTARY",
256
+ * "reason": "string"
257
+ * },
258
+ * "pay_schedule_id": "string",
259
+ * "work_schedule": {},
260
+ * "compensation_grade": {
261
+ * "id": "string",
262
+ * "label": "string"
263
+ * },
264
+ * "original_start_date": "string",
265
+ * "custom_fields": [
266
+ * null
267
+ * ],
268
+ * "country_fields": {
269
+ * "us": {
270
+ * "ssn": "string"
271
+ * },
272
+ * "ca": {
273
+ * "sin": "string"
274
+ * },
275
+ * "nz": {
276
+ * "ird_number": "string"
277
+ * }
278
+ * },
279
+ * "business_partners_id": [
280
+ * "string"
281
+ * ],
282
+ * "business_partners": [
283
+ * {
284
+ * "id": "string",
285
+ * "created_at": "string",
286
+ * "updated_at": "string",
287
+ * "business_partner_group_id": "string",
288
+ * "business_partner_group": {},
289
+ * "worker_id": "string",
290
+ * "worker": {},
291
+ * "client_group_id": "string",
292
+ * "client_group": {},
293
+ * "client_group_member_count": "string"
294
+ * }
295
+ * ]
296
+ * }
297
+ * }
298
+ * ```
299
+ */
300
+ create(body, options) {
301
+ return this._client.post('/scheduled-payout-types/', { body, ...options });
302
+ }
303
+ /**
304
+ * Retrieve a specific scheduled payout type by key.
305
+ *
306
+ * @example HTTP
307
+ * Representative request and response shapes.
308
+ * ```
309
+ * GET /scheduled-payout-types/{id}/ HTTP/1.1
310
+ * Host: rest.ripplingapis.com
311
+ * Accept: application/json
312
+ * Rippling-Api-Version: 2024-08-01
313
+ *
314
+ * HTTP/1.1 200 OK
315
+ * Content-Type: application/json
316
+ *
317
+ * {
318
+ * "__meta": {
319
+ * "redacted_fields": [
320
+ * {}
321
+ * ]
322
+ * }
323
+ * }
324
+ * ```
325
+ */
326
+ retrieve(id, options) {
327
+ return this._client.get((0, path_1.path) `/scheduled-payout-types/${id}/`, options);
328
+ }
329
+ /**
330
+ * Rename a custom payout type. Only display_name is writable.
331
+ *
332
+ * @example HTTP
333
+ * Representative request and response shapes.
334
+ * ```
335
+ * PATCH /scheduled-payout-types/{id}/ HTTP/1.1
336
+ * Host: rest.ripplingapis.com
337
+ * Content-Type: application/json
338
+ * Accept: application/json
339
+ * Rippling-Api-Version: 2024-08-01
340
+ *
341
+ * {
342
+ * "display_name": "display_name"
343
+ * }
344
+ *
345
+ * HTTP/1.1 200 OK
346
+ * Content-Type: application/json
347
+ *
348
+ * {
349
+ * "id": "string",
350
+ * "key": "string",
351
+ * "display_name": "string",
352
+ * "is_system": false,
353
+ * "created_by_id": "string",
354
+ * "created_by": {
355
+ * "id": "string",
356
+ * "created_at": "string",
357
+ * "updated_at": "string",
358
+ * "user_id": "string",
359
+ * "user": {
360
+ * "id": "string",
361
+ * "created_at": "string",
362
+ * "updated_at": "string"
363
+ * },
364
+ * "is_manager": false,
365
+ * "manager_id": "string",
366
+ * "manager": {
367
+ * "id": "string",
368
+ * "created_at": "string",
369
+ * "updated_at": "string"
370
+ * },
371
+ * "legal_entity_id": "string",
372
+ * "legal_entity": {
373
+ * "id": "string",
374
+ * "created_at": "string",
375
+ * "updated_at": "string"
376
+ * },
377
+ * "country": "AF",
378
+ * "start_date": "string",
379
+ * "end_date": "string",
380
+ * "number": 0,
381
+ * "work_email": "string",
382
+ * "personal_email": "string",
383
+ * "status": "INIT",
384
+ * "location": {
385
+ * "type": "REMOTE",
386
+ * "work_location_id": "string"
387
+ * },
388
+ * "employment_type_id": "string",
389
+ * "employment_type": {
390
+ * "id": "string",
391
+ * "created_at": "string",
392
+ * "updated_at": "string",
393
+ * "label": "string"
394
+ * },
395
+ * "gender": "MALE",
396
+ * "date_of_birth": "string",
397
+ * "race": "BLACK",
398
+ * "ethnicity": "HISPANIC_OR_LATINO",
399
+ * "citizenship": "AF",
400
+ * "compensation_id": "string",
401
+ * "compensation": {
402
+ * "id": "string",
403
+ * "created_at": "string",
404
+ * "updated_at": "string"
405
+ * },
406
+ * "overtime_exemption": "EXEMPT",
407
+ * "department_id": "string",
408
+ * "department": {
409
+ * "id": "string",
410
+ * "created_at": "string",
411
+ * "updated_at": "string",
412
+ * "name": "string",
413
+ * "parent_id": "string"
414
+ * },
415
+ * "teams_id": [
416
+ * "string"
417
+ * ],
418
+ * "teams": [
419
+ * {
420
+ * "id": "string",
421
+ * "created_at": "string",
422
+ * "updated_at": "string",
423
+ * "parent_id": "string",
424
+ * "parent": {},
425
+ * "name": "string"
426
+ * }
427
+ * ],
428
+ * "title": "string",
429
+ * "title_effective_date": "string",
430
+ * "level_id": "string",
431
+ * "level": {
432
+ * "id": "string",
433
+ * "created_at": "string",
434
+ * "updated_at": "string",
435
+ * "name": "string",
436
+ * "parent_id": "string",
437
+ * "parent": {
438
+ * "id": "string",
439
+ * "created_at": "string",
440
+ * "updated_at": "string",
441
+ * "name": "string",
442
+ * "parent_id": "string",
443
+ * "parent": {},
444
+ * "global_level": "string",
445
+ * "description": "string",
446
+ * "scope_of_responsibilities": "string",
447
+ * "experience_requirements": "string",
448
+ * "rank": "string",
449
+ * "track_id": "string",
450
+ * "track": {}
451
+ * },
452
+ * "global_level": 0,
453
+ * "description": "string",
454
+ * "scope_of_responsibilities": "string",
455
+ * "experience_requirements": "string",
456
+ * "rank": 0,
457
+ * "track_id": "string",
458
+ * "track": {
459
+ * "id": "string",
460
+ * "created_at": "string",
461
+ * "updated_at": "string",
462
+ * "name": "string",
463
+ * "is_default": "string",
464
+ * "order": "string",
465
+ * "start_global_level": "string"
466
+ * }
467
+ * },
468
+ * "job_function_id": "string",
469
+ * "job_function": {
470
+ * "id": "string",
471
+ * "created_at": "string",
472
+ * "updated_at": "string",
473
+ * "name": "string"
474
+ * },
475
+ * "termination_details": {
476
+ * "type": "VOLUNTARY",
477
+ * "reason": "string"
478
+ * },
479
+ * "pay_schedule_id": "string",
480
+ * "work_schedule": {},
481
+ * "compensation_grade": {
482
+ * "id": "string",
483
+ * "label": "string"
484
+ * },
485
+ * "original_start_date": "string",
486
+ * "custom_fields": [
487
+ * null
488
+ * ],
489
+ * "country_fields": {
490
+ * "us": {
491
+ * "ssn": "string"
492
+ * },
493
+ * "ca": {
494
+ * "sin": "string"
495
+ * },
496
+ * "nz": {
497
+ * "ird_number": "string"
498
+ * }
499
+ * },
500
+ * "business_partners_id": [
501
+ * "string"
502
+ * ],
503
+ * "business_partners": [
504
+ * {
505
+ * "id": "string",
506
+ * "created_at": "string",
507
+ * "updated_at": "string",
508
+ * "business_partner_group_id": "string",
509
+ * "business_partner_group": {},
510
+ * "worker_id": "string",
511
+ * "worker": {},
512
+ * "client_group_id": "string",
513
+ * "client_group": {},
514
+ * "client_group_member_count": "string"
515
+ * }
516
+ * ]
517
+ * }
518
+ * }
519
+ * ```
520
+ */
521
+ update(id, body, options) {
522
+ return this._client.patch((0, path_1.path) `/scheduled-payout-types/${id}/`, { body, ...options });
523
+ }
524
+ /**
525
+ * Delete a custom payout type. Built-in payout types cannot be deleted. Returns
526
+ * 204 with no body.
527
+ *
528
+ * @example HTTP
529
+ * Representative request and response shapes.
530
+ * ```
531
+ * DELETE /scheduled-payout-types/{id}/ HTTP/1.1
532
+ * Host: rest.ripplingapis.com
533
+ * Rippling-Api-Version: 2024-08-01
534
+ *
535
+ * HTTP/1.1 204 No Content
536
+ * ```
537
+ */
538
+ delete(id, options) {
539
+ return this._client.delete((0, path_1.path) `/scheduled-payout-types/${id}/`, {
540
+ ...options,
541
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
542
+ });
543
+ }
544
+ }
545
+ exports.ScheduledPayoutTypes = ScheduledPayoutTypes;
546
+ //# sourceMappingURL=scheduled-payout-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-payout-types.js","sourceRoot":"","sources":["../src/resources/scheduled-payout-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwFG;IACH,IAAI,CACF,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,0BAA0B,EAC1B,CAAA,0BAA8C,CAAA,EAC9C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkMG;IACH,MAAM,CACJ,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+LG;IACH,MAAM,CACJ,EAAU,EACV,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,2BAA2B,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,2BAA2B,EAAE,GAAG,EAAE;YAC/D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAtiBD,oDAsiBC"}