@rippling/rippling-sdk 0.2.0-alpha.105 → 0.2.0-alpha.106
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 +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/lib/charts/builders.d.mts +43 -0
- package/lib/charts/builders.d.mts.map +1 -0
- package/lib/charts/builders.d.ts +43 -0
- package/lib/charts/builders.d.ts.map +1 -0
- package/lib/charts/builders.js +77 -0
- package/lib/charts/builders.js.map +1 -0
- package/lib/charts/builders.mjs +70 -0
- package/lib/charts/builders.mjs.map +1 -0
- package/lib/charts/describe.d.mts +12 -0
- package/lib/charts/describe.d.mts.map +1 -0
- package/lib/charts/describe.d.ts +12 -0
- package/lib/charts/describe.d.ts.map +1 -0
- package/lib/charts/describe.js +64 -0
- package/lib/charts/describe.js.map +1 -0
- package/lib/charts/describe.mjs +61 -0
- package/lib/charts/describe.mjs.map +1 -0
- package/lib/charts/errors.d.mts +35 -0
- package/lib/charts/errors.d.mts.map +1 -0
- package/lib/charts/errors.d.ts +35 -0
- package/lib/charts/errors.d.ts.map +1 -0
- package/lib/charts/errors.js +55 -0
- package/lib/charts/errors.js.map +1 -0
- package/lib/charts/errors.mjs +47 -0
- package/lib/charts/errors.mjs.map +1 -0
- package/lib/charts/evaluate.d.mts +16 -0
- package/lib/charts/evaluate.d.mts.map +1 -0
- package/lib/charts/evaluate.d.ts +16 -0
- package/lib/charts/evaluate.d.ts.map +1 -0
- package/lib/charts/evaluate.js +99 -0
- package/lib/charts/evaluate.js.map +1 -0
- package/lib/charts/evaluate.mjs +96 -0
- package/lib/charts/evaluate.mjs.map +1 -0
- package/lib/charts/guards.d.mts +15 -0
- package/lib/charts/guards.d.mts.map +1 -0
- package/lib/charts/guards.d.ts +15 -0
- package/lib/charts/guards.d.ts.map +1 -0
- package/lib/charts/guards.js +38 -0
- package/lib/charts/guards.js.map +1 -0
- package/lib/charts/guards.mjs +34 -0
- package/lib/charts/guards.mjs.map +1 -0
- package/lib/charts/schema.d.mts +101 -0
- package/lib/charts/schema.d.mts.map +1 -0
- package/lib/charts/schema.d.ts +101 -0
- package/lib/charts/schema.d.ts.map +1 -0
- package/lib/charts/schema.js +74 -0
- package/lib/charts/schema.js.map +1 -0
- package/lib/charts/schema.mjs +71 -0
- package/lib/charts/schema.mjs.map +1 -0
- package/lib/charts/types.d.mts +79 -0
- package/lib/charts/types.d.mts.map +1 -0
- package/lib/charts/types.d.ts +79 -0
- package/lib/charts/types.d.ts.map +1 -0
- package/lib/charts/types.js +25 -0
- package/lib/charts/types.js.map +1 -0
- package/lib/charts/types.mjs +22 -0
- package/lib/charts/types.mjs.map +1 -0
- package/lib/charts.d.mts +7 -0
- package/lib/charts.d.mts.map +1 -0
- package/lib/charts.d.ts +7 -0
- package/lib/charts.d.ts.map +1 -0
- package/lib/charts.js +32 -0
- package/lib/charts.js.map +1 -0
- package/lib/charts.mjs +7 -0
- package/lib/charts.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/hire-requirements.d.mts +8 -74
- package/resources/hire-requirements.d.mts.map +1 -1
- package/resources/hire-requirements.d.ts +8 -74
- package/resources/hire-requirements.d.ts.map +1 -1
- package/resources/hire-requirements.js +3 -19
- package/resources/hire-requirements.js.map +1 -1
- package/resources/hire-requirements.mjs +3 -19
- package/resources/hire-requirements.mjs.map +1 -1
- package/resources/hires.d.mts +677 -142
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +677 -142
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +3 -4
- package/resources/hires.js.map +1 -1
- package/resources/hires.mjs +3 -4
- package/resources/hires.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/payroll-payment-mode-changes.d.mts +102 -0
- package/resources/payroll-payment-mode-changes.d.mts.map +1 -0
- package/resources/payroll-payment-mode-changes.d.ts +102 -0
- package/resources/payroll-payment-mode-changes.d.ts.map +1 -0
- package/resources/payroll-payment-mode-changes.js +54 -0
- package/resources/payroll-payment-mode-changes.js.map +1 -0
- package/resources/payroll-payment-mode-changes.mjs +50 -0
- package/resources/payroll-payment-mode-changes.mjs.map +1 -0
- package/resources/payroll-runs/index.d.mts +1 -0
- package/resources/payroll-runs/index.d.mts.map +1 -1
- package/resources/payroll-runs/index.d.ts +1 -0
- package/resources/payroll-runs/index.d.ts.map +1 -1
- package/resources/payroll-runs/index.js +3 -1
- package/resources/payroll-runs/index.js.map +1 -1
- package/resources/payroll-runs/index.mjs +1 -0
- package/resources/payroll-runs/index.mjs.map +1 -1
- package/resources/payroll-runs/off-cycle.d.mts +322 -0
- package/resources/payroll-runs/off-cycle.d.mts.map +1 -0
- package/resources/payroll-runs/off-cycle.d.ts +322 -0
- package/resources/payroll-runs/off-cycle.d.ts.map +1 -0
- package/resources/payroll-runs/off-cycle.js +112 -0
- package/resources/payroll-runs/off-cycle.js.map +1 -0
- package/resources/payroll-runs/off-cycle.mjs +108 -0
- package/resources/payroll-runs/off-cycle.mjs.map +1 -0
- package/resources/payroll-runs/payroll-runs.d.mts +4 -0
- package/resources/payroll-runs/payroll-runs.d.mts.map +1 -1
- package/resources/payroll-runs/payroll-runs.d.ts +4 -0
- package/resources/payroll-runs/payroll-runs.d.ts.map +1 -1
- package/resources/payroll-runs/payroll-runs.js +4 -0
- package/resources/payroll-runs/payroll-runs.js.map +1 -1
- package/resources/payroll-runs/payroll-runs.mjs +4 -0
- package/resources/payroll-runs/payroll-runs.mjs.map +1 -1
- package/resources/sandboxes.d.mts +17 -11
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +17 -11
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +1 -3
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +1 -3
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/variable-compensation-payout-labels.d.mts +1 -1
- package/resources/variable-compensation-payout-labels.d.ts +1 -1
- package/resources/variable-compensation-payout-labels.js +1 -1
- package/resources/variable-compensation-payout-labels.mjs +1 -1
- package/resources/variable-compensation-payout-types.d.mts +1 -1
- package/resources/variable-compensation-payout-types.d.ts +1 -1
- package/resources/variable-compensation-payout-types.js +1 -1
- package/resources/variable-compensation-payout-types.mjs +1 -1
- package/resources/variable-compensation-payouts.d.mts +1 -1
- package/resources/variable-compensation-payouts.d.ts +1 -1
- package/resources/variable-compensation-payouts.js +1 -1
- package/resources/variable-compensation-payouts.mjs +1 -1
- package/src/client.ts +16 -0
- package/src/lib/charts/README.md +114 -0
- package/src/lib/charts/builders.ts +90 -0
- package/src/lib/charts/describe.ts +67 -0
- package/src/lib/charts/errors.ts +48 -0
- package/src/lib/charts/evaluate.ts +114 -0
- package/src/lib/charts/guards.ts +42 -0
- package/src/lib/charts/schema.ts +72 -0
- package/src/lib/charts/types.ts +113 -0
- package/src/lib/charts.ts +43 -0
- package/src/resources/hire-requirements.ts +8 -85
- package/src/resources/hires.ts +866 -213
- package/src/resources/index.ts +5 -0
- package/src/resources/payroll-payment-mode-changes.ts +121 -0
- package/src/resources/payroll-runs/index.ts +1 -0
- package/src/resources/payroll-runs/off-cycle.ts +372 -0
- package/src/resources/payroll-runs/payroll-runs.ts +10 -0
- package/src/resources/sandboxes.ts +17 -11
- package/src/resources/variable-compensation-payout-labels.ts +1 -1
- package/src/resources/variable-compensation-payout-types.ts +1 -1
- package/src/resources/variable-compensation-payouts.ts +1 -1
- 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
package/src/resources/hires.ts
CHANGED
|
@@ -10,9 +10,9 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
10
10
|
*/
|
|
11
11
|
export class Hires extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* Create or resume hire records for admin review. Idempotency-Key is required.
|
|
14
|
-
*
|
|
15
|
-
* hire.
|
|
13
|
+
* Create or resume hire records for admin review. Idempotency-Key is required.
|
|
14
|
+
* Direct hire and EOR are supported in AU, CA, CH, CN, DE, ES, FR, GB, HK, IE, IN,
|
|
15
|
+
* NL, NZ, and US. Use POST /draft-hires/ for the legacy draft-hire write path.
|
|
16
16
|
*
|
|
17
17
|
* @example HTTP
|
|
18
18
|
* Representative request and response shapes.
|
|
@@ -33,7 +33,6 @@ export class Hires extends APIResource {
|
|
|
33
33
|
* },
|
|
34
34
|
* "employment": {
|
|
35
35
|
* "employment_type_id": "employment_type_id",
|
|
36
|
-
* "legal_entity_id": "legal_entity_id",
|
|
37
36
|
* "start_date": "start_date",
|
|
38
37
|
* "title": "title"
|
|
39
38
|
* },
|
|
@@ -93,7 +92,8 @@ export interface HireCreateResponse {
|
|
|
93
92
|
ack: boolean;
|
|
94
93
|
|
|
95
94
|
/**
|
|
96
|
-
* One result per request hire, in request order.
|
|
95
|
+
* One result per request hire, in request order. HTTP 200 means the envelope was
|
|
96
|
+
* accepted; each item's status is the outcome.
|
|
97
97
|
*/
|
|
98
98
|
results: Array<HireCreateResponse.Result>;
|
|
99
99
|
}
|
|
@@ -188,14 +188,18 @@ export interface HireCreateParams {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
export namespace HireCreateParams {
|
|
191
|
+
/**
|
|
192
|
+
* One hire on POST /hires/. Country-specific employment fields come from GET
|
|
193
|
+
* /hire-requirements/.
|
|
194
|
+
*/
|
|
191
195
|
export interface Hire {
|
|
192
196
|
/**
|
|
193
|
-
*
|
|
197
|
+
* Pay for the hire.
|
|
194
198
|
*/
|
|
195
199
|
compensation: Hire.Compensation;
|
|
196
200
|
|
|
197
201
|
/**
|
|
198
|
-
*
|
|
202
|
+
* The job: title, hours, and country-specific details.
|
|
199
203
|
*/
|
|
200
204
|
employment: Hire.Employment;
|
|
201
205
|
|
|
@@ -210,34 +214,30 @@ export namespace HireCreateParams {
|
|
|
210
214
|
work_location: Hire.WorkLocation;
|
|
211
215
|
|
|
212
216
|
/**
|
|
213
|
-
*
|
|
214
|
-
*/
|
|
215
|
-
additional_employment_fields?: Hire.AdditionalEmploymentFields;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Caller-supplied correlation id echoed in the response.
|
|
217
|
+
* Optional id echoed on that hire's result. Not a hire field.
|
|
219
218
|
*/
|
|
220
219
|
client_request_id?: string;
|
|
221
220
|
|
|
222
221
|
/**
|
|
223
|
-
*
|
|
222
|
+
* Company-specific hiring fields.
|
|
224
223
|
*/
|
|
225
|
-
|
|
224
|
+
custom_fields?: Array<Hire.CustomField>;
|
|
226
225
|
|
|
227
226
|
/**
|
|
228
|
-
*
|
|
227
|
+
* direct_hire or eor. An omitted value defaults to direct_hire.
|
|
229
228
|
*/
|
|
230
|
-
|
|
229
|
+
hire_type?: string;
|
|
231
230
|
|
|
232
231
|
/**
|
|
233
|
-
* Optional
|
|
232
|
+
* Optional links to an ATS applicant, open seat, prior employee, or hire already
|
|
233
|
+
* in progress.
|
|
234
234
|
*/
|
|
235
|
-
|
|
235
|
+
related_records?: Hire.RelatedRecords;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
export namespace Hire {
|
|
239
239
|
/**
|
|
240
|
-
*
|
|
240
|
+
* Pay for the hire.
|
|
241
241
|
*/
|
|
242
242
|
export interface Compensation {
|
|
243
243
|
/**
|
|
@@ -466,7 +466,7 @@ export namespace HireCreateParams {
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
/**
|
|
469
|
-
*
|
|
469
|
+
* The job: title, hours, and country-specific details.
|
|
470
470
|
*/
|
|
471
471
|
export interface Employment {
|
|
472
472
|
/**
|
|
@@ -474,11 +474,6 @@ export namespace HireCreateParams {
|
|
|
474
474
|
*/
|
|
475
475
|
employment_type_id: string;
|
|
476
476
|
|
|
477
|
-
/**
|
|
478
|
-
* Legal entity id from GET /legal-entities/. Must be an active entity.
|
|
479
|
-
*/
|
|
480
|
-
legal_entity_id: string;
|
|
481
|
-
|
|
482
477
|
/**
|
|
483
478
|
* Start date in YYYY-MM-DD format.
|
|
484
479
|
*/
|
|
@@ -489,310 +484,967 @@ export namespace HireCreateParams {
|
|
|
489
484
|
*/
|
|
490
485
|
title: string;
|
|
491
486
|
|
|
487
|
+
/**
|
|
488
|
+
* Required for FR EOR. Field of work, such as Engineering.
|
|
489
|
+
*/
|
|
490
|
+
applicable_fields_of_work?: string;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Required for AU, CA, IN, and GB EOR. True if this person is authorized to work
|
|
494
|
+
* in the country.
|
|
495
|
+
*/
|
|
496
|
+
authorized_to_work?: boolean;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Required for ES EOR. Collective agreement area.
|
|
500
|
+
*/
|
|
501
|
+
cba_area?: string;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Collective bargaining agreement code.
|
|
505
|
+
*/
|
|
506
|
+
cba_code?: string;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Collective bargaining agreement group.
|
|
510
|
+
*/
|
|
511
|
+
cba_group?: string;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Collective bargaining agreement level.
|
|
515
|
+
*/
|
|
516
|
+
cba_level?: string;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Set to true if this person earns tips.
|
|
520
|
+
*/
|
|
521
|
+
collects_tips?: boolean;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Required for EOR outside the US. True if this person is moving from another EOR.
|
|
525
|
+
*/
|
|
526
|
+
coming_from_another_eor?: boolean;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Date this person first joined the company, if earlier than start_date.
|
|
530
|
+
*/
|
|
531
|
+
company_start_date?: string;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* Required for FR EOR. Project description for this hire.
|
|
535
|
+
*/
|
|
536
|
+
consultant_project_description?: string;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Ongoing or fixed-term employment contract.
|
|
540
|
+
*/
|
|
541
|
+
contract?: Employment.Contract;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Country-specific contract subtype.
|
|
545
|
+
*/
|
|
546
|
+
contract_subtype?: string;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Required for CN EOR. City used for social contributions, such as SHANGHAI.
|
|
550
|
+
*/
|
|
551
|
+
contributing_city?: string;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Social security contribution group.
|
|
555
|
+
*/
|
|
556
|
+
contribution_group?: string;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Required for EOR. Must be true. Confirms the EOR cost-review acknowledgement.
|
|
560
|
+
*/
|
|
561
|
+
cost_review_acknowledgement?: boolean;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Country job classification, such as MANAGING_DIRECTOR for Germany.
|
|
565
|
+
*/
|
|
566
|
+
country_job_classification?: string;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Set to true when an Australian modern award covers this job.
|
|
570
|
+
*/
|
|
571
|
+
covered_by_modern_award?: boolean;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Hours for each weekday. Use null for days off. Keys are monday through sunday.
|
|
575
|
+
*/
|
|
576
|
+
custom_working_hours?: Employment.CustomWorkingHours;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* France days worked each week, such as 5.
|
|
580
|
+
*/
|
|
581
|
+
days_worked_per_week?: number;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* France days worked each year. Full-time day tracking is usually 218.
|
|
585
|
+
*/
|
|
586
|
+
days_worked_per_year?: number;
|
|
587
|
+
|
|
492
588
|
/**
|
|
493
589
|
* Department id from GET /departments/.
|
|
494
590
|
*/
|
|
495
591
|
department_id?: string;
|
|
496
592
|
|
|
593
|
+
/**
|
|
594
|
+
* Detailed contract type.
|
|
595
|
+
*/
|
|
596
|
+
detailed_contract_type?: string;
|
|
597
|
+
|
|
497
598
|
/**
|
|
498
599
|
* Job duties.
|
|
499
600
|
*/
|
|
500
601
|
duties?: string;
|
|
501
602
|
|
|
502
603
|
/**
|
|
503
|
-
*
|
|
604
|
+
* Employee pension contribution type and value.
|
|
504
605
|
*/
|
|
505
|
-
|
|
606
|
+
employee_pension_contribution?: Employment.EmployeePensionContribution;
|
|
506
607
|
|
|
507
608
|
/**
|
|
508
|
-
*
|
|
609
|
+
* Required for CH EOR. Qualification for this role, such as Engineer.
|
|
509
610
|
*/
|
|
510
|
-
|
|
611
|
+
employee_qualification?: string;
|
|
511
612
|
|
|
512
613
|
/**
|
|
513
|
-
*
|
|
614
|
+
* Employer pension contribution type and value.
|
|
514
615
|
*/
|
|
515
|
-
|
|
616
|
+
employer_pension_contribution?: Employment.EmployerPensionContribution;
|
|
516
617
|
|
|
517
618
|
/**
|
|
518
|
-
*
|
|
619
|
+
* Required for DE and FR EOR. Germany uses AUG. France uses LABOR_PORTAGE.
|
|
519
620
|
*/
|
|
520
|
-
|
|
621
|
+
employment_model?: string;
|
|
521
622
|
|
|
522
623
|
/**
|
|
523
|
-
*
|
|
524
|
-
* and non-exempt.
|
|
624
|
+
* Required for EOR. Must be true. Confirms the EOR eligibility acknowledgement.
|
|
525
625
|
*/
|
|
526
|
-
|
|
626
|
+
eor_eligibility_acknowledgement?: boolean;
|
|
527
627
|
|
|
528
628
|
/**
|
|
529
|
-
*
|
|
629
|
+
* Required for HK, CH, and NZ EOR. HK and CH must be false. NZ must be true.
|
|
530
630
|
*/
|
|
531
|
-
|
|
631
|
+
eor_screenout_answer?: boolean;
|
|
532
632
|
|
|
533
633
|
/**
|
|
534
|
-
*
|
|
535
|
-
* when Hiring Flow collects exact weekly hours for the country/employment type.
|
|
634
|
+
* Set if this person is an expatriate.
|
|
536
635
|
*/
|
|
537
|
-
|
|
636
|
+
expat_identifier?: string;
|
|
538
637
|
|
|
539
638
|
/**
|
|
540
|
-
*
|
|
541
|
-
* value.
|
|
639
|
+
* Set to true if this person is on an expatriate assignment.
|
|
542
640
|
*/
|
|
543
|
-
|
|
641
|
+
expatriate_assignment?: boolean;
|
|
544
642
|
|
|
545
643
|
/**
|
|
546
|
-
*
|
|
644
|
+
* Pagos extra. Skip if they are not eligible.
|
|
547
645
|
*/
|
|
548
|
-
|
|
646
|
+
extra_monthly_payments?: unknown;
|
|
549
647
|
|
|
550
648
|
/**
|
|
551
|
-
*
|
|
552
|
-
* custom week.
|
|
649
|
+
* Required for FR EOR. True if this hire should be a fixed-term contract.
|
|
553
650
|
*/
|
|
554
|
-
|
|
651
|
+
fixed_term_contract?: boolean;
|
|
555
652
|
|
|
556
653
|
/**
|
|
557
|
-
*
|
|
654
|
+
* Why the contract is fixed-term. Required when contract type is FIXED.
|
|
558
655
|
*/
|
|
559
|
-
|
|
560
|
-
}
|
|
656
|
+
fixed_term_justification?: string;
|
|
561
657
|
|
|
562
|
-
export namespace Employment {
|
|
563
658
|
/**
|
|
564
|
-
*
|
|
565
|
-
* custom week.
|
|
659
|
+
* Reason for a fixed-term contract. Required when contract type is FIXED.
|
|
566
660
|
*/
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* Work pattern template id, for example US or INLINE.
|
|
570
|
-
*/
|
|
571
|
-
id: string;
|
|
661
|
+
fixed_term_reason?: string;
|
|
572
662
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
663
|
+
/**
|
|
664
|
+
* Required for DE EOR. Framework agreement additional benefits.
|
|
665
|
+
*/
|
|
666
|
+
framework_additional_benefits?: string;
|
|
577
667
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
}
|
|
668
|
+
/**
|
|
669
|
+
* Required for DE EOR. Framework agreement continued remuneration.
|
|
670
|
+
*/
|
|
671
|
+
framework_continued_remuneration?: string;
|
|
583
672
|
|
|
584
673
|
/**
|
|
585
|
-
*
|
|
674
|
+
* Required for DE EOR. Framework agreement monthly gross salary.
|
|
586
675
|
*/
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* Repeating week definition for the schedule.
|
|
590
|
-
*/
|
|
591
|
-
recurrence: WorkingHoursSchedule.Recurrence;
|
|
676
|
+
framework_monthly_gross_salary?: Employment.FrameworkMonthlyGrossSalary;
|
|
592
677
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
678
|
+
/**
|
|
679
|
+
* Required for DE EOR. Framework agreement other working conditions.
|
|
680
|
+
*/
|
|
681
|
+
framework_other_conditions?: string;
|
|
597
682
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
683
|
+
/**
|
|
684
|
+
* Required for DE EOR. Framework agreement overtime pay.
|
|
685
|
+
*/
|
|
686
|
+
framework_overtime_pay?: string;
|
|
602
687
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
}
|
|
688
|
+
/**
|
|
689
|
+
* Required for DE EOR. Framework agreement rest periods.
|
|
690
|
+
*/
|
|
691
|
+
framework_rest_periods?: string;
|
|
608
692
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
export interface Recurrence {
|
|
614
|
-
/**
|
|
615
|
-
* One entry per day in the cycle, length times 7, starting at start_day_of_week.
|
|
616
|
-
*/
|
|
617
|
-
expansion: Array<Recurrence.Expansion>;
|
|
693
|
+
/**
|
|
694
|
+
* Required for DE EOR. Framework agreement shared facilities.
|
|
695
|
+
*/
|
|
696
|
+
framework_shared_facilities?: string;
|
|
618
697
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
698
|
+
/**
|
|
699
|
+
* Required for DE EOR. Framework agreement surcharges.
|
|
700
|
+
*/
|
|
701
|
+
framework_surcharges?: string;
|
|
623
702
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
}
|
|
703
|
+
/**
|
|
704
|
+
* Required for DE EOR. Framework agreement vacation days.
|
|
705
|
+
*/
|
|
706
|
+
framework_vacation_days?: number;
|
|
629
707
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
*/
|
|
635
|
-
duration?: string;
|
|
708
|
+
/**
|
|
709
|
+
* Required for DE EOR. Framework agreement variable compensation.
|
|
710
|
+
*/
|
|
711
|
+
framework_variable_compensation?: string;
|
|
636
712
|
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
713
|
+
/**
|
|
714
|
+
* Required for DE EOR. Framework agreement regular weekly hours.
|
|
715
|
+
*/
|
|
716
|
+
framework_weekly_hours?: number;
|
|
641
717
|
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
718
|
+
/**
|
|
719
|
+
* Required for DE EOR. Framework agreement work wear.
|
|
720
|
+
*/
|
|
721
|
+
framework_work_wear?: string;
|
|
650
722
|
|
|
651
|
-
/**
|
|
652
|
-
* Personal information for the hire.
|
|
653
|
-
*/
|
|
654
|
-
export interface Personal {
|
|
655
723
|
/**
|
|
656
|
-
*
|
|
724
|
+
* Required for GB and IE EOR. True if this hire is from a merger or acquisition.
|
|
657
725
|
*/
|
|
658
|
-
|
|
726
|
+
hired_due_to_merger?: boolean;
|
|
659
727
|
|
|
660
728
|
/**
|
|
661
|
-
*
|
|
729
|
+
* Housing allowance amount.
|
|
662
730
|
*/
|
|
663
|
-
|
|
731
|
+
housing_allowance?: Employment.HousingAllowance;
|
|
664
732
|
|
|
665
733
|
/**
|
|
666
|
-
*
|
|
734
|
+
* Required for CN EOR. True if the company works with digital currency.
|
|
667
735
|
*/
|
|
668
|
-
|
|
736
|
+
involved_in_digital_currency?: boolean;
|
|
669
737
|
|
|
670
738
|
/**
|
|
671
|
-
*
|
|
739
|
+
* Set to true if this person is an apprentice.
|
|
672
740
|
*/
|
|
673
|
-
|
|
674
|
-
}
|
|
741
|
+
is_apprentice?: boolean;
|
|
675
742
|
|
|
676
|
-
/**
|
|
677
|
-
* Work location for the hire.
|
|
678
|
-
*/
|
|
679
|
-
export interface WorkLocation {
|
|
680
743
|
/**
|
|
681
|
-
*
|
|
682
|
-
* milestone accepts US and CA.
|
|
744
|
+
* Set to true if this person is a cadre dirigeant.
|
|
683
745
|
*/
|
|
684
|
-
|
|
746
|
+
is_executive?: boolean;
|
|
685
747
|
|
|
686
748
|
/**
|
|
687
|
-
*
|
|
749
|
+
* Set to true if this person works in R&D.
|
|
688
750
|
*/
|
|
689
|
-
|
|
751
|
+
is_rnd_employee?: boolean;
|
|
690
752
|
|
|
691
753
|
/**
|
|
692
|
-
*
|
|
754
|
+
* Set to true when this person is an Australian shift worker.
|
|
693
755
|
*/
|
|
694
|
-
|
|
756
|
+
is_shift_worker?: boolean;
|
|
695
757
|
|
|
696
758
|
/**
|
|
697
|
-
*
|
|
759
|
+
* US EEO-1 job category. Must be a value from GET /hire-requirements/
|
|
760
|
+
* allowed_values for that country.
|
|
698
761
|
*/
|
|
699
|
-
|
|
700
|
-
}
|
|
762
|
+
job_classification?: string;
|
|
701
763
|
|
|
702
|
-
/**
|
|
703
|
-
* US additional employment fields such as tips, SOC, and job classification.
|
|
704
|
-
*/
|
|
705
|
-
export interface AdditionalEmploymentFields {
|
|
706
764
|
/**
|
|
707
|
-
*
|
|
765
|
+
* Set to true when the German job classification is already known.
|
|
708
766
|
*/
|
|
709
|
-
|
|
767
|
+
job_classification_known?: boolean;
|
|
710
768
|
|
|
711
769
|
/**
|
|
712
|
-
*
|
|
770
|
+
* Job function id from GET /job-functions/.
|
|
713
771
|
*/
|
|
714
|
-
|
|
772
|
+
job_function_id?: string;
|
|
715
773
|
|
|
716
774
|
/**
|
|
717
|
-
*
|
|
775
|
+
* Required for CN EOR when the contributing city is Shanghai or Beijing.
|
|
718
776
|
*/
|
|
719
|
-
|
|
720
|
-
}
|
|
777
|
+
job_technology_focused?: boolean;
|
|
721
778
|
|
|
722
|
-
/**
|
|
723
|
-
* CA vacation, probation, and notice terms. Required for CA direct hire.
|
|
724
|
-
*/
|
|
725
|
-
export interface CountryJobFields {
|
|
726
779
|
/**
|
|
727
|
-
*
|
|
728
|
-
*
|
|
780
|
+
* Legal entity id from GET /legal-entities/. Required for direct_hire. Omit for
|
|
781
|
+
* eor.
|
|
729
782
|
*/
|
|
730
|
-
|
|
783
|
+
legal_entity_id?: string;
|
|
731
784
|
|
|
732
785
|
/**
|
|
733
|
-
*
|
|
786
|
+
* Level id from GET /levels/.
|
|
734
787
|
*/
|
|
735
|
-
|
|
788
|
+
level_id?: string;
|
|
736
789
|
|
|
737
790
|
/**
|
|
738
|
-
*
|
|
791
|
+
* Unpaid lunch break length in minutes.
|
|
739
792
|
*/
|
|
740
|
-
|
|
793
|
+
lunch_break_minutes?: number;
|
|
741
794
|
|
|
742
795
|
/**
|
|
743
|
-
*
|
|
796
|
+
* Manager worker id from GET /workers/. Omit or null for no manager.
|
|
744
797
|
*/
|
|
745
|
-
|
|
798
|
+
manager_id?: string;
|
|
746
799
|
|
|
747
800
|
/**
|
|
748
|
-
* Required when
|
|
801
|
+
* Required for FR EOR when a minimum contract length applies. Example: MONTHS.
|
|
749
802
|
*/
|
|
750
|
-
|
|
803
|
+
minimum_contract_length_unit?: string;
|
|
751
804
|
|
|
752
805
|
/**
|
|
753
|
-
* Required when
|
|
806
|
+
* Required for FR EOR when a minimum contract length applies.
|
|
754
807
|
*/
|
|
755
|
-
|
|
808
|
+
minimum_contract_length_value?: number;
|
|
756
809
|
|
|
757
810
|
/**
|
|
758
|
-
* Required when
|
|
811
|
+
* Required for FR EOR when a mission applies. Description of the mission or
|
|
812
|
+
* project.
|
|
759
813
|
*/
|
|
760
|
-
|
|
814
|
+
mission_description?: string;
|
|
761
815
|
|
|
762
816
|
/**
|
|
763
|
-
*
|
|
817
|
+
* Modern award that covers this job, if any.
|
|
764
818
|
*/
|
|
765
|
-
|
|
819
|
+
modern_award?: string;
|
|
766
820
|
|
|
767
821
|
/**
|
|
768
|
-
*
|
|
822
|
+
* Classification under that modern award.
|
|
769
823
|
*/
|
|
770
|
-
|
|
771
|
-
}
|
|
824
|
+
modern_award_classification?: string;
|
|
772
825
|
|
|
773
|
-
export namespace CountryJobFields {
|
|
774
826
|
/**
|
|
775
|
-
*
|
|
776
|
-
* US.
|
|
827
|
+
* Sub-level within that modern award classification.
|
|
777
828
|
*/
|
|
778
|
-
|
|
779
|
-
/**
|
|
780
|
-
* CA employment contract type: FIXED or INDEFINITE.
|
|
781
|
-
*/
|
|
782
|
-
type: string;
|
|
829
|
+
modern_award_sub_level?: string;
|
|
783
830
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
duration_unit?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Months of experience at this level before joining.
|
|
833
|
+
*/
|
|
834
|
+
months_of_experience_at_level?: number;
|
|
789
835
|
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
836
|
+
/**
|
|
837
|
+
* Set to true if they work remotely more than two days a week.
|
|
838
|
+
*/
|
|
839
|
+
more_than_two_remote_days?: boolean;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Extra employer MPF contribution, if you offer one.
|
|
843
|
+
*/
|
|
844
|
+
mpf_voluntary_employer_contribution?: Employment.MpfVoluntaryEmployerContribution;
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Required for FR EOR. ISO country code, such as FR.
|
|
848
|
+
*/
|
|
849
|
+
nationality?: string;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Required for AU, CA, IN, and GB EOR. True if a non-compete clause applies.
|
|
853
|
+
*/
|
|
854
|
+
non_compete?: boolean;
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Required for CH EOR. True if this person is not covered by a collective
|
|
858
|
+
* agreement.
|
|
859
|
+
*/
|
|
860
|
+
not_cba_employee?: boolean;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Standard notice, or a custom notice period.
|
|
864
|
+
*/
|
|
865
|
+
notice?: Employment.Notice;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Spanish occupation code (CNO).
|
|
869
|
+
*/
|
|
870
|
+
occupation_code?: string;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* EXEMPT or NON_EXEMPT. EXEMPT means the job is not eligible for overtime pay.
|
|
874
|
+
*/
|
|
875
|
+
overtime_exemption?: 'EXEMPT' | 'NON_EXEMPT';
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Required for NL EOR. True if the company has its own entity in the Netherlands.
|
|
879
|
+
*/
|
|
880
|
+
owns_entity_in_country?: boolean;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Required for GB EOR. Company-provided paid sick days.
|
|
884
|
+
*/
|
|
885
|
+
paid_sick_days?: number;
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* France PCS occupation code, such as 100X.
|
|
889
|
+
*/
|
|
890
|
+
pcs_code?: string;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Pension scheme name.
|
|
894
|
+
*/
|
|
895
|
+
pension_scheme_name?: string;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Standard probation, a shorter period, or no probation.
|
|
899
|
+
*/
|
|
900
|
+
probation?: Employment.Probation;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Set to true if prior seniority should count.
|
|
904
|
+
*/
|
|
905
|
+
recognize_seniority?: boolean;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Required for remote CH EOR. Currency type and value. Use 0 if none.
|
|
909
|
+
*/
|
|
910
|
+
remote_working_allowance?: Employment.RemoteWorkingAllowance;
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Rent tax deduction rate, if it applies.
|
|
914
|
+
*/
|
|
915
|
+
rent_tax_deduction_rate?: string;
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Required for FR EOR. Id of an active file upload owned by this company. Upload
|
|
919
|
+
* with POST /files/ using the documents.read-write scope, PUT the bytes to the
|
|
920
|
+
* returned URL, then POST /files/{id}/confirm-upload/ before sending this id. PDF
|
|
921
|
+
* or Word only. A URL is not accepted.
|
|
922
|
+
*/
|
|
923
|
+
resume_file_id?: string;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Required for CH EOR. FIXED_SCHEDULE or ROTATING_SHIFT_SCHEDULE.
|
|
927
|
+
*/
|
|
928
|
+
schedule_type?: string;
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* US occupation code, such as 15-1252.
|
|
932
|
+
*/
|
|
933
|
+
soc_code?: string;
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Required for FR EOR. True if this is a specific mission completing within 18
|
|
937
|
+
* months.
|
|
938
|
+
*/
|
|
939
|
+
specific_mission?: boolean;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Tax bracket.
|
|
943
|
+
*/
|
|
944
|
+
tax_bracket?: string;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Tax location.
|
|
948
|
+
*/
|
|
949
|
+
tax_location?: string;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Tax status.
|
|
953
|
+
*/
|
|
954
|
+
tax_status?: string;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Team ids from GET /teams/.
|
|
958
|
+
*/
|
|
959
|
+
team_ids?: Array<string>;
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Required for CH EOR. Currency type and value for the 13th month bonus.
|
|
963
|
+
*/
|
|
964
|
+
thirteenth_month_bonus?: Employment.ThirteenthMonthBonus;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Set to true when Spain requires training for this job.
|
|
968
|
+
*/
|
|
969
|
+
training_required?: boolean;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Transportation allowance amount.
|
|
973
|
+
*/
|
|
974
|
+
transportation_allowance?: Employment.TransportationAllowance;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Required for NL EOR. True if a collective agreement applies.
|
|
978
|
+
*/
|
|
979
|
+
union_activity?: boolean;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Set to true to start tenure on the start date. False keeps a prior tenure date
|
|
983
|
+
* unset.
|
|
984
|
+
*/
|
|
985
|
+
use_default_tenure?: boolean;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Statutory vacation, or a custom number of days.
|
|
989
|
+
*/
|
|
990
|
+
vacation?: Employment.Vacation;
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Vacation entitlement for this job.
|
|
994
|
+
*/
|
|
995
|
+
vacation_entitlement?: string;
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* Required for GB EOR. Vacation days that can roll over.
|
|
999
|
+
*/
|
|
1000
|
+
vacation_rollover_days?: number;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Required for FR EOR when the hire includes a signing bonus, target bonus, or
|
|
1004
|
+
* commission. Same upload sequence as resume_file_id. PDF or Word only. A URL is
|
|
1005
|
+
* not accepted.
|
|
1006
|
+
*/
|
|
1007
|
+
variable_compensation_plan_file_id?: string;
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* Hours this person is expected to work each week, such as 40. Full-time is
|
|
1011
|
+
* usually 40.
|
|
1012
|
+
*/
|
|
1013
|
+
weekly_hours?: string;
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* Weekly hours range when a range is collected instead of an exact value.
|
|
1017
|
+
*/
|
|
1018
|
+
weekly_hours_range?: string;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Work center.
|
|
1022
|
+
*/
|
|
1023
|
+
work_center?: string;
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Work email for the hire.
|
|
1027
|
+
*/
|
|
1028
|
+
work_email?: string;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Days worked, such as Monday through Friday.
|
|
1032
|
+
*/
|
|
1033
|
+
working_days?: Array<string>;
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Workday end time in HH:MM:SS, such as 17:00:00.
|
|
1037
|
+
*/
|
|
1038
|
+
working_hours_end?: string;
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Working hours calendar. Omit unless you need day-level hours.
|
|
1042
|
+
*/
|
|
1043
|
+
working_hours_schedule?: Employment.WorkingHoursSchedule;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Workday start time in HH:MM:SS, such as 09:00:00.
|
|
1047
|
+
*/
|
|
1048
|
+
working_hours_start?: string;
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* IANA timezone for the workday, such as Australia/Sydney.
|
|
1052
|
+
*/
|
|
1053
|
+
working_hours_timezone?: string;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Required for CN EOR. STANDARD_WORKING_HOURS or FLEXIBLE_WORKING_HOURS.
|
|
1057
|
+
*/
|
|
1058
|
+
working_hours_type?: string;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Required for DE EOR. True is rejected. A standard hire is false.
|
|
1062
|
+
*/
|
|
1063
|
+
working_in_construction?: boolean;
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* France working time unit, DAYS or HOURS.
|
|
1067
|
+
*/
|
|
1068
|
+
working_time_tracked_in?: string;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export namespace Employment {
|
|
1072
|
+
/**
|
|
1073
|
+
* Ongoing or fixed-term employment contract.
|
|
1074
|
+
*/
|
|
1075
|
+
export interface Contract {
|
|
1076
|
+
/**
|
|
1077
|
+
* Ongoing or fixed-term employment contract: FIXED or INDEFINITE.
|
|
1078
|
+
*/
|
|
1079
|
+
type: string;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Fixed-term duration unit when type is FIXED: DAYS, WEEKS, MONTHS, or YEARS.
|
|
1083
|
+
* Required when type is FIXED; omit for INDEFINITE.
|
|
1084
|
+
*/
|
|
1085
|
+
duration_unit?: string;
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Fixed-term duration length when type is FIXED. Required when type is FIXED once
|
|
1089
|
+
* duration_unit is set; omit for INDEFINITE.
|
|
1090
|
+
*/
|
|
1091
|
+
duration_value?: number;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Hours for each weekday. Use null for days off. Keys are monday through sunday.
|
|
1096
|
+
*/
|
|
1097
|
+
export interface CustomWorkingHours {
|
|
1098
|
+
/**
|
|
1099
|
+
* Hours worked on Friday.
|
|
1100
|
+
*/
|
|
1101
|
+
friday?: string;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Hours worked on Monday.
|
|
1105
|
+
*/
|
|
1106
|
+
monday?: string;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Hours worked on Saturday.
|
|
1110
|
+
*/
|
|
1111
|
+
saturday?: string;
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* Hours worked on Sunday.
|
|
1115
|
+
*/
|
|
1116
|
+
sunday?: string;
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Hours worked on Thursday.
|
|
1120
|
+
*/
|
|
1121
|
+
thursday?: string;
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* Hours worked on Tuesday.
|
|
1125
|
+
*/
|
|
1126
|
+
tuesday?: string;
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Hours worked on Wednesday.
|
|
1130
|
+
*/
|
|
1131
|
+
wednesday?: string;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Employee pension contribution type and value.
|
|
1136
|
+
*/
|
|
1137
|
+
export interface EmployeePensionContribution {
|
|
1138
|
+
/**
|
|
1139
|
+
* Contribution type.
|
|
1140
|
+
*/
|
|
1141
|
+
type?: string;
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Contribution value.
|
|
1145
|
+
*/
|
|
1146
|
+
value?: string;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Employer pension contribution type and value.
|
|
1151
|
+
*/
|
|
1152
|
+
export interface EmployerPensionContribution {
|
|
1153
|
+
/**
|
|
1154
|
+
* Contribution type.
|
|
1155
|
+
*/
|
|
1156
|
+
type?: string;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Contribution value.
|
|
1160
|
+
*/
|
|
1161
|
+
value?: string;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Required for DE EOR. Framework agreement monthly gross salary.
|
|
1166
|
+
*/
|
|
1167
|
+
export interface FrameworkMonthlyGrossSalary {
|
|
1168
|
+
/**
|
|
1169
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1170
|
+
*/
|
|
1171
|
+
currency_type?: string;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* The decimal amount for the currency.
|
|
1175
|
+
*/
|
|
1176
|
+
value?: number;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Housing allowance amount.
|
|
1181
|
+
*/
|
|
1182
|
+
export interface HousingAllowance {
|
|
1183
|
+
/**
|
|
1184
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1185
|
+
*/
|
|
1186
|
+
currency_type?: string;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* The decimal amount for the currency.
|
|
1190
|
+
*/
|
|
1191
|
+
value?: number;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* Extra employer MPF contribution, if you offer one.
|
|
1196
|
+
*/
|
|
1197
|
+
export interface MpfVoluntaryEmployerContribution {
|
|
1198
|
+
/**
|
|
1199
|
+
* Fixed contribution amount.
|
|
1200
|
+
*/
|
|
1201
|
+
fixed_amount?: MpfVoluntaryEmployerContribution.FixedAmount;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Contribution percent.
|
|
1205
|
+
*/
|
|
1206
|
+
percent?: string;
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Contribution type.
|
|
1210
|
+
*/
|
|
1211
|
+
type?: string;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
export namespace MpfVoluntaryEmployerContribution {
|
|
1215
|
+
/**
|
|
1216
|
+
* Fixed contribution amount.
|
|
1217
|
+
*/
|
|
1218
|
+
export interface FixedAmount {
|
|
1219
|
+
/**
|
|
1220
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1221
|
+
*/
|
|
1222
|
+
currency_type?: string;
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* The decimal amount for the currency.
|
|
1226
|
+
*/
|
|
1227
|
+
value?: number;
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Standard notice, or a custom notice period.
|
|
1233
|
+
*/
|
|
1234
|
+
export interface Notice {
|
|
1235
|
+
/**
|
|
1236
|
+
* Standard notice, or a custom notice period.
|
|
1237
|
+
*/
|
|
1238
|
+
type: string;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* Length of the custom notice period.
|
|
1242
|
+
*/
|
|
1243
|
+
quantity?: number;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Time unit for custom notice, such as WEEKS.
|
|
1247
|
+
*/
|
|
1248
|
+
unit?: string;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Standard probation, a shorter period, or no probation.
|
|
1253
|
+
*/
|
|
1254
|
+
export interface Probation {
|
|
1255
|
+
/**
|
|
1256
|
+
* Standard probation, a shorter period, or no probation.
|
|
1257
|
+
*/
|
|
1258
|
+
type: string;
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Length of a shorter probation.
|
|
1262
|
+
*/
|
|
1263
|
+
quantity?: number;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Time unit for a shorter probation, such as MONTHS.
|
|
1267
|
+
*/
|
|
1268
|
+
unit?: string;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* Required for remote CH EOR. Currency type and value. Use 0 if none.
|
|
1273
|
+
*/
|
|
1274
|
+
export interface RemoteWorkingAllowance {
|
|
1275
|
+
/**
|
|
1276
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1277
|
+
*/
|
|
1278
|
+
currency_type?: string;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* The decimal amount for the currency.
|
|
1282
|
+
*/
|
|
1283
|
+
value?: number;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* Required for CH EOR. Currency type and value for the 13th month bonus.
|
|
1288
|
+
*/
|
|
1289
|
+
export interface ThirteenthMonthBonus {
|
|
1290
|
+
/**
|
|
1291
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1292
|
+
*/
|
|
1293
|
+
currency_type?: string;
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* The decimal amount for the currency.
|
|
1297
|
+
*/
|
|
1298
|
+
value?: number;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Transportation allowance amount.
|
|
1303
|
+
*/
|
|
1304
|
+
export interface TransportationAllowance {
|
|
1305
|
+
/**
|
|
1306
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1307
|
+
*/
|
|
1308
|
+
currency_type?: string;
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* The decimal amount for the currency.
|
|
1312
|
+
*/
|
|
1313
|
+
value?: number;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* Statutory vacation, or a custom number of days.
|
|
1318
|
+
*/
|
|
1319
|
+
export interface Vacation {
|
|
1320
|
+
/**
|
|
1321
|
+
* Statutory vacation, or a custom number of days.
|
|
1322
|
+
*/
|
|
1323
|
+
type: string;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Vacation days per year. Required when vacation is custom.
|
|
1327
|
+
*/
|
|
1328
|
+
days?: number;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* Working hours calendar. Omit unless you need day-level hours.
|
|
1333
|
+
*/
|
|
1334
|
+
export interface WorkingHoursSchedule {
|
|
1335
|
+
/**
|
|
1336
|
+
* Repeating week definition for the schedule.
|
|
1337
|
+
*/
|
|
1338
|
+
recurrence: WorkingHoursSchedule.Recurrence;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* IANA time zone for the schedule, for example America/Los_Angeles.
|
|
1342
|
+
*/
|
|
1343
|
+
schedule_time_zone: string;
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* First day of the expansion cycle. Lowercase weekday, for example sunday.
|
|
1347
|
+
*/
|
|
1348
|
+
start_day_of_week: string;
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Optional work-pattern scope. GENERIC or INLINE.
|
|
1352
|
+
*/
|
|
1353
|
+
scope_type?: string;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
export namespace WorkingHoursSchedule {
|
|
1357
|
+
/**
|
|
1358
|
+
* Repeating week definition for the schedule.
|
|
1359
|
+
*/
|
|
1360
|
+
export interface Recurrence {
|
|
1361
|
+
/**
|
|
1362
|
+
* One entry per day in the cycle, length times 7, starting at start_day_of_week.
|
|
1363
|
+
*/
|
|
1364
|
+
expansion: Array<Recurrence.Expansion>;
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Number of units in the cycle. 1 is a weekly pattern.
|
|
1368
|
+
*/
|
|
1369
|
+
length: number;
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* Recurrence unit. Must be WEEKS.
|
|
1373
|
+
*/
|
|
1374
|
+
unit: string;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
export namespace Recurrence {
|
|
1378
|
+
export interface Expansion {
|
|
1379
|
+
/**
|
|
1380
|
+
* Day duration as a decimal string, for example 8.00. Omit or null for an off day.
|
|
1381
|
+
*/
|
|
1382
|
+
duration?: string;
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* End time as HH:MM:SS. Omit or null for an off day.
|
|
1386
|
+
*/
|
|
1387
|
+
end_time?: string;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* Start time as HH:MM:SS. Omit or null for an off day.
|
|
1391
|
+
*/
|
|
1392
|
+
start_time?: string;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Personal information for the hire.
|
|
1400
|
+
*/
|
|
1401
|
+
export interface Personal {
|
|
1402
|
+
/**
|
|
1403
|
+
* Legal first name of the hire.
|
|
1404
|
+
*/
|
|
1405
|
+
first_name: string;
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* Legal last name of the hire.
|
|
1409
|
+
*/
|
|
1410
|
+
last_name: string;
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Email used to invite this person. Send an email or a phone number.
|
|
1414
|
+
*/
|
|
1415
|
+
invite_email?: string;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* Mobile number used to invite this person, including country code, such as
|
|
1419
|
+
* +14155550123. Send an email or a phone number.
|
|
1420
|
+
*/
|
|
1421
|
+
invite_phone?: string;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Work location for the hire.
|
|
1426
|
+
*/
|
|
1427
|
+
export interface WorkLocation {
|
|
1428
|
+
/**
|
|
1429
|
+
* Country this person works in. Required for office and remote hires.
|
|
1430
|
+
*/
|
|
1431
|
+
country_code: string;
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Set to true if this person has no office. You still need the country they work
|
|
1435
|
+
* in.
|
|
1436
|
+
*/
|
|
1437
|
+
is_remote?: boolean;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* Office this person will work from. Skip this if they work remotely.
|
|
1441
|
+
*/
|
|
1442
|
+
location_id?: string;
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Optional state or region code for a remote work location.
|
|
1446
|
+
*/
|
|
1447
|
+
state_code?: string;
|
|
796
1448
|
}
|
|
797
1449
|
|
|
798
1450
|
export interface CustomField {
|
|
@@ -808,31 +1460,32 @@ export namespace HireCreateParams {
|
|
|
808
1460
|
}
|
|
809
1461
|
|
|
810
1462
|
/**
|
|
811
|
-
* Optional
|
|
1463
|
+
* Optional links to an ATS applicant, open seat, prior employee, or hire already
|
|
1464
|
+
* in progress.
|
|
812
1465
|
*/
|
|
813
|
-
export interface
|
|
1466
|
+
export interface RelatedRecords {
|
|
814
1467
|
/**
|
|
815
|
-
*
|
|
1468
|
+
* Applicant id from your ATS, if this hire came from recruiting.
|
|
816
1469
|
*/
|
|
817
1470
|
ats_applicant_id?: string;
|
|
818
1471
|
|
|
819
1472
|
/**
|
|
820
|
-
*
|
|
1473
|
+
* Hire already started in Rippling, if you are continuing it.
|
|
821
1474
|
*/
|
|
822
1475
|
existing_role_id?: string;
|
|
823
1476
|
|
|
824
1477
|
/**
|
|
825
|
-
*
|
|
1478
|
+
* Open seat this person is filling.
|
|
826
1479
|
*/
|
|
827
1480
|
headcount_position_id?: string;
|
|
828
1481
|
|
|
829
1482
|
/**
|
|
830
|
-
*
|
|
1483
|
+
* Reuse their existing details, or collect new details. Required when rehiring.
|
|
831
1484
|
*/
|
|
832
1485
|
rehire_choice?: string;
|
|
833
1486
|
|
|
834
1487
|
/**
|
|
835
|
-
* Prior
|
|
1488
|
+
* Prior employee role to rehire.
|
|
836
1489
|
*/
|
|
837
1490
|
rehire_role_id?: string;
|
|
838
1491
|
}
|