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

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 (226) hide show
  1. package/client.d.mts +7 -4
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +7 -4
  4. package/client.d.ts.map +1 -1
  5. package/client.js +4 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +4 -0
  8. package/client.mjs.map +1 -1
  9. package/internal/to-file.d.mts +1 -1
  10. package/internal/to-file.d.ts +1 -1
  11. package/internal/to-file.js +1 -1
  12. package/internal/to-file.mjs +1 -1
  13. package/package.json +1 -1
  14. package/resources/business-partner-groups.d.mts +1 -0
  15. package/resources/business-partner-groups.d.mts.map +1 -1
  16. package/resources/business-partner-groups.d.ts +1 -0
  17. package/resources/business-partner-groups.d.ts.map +1 -1
  18. package/resources/business-partners.d.mts +1 -0
  19. package/resources/business-partners.d.mts.map +1 -1
  20. package/resources/business-partners.d.ts +1 -0
  21. package/resources/business-partners.d.ts.map +1 -1
  22. package/resources/candidate-applications.d.mts +1 -0
  23. package/resources/candidate-applications.d.mts.map +1 -1
  24. package/resources/candidate-applications.d.ts +1 -0
  25. package/resources/candidate-applications.d.ts.map +1 -1
  26. package/resources/candidates.d.mts +1 -0
  27. package/resources/candidates.d.mts.map +1 -1
  28. package/resources/candidates.d.ts +1 -0
  29. package/resources/candidates.d.ts.map +1 -1
  30. package/resources/companies.d.mts +1 -0
  31. package/resources/companies.d.mts.map +1 -1
  32. package/resources/companies.d.ts +1 -0
  33. package/resources/companies.d.ts.map +1 -1
  34. package/resources/compensations.d.mts +1 -0
  35. package/resources/compensations.d.mts.map +1 -1
  36. package/resources/compensations.d.ts +1 -0
  37. package/resources/compensations.d.ts.map +1 -1
  38. package/resources/custom-fields.d.mts +1 -0
  39. package/resources/custom-fields.d.mts.map +1 -1
  40. package/resources/custom-fields.d.ts +1 -0
  41. package/resources/custom-fields.d.ts.map +1 -1
  42. package/resources/departments.d.mts +1 -0
  43. package/resources/departments.d.mts.map +1 -1
  44. package/resources/departments.d.ts +1 -0
  45. package/resources/departments.d.ts.map +1 -1
  46. package/resources/draft-hires.d.mts +4 -16
  47. package/resources/draft-hires.d.mts.map +1 -1
  48. package/resources/draft-hires.d.ts +4 -16
  49. package/resources/draft-hires.d.ts.map +1 -1
  50. package/resources/employment-types.d.mts +1 -0
  51. package/resources/employment-types.d.mts.map +1 -1
  52. package/resources/employment-types.d.ts +1 -0
  53. package/resources/employment-types.d.ts.map +1 -1
  54. package/resources/headcount-positions.d.mts +1 -0
  55. package/resources/headcount-positions.d.mts.map +1 -1
  56. package/resources/headcount-positions.d.ts +1 -0
  57. package/resources/headcount-positions.d.ts.map +1 -1
  58. package/resources/headcount-priorities.d.mts +1 -0
  59. package/resources/headcount-priorities.d.mts.map +1 -1
  60. package/resources/headcount-priorities.d.ts +1 -0
  61. package/resources/headcount-priorities.d.ts.map +1 -1
  62. package/resources/index.d.mts +3 -2
  63. package/resources/index.d.mts.map +1 -1
  64. package/resources/index.d.ts +3 -2
  65. package/resources/index.d.ts.map +1 -1
  66. package/resources/index.js +3 -1
  67. package/resources/index.js.map +1 -1
  68. package/resources/index.mjs +1 -0
  69. package/resources/index.mjs.map +1 -1
  70. package/resources/job-assignments.d.mts +2 -0
  71. package/resources/job-assignments.d.mts.map +1 -1
  72. package/resources/job-assignments.d.ts +2 -0
  73. package/resources/job-assignments.d.ts.map +1 -1
  74. package/resources/job-codes.d.mts +2 -0
  75. package/resources/job-codes.d.mts.map +1 -1
  76. package/resources/job-codes.d.ts +2 -0
  77. package/resources/job-codes.d.ts.map +1 -1
  78. package/resources/job-dimensions.d.mts +1 -0
  79. package/resources/job-dimensions.d.mts.map +1 -1
  80. package/resources/job-dimensions.d.ts +1 -0
  81. package/resources/job-dimensions.d.ts.map +1 -1
  82. package/resources/job-functions.d.mts +1 -0
  83. package/resources/job-functions.d.mts.map +1 -1
  84. package/resources/job-functions.d.ts +1 -0
  85. package/resources/job-functions.d.ts.map +1 -1
  86. package/resources/job-pay-rate-exceptions.d.mts +2 -0
  87. package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
  88. package/resources/job-pay-rate-exceptions.d.ts +2 -0
  89. package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
  90. package/resources/job-requisitions.d.mts +1 -0
  91. package/resources/job-requisitions.d.mts.map +1 -1
  92. package/resources/job-requisitions.d.ts +1 -0
  93. package/resources/job-requisitions.d.ts.map +1 -1
  94. package/resources/kiosk-badges.d.mts +1 -0
  95. package/resources/kiosk-badges.d.mts.map +1 -1
  96. package/resources/kiosk-badges.d.ts +1 -0
  97. package/resources/kiosk-badges.d.ts.map +1 -1
  98. package/resources/leave-balances.d.mts +1 -0
  99. package/resources/leave-balances.d.mts.map +1 -1
  100. package/resources/leave-balances.d.ts +1 -0
  101. package/resources/leave-balances.d.ts.map +1 -1
  102. package/resources/leave-requests.d.mts +1 -0
  103. package/resources/leave-requests.d.mts.map +1 -1
  104. package/resources/leave-requests.d.ts +1 -0
  105. package/resources/leave-requests.d.ts.map +1 -1
  106. package/resources/leave-types.d.mts +1 -0
  107. package/resources/leave-types.d.mts.map +1 -1
  108. package/resources/leave-types.d.ts +1 -0
  109. package/resources/leave-types.d.ts.map +1 -1
  110. package/resources/legal-entities.d.mts +1 -0
  111. package/resources/legal-entities.d.mts.map +1 -1
  112. package/resources/legal-entities.d.ts +1 -0
  113. package/resources/legal-entities.d.ts.map +1 -1
  114. package/resources/levels.d.mts +1 -0
  115. package/resources/levels.d.mts.map +1 -1
  116. package/resources/levels.d.ts +1 -0
  117. package/resources/levels.d.ts.map +1 -1
  118. package/resources/location-factors.d.mts +1 -0
  119. package/resources/location-factors.d.mts.map +1 -1
  120. package/resources/location-factors.d.ts +1 -0
  121. package/resources/location-factors.d.ts.map +1 -1
  122. package/resources/schedules.d.mts +252 -1
  123. package/resources/schedules.d.mts.map +1 -1
  124. package/resources/schedules.d.ts +252 -1
  125. package/resources/schedules.d.ts.map +1 -1
  126. package/resources/schedules.js +12 -0
  127. package/resources/schedules.js.map +1 -1
  128. package/resources/schedules.mjs +12 -0
  129. package/resources/schedules.mjs.map +1 -1
  130. package/resources/shift-inputs.d.mts +1 -0
  131. package/resources/shift-inputs.d.mts.map +1 -1
  132. package/resources/shift-inputs.d.ts +1 -0
  133. package/resources/shift-inputs.d.ts.map +1 -1
  134. package/resources/shiftassignments.d.mts +874 -153
  135. package/resources/shiftassignments.d.mts.map +1 -1
  136. package/resources/shiftassignments.d.ts +874 -153
  137. package/resources/shiftassignments.d.ts.map +1 -1
  138. package/resources/shiftassignments.js +12 -0
  139. package/resources/shiftassignments.js.map +1 -1
  140. package/resources/shiftassignments.mjs +12 -0
  141. package/resources/shiftassignments.mjs.map +1 -1
  142. package/resources/sso-me.d.mts +1 -0
  143. package/resources/sso-me.d.mts.map +1 -1
  144. package/resources/sso-me.d.ts +1 -0
  145. package/resources/sso-me.d.ts.map +1 -1
  146. package/resources/teams.d.mts +1 -0
  147. package/resources/teams.d.mts.map +1 -1
  148. package/resources/teams.d.ts +1 -0
  149. package/resources/teams.d.ts.map +1 -1
  150. package/resources/time-cards.d.mts +1 -0
  151. package/resources/time-cards.d.mts.map +1 -1
  152. package/resources/time-cards.d.ts +1 -0
  153. package/resources/time-cards.d.ts.map +1 -1
  154. package/resources/time-entries.d.mts +1 -0
  155. package/resources/time-entries.d.mts.map +1 -1
  156. package/resources/time-entries.d.ts +1 -0
  157. package/resources/time-entries.d.ts.map +1 -1
  158. package/resources/tracks.d.mts +1 -0
  159. package/resources/tracks.d.mts.map +1 -1
  160. package/resources/tracks.d.ts +1 -0
  161. package/resources/tracks.d.ts.map +1 -1
  162. package/resources/unassignedshifts.d.mts +535 -0
  163. package/resources/unassignedshifts.d.mts.map +1 -0
  164. package/resources/unassignedshifts.d.ts +535 -0
  165. package/resources/unassignedshifts.d.ts.map +1 -0
  166. package/resources/unassignedshifts.js +32 -0
  167. package/resources/unassignedshifts.js.map +1 -0
  168. package/resources/unassignedshifts.mjs +28 -0
  169. package/resources/unassignedshifts.mjs.map +1 -0
  170. package/resources/users.d.mts +1 -0
  171. package/resources/users.d.mts.map +1 -1
  172. package/resources/users.d.ts +1 -0
  173. package/resources/users.d.ts.map +1 -1
  174. package/resources/work-locations.d.mts +1 -0
  175. package/resources/work-locations.d.mts.map +1 -1
  176. package/resources/work-locations.d.ts +1 -0
  177. package/resources/work-locations.d.ts.map +1 -1
  178. package/resources/workers.d.mts +2 -1
  179. package/resources/workers.d.mts.map +1 -1
  180. package/resources/workers.d.ts +2 -1
  181. package/resources/workers.d.ts.map +1 -1
  182. package/src/client.ts +36 -0
  183. package/src/internal/to-file.ts +1 -1
  184. package/src/resources/business-partner-groups.ts +2 -0
  185. package/src/resources/business-partners.ts +2 -0
  186. package/src/resources/candidate-applications.ts +2 -0
  187. package/src/resources/candidates.ts +2 -0
  188. package/src/resources/companies.ts +2 -0
  189. package/src/resources/compensations.ts +2 -0
  190. package/src/resources/custom-fields.ts +2 -0
  191. package/src/resources/departments.ts +2 -0
  192. package/src/resources/draft-hires.ts +5 -20
  193. package/src/resources/employment-types.ts +2 -0
  194. package/src/resources/headcount-positions.ts +2 -0
  195. package/src/resources/headcount-priorities.ts +2 -0
  196. package/src/resources/index.ts +16 -0
  197. package/src/resources/job-assignments.ts +4 -0
  198. package/src/resources/job-codes.ts +4 -0
  199. package/src/resources/job-dimensions.ts +2 -0
  200. package/src/resources/job-functions.ts +2 -0
  201. package/src/resources/job-pay-rate-exceptions.ts +4 -0
  202. package/src/resources/job-requisitions.ts +2 -0
  203. package/src/resources/kiosk-badges.ts +2 -0
  204. package/src/resources/leave-balances.ts +2 -0
  205. package/src/resources/leave-requests.ts +2 -0
  206. package/src/resources/leave-types.ts +2 -0
  207. package/src/resources/legal-entities.ts +2 -0
  208. package/src/resources/levels.ts +2 -0
  209. package/src/resources/location-factors.ts +2 -0
  210. package/src/resources/schedules.ts +311 -0
  211. package/src/resources/shift-inputs.ts +2 -0
  212. package/src/resources/shiftassignments.ts +1037 -162
  213. package/src/resources/sso-me.ts +2 -0
  214. package/src/resources/teams.ts +2 -0
  215. package/src/resources/time-cards.ts +2 -0
  216. package/src/resources/time-entries.ts +2 -0
  217. package/src/resources/tracks.ts +2 -0
  218. package/src/resources/unassignedshifts.ts +664 -0
  219. package/src/resources/users.ts +2 -0
  220. package/src/resources/work-locations.ts +2 -0
  221. package/src/resources/workers.ts +3 -0
  222. package/src/version.ts +1 -1
  223. package/version.d.mts +1 -1
  224. package/version.d.ts +1 -1
  225. package/version.js +1 -1
  226. package/version.mjs +1 -1
@@ -0,0 +1,535 @@
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
+ export declare class Unassignedshifts extends APIResource {
8
+ /**
9
+ * A List of unassigned shifts
10
+ *
11
+ * - Requires: `API Tier 2`
12
+ * - Filterable fields: `schedule_id`, `shift_data.start_time`,
13
+ * `shift_data.end_time`
14
+ * - Expandable fields: `schedule`
15
+ * - Sortable fields: `id`, `created_at`, `updated_at`
16
+ */
17
+ list(query?: UnassignedshiftListParams | null | undefined, options?: RequestOptions): PagePromise<UnassignedshiftListResponsesPageCursorURL, UnassignedshiftListResponse>;
18
+ /**
19
+ * Retrieve a specific unassigned shift
20
+ */
21
+ retrieve(id: string, query?: UnassignedshiftRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<UnassignedshiftRetrieveResponse>;
22
+ }
23
+ export type UnassignedshiftListResponsesPageCursorURL = PageCursorURL<UnassignedshiftListResponse>;
24
+ export interface UnassignedshiftListResponse {
25
+ /**
26
+ * Identifier field
27
+ */
28
+ id: string;
29
+ /**
30
+ * The number of assigned shifts
31
+ */
32
+ assigned_count: number;
33
+ /**
34
+ * Record creation date
35
+ */
36
+ created_at: string;
37
+ /**
38
+ * Whether the shift is open or empty
39
+ */
40
+ is_open: boolean;
41
+ /**
42
+ * Whether the shift is published
43
+ */
44
+ is_published: boolean;
45
+ /**
46
+ * The ID of the schedule
47
+ */
48
+ schedule_id: string;
49
+ /**
50
+ * The data of the shift
51
+ */
52
+ shift_data: UnassignedshiftListResponse.ShiftData;
53
+ /**
54
+ * The target count of the shift
55
+ */
56
+ target_count: number;
57
+ /**
58
+ * Record update date
59
+ */
60
+ updated_at: string;
61
+ /**
62
+ * The IDs of the assigned shifts that are part of this unassigned shift
63
+ */
64
+ assigned_shift_ids?: Array<string>;
65
+ /**
66
+ * The published version of the shift
67
+ */
68
+ published_version?: UnassignedshiftListResponse.PublishedVersion;
69
+ /**
70
+ * The schedule
71
+ *
72
+ * Expandable field
73
+ */
74
+ schedule?: UnassignedshiftListResponse.Schedule;
75
+ }
76
+ export declare namespace UnassignedshiftListResponse {
77
+ /**
78
+ * The data of the shift
79
+ */
80
+ interface ShiftData {
81
+ /**
82
+ * The end time of the shift
83
+ */
84
+ end_time: string;
85
+ /**
86
+ * The start time of the shift
87
+ */
88
+ start_time: string;
89
+ /**
90
+ * The breaks of the shift
91
+ */
92
+ shift_breaks?: Array<ShiftData.ShiftBreak>;
93
+ /**
94
+ * The segments of the shift
95
+ */
96
+ shift_segments?: Array<ShiftData.ShiftSegment>;
97
+ }
98
+ namespace ShiftData {
99
+ interface ShiftBreak {
100
+ /**
101
+ * The duration of the shift break in minutes (input only for creation)
102
+ */
103
+ duration_minutes: number;
104
+ /**
105
+ * The start time of the shift break
106
+ */
107
+ start_time: string;
108
+ /**
109
+ * The type of the shift break
110
+ */
111
+ type: 'MEAL' | 'REST';
112
+ /**
113
+ * The end time of the shift break (calculated from start_time + duration_minutes)
114
+ */
115
+ end_time?: string;
116
+ }
117
+ interface ShiftSegment {
118
+ /**
119
+ * The duration of the shift segment in minutes (input only for creation)
120
+ */
121
+ duration_minutes: number;
122
+ /**
123
+ * The start time of the shift segment
124
+ */
125
+ start_time: string;
126
+ /**
127
+ * The end time of the shift segment (calculated from start_time +
128
+ * duration_minutes)
129
+ */
130
+ end_time?: string;
131
+ /**
132
+ * The IDs of the job codes associated with the shift segment
133
+ */
134
+ job_codes_id?: Array<string>;
135
+ }
136
+ }
137
+ /**
138
+ * The published version of the shift
139
+ */
140
+ interface PublishedVersion {
141
+ /**
142
+ * The end time of the shift
143
+ */
144
+ end_time: string;
145
+ /**
146
+ * The start time of the shift
147
+ */
148
+ start_time: string;
149
+ /**
150
+ * The breaks of the shift
151
+ */
152
+ shift_breaks?: Array<PublishedVersion.ShiftBreak>;
153
+ /**
154
+ * The segments of the shift
155
+ */
156
+ shift_segments?: Array<PublishedVersion.ShiftSegment>;
157
+ }
158
+ namespace PublishedVersion {
159
+ interface ShiftBreak {
160
+ /**
161
+ * The duration of the shift break in minutes (input only for creation)
162
+ */
163
+ duration_minutes: number;
164
+ /**
165
+ * The start time of the shift break
166
+ */
167
+ start_time: string;
168
+ /**
169
+ * The type of the shift break
170
+ */
171
+ type: 'MEAL' | 'REST';
172
+ /**
173
+ * The end time of the shift break (calculated from start_time + duration_minutes)
174
+ */
175
+ end_time?: string;
176
+ }
177
+ interface ShiftSegment {
178
+ /**
179
+ * The duration of the shift segment in minutes (input only for creation)
180
+ */
181
+ duration_minutes: number;
182
+ /**
183
+ * The start time of the shift segment
184
+ */
185
+ start_time: string;
186
+ /**
187
+ * The end time of the shift segment (calculated from start_time +
188
+ * duration_minutes)
189
+ */
190
+ end_time?: string;
191
+ /**
192
+ * The IDs of the job codes associated with the shift segment
193
+ */
194
+ job_codes_id?: Array<string>;
195
+ }
196
+ }
197
+ /**
198
+ * The schedule
199
+ *
200
+ * Expandable field
201
+ */
202
+ interface Schedule {
203
+ /**
204
+ * Identifier field
205
+ */
206
+ id: string;
207
+ /**
208
+ * Record creation date
209
+ */
210
+ created_at: string;
211
+ /**
212
+ * Record update date
213
+ */
214
+ updated_at: string;
215
+ /**
216
+ * Whether the requesting role can edit the schedule.
217
+ */
218
+ can_edit?: boolean;
219
+ /**
220
+ * The managers of the schedule.
221
+ *
222
+ * Expandable field
223
+ */
224
+ managers?: Array<WorkersAPI.Worker>;
225
+ /**
226
+ * The IDs of the managers of the schedule.
227
+ */
228
+ managers_id?: Array<string>;
229
+ /**
230
+ * The members of the schedule.
231
+ *
232
+ * Expandable field
233
+ */
234
+ members?: Array<WorkersAPI.Worker>;
235
+ /**
236
+ * The IDs of the members of the schedule.
237
+ */
238
+ members_id?: Array<string>;
239
+ /**
240
+ * The name of the schedule.
241
+ */
242
+ name?: string;
243
+ /**
244
+ * The observers of the schedule.
245
+ *
246
+ * Expandable field
247
+ */
248
+ observers?: Array<WorkersAPI.Worker>;
249
+ /**
250
+ * The IDs of the observers of the schedule.
251
+ */
252
+ observers_id?: Array<string>;
253
+ /**
254
+ * The settings of the schedule.
255
+ */
256
+ settings?: Schedule.Settings;
257
+ }
258
+ namespace Schedule {
259
+ /**
260
+ * The settings of the schedule.
261
+ */
262
+ interface Settings {
263
+ /**
264
+ * The IANA timezone identifier for the schedule (e.g., 'America/New_York').
265
+ * Accepted values are defined by the tz database, listed here:
266
+ * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
267
+ */
268
+ timezone?: string;
269
+ }
270
+ }
271
+ }
272
+ /**
273
+ * Meta information for the response.
274
+ */
275
+ export interface UnassignedshiftRetrieveResponse extends BusinessPartnersAPI.Meta {
276
+ /**
277
+ * Identifier field
278
+ */
279
+ id: string;
280
+ /**
281
+ * The number of assigned shifts
282
+ */
283
+ assigned_count: number;
284
+ /**
285
+ * Record creation date
286
+ */
287
+ created_at: string;
288
+ /**
289
+ * Whether the shift is open or empty
290
+ */
291
+ is_open: boolean;
292
+ /**
293
+ * Whether the shift is published
294
+ */
295
+ is_published: boolean;
296
+ /**
297
+ * The ID of the schedule
298
+ */
299
+ schedule_id: string;
300
+ /**
301
+ * The data of the shift
302
+ */
303
+ shift_data: UnassignedshiftRetrieveResponse.ShiftData;
304
+ /**
305
+ * The target count of the shift
306
+ */
307
+ target_count: number;
308
+ /**
309
+ * Record update date
310
+ */
311
+ updated_at: string;
312
+ /**
313
+ * The IDs of the assigned shifts that are part of this unassigned shift
314
+ */
315
+ assigned_shift_ids?: Array<string>;
316
+ /**
317
+ * The published version of the shift
318
+ */
319
+ published_version?: UnassignedshiftRetrieveResponse.PublishedVersion;
320
+ /**
321
+ * The schedule
322
+ *
323
+ * Expandable field
324
+ */
325
+ schedule?: UnassignedshiftRetrieveResponse.Schedule;
326
+ }
327
+ export declare namespace UnassignedshiftRetrieveResponse {
328
+ /**
329
+ * The data of the shift
330
+ */
331
+ interface ShiftData {
332
+ /**
333
+ * The end time of the shift
334
+ */
335
+ end_time: string;
336
+ /**
337
+ * The start time of the shift
338
+ */
339
+ start_time: string;
340
+ /**
341
+ * The breaks of the shift
342
+ */
343
+ shift_breaks?: Array<ShiftData.ShiftBreak>;
344
+ /**
345
+ * The segments of the shift
346
+ */
347
+ shift_segments?: Array<ShiftData.ShiftSegment>;
348
+ }
349
+ namespace ShiftData {
350
+ interface ShiftBreak {
351
+ /**
352
+ * The duration of the shift break in minutes (input only for creation)
353
+ */
354
+ duration_minutes: number;
355
+ /**
356
+ * The start time of the shift break
357
+ */
358
+ start_time: string;
359
+ /**
360
+ * The type of the shift break
361
+ */
362
+ type: 'MEAL' | 'REST';
363
+ /**
364
+ * The end time of the shift break (calculated from start_time + duration_minutes)
365
+ */
366
+ end_time?: string;
367
+ }
368
+ interface ShiftSegment {
369
+ /**
370
+ * The duration of the shift segment in minutes (input only for creation)
371
+ */
372
+ duration_minutes: number;
373
+ /**
374
+ * The start time of the shift segment
375
+ */
376
+ start_time: string;
377
+ /**
378
+ * The end time of the shift segment (calculated from start_time +
379
+ * duration_minutes)
380
+ */
381
+ end_time?: string;
382
+ /**
383
+ * The IDs of the job codes associated with the shift segment
384
+ */
385
+ job_codes_id?: Array<string>;
386
+ }
387
+ }
388
+ /**
389
+ * The published version of the shift
390
+ */
391
+ interface PublishedVersion {
392
+ /**
393
+ * The end time of the shift
394
+ */
395
+ end_time: string;
396
+ /**
397
+ * The start time of the shift
398
+ */
399
+ start_time: string;
400
+ /**
401
+ * The breaks of the shift
402
+ */
403
+ shift_breaks?: Array<PublishedVersion.ShiftBreak>;
404
+ /**
405
+ * The segments of the shift
406
+ */
407
+ shift_segments?: Array<PublishedVersion.ShiftSegment>;
408
+ }
409
+ namespace PublishedVersion {
410
+ interface ShiftBreak {
411
+ /**
412
+ * The duration of the shift break in minutes (input only for creation)
413
+ */
414
+ duration_minutes: number;
415
+ /**
416
+ * The start time of the shift break
417
+ */
418
+ start_time: string;
419
+ /**
420
+ * The type of the shift break
421
+ */
422
+ type: 'MEAL' | 'REST';
423
+ /**
424
+ * The end time of the shift break (calculated from start_time + duration_minutes)
425
+ */
426
+ end_time?: string;
427
+ }
428
+ interface ShiftSegment {
429
+ /**
430
+ * The duration of the shift segment in minutes (input only for creation)
431
+ */
432
+ duration_minutes: number;
433
+ /**
434
+ * The start time of the shift segment
435
+ */
436
+ start_time: string;
437
+ /**
438
+ * The end time of the shift segment (calculated from start_time +
439
+ * duration_minutes)
440
+ */
441
+ end_time?: string;
442
+ /**
443
+ * The IDs of the job codes associated with the shift segment
444
+ */
445
+ job_codes_id?: Array<string>;
446
+ }
447
+ }
448
+ /**
449
+ * The schedule
450
+ *
451
+ * Expandable field
452
+ */
453
+ interface Schedule {
454
+ /**
455
+ * Identifier field
456
+ */
457
+ id: string;
458
+ /**
459
+ * Record creation date
460
+ */
461
+ created_at: string;
462
+ /**
463
+ * Record update date
464
+ */
465
+ updated_at: string;
466
+ /**
467
+ * Whether the requesting role can edit the schedule.
468
+ */
469
+ can_edit?: boolean;
470
+ /**
471
+ * The managers of the schedule.
472
+ *
473
+ * Expandable field
474
+ */
475
+ managers?: Array<WorkersAPI.Worker>;
476
+ /**
477
+ * The IDs of the managers of the schedule.
478
+ */
479
+ managers_id?: Array<string>;
480
+ /**
481
+ * The members of the schedule.
482
+ *
483
+ * Expandable field
484
+ */
485
+ members?: Array<WorkersAPI.Worker>;
486
+ /**
487
+ * The IDs of the members of the schedule.
488
+ */
489
+ members_id?: Array<string>;
490
+ /**
491
+ * The name of the schedule.
492
+ */
493
+ name?: string;
494
+ /**
495
+ * The observers of the schedule.
496
+ *
497
+ * Expandable field
498
+ */
499
+ observers?: Array<WorkersAPI.Worker>;
500
+ /**
501
+ * The IDs of the observers of the schedule.
502
+ */
503
+ observers_id?: Array<string>;
504
+ /**
505
+ * The settings of the schedule.
506
+ */
507
+ settings?: Schedule.Settings;
508
+ }
509
+ namespace Schedule {
510
+ /**
511
+ * The settings of the schedule.
512
+ */
513
+ interface Settings {
514
+ /**
515
+ * The IANA timezone identifier for the schedule (e.g., 'America/New_York').
516
+ * Accepted values are defined by the tz database, listed here:
517
+ * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
518
+ */
519
+ timezone?: string;
520
+ }
521
+ }
522
+ }
523
+ export interface UnassignedshiftListParams {
524
+ cursor?: string;
525
+ expand?: string;
526
+ filter?: string;
527
+ order_by?: string;
528
+ }
529
+ export interface UnassignedshiftRetrieveParams {
530
+ expand?: string;
531
+ }
532
+ export declare namespace Unassignedshifts {
533
+ export { type UnassignedshiftListResponse as UnassignedshiftListResponse, type UnassignedshiftRetrieveResponse as UnassignedshiftRetrieveResponse, type UnassignedshiftListResponsesPageCursorURL as UnassignedshiftListResponsesPageCursorURL, type UnassignedshiftListParams as UnassignedshiftListParams, type UnassignedshiftRetrieveParams as UnassignedshiftRetrieveParams, };
534
+ }
535
+ //# sourceMappingURL=unassignedshifts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unassignedshifts.d.ts","sourceRoot":"","sources":["../src/resources/unassignedshifts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9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;QAE5B;;;;WAIG;QACH,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAEnC;;WAEG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE3B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;;;WAIG;QACH,SAAS,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAErC;;WAEG;QACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE7B;;WAEG;QACH,QAAQ,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC;KAC9B;IAED,UAAiB,QAAQ,CAAC;QACxB;;WAEG;QACH,UAAiB,QAAQ;YACvB;;;;eAIG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;SACnB;KACF;CACF;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -0,0 +1,32 @@
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.Unassignedshifts = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const path_1 = require("../internal/utils/path.js");
8
+ class Unassignedshifts extends resource_1.APIResource {
9
+ /**
10
+ * A List of unassigned shifts
11
+ *
12
+ * - Requires: `API Tier 2`
13
+ * - Filterable fields: `schedule_id`, `shift_data.start_time`,
14
+ * `shift_data.end_time`
15
+ * - Expandable fields: `schedule`
16
+ * - Sortable fields: `id`, `created_at`, `updated_at`
17
+ */
18
+ list(query = {}, options) {
19
+ return this._client.getAPIList('/unassignedshifts', (pagination_1.PageCursorURL), {
20
+ query,
21
+ ...options,
22
+ });
23
+ }
24
+ /**
25
+ * Retrieve a specific unassigned shift
26
+ */
27
+ retrieve(id, query = {}, options) {
28
+ return this._client.get((0, path_1.path) `/unassignedshifts/${id}`, { query, ...options });
29
+ }
30
+ }
31
+ exports.Unassignedshifts = Unassignedshifts;
32
+ //# sourceMappingURL=unassignedshifts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unassignedshifts.js","sourceRoot":"","sources":["../src/resources/unassignedshifts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;OAQG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,0BAA0C,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AA9BD,4CA8BC"}
@@ -0,0 +1,28 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { PageCursorURL } from "../core/pagination.mjs";
4
+ import { path } from "../internal/utils/path.mjs";
5
+ export class Unassignedshifts extends APIResource {
6
+ /**
7
+ * A List of unassigned shifts
8
+ *
9
+ * - Requires: `API Tier 2`
10
+ * - Filterable fields: `schedule_id`, `shift_data.start_time`,
11
+ * `shift_data.end_time`
12
+ * - Expandable fields: `schedule`
13
+ * - Sortable fields: `id`, `created_at`, `updated_at`
14
+ */
15
+ list(query = {}, options) {
16
+ return this._client.getAPIList('/unassignedshifts', (PageCursorURL), {
17
+ query,
18
+ ...options,
19
+ });
20
+ }
21
+ /**
22
+ * Retrieve a specific unassigned shift
23
+ */
24
+ retrieve(id, query = {}, options) {
25
+ return this._client.get(path `/unassignedshifts/${id}`, { query, ...options });
26
+ }
27
+ }
28
+ //# sourceMappingURL=unassignedshifts.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unassignedshifts.mjs","sourceRoot":"","sources":["../src/resources/unassignedshifts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;OAQG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,aAA0C,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -192,6 +192,7 @@ export declare namespace User {
192
192
  export interface UserRetrieveResponse extends BusinessPartnersAPI.Meta, User {
193
193
  }
194
194
  export interface UserListParams {
195
+ cursor?: string;
195
196
  order_by?: string;
196
197
  }
197
198
  export declare namespace Users {
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.mts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kBAAkB,EAAE,IAAI,CAAC;IAIxC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjF;AAED,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;AAErD,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEhC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAE3B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;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mB,CAAC,IAAI,EAAE,IAAI;CAAG;AAE/E,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -192,6 +192,7 @@ export declare namespace User {
192
192
  export interface UserRetrieveResponse extends BusinessPartnersAPI.Meta, User {
193
193
  }
194
194
  export interface UserListParams {
195
+ cursor?: string;
195
196
  order_by?: string;
196
197
  }
197
198
  export declare namespace Users {
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/resources/users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,kBAAkB,EAAE,IAAI,CAAC;IAIxC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;CAGjF;AAED,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;AAErD,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EA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AEjB;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;QAEpD;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED,UAAiB,KAAK;QACpB;;WAEG;QACH,IAAI,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;QAE7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB,CAAC,IAAI,EAAE,IAAI;CAAG;AAE/E,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -46,6 +46,7 @@ export interface WorkLocation {
46
46
  export interface WorkLocationRetrieveResponse extends BusinessPartnersAPI.Meta, WorkLocation {
47
47
  }
48
48
  export interface WorkLocationListParams {
49
+ cursor?: string;
49
50
  order_by?: string;
50
51
  }
51
52
  export declare namespace WorkLocations {
@@ -1 +1 @@
1
- {"version":3,"file":"work-locations.d.mts","sourceRoot":"","sources":["../src/resources/work-locations.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,E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