@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.
- package/client.d.mts +7 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -4
- package/client.d.ts.map +1 -1
- package/client.js +4 -0
- package/client.js.map +1 -1
- package/client.mjs +4 -0
- package/client.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +1 -1
- package/package.json +1 -1
- package/resources/business-partner-groups.d.mts +1 -0
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts +1 -0
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partners.d.mts +1 -0
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts +1 -0
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/candidate-applications.d.mts +1 -0
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +1 -0
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidates.d.mts +1 -0
- package/resources/candidates.d.mts.map +1 -1
- package/resources/candidates.d.ts +1 -0
- package/resources/candidates.d.ts.map +1 -1
- package/resources/companies.d.mts +1 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +1 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/compensations.d.mts +1 -0
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts +1 -0
- package/resources/compensations.d.ts.map +1 -1
- package/resources/custom-fields.d.mts +1 -0
- package/resources/custom-fields.d.mts.map +1 -1
- package/resources/custom-fields.d.ts +1 -0
- package/resources/custom-fields.d.ts.map +1 -1
- package/resources/departments.d.mts +1 -0
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +1 -0
- package/resources/departments.d.ts.map +1 -1
- package/resources/draft-hires.d.mts +4 -16
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +4 -16
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/employment-types.d.mts +1 -0
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts +1 -0
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/headcount-positions.d.mts +1 -0
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +1 -0
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-priorities.d.mts +1 -0
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts +1 -0
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +2 -0
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +2 -0
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-codes.d.mts +2 -0
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +2 -0
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-dimensions.d.mts +1 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +1 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-functions.d.mts +1 -0
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts +1 -0
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts +2 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-requisitions.d.mts +1 -0
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +1 -0
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/kiosk-badges.d.mts +1 -0
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +1 -0
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/leave-balances.d.mts +1 -0
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts +1 -0
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-requests.d.mts +1 -0
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +1 -0
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-types.d.mts +1 -0
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts +1 -0
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/legal-entities.d.mts +1 -0
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +1 -0
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/levels.d.mts +1 -0
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +1 -0
- package/resources/levels.d.ts.map +1 -1
- package/resources/location-factors.d.mts +1 -0
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +1 -0
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/schedules.d.mts +252 -1
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +252 -1
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.js +12 -0
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +12 -0
- package/resources/schedules.mjs.map +1 -1
- package/resources/shift-inputs.d.mts +1 -0
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +1 -0
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shiftassignments.d.mts +874 -153
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +874 -153
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.js +12 -0
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +12 -0
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +1 -0
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +1 -0
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/teams.d.mts +1 -0
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts +1 -0
- package/resources/teams.d.ts.map +1 -1
- package/resources/time-cards.d.mts +1 -0
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts +1 -0
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-entries.d.mts +1 -0
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts +1 -0
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/tracks.d.mts +1 -0
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +1 -0
- package/resources/tracks.d.ts.map +1 -1
- package/resources/unassignedshifts.d.mts +535 -0
- package/resources/unassignedshifts.d.mts.map +1 -0
- package/resources/unassignedshifts.d.ts +535 -0
- package/resources/unassignedshifts.d.ts.map +1 -0
- package/resources/unassignedshifts.js +32 -0
- package/resources/unassignedshifts.js.map +1 -0
- package/resources/unassignedshifts.mjs +28 -0
- package/resources/unassignedshifts.mjs.map +1 -0
- package/resources/users.d.mts +1 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +1 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/work-locations.d.mts +1 -0
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +1 -0
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/workers.d.mts +2 -1
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +2 -1
- package/resources/workers.d.ts.map +1 -1
- package/src/client.ts +36 -0
- package/src/internal/to-file.ts +1 -1
- package/src/resources/business-partner-groups.ts +2 -0
- package/src/resources/business-partners.ts +2 -0
- package/src/resources/candidate-applications.ts +2 -0
- package/src/resources/candidates.ts +2 -0
- package/src/resources/companies.ts +2 -0
- package/src/resources/compensations.ts +2 -0
- package/src/resources/custom-fields.ts +2 -0
- package/src/resources/departments.ts +2 -0
- package/src/resources/draft-hires.ts +5 -20
- package/src/resources/employment-types.ts +2 -0
- package/src/resources/headcount-positions.ts +2 -0
- package/src/resources/headcount-priorities.ts +2 -0
- package/src/resources/index.ts +16 -0
- package/src/resources/job-assignments.ts +4 -0
- package/src/resources/job-codes.ts +4 -0
- package/src/resources/job-dimensions.ts +2 -0
- package/src/resources/job-functions.ts +2 -0
- package/src/resources/job-pay-rate-exceptions.ts +4 -0
- package/src/resources/job-requisitions.ts +2 -0
- package/src/resources/kiosk-badges.ts +2 -0
- package/src/resources/leave-balances.ts +2 -0
- package/src/resources/leave-requests.ts +2 -0
- package/src/resources/leave-types.ts +2 -0
- package/src/resources/legal-entities.ts +2 -0
- package/src/resources/levels.ts +2 -0
- package/src/resources/location-factors.ts +2 -0
- package/src/resources/schedules.ts +311 -0
- package/src/resources/shift-inputs.ts +2 -0
- package/src/resources/shiftassignments.ts +1037 -162
- package/src/resources/sso-me.ts +2 -0
- package/src/resources/teams.ts +2 -0
- package/src/resources/time-cards.ts +2 -0
- package/src/resources/time-entries.ts +2 -0
- package/src/resources/tracks.ts +2 -0
- package/src/resources/unassignedshifts.ts +664 -0
- package/src/resources/users.ts +2 -0
- package/src/resources/work-locations.ts +2 -0
- package/src/resources/workers.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -23,6 +23,16 @@ export class Schedules extends APIResource {
|
|
|
23
23
|
return this._client.getAPIList('/schedules', PageCursorURL<ScheduleListResponse>, { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Create a new schedule
|
|
28
|
+
*/
|
|
29
|
+
create(
|
|
30
|
+
body: ScheduleCreateParams | null | undefined = {},
|
|
31
|
+
options?: RequestOptions,
|
|
32
|
+
): APIPromise<ScheduleCreateResponse> {
|
|
33
|
+
return this._client.post('/schedules', { body, ...options });
|
|
34
|
+
}
|
|
35
|
+
|
|
26
36
|
/**
|
|
27
37
|
* Retrieve a specific schedule
|
|
28
38
|
*/
|
|
@@ -33,6 +43,17 @@ export class Schedules extends APIResource {
|
|
|
33
43
|
): APIPromise<ScheduleRetrieveResponse> {
|
|
34
44
|
return this._client.get(path`/schedules/${id}`, { query, ...options });
|
|
35
45
|
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Updated a specific schedule
|
|
49
|
+
*/
|
|
50
|
+
update(
|
|
51
|
+
id: string,
|
|
52
|
+
body: ScheduleUpdateParams | null | undefined = {},
|
|
53
|
+
options?: RequestOptions,
|
|
54
|
+
): APIPromise<ScheduleUpdateResponse> {
|
|
55
|
+
return this._client.patch(path`/schedules/${id}`, { body, ...options });
|
|
56
|
+
}
|
|
36
57
|
}
|
|
37
58
|
|
|
38
59
|
export type ScheduleListResponsesPageCursorURL = PageCursorURL<ScheduleListResponse>;
|
|
@@ -98,6 +119,107 @@ export interface ScheduleListResponse {
|
|
|
98
119
|
* The IDs of the observers of the schedule.
|
|
99
120
|
*/
|
|
100
121
|
observers_id?: Array<string>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The settings of the schedule.
|
|
125
|
+
*/
|
|
126
|
+
settings?: ScheduleListResponse.Settings;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export namespace ScheduleListResponse {
|
|
130
|
+
/**
|
|
131
|
+
* The settings of the schedule.
|
|
132
|
+
*/
|
|
133
|
+
export interface Settings {
|
|
134
|
+
/**
|
|
135
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
136
|
+
* Accepted values are defined by the tz database, listed here:
|
|
137
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
138
|
+
*/
|
|
139
|
+
timezone?: string;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface ScheduleCreateResponse {
|
|
144
|
+
/**
|
|
145
|
+
* Identifier field
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Record creation date
|
|
151
|
+
*/
|
|
152
|
+
created_at: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Record update date
|
|
156
|
+
*/
|
|
157
|
+
updated_at: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Whether the requesting role can edit the schedule.
|
|
161
|
+
*/
|
|
162
|
+
can_edit?: boolean;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* The managers of the schedule.
|
|
166
|
+
*
|
|
167
|
+
* Expandable field
|
|
168
|
+
*/
|
|
169
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* The IDs of the managers of the schedule.
|
|
173
|
+
*/
|
|
174
|
+
managers_id?: Array<string>;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The members of the schedule.
|
|
178
|
+
*
|
|
179
|
+
* Expandable field
|
|
180
|
+
*/
|
|
181
|
+
members?: Array<WorkersAPI.Worker>;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The IDs of the members of the schedule.
|
|
185
|
+
*/
|
|
186
|
+
members_id?: Array<string>;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The name of the schedule.
|
|
190
|
+
*/
|
|
191
|
+
name?: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* The observers of the schedule.
|
|
195
|
+
*
|
|
196
|
+
* Expandable field
|
|
197
|
+
*/
|
|
198
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* The IDs of the observers of the schedule.
|
|
202
|
+
*/
|
|
203
|
+
observers_id?: Array<string>;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The settings of the schedule.
|
|
207
|
+
*/
|
|
208
|
+
settings?: ScheduleCreateResponse.Settings;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export namespace ScheduleCreateResponse {
|
|
212
|
+
/**
|
|
213
|
+
* The settings of the schedule.
|
|
214
|
+
*/
|
|
215
|
+
export interface Settings {
|
|
216
|
+
/**
|
|
217
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
218
|
+
* Accepted values are defined by the tz database, listed here:
|
|
219
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
220
|
+
*/
|
|
221
|
+
timezone?: string;
|
|
222
|
+
}
|
|
101
223
|
}
|
|
102
224
|
|
|
103
225
|
/**
|
|
@@ -164,24 +286,213 @@ export interface ScheduleRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
|
164
286
|
* The IDs of the observers of the schedule.
|
|
165
287
|
*/
|
|
166
288
|
observers_id?: Array<string>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* The settings of the schedule.
|
|
292
|
+
*/
|
|
293
|
+
settings?: ScheduleRetrieveResponse.Settings;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export namespace ScheduleRetrieveResponse {
|
|
297
|
+
/**
|
|
298
|
+
* The settings of the schedule.
|
|
299
|
+
*/
|
|
300
|
+
export interface Settings {
|
|
301
|
+
/**
|
|
302
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
303
|
+
* Accepted values are defined by the tz database, listed here:
|
|
304
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
305
|
+
*/
|
|
306
|
+
timezone?: string;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface ScheduleUpdateResponse {
|
|
311
|
+
/**
|
|
312
|
+
* Identifier field
|
|
313
|
+
*/
|
|
314
|
+
id: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Record creation date
|
|
318
|
+
*/
|
|
319
|
+
created_at: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Record update date
|
|
323
|
+
*/
|
|
324
|
+
updated_at: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Whether the requesting role can edit the schedule.
|
|
328
|
+
*/
|
|
329
|
+
can_edit?: boolean;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* The managers of the schedule.
|
|
333
|
+
*
|
|
334
|
+
* Expandable field
|
|
335
|
+
*/
|
|
336
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* The IDs of the managers of the schedule.
|
|
340
|
+
*/
|
|
341
|
+
managers_id?: Array<string>;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* The members of the schedule.
|
|
345
|
+
*
|
|
346
|
+
* Expandable field
|
|
347
|
+
*/
|
|
348
|
+
members?: Array<WorkersAPI.Worker>;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* The IDs of the members of the schedule.
|
|
352
|
+
*/
|
|
353
|
+
members_id?: Array<string>;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* The name of the schedule.
|
|
357
|
+
*/
|
|
358
|
+
name?: string;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The observers of the schedule.
|
|
362
|
+
*
|
|
363
|
+
* Expandable field
|
|
364
|
+
*/
|
|
365
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* The IDs of the observers of the schedule.
|
|
369
|
+
*/
|
|
370
|
+
observers_id?: Array<string>;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* The settings of the schedule.
|
|
374
|
+
*/
|
|
375
|
+
settings?: ScheduleUpdateResponse.Settings;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export namespace ScheduleUpdateResponse {
|
|
379
|
+
/**
|
|
380
|
+
* The settings of the schedule.
|
|
381
|
+
*/
|
|
382
|
+
export interface Settings {
|
|
383
|
+
/**
|
|
384
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
385
|
+
* Accepted values are defined by the tz database, listed here:
|
|
386
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
387
|
+
*/
|
|
388
|
+
timezone?: string;
|
|
389
|
+
}
|
|
167
390
|
}
|
|
168
391
|
|
|
169
392
|
export interface ScheduleListParams {
|
|
393
|
+
cursor?: string;
|
|
394
|
+
|
|
170
395
|
expand?: string;
|
|
171
396
|
|
|
172
397
|
order_by?: string;
|
|
173
398
|
}
|
|
174
399
|
|
|
400
|
+
export interface ScheduleCreateParams {
|
|
401
|
+
/**
|
|
402
|
+
* The IDs of the managers of the schedule.
|
|
403
|
+
*/
|
|
404
|
+
managers_id?: Array<string>;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* The IDs of the members of the schedule.
|
|
408
|
+
*/
|
|
409
|
+
members_id?: Array<string>;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* The name of the schedule.
|
|
413
|
+
*/
|
|
414
|
+
name?: string;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* The IDs of the observers of the schedule.
|
|
418
|
+
*/
|
|
419
|
+
observers_id?: Array<string>;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* The settings of the schedule.
|
|
423
|
+
*/
|
|
424
|
+
settings?: ScheduleCreateParams.Settings;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export namespace ScheduleCreateParams {
|
|
428
|
+
/**
|
|
429
|
+
* The settings of the schedule.
|
|
430
|
+
*/
|
|
431
|
+
export interface Settings {
|
|
432
|
+
/**
|
|
433
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
434
|
+
* Accepted values are defined by the tz database, listed here:
|
|
435
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
436
|
+
*/
|
|
437
|
+
timezone?: string;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
175
441
|
export interface ScheduleRetrieveParams {
|
|
176
442
|
expand?: string;
|
|
177
443
|
}
|
|
178
444
|
|
|
445
|
+
export interface ScheduleUpdateParams {
|
|
446
|
+
/**
|
|
447
|
+
* The IDs of the managers of the schedule.
|
|
448
|
+
*/
|
|
449
|
+
managers_id?: Array<string>;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* The IDs of the members of the schedule.
|
|
453
|
+
*/
|
|
454
|
+
members_id?: Array<string>;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* The name of the schedule.
|
|
458
|
+
*/
|
|
459
|
+
name?: string;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The IDs of the observers of the schedule.
|
|
463
|
+
*/
|
|
464
|
+
observers_id?: Array<string>;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* The settings of the schedule.
|
|
468
|
+
*/
|
|
469
|
+
settings?: ScheduleUpdateParams.Settings;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export namespace ScheduleUpdateParams {
|
|
473
|
+
/**
|
|
474
|
+
* The settings of the schedule.
|
|
475
|
+
*/
|
|
476
|
+
export interface Settings {
|
|
477
|
+
/**
|
|
478
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
479
|
+
* Accepted values are defined by the tz database, listed here:
|
|
480
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
481
|
+
*/
|
|
482
|
+
timezone?: string;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
179
486
|
export declare namespace Schedules {
|
|
180
487
|
export {
|
|
181
488
|
type ScheduleListResponse as ScheduleListResponse,
|
|
489
|
+
type ScheduleCreateResponse as ScheduleCreateResponse,
|
|
182
490
|
type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
|
|
491
|
+
type ScheduleUpdateResponse as ScheduleUpdateResponse,
|
|
183
492
|
type ScheduleListResponsesPageCursorURL as ScheduleListResponsesPageCursorURL,
|
|
184
493
|
type ScheduleListParams as ScheduleListParams,
|
|
494
|
+
type ScheduleCreateParams as ScheduleCreateParams,
|
|
185
495
|
type ScheduleRetrieveParams as ScheduleRetrieveParams,
|
|
496
|
+
type ScheduleUpdateParams as ScheduleUpdateParams,
|
|
186
497
|
};
|
|
187
498
|
}
|