@rippling/rippling-sdk 0.2.0-alpha.24 → 0.2.0-alpha.25
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 +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/functions.d.mts +3 -0
- package/functions.d.mts.map +1 -1
- package/functions.d.ts +3 -0
- package/functions.d.ts.map +1 -1
- package/functions.js.map +1 -1
- package/functions.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/shiftassignments.d.mts +12 -6
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +12 -6
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +2 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +2 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +1 -0
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +1 -0
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +2 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +2 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +1 -0
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +1 -0
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/members.d.mts +13 -0
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +13 -0
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +1 -0
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +1 -0
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/unassignedshifts.d.mts +348 -17
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +348 -17
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +6 -0
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +6 -0
- package/resources/unassignedshifts.mjs.map +1 -1
- package/src/client.ts +4 -0
- package/src/functions.ts +6 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/shiftassignments.ts +12 -6
- package/src/resources/supergroups/exclusion-members.ts +3 -0
- package/src/resources/supergroups/inclusion-members.ts +3 -0
- package/src/resources/supergroups/members.ts +16 -0
- package/src/resources/unassignedshifts.ts +422 -19
- 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
|
@@ -15,6 +15,10 @@ export declare class Unassignedshifts extends APIResource {
|
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
16
16
|
*/
|
|
17
17
|
list(query?: UnassignedshiftListParams | null | undefined, options?: RequestOptions): PagePromise<UnassignedshiftListResponsesPageCursorURL, UnassignedshiftListResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a new unassigned shift
|
|
20
|
+
*/
|
|
21
|
+
create(body: UnassignedshiftCreateParams, options?: RequestOptions): APIPromise<UnassignedshiftCreateResponse>;
|
|
18
22
|
/**
|
|
19
23
|
* Retrieve a specific unassigned shift
|
|
20
24
|
*/
|
|
@@ -26,18 +30,10 @@ export interface UnassignedshiftListResponse {
|
|
|
26
30
|
* Identifier field
|
|
27
31
|
*/
|
|
28
32
|
id: string;
|
|
29
|
-
/**
|
|
30
|
-
* The number of assigned shifts
|
|
31
|
-
*/
|
|
32
|
-
assigned_count: number;
|
|
33
33
|
/**
|
|
34
34
|
* Record creation date
|
|
35
35
|
*/
|
|
36
36
|
created_at: string;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the shift is open or empty
|
|
39
|
-
*/
|
|
40
|
-
is_open: boolean;
|
|
41
37
|
/**
|
|
42
38
|
* Whether the shift is published
|
|
43
39
|
*/
|
|
@@ -58,10 +54,19 @@ export interface UnassignedshiftListResponse {
|
|
|
58
54
|
* Record update date
|
|
59
55
|
*/
|
|
60
56
|
updated_at: string;
|
|
57
|
+
/**
|
|
58
|
+
* The number of assigned shifts
|
|
59
|
+
*/
|
|
60
|
+
assigned_count?: number;
|
|
61
61
|
/**
|
|
62
62
|
* The IDs of the assigned shifts that are part of this unassigned shift
|
|
63
63
|
*/
|
|
64
64
|
assigned_shift_ids?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Configuration for an open shift. If present, this is an open shift (workers can
|
|
67
|
+
* sign up). If absent/None, this is an empty shift (placeholder).
|
|
68
|
+
*/
|
|
69
|
+
open_shift_config?: unknown;
|
|
65
70
|
/**
|
|
66
71
|
* The published version of the shift
|
|
67
72
|
*/
|
|
@@ -269,6 +274,255 @@ export declare namespace UnassignedshiftListResponse {
|
|
|
269
274
|
}
|
|
270
275
|
}
|
|
271
276
|
}
|
|
277
|
+
export interface UnassignedshiftCreateResponse {
|
|
278
|
+
/**
|
|
279
|
+
* Identifier field
|
|
280
|
+
*/
|
|
281
|
+
id: string;
|
|
282
|
+
/**
|
|
283
|
+
* Record creation date
|
|
284
|
+
*/
|
|
285
|
+
created_at: string;
|
|
286
|
+
/**
|
|
287
|
+
* Whether the shift is published
|
|
288
|
+
*/
|
|
289
|
+
is_published: boolean;
|
|
290
|
+
/**
|
|
291
|
+
* The ID of the schedule
|
|
292
|
+
*/
|
|
293
|
+
schedule_id: string;
|
|
294
|
+
/**
|
|
295
|
+
* The data of the shift
|
|
296
|
+
*/
|
|
297
|
+
shift_data: UnassignedshiftCreateResponse.ShiftData;
|
|
298
|
+
/**
|
|
299
|
+
* The target count of the shift
|
|
300
|
+
*/
|
|
301
|
+
target_count: number;
|
|
302
|
+
/**
|
|
303
|
+
* Record update date
|
|
304
|
+
*/
|
|
305
|
+
updated_at: string;
|
|
306
|
+
/**
|
|
307
|
+
* The number of assigned shifts
|
|
308
|
+
*/
|
|
309
|
+
assigned_count?: number;
|
|
310
|
+
/**
|
|
311
|
+
* The IDs of the assigned shifts that are part of this unassigned shift
|
|
312
|
+
*/
|
|
313
|
+
assigned_shift_ids?: Array<string>;
|
|
314
|
+
/**
|
|
315
|
+
* Configuration for an open shift. If present, this is an open shift (workers can
|
|
316
|
+
* sign up). If absent/None, this is an empty shift (placeholder).
|
|
317
|
+
*/
|
|
318
|
+
open_shift_config?: unknown;
|
|
319
|
+
/**
|
|
320
|
+
* The published version of the shift
|
|
321
|
+
*/
|
|
322
|
+
published_version?: UnassignedshiftCreateResponse.PublishedVersion;
|
|
323
|
+
/**
|
|
324
|
+
* The schedule
|
|
325
|
+
*
|
|
326
|
+
* Expandable field
|
|
327
|
+
*/
|
|
328
|
+
schedule?: UnassignedshiftCreateResponse.Schedule;
|
|
329
|
+
}
|
|
330
|
+
export declare namespace UnassignedshiftCreateResponse {
|
|
331
|
+
/**
|
|
332
|
+
* The data of the shift
|
|
333
|
+
*/
|
|
334
|
+
interface ShiftData {
|
|
335
|
+
/**
|
|
336
|
+
* The end time of the shift
|
|
337
|
+
*/
|
|
338
|
+
end_time: string;
|
|
339
|
+
/**
|
|
340
|
+
* The start time of the shift
|
|
341
|
+
*/
|
|
342
|
+
start_time: string;
|
|
343
|
+
/**
|
|
344
|
+
* The breaks of the shift
|
|
345
|
+
*/
|
|
346
|
+
shift_breaks?: Array<ShiftData.ShiftBreak>;
|
|
347
|
+
/**
|
|
348
|
+
* The segments of the shift
|
|
349
|
+
*/
|
|
350
|
+
shift_segments?: Array<ShiftData.ShiftSegment>;
|
|
351
|
+
}
|
|
352
|
+
namespace ShiftData {
|
|
353
|
+
interface ShiftBreak {
|
|
354
|
+
/**
|
|
355
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
356
|
+
*/
|
|
357
|
+
duration_minutes: number;
|
|
358
|
+
/**
|
|
359
|
+
* The start time of the shift break
|
|
360
|
+
*/
|
|
361
|
+
start_time: string;
|
|
362
|
+
/**
|
|
363
|
+
* The type of the shift break
|
|
364
|
+
*/
|
|
365
|
+
type: 'MEAL' | 'REST';
|
|
366
|
+
/**
|
|
367
|
+
* The end time of the shift break (calculated from start_time + duration_minutes)
|
|
368
|
+
*/
|
|
369
|
+
end_time?: string;
|
|
370
|
+
}
|
|
371
|
+
interface ShiftSegment {
|
|
372
|
+
/**
|
|
373
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
374
|
+
*/
|
|
375
|
+
duration_minutes: number;
|
|
376
|
+
/**
|
|
377
|
+
* The start time of the shift segment
|
|
378
|
+
*/
|
|
379
|
+
start_time: string;
|
|
380
|
+
/**
|
|
381
|
+
* The end time of the shift segment (calculated from start_time +
|
|
382
|
+
* duration_minutes)
|
|
383
|
+
*/
|
|
384
|
+
end_time?: string;
|
|
385
|
+
/**
|
|
386
|
+
* The IDs of the job codes associated with the shift segment
|
|
387
|
+
*/
|
|
388
|
+
job_codes_id?: Array<string>;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* The published version of the shift
|
|
393
|
+
*/
|
|
394
|
+
interface PublishedVersion {
|
|
395
|
+
/**
|
|
396
|
+
* The end time of the shift
|
|
397
|
+
*/
|
|
398
|
+
end_time: string;
|
|
399
|
+
/**
|
|
400
|
+
* The start time of the shift
|
|
401
|
+
*/
|
|
402
|
+
start_time: string;
|
|
403
|
+
/**
|
|
404
|
+
* The breaks of the shift
|
|
405
|
+
*/
|
|
406
|
+
shift_breaks?: Array<PublishedVersion.ShiftBreak>;
|
|
407
|
+
/**
|
|
408
|
+
* The segments of the shift
|
|
409
|
+
*/
|
|
410
|
+
shift_segments?: Array<PublishedVersion.ShiftSegment>;
|
|
411
|
+
}
|
|
412
|
+
namespace PublishedVersion {
|
|
413
|
+
interface ShiftBreak {
|
|
414
|
+
/**
|
|
415
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
416
|
+
*/
|
|
417
|
+
duration_minutes: number;
|
|
418
|
+
/**
|
|
419
|
+
* The start time of the shift break
|
|
420
|
+
*/
|
|
421
|
+
start_time: string;
|
|
422
|
+
/**
|
|
423
|
+
* The type of the shift break
|
|
424
|
+
*/
|
|
425
|
+
type: 'MEAL' | 'REST';
|
|
426
|
+
/**
|
|
427
|
+
* The end time of the shift break (calculated from start_time + duration_minutes)
|
|
428
|
+
*/
|
|
429
|
+
end_time?: string;
|
|
430
|
+
}
|
|
431
|
+
interface ShiftSegment {
|
|
432
|
+
/**
|
|
433
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
434
|
+
*/
|
|
435
|
+
duration_minutes: number;
|
|
436
|
+
/**
|
|
437
|
+
* The start time of the shift segment
|
|
438
|
+
*/
|
|
439
|
+
start_time: string;
|
|
440
|
+
/**
|
|
441
|
+
* The end time of the shift segment (calculated from start_time +
|
|
442
|
+
* duration_minutes)
|
|
443
|
+
*/
|
|
444
|
+
end_time?: string;
|
|
445
|
+
/**
|
|
446
|
+
* The IDs of the job codes associated with the shift segment
|
|
447
|
+
*/
|
|
448
|
+
job_codes_id?: Array<string>;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* The schedule
|
|
453
|
+
*
|
|
454
|
+
* Expandable field
|
|
455
|
+
*/
|
|
456
|
+
interface Schedule {
|
|
457
|
+
/**
|
|
458
|
+
* Identifier field
|
|
459
|
+
*/
|
|
460
|
+
id: string;
|
|
461
|
+
/**
|
|
462
|
+
* Record creation date
|
|
463
|
+
*/
|
|
464
|
+
created_at: string;
|
|
465
|
+
/**
|
|
466
|
+
* Record update date
|
|
467
|
+
*/
|
|
468
|
+
updated_at: string;
|
|
469
|
+
/**
|
|
470
|
+
* Whether the requesting role can edit the schedule.
|
|
471
|
+
*/
|
|
472
|
+
can_edit?: boolean;
|
|
473
|
+
/**
|
|
474
|
+
* The managers of the schedule.
|
|
475
|
+
*
|
|
476
|
+
* Expandable field
|
|
477
|
+
*/
|
|
478
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
479
|
+
/**
|
|
480
|
+
* The IDs of the managers of the schedule.
|
|
481
|
+
*/
|
|
482
|
+
managers_id?: Array<string>;
|
|
483
|
+
/**
|
|
484
|
+
* The members of the schedule.
|
|
485
|
+
*
|
|
486
|
+
* Expandable field
|
|
487
|
+
*/
|
|
488
|
+
members?: Array<WorkersAPI.Worker>;
|
|
489
|
+
/**
|
|
490
|
+
* The IDs of the members of the schedule.
|
|
491
|
+
*/
|
|
492
|
+
members_id?: Array<string>;
|
|
493
|
+
/**
|
|
494
|
+
* The name of the schedule.
|
|
495
|
+
*/
|
|
496
|
+
name?: string;
|
|
497
|
+
/**
|
|
498
|
+
* The observers of the schedule.
|
|
499
|
+
*
|
|
500
|
+
* Expandable field
|
|
501
|
+
*/
|
|
502
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
503
|
+
/**
|
|
504
|
+
* The IDs of the observers of the schedule.
|
|
505
|
+
*/
|
|
506
|
+
observers_id?: Array<string>;
|
|
507
|
+
/**
|
|
508
|
+
* The settings of the schedule.
|
|
509
|
+
*/
|
|
510
|
+
settings?: Schedule.Settings;
|
|
511
|
+
}
|
|
512
|
+
namespace Schedule {
|
|
513
|
+
/**
|
|
514
|
+
* The settings of the schedule.
|
|
515
|
+
*/
|
|
516
|
+
interface Settings {
|
|
517
|
+
/**
|
|
518
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
519
|
+
* Accepted values are defined by the tz database, listed here:
|
|
520
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
521
|
+
*/
|
|
522
|
+
timezone?: string;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
272
526
|
/**
|
|
273
527
|
* Meta information for the response.
|
|
274
528
|
*/
|
|
@@ -277,18 +531,10 @@ export interface UnassignedshiftRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
277
531
|
* Identifier field
|
|
278
532
|
*/
|
|
279
533
|
id: string;
|
|
280
|
-
/**
|
|
281
|
-
* The number of assigned shifts
|
|
282
|
-
*/
|
|
283
|
-
assigned_count: number;
|
|
284
534
|
/**
|
|
285
535
|
* Record creation date
|
|
286
536
|
*/
|
|
287
537
|
created_at: string;
|
|
288
|
-
/**
|
|
289
|
-
* Whether the shift is open or empty
|
|
290
|
-
*/
|
|
291
|
-
is_open: boolean;
|
|
292
538
|
/**
|
|
293
539
|
* Whether the shift is published
|
|
294
540
|
*/
|
|
@@ -309,10 +555,19 @@ export interface UnassignedshiftRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
309
555
|
* Record update date
|
|
310
556
|
*/
|
|
311
557
|
updated_at: string;
|
|
558
|
+
/**
|
|
559
|
+
* The number of assigned shifts
|
|
560
|
+
*/
|
|
561
|
+
assigned_count?: number;
|
|
312
562
|
/**
|
|
313
563
|
* The IDs of the assigned shifts that are part of this unassigned shift
|
|
314
564
|
*/
|
|
315
565
|
assigned_shift_ids?: Array<string>;
|
|
566
|
+
/**
|
|
567
|
+
* Configuration for an open shift. If present, this is an open shift (workers can
|
|
568
|
+
* sign up). If absent/None, this is an empty shift (placeholder).
|
|
569
|
+
*/
|
|
570
|
+
open_shift_config?: unknown;
|
|
316
571
|
/**
|
|
317
572
|
* The published version of the shift
|
|
318
573
|
*/
|
|
@@ -526,10 +781,86 @@ export interface UnassignedshiftListParams {
|
|
|
526
781
|
filter?: string;
|
|
527
782
|
order_by?: string;
|
|
528
783
|
}
|
|
784
|
+
export interface UnassignedshiftCreateParams {
|
|
785
|
+
/**
|
|
786
|
+
* Whether the shift is published
|
|
787
|
+
*/
|
|
788
|
+
is_published: boolean;
|
|
789
|
+
/**
|
|
790
|
+
* The ID of the schedule
|
|
791
|
+
*/
|
|
792
|
+
schedule_id: string;
|
|
793
|
+
/**
|
|
794
|
+
* The data of the shift
|
|
795
|
+
*/
|
|
796
|
+
shift_data: UnassignedshiftCreateParams.ShiftData;
|
|
797
|
+
/**
|
|
798
|
+
* The target count of the shift
|
|
799
|
+
*/
|
|
800
|
+
target_count: number;
|
|
801
|
+
/**
|
|
802
|
+
* Configuration for an open shift. If present, this is an open shift (workers can
|
|
803
|
+
* sign up). If absent/None, this is an empty shift (placeholder).
|
|
804
|
+
*/
|
|
805
|
+
open_shift_config?: unknown;
|
|
806
|
+
}
|
|
807
|
+
export declare namespace UnassignedshiftCreateParams {
|
|
808
|
+
/**
|
|
809
|
+
* The data of the shift
|
|
810
|
+
*/
|
|
811
|
+
interface ShiftData {
|
|
812
|
+
/**
|
|
813
|
+
* The end time of the shift
|
|
814
|
+
*/
|
|
815
|
+
end_time: string;
|
|
816
|
+
/**
|
|
817
|
+
* The start time of the shift
|
|
818
|
+
*/
|
|
819
|
+
start_time: string;
|
|
820
|
+
/**
|
|
821
|
+
* The breaks of the shift
|
|
822
|
+
*/
|
|
823
|
+
shift_breaks?: Array<ShiftData.ShiftBreak>;
|
|
824
|
+
/**
|
|
825
|
+
* The segments of the shift
|
|
826
|
+
*/
|
|
827
|
+
shift_segments?: Array<ShiftData.ShiftSegment>;
|
|
828
|
+
}
|
|
829
|
+
namespace ShiftData {
|
|
830
|
+
interface ShiftBreak {
|
|
831
|
+
/**
|
|
832
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
833
|
+
*/
|
|
834
|
+
duration_minutes: number;
|
|
835
|
+
/**
|
|
836
|
+
* The start time of the shift break
|
|
837
|
+
*/
|
|
838
|
+
start_time: string;
|
|
839
|
+
/**
|
|
840
|
+
* The type of the shift break
|
|
841
|
+
*/
|
|
842
|
+
type: 'MEAL' | 'REST';
|
|
843
|
+
}
|
|
844
|
+
interface ShiftSegment {
|
|
845
|
+
/**
|
|
846
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
847
|
+
*/
|
|
848
|
+
duration_minutes: number;
|
|
849
|
+
/**
|
|
850
|
+
* The start time of the shift segment
|
|
851
|
+
*/
|
|
852
|
+
start_time: string;
|
|
853
|
+
/**
|
|
854
|
+
* The IDs of the job codes associated with the shift segment
|
|
855
|
+
*/
|
|
856
|
+
job_codes_id?: Array<string>;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
}
|
|
529
860
|
export interface UnassignedshiftRetrieveParams {
|
|
530
861
|
expand?: string;
|
|
531
862
|
}
|
|
532
863
|
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, };
|
|
864
|
+
export { type UnassignedshiftListResponse as UnassignedshiftListResponse, type UnassignedshiftCreateResponse as UnassignedshiftCreateResponse, type UnassignedshiftRetrieveResponse as UnassignedshiftRetrieveResponse, type UnassignedshiftListResponsesPageCursorURL as UnassignedshiftListResponsesPageCursorURL, type UnassignedshiftListParams as UnassignedshiftListParams, type UnassignedshiftCreateParams as UnassignedshiftCreateParams, type UnassignedshiftRetrieveParams as UnassignedshiftRetrieveParams, };
|
|
534
865
|
}
|
|
535
866
|
//# sourceMappingURL=unassignedshifts.d.ts.map
|
|
@@ -1 +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;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;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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,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -21,6 +21,12 @@ class Unassignedshifts extends resource_1.APIResource {
|
|
|
21
21
|
...options,
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Create a new unassigned shift
|
|
26
|
+
*/
|
|
27
|
+
create(body, options) {
|
|
28
|
+
return this._client.post('/unassignedshifts', { body, ...options });
|
|
29
|
+
}
|
|
24
30
|
/**
|
|
25
31
|
* Retrieve a specific unassigned shift
|
|
26
32
|
*/
|
|
@@ -1 +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;
|
|
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,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,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;AAxCD,4CAwCC"}
|
|
@@ -18,6 +18,12 @@ export class Unassignedshifts extends APIResource {
|
|
|
18
18
|
...options,
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Create a new unassigned shift
|
|
23
|
+
*/
|
|
24
|
+
create(body, options) {
|
|
25
|
+
return this._client.post('/unassignedshifts', { body, ...options });
|
|
26
|
+
}
|
|
21
27
|
/**
|
|
22
28
|
* Retrieve a specific unassigned shift
|
|
23
29
|
*/
|
|
@@ -1 +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"}
|
|
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,MAAM,CACJ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,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"}
|
package/src/client.ts
CHANGED
|
@@ -309,6 +309,8 @@ import {
|
|
|
309
309
|
TracksPageCursorURL,
|
|
310
310
|
} from './resources/tracks';
|
|
311
311
|
import {
|
|
312
|
+
UnassignedshiftCreateParams,
|
|
313
|
+
UnassignedshiftCreateResponse,
|
|
312
314
|
UnassignedshiftListParams,
|
|
313
315
|
UnassignedshiftListResponse,
|
|
314
316
|
UnassignedshiftListResponsesPageCursorURL,
|
|
@@ -1560,9 +1562,11 @@ export declare namespace RipplingSDK {
|
|
|
1560
1562
|
export {
|
|
1561
1563
|
Unassignedshifts as Unassignedshifts,
|
|
1562
1564
|
type UnassignedshiftListResponse as UnassignedshiftListResponse,
|
|
1565
|
+
type UnassignedshiftCreateResponse as UnassignedshiftCreateResponse,
|
|
1563
1566
|
type UnassignedshiftRetrieveResponse as UnassignedshiftRetrieveResponse,
|
|
1564
1567
|
type UnassignedshiftListResponsesPageCursorURL as UnassignedshiftListResponsesPageCursorURL,
|
|
1565
1568
|
type UnassignedshiftListParams as UnassignedshiftListParams,
|
|
1569
|
+
type UnassignedshiftCreateParams as UnassignedshiftCreateParams,
|
|
1566
1570
|
type UnassignedshiftRetrieveParams as UnassignedshiftRetrieveParams,
|
|
1567
1571
|
};
|
|
1568
1572
|
|
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;
|
package/src/resources/index.ts
CHANGED
|
@@ -317,8 +317,10 @@ export {
|
|
|
317
317
|
export {
|
|
318
318
|
Unassignedshifts,
|
|
319
319
|
type UnassignedshiftListResponse,
|
|
320
|
+
type UnassignedshiftCreateResponse,
|
|
320
321
|
type UnassignedshiftRetrieveResponse,
|
|
321
322
|
type UnassignedshiftListParams,
|
|
323
|
+
type UnassignedshiftCreateParams,
|
|
322
324
|
type UnassignedshiftRetrieveParams,
|
|
323
325
|
type UnassignedshiftListResponsesPageCursorURL,
|
|
324
326
|
} from './unassignedshifts';
|
|
@@ -96,7 +96,8 @@ export interface ShiftassignmentListResponse {
|
|
|
96
96
|
updated_at: string;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* The ID of the worker
|
|
99
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
100
|
+
* shift.
|
|
100
101
|
*/
|
|
101
102
|
worker_id: string;
|
|
102
103
|
|
|
@@ -393,7 +394,8 @@ export interface ShiftassignmentCreateResponse {
|
|
|
393
394
|
updated_at: string;
|
|
394
395
|
|
|
395
396
|
/**
|
|
396
|
-
* The ID of the worker
|
|
397
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
398
|
+
* shift.
|
|
397
399
|
*/
|
|
398
400
|
worker_id: string;
|
|
399
401
|
|
|
@@ -693,7 +695,8 @@ export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
693
695
|
updated_at: string;
|
|
694
696
|
|
|
695
697
|
/**
|
|
696
|
-
* The ID of the worker
|
|
698
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
699
|
+
* shift.
|
|
697
700
|
*/
|
|
698
701
|
worker_id: string;
|
|
699
702
|
|
|
@@ -990,7 +993,8 @@ export interface ShiftassignmentUpdateResponse {
|
|
|
990
993
|
updated_at: string;
|
|
991
994
|
|
|
992
995
|
/**
|
|
993
|
-
* The ID of the worker
|
|
996
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
997
|
+
* shift.
|
|
994
998
|
*/
|
|
995
999
|
worker_id: string;
|
|
996
1000
|
|
|
@@ -1282,7 +1286,8 @@ export interface ShiftassignmentCreateParams {
|
|
|
1282
1286
|
shift_data: ShiftassignmentCreateParams.ShiftData;
|
|
1283
1287
|
|
|
1284
1288
|
/**
|
|
1285
|
-
* The ID of the worker
|
|
1289
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
1290
|
+
* shift.
|
|
1286
1291
|
*/
|
|
1287
1292
|
worker_id: string;
|
|
1288
1293
|
}
|
|
@@ -1372,7 +1377,8 @@ export interface ShiftassignmentUpdateParams {
|
|
|
1372
1377
|
shift_data: ShiftassignmentUpdateParams.ShiftData;
|
|
1373
1378
|
|
|
1374
1379
|
/**
|
|
1375
|
-
* The ID of the worker
|
|
1380
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
1381
|
+
* shift.
|
|
1376
1382
|
*/
|
|
1377
1383
|
worker_id: string;
|
|
1378
1384
|
}
|
|
@@ -13,6 +13,7 @@ export class ExclusionMembers extends APIResource {
|
|
|
13
13
|
* Retrieve supergroup exclusion members matching the input parameters.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
|
+
* - Expandable fields: `worker`
|
|
16
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
18
|
*/
|
|
18
19
|
list(
|
|
@@ -47,6 +48,8 @@ export interface ExclusionMemberUpdateResponse {
|
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
export interface ExclusionMemberListParams {
|
|
51
|
+
expand?: string;
|
|
52
|
+
|
|
50
53
|
order_by?: string;
|
|
51
54
|
}
|
|
52
55
|
|
|
@@ -13,6 +13,7 @@ export class InclusionMembers extends APIResource {
|
|
|
13
13
|
* Retrieve supergroup inclusion members matching the input parameters.
|
|
14
14
|
*
|
|
15
15
|
* - Requires: `API Tier 1`
|
|
16
|
+
* - Expandable fields: `worker`
|
|
16
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
18
|
*/
|
|
18
19
|
list(
|
|
@@ -47,6 +48,8 @@ export interface InclusionMemberUpdateResponse {
|
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
export interface InclusionMemberListParams {
|
|
51
|
+
expand?: string;
|
|
52
|
+
|
|
50
53
|
order_by?: string;
|
|
51
54
|
}
|
|
52
55
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as WorkersAPI from '../workers';
|
|
4
5
|
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
5
6
|
import { RequestOptions } from '../../internal/request-options';
|
|
6
7
|
import { path } from '../../internal/utils/path';
|
|
@@ -10,6 +11,7 @@ export class Members extends APIResource {
|
|
|
10
11
|
* Retrieve supergroup members matching the input parameters.
|
|
11
12
|
*
|
|
12
13
|
* - Requires: `API Tier 1`
|
|
14
|
+
* - Expandable fields: `worker`
|
|
13
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
14
16
|
*/
|
|
15
17
|
list(
|
|
@@ -51,9 +53,23 @@ export interface GroupMember {
|
|
|
51
53
|
* The group member's associated work email address.
|
|
52
54
|
*/
|
|
53
55
|
work_email?: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* The worker associated with this group member.
|
|
59
|
+
*
|
|
60
|
+
* Expandable field
|
|
61
|
+
*/
|
|
62
|
+
worker?: WorkersAPI.Worker;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The worker's identifier associated with this group member.
|
|
66
|
+
*/
|
|
67
|
+
worker_id?: string;
|
|
54
68
|
}
|
|
55
69
|
|
|
56
70
|
export interface MemberListParams {
|
|
71
|
+
expand?: string;
|
|
72
|
+
|
|
57
73
|
order_by?: string;
|
|
58
74
|
}
|
|
59
75
|
|