@rippling/rippling-sdk 0.2.0-alpha.105 → 0.2.0-alpha.107
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/custom-settings.d.mts +1 -1
- package/resources/custom-settings.d.ts +1 -1
- package/resources/custom-settings.js +1 -1
- package/resources/custom-settings.mjs +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 -147
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +677 -147
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +3 -5
- package/resources/hires.js.map +1 -1
- package/resources/hires.mjs +3 -5
- 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 +150 -0
- package/resources/payroll-payment-mode-changes.d.mts.map +1 -0
- package/resources/payroll-payment-mode-changes.d.ts +150 -0
- package/resources/payroll-payment-mode-changes.d.ts.map +1 -0
- package/resources/payroll-payment-mode-changes.js +66 -0
- package/resources/payroll-payment-mode-changes.js.map +1 -0
- package/resources/payroll-payment-mode-changes.mjs +62 -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/resources/workflows.d.mts +20 -5
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +20 -5
- package/resources/workflows.d.ts.map +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/custom-settings.ts +1 -1
- package/src/resources/hire-requirements.ts +8 -85
- package/src/resources/hires.ts +866 -219
- package/src/resources/index.ts +5 -0
- package/src/resources/payroll-payment-mode-changes.ts +182 -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/resources/workflows.ts +25 -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
package/resources/hires.d.mts
CHANGED
|
@@ -6,9 +6,9 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class Hires extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Create or resume hire records for admin review. Idempotency-Key is required.
|
|
10
|
-
*
|
|
11
|
-
* hire.
|
|
9
|
+
* Create or resume hire records for admin review. Idempotency-Key is required.
|
|
10
|
+
* Direct hire and EOR are supported in AU, CA, CH, CN, DE, ES, FR, GB, HK, IE, IN,
|
|
11
|
+
* NL, NZ, and US. Use POST /draft-hires/ for the legacy draft-hire write path.
|
|
12
12
|
*
|
|
13
13
|
* @example HTTP
|
|
14
14
|
* Representative request and response shapes.
|
|
@@ -29,7 +29,6 @@ export declare class Hires extends APIResource {
|
|
|
29
29
|
* },
|
|
30
30
|
* "employment": {
|
|
31
31
|
* "employment_type_id": "employment_type_id",
|
|
32
|
-
* "legal_entity_id": "legal_entity_id",
|
|
33
32
|
* "start_date": "start_date",
|
|
34
33
|
* "title": "title"
|
|
35
34
|
* },
|
|
@@ -48,7 +47,6 @@ export declare class Hires extends APIResource {
|
|
|
48
47
|
* Content-Type: application/json
|
|
49
48
|
*
|
|
50
49
|
* {
|
|
51
|
-
* "ack": false,
|
|
52
50
|
* "results": [
|
|
53
51
|
* {
|
|
54
52
|
* "client_request_id": "string",
|
|
@@ -76,11 +74,8 @@ export declare class Hires extends APIResource {
|
|
|
76
74
|
}
|
|
77
75
|
export interface HireCreateResponse {
|
|
78
76
|
/**
|
|
79
|
-
*
|
|
80
|
-
|
|
81
|
-
ack: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* One result per request hire, in request order.
|
|
77
|
+
* One result per request hire, in request order. HTTP 200 means the envelope was
|
|
78
|
+
* accepted; each item's status is the outcome.
|
|
84
79
|
*/
|
|
85
80
|
results: Array<HireCreateResponse.Result>;
|
|
86
81
|
}
|
|
@@ -159,13 +154,17 @@ export interface HireCreateParams {
|
|
|
159
154
|
'Idempotency-Key': string;
|
|
160
155
|
}
|
|
161
156
|
export declare namespace HireCreateParams {
|
|
157
|
+
/**
|
|
158
|
+
* One hire on POST /hires/. Country-specific employment fields come from GET
|
|
159
|
+
* /hire-requirements/.
|
|
160
|
+
*/
|
|
162
161
|
interface Hire {
|
|
163
162
|
/**
|
|
164
|
-
*
|
|
163
|
+
* Pay for the hire.
|
|
165
164
|
*/
|
|
166
165
|
compensation: Hire.Compensation;
|
|
167
166
|
/**
|
|
168
|
-
*
|
|
167
|
+
* The job: title, hours, and country-specific details.
|
|
169
168
|
*/
|
|
170
169
|
employment: Hire.Employment;
|
|
171
170
|
/**
|
|
@@ -177,29 +176,26 @@ export declare namespace HireCreateParams {
|
|
|
177
176
|
*/
|
|
178
177
|
work_location: Hire.WorkLocation;
|
|
179
178
|
/**
|
|
180
|
-
*
|
|
181
|
-
*/
|
|
182
|
-
additional_employment_fields?: Hire.AdditionalEmploymentFields;
|
|
183
|
-
/**
|
|
184
|
-
* Caller-supplied correlation id echoed in the response.
|
|
179
|
+
* Optional id echoed on that hire's result. Not a hire field.
|
|
185
180
|
*/
|
|
186
181
|
client_request_id?: string;
|
|
187
182
|
/**
|
|
188
|
-
*
|
|
183
|
+
* Company-specific hiring fields.
|
|
189
184
|
*/
|
|
190
|
-
|
|
185
|
+
custom_fields?: Array<Hire.CustomField>;
|
|
191
186
|
/**
|
|
192
|
-
*
|
|
187
|
+
* direct_hire or eor. An omitted value defaults to direct_hire.
|
|
193
188
|
*/
|
|
194
|
-
|
|
189
|
+
hire_type?: string;
|
|
195
190
|
/**
|
|
196
|
-
* Optional
|
|
191
|
+
* Optional links to an ATS applicant, open seat, prior employee, or hire already
|
|
192
|
+
* in progress.
|
|
197
193
|
*/
|
|
198
|
-
|
|
194
|
+
related_records?: Hire.RelatedRecords;
|
|
199
195
|
}
|
|
200
196
|
namespace Hire {
|
|
201
197
|
/**
|
|
202
|
-
*
|
|
198
|
+
* Pay for the hire.
|
|
203
199
|
*/
|
|
204
200
|
interface Compensation {
|
|
205
201
|
/**
|
|
@@ -397,17 +393,13 @@ export declare namespace HireCreateParams {
|
|
|
397
393
|
}
|
|
398
394
|
}
|
|
399
395
|
/**
|
|
400
|
-
*
|
|
396
|
+
* The job: title, hours, and country-specific details.
|
|
401
397
|
*/
|
|
402
398
|
interface Employment {
|
|
403
399
|
/**
|
|
404
400
|
* Employment type id from GET /employment-types/.
|
|
405
401
|
*/
|
|
406
402
|
employment_type_id: string;
|
|
407
|
-
/**
|
|
408
|
-
* Legal entity id from GET /legal-entities/. Must be an active entity.
|
|
409
|
-
*/
|
|
410
|
-
legal_entity_id: string;
|
|
411
403
|
/**
|
|
412
404
|
* Start date in YYYY-MM-DD format.
|
|
413
405
|
*/
|
|
@@ -416,84 +408,701 @@ export declare namespace HireCreateParams {
|
|
|
416
408
|
* Job title.
|
|
417
409
|
*/
|
|
418
410
|
title: string;
|
|
411
|
+
/**
|
|
412
|
+
* Required for FR EOR. Field of work, such as Engineering.
|
|
413
|
+
*/
|
|
414
|
+
applicable_fields_of_work?: string;
|
|
415
|
+
/**
|
|
416
|
+
* Required for AU, CA, IN, and GB EOR. True if this person is authorized to work
|
|
417
|
+
* in the country.
|
|
418
|
+
*/
|
|
419
|
+
authorized_to_work?: boolean;
|
|
420
|
+
/**
|
|
421
|
+
* Required for ES EOR. Collective agreement area.
|
|
422
|
+
*/
|
|
423
|
+
cba_area?: string;
|
|
424
|
+
/**
|
|
425
|
+
* Collective bargaining agreement code.
|
|
426
|
+
*/
|
|
427
|
+
cba_code?: string;
|
|
428
|
+
/**
|
|
429
|
+
* Collective bargaining agreement group.
|
|
430
|
+
*/
|
|
431
|
+
cba_group?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Collective bargaining agreement level.
|
|
434
|
+
*/
|
|
435
|
+
cba_level?: string;
|
|
436
|
+
/**
|
|
437
|
+
* Set to true if this person earns tips.
|
|
438
|
+
*/
|
|
439
|
+
collects_tips?: boolean;
|
|
440
|
+
/**
|
|
441
|
+
* Required for EOR outside the US. True if this person is moving from another EOR.
|
|
442
|
+
*/
|
|
443
|
+
coming_from_another_eor?: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Date this person first joined the company, if earlier than start_date.
|
|
446
|
+
*/
|
|
447
|
+
company_start_date?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Required for FR EOR. Project description for this hire.
|
|
450
|
+
*/
|
|
451
|
+
consultant_project_description?: string;
|
|
452
|
+
/**
|
|
453
|
+
* Ongoing or fixed-term employment contract.
|
|
454
|
+
*/
|
|
455
|
+
contract?: Employment.Contract;
|
|
456
|
+
/**
|
|
457
|
+
* Country-specific contract subtype.
|
|
458
|
+
*/
|
|
459
|
+
contract_subtype?: string;
|
|
460
|
+
/**
|
|
461
|
+
* Required for CN EOR. City used for social contributions, such as SHANGHAI.
|
|
462
|
+
*/
|
|
463
|
+
contributing_city?: string;
|
|
464
|
+
/**
|
|
465
|
+
* Social security contribution group.
|
|
466
|
+
*/
|
|
467
|
+
contribution_group?: string;
|
|
468
|
+
/**
|
|
469
|
+
* Required for EOR. Must be true. Confirms the EOR cost-review acknowledgement.
|
|
470
|
+
*/
|
|
471
|
+
cost_review_acknowledgement?: boolean;
|
|
472
|
+
/**
|
|
473
|
+
* Country job classification, such as MANAGING_DIRECTOR for Germany.
|
|
474
|
+
*/
|
|
475
|
+
country_job_classification?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Set to true when an Australian modern award covers this job.
|
|
478
|
+
*/
|
|
479
|
+
covered_by_modern_award?: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* Hours for each weekday. Use null for days off. Keys are monday through sunday.
|
|
482
|
+
*/
|
|
483
|
+
custom_working_hours?: Employment.CustomWorkingHours;
|
|
484
|
+
/**
|
|
485
|
+
* France days worked each week, such as 5.
|
|
486
|
+
*/
|
|
487
|
+
days_worked_per_week?: number;
|
|
488
|
+
/**
|
|
489
|
+
* France days worked each year. Full-time day tracking is usually 218.
|
|
490
|
+
*/
|
|
491
|
+
days_worked_per_year?: number;
|
|
419
492
|
/**
|
|
420
493
|
* Department id from GET /departments/.
|
|
421
494
|
*/
|
|
422
495
|
department_id?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Detailed contract type.
|
|
498
|
+
*/
|
|
499
|
+
detailed_contract_type?: string;
|
|
423
500
|
/**
|
|
424
501
|
* Job duties.
|
|
425
502
|
*/
|
|
426
503
|
duties?: string;
|
|
427
504
|
/**
|
|
428
|
-
*
|
|
505
|
+
* Employee pension contribution type and value.
|
|
506
|
+
*/
|
|
507
|
+
employee_pension_contribution?: Employment.EmployeePensionContribution;
|
|
508
|
+
/**
|
|
509
|
+
* Required for CH EOR. Qualification for this role, such as Engineer.
|
|
510
|
+
*/
|
|
511
|
+
employee_qualification?: string;
|
|
512
|
+
/**
|
|
513
|
+
* Employer pension contribution type and value.
|
|
514
|
+
*/
|
|
515
|
+
employer_pension_contribution?: Employment.EmployerPensionContribution;
|
|
516
|
+
/**
|
|
517
|
+
* Required for DE and FR EOR. Germany uses AUG. France uses LABOR_PORTAGE.
|
|
518
|
+
*/
|
|
519
|
+
employment_model?: string;
|
|
520
|
+
/**
|
|
521
|
+
* Required for EOR. Must be true. Confirms the EOR eligibility acknowledgement.
|
|
522
|
+
*/
|
|
523
|
+
eor_eligibility_acknowledgement?: boolean;
|
|
524
|
+
/**
|
|
525
|
+
* Required for HK, CH, and NZ EOR. HK and CH must be false. NZ must be true.
|
|
526
|
+
*/
|
|
527
|
+
eor_screenout_answer?: boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Set if this person is an expatriate.
|
|
530
|
+
*/
|
|
531
|
+
expat_identifier?: string;
|
|
532
|
+
/**
|
|
533
|
+
* Set to true if this person is on an expatriate assignment.
|
|
534
|
+
*/
|
|
535
|
+
expatriate_assignment?: boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Pagos extra. Skip if they are not eligible.
|
|
538
|
+
*/
|
|
539
|
+
extra_monthly_payments?: unknown;
|
|
540
|
+
/**
|
|
541
|
+
* Required for FR EOR. True if this hire should be a fixed-term contract.
|
|
542
|
+
*/
|
|
543
|
+
fixed_term_contract?: boolean;
|
|
544
|
+
/**
|
|
545
|
+
* Why the contract is fixed-term. Required when contract type is FIXED.
|
|
546
|
+
*/
|
|
547
|
+
fixed_term_justification?: string;
|
|
548
|
+
/**
|
|
549
|
+
* Reason for a fixed-term contract. Required when contract type is FIXED.
|
|
550
|
+
*/
|
|
551
|
+
fixed_term_reason?: string;
|
|
552
|
+
/**
|
|
553
|
+
* Required for DE EOR. Framework agreement additional benefits.
|
|
554
|
+
*/
|
|
555
|
+
framework_additional_benefits?: string;
|
|
556
|
+
/**
|
|
557
|
+
* Required for DE EOR. Framework agreement continued remuneration.
|
|
558
|
+
*/
|
|
559
|
+
framework_continued_remuneration?: string;
|
|
560
|
+
/**
|
|
561
|
+
* Required for DE EOR. Framework agreement monthly gross salary.
|
|
562
|
+
*/
|
|
563
|
+
framework_monthly_gross_salary?: Employment.FrameworkMonthlyGrossSalary;
|
|
564
|
+
/**
|
|
565
|
+
* Required for DE EOR. Framework agreement other working conditions.
|
|
566
|
+
*/
|
|
567
|
+
framework_other_conditions?: string;
|
|
568
|
+
/**
|
|
569
|
+
* Required for DE EOR. Framework agreement overtime pay.
|
|
570
|
+
*/
|
|
571
|
+
framework_overtime_pay?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Required for DE EOR. Framework agreement rest periods.
|
|
574
|
+
*/
|
|
575
|
+
framework_rest_periods?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Required for DE EOR. Framework agreement shared facilities.
|
|
578
|
+
*/
|
|
579
|
+
framework_shared_facilities?: string;
|
|
580
|
+
/**
|
|
581
|
+
* Required for DE EOR. Framework agreement surcharges.
|
|
582
|
+
*/
|
|
583
|
+
framework_surcharges?: string;
|
|
584
|
+
/**
|
|
585
|
+
* Required for DE EOR. Framework agreement vacation days.
|
|
586
|
+
*/
|
|
587
|
+
framework_vacation_days?: number;
|
|
588
|
+
/**
|
|
589
|
+
* Required for DE EOR. Framework agreement variable compensation.
|
|
590
|
+
*/
|
|
591
|
+
framework_variable_compensation?: string;
|
|
592
|
+
/**
|
|
593
|
+
* Required for DE EOR. Framework agreement regular weekly hours.
|
|
594
|
+
*/
|
|
595
|
+
framework_weekly_hours?: number;
|
|
596
|
+
/**
|
|
597
|
+
* Required for DE EOR. Framework agreement work wear.
|
|
598
|
+
*/
|
|
599
|
+
framework_work_wear?: string;
|
|
600
|
+
/**
|
|
601
|
+
* Required for GB and IE EOR. True if this hire is from a merger or acquisition.
|
|
602
|
+
*/
|
|
603
|
+
hired_due_to_merger?: boolean;
|
|
604
|
+
/**
|
|
605
|
+
* Housing allowance amount.
|
|
606
|
+
*/
|
|
607
|
+
housing_allowance?: Employment.HousingAllowance;
|
|
608
|
+
/**
|
|
609
|
+
* Required for CN EOR. True if the company works with digital currency.
|
|
610
|
+
*/
|
|
611
|
+
involved_in_digital_currency?: boolean;
|
|
612
|
+
/**
|
|
613
|
+
* Set to true if this person is an apprentice.
|
|
614
|
+
*/
|
|
615
|
+
is_apprentice?: boolean;
|
|
616
|
+
/**
|
|
617
|
+
* Set to true if this person is a cadre dirigeant.
|
|
618
|
+
*/
|
|
619
|
+
is_executive?: boolean;
|
|
620
|
+
/**
|
|
621
|
+
* Set to true if this person works in R&D.
|
|
622
|
+
*/
|
|
623
|
+
is_rnd_employee?: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* Set to true when this person is an Australian shift worker.
|
|
626
|
+
*/
|
|
627
|
+
is_shift_worker?: boolean;
|
|
628
|
+
/**
|
|
629
|
+
* US EEO-1 job category. Must be a value from GET /hire-requirements/
|
|
630
|
+
* allowed_values for that country.
|
|
429
631
|
*/
|
|
430
632
|
job_classification?: string;
|
|
633
|
+
/**
|
|
634
|
+
* Set to true when the German job classification is already known.
|
|
635
|
+
*/
|
|
636
|
+
job_classification_known?: boolean;
|
|
431
637
|
/**
|
|
432
638
|
* Job function id from GET /job-functions/.
|
|
433
639
|
*/
|
|
434
|
-
|
|
640
|
+
job_function_id?: string;
|
|
641
|
+
/**
|
|
642
|
+
* Required for CN EOR when the contributing city is Shanghai or Beijing.
|
|
643
|
+
*/
|
|
644
|
+
job_technology_focused?: boolean;
|
|
645
|
+
/**
|
|
646
|
+
* Legal entity id from GET /legal-entities/. Required for direct_hire. Omit for
|
|
647
|
+
* eor.
|
|
648
|
+
*/
|
|
649
|
+
legal_entity_id?: string;
|
|
435
650
|
/**
|
|
436
651
|
* Level id from GET /levels/.
|
|
437
652
|
*/
|
|
438
653
|
level_id?: string;
|
|
439
654
|
/**
|
|
440
|
-
*
|
|
655
|
+
* Unpaid lunch break length in minutes.
|
|
656
|
+
*/
|
|
657
|
+
lunch_break_minutes?: number;
|
|
658
|
+
/**
|
|
659
|
+
* Manager worker id from GET /workers/. Omit or null for no manager.
|
|
441
660
|
*/
|
|
442
661
|
manager_id?: string;
|
|
443
662
|
/**
|
|
444
|
-
*
|
|
445
|
-
|
|
663
|
+
* Required for FR EOR when a minimum contract length applies. Example: MONTHS.
|
|
664
|
+
*/
|
|
665
|
+
minimum_contract_length_unit?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Required for FR EOR when a minimum contract length applies.
|
|
668
|
+
*/
|
|
669
|
+
minimum_contract_length_value?: number;
|
|
670
|
+
/**
|
|
671
|
+
* Required for FR EOR when a mission applies. Description of the mission or
|
|
672
|
+
* project.
|
|
673
|
+
*/
|
|
674
|
+
mission_description?: string;
|
|
675
|
+
/**
|
|
676
|
+
* Modern award that covers this job, if any.
|
|
677
|
+
*/
|
|
678
|
+
modern_award?: string;
|
|
679
|
+
/**
|
|
680
|
+
* Classification under that modern award.
|
|
681
|
+
*/
|
|
682
|
+
modern_award_classification?: string;
|
|
683
|
+
/**
|
|
684
|
+
* Sub-level within that modern award classification.
|
|
685
|
+
*/
|
|
686
|
+
modern_award_sub_level?: string;
|
|
687
|
+
/**
|
|
688
|
+
* Months of experience at this level before joining.
|
|
689
|
+
*/
|
|
690
|
+
months_of_experience_at_level?: number;
|
|
691
|
+
/**
|
|
692
|
+
* Set to true if they work remotely more than two days a week.
|
|
693
|
+
*/
|
|
694
|
+
more_than_two_remote_days?: boolean;
|
|
695
|
+
/**
|
|
696
|
+
* Extra employer MPF contribution, if you offer one.
|
|
697
|
+
*/
|
|
698
|
+
mpf_voluntary_employer_contribution?: Employment.MpfVoluntaryEmployerContribution;
|
|
699
|
+
/**
|
|
700
|
+
* Required for FR EOR. ISO country code, such as FR.
|
|
701
|
+
*/
|
|
702
|
+
nationality?: string;
|
|
703
|
+
/**
|
|
704
|
+
* Required for AU, CA, IN, and GB EOR. True if a non-compete clause applies.
|
|
705
|
+
*/
|
|
706
|
+
non_compete?: boolean;
|
|
707
|
+
/**
|
|
708
|
+
* Required for CH EOR. True if this person is not covered by a collective
|
|
709
|
+
* agreement.
|
|
710
|
+
*/
|
|
711
|
+
not_cba_employee?: boolean;
|
|
712
|
+
/**
|
|
713
|
+
* Standard notice, or a custom notice period.
|
|
714
|
+
*/
|
|
715
|
+
notice?: Employment.Notice;
|
|
716
|
+
/**
|
|
717
|
+
* Spanish occupation code (CNO).
|
|
718
|
+
*/
|
|
719
|
+
occupation_code?: string;
|
|
720
|
+
/**
|
|
721
|
+
* EXEMPT or NON_EXEMPT. EXEMPT means the job is not eligible for overtime pay.
|
|
446
722
|
*/
|
|
447
|
-
overtime_exemption?:
|
|
723
|
+
overtime_exemption?: 'EXEMPT' | 'NON_EXEMPT';
|
|
724
|
+
/**
|
|
725
|
+
* Required for NL EOR. True if the company has its own entity in the Netherlands.
|
|
726
|
+
*/
|
|
727
|
+
owns_entity_in_country?: boolean;
|
|
728
|
+
/**
|
|
729
|
+
* Required for GB EOR. Company-provided paid sick days.
|
|
730
|
+
*/
|
|
731
|
+
paid_sick_days?: number;
|
|
732
|
+
/**
|
|
733
|
+
* France PCS occupation code, such as 100X.
|
|
734
|
+
*/
|
|
735
|
+
pcs_code?: string;
|
|
736
|
+
/**
|
|
737
|
+
* Pension scheme name.
|
|
738
|
+
*/
|
|
739
|
+
pension_scheme_name?: string;
|
|
740
|
+
/**
|
|
741
|
+
* Standard probation, a shorter period, or no probation.
|
|
742
|
+
*/
|
|
743
|
+
probation?: Employment.Probation;
|
|
744
|
+
/**
|
|
745
|
+
* Set to true if prior seniority should count.
|
|
746
|
+
*/
|
|
747
|
+
recognize_seniority?: boolean;
|
|
748
|
+
/**
|
|
749
|
+
* Required for remote CH EOR. Currency type and value. Use 0 if none.
|
|
750
|
+
*/
|
|
751
|
+
remote_working_allowance?: Employment.RemoteWorkingAllowance;
|
|
752
|
+
/**
|
|
753
|
+
* Rent tax deduction rate, if it applies.
|
|
754
|
+
*/
|
|
755
|
+
rent_tax_deduction_rate?: string;
|
|
756
|
+
/**
|
|
757
|
+
* Required for FR EOR. Id of an active file upload owned by this company. Upload
|
|
758
|
+
* with POST /files/ using the documents.read-write scope, PUT the bytes to the
|
|
759
|
+
* returned URL, then POST /files/{id}/confirm-upload/ before sending this id. PDF
|
|
760
|
+
* or Word only. A URL is not accepted.
|
|
761
|
+
*/
|
|
762
|
+
resume_file_id?: string;
|
|
763
|
+
/**
|
|
764
|
+
* Required for CH EOR. FIXED_SCHEDULE or ROTATING_SHIFT_SCHEDULE.
|
|
765
|
+
*/
|
|
766
|
+
schedule_type?: string;
|
|
767
|
+
/**
|
|
768
|
+
* US occupation code, such as 15-1252.
|
|
769
|
+
*/
|
|
770
|
+
soc_code?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Required for FR EOR. True if this is a specific mission completing within 18
|
|
773
|
+
* months.
|
|
774
|
+
*/
|
|
775
|
+
specific_mission?: boolean;
|
|
776
|
+
/**
|
|
777
|
+
* Tax bracket.
|
|
778
|
+
*/
|
|
779
|
+
tax_bracket?: string;
|
|
780
|
+
/**
|
|
781
|
+
* Tax location.
|
|
782
|
+
*/
|
|
783
|
+
tax_location?: string;
|
|
784
|
+
/**
|
|
785
|
+
* Tax status.
|
|
786
|
+
*/
|
|
787
|
+
tax_status?: string;
|
|
448
788
|
/**
|
|
449
789
|
* Team ids from GET /teams/.
|
|
450
790
|
*/
|
|
451
791
|
team_ids?: Array<string>;
|
|
452
792
|
/**
|
|
453
|
-
*
|
|
454
|
-
|
|
793
|
+
* Required for CH EOR. Currency type and value for the 13th month bonus.
|
|
794
|
+
*/
|
|
795
|
+
thirteenth_month_bonus?: Employment.ThirteenthMonthBonus;
|
|
796
|
+
/**
|
|
797
|
+
* Set to true when Spain requires training for this job.
|
|
798
|
+
*/
|
|
799
|
+
training_required?: boolean;
|
|
800
|
+
/**
|
|
801
|
+
* Transportation allowance amount.
|
|
802
|
+
*/
|
|
803
|
+
transportation_allowance?: Employment.TransportationAllowance;
|
|
804
|
+
/**
|
|
805
|
+
* Required for NL EOR. True if a collective agreement applies.
|
|
806
|
+
*/
|
|
807
|
+
union_activity?: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Set to true to start tenure on the start date. False keeps a prior tenure date
|
|
810
|
+
* unset.
|
|
811
|
+
*/
|
|
812
|
+
use_default_tenure?: boolean;
|
|
813
|
+
/**
|
|
814
|
+
* Statutory vacation, or a custom number of days.
|
|
815
|
+
*/
|
|
816
|
+
vacation?: Employment.Vacation;
|
|
817
|
+
/**
|
|
818
|
+
* Vacation entitlement for this job.
|
|
819
|
+
*/
|
|
820
|
+
vacation_entitlement?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Required for GB EOR. Vacation days that can roll over.
|
|
823
|
+
*/
|
|
824
|
+
vacation_rollover_days?: number;
|
|
825
|
+
/**
|
|
826
|
+
* Required for FR EOR when the hire includes a signing bonus, target bonus, or
|
|
827
|
+
* commission. Same upload sequence as resume_file_id. PDF or Word only. A URL is
|
|
828
|
+
* not accepted.
|
|
829
|
+
*/
|
|
830
|
+
variable_compensation_plan_file_id?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Hours this person is expected to work each week, such as 40. Full-time is
|
|
833
|
+
* usually 40.
|
|
455
834
|
*/
|
|
456
835
|
weekly_hours?: string;
|
|
457
836
|
/**
|
|
458
|
-
*
|
|
459
|
-
* value.
|
|
837
|
+
* Weekly hours range when a range is collected instead of an exact value.
|
|
460
838
|
*/
|
|
461
839
|
weekly_hours_range?: string;
|
|
840
|
+
/**
|
|
841
|
+
* Work center.
|
|
842
|
+
*/
|
|
843
|
+
work_center?: string;
|
|
462
844
|
/**
|
|
463
845
|
* Work email for the hire.
|
|
464
846
|
*/
|
|
465
847
|
work_email?: string;
|
|
466
848
|
/**
|
|
467
|
-
*
|
|
468
|
-
|
|
849
|
+
* Days worked, such as Monday through Friday.
|
|
850
|
+
*/
|
|
851
|
+
working_days?: Array<string>;
|
|
852
|
+
/**
|
|
853
|
+
* Workday end time in HH:MM:SS, such as 17:00:00.
|
|
469
854
|
*/
|
|
470
|
-
|
|
855
|
+
working_hours_end?: string;
|
|
471
856
|
/**
|
|
472
|
-
* Working hours
|
|
857
|
+
* Working hours calendar. Omit unless you need day-level hours.
|
|
473
858
|
*/
|
|
474
859
|
working_hours_schedule?: Employment.WorkingHoursSchedule;
|
|
860
|
+
/**
|
|
861
|
+
* Workday start time in HH:MM:SS, such as 09:00:00.
|
|
862
|
+
*/
|
|
863
|
+
working_hours_start?: string;
|
|
864
|
+
/**
|
|
865
|
+
* IANA timezone for the workday, such as Australia/Sydney.
|
|
866
|
+
*/
|
|
867
|
+
working_hours_timezone?: string;
|
|
868
|
+
/**
|
|
869
|
+
* Required for CN EOR. STANDARD_WORKING_HOURS or FLEXIBLE_WORKING_HOURS.
|
|
870
|
+
*/
|
|
871
|
+
working_hours_type?: string;
|
|
872
|
+
/**
|
|
873
|
+
* Required for DE EOR. True is rejected. A standard hire is false.
|
|
874
|
+
*/
|
|
875
|
+
working_in_construction?: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* France working time unit, DAYS or HOURS.
|
|
878
|
+
*/
|
|
879
|
+
working_time_tracked_in?: string;
|
|
475
880
|
}
|
|
476
881
|
namespace Employment {
|
|
477
882
|
/**
|
|
478
|
-
*
|
|
479
|
-
|
|
883
|
+
* Ongoing or fixed-term employment contract.
|
|
884
|
+
*/
|
|
885
|
+
interface Contract {
|
|
886
|
+
/**
|
|
887
|
+
* Ongoing or fixed-term employment contract: FIXED or INDEFINITE.
|
|
888
|
+
*/
|
|
889
|
+
type: string;
|
|
890
|
+
/**
|
|
891
|
+
* Fixed-term duration unit when type is FIXED: DAYS, WEEKS, MONTHS, or YEARS.
|
|
892
|
+
* Required when type is FIXED; omit for INDEFINITE.
|
|
893
|
+
*/
|
|
894
|
+
duration_unit?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Fixed-term duration length when type is FIXED. Required when type is FIXED once
|
|
897
|
+
* duration_unit is set; omit for INDEFINITE.
|
|
898
|
+
*/
|
|
899
|
+
duration_value?: number;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* Hours for each weekday. Use null for days off. Keys are monday through sunday.
|
|
903
|
+
*/
|
|
904
|
+
interface CustomWorkingHours {
|
|
905
|
+
/**
|
|
906
|
+
* Hours worked on Friday.
|
|
907
|
+
*/
|
|
908
|
+
friday?: string;
|
|
909
|
+
/**
|
|
910
|
+
* Hours worked on Monday.
|
|
911
|
+
*/
|
|
912
|
+
monday?: string;
|
|
913
|
+
/**
|
|
914
|
+
* Hours worked on Saturday.
|
|
915
|
+
*/
|
|
916
|
+
saturday?: string;
|
|
917
|
+
/**
|
|
918
|
+
* Hours worked on Sunday.
|
|
919
|
+
*/
|
|
920
|
+
sunday?: string;
|
|
921
|
+
/**
|
|
922
|
+
* Hours worked on Thursday.
|
|
923
|
+
*/
|
|
924
|
+
thursday?: string;
|
|
925
|
+
/**
|
|
926
|
+
* Hours worked on Tuesday.
|
|
927
|
+
*/
|
|
928
|
+
tuesday?: string;
|
|
929
|
+
/**
|
|
930
|
+
* Hours worked on Wednesday.
|
|
931
|
+
*/
|
|
932
|
+
wednesday?: string;
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* Employee pension contribution type and value.
|
|
936
|
+
*/
|
|
937
|
+
interface EmployeePensionContribution {
|
|
938
|
+
/**
|
|
939
|
+
* Contribution type.
|
|
940
|
+
*/
|
|
941
|
+
type?: string;
|
|
942
|
+
/**
|
|
943
|
+
* Contribution value.
|
|
944
|
+
*/
|
|
945
|
+
value?: string;
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* Employer pension contribution type and value.
|
|
949
|
+
*/
|
|
950
|
+
interface EmployerPensionContribution {
|
|
951
|
+
/**
|
|
952
|
+
* Contribution type.
|
|
953
|
+
*/
|
|
954
|
+
type?: string;
|
|
955
|
+
/**
|
|
956
|
+
* Contribution value.
|
|
957
|
+
*/
|
|
958
|
+
value?: string;
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* Required for DE EOR. Framework agreement monthly gross salary.
|
|
962
|
+
*/
|
|
963
|
+
interface FrameworkMonthlyGrossSalary {
|
|
964
|
+
/**
|
|
965
|
+
* The currency type, ex: USD, EUR, etc.
|
|
966
|
+
*/
|
|
967
|
+
currency_type?: string;
|
|
968
|
+
/**
|
|
969
|
+
* The decimal amount for the currency.
|
|
970
|
+
*/
|
|
971
|
+
value?: number;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Housing allowance amount.
|
|
975
|
+
*/
|
|
976
|
+
interface HousingAllowance {
|
|
977
|
+
/**
|
|
978
|
+
* The currency type, ex: USD, EUR, etc.
|
|
979
|
+
*/
|
|
980
|
+
currency_type?: string;
|
|
981
|
+
/**
|
|
982
|
+
* The decimal amount for the currency.
|
|
983
|
+
*/
|
|
984
|
+
value?: number;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Extra employer MPF contribution, if you offer one.
|
|
480
988
|
*/
|
|
481
|
-
interface
|
|
989
|
+
interface MpfVoluntaryEmployerContribution {
|
|
482
990
|
/**
|
|
483
|
-
*
|
|
991
|
+
* Fixed contribution amount.
|
|
484
992
|
*/
|
|
485
|
-
|
|
993
|
+
fixed_amount?: MpfVoluntaryEmployerContribution.FixedAmount;
|
|
486
994
|
/**
|
|
487
|
-
*
|
|
995
|
+
* Contribution percent.
|
|
488
996
|
*/
|
|
489
|
-
|
|
997
|
+
percent?: string;
|
|
490
998
|
/**
|
|
491
|
-
*
|
|
999
|
+
* Contribution type.
|
|
492
1000
|
*/
|
|
493
|
-
|
|
1001
|
+
type?: string;
|
|
1002
|
+
}
|
|
1003
|
+
namespace MpfVoluntaryEmployerContribution {
|
|
1004
|
+
/**
|
|
1005
|
+
* Fixed contribution amount.
|
|
1006
|
+
*/
|
|
1007
|
+
interface FixedAmount {
|
|
1008
|
+
/**
|
|
1009
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1010
|
+
*/
|
|
1011
|
+
currency_type?: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* The decimal amount for the currency.
|
|
1014
|
+
*/
|
|
1015
|
+
value?: number;
|
|
1016
|
+
}
|
|
494
1017
|
}
|
|
495
1018
|
/**
|
|
496
|
-
*
|
|
1019
|
+
* Standard notice, or a custom notice period.
|
|
1020
|
+
*/
|
|
1021
|
+
interface Notice {
|
|
1022
|
+
/**
|
|
1023
|
+
* Standard notice, or a custom notice period.
|
|
1024
|
+
*/
|
|
1025
|
+
type: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Length of the custom notice period.
|
|
1028
|
+
*/
|
|
1029
|
+
quantity?: number;
|
|
1030
|
+
/**
|
|
1031
|
+
* Time unit for custom notice, such as WEEKS.
|
|
1032
|
+
*/
|
|
1033
|
+
unit?: string;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Standard probation, a shorter period, or no probation.
|
|
1037
|
+
*/
|
|
1038
|
+
interface Probation {
|
|
1039
|
+
/**
|
|
1040
|
+
* Standard probation, a shorter period, or no probation.
|
|
1041
|
+
*/
|
|
1042
|
+
type: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Length of a shorter probation.
|
|
1045
|
+
*/
|
|
1046
|
+
quantity?: number;
|
|
1047
|
+
/**
|
|
1048
|
+
* Time unit for a shorter probation, such as MONTHS.
|
|
1049
|
+
*/
|
|
1050
|
+
unit?: string;
|
|
1051
|
+
}
|
|
1052
|
+
/**
|
|
1053
|
+
* Required for remote CH EOR. Currency type and value. Use 0 if none.
|
|
1054
|
+
*/
|
|
1055
|
+
interface RemoteWorkingAllowance {
|
|
1056
|
+
/**
|
|
1057
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1058
|
+
*/
|
|
1059
|
+
currency_type?: string;
|
|
1060
|
+
/**
|
|
1061
|
+
* The decimal amount for the currency.
|
|
1062
|
+
*/
|
|
1063
|
+
value?: number;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Required for CH EOR. Currency type and value for the 13th month bonus.
|
|
1067
|
+
*/
|
|
1068
|
+
interface ThirteenthMonthBonus {
|
|
1069
|
+
/**
|
|
1070
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1071
|
+
*/
|
|
1072
|
+
currency_type?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* The decimal amount for the currency.
|
|
1075
|
+
*/
|
|
1076
|
+
value?: number;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Transportation allowance amount.
|
|
1080
|
+
*/
|
|
1081
|
+
interface TransportationAllowance {
|
|
1082
|
+
/**
|
|
1083
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1084
|
+
*/
|
|
1085
|
+
currency_type?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* The decimal amount for the currency.
|
|
1088
|
+
*/
|
|
1089
|
+
value?: number;
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Statutory vacation, or a custom number of days.
|
|
1093
|
+
*/
|
|
1094
|
+
interface Vacation {
|
|
1095
|
+
/**
|
|
1096
|
+
* Statutory vacation, or a custom number of days.
|
|
1097
|
+
*/
|
|
1098
|
+
type: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* Vacation days per year. Required when vacation is custom.
|
|
1101
|
+
*/
|
|
1102
|
+
days?: number;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Working hours calendar. Omit unless you need day-level hours.
|
|
497
1106
|
*/
|
|
498
1107
|
interface WorkingHoursSchedule {
|
|
499
1108
|
/**
|
|
@@ -562,11 +1171,12 @@ export declare namespace HireCreateParams {
|
|
|
562
1171
|
*/
|
|
563
1172
|
last_name: string;
|
|
564
1173
|
/**
|
|
565
|
-
*
|
|
1174
|
+
* Email used to invite this person. Send an email or a phone number.
|
|
566
1175
|
*/
|
|
567
1176
|
invite_email?: string;
|
|
568
1177
|
/**
|
|
569
|
-
*
|
|
1178
|
+
* Mobile number used to invite this person, including country code, such as
|
|
1179
|
+
* +14155550123. Send an email or a phone number.
|
|
570
1180
|
*/
|
|
571
1181
|
invite_phone?: string;
|
|
572
1182
|
}
|
|
@@ -575,16 +1185,16 @@ export declare namespace HireCreateParams {
|
|
|
575
1185
|
*/
|
|
576
1186
|
interface WorkLocation {
|
|
577
1187
|
/**
|
|
578
|
-
*
|
|
579
|
-
* milestone accepts US and CA.
|
|
1188
|
+
* Country this person works in. Required for office and remote hires.
|
|
580
1189
|
*/
|
|
581
1190
|
country_code: string;
|
|
582
1191
|
/**
|
|
583
|
-
*
|
|
1192
|
+
* Set to true if this person has no office. You still need the country they work
|
|
1193
|
+
* in.
|
|
584
1194
|
*/
|
|
585
1195
|
is_remote?: boolean;
|
|
586
1196
|
/**
|
|
587
|
-
*
|
|
1197
|
+
* Office this person will work from. Skip this if they work remotely.
|
|
588
1198
|
*/
|
|
589
1199
|
location_id?: string;
|
|
590
1200
|
/**
|
|
@@ -592,87 +1202,6 @@ export declare namespace HireCreateParams {
|
|
|
592
1202
|
*/
|
|
593
1203
|
state_code?: string;
|
|
594
1204
|
}
|
|
595
|
-
/**
|
|
596
|
-
* US additional employment fields such as tips, SOC, and job classification.
|
|
597
|
-
*/
|
|
598
|
-
interface AdditionalEmploymentFields {
|
|
599
|
-
/**
|
|
600
|
-
* Whether the worker collects tips. US catalog field.
|
|
601
|
-
*/
|
|
602
|
-
does_worker_collect_tips: boolean;
|
|
603
|
-
/**
|
|
604
|
-
* US EEOC job classification, for example PROFESSIONALS.
|
|
605
|
-
*/
|
|
606
|
-
job_classification: string;
|
|
607
|
-
/**
|
|
608
|
-
* US SOC occupation code in NN-NNNN form, for example 15-1252.
|
|
609
|
-
*/
|
|
610
|
-
soc_code?: string;
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
* CA vacation, probation, and notice terms. Required for CA direct hire.
|
|
614
|
-
*/
|
|
615
|
-
interface CountryJobFields {
|
|
616
|
-
/**
|
|
617
|
-
* CA employment contract type and optional fixed-term duration. Not collected for
|
|
618
|
-
* US.
|
|
619
|
-
*/
|
|
620
|
-
employment_contract: CountryJobFields.EmploymentContract;
|
|
621
|
-
/**
|
|
622
|
-
* CA notice type: STANDARD_NOTICE or CUSTOM_NOTICE.
|
|
623
|
-
*/
|
|
624
|
-
notice_type: string;
|
|
625
|
-
/**
|
|
626
|
-
* CA probation type: STANDARD_PROBATION, SHORTER_PROBATION, or FORGO_PROBATION.
|
|
627
|
-
*/
|
|
628
|
-
probation_type: string;
|
|
629
|
-
/**
|
|
630
|
-
* CA vacation type: STATUTORY_VACATION or CUSTOM_VACATION.
|
|
631
|
-
*/
|
|
632
|
-
vacation_type: string;
|
|
633
|
-
/**
|
|
634
|
-
* Required when notice_type is CUSTOM_NOTICE.
|
|
635
|
-
*/
|
|
636
|
-
notice_quantity?: number;
|
|
637
|
-
/**
|
|
638
|
-
* Required when notice_type is CUSTOM_NOTICE.
|
|
639
|
-
*/
|
|
640
|
-
notice_unit?: string;
|
|
641
|
-
/**
|
|
642
|
-
* Required when probation_type is SHORTER_PROBATION.
|
|
643
|
-
*/
|
|
644
|
-
probation_quantity?: number;
|
|
645
|
-
/**
|
|
646
|
-
* Required when probation_type is SHORTER_PROBATION.
|
|
647
|
-
*/
|
|
648
|
-
probation_unit?: string;
|
|
649
|
-
/**
|
|
650
|
-
* Required when vacation_type is CUSTOM_VACATION.
|
|
651
|
-
*/
|
|
652
|
-
vacation_days?: number;
|
|
653
|
-
}
|
|
654
|
-
namespace CountryJobFields {
|
|
655
|
-
/**
|
|
656
|
-
* CA employment contract type and optional fixed-term duration. Not collected for
|
|
657
|
-
* US.
|
|
658
|
-
*/
|
|
659
|
-
interface EmploymentContract {
|
|
660
|
-
/**
|
|
661
|
-
* CA employment contract type: FIXED or INDEFINITE.
|
|
662
|
-
*/
|
|
663
|
-
type: string;
|
|
664
|
-
/**
|
|
665
|
-
* Fixed-term duration unit when type is FIXED: DAYS, WEEKS, MONTHS, or YEARS.
|
|
666
|
-
* Required by Hiring Flow for FIXED contracts; omit for INDEFINITE.
|
|
667
|
-
*/
|
|
668
|
-
duration_unit?: string;
|
|
669
|
-
/**
|
|
670
|
-
* Fixed-term duration length when type is FIXED. Required by Hiring Flow for FIXED
|
|
671
|
-
* contracts once duration_unit is set; omit for INDEFINITE.
|
|
672
|
-
*/
|
|
673
|
-
duration_value?: number;
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
1205
|
interface CustomField {
|
|
677
1206
|
/**
|
|
678
1207
|
* Hiring custom field id.
|
|
@@ -684,27 +1213,28 @@ export declare namespace HireCreateParams {
|
|
|
684
1213
|
value: unknown;
|
|
685
1214
|
}
|
|
686
1215
|
/**
|
|
687
|
-
* Optional
|
|
1216
|
+
* Optional links to an ATS applicant, open seat, prior employee, or hire already
|
|
1217
|
+
* in progress.
|
|
688
1218
|
*/
|
|
689
|
-
interface
|
|
1219
|
+
interface RelatedRecords {
|
|
690
1220
|
/**
|
|
691
|
-
*
|
|
1221
|
+
* Applicant id from your ATS, if this hire came from recruiting.
|
|
692
1222
|
*/
|
|
693
1223
|
ats_applicant_id?: string;
|
|
694
1224
|
/**
|
|
695
|
-
*
|
|
1225
|
+
* Hire already started in Rippling, if you are continuing it.
|
|
696
1226
|
*/
|
|
697
1227
|
existing_role_id?: string;
|
|
698
1228
|
/**
|
|
699
|
-
*
|
|
1229
|
+
* Open seat this person is filling.
|
|
700
1230
|
*/
|
|
701
1231
|
headcount_position_id?: string;
|
|
702
1232
|
/**
|
|
703
|
-
*
|
|
1233
|
+
* Reuse their existing details, or collect new details. Required when rehiring.
|
|
704
1234
|
*/
|
|
705
1235
|
rehire_choice?: string;
|
|
706
1236
|
/**
|
|
707
|
-
* Prior
|
|
1237
|
+
* Prior employee role to rehire.
|
|
708
1238
|
*/
|
|
709
1239
|
rehire_role_id?: string;
|
|
710
1240
|
}
|