@rippling/rippling-sdk 0.2.0-alpha.25 → 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 (223) 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 +4 -0
  11. package/functions.d.mts.map +1 -1
  12. package/functions.d.ts +4 -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 +56 -4
  126. package/resources/shiftassignments.d.mts.map +1 -1
  127. package/resources/shiftassignments.d.ts +56 -4
  128. package/resources/shiftassignments.d.ts.map +1 -1
  129. package/resources/supergroups/exclusion-members.d.mts +3 -3
  130. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  131. package/resources/supergroups/exclusion-members.d.ts +3 -3
  132. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  133. package/resources/supergroups/exclusion-members.js.map +1 -1
  134. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  135. package/resources/supergroups/inclusion-members.d.mts +3 -3
  136. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  137. package/resources/supergroups/inclusion-members.d.ts +3 -3
  138. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  139. package/resources/supergroups/inclusion-members.js.map +1 -1
  140. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  141. package/resources/supergroups/index.d.mts +1 -1
  142. package/resources/supergroups/index.d.mts.map +1 -1
  143. package/resources/supergroups/index.d.ts +1 -1
  144. package/resources/supergroups/index.d.ts.map +1 -1
  145. package/resources/supergroups/index.js.map +1 -1
  146. package/resources/supergroups/index.mjs.map +1 -1
  147. package/resources/supergroups/members.d.mts +6 -37
  148. package/resources/supergroups/members.d.mts.map +1 -1
  149. package/resources/supergroups/members.d.ts +6 -37
  150. package/resources/supergroups/members.d.ts.map +1 -1
  151. package/resources/supergroups/members.js.map +1 -1
  152. package/resources/supergroups/members.mjs.map +1 -1
  153. package/resources/supergroups/supergroups.d.mts +2 -2
  154. package/resources/supergroups/supergroups.d.mts.map +1 -1
  155. package/resources/supergroups/supergroups.d.ts +2 -2
  156. package/resources/supergroups/supergroups.d.ts.map +1 -1
  157. package/resources/supergroups/supergroups.js.map +1 -1
  158. package/resources/supergroups/supergroups.mjs.map +1 -1
  159. package/resources/titles.d.mts +126 -0
  160. package/resources/titles.d.mts.map +1 -0
  161. package/resources/titles.d.ts +126 -0
  162. package/resources/titles.d.ts.map +1 -0
  163. package/resources/titles.js +48 -0
  164. package/resources/titles.js.map +1 -0
  165. package/resources/titles.mjs +44 -0
  166. package/resources/titles.mjs.map +1 -0
  167. package/resources/unassigned-shifts.d.mts +334 -0
  168. package/resources/unassigned-shifts.d.mts.map +1 -0
  169. package/resources/unassigned-shifts.d.ts +334 -0
  170. package/resources/unassigned-shifts.d.ts.map +1 -0
  171. package/resources/unassigned-shifts.js +42 -0
  172. package/resources/unassigned-shifts.js.map +1 -0
  173. package/resources/unassigned-shifts.mjs +38 -0
  174. package/resources/unassigned-shifts.mjs.map +1 -0
  175. package/resources/unassignedshifts.d.mts +382 -1
  176. package/resources/unassignedshifts.d.mts.map +1 -1
  177. package/resources/unassignedshifts.d.ts +382 -1
  178. package/resources/unassignedshifts.d.ts.map +1 -1
  179. package/resources/unassignedshifts.js +6 -0
  180. package/resources/unassignedshifts.js.map +1 -1
  181. package/resources/unassignedshifts.mjs +6 -0
  182. package/resources/unassignedshifts.mjs.map +1 -1
  183. package/resources/work-locations.d.mts +95 -1
  184. package/resources/work-locations.d.mts.map +1 -1
  185. package/resources/work-locations.d.ts +95 -1
  186. package/resources/work-locations.d.ts.map +1 -1
  187. package/resources/work-locations.js +12 -0
  188. package/resources/work-locations.js.map +1 -1
  189. package/resources/work-locations.mjs +12 -0
  190. package/resources/work-locations.mjs.map +1 -1
  191. package/src/client.ts +153 -3
  192. package/src/functions.ts +14 -0
  193. package/src/resources/compensation-bands-details.ts +140 -0
  194. package/src/resources/custom-settings.ts +371 -0
  195. package/src/resources/departments.ts +50 -0
  196. package/src/resources/draft-hires.ts +32 -0
  197. package/src/resources/functions/executions.ts +8 -104
  198. package/src/resources/functions/functions.ts +4 -8
  199. package/src/resources/functions/index.ts +2 -4
  200. package/src/resources/index.ts +66 -2
  201. package/src/resources/job-assignments.ts +95 -6
  202. package/src/resources/job-codes.ts +56 -1
  203. package/src/resources/job-dimensions.ts +24 -0
  204. package/src/resources/job-requisitions-write.ts +327 -0
  205. package/src/resources/leave-accruals.ts +229 -12
  206. package/src/resources/report-runs.ts +186 -0
  207. package/src/resources/shared.ts +44 -0
  208. package/src/resources/shift-assignments.ts +362 -0
  209. package/src/resources/shiftassignments.ts +70 -5
  210. package/src/resources/supergroups/exclusion-members.ts +4 -4
  211. package/src/resources/supergroups/inclusion-members.ts +4 -4
  212. package/src/resources/supergroups/index.ts +1 -1
  213. package/src/resources/supergroups/members.ts +7 -49
  214. package/src/resources/supergroups/supergroups.ts +2 -7
  215. package/src/resources/titles.ts +181 -0
  216. package/src/resources/unassigned-shifts.ts +415 -0
  217. package/src/resources/unassignedshifts.ts +467 -0
  218. package/src/resources/work-locations.ts +118 -0
  219. package/src/version.ts +1 -1
  220. package/version.d.mts +1 -1
  221. package/version.d.ts +1 -1
  222. package/version.js +1 -1
  223. package/version.mjs +1 -1
@@ -0,0 +1,334 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import * as BusinessPartnersAPI from "./business-partners.mjs";
3
+ import * as WorkersAPI from "./workers.mjs";
4
+ import { APIPromise } from "../core/api-promise.mjs";
5
+ import { RequestOptions } from "../internal/request-options.mjs";
6
+ export declare class UnassignedShifts extends APIResource {
7
+ /**
8
+ * Update custom fields for a unassigned shift. The request body should contain a
9
+ * dictionary mapping custom field names to their values.
10
+ *
11
+ * - Requires: `API Tier 2`
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const response =
16
+ * await client.unassignedShifts.updateCustomfields('id');
17
+ * ```
18
+ */
19
+ updateCustomfields(id: string, body: UnassignedShiftUpdateCustomfieldsParams, options?: RequestOptions): APIPromise<UnassignedShiftUpdateCustomfieldsResponse>;
20
+ /**
21
+ * Assign a worker to an unassigned shift (open shift). The shift must be an open
22
+ * shift and not at capacity.
23
+ *
24
+ * - Requires: `API Tier 2`
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const response = await client.unassignedShifts.assign(
29
+ * 'id',
30
+ * { worker_id: 'worker_id' },
31
+ * );
32
+ * ```
33
+ */
34
+ assign(id: string, body: UnassignedShiftAssignParams, options?: RequestOptions): APIPromise<UnassignedShiftAssignResponse>;
35
+ }
36
+ /**
37
+ * Meta information for the response.
38
+ */
39
+ export interface UnassignedShiftUpdateCustomfieldsResponse extends BusinessPartnersAPI.Meta {
40
+ /**
41
+ * Identifier field
42
+ */
43
+ id: string;
44
+ /**
45
+ * Record creation date
46
+ */
47
+ created_at: string;
48
+ /**
49
+ * Whether the shift is published
50
+ */
51
+ is_published: boolean;
52
+ /**
53
+ * The ID of the schedule
54
+ */
55
+ schedule_id: string;
56
+ /**
57
+ * The data of the shift
58
+ */
59
+ shift_data: UnassignedShiftUpdateCustomfieldsResponse.ShiftData;
60
+ /**
61
+ * The target count of the shift
62
+ */
63
+ target_count: number;
64
+ /**
65
+ * Record update date
66
+ */
67
+ updated_at: string;
68
+ /**
69
+ * The number of assigned shifts
70
+ */
71
+ assigned_count?: number;
72
+ /**
73
+ * The IDs of the assigned shifts that are part of this unassigned shift
74
+ */
75
+ assigned_shift_ids?: Array<string>;
76
+ /**
77
+ * Custom fields for the unassigned shift
78
+ */
79
+ custom_fields?: Array<unknown>;
80
+ /**
81
+ * Configuration for an open shift. If present, this is an open shift (workers can
82
+ * sign up). If absent/None, this is an empty shift (placeholder).
83
+ */
84
+ open_shift_config?: unknown;
85
+ /**
86
+ * The published version of the shift
87
+ */
88
+ published_version?: UnassignedShiftUpdateCustomfieldsResponse.PublishedVersion;
89
+ /**
90
+ * The schedule
91
+ *
92
+ * Expandable field
93
+ */
94
+ schedule?: UnassignedShiftUpdateCustomfieldsResponse.Schedule;
95
+ }
96
+ export declare namespace UnassignedShiftUpdateCustomfieldsResponse {
97
+ /**
98
+ * The data of the shift
99
+ */
100
+ interface ShiftData {
101
+ /**
102
+ * The end time of the shift
103
+ */
104
+ end_time: string;
105
+ /**
106
+ * The start time of the shift
107
+ */
108
+ start_time: string;
109
+ /**
110
+ * Notes for the shift, max length 256 characters
111
+ */
112
+ notes?: string;
113
+ /**
114
+ * The breaks of the shift
115
+ */
116
+ shift_breaks?: Array<ShiftData.ShiftBreak>;
117
+ /**
118
+ * The segments of the shift
119
+ */
120
+ shift_segments?: Array<ShiftData.ShiftSegment>;
121
+ }
122
+ namespace ShiftData {
123
+ interface ShiftBreak {
124
+ /**
125
+ * The duration of the shift break in minutes (input only for creation)
126
+ */
127
+ duration_minutes: number;
128
+ /**
129
+ * The start time of the shift break
130
+ */
131
+ start_time: string;
132
+ /**
133
+ * The type of the shift break
134
+ */
135
+ type: 'MEAL' | 'REST';
136
+ /**
137
+ * The end time of the shift break (calculated from start_time + duration_minutes)
138
+ */
139
+ end_time?: string;
140
+ }
141
+ interface ShiftSegment {
142
+ /**
143
+ * The duration of the shift segment in minutes (input only for creation)
144
+ */
145
+ duration_minutes: number;
146
+ /**
147
+ * The start time of the shift segment
148
+ */
149
+ start_time: string;
150
+ /**
151
+ * The end time of the shift segment (calculated from start_time +
152
+ * duration_minutes)
153
+ */
154
+ end_time?: string;
155
+ /**
156
+ * The IDs of the job codes associated with the shift segment
157
+ */
158
+ job_codes_id?: Array<string>;
159
+ }
160
+ }
161
+ /**
162
+ * The published version of the shift
163
+ */
164
+ interface PublishedVersion {
165
+ /**
166
+ * The end time of the shift
167
+ */
168
+ end_time: string;
169
+ /**
170
+ * The start time of the shift
171
+ */
172
+ start_time: string;
173
+ /**
174
+ * Notes for the shift, max length 256 characters
175
+ */
176
+ notes?: string;
177
+ /**
178
+ * The breaks of the shift
179
+ */
180
+ shift_breaks?: Array<PublishedVersion.ShiftBreak>;
181
+ /**
182
+ * The segments of the shift
183
+ */
184
+ shift_segments?: Array<PublishedVersion.ShiftSegment>;
185
+ }
186
+ namespace PublishedVersion {
187
+ interface ShiftBreak {
188
+ /**
189
+ * The duration of the shift break in minutes (input only for creation)
190
+ */
191
+ duration_minutes: number;
192
+ /**
193
+ * The start time of the shift break
194
+ */
195
+ start_time: string;
196
+ /**
197
+ * The type of the shift break
198
+ */
199
+ type: 'MEAL' | 'REST';
200
+ /**
201
+ * The end time of the shift break (calculated from start_time + duration_minutes)
202
+ */
203
+ end_time?: string;
204
+ }
205
+ interface ShiftSegment {
206
+ /**
207
+ * The duration of the shift segment in minutes (input only for creation)
208
+ */
209
+ duration_minutes: number;
210
+ /**
211
+ * The start time of the shift segment
212
+ */
213
+ start_time: string;
214
+ /**
215
+ * The end time of the shift segment (calculated from start_time +
216
+ * duration_minutes)
217
+ */
218
+ end_time?: string;
219
+ /**
220
+ * The IDs of the job codes associated with the shift segment
221
+ */
222
+ job_codes_id?: Array<string>;
223
+ }
224
+ }
225
+ /**
226
+ * The schedule
227
+ *
228
+ * Expandable field
229
+ */
230
+ interface Schedule {
231
+ /**
232
+ * Identifier field
233
+ */
234
+ id: string;
235
+ /**
236
+ * Record creation date
237
+ */
238
+ created_at: string;
239
+ /**
240
+ * Record update date
241
+ */
242
+ updated_at: string;
243
+ /**
244
+ * Whether the requesting role can edit the schedule.
245
+ */
246
+ can_edit?: boolean;
247
+ /**
248
+ * The managers of the schedule.
249
+ *
250
+ * Expandable field
251
+ */
252
+ managers?: Array<WorkersAPI.Worker>;
253
+ /**
254
+ * The IDs of the managers of the schedule.
255
+ */
256
+ managers_id?: Array<string>;
257
+ /**
258
+ * The members of the schedule.
259
+ *
260
+ * Expandable field
261
+ */
262
+ members?: Array<WorkersAPI.Worker>;
263
+ /**
264
+ * The IDs of the members of the schedule.
265
+ */
266
+ members_id?: Array<string>;
267
+ /**
268
+ * The name of the schedule.
269
+ */
270
+ name?: string;
271
+ /**
272
+ * The observers of the schedule.
273
+ *
274
+ * Expandable field
275
+ */
276
+ observers?: Array<WorkersAPI.Worker>;
277
+ /**
278
+ * The IDs of the observers of the schedule.
279
+ */
280
+ observers_id?: Array<string>;
281
+ /**
282
+ * The settings of the schedule.
283
+ */
284
+ settings?: Schedule.Settings;
285
+ }
286
+ namespace Schedule {
287
+ /**
288
+ * The settings of the schedule.
289
+ */
290
+ interface Settings {
291
+ /**
292
+ * The IANA timezone identifier for the schedule (e.g., 'America/New_York').
293
+ * Accepted values are defined by the tz database, listed here:
294
+ * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
295
+ */
296
+ timezone?: string;
297
+ }
298
+ }
299
+ }
300
+ export interface UnassignedShiftAssignResponse {
301
+ /**
302
+ * The current number of assigned workers for this shift
303
+ */
304
+ assigned_count?: number;
305
+ /**
306
+ * List of shift assignment IDs for this shift
307
+ */
308
+ assigned_shift_ids?: Array<string>;
309
+ /**
310
+ * The ID of the newly created shift assignment
311
+ */
312
+ assignment_id?: string;
313
+ /**
314
+ * The target number of workers for this shift
315
+ */
316
+ target_count?: number;
317
+ }
318
+ export interface UnassignedShiftUpdateCustomfieldsParams {
319
+ /**
320
+ * Example custom field name. Replace with your actual custom field names.
321
+ */
322
+ FieldName1?: string;
323
+ [k: string]: unknown;
324
+ }
325
+ export interface UnassignedShiftAssignParams {
326
+ /**
327
+ * The ID of the worker (role) to assign to the shift
328
+ */
329
+ worker_id: string;
330
+ }
331
+ export declare namespace UnassignedShifts {
332
+ export { type UnassignedShiftUpdateCustomfieldsResponse as UnassignedShiftUpdateCustomfieldsResponse, type UnassignedShiftAssignResponse as UnassignedShiftAssignResponse, type UnassignedShiftUpdateCustomfieldsParams as UnassignedShiftUpdateCustomfieldsParams, type UnassignedShiftAssignParams as UnassignedShiftAssignParams, };
333
+ }
334
+ //# sourceMappingURL=unassigned-shifts.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unassigned-shifts.d.mts","sourceRoot":"","sources":["../src/resources/unassigned-shifts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yCAAyC,CAAC;IAIxD;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,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ACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
@@ -0,0 +1,334 @@
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 { RequestOptions } from "../internal/request-options.js";
6
+ export declare class UnassignedShifts extends APIResource {
7
+ /**
8
+ * Update custom fields for a unassigned shift. The request body should contain a
9
+ * dictionary mapping custom field names to their values.
10
+ *
11
+ * - Requires: `API Tier 2`
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * const response =
16
+ * await client.unassignedShifts.updateCustomfields('id');
17
+ * ```
18
+ */
19
+ updateCustomfields(id: string, body: UnassignedShiftUpdateCustomfieldsParams, options?: RequestOptions): APIPromise<UnassignedShiftUpdateCustomfieldsResponse>;
20
+ /**
21
+ * Assign a worker to an unassigned shift (open shift). The shift must be an open
22
+ * shift and not at capacity.
23
+ *
24
+ * - Requires: `API Tier 2`
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const response = await client.unassignedShifts.assign(
29
+ * 'id',
30
+ * { worker_id: 'worker_id' },
31
+ * );
32
+ * ```
33
+ */
34
+ assign(id: string, body: UnassignedShiftAssignParams, options?: RequestOptions): APIPromise<UnassignedShiftAssignResponse>;
35
+ }
36
+ /**
37
+ * Meta information for the response.
38
+ */
39
+ export interface UnassignedShiftUpdateCustomfieldsResponse extends BusinessPartnersAPI.Meta {
40
+ /**
41
+ * Identifier field
42
+ */
43
+ id: string;
44
+ /**
45
+ * Record creation date
46
+ */
47
+ created_at: string;
48
+ /**
49
+ * Whether the shift is published
50
+ */
51
+ is_published: boolean;
52
+ /**
53
+ * The ID of the schedule
54
+ */
55
+ schedule_id: string;
56
+ /**
57
+ * The data of the shift
58
+ */
59
+ shift_data: UnassignedShiftUpdateCustomfieldsResponse.ShiftData;
60
+ /**
61
+ * The target count of the shift
62
+ */
63
+ target_count: number;
64
+ /**
65
+ * Record update date
66
+ */
67
+ updated_at: string;
68
+ /**
69
+ * The number of assigned shifts
70
+ */
71
+ assigned_count?: number;
72
+ /**
73
+ * The IDs of the assigned shifts that are part of this unassigned shift
74
+ */
75
+ assigned_shift_ids?: Array<string>;
76
+ /**
77
+ * Custom fields for the unassigned shift
78
+ */
79
+ custom_fields?: Array<unknown>;
80
+ /**
81
+ * Configuration for an open shift. If present, this is an open shift (workers can
82
+ * sign up). If absent/None, this is an empty shift (placeholder).
83
+ */
84
+ open_shift_config?: unknown;
85
+ /**
86
+ * The published version of the shift
87
+ */
88
+ published_version?: UnassignedShiftUpdateCustomfieldsResponse.PublishedVersion;
89
+ /**
90
+ * The schedule
91
+ *
92
+ * Expandable field
93
+ */
94
+ schedule?: UnassignedShiftUpdateCustomfieldsResponse.Schedule;
95
+ }
96
+ export declare namespace UnassignedShiftUpdateCustomfieldsResponse {
97
+ /**
98
+ * The data of the shift
99
+ */
100
+ interface ShiftData {
101
+ /**
102
+ * The end time of the shift
103
+ */
104
+ end_time: string;
105
+ /**
106
+ * The start time of the shift
107
+ */
108
+ start_time: string;
109
+ /**
110
+ * Notes for the shift, max length 256 characters
111
+ */
112
+ notes?: string;
113
+ /**
114
+ * The breaks of the shift
115
+ */
116
+ shift_breaks?: Array<ShiftData.ShiftBreak>;
117
+ /**
118
+ * The segments of the shift
119
+ */
120
+ shift_segments?: Array<ShiftData.ShiftSegment>;
121
+ }
122
+ namespace ShiftData {
123
+ interface ShiftBreak {
124
+ /**
125
+ * The duration of the shift break in minutes (input only for creation)
126
+ */
127
+ duration_minutes: number;
128
+ /**
129
+ * The start time of the shift break
130
+ */
131
+ start_time: string;
132
+ /**
133
+ * The type of the shift break
134
+ */
135
+ type: 'MEAL' | 'REST';
136
+ /**
137
+ * The end time of the shift break (calculated from start_time + duration_minutes)
138
+ */
139
+ end_time?: string;
140
+ }
141
+ interface ShiftSegment {
142
+ /**
143
+ * The duration of the shift segment in minutes (input only for creation)
144
+ */
145
+ duration_minutes: number;
146
+ /**
147
+ * The start time of the shift segment
148
+ */
149
+ start_time: string;
150
+ /**
151
+ * The end time of the shift segment (calculated from start_time +
152
+ * duration_minutes)
153
+ */
154
+ end_time?: string;
155
+ /**
156
+ * The IDs of the job codes associated with the shift segment
157
+ */
158
+ job_codes_id?: Array<string>;
159
+ }
160
+ }
161
+ /**
162
+ * The published version of the shift
163
+ */
164
+ interface PublishedVersion {
165
+ /**
166
+ * The end time of the shift
167
+ */
168
+ end_time: string;
169
+ /**
170
+ * The start time of the shift
171
+ */
172
+ start_time: string;
173
+ /**
174
+ * Notes for the shift, max length 256 characters
175
+ */
176
+ notes?: string;
177
+ /**
178
+ * The breaks of the shift
179
+ */
180
+ shift_breaks?: Array<PublishedVersion.ShiftBreak>;
181
+ /**
182
+ * The segments of the shift
183
+ */
184
+ shift_segments?: Array<PublishedVersion.ShiftSegment>;
185
+ }
186
+ namespace PublishedVersion {
187
+ interface ShiftBreak {
188
+ /**
189
+ * The duration of the shift break in minutes (input only for creation)
190
+ */
191
+ duration_minutes: number;
192
+ /**
193
+ * The start time of the shift break
194
+ */
195
+ start_time: string;
196
+ /**
197
+ * The type of the shift break
198
+ */
199
+ type: 'MEAL' | 'REST';
200
+ /**
201
+ * The end time of the shift break (calculated from start_time + duration_minutes)
202
+ */
203
+ end_time?: string;
204
+ }
205
+ interface ShiftSegment {
206
+ /**
207
+ * The duration of the shift segment in minutes (input only for creation)
208
+ */
209
+ duration_minutes: number;
210
+ /**
211
+ * The start time of the shift segment
212
+ */
213
+ start_time: string;
214
+ /**
215
+ * The end time of the shift segment (calculated from start_time +
216
+ * duration_minutes)
217
+ */
218
+ end_time?: string;
219
+ /**
220
+ * The IDs of the job codes associated with the shift segment
221
+ */
222
+ job_codes_id?: Array<string>;
223
+ }
224
+ }
225
+ /**
226
+ * The schedule
227
+ *
228
+ * Expandable field
229
+ */
230
+ interface Schedule {
231
+ /**
232
+ * Identifier field
233
+ */
234
+ id: string;
235
+ /**
236
+ * Record creation date
237
+ */
238
+ created_at: string;
239
+ /**
240
+ * Record update date
241
+ */
242
+ updated_at: string;
243
+ /**
244
+ * Whether the requesting role can edit the schedule.
245
+ */
246
+ can_edit?: boolean;
247
+ /**
248
+ * The managers of the schedule.
249
+ *
250
+ * Expandable field
251
+ */
252
+ managers?: Array<WorkersAPI.Worker>;
253
+ /**
254
+ * The IDs of the managers of the schedule.
255
+ */
256
+ managers_id?: Array<string>;
257
+ /**
258
+ * The members of the schedule.
259
+ *
260
+ * Expandable field
261
+ */
262
+ members?: Array<WorkersAPI.Worker>;
263
+ /**
264
+ * The IDs of the members of the schedule.
265
+ */
266
+ members_id?: Array<string>;
267
+ /**
268
+ * The name of the schedule.
269
+ */
270
+ name?: string;
271
+ /**
272
+ * The observers of the schedule.
273
+ *
274
+ * Expandable field
275
+ */
276
+ observers?: Array<WorkersAPI.Worker>;
277
+ /**
278
+ * The IDs of the observers of the schedule.
279
+ */
280
+ observers_id?: Array<string>;
281
+ /**
282
+ * The settings of the schedule.
283
+ */
284
+ settings?: Schedule.Settings;
285
+ }
286
+ namespace Schedule {
287
+ /**
288
+ * The settings of the schedule.
289
+ */
290
+ interface Settings {
291
+ /**
292
+ * The IANA timezone identifier for the schedule (e.g., 'America/New_York').
293
+ * Accepted values are defined by the tz database, listed here:
294
+ * https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
295
+ */
296
+ timezone?: string;
297
+ }
298
+ }
299
+ }
300
+ export interface UnassignedShiftAssignResponse {
301
+ /**
302
+ * The current number of assigned workers for this shift
303
+ */
304
+ assigned_count?: number;
305
+ /**
306
+ * List of shift assignment IDs for this shift
307
+ */
308
+ assigned_shift_ids?: Array<string>;
309
+ /**
310
+ * The ID of the newly created shift assignment
311
+ */
312
+ assignment_id?: string;
313
+ /**
314
+ * The target number of workers for this shift
315
+ */
316
+ target_count?: number;
317
+ }
318
+ export interface UnassignedShiftUpdateCustomfieldsParams {
319
+ /**
320
+ * Example custom field name. Replace with your actual custom field names.
321
+ */
322
+ FieldName1?: string;
323
+ [k: string]: unknown;
324
+ }
325
+ export interface UnassignedShiftAssignParams {
326
+ /**
327
+ * The ID of the worker (role) to assign to the shift
328
+ */
329
+ worker_id: string;
330
+ }
331
+ export declare namespace UnassignedShifts {
332
+ export { type UnassignedShiftUpdateCustomfieldsResponse as UnassignedShiftUpdateCustomfieldsResponse, type UnassignedShiftAssignResponse as UnassignedShiftAssignResponse, type UnassignedShiftUpdateCustomfieldsParams as UnassignedShiftUpdateCustomfieldsParams, type UnassignedShiftAssignParams as UnassignedShiftAssignParams, };
333
+ }
334
+ //# sourceMappingURL=unassigned-shifts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unassigned-shifts.d.ts","sourceRoot":"","sources":["../src/resources/unassigned-shifts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;OAWG;IACH,kBAAkB,CAChB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yCAAyC,CAAC;IAIxD;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,U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