@rippling/rippling-sdk 0.2.0-alpha.24 → 0.2.0-alpha.26

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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/client.d.mts +33 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +33 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js +21 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +21 -0
  9. package/client.mjs.map +1 -1
  10. package/functions.d.mts +7 -0
  11. package/functions.d.mts.map +1 -1
  12. package/functions.d.ts +7 -0
  13. package/functions.d.ts.map +1 -1
  14. package/functions.js +13 -1
  15. package/functions.js.map +1 -1
  16. package/functions.mjs +11 -0
  17. package/functions.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/compensation-bands-details.d.mts +95 -0
  20. package/resources/compensation-bands-details.d.mts.map +1 -0
  21. package/resources/compensation-bands-details.d.ts +95 -0
  22. package/resources/compensation-bands-details.d.ts.map +1 -0
  23. package/resources/compensation-bands-details.js +29 -0
  24. package/resources/compensation-bands-details.js.map +1 -0
  25. package/resources/compensation-bands-details.mjs +25 -0
  26. package/resources/compensation-bands-details.mjs.map +1 -0
  27. package/resources/custom-settings.d.mts +270 -0
  28. package/resources/custom-settings.d.mts.map +1 -0
  29. package/resources/custom-settings.d.ts +270 -0
  30. package/resources/custom-settings.d.ts.map +1 -0
  31. package/resources/custom-settings.js +51 -0
  32. package/resources/custom-settings.js.map +1 -0
  33. package/resources/custom-settings.mjs +47 -0
  34. package/resources/custom-settings.mjs.map +1 -0
  35. package/resources/departments.d.mts +37 -1
  36. package/resources/departments.d.mts.map +1 -1
  37. package/resources/departments.d.ts +37 -1
  38. package/resources/departments.d.ts.map +1 -1
  39. package/resources/departments.js +12 -0
  40. package/resources/departments.js.map +1 -1
  41. package/resources/departments.mjs +12 -0
  42. package/resources/departments.mjs.map +1 -1
  43. package/resources/draft-hires.d.mts +27 -0
  44. package/resources/draft-hires.d.mts.map +1 -1
  45. package/resources/draft-hires.d.ts +27 -0
  46. package/resources/draft-hires.d.ts.map +1 -1
  47. package/resources/functions/executions.d.mts +6 -82
  48. package/resources/functions/executions.d.mts.map +1 -1
  49. package/resources/functions/executions.d.ts +6 -82
  50. package/resources/functions/executions.d.ts.map +1 -1
  51. package/resources/functions/executions.js.map +1 -1
  52. package/resources/functions/executions.mjs.map +1 -1
  53. package/resources/functions/functions.d.mts +2 -2
  54. package/resources/functions/functions.d.mts.map +1 -1
  55. package/resources/functions/functions.d.ts +2 -2
  56. package/resources/functions/functions.d.ts.map +1 -1
  57. package/resources/functions/functions.js.map +1 -1
  58. package/resources/functions/functions.mjs.map +1 -1
  59. package/resources/functions/index.d.mts +1 -1
  60. package/resources/functions/index.d.mts.map +1 -1
  61. package/resources/functions/index.d.ts +1 -1
  62. package/resources/functions/index.d.ts.map +1 -1
  63. package/resources/functions/index.js.map +1 -1
  64. package/resources/functions/index.mjs.map +1 -1
  65. package/resources/index.d.mts +12 -5
  66. package/resources/index.d.mts.map +1 -1
  67. package/resources/index.d.ts +12 -5
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js +15 -1
  70. package/resources/index.js.map +1 -1
  71. package/resources/index.mjs +7 -0
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/job-assignments.d.mts +70 -6
  74. package/resources/job-assignments.d.mts.map +1 -1
  75. package/resources/job-assignments.d.ts +70 -6
  76. package/resources/job-assignments.d.ts.map +1 -1
  77. package/resources/job-assignments.js +22 -0
  78. package/resources/job-assignments.js.map +1 -1
  79. package/resources/job-assignments.mjs +22 -0
  80. package/resources/job-assignments.mjs.map +1 -1
  81. package/resources/job-codes.d.mts +47 -1
  82. package/resources/job-codes.d.mts.map +1 -1
  83. package/resources/job-codes.d.ts +47 -1
  84. package/resources/job-codes.d.ts.map +1 -1
  85. package/resources/job-dimensions.d.mts +20 -0
  86. package/resources/job-dimensions.d.mts.map +1 -1
  87. package/resources/job-dimensions.d.ts +20 -0
  88. package/resources/job-dimensions.d.ts.map +1 -1
  89. package/resources/job-requisitions-write.d.mts +257 -0
  90. package/resources/job-requisitions-write.d.mts.map +1 -0
  91. package/resources/job-requisitions-write.d.ts +257 -0
  92. package/resources/job-requisitions-write.d.ts.map +1 -0
  93. package/resources/job-requisitions-write.js +15 -0
  94. package/resources/job-requisitions-write.js.map +1 -0
  95. package/resources/job-requisitions-write.mjs +11 -0
  96. package/resources/job-requisitions-write.mjs.map +1 -0
  97. package/resources/leave-accruals.d.mts +112 -6
  98. package/resources/leave-accruals.d.mts.map +1 -1
  99. package/resources/leave-accruals.d.ts +112 -6
  100. package/resources/leave-accruals.d.ts.map +1 -1
  101. package/resources/leave-accruals.js +19 -3
  102. package/resources/leave-accruals.js.map +1 -1
  103. package/resources/leave-accruals.mjs +19 -3
  104. package/resources/leave-accruals.mjs.map +1 -1
  105. package/resources/report-runs.d.mts +149 -0
  106. package/resources/report-runs.d.mts.map +1 -0
  107. package/resources/report-runs.d.ts +149 -0
  108. package/resources/report-runs.d.ts.map +1 -0
  109. package/resources/report-runs.js +22 -0
  110. package/resources/report-runs.js.map +1 -0
  111. package/resources/report-runs.mjs +18 -0
  112. package/resources/report-runs.mjs.map +1 -0
  113. package/resources/shared.d.mts +35 -0
  114. package/resources/shared.d.mts.map +1 -1
  115. package/resources/shared.d.ts +35 -0
  116. package/resources/shared.d.ts.map +1 -1
  117. package/resources/shift-assignments.d.mts +296 -0
  118. package/resources/shift-assignments.d.mts.map +1 -0
  119. package/resources/shift-assignments.d.ts +296 -0
  120. package/resources/shift-assignments.d.ts.map +1 -0
  121. package/resources/shift-assignments.js +25 -0
  122. package/resources/shift-assignments.js.map +1 -0
  123. package/resources/shift-assignments.mjs +21 -0
  124. package/resources/shift-assignments.mjs.map +1 -0
  125. package/resources/shiftassignments.d.mts +68 -10
  126. package/resources/shiftassignments.d.mts.map +1 -1
  127. package/resources/shiftassignments.d.ts +68 -10
  128. package/resources/shiftassignments.d.ts.map +1 -1
  129. package/resources/supergroups/exclusion-members.d.mts +5 -3
  130. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  131. package/resources/supergroups/exclusion-members.d.ts +5 -3
  132. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  133. package/resources/supergroups/exclusion-members.js +1 -0
  134. package/resources/supergroups/exclusion-members.js.map +1 -1
  135. package/resources/supergroups/exclusion-members.mjs +1 -0
  136. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  137. package/resources/supergroups/inclusion-members.d.mts +5 -3
  138. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  139. package/resources/supergroups/inclusion-members.d.ts +5 -3
  140. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  141. package/resources/supergroups/inclusion-members.js +1 -0
  142. package/resources/supergroups/inclusion-members.js.map +1 -1
  143. package/resources/supergroups/inclusion-members.mjs +1 -0
  144. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  145. package/resources/supergroups/index.d.mts +1 -1
  146. package/resources/supergroups/index.d.mts.map +1 -1
  147. package/resources/supergroups/index.d.ts +1 -1
  148. package/resources/supergroups/index.d.ts.map +1 -1
  149. package/resources/supergroups/index.js.map +1 -1
  150. package/resources/supergroups/index.mjs.map +1 -1
  151. package/resources/supergroups/members.d.mts +8 -26
  152. package/resources/supergroups/members.d.mts.map +1 -1
  153. package/resources/supergroups/members.d.ts +8 -26
  154. package/resources/supergroups/members.d.ts.map +1 -1
  155. package/resources/supergroups/members.js +1 -0
  156. package/resources/supergroups/members.js.map +1 -1
  157. package/resources/supergroups/members.mjs +1 -0
  158. package/resources/supergroups/members.mjs.map +1 -1
  159. package/resources/supergroups/supergroups.d.mts +2 -2
  160. package/resources/supergroups/supergroups.d.mts.map +1 -1
  161. package/resources/supergroups/supergroups.d.ts +2 -2
  162. package/resources/supergroups/supergroups.d.ts.map +1 -1
  163. package/resources/supergroups/supergroups.js.map +1 -1
  164. package/resources/supergroups/supergroups.mjs.map +1 -1
  165. package/resources/titles.d.mts +126 -0
  166. package/resources/titles.d.mts.map +1 -0
  167. package/resources/titles.d.ts +126 -0
  168. package/resources/titles.d.ts.map +1 -0
  169. package/resources/titles.js +48 -0
  170. package/resources/titles.js.map +1 -0
  171. package/resources/titles.mjs +44 -0
  172. package/resources/titles.mjs.map +1 -0
  173. package/resources/unassigned-shifts.d.mts +334 -0
  174. package/resources/unassigned-shifts.d.mts.map +1 -0
  175. package/resources/unassigned-shifts.d.ts +334 -0
  176. package/resources/unassigned-shifts.d.ts.map +1 -0
  177. package/resources/unassigned-shifts.js +42 -0
  178. package/resources/unassigned-shifts.js.map +1 -0
  179. package/resources/unassigned-shifts.mjs +38 -0
  180. package/resources/unassigned-shifts.mjs.map +1 -0
  181. package/resources/unassignedshifts.d.mts +744 -32
  182. package/resources/unassignedshifts.d.mts.map +1 -1
  183. package/resources/unassignedshifts.d.ts +744 -32
  184. package/resources/unassignedshifts.d.ts.map +1 -1
  185. package/resources/unassignedshifts.js +12 -0
  186. package/resources/unassignedshifts.js.map +1 -1
  187. package/resources/unassignedshifts.mjs +12 -0
  188. package/resources/unassignedshifts.mjs.map +1 -1
  189. package/resources/work-locations.d.mts +95 -1
  190. package/resources/work-locations.d.mts.map +1 -1
  191. package/resources/work-locations.d.ts +95 -1
  192. package/resources/work-locations.d.ts.map +1 -1
  193. package/resources/work-locations.js +12 -0
  194. package/resources/work-locations.js.map +1 -1
  195. package/resources/work-locations.mjs +12 -0
  196. package/resources/work-locations.mjs.map +1 -1
  197. package/src/client.ts +157 -3
  198. package/src/functions.ts +20 -0
  199. package/src/resources/compensation-bands-details.ts +140 -0
  200. package/src/resources/custom-settings.ts +371 -0
  201. package/src/resources/departments.ts +50 -0
  202. package/src/resources/draft-hires.ts +32 -0
  203. package/src/resources/functions/executions.ts +8 -104
  204. package/src/resources/functions/functions.ts +4 -8
  205. package/src/resources/functions/index.ts +2 -4
  206. package/src/resources/index.ts +68 -2
  207. package/src/resources/job-assignments.ts +95 -6
  208. package/src/resources/job-codes.ts +56 -1
  209. package/src/resources/job-dimensions.ts +24 -0
  210. package/src/resources/job-requisitions-write.ts +327 -0
  211. package/src/resources/leave-accruals.ts +229 -12
  212. package/src/resources/report-runs.ts +186 -0
  213. package/src/resources/shared.ts +44 -0
  214. package/src/resources/shift-assignments.ts +362 -0
  215. package/src/resources/shiftassignments.ts +82 -11
  216. package/src/resources/supergroups/exclusion-members.ts +7 -4
  217. package/src/resources/supergroups/inclusion-members.ts +7 -4
  218. package/src/resources/supergroups/index.ts +1 -1
  219. package/src/resources/supergroups/members.ts +10 -36
  220. package/src/resources/supergroups/supergroups.ts +2 -7
  221. package/src/resources/titles.ts +181 -0
  222. package/src/resources/unassigned-shifts.ts +415 -0
  223. package/src/resources/unassignedshifts.ts +905 -35
  224. package/src/resources/work-locations.ts +118 -0
  225. package/src/version.ts +1 -1
  226. package/version.d.mts +1 -1
  227. package/version.d.ts +1 -1
  228. package/version.js +1 -1
  229. package/version.mjs +1 -1
package/src/client.ts CHANGED
@@ -50,6 +50,14 @@ import {
50
50
  Candidates,
51
51
  } from './resources/candidates';
52
52
  import { Companies, CompaniesPageCursorURL, Company, CompanyListParams } from './resources/companies';
53
+ import {
54
+ CompensationBandsDetailListParams,
55
+ CompensationBandsDetailListResponse,
56
+ CompensationBandsDetailListResponsesPageCursorURL,
57
+ CompensationBandsDetailRetrieveParams,
58
+ CompensationBandsDetailRetrieveResponse,
59
+ CompensationBandsDetails,
60
+ } from './resources/compensation-bands-details';
53
61
  import {
54
62
  Compensation,
55
63
  CompensationListParams,
@@ -64,11 +72,24 @@ import {
64
72
  CustomFieldListResponsesPageCursorURL,
65
73
  CustomFields,
66
74
  } from './resources/custom-fields';
75
+ import {
76
+ CustomSettingCreateParams,
77
+ CustomSettingCreateResponse,
78
+ CustomSettingListParams,
79
+ CustomSettingListResponse,
80
+ CustomSettingListResponsesPageCursorURL,
81
+ CustomSettingRetrieveResponse,
82
+ CustomSettingUpdateParams,
83
+ CustomSettingUpdateResponse,
84
+ CustomSettings,
85
+ } from './resources/custom-settings';
67
86
  import {
68
87
  Department,
88
+ DepartmentCreateParams,
69
89
  DepartmentListParams,
70
90
  DepartmentRetrieveParams,
71
91
  DepartmentRetrieveResponse,
92
+ DepartmentUpdateParams,
72
93
  Departments,
73
94
  DepartmentsPageCursorURL,
74
95
  } from './resources/departments';
@@ -104,10 +125,12 @@ import {
104
125
  AttributeChangeDetails,
105
126
  AttributeChangeDetailsPageCursorURL,
106
127
  JobAssignment,
128
+ JobAssignmentCreateParams,
107
129
  JobAssignmentListChangeLogParams,
108
130
  JobAssignmentListParams,
109
131
  JobAssignmentRetrieveParams,
110
132
  JobAssignmentRetrieveResponse,
133
+ JobAssignmentUpdateParams,
111
134
  JobAssignments,
112
135
  JobAssignmentsPageCursorURL,
113
136
  } from './resources/job-assignments';
@@ -155,6 +178,11 @@ import {
155
178
  JobRequisitions,
156
179
  JobRequisitionsPageCursorURL,
157
180
  } from './resources/job-requisitions';
181
+ import {
182
+ JobRequisitionsWrite,
183
+ JobRequisitionsWriteCreateParams,
184
+ JobRequisitionsWriteCreateResponse,
185
+ } from './resources/job-requisitions-write';
158
186
  import {
159
187
  KioskBadgeCreateParams,
160
188
  KioskBadgeCreateResponse,
@@ -171,6 +199,9 @@ import {
171
199
  import {
172
200
  LeaveAccrualCreateParams,
173
201
  LeaveAccrualCreateResponse,
202
+ LeaveAccrualListParams,
203
+ LeaveAccrualListResponse,
204
+ LeaveAccrualListResponsesPageCursorURL,
174
205
  LeaveAccrualRetrieveParams,
175
206
  LeaveAccrualRetrieveResponse,
176
207
  LeaveAccruals,
@@ -233,6 +264,12 @@ import {
233
264
  ObjectCategoryCreateParams,
234
265
  ObjectCategoryUpdateParams,
235
266
  } from './resources/object-categories';
267
+ import {
268
+ ReportRunCreateParams,
269
+ ReportRunCreateResponse,
270
+ ReportRunRetrieveResponse,
271
+ ReportRuns,
272
+ } from './resources/report-runs';
236
273
  import {
237
274
  ScheduleCreateParams,
238
275
  ScheduleCreateResponse,
@@ -245,6 +282,11 @@ import {
245
282
  ScheduleUpdateResponse,
246
283
  Schedules,
247
284
  } from './resources/schedules';
285
+ import {
286
+ ShiftAssignmentUpdateCustomfieldsParams,
287
+ ShiftAssignmentUpdateCustomfieldsResponse,
288
+ ShiftAssignments,
289
+ } from './resources/shift-assignments';
248
290
  import {
249
291
  ShiftInput,
250
292
  ShiftInputCreateParams,
@@ -301,6 +343,17 @@ import {
301
343
  TimeEntryUpdateParams,
302
344
  TimeEntryUpdateResponse,
303
345
  } from './resources/time-entries';
346
+ import {
347
+ TitleCreateParams,
348
+ TitleCreateResponse,
349
+ TitleListParams,
350
+ TitleListResponse,
351
+ TitleListResponsesPageCursorURL,
352
+ TitleRetrieveResponse,
353
+ TitleUpdateParams,
354
+ TitleUpdateResponse,
355
+ Titles,
356
+ } from './resources/titles';
304
357
  import {
305
358
  Track,
306
359
  TrackListParams,
@@ -309,18 +362,31 @@ import {
309
362
  TracksPageCursorURL,
310
363
  } from './resources/tracks';
311
364
  import {
365
+ UnassignedShiftAssignParams,
366
+ UnassignedShiftAssignResponse,
367
+ UnassignedShiftUpdateCustomfieldsParams,
368
+ UnassignedShiftUpdateCustomfieldsResponse,
369
+ UnassignedShifts,
370
+ } from './resources/unassigned-shifts';
371
+ import {
372
+ UnassignedshiftCreateParams,
373
+ UnassignedshiftCreateResponse,
312
374
  UnassignedshiftListParams,
313
375
  UnassignedshiftListResponse,
314
376
  UnassignedshiftListResponsesPageCursorURL,
315
377
  UnassignedshiftRetrieveParams,
316
378
  UnassignedshiftRetrieveResponse,
379
+ UnassignedshiftUpdateParams,
380
+ UnassignedshiftUpdateResponse,
317
381
  Unassignedshifts,
318
382
  } from './resources/unassignedshifts';
319
383
  import { User, UserListParams, UserRetrieveResponse, Users, UsersPageCursorURL } from './resources/users';
320
384
  import {
321
385
  WorkLocation,
386
+ WorkLocationCreateParams,
322
387
  WorkLocationListParams,
323
388
  WorkLocationRetrieveResponse,
389
+ WorkLocationUpdateParams,
324
390
  WorkLocations,
325
391
  WorkLocationsPageCursorURL,
326
392
  } from './resources/work-locations';
@@ -452,7 +518,7 @@ export class RipplingSDK {
452
518
  baseURL: string;
453
519
  maxRetries: number;
454
520
  timeout: number;
455
- logger: Logger | undefined;
521
+ logger: Logger;
456
522
  logLevel: LogLevel | undefined;
457
523
  fetchOptions: MergedRequestInit | undefined;
458
524
 
@@ -1104,17 +1170,24 @@ export class RipplingSDK {
1104
1170
  jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
1105
1171
  candidates: API.Candidates = new API.Candidates(this);
1106
1172
  candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
1173
+ compensationBandsDetails: API.CompensationBandsDetails = new API.CompensationBandsDetails(this);
1107
1174
  customFields: API.CustomFields = new API.CustomFields(this);
1175
+ customSettings: API.CustomSettings = new API.CustomSettings(this);
1108
1176
  draftHires: API.DraftHires = new API.DraftHires(this);
1109
1177
  entitlements: API.Entitlements = new API.Entitlements(this);
1110
1178
  headcountPositions: API.HeadcountPositions = new API.HeadcountPositions(this);
1111
1179
  headcountPriorities: API.HeadcountPriorities = new API.HeadcountPriorities(this);
1112
1180
  jobFunctions: API.JobFunctions = new API.JobFunctions(this);
1181
+ jobRequisitionsWrite: API.JobRequisitionsWrite = new API.JobRequisitionsWrite(this);
1113
1182
  leaveAccruals: API.LeaveAccruals = new API.LeaveAccruals(this);
1114
1183
  locationFactors: API.LocationFactors = new API.LocationFactors(this);
1184
+ reportRuns: API.ReportRuns = new API.ReportRuns(this);
1115
1185
  schedules: API.Schedules = new API.Schedules(this);
1116
1186
  shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
1187
+ titles: API.Titles = new API.Titles(this);
1117
1188
  unassignedshifts: API.Unassignedshifts = new API.Unassignedshifts(this);
1189
+ shiftAssignments: API.ShiftAssignments = new API.ShiftAssignments(this);
1190
+ unassignedShifts: API.UnassignedShifts = new API.UnassignedShifts(this);
1118
1191
  }
1119
1192
 
1120
1193
  RipplingSDK.Companies = Companies;
@@ -1149,17 +1222,24 @@ RipplingSDK.JobAssignments = JobAssignments;
1149
1222
  RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
1150
1223
  RipplingSDK.Candidates = Candidates;
1151
1224
  RipplingSDK.CandidateApplications = CandidateApplications;
1225
+ RipplingSDK.CompensationBandsDetails = CompensationBandsDetails;
1152
1226
  RipplingSDK.CustomFields = CustomFields;
1227
+ RipplingSDK.CustomSettings = CustomSettings;
1153
1228
  RipplingSDK.DraftHires = DraftHires;
1154
1229
  RipplingSDK.Entitlements = Entitlements;
1155
1230
  RipplingSDK.HeadcountPositions = HeadcountPositions;
1156
1231
  RipplingSDK.HeadcountPriorities = HeadcountPriorities;
1157
1232
  RipplingSDK.JobFunctions = JobFunctions;
1233
+ RipplingSDK.JobRequisitionsWrite = JobRequisitionsWrite;
1158
1234
  RipplingSDK.LeaveAccruals = LeaveAccruals;
1159
1235
  RipplingSDK.LocationFactors = LocationFactors;
1236
+ RipplingSDK.ReportRuns = ReportRuns;
1160
1237
  RipplingSDK.Schedules = Schedules;
1161
1238
  RipplingSDK.Shiftassignments = Shiftassignments;
1239
+ RipplingSDK.Titles = Titles;
1162
1240
  RipplingSDK.Unassignedshifts = Unassignedshifts;
1241
+ RipplingSDK.ShiftAssignments = ShiftAssignments;
1242
+ RipplingSDK.UnassignedShifts = UnassignedShifts;
1163
1243
 
1164
1244
  export declare namespace RipplingSDK {
1165
1245
  export type RequestOptions = Opts.RequestOptions;
@@ -1197,7 +1277,9 @@ export declare namespace RipplingSDK {
1197
1277
  type DepartmentRetrieveResponse as DepartmentRetrieveResponse,
1198
1278
  type DepartmentsPageCursorURL as DepartmentsPageCursorURL,
1199
1279
  type DepartmentListParams as DepartmentListParams,
1280
+ type DepartmentCreateParams as DepartmentCreateParams,
1200
1281
  type DepartmentRetrieveParams as DepartmentRetrieveParams,
1282
+ type DepartmentUpdateParams as DepartmentUpdateParams,
1201
1283
  };
1202
1284
 
1203
1285
  export {
@@ -1393,6 +1475,8 @@ export declare namespace RipplingSDK {
1393
1475
  type WorkLocationRetrieveResponse as WorkLocationRetrieveResponse,
1394
1476
  type WorkLocationsPageCursorURL as WorkLocationsPageCursorURL,
1395
1477
  type WorkLocationListParams as WorkLocationListParams,
1478
+ type WorkLocationCreateParams as WorkLocationCreateParams,
1479
+ type WorkLocationUpdateParams as WorkLocationUpdateParams,
1396
1480
  };
1397
1481
 
1398
1482
  export {
@@ -1443,7 +1527,9 @@ export declare namespace RipplingSDK {
1443
1527
  type JobAssignmentsPageCursorURL as JobAssignmentsPageCursorURL,
1444
1528
  type AttributeChangeDetailsPageCursorURL as AttributeChangeDetailsPageCursorURL,
1445
1529
  type JobAssignmentListParams as JobAssignmentListParams,
1530
+ type JobAssignmentCreateParams as JobAssignmentCreateParams,
1446
1531
  type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
1532
+ type JobAssignmentUpdateParams as JobAssignmentUpdateParams,
1447
1533
  type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
1448
1534
  };
1449
1535
 
@@ -1471,6 +1557,15 @@ export declare namespace RipplingSDK {
1471
1557
  type CandidateApplicationListParams as CandidateApplicationListParams,
1472
1558
  };
1473
1559
 
1560
+ export {
1561
+ CompensationBandsDetails as CompensationBandsDetails,
1562
+ type CompensationBandsDetailListResponse as CompensationBandsDetailListResponse,
1563
+ type CompensationBandsDetailRetrieveResponse as CompensationBandsDetailRetrieveResponse,
1564
+ type CompensationBandsDetailListResponsesPageCursorURL as CompensationBandsDetailListResponsesPageCursorURL,
1565
+ type CompensationBandsDetailListParams as CompensationBandsDetailListParams,
1566
+ type CompensationBandsDetailRetrieveParams as CompensationBandsDetailRetrieveParams,
1567
+ };
1568
+
1474
1569
  export {
1475
1570
  CustomFields as CustomFields,
1476
1571
  type CustomFieldListResponse as CustomFieldListResponse,
@@ -1478,6 +1573,18 @@ export declare namespace RipplingSDK {
1478
1573
  type CustomFieldListParams as CustomFieldListParams,
1479
1574
  };
1480
1575
 
1576
+ export {
1577
+ CustomSettings as CustomSettings,
1578
+ type CustomSettingListResponse as CustomSettingListResponse,
1579
+ type CustomSettingCreateResponse as CustomSettingCreateResponse,
1580
+ type CustomSettingRetrieveResponse as CustomSettingRetrieveResponse,
1581
+ type CustomSettingUpdateResponse as CustomSettingUpdateResponse,
1582
+ type CustomSettingListResponsesPageCursorURL as CustomSettingListResponsesPageCursorURL,
1583
+ type CustomSettingListParams as CustomSettingListParams,
1584
+ type CustomSettingCreateParams as CustomSettingCreateParams,
1585
+ type CustomSettingUpdateParams as CustomSettingUpdateParams,
1586
+ };
1587
+
1481
1588
  export {
1482
1589
  DraftHires as DraftHires,
1483
1590
  type DraftHireCreateResponse as DraftHireCreateResponse,
@@ -1515,12 +1622,21 @@ export declare namespace RipplingSDK {
1515
1622
  type JobFunctionListParams as JobFunctionListParams,
1516
1623
  };
1517
1624
 
1625
+ export {
1626
+ JobRequisitionsWrite as JobRequisitionsWrite,
1627
+ type JobRequisitionsWriteCreateResponse as JobRequisitionsWriteCreateResponse,
1628
+ type JobRequisitionsWriteCreateParams as JobRequisitionsWriteCreateParams,
1629
+ };
1630
+
1518
1631
  export {
1519
1632
  LeaveAccruals as LeaveAccruals,
1520
- type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
1633
+ type LeaveAccrualListResponse as LeaveAccrualListResponse,
1521
1634
  type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
1522
- type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
1635
+ type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
1636
+ type LeaveAccrualListResponsesPageCursorURL as LeaveAccrualListResponsesPageCursorURL,
1637
+ type LeaveAccrualListParams as LeaveAccrualListParams,
1523
1638
  type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
1639
+ type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
1524
1640
  };
1525
1641
 
1526
1642
  export {
@@ -1531,6 +1647,13 @@ export declare namespace RipplingSDK {
1531
1647
  type LocationFactorListParams as LocationFactorListParams,
1532
1648
  };
1533
1649
 
1650
+ export {
1651
+ ReportRuns as ReportRuns,
1652
+ type ReportRunCreateResponse as ReportRunCreateResponse,
1653
+ type ReportRunRetrieveResponse as ReportRunRetrieveResponse,
1654
+ type ReportRunCreateParams as ReportRunCreateParams,
1655
+ };
1656
+
1534
1657
  export {
1535
1658
  Schedules as Schedules,
1536
1659
  type ScheduleListResponse as ScheduleListResponse,
@@ -1557,16 +1680,47 @@ export declare namespace RipplingSDK {
1557
1680
  type ShiftassignmentUpdateParams as ShiftassignmentUpdateParams,
1558
1681
  };
1559
1682
 
1683
+ export {
1684
+ Titles as Titles,
1685
+ type TitleListResponse as TitleListResponse,
1686
+ type TitleCreateResponse as TitleCreateResponse,
1687
+ type TitleRetrieveResponse as TitleRetrieveResponse,
1688
+ type TitleUpdateResponse as TitleUpdateResponse,
1689
+ type TitleListResponsesPageCursorURL as TitleListResponsesPageCursorURL,
1690
+ type TitleListParams as TitleListParams,
1691
+ type TitleCreateParams as TitleCreateParams,
1692
+ type TitleUpdateParams as TitleUpdateParams,
1693
+ };
1694
+
1560
1695
  export {
1561
1696
  Unassignedshifts as Unassignedshifts,
1562
1697
  type UnassignedshiftListResponse as UnassignedshiftListResponse,
1698
+ type UnassignedshiftCreateResponse as UnassignedshiftCreateResponse,
1563
1699
  type UnassignedshiftRetrieveResponse as UnassignedshiftRetrieveResponse,
1700
+ type UnassignedshiftUpdateResponse as UnassignedshiftUpdateResponse,
1564
1701
  type UnassignedshiftListResponsesPageCursorURL as UnassignedshiftListResponsesPageCursorURL,
1565
1702
  type UnassignedshiftListParams as UnassignedshiftListParams,
1703
+ type UnassignedshiftCreateParams as UnassignedshiftCreateParams,
1566
1704
  type UnassignedshiftRetrieveParams as UnassignedshiftRetrieveParams,
1705
+ type UnassignedshiftUpdateParams as UnassignedshiftUpdateParams,
1706
+ };
1707
+
1708
+ export {
1709
+ ShiftAssignments as ShiftAssignments,
1710
+ type ShiftAssignmentUpdateCustomfieldsResponse as ShiftAssignmentUpdateCustomfieldsResponse,
1711
+ type ShiftAssignmentUpdateCustomfieldsParams as ShiftAssignmentUpdateCustomfieldsParams,
1712
+ };
1713
+
1714
+ export {
1715
+ UnassignedShifts as UnassignedShifts,
1716
+ type UnassignedShiftUpdateCustomfieldsResponse as UnassignedShiftUpdateCustomfieldsResponse,
1717
+ type UnassignedShiftAssignResponse as UnassignedShiftAssignResponse,
1718
+ type UnassignedShiftUpdateCustomfieldsParams as UnassignedShiftUpdateCustomfieldsParams,
1719
+ type UnassignedShiftAssignParams as UnassignedShiftAssignParams,
1567
1720
  };
1568
1721
 
1569
1722
  export type Address = API.Address;
1570
1723
  export type CountryCode = API.CountryCode;
1724
+ export type GroupMember = API.GroupMember;
1571
1725
  export type RedactedFields = API.RedactedFields;
1572
1726
  }
package/src/functions.ts CHANGED
@@ -24,6 +24,12 @@ export class FunctionResponse {
24
24
 
25
25
  export type FunctionEvent = Record<string, any>;
26
26
  export interface FunctionContext {
27
+ env: {
28
+ // Set to the Rippling user's bearer token when the function is triggered by a user.
29
+ // Prefer using this token when available; otherwise, fall back to the Settings Manager
30
+ // or a hard-coded token if necessary.
31
+ rippling_user_bearer_token: string | undefined;
32
+ };
27
33
  function: {
28
34
  company_id: string;
29
35
  function_id: string;
@@ -112,3 +118,17 @@ export interface DataBridgeRequest {
112
118
  connectionId: string;
113
119
  };
114
120
  }
121
+
122
+ export class DataBridgeRateLimitError extends Error {
123
+ waitTimeInSeconds: number;
124
+ constructor(message: string, waitTimeInSeconds: number) {
125
+ const jsonMessage = JSON.stringify({
126
+ message,
127
+ waitTimeInSeconds,
128
+ });
129
+
130
+ super(jsonMessage);
131
+ this.name = 'RateLimitError';
132
+ this.waitTimeInSeconds = waitTimeInSeconds;
133
+ }
134
+ }
@@ -0,0 +1,140 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import * as BusinessPartnersAPI from './business-partners';
5
+ import * as WorkersAPI from './workers';
6
+ import { APIPromise } from '../core/api-promise';
7
+ import { PageCursorURL, PagePromise } from '../core/pagination';
8
+ import { RequestOptions } from '../internal/request-options';
9
+ import { path } from '../internal/utils/path';
10
+
11
+ export class CompensationBandsDetails extends APIResource {
12
+ /**
13
+ * A List of compensation bands details
14
+ *
15
+ * - Requires: `API Tier 2`
16
+ * - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
17
+ * `worker_id`
18
+ * - Expandable fields: `worker`
19
+ * - Sortable fields: `id`, `created_at`, `updated_at`
20
+ */
21
+ list(
22
+ query: CompensationBandsDetailListParams | null | undefined = {},
23
+ options?: RequestOptions,
24
+ ): PagePromise<CompensationBandsDetailListResponsesPageCursorURL, CompensationBandsDetailListResponse> {
25
+ return this._client.getAPIList(
26
+ '/compensation-bands-details',
27
+ PageCursorURL<CompensationBandsDetailListResponse>,
28
+ { query, ...options },
29
+ );
30
+ }
31
+
32
+ /**
33
+ * Retrieve a specific compensation bands detail
34
+ */
35
+ retrieve(
36
+ id: string,
37
+ query: CompensationBandsDetailRetrieveParams | null | undefined = {},
38
+ options?: RequestOptions,
39
+ ): APIPromise<CompensationBandsDetailRetrieveResponse> {
40
+ return this._client.get(path`/compensation-bands-details/${id}`, { query, ...options });
41
+ }
42
+ }
43
+
44
+ export type CompensationBandsDetailListResponsesPageCursorURL =
45
+ PageCursorURL<CompensationBandsDetailListResponse>;
46
+
47
+ export interface CompensationBandsDetailListResponse {
48
+ /**
49
+ * Identifier field
50
+ */
51
+ id: string;
52
+
53
+ /**
54
+ * Record creation date
55
+ */
56
+ created_at: string;
57
+
58
+ /**
59
+ * Record update date
60
+ */
61
+ updated_at: string;
62
+
63
+ /**
64
+ * Internal job code
65
+ */
66
+ internal_job_code?: string;
67
+
68
+ /**
69
+ * The worker associated with compensation bands
70
+ *
71
+ * Expandable field
72
+ */
73
+ worker?: WorkersAPI.Worker;
74
+
75
+ /**
76
+ * ID of the worker associated with compensation bands
77
+ */
78
+ worker_id?: string;
79
+ }
80
+
81
+ /**
82
+ * Meta information for the response.
83
+ */
84
+ export interface CompensationBandsDetailRetrieveResponse extends BusinessPartnersAPI.Meta {
85
+ /**
86
+ * Identifier field
87
+ */
88
+ id: string;
89
+
90
+ /**
91
+ * Record creation date
92
+ */
93
+ created_at: string;
94
+
95
+ /**
96
+ * Record update date
97
+ */
98
+ updated_at: string;
99
+
100
+ /**
101
+ * Internal job code
102
+ */
103
+ internal_job_code?: string;
104
+
105
+ /**
106
+ * The worker associated with compensation bands
107
+ *
108
+ * Expandable field
109
+ */
110
+ worker?: WorkersAPI.Worker;
111
+
112
+ /**
113
+ * ID of the worker associated with compensation bands
114
+ */
115
+ worker_id?: string;
116
+ }
117
+
118
+ export interface CompensationBandsDetailListParams {
119
+ cursor?: string;
120
+
121
+ expand?: string;
122
+
123
+ filter?: string;
124
+
125
+ order_by?: string;
126
+ }
127
+
128
+ export interface CompensationBandsDetailRetrieveParams {
129
+ expand?: string;
130
+ }
131
+
132
+ export declare namespace CompensationBandsDetails {
133
+ export {
134
+ type CompensationBandsDetailListResponse as CompensationBandsDetailListResponse,
135
+ type CompensationBandsDetailRetrieveResponse as CompensationBandsDetailRetrieveResponse,
136
+ type CompensationBandsDetailListResponsesPageCursorURL as CompensationBandsDetailListResponsesPageCursorURL,
137
+ type CompensationBandsDetailListParams as CompensationBandsDetailListParams,
138
+ type CompensationBandsDetailRetrieveParams as CompensationBandsDetailRetrieveParams,
139
+ };
140
+ }