@digiteers/uloba3-sdk 1.10.1 → 2.0.1
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/dist/api/contracts.d.ts +0 -9
- package/dist/api/contracts.d.ts.map +1 -1
- package/dist/types.d.ts +70 -1399
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -12784,9 +12784,6 @@ export interface paths {
|
|
|
12784
12784
|
cancelled_at?: string | null;
|
|
12785
12785
|
cancelled_by?: string | null;
|
|
12786
12786
|
cancelled_reason?: string | null;
|
|
12787
|
-
disputed_at?: string | null;
|
|
12788
|
-
disputed_by?: string | null;
|
|
12789
|
-
disputed_reason?: string | null;
|
|
12790
12787
|
temporary_position_reason?: string | null;
|
|
12791
12788
|
archived_by_employer?: boolean | null;
|
|
12792
12789
|
archived_at_employer?: string | null;
|
|
@@ -17017,9 +17014,6 @@ export interface paths {
|
|
|
17017
17014
|
cancelled_at?: string | null;
|
|
17018
17015
|
cancelled_by?: string | null;
|
|
17019
17016
|
cancelled_reason?: string | null;
|
|
17020
|
-
disputed_at?: string | null;
|
|
17021
|
-
disputed_by?: string | null;
|
|
17022
|
-
disputed_reason?: string | null;
|
|
17023
17017
|
temporary_position_reason?: string | null;
|
|
17024
17018
|
archived_by_employer?: boolean | null;
|
|
17025
17019
|
archived_at_employer?: string | null;
|
|
@@ -17312,9 +17306,6 @@ export interface paths {
|
|
|
17312
17306
|
cancelled_at?: string | null;
|
|
17313
17307
|
cancelled_by?: string | null;
|
|
17314
17308
|
cancelled_reason?: string | null;
|
|
17315
|
-
disputed_at?: string | null;
|
|
17316
|
-
disputed_by?: string | null;
|
|
17317
|
-
disputed_reason?: string | null;
|
|
17318
17309
|
temporary_position_reason?: string | null;
|
|
17319
17310
|
archived_by_employer?: boolean | null;
|
|
17320
17311
|
archived_at_employer?: string | null;
|
|
@@ -17587,9 +17578,6 @@ export interface paths {
|
|
|
17587
17578
|
cancelled_at?: string | null;
|
|
17588
17579
|
cancelled_by?: string | null;
|
|
17589
17580
|
cancelled_reason?: string | null;
|
|
17590
|
-
disputed_at?: string | null;
|
|
17591
|
-
disputed_by?: string | null;
|
|
17592
|
-
disputed_reason?: string | null;
|
|
17593
17581
|
temporary_position_reason?: string | null;
|
|
17594
17582
|
archived_by_employer?: boolean | null;
|
|
17595
17583
|
archived_at_employer?: string | null;
|
|
@@ -17858,9 +17846,6 @@ export interface paths {
|
|
|
17858
17846
|
cancelled_at?: string | null;
|
|
17859
17847
|
cancelled_by?: string | null;
|
|
17860
17848
|
cancelled_reason?: string | null;
|
|
17861
|
-
disputed_at?: string | null;
|
|
17862
|
-
disputed_by?: string | null;
|
|
17863
|
-
disputed_reason?: string | null;
|
|
17864
17849
|
temporary_position_reason?: string | null;
|
|
17865
17850
|
archived_by_employer?: boolean | null;
|
|
17866
17851
|
archived_at_employer?: string | null;
|
|
@@ -18059,9 +18044,6 @@ export interface paths {
|
|
|
18059
18044
|
cancelled_at?: string | null;
|
|
18060
18045
|
cancelled_by?: string | null;
|
|
18061
18046
|
cancelled_reason?: string | null;
|
|
18062
|
-
disputed_at?: string | null;
|
|
18063
|
-
disputed_by?: string | null;
|
|
18064
|
-
disputed_reason?: string | null;
|
|
18065
18047
|
temporary_position_reason?: string | null;
|
|
18066
18048
|
archived_by_employer?: boolean | null;
|
|
18067
18049
|
archived_at_employer?: string | null;
|
|
@@ -18326,9 +18308,6 @@ export interface paths {
|
|
|
18326
18308
|
cancelled_at?: string | null;
|
|
18327
18309
|
cancelled_by?: string | null;
|
|
18328
18310
|
cancelled_reason?: string | null;
|
|
18329
|
-
disputed_at?: string | null;
|
|
18330
|
-
disputed_by?: string | null;
|
|
18331
|
-
disputed_reason?: string | null;
|
|
18332
18311
|
temporary_position_reason?: string | null;
|
|
18333
18312
|
archived_by_employer?: boolean | null;
|
|
18334
18313
|
archived_at_employer?: string | null;
|
|
@@ -18514,9 +18493,6 @@ export interface paths {
|
|
|
18514
18493
|
cancelled_at?: string | null;
|
|
18515
18494
|
cancelled_by?: string | null;
|
|
18516
18495
|
cancelled_reason?: string | null;
|
|
18517
|
-
disputed_at?: string | null;
|
|
18518
|
-
disputed_by?: string | null;
|
|
18519
|
-
disputed_reason?: string | null;
|
|
18520
18496
|
temporary_position_reason?: string | null;
|
|
18521
18497
|
archived_by_employer?: boolean | null;
|
|
18522
18498
|
archived_at_employer?: string | null;
|
|
@@ -18805,9 +18781,6 @@ export interface paths {
|
|
|
18805
18781
|
cancelled_at?: string | null;
|
|
18806
18782
|
cancelled_by?: string | null;
|
|
18807
18783
|
cancelled_reason?: string | null;
|
|
18808
|
-
disputed_at?: string | null;
|
|
18809
|
-
disputed_by?: string | null;
|
|
18810
|
-
disputed_reason?: string | null;
|
|
18811
18784
|
temporary_position_reason?: string | null;
|
|
18812
18785
|
archived_by_employer?: boolean | null;
|
|
18813
18786
|
archived_at_employer?: string | null;
|
|
@@ -19143,1184 +19116,7 @@ export interface paths {
|
|
|
19143
19116
|
patch?: never;
|
|
19144
19117
|
trace?: never;
|
|
19145
19118
|
};
|
|
19146
|
-
'/api/contracts/
|
|
19147
|
-
parameters: {
|
|
19148
|
-
query?: never;
|
|
19149
|
-
header?: never;
|
|
19150
|
-
path?: never;
|
|
19151
|
-
cookie?: never;
|
|
19152
|
-
};
|
|
19153
|
-
/**
|
|
19154
|
-
* [DEPRECATED] Use /teamlead instead
|
|
19155
|
-
* @deprecated
|
|
19156
|
-
* @description DEPRECATED: List contracts where user is the employer/coordinator. Use /teamlead endpoint instead.
|
|
19157
|
-
*/
|
|
19158
|
-
get: {
|
|
19159
|
-
parameters: {
|
|
19160
|
-
query?: {
|
|
19161
|
-
limit?: number;
|
|
19162
|
-
offset?: number;
|
|
19163
|
-
sort_by?: string;
|
|
19164
|
-
sort_order?: 'asc' | 'desc';
|
|
19165
|
-
archived?: boolean;
|
|
19166
|
-
search?: string;
|
|
19167
|
-
created_after?: string;
|
|
19168
|
-
created_before?: string;
|
|
19169
|
-
updated_after?: string;
|
|
19170
|
-
updated_before?: string;
|
|
19171
|
-
viewType?: 'employer' | 'worker';
|
|
19172
|
-
status?: string;
|
|
19173
|
-
lifecycle_status?: 'operational' | 'archived' | 'anonymized';
|
|
19174
|
-
contract_type_id?: string;
|
|
19175
|
-
sort?: 'created_at' | 'updated_at' | 'start_date' | 'contract_number';
|
|
19176
|
-
order?: 'asc' | 'desc';
|
|
19177
|
-
};
|
|
19178
|
-
header?: never;
|
|
19179
|
-
path?: never;
|
|
19180
|
-
cookie?: never;
|
|
19181
|
-
};
|
|
19182
|
-
requestBody?: never;
|
|
19183
|
-
responses: {
|
|
19184
|
-
/** @description Default Response */
|
|
19185
|
-
200: {
|
|
19186
|
-
headers: {
|
|
19187
|
-
[name: string]: unknown;
|
|
19188
|
-
};
|
|
19189
|
-
content: {
|
|
19190
|
-
'application/json': {
|
|
19191
|
-
data: {
|
|
19192
|
-
/** Format: uuid */
|
|
19193
|
-
id: string;
|
|
19194
|
-
contract_number?: string | null;
|
|
19195
|
-
/** Format: uuid */
|
|
19196
|
-
employer_id: string;
|
|
19197
|
-
worker_id?: string | null;
|
|
19198
|
-
application_id?: string | null;
|
|
19199
|
-
inquiry_id?: string | null;
|
|
19200
|
-
account_id?: string | null;
|
|
19201
|
-
arrangement_id?: string | null;
|
|
19202
|
-
arrangement_title?: string | null;
|
|
19203
|
-
conversation_id?: string | null;
|
|
19204
|
-
/** Format: uuid */
|
|
19205
|
-
contract_type_id: string;
|
|
19206
|
-
contract_type?: string | null;
|
|
19207
|
-
contract_type_title?: string | null;
|
|
19208
|
-
service_type?: string | null;
|
|
19209
|
-
salary_type_name?: string | null;
|
|
19210
|
-
current_salary_amount?: number | null;
|
|
19211
|
-
salary_id?: string | null;
|
|
19212
|
-
source_invite_id?: string | null;
|
|
19213
|
-
is_employer_also_worker?: boolean | null;
|
|
19214
|
-
is_salary_manually_overridden?: boolean | null;
|
|
19215
|
-
requires_background_check?: boolean | null;
|
|
19216
|
-
requires_health_certificate?: boolean | null;
|
|
19217
|
-
title?: string | null;
|
|
19218
|
-
contract_details?: string | null;
|
|
19219
|
-
hours_per_week?: number | null;
|
|
19220
|
-
hourly_rate?: number | null;
|
|
19221
|
-
start_date?: string | null;
|
|
19222
|
-
end_date?: string | null;
|
|
19223
|
-
status: unknown;
|
|
19224
|
-
lifecycle_changed_at?: string | null;
|
|
19225
|
-
status_changed_at?: string | null;
|
|
19226
|
-
employer_email?: string | null;
|
|
19227
|
-
employer_first_name?: string | null;
|
|
19228
|
-
employer_last_name?: string | null;
|
|
19229
|
-
employer_phone?: string | null;
|
|
19230
|
-
worker_personal_number?: string | null;
|
|
19231
|
-
worker_bank_account?: string | null;
|
|
19232
|
-
worker_email?: string | null;
|
|
19233
|
-
worker_name?: string | null;
|
|
19234
|
-
worker_first_name?: string | null;
|
|
19235
|
-
worker_last_name?: string | null;
|
|
19236
|
-
worker_phone?: string | null;
|
|
19237
|
-
worker_phone_number?: string | null;
|
|
19238
|
-
worker_has_previous_employment?: boolean | null;
|
|
19239
|
-
worker_previous_employment_details?: string | null;
|
|
19240
|
-
worker_has_prior_assistant_experience?: boolean | null;
|
|
19241
|
-
worker_has_prior_uloba_employment?: boolean | null;
|
|
19242
|
-
worker_is_related_to_employer?: boolean | null;
|
|
19243
|
-
worker_has_uloba_as_primary_employer?: boolean | null;
|
|
19244
|
-
worker_requires_health_certificate?: boolean | null;
|
|
19245
|
-
worker_requires_tuberculosis_test?: boolean | null;
|
|
19246
|
-
worker_citizenship?: string | null;
|
|
19247
|
-
worker_substitute_for_name?: string | null;
|
|
19248
|
-
worker_address_street?: string | null;
|
|
19249
|
-
worker_address_postal_code?: string | null;
|
|
19250
|
-
worker_address_city?: string | null;
|
|
19251
|
-
worker_address_country?: string | null;
|
|
19252
|
-
worker_emergency_contact_name?: string | null;
|
|
19253
|
-
worker_emergency_contact_phone?: string | null;
|
|
19254
|
-
worker_emergency_contact_relation?: string | null;
|
|
19255
|
-
decision_owner_id?: string | null;
|
|
19256
|
-
decision_owner_name?: string | null;
|
|
19257
|
-
decision_owner_same_as_coordinator?: boolean | null;
|
|
19258
|
-
contract_invite_email?: string | null;
|
|
19259
|
-
contract_invite_status?: string | null;
|
|
19260
|
-
phase_1_submission_completed_by?: string | null;
|
|
19261
|
-
phase_2_submission_completed_by?: string | null;
|
|
19262
|
-
direct_submitted_at?: string | null;
|
|
19263
|
-
direct_submitted_by?: string | null;
|
|
19264
|
-
submitted_by?: string | null;
|
|
19265
|
-
submitted_at?: string | null;
|
|
19266
|
-
coordinator_submitted_at?: string | null;
|
|
19267
|
-
coordinator_submitted_by?: string | null;
|
|
19268
|
-
worker_submitted_at?: string | null;
|
|
19269
|
-
worker_submitted_by?: string | null;
|
|
19270
|
-
ready_for_submission_at?: string | null;
|
|
19271
|
-
ready_for_submission_by?: string | null;
|
|
19272
|
-
submitted_to_uloba_at?: string | null;
|
|
19273
|
-
draft_at?: string | null;
|
|
19274
|
-
draft_by?: string | null;
|
|
19275
|
-
validation_failed_at?: string | null;
|
|
19276
|
-
validation_failed_by?: string | null;
|
|
19277
|
-
in_review_at?: string | null;
|
|
19278
|
-
in_review_by?: string | null;
|
|
19279
|
-
ready_for_signing_at?: string | null;
|
|
19280
|
-
ready_for_signing_by?: string | null;
|
|
19281
|
-
pending_signing_at?: string | null;
|
|
19282
|
-
pending_signing_by?: string | null;
|
|
19283
|
-
signed_at?: string | null;
|
|
19284
|
-
signed_by?: string | null;
|
|
19285
|
-
activated_at?: string | null;
|
|
19286
|
-
activated_by?: string | null;
|
|
19287
|
-
completed_at?: string | null;
|
|
19288
|
-
completed_by?: string | null;
|
|
19289
|
-
terminated_at?: string | null;
|
|
19290
|
-
terminated_by?: string | null;
|
|
19291
|
-
terminated_reason?: string | null;
|
|
19292
|
-
rejected_at?: string | null;
|
|
19293
|
-
rejected_by?: string | null;
|
|
19294
|
-
rejected_reason?: string | null;
|
|
19295
|
-
cancelled_at?: string | null;
|
|
19296
|
-
cancelled_by?: string | null;
|
|
19297
|
-
cancelled_reason?: string | null;
|
|
19298
|
-
disputed_at?: string | null;
|
|
19299
|
-
disputed_by?: string | null;
|
|
19300
|
-
disputed_reason?: string | null;
|
|
19301
|
-
temporary_position_reason?: string | null;
|
|
19302
|
-
archived_by_employer?: boolean | null;
|
|
19303
|
-
archived_at_employer?: string | null;
|
|
19304
|
-
archived_by_worker?: boolean | null;
|
|
19305
|
-
archived_at_worker?: string | null;
|
|
19306
|
-
validation_status?: string | null;
|
|
19307
|
-
validation_errors?: unknown;
|
|
19308
|
-
validation_report?: unknown;
|
|
19309
|
-
last_validated_at?: string | null;
|
|
19310
|
-
created_at?: string | null;
|
|
19311
|
-
updated_at?: string | null;
|
|
19312
|
-
}[];
|
|
19313
|
-
pagination: {
|
|
19314
|
-
total: number;
|
|
19315
|
-
limit: number;
|
|
19316
|
-
offset: number;
|
|
19317
|
-
page?: number;
|
|
19318
|
-
has_more?: boolean;
|
|
19319
|
-
};
|
|
19320
|
-
metadata: {
|
|
19321
|
-
viewerContext: string;
|
|
19322
|
-
timestamp: string;
|
|
19323
|
-
filters?: unknown;
|
|
19324
|
-
};
|
|
19325
|
-
};
|
|
19326
|
-
};
|
|
19327
|
-
};
|
|
19328
|
-
/** @description Default Response */
|
|
19329
|
-
400: {
|
|
19330
|
-
headers: {
|
|
19331
|
-
[name: string]: unknown;
|
|
19332
|
-
};
|
|
19333
|
-
content: {
|
|
19334
|
-
'application/json': {
|
|
19335
|
-
error: string;
|
|
19336
|
-
message?: string;
|
|
19337
|
-
code?: string;
|
|
19338
|
-
details?: unknown;
|
|
19339
|
-
/** Format: date-time */
|
|
19340
|
-
timestamp?: string;
|
|
19341
|
-
};
|
|
19342
|
-
};
|
|
19343
|
-
};
|
|
19344
|
-
/** @description Default Response */
|
|
19345
|
-
401: {
|
|
19346
|
-
headers: {
|
|
19347
|
-
[name: string]: unknown;
|
|
19348
|
-
};
|
|
19349
|
-
content: {
|
|
19350
|
-
'application/json': {
|
|
19351
|
-
error: string;
|
|
19352
|
-
message?: string;
|
|
19353
|
-
code?: string;
|
|
19354
|
-
details?: unknown;
|
|
19355
|
-
/** Format: date-time */
|
|
19356
|
-
timestamp?: string;
|
|
19357
|
-
};
|
|
19358
|
-
};
|
|
19359
|
-
};
|
|
19360
|
-
/** @description Default Response */
|
|
19361
|
-
403: {
|
|
19362
|
-
headers: {
|
|
19363
|
-
[name: string]: unknown;
|
|
19364
|
-
};
|
|
19365
|
-
content: {
|
|
19366
|
-
'application/json': {
|
|
19367
|
-
error: string;
|
|
19368
|
-
message?: string;
|
|
19369
|
-
code?: string;
|
|
19370
|
-
details?: unknown;
|
|
19371
|
-
/** Format: date-time */
|
|
19372
|
-
timestamp?: string;
|
|
19373
|
-
};
|
|
19374
|
-
};
|
|
19375
|
-
};
|
|
19376
|
-
/** @description Default Response */
|
|
19377
|
-
404: {
|
|
19378
|
-
headers: {
|
|
19379
|
-
[name: string]: unknown;
|
|
19380
|
-
};
|
|
19381
|
-
content: {
|
|
19382
|
-
'application/json': {
|
|
19383
|
-
error: string;
|
|
19384
|
-
message?: string;
|
|
19385
|
-
code?: string;
|
|
19386
|
-
details?: unknown;
|
|
19387
|
-
/** Format: date-time */
|
|
19388
|
-
timestamp?: string;
|
|
19389
|
-
};
|
|
19390
|
-
};
|
|
19391
|
-
};
|
|
19392
|
-
/** @description Default Response */
|
|
19393
|
-
422: {
|
|
19394
|
-
headers: {
|
|
19395
|
-
[name: string]: unknown;
|
|
19396
|
-
};
|
|
19397
|
-
content: {
|
|
19398
|
-
'application/json': {
|
|
19399
|
-
error: string;
|
|
19400
|
-
message: string;
|
|
19401
|
-
errors: {
|
|
19402
|
-
field: string;
|
|
19403
|
-
message: string;
|
|
19404
|
-
code?: string;
|
|
19405
|
-
value?: unknown;
|
|
19406
|
-
}[];
|
|
19407
|
-
/** Format: date-time */
|
|
19408
|
-
timestamp?: string;
|
|
19409
|
-
};
|
|
19410
|
-
};
|
|
19411
|
-
};
|
|
19412
|
-
/** @description Default Response */
|
|
19413
|
-
500: {
|
|
19414
|
-
headers: {
|
|
19415
|
-
[name: string]: unknown;
|
|
19416
|
-
};
|
|
19417
|
-
content: {
|
|
19418
|
-
'application/json': {
|
|
19419
|
-
error: string;
|
|
19420
|
-
message?: string;
|
|
19421
|
-
code?: string;
|
|
19422
|
-
details?: unknown;
|
|
19423
|
-
/** Format: date-time */
|
|
19424
|
-
timestamp?: string;
|
|
19425
|
-
};
|
|
19426
|
-
};
|
|
19427
|
-
};
|
|
19428
|
-
};
|
|
19429
|
-
};
|
|
19430
|
-
put?: never;
|
|
19431
|
-
post?: never;
|
|
19432
|
-
delete?: never;
|
|
19433
|
-
options?: never;
|
|
19434
|
-
head?: never;
|
|
19435
|
-
patch?: never;
|
|
19436
|
-
trace?: never;
|
|
19437
|
-
};
|
|
19438
|
-
'/api/contracts/worker': {
|
|
19439
|
-
parameters: {
|
|
19440
|
-
query?: never;
|
|
19441
|
-
header?: never;
|
|
19442
|
-
path?: never;
|
|
19443
|
-
cookie?: never;
|
|
19444
|
-
};
|
|
19445
|
-
/**
|
|
19446
|
-
* [DEPRECATED] Use /assistant instead
|
|
19447
|
-
* @deprecated
|
|
19448
|
-
* @description DEPRECATED: List contracts where user is the worker/assistant. Use /assistant endpoint instead.
|
|
19449
|
-
*/
|
|
19450
|
-
get: {
|
|
19451
|
-
parameters: {
|
|
19452
|
-
query?: {
|
|
19453
|
-
limit?: number;
|
|
19454
|
-
offset?: number;
|
|
19455
|
-
sort_by?: string;
|
|
19456
|
-
sort_order?: 'asc' | 'desc';
|
|
19457
|
-
archived?: boolean;
|
|
19458
|
-
search?: string;
|
|
19459
|
-
created_after?: string;
|
|
19460
|
-
created_before?: string;
|
|
19461
|
-
updated_after?: string;
|
|
19462
|
-
updated_before?: string;
|
|
19463
|
-
viewType?: 'employer' | 'worker';
|
|
19464
|
-
status?: string;
|
|
19465
|
-
lifecycle_status?: 'operational' | 'archived' | 'anonymized';
|
|
19466
|
-
contract_type_id?: string;
|
|
19467
|
-
sort?: 'created_at' | 'updated_at' | 'start_date' | 'contract_number';
|
|
19468
|
-
order?: 'asc' | 'desc';
|
|
19469
|
-
};
|
|
19470
|
-
header?: never;
|
|
19471
|
-
path?: never;
|
|
19472
|
-
cookie?: never;
|
|
19473
|
-
};
|
|
19474
|
-
requestBody?: never;
|
|
19475
|
-
responses: {
|
|
19476
|
-
/** @description Default Response */
|
|
19477
|
-
200: {
|
|
19478
|
-
headers: {
|
|
19479
|
-
[name: string]: unknown;
|
|
19480
|
-
};
|
|
19481
|
-
content: {
|
|
19482
|
-
'application/json': {
|
|
19483
|
-
data: {
|
|
19484
|
-
/** Format: uuid */
|
|
19485
|
-
id: string;
|
|
19486
|
-
contract_number?: string | null;
|
|
19487
|
-
/** Format: uuid */
|
|
19488
|
-
employer_id: string;
|
|
19489
|
-
worker_id?: string | null;
|
|
19490
|
-
application_id?: string | null;
|
|
19491
|
-
inquiry_id?: string | null;
|
|
19492
|
-
account_id?: string | null;
|
|
19493
|
-
arrangement_id?: string | null;
|
|
19494
|
-
arrangement_title?: string | null;
|
|
19495
|
-
conversation_id?: string | null;
|
|
19496
|
-
/** Format: uuid */
|
|
19497
|
-
contract_type_id: string;
|
|
19498
|
-
contract_type?: string | null;
|
|
19499
|
-
contract_type_title?: string | null;
|
|
19500
|
-
service_type?: string | null;
|
|
19501
|
-
salary_type_name?: string | null;
|
|
19502
|
-
current_salary_amount?: number | null;
|
|
19503
|
-
salary_id?: string | null;
|
|
19504
|
-
source_invite_id?: string | null;
|
|
19505
|
-
is_employer_also_worker?: boolean | null;
|
|
19506
|
-
is_salary_manually_overridden?: boolean | null;
|
|
19507
|
-
requires_background_check?: boolean | null;
|
|
19508
|
-
requires_health_certificate?: boolean | null;
|
|
19509
|
-
title?: string | null;
|
|
19510
|
-
contract_details?: string | null;
|
|
19511
|
-
hours_per_week?: number | null;
|
|
19512
|
-
hourly_rate?: number | null;
|
|
19513
|
-
start_date?: string | null;
|
|
19514
|
-
end_date?: string | null;
|
|
19515
|
-
status: unknown;
|
|
19516
|
-
lifecycle_changed_at?: string | null;
|
|
19517
|
-
status_changed_at?: string | null;
|
|
19518
|
-
employer_email?: string | null;
|
|
19519
|
-
employer_first_name?: string | null;
|
|
19520
|
-
employer_last_name?: string | null;
|
|
19521
|
-
employer_phone?: string | null;
|
|
19522
|
-
worker_personal_number?: string | null;
|
|
19523
|
-
worker_bank_account?: string | null;
|
|
19524
|
-
worker_email?: string | null;
|
|
19525
|
-
worker_name?: string | null;
|
|
19526
|
-
worker_first_name?: string | null;
|
|
19527
|
-
worker_last_name?: string | null;
|
|
19528
|
-
worker_phone?: string | null;
|
|
19529
|
-
worker_phone_number?: string | null;
|
|
19530
|
-
worker_has_previous_employment?: boolean | null;
|
|
19531
|
-
worker_previous_employment_details?: string | null;
|
|
19532
|
-
worker_has_prior_assistant_experience?: boolean | null;
|
|
19533
|
-
worker_has_prior_uloba_employment?: boolean | null;
|
|
19534
|
-
worker_is_related_to_employer?: boolean | null;
|
|
19535
|
-
worker_has_uloba_as_primary_employer?: boolean | null;
|
|
19536
|
-
worker_requires_health_certificate?: boolean | null;
|
|
19537
|
-
worker_requires_tuberculosis_test?: boolean | null;
|
|
19538
|
-
worker_citizenship?: string | null;
|
|
19539
|
-
worker_substitute_for_name?: string | null;
|
|
19540
|
-
worker_address_street?: string | null;
|
|
19541
|
-
worker_address_postal_code?: string | null;
|
|
19542
|
-
worker_address_city?: string | null;
|
|
19543
|
-
worker_address_country?: string | null;
|
|
19544
|
-
worker_emergency_contact_name?: string | null;
|
|
19545
|
-
worker_emergency_contact_phone?: string | null;
|
|
19546
|
-
worker_emergency_contact_relation?: string | null;
|
|
19547
|
-
decision_owner_id?: string | null;
|
|
19548
|
-
decision_owner_name?: string | null;
|
|
19549
|
-
decision_owner_same_as_coordinator?: boolean | null;
|
|
19550
|
-
contract_invite_email?: string | null;
|
|
19551
|
-
contract_invite_status?: string | null;
|
|
19552
|
-
phase_1_submission_completed_by?: string | null;
|
|
19553
|
-
phase_2_submission_completed_by?: string | null;
|
|
19554
|
-
direct_submitted_at?: string | null;
|
|
19555
|
-
direct_submitted_by?: string | null;
|
|
19556
|
-
submitted_by?: string | null;
|
|
19557
|
-
submitted_at?: string | null;
|
|
19558
|
-
coordinator_submitted_at?: string | null;
|
|
19559
|
-
coordinator_submitted_by?: string | null;
|
|
19560
|
-
worker_submitted_at?: string | null;
|
|
19561
|
-
worker_submitted_by?: string | null;
|
|
19562
|
-
ready_for_submission_at?: string | null;
|
|
19563
|
-
ready_for_submission_by?: string | null;
|
|
19564
|
-
submitted_to_uloba_at?: string | null;
|
|
19565
|
-
draft_at?: string | null;
|
|
19566
|
-
draft_by?: string | null;
|
|
19567
|
-
validation_failed_at?: string | null;
|
|
19568
|
-
validation_failed_by?: string | null;
|
|
19569
|
-
in_review_at?: string | null;
|
|
19570
|
-
in_review_by?: string | null;
|
|
19571
|
-
ready_for_signing_at?: string | null;
|
|
19572
|
-
ready_for_signing_by?: string | null;
|
|
19573
|
-
pending_signing_at?: string | null;
|
|
19574
|
-
pending_signing_by?: string | null;
|
|
19575
|
-
signed_at?: string | null;
|
|
19576
|
-
signed_by?: string | null;
|
|
19577
|
-
activated_at?: string | null;
|
|
19578
|
-
activated_by?: string | null;
|
|
19579
|
-
completed_at?: string | null;
|
|
19580
|
-
completed_by?: string | null;
|
|
19581
|
-
terminated_at?: string | null;
|
|
19582
|
-
terminated_by?: string | null;
|
|
19583
|
-
terminated_reason?: string | null;
|
|
19584
|
-
rejected_at?: string | null;
|
|
19585
|
-
rejected_by?: string | null;
|
|
19586
|
-
rejected_reason?: string | null;
|
|
19587
|
-
cancelled_at?: string | null;
|
|
19588
|
-
cancelled_by?: string | null;
|
|
19589
|
-
cancelled_reason?: string | null;
|
|
19590
|
-
disputed_at?: string | null;
|
|
19591
|
-
disputed_by?: string | null;
|
|
19592
|
-
disputed_reason?: string | null;
|
|
19593
|
-
temporary_position_reason?: string | null;
|
|
19594
|
-
archived_by_employer?: boolean | null;
|
|
19595
|
-
archived_at_employer?: string | null;
|
|
19596
|
-
archived_by_worker?: boolean | null;
|
|
19597
|
-
archived_at_worker?: string | null;
|
|
19598
|
-
validation_status?: string | null;
|
|
19599
|
-
validation_errors?: unknown;
|
|
19600
|
-
validation_report?: unknown;
|
|
19601
|
-
last_validated_at?: string | null;
|
|
19602
|
-
created_at?: string | null;
|
|
19603
|
-
updated_at?: string | null;
|
|
19604
|
-
}[];
|
|
19605
|
-
pagination: {
|
|
19606
|
-
total: number;
|
|
19607
|
-
limit: number;
|
|
19608
|
-
offset: number;
|
|
19609
|
-
page?: number;
|
|
19610
|
-
has_more?: boolean;
|
|
19611
|
-
};
|
|
19612
|
-
metadata: {
|
|
19613
|
-
viewerContext: string;
|
|
19614
|
-
timestamp: string;
|
|
19615
|
-
filters?: unknown;
|
|
19616
|
-
};
|
|
19617
|
-
};
|
|
19618
|
-
};
|
|
19619
|
-
};
|
|
19620
|
-
/** @description Default Response */
|
|
19621
|
-
400: {
|
|
19622
|
-
headers: {
|
|
19623
|
-
[name: string]: unknown;
|
|
19624
|
-
};
|
|
19625
|
-
content: {
|
|
19626
|
-
'application/json': {
|
|
19627
|
-
error: string;
|
|
19628
|
-
message?: string;
|
|
19629
|
-
code?: string;
|
|
19630
|
-
details?: unknown;
|
|
19631
|
-
/** Format: date-time */
|
|
19632
|
-
timestamp?: string;
|
|
19633
|
-
};
|
|
19634
|
-
};
|
|
19635
|
-
};
|
|
19636
|
-
/** @description Default Response */
|
|
19637
|
-
401: {
|
|
19638
|
-
headers: {
|
|
19639
|
-
[name: string]: unknown;
|
|
19640
|
-
};
|
|
19641
|
-
content: {
|
|
19642
|
-
'application/json': {
|
|
19643
|
-
error: string;
|
|
19644
|
-
message?: string;
|
|
19645
|
-
code?: string;
|
|
19646
|
-
details?: unknown;
|
|
19647
|
-
/** Format: date-time */
|
|
19648
|
-
timestamp?: string;
|
|
19649
|
-
};
|
|
19650
|
-
};
|
|
19651
|
-
};
|
|
19652
|
-
/** @description Default Response */
|
|
19653
|
-
403: {
|
|
19654
|
-
headers: {
|
|
19655
|
-
[name: string]: unknown;
|
|
19656
|
-
};
|
|
19657
|
-
content: {
|
|
19658
|
-
'application/json': {
|
|
19659
|
-
error: string;
|
|
19660
|
-
message?: string;
|
|
19661
|
-
code?: string;
|
|
19662
|
-
details?: unknown;
|
|
19663
|
-
/** Format: date-time */
|
|
19664
|
-
timestamp?: string;
|
|
19665
|
-
};
|
|
19666
|
-
};
|
|
19667
|
-
};
|
|
19668
|
-
/** @description Default Response */
|
|
19669
|
-
404: {
|
|
19670
|
-
headers: {
|
|
19671
|
-
[name: string]: unknown;
|
|
19672
|
-
};
|
|
19673
|
-
content: {
|
|
19674
|
-
'application/json': {
|
|
19675
|
-
error: string;
|
|
19676
|
-
message?: string;
|
|
19677
|
-
code?: string;
|
|
19678
|
-
details?: unknown;
|
|
19679
|
-
/** Format: date-time */
|
|
19680
|
-
timestamp?: string;
|
|
19681
|
-
};
|
|
19682
|
-
};
|
|
19683
|
-
};
|
|
19684
|
-
/** @description Default Response */
|
|
19685
|
-
422: {
|
|
19686
|
-
headers: {
|
|
19687
|
-
[name: string]: unknown;
|
|
19688
|
-
};
|
|
19689
|
-
content: {
|
|
19690
|
-
'application/json': {
|
|
19691
|
-
error: string;
|
|
19692
|
-
message: string;
|
|
19693
|
-
errors: {
|
|
19694
|
-
field: string;
|
|
19695
|
-
message: string;
|
|
19696
|
-
code?: string;
|
|
19697
|
-
value?: unknown;
|
|
19698
|
-
}[];
|
|
19699
|
-
/** Format: date-time */
|
|
19700
|
-
timestamp?: string;
|
|
19701
|
-
};
|
|
19702
|
-
};
|
|
19703
|
-
};
|
|
19704
|
-
/** @description Default Response */
|
|
19705
|
-
500: {
|
|
19706
|
-
headers: {
|
|
19707
|
-
[name: string]: unknown;
|
|
19708
|
-
};
|
|
19709
|
-
content: {
|
|
19710
|
-
'application/json': {
|
|
19711
|
-
error: string;
|
|
19712
|
-
message?: string;
|
|
19713
|
-
code?: string;
|
|
19714
|
-
details?: unknown;
|
|
19715
|
-
/** Format: date-time */
|
|
19716
|
-
timestamp?: string;
|
|
19717
|
-
};
|
|
19718
|
-
};
|
|
19719
|
-
};
|
|
19720
|
-
};
|
|
19721
|
-
};
|
|
19722
|
-
put?: never;
|
|
19723
|
-
post?: never;
|
|
19724
|
-
delete?: never;
|
|
19725
|
-
options?: never;
|
|
19726
|
-
head?: never;
|
|
19727
|
-
patch?: never;
|
|
19728
|
-
trace?: never;
|
|
19729
|
-
};
|
|
19730
|
-
'/api/contracts/{id}/coordinator-submit': {
|
|
19731
|
-
parameters: {
|
|
19732
|
-
query?: never;
|
|
19733
|
-
header?: never;
|
|
19734
|
-
path?: never;
|
|
19735
|
-
cookie?: never;
|
|
19736
|
-
};
|
|
19737
|
-
get?: never;
|
|
19738
|
-
put?: never;
|
|
19739
|
-
/**
|
|
19740
|
-
* Submit coordinator data (Phase 1)
|
|
19741
|
-
* @description Coordinator submits contract details in phase 1 of two-phase submission
|
|
19742
|
-
*/
|
|
19743
|
-
post: {
|
|
19744
|
-
parameters: {
|
|
19745
|
-
query?: never;
|
|
19746
|
-
header?: never;
|
|
19747
|
-
path: {
|
|
19748
|
-
id: string;
|
|
19749
|
-
};
|
|
19750
|
-
cookie?: never;
|
|
19751
|
-
};
|
|
19752
|
-
requestBody: {
|
|
19753
|
-
content: {
|
|
19754
|
-
'application/json': {
|
|
19755
|
-
/** Format: uuid */
|
|
19756
|
-
arrangement_id: string;
|
|
19757
|
-
/** Format: uuid */
|
|
19758
|
-
contract_type_id: string;
|
|
19759
|
-
contract_details?: string;
|
|
19760
|
-
title?: string;
|
|
19761
|
-
/** @description Hours per week (0.5-60 hours) */
|
|
19762
|
-
hours_per_week?: number;
|
|
19763
|
-
hourly_rate?: number;
|
|
19764
|
-
start_date?: string | null;
|
|
19765
|
-
end_date?: string | null;
|
|
19766
|
-
decision_owner_same_as_coordinator?: boolean;
|
|
19767
|
-
decision_owner_name?: string;
|
|
19768
|
-
requires_background_check?: boolean;
|
|
19769
|
-
requires_health_certificate?: boolean;
|
|
19770
|
-
temporary_position_reason?: string;
|
|
19771
|
-
coordinator_message?: string;
|
|
19772
|
-
};
|
|
19773
|
-
};
|
|
19774
|
-
};
|
|
19775
|
-
responses: {
|
|
19776
|
-
/** @description Default Response */
|
|
19777
|
-
200: {
|
|
19778
|
-
headers: {
|
|
19779
|
-
[name: string]: unknown;
|
|
19780
|
-
};
|
|
19781
|
-
content: {
|
|
19782
|
-
'application/json': {
|
|
19783
|
-
data: {
|
|
19784
|
-
/** Format: uuid */
|
|
19785
|
-
id: string;
|
|
19786
|
-
contract_number?: string | null;
|
|
19787
|
-
/** Format: uuid */
|
|
19788
|
-
employer_id: string;
|
|
19789
|
-
worker_id?: string | null;
|
|
19790
|
-
application_id?: string | null;
|
|
19791
|
-
inquiry_id?: string | null;
|
|
19792
|
-
account_id?: string | null;
|
|
19793
|
-
arrangement_id?: string | null;
|
|
19794
|
-
arrangement_title?: string | null;
|
|
19795
|
-
conversation_id?: string | null;
|
|
19796
|
-
/** Format: uuid */
|
|
19797
|
-
contract_type_id: string;
|
|
19798
|
-
contract_type?: string | null;
|
|
19799
|
-
contract_type_title?: string | null;
|
|
19800
|
-
service_type?: string | null;
|
|
19801
|
-
salary_type_name?: string | null;
|
|
19802
|
-
current_salary_amount?: number | null;
|
|
19803
|
-
salary_id?: string | null;
|
|
19804
|
-
source_invite_id?: string | null;
|
|
19805
|
-
is_employer_also_worker?: boolean | null;
|
|
19806
|
-
is_salary_manually_overridden?: boolean | null;
|
|
19807
|
-
requires_background_check?: boolean | null;
|
|
19808
|
-
requires_health_certificate?: boolean | null;
|
|
19809
|
-
title?: string | null;
|
|
19810
|
-
contract_details?: string | null;
|
|
19811
|
-
hours_per_week?: number | null;
|
|
19812
|
-
hourly_rate?: number | null;
|
|
19813
|
-
start_date?: string | null;
|
|
19814
|
-
end_date?: string | null;
|
|
19815
|
-
status: unknown;
|
|
19816
|
-
lifecycle_changed_at?: string | null;
|
|
19817
|
-
status_changed_at?: string | null;
|
|
19818
|
-
employer_email?: string | null;
|
|
19819
|
-
employer_first_name?: string | null;
|
|
19820
|
-
employer_last_name?: string | null;
|
|
19821
|
-
employer_phone?: string | null;
|
|
19822
|
-
worker_personal_number?: string | null;
|
|
19823
|
-
worker_bank_account?: string | null;
|
|
19824
|
-
worker_email?: string | null;
|
|
19825
|
-
worker_name?: string | null;
|
|
19826
|
-
worker_first_name?: string | null;
|
|
19827
|
-
worker_last_name?: string | null;
|
|
19828
|
-
worker_phone?: string | null;
|
|
19829
|
-
worker_phone_number?: string | null;
|
|
19830
|
-
worker_has_previous_employment?: boolean | null;
|
|
19831
|
-
worker_previous_employment_details?: string | null;
|
|
19832
|
-
worker_has_prior_assistant_experience?: boolean | null;
|
|
19833
|
-
worker_has_prior_uloba_employment?: boolean | null;
|
|
19834
|
-
worker_is_related_to_employer?: boolean | null;
|
|
19835
|
-
worker_has_uloba_as_primary_employer?: boolean | null;
|
|
19836
|
-
worker_requires_health_certificate?: boolean | null;
|
|
19837
|
-
worker_requires_tuberculosis_test?: boolean | null;
|
|
19838
|
-
worker_citizenship?: string | null;
|
|
19839
|
-
worker_substitute_for_name?: string | null;
|
|
19840
|
-
worker_address_street?: string | null;
|
|
19841
|
-
worker_address_postal_code?: string | null;
|
|
19842
|
-
worker_address_city?: string | null;
|
|
19843
|
-
worker_address_country?: string | null;
|
|
19844
|
-
worker_emergency_contact_name?: string | null;
|
|
19845
|
-
worker_emergency_contact_phone?: string | null;
|
|
19846
|
-
worker_emergency_contact_relation?: string | null;
|
|
19847
|
-
decision_owner_id?: string | null;
|
|
19848
|
-
decision_owner_name?: string | null;
|
|
19849
|
-
decision_owner_same_as_coordinator?: boolean | null;
|
|
19850
|
-
contract_invite_email?: string | null;
|
|
19851
|
-
contract_invite_status?: string | null;
|
|
19852
|
-
phase_1_submission_completed_by?: string | null;
|
|
19853
|
-
phase_2_submission_completed_by?: string | null;
|
|
19854
|
-
direct_submitted_at?: string | null;
|
|
19855
|
-
direct_submitted_by?: string | null;
|
|
19856
|
-
submitted_by?: string | null;
|
|
19857
|
-
submitted_at?: string | null;
|
|
19858
|
-
coordinator_submitted_at?: string | null;
|
|
19859
|
-
coordinator_submitted_by?: string | null;
|
|
19860
|
-
worker_submitted_at?: string | null;
|
|
19861
|
-
worker_submitted_by?: string | null;
|
|
19862
|
-
ready_for_submission_at?: string | null;
|
|
19863
|
-
ready_for_submission_by?: string | null;
|
|
19864
|
-
submitted_to_uloba_at?: string | null;
|
|
19865
|
-
draft_at?: string | null;
|
|
19866
|
-
draft_by?: string | null;
|
|
19867
|
-
validation_failed_at?: string | null;
|
|
19868
|
-
validation_failed_by?: string | null;
|
|
19869
|
-
in_review_at?: string | null;
|
|
19870
|
-
in_review_by?: string | null;
|
|
19871
|
-
ready_for_signing_at?: string | null;
|
|
19872
|
-
ready_for_signing_by?: string | null;
|
|
19873
|
-
pending_signing_at?: string | null;
|
|
19874
|
-
pending_signing_by?: string | null;
|
|
19875
|
-
signed_at?: string | null;
|
|
19876
|
-
signed_by?: string | null;
|
|
19877
|
-
activated_at?: string | null;
|
|
19878
|
-
activated_by?: string | null;
|
|
19879
|
-
completed_at?: string | null;
|
|
19880
|
-
completed_by?: string | null;
|
|
19881
|
-
terminated_at?: string | null;
|
|
19882
|
-
terminated_by?: string | null;
|
|
19883
|
-
terminated_reason?: string | null;
|
|
19884
|
-
rejected_at?: string | null;
|
|
19885
|
-
rejected_by?: string | null;
|
|
19886
|
-
rejected_reason?: string | null;
|
|
19887
|
-
cancelled_at?: string | null;
|
|
19888
|
-
cancelled_by?: string | null;
|
|
19889
|
-
cancelled_reason?: string | null;
|
|
19890
|
-
disputed_at?: string | null;
|
|
19891
|
-
disputed_by?: string | null;
|
|
19892
|
-
disputed_reason?: string | null;
|
|
19893
|
-
temporary_position_reason?: string | null;
|
|
19894
|
-
archived_by_employer?: boolean | null;
|
|
19895
|
-
archived_at_employer?: string | null;
|
|
19896
|
-
archived_by_worker?: boolean | null;
|
|
19897
|
-
archived_at_worker?: string | null;
|
|
19898
|
-
validation_status?: string | null;
|
|
19899
|
-
validation_errors?: unknown;
|
|
19900
|
-
validation_report?: unknown;
|
|
19901
|
-
last_validated_at?: string | null;
|
|
19902
|
-
created_at?: string | null;
|
|
19903
|
-
updated_at?: string | null;
|
|
19904
|
-
};
|
|
19905
|
-
metadata: {
|
|
19906
|
-
/** @description Viewer relationship to the resource */
|
|
19907
|
-
viewerContext: 'anonymous' | 'authenticated' | 'owner' | 'coordinator' | 'admin' | 'employer' | 'worker';
|
|
19908
|
-
permissions: {
|
|
19909
|
-
canView: boolean;
|
|
19910
|
-
canEdit: boolean;
|
|
19911
|
-
canDelete: boolean;
|
|
19912
|
-
};
|
|
19913
|
-
};
|
|
19914
|
-
};
|
|
19915
|
-
};
|
|
19916
|
-
};
|
|
19917
|
-
/** @description Default Response */
|
|
19918
|
-
400: {
|
|
19919
|
-
headers: {
|
|
19920
|
-
[name: string]: unknown;
|
|
19921
|
-
};
|
|
19922
|
-
content: {
|
|
19923
|
-
'application/json': {
|
|
19924
|
-
error: string;
|
|
19925
|
-
message?: string;
|
|
19926
|
-
code?: string;
|
|
19927
|
-
details?: unknown;
|
|
19928
|
-
/** Format: date-time */
|
|
19929
|
-
timestamp?: string;
|
|
19930
|
-
};
|
|
19931
|
-
};
|
|
19932
|
-
};
|
|
19933
|
-
/** @description Default Response */
|
|
19934
|
-
401: {
|
|
19935
|
-
headers: {
|
|
19936
|
-
[name: string]: unknown;
|
|
19937
|
-
};
|
|
19938
|
-
content: {
|
|
19939
|
-
'application/json': {
|
|
19940
|
-
error: string;
|
|
19941
|
-
message?: string;
|
|
19942
|
-
code?: string;
|
|
19943
|
-
details?: unknown;
|
|
19944
|
-
/** Format: date-time */
|
|
19945
|
-
timestamp?: string;
|
|
19946
|
-
};
|
|
19947
|
-
};
|
|
19948
|
-
};
|
|
19949
|
-
/** @description Default Response */
|
|
19950
|
-
403: {
|
|
19951
|
-
headers: {
|
|
19952
|
-
[name: string]: unknown;
|
|
19953
|
-
};
|
|
19954
|
-
content: {
|
|
19955
|
-
'application/json': {
|
|
19956
|
-
error: string;
|
|
19957
|
-
message?: string;
|
|
19958
|
-
code?: string;
|
|
19959
|
-
details?: unknown;
|
|
19960
|
-
/** Format: date-time */
|
|
19961
|
-
timestamp?: string;
|
|
19962
|
-
};
|
|
19963
|
-
};
|
|
19964
|
-
};
|
|
19965
|
-
/** @description Default Response */
|
|
19966
|
-
404: {
|
|
19967
|
-
headers: {
|
|
19968
|
-
[name: string]: unknown;
|
|
19969
|
-
};
|
|
19970
|
-
content: {
|
|
19971
|
-
'application/json': {
|
|
19972
|
-
error: string;
|
|
19973
|
-
message?: string;
|
|
19974
|
-
code?: string;
|
|
19975
|
-
details?: unknown;
|
|
19976
|
-
/** Format: date-time */
|
|
19977
|
-
timestamp?: string;
|
|
19978
|
-
};
|
|
19979
|
-
};
|
|
19980
|
-
};
|
|
19981
|
-
/** @description Default Response */
|
|
19982
|
-
422: {
|
|
19983
|
-
headers: {
|
|
19984
|
-
[name: string]: unknown;
|
|
19985
|
-
};
|
|
19986
|
-
content: {
|
|
19987
|
-
'application/json': {
|
|
19988
|
-
error: string;
|
|
19989
|
-
message: string;
|
|
19990
|
-
errors: {
|
|
19991
|
-
field: string;
|
|
19992
|
-
message: string;
|
|
19993
|
-
code?: string;
|
|
19994
|
-
value?: unknown;
|
|
19995
|
-
}[];
|
|
19996
|
-
/** Format: date-time */
|
|
19997
|
-
timestamp?: string;
|
|
19998
|
-
};
|
|
19999
|
-
};
|
|
20000
|
-
};
|
|
20001
|
-
/** @description Default Response */
|
|
20002
|
-
500: {
|
|
20003
|
-
headers: {
|
|
20004
|
-
[name: string]: unknown;
|
|
20005
|
-
};
|
|
20006
|
-
content: {
|
|
20007
|
-
'application/json': {
|
|
20008
|
-
error: string;
|
|
20009
|
-
message?: string;
|
|
20010
|
-
code?: string;
|
|
20011
|
-
details?: unknown;
|
|
20012
|
-
/** Format: date-time */
|
|
20013
|
-
timestamp?: string;
|
|
20014
|
-
};
|
|
20015
|
-
};
|
|
20016
|
-
};
|
|
20017
|
-
};
|
|
20018
|
-
};
|
|
20019
|
-
delete?: never;
|
|
20020
|
-
options?: never;
|
|
20021
|
-
head?: never;
|
|
20022
|
-
patch?: never;
|
|
20023
|
-
trace?: never;
|
|
20024
|
-
};
|
|
20025
|
-
'/api/contracts/{id}/worker-submit': {
|
|
20026
|
-
parameters: {
|
|
20027
|
-
query?: never;
|
|
20028
|
-
header?: never;
|
|
20029
|
-
path?: never;
|
|
20030
|
-
cookie?: never;
|
|
20031
|
-
};
|
|
20032
|
-
get?: never;
|
|
20033
|
-
put?: never;
|
|
20034
|
-
/**
|
|
20035
|
-
* Submit worker data (Phase 2)
|
|
20036
|
-
* @description Worker submits personal information in phase 2 of two-phase submission
|
|
20037
|
-
*/
|
|
20038
|
-
post: {
|
|
20039
|
-
parameters: {
|
|
20040
|
-
query?: never;
|
|
20041
|
-
header?: never;
|
|
20042
|
-
path: {
|
|
20043
|
-
id: string;
|
|
20044
|
-
};
|
|
20045
|
-
cookie?: never;
|
|
20046
|
-
};
|
|
20047
|
-
requestBody: {
|
|
20048
|
-
content: {
|
|
20049
|
-
'application/json': {
|
|
20050
|
-
/** @description Norwegian personal number (11 digits) */
|
|
20051
|
-
worker_personal_number: string;
|
|
20052
|
-
worker_address_street: string;
|
|
20053
|
-
worker_address_postal_code: string;
|
|
20054
|
-
worker_address_city: string;
|
|
20055
|
-
worker_address_country?: string;
|
|
20056
|
-
/** @description Norwegian bank account number */
|
|
20057
|
-
worker_bank_account: string;
|
|
20058
|
-
worker_emergency_contact_name: string;
|
|
20059
|
-
worker_emergency_contact_phone: string;
|
|
20060
|
-
worker_emergency_contact_relation: string;
|
|
20061
|
-
worker_has_previous_employment: boolean;
|
|
20062
|
-
worker_previous_employment_details?: string;
|
|
20063
|
-
worker_has_prior_assistant_experience: boolean;
|
|
20064
|
-
worker_has_prior_uloba_employment: boolean;
|
|
20065
|
-
worker_is_related_to_employer: boolean;
|
|
20066
|
-
worker_has_uloba_as_primary_employer: boolean;
|
|
20067
|
-
worker_citizenship: string;
|
|
20068
|
-
worker_substitute_for_name?: string;
|
|
20069
|
-
worker_requires_tuberculosis_test: boolean;
|
|
20070
|
-
};
|
|
20071
|
-
};
|
|
20072
|
-
};
|
|
20073
|
-
responses: {
|
|
20074
|
-
/** @description Default Response */
|
|
20075
|
-
200: {
|
|
20076
|
-
headers: {
|
|
20077
|
-
[name: string]: unknown;
|
|
20078
|
-
};
|
|
20079
|
-
content: {
|
|
20080
|
-
'application/json': {
|
|
20081
|
-
data: {
|
|
20082
|
-
/** Format: uuid */
|
|
20083
|
-
id: string;
|
|
20084
|
-
contract_number?: string | null;
|
|
20085
|
-
/** Format: uuid */
|
|
20086
|
-
employer_id: string;
|
|
20087
|
-
worker_id?: string | null;
|
|
20088
|
-
application_id?: string | null;
|
|
20089
|
-
inquiry_id?: string | null;
|
|
20090
|
-
account_id?: string | null;
|
|
20091
|
-
arrangement_id?: string | null;
|
|
20092
|
-
arrangement_title?: string | null;
|
|
20093
|
-
conversation_id?: string | null;
|
|
20094
|
-
/** Format: uuid */
|
|
20095
|
-
contract_type_id: string;
|
|
20096
|
-
contract_type?: string | null;
|
|
20097
|
-
contract_type_title?: string | null;
|
|
20098
|
-
service_type?: string | null;
|
|
20099
|
-
salary_type_name?: string | null;
|
|
20100
|
-
current_salary_amount?: number | null;
|
|
20101
|
-
salary_id?: string | null;
|
|
20102
|
-
source_invite_id?: string | null;
|
|
20103
|
-
is_employer_also_worker?: boolean | null;
|
|
20104
|
-
is_salary_manually_overridden?: boolean | null;
|
|
20105
|
-
requires_background_check?: boolean | null;
|
|
20106
|
-
requires_health_certificate?: boolean | null;
|
|
20107
|
-
title?: string | null;
|
|
20108
|
-
contract_details?: string | null;
|
|
20109
|
-
hours_per_week?: number | null;
|
|
20110
|
-
hourly_rate?: number | null;
|
|
20111
|
-
start_date?: string | null;
|
|
20112
|
-
end_date?: string | null;
|
|
20113
|
-
status: unknown;
|
|
20114
|
-
lifecycle_changed_at?: string | null;
|
|
20115
|
-
status_changed_at?: string | null;
|
|
20116
|
-
employer_email?: string | null;
|
|
20117
|
-
employer_first_name?: string | null;
|
|
20118
|
-
employer_last_name?: string | null;
|
|
20119
|
-
employer_phone?: string | null;
|
|
20120
|
-
worker_personal_number?: string | null;
|
|
20121
|
-
worker_bank_account?: string | null;
|
|
20122
|
-
worker_email?: string | null;
|
|
20123
|
-
worker_name?: string | null;
|
|
20124
|
-
worker_first_name?: string | null;
|
|
20125
|
-
worker_last_name?: string | null;
|
|
20126
|
-
worker_phone?: string | null;
|
|
20127
|
-
worker_phone_number?: string | null;
|
|
20128
|
-
worker_has_previous_employment?: boolean | null;
|
|
20129
|
-
worker_previous_employment_details?: string | null;
|
|
20130
|
-
worker_has_prior_assistant_experience?: boolean | null;
|
|
20131
|
-
worker_has_prior_uloba_employment?: boolean | null;
|
|
20132
|
-
worker_is_related_to_employer?: boolean | null;
|
|
20133
|
-
worker_has_uloba_as_primary_employer?: boolean | null;
|
|
20134
|
-
worker_requires_health_certificate?: boolean | null;
|
|
20135
|
-
worker_requires_tuberculosis_test?: boolean | null;
|
|
20136
|
-
worker_citizenship?: string | null;
|
|
20137
|
-
worker_substitute_for_name?: string | null;
|
|
20138
|
-
worker_address_street?: string | null;
|
|
20139
|
-
worker_address_postal_code?: string | null;
|
|
20140
|
-
worker_address_city?: string | null;
|
|
20141
|
-
worker_address_country?: string | null;
|
|
20142
|
-
worker_emergency_contact_name?: string | null;
|
|
20143
|
-
worker_emergency_contact_phone?: string | null;
|
|
20144
|
-
worker_emergency_contact_relation?: string | null;
|
|
20145
|
-
decision_owner_id?: string | null;
|
|
20146
|
-
decision_owner_name?: string | null;
|
|
20147
|
-
decision_owner_same_as_coordinator?: boolean | null;
|
|
20148
|
-
contract_invite_email?: string | null;
|
|
20149
|
-
contract_invite_status?: string | null;
|
|
20150
|
-
phase_1_submission_completed_by?: string | null;
|
|
20151
|
-
phase_2_submission_completed_by?: string | null;
|
|
20152
|
-
direct_submitted_at?: string | null;
|
|
20153
|
-
direct_submitted_by?: string | null;
|
|
20154
|
-
submitted_by?: string | null;
|
|
20155
|
-
submitted_at?: string | null;
|
|
20156
|
-
coordinator_submitted_at?: string | null;
|
|
20157
|
-
coordinator_submitted_by?: string | null;
|
|
20158
|
-
worker_submitted_at?: string | null;
|
|
20159
|
-
worker_submitted_by?: string | null;
|
|
20160
|
-
ready_for_submission_at?: string | null;
|
|
20161
|
-
ready_for_submission_by?: string | null;
|
|
20162
|
-
submitted_to_uloba_at?: string | null;
|
|
20163
|
-
draft_at?: string | null;
|
|
20164
|
-
draft_by?: string | null;
|
|
20165
|
-
validation_failed_at?: string | null;
|
|
20166
|
-
validation_failed_by?: string | null;
|
|
20167
|
-
in_review_at?: string | null;
|
|
20168
|
-
in_review_by?: string | null;
|
|
20169
|
-
ready_for_signing_at?: string | null;
|
|
20170
|
-
ready_for_signing_by?: string | null;
|
|
20171
|
-
pending_signing_at?: string | null;
|
|
20172
|
-
pending_signing_by?: string | null;
|
|
20173
|
-
signed_at?: string | null;
|
|
20174
|
-
signed_by?: string | null;
|
|
20175
|
-
activated_at?: string | null;
|
|
20176
|
-
activated_by?: string | null;
|
|
20177
|
-
completed_at?: string | null;
|
|
20178
|
-
completed_by?: string | null;
|
|
20179
|
-
terminated_at?: string | null;
|
|
20180
|
-
terminated_by?: string | null;
|
|
20181
|
-
terminated_reason?: string | null;
|
|
20182
|
-
rejected_at?: string | null;
|
|
20183
|
-
rejected_by?: string | null;
|
|
20184
|
-
rejected_reason?: string | null;
|
|
20185
|
-
cancelled_at?: string | null;
|
|
20186
|
-
cancelled_by?: string | null;
|
|
20187
|
-
cancelled_reason?: string | null;
|
|
20188
|
-
disputed_at?: string | null;
|
|
20189
|
-
disputed_by?: string | null;
|
|
20190
|
-
disputed_reason?: string | null;
|
|
20191
|
-
temporary_position_reason?: string | null;
|
|
20192
|
-
archived_by_employer?: boolean | null;
|
|
20193
|
-
archived_at_employer?: string | null;
|
|
20194
|
-
archived_by_worker?: boolean | null;
|
|
20195
|
-
archived_at_worker?: string | null;
|
|
20196
|
-
validation_status?: string | null;
|
|
20197
|
-
validation_errors?: unknown;
|
|
20198
|
-
validation_report?: unknown;
|
|
20199
|
-
last_validated_at?: string | null;
|
|
20200
|
-
created_at?: string | null;
|
|
20201
|
-
updated_at?: string | null;
|
|
20202
|
-
};
|
|
20203
|
-
metadata: {
|
|
20204
|
-
/** @description Viewer relationship to the resource */
|
|
20205
|
-
viewerContext: 'anonymous' | 'authenticated' | 'owner' | 'coordinator' | 'admin' | 'employer' | 'worker';
|
|
20206
|
-
permissions: {
|
|
20207
|
-
canView: boolean;
|
|
20208
|
-
canEdit: boolean;
|
|
20209
|
-
canDelete: boolean;
|
|
20210
|
-
};
|
|
20211
|
-
};
|
|
20212
|
-
};
|
|
20213
|
-
};
|
|
20214
|
-
};
|
|
20215
|
-
/** @description Default Response */
|
|
20216
|
-
400: {
|
|
20217
|
-
headers: {
|
|
20218
|
-
[name: string]: unknown;
|
|
20219
|
-
};
|
|
20220
|
-
content: {
|
|
20221
|
-
'application/json': {
|
|
20222
|
-
error: string;
|
|
20223
|
-
message?: string;
|
|
20224
|
-
code?: string;
|
|
20225
|
-
details?: unknown;
|
|
20226
|
-
/** Format: date-time */
|
|
20227
|
-
timestamp?: string;
|
|
20228
|
-
};
|
|
20229
|
-
};
|
|
20230
|
-
};
|
|
20231
|
-
/** @description Default Response */
|
|
20232
|
-
401: {
|
|
20233
|
-
headers: {
|
|
20234
|
-
[name: string]: unknown;
|
|
20235
|
-
};
|
|
20236
|
-
content: {
|
|
20237
|
-
'application/json': {
|
|
20238
|
-
error: string;
|
|
20239
|
-
message?: string;
|
|
20240
|
-
code?: string;
|
|
20241
|
-
details?: unknown;
|
|
20242
|
-
/** Format: date-time */
|
|
20243
|
-
timestamp?: string;
|
|
20244
|
-
};
|
|
20245
|
-
};
|
|
20246
|
-
};
|
|
20247
|
-
/** @description Default Response */
|
|
20248
|
-
403: {
|
|
20249
|
-
headers: {
|
|
20250
|
-
[name: string]: unknown;
|
|
20251
|
-
};
|
|
20252
|
-
content: {
|
|
20253
|
-
'application/json': {
|
|
20254
|
-
error: string;
|
|
20255
|
-
message?: string;
|
|
20256
|
-
code?: string;
|
|
20257
|
-
details?: unknown;
|
|
20258
|
-
/** Format: date-time */
|
|
20259
|
-
timestamp?: string;
|
|
20260
|
-
};
|
|
20261
|
-
};
|
|
20262
|
-
};
|
|
20263
|
-
/** @description Default Response */
|
|
20264
|
-
404: {
|
|
20265
|
-
headers: {
|
|
20266
|
-
[name: string]: unknown;
|
|
20267
|
-
};
|
|
20268
|
-
content: {
|
|
20269
|
-
'application/json': {
|
|
20270
|
-
error: string;
|
|
20271
|
-
message?: string;
|
|
20272
|
-
code?: string;
|
|
20273
|
-
details?: unknown;
|
|
20274
|
-
/** Format: date-time */
|
|
20275
|
-
timestamp?: string;
|
|
20276
|
-
};
|
|
20277
|
-
};
|
|
20278
|
-
};
|
|
20279
|
-
/** @description Default Response */
|
|
20280
|
-
422: {
|
|
20281
|
-
headers: {
|
|
20282
|
-
[name: string]: unknown;
|
|
20283
|
-
};
|
|
20284
|
-
content: {
|
|
20285
|
-
'application/json': {
|
|
20286
|
-
error: string;
|
|
20287
|
-
message: string;
|
|
20288
|
-
errors: {
|
|
20289
|
-
field: string;
|
|
20290
|
-
message: string;
|
|
20291
|
-
code?: string;
|
|
20292
|
-
value?: unknown;
|
|
20293
|
-
}[];
|
|
20294
|
-
/** Format: date-time */
|
|
20295
|
-
timestamp?: string;
|
|
20296
|
-
};
|
|
20297
|
-
};
|
|
20298
|
-
};
|
|
20299
|
-
/** @description Default Response */
|
|
20300
|
-
500: {
|
|
20301
|
-
headers: {
|
|
20302
|
-
[name: string]: unknown;
|
|
20303
|
-
};
|
|
20304
|
-
content: {
|
|
20305
|
-
'application/json': {
|
|
20306
|
-
error: string;
|
|
20307
|
-
message?: string;
|
|
20308
|
-
code?: string;
|
|
20309
|
-
details?: unknown;
|
|
20310
|
-
/** Format: date-time */
|
|
20311
|
-
timestamp?: string;
|
|
20312
|
-
};
|
|
20313
|
-
};
|
|
20314
|
-
};
|
|
20315
|
-
};
|
|
20316
|
-
};
|
|
20317
|
-
delete?: never;
|
|
20318
|
-
options?: never;
|
|
20319
|
-
head?: never;
|
|
20320
|
-
patch?: never;
|
|
20321
|
-
trace?: never;
|
|
20322
|
-
};
|
|
20323
|
-
'/api/contracts/{id}/submit-to-uloba': {
|
|
19119
|
+
'/api/contracts/{id}/coordinator-submit': {
|
|
20324
19120
|
parameters: {
|
|
20325
19121
|
query?: never;
|
|
20326
19122
|
header?: never;
|
|
@@ -20330,8 +19126,8 @@ export interface paths {
|
|
|
20330
19126
|
get?: never;
|
|
20331
19127
|
put?: never;
|
|
20332
19128
|
/**
|
|
20333
|
-
* Submit
|
|
20334
|
-
* @description
|
|
19129
|
+
* Submit coordinator data (Phase 1)
|
|
19130
|
+
* @description Coordinator submits contract details in phase 1 of two-phase submission
|
|
20335
19131
|
*/
|
|
20336
19132
|
post: {
|
|
20337
19133
|
parameters: {
|
|
@@ -20342,9 +19138,25 @@ export interface paths {
|
|
|
20342
19138
|
};
|
|
20343
19139
|
cookie?: never;
|
|
20344
19140
|
};
|
|
20345
|
-
requestBody
|
|
19141
|
+
requestBody: {
|
|
20346
19142
|
content: {
|
|
20347
19143
|
'application/json': {
|
|
19144
|
+
/** Format: uuid */
|
|
19145
|
+
arrangement_id: string;
|
|
19146
|
+
/** Format: uuid */
|
|
19147
|
+
contract_type_id: string;
|
|
19148
|
+
contract_details?: string;
|
|
19149
|
+
title?: string;
|
|
19150
|
+
/** @description Hours per week (0.5-60 hours) */
|
|
19151
|
+
hours_per_week?: number;
|
|
19152
|
+
hourly_rate?: number;
|
|
19153
|
+
start_date?: string | null;
|
|
19154
|
+
end_date?: string | null;
|
|
19155
|
+
decision_owner_same_as_coordinator?: boolean;
|
|
19156
|
+
decision_owner_name?: string;
|
|
19157
|
+
requires_background_check?: boolean;
|
|
19158
|
+
requires_health_certificate?: boolean;
|
|
19159
|
+
temporary_position_reason?: string;
|
|
20348
19160
|
coordinator_message?: string;
|
|
20349
19161
|
};
|
|
20350
19162
|
};
|
|
@@ -20464,9 +19276,6 @@ export interface paths {
|
|
|
20464
19276
|
cancelled_at?: string | null;
|
|
20465
19277
|
cancelled_by?: string | null;
|
|
20466
19278
|
cancelled_reason?: string | null;
|
|
20467
|
-
disputed_at?: string | null;
|
|
20468
|
-
disputed_by?: string | null;
|
|
20469
|
-
disputed_reason?: string | null;
|
|
20470
19279
|
temporary_position_reason?: string | null;
|
|
20471
19280
|
archived_by_employer?: boolean | null;
|
|
20472
19281
|
archived_at_employer?: string | null;
|
|
@@ -20599,7 +19408,7 @@ export interface paths {
|
|
|
20599
19408
|
patch?: never;
|
|
20600
19409
|
trace?: never;
|
|
20601
19410
|
};
|
|
20602
|
-
'/api/contracts/{id}/
|
|
19411
|
+
'/api/contracts/{id}/worker-submit': {
|
|
20603
19412
|
parameters: {
|
|
20604
19413
|
query?: never;
|
|
20605
19414
|
header?: never;
|
|
@@ -20609,8 +19418,8 @@ export interface paths {
|
|
|
20609
19418
|
get?: never;
|
|
20610
19419
|
put?: never;
|
|
20611
19420
|
/**
|
|
20612
|
-
*
|
|
20613
|
-
* @description
|
|
19421
|
+
* Submit worker data (Phase 2)
|
|
19422
|
+
* @description Worker submits personal information in phase 2 of two-phase submission
|
|
20614
19423
|
*/
|
|
20615
19424
|
post: {
|
|
20616
19425
|
parameters: {
|
|
@@ -20621,7 +19430,32 @@ export interface paths {
|
|
|
20621
19430
|
};
|
|
20622
19431
|
cookie?: never;
|
|
20623
19432
|
};
|
|
20624
|
-
requestBody
|
|
19433
|
+
requestBody: {
|
|
19434
|
+
content: {
|
|
19435
|
+
'application/json': {
|
|
19436
|
+
/** @description Norwegian personal number (11 digits) */
|
|
19437
|
+
worker_personal_number: string;
|
|
19438
|
+
worker_address_street: string;
|
|
19439
|
+
worker_address_postal_code: string;
|
|
19440
|
+
worker_address_city: string;
|
|
19441
|
+
worker_address_country?: string;
|
|
19442
|
+
/** @description Norwegian bank account number */
|
|
19443
|
+
worker_bank_account: string;
|
|
19444
|
+
worker_emergency_contact_name?: string;
|
|
19445
|
+
worker_emergency_contact_phone?: string;
|
|
19446
|
+
worker_emergency_contact_relation?: string;
|
|
19447
|
+
worker_has_previous_employment: boolean;
|
|
19448
|
+
worker_previous_employment_details?: string;
|
|
19449
|
+
worker_has_prior_assistant_experience: boolean;
|
|
19450
|
+
worker_has_prior_uloba_employment: boolean;
|
|
19451
|
+
worker_is_related_to_employer: boolean;
|
|
19452
|
+
worker_has_uloba_as_primary_employer: boolean;
|
|
19453
|
+
worker_citizenship: string;
|
|
19454
|
+
worker_substitute_for_name?: string;
|
|
19455
|
+
worker_requires_tuberculosis_test: boolean;
|
|
19456
|
+
};
|
|
19457
|
+
};
|
|
19458
|
+
};
|
|
20625
19459
|
responses: {
|
|
20626
19460
|
/** @description Default Response */
|
|
20627
19461
|
200: {
|
|
@@ -20737,9 +19571,6 @@ export interface paths {
|
|
|
20737
19571
|
cancelled_at?: string | null;
|
|
20738
19572
|
cancelled_by?: string | null;
|
|
20739
19573
|
cancelled_reason?: string | null;
|
|
20740
|
-
disputed_at?: string | null;
|
|
20741
|
-
disputed_by?: string | null;
|
|
20742
|
-
disputed_reason?: string | null;
|
|
20743
19574
|
temporary_position_reason?: string | null;
|
|
20744
19575
|
archived_by_employer?: boolean | null;
|
|
20745
19576
|
archived_at_employer?: string | null;
|
|
@@ -20872,7 +19703,7 @@ export interface paths {
|
|
|
20872
19703
|
patch?: never;
|
|
20873
19704
|
trace?: never;
|
|
20874
19705
|
};
|
|
20875
|
-
'/api/contracts/{id}/
|
|
19706
|
+
'/api/contracts/{id}/submit-to-uloba': {
|
|
20876
19707
|
parameters: {
|
|
20877
19708
|
query?: never;
|
|
20878
19709
|
header?: never;
|
|
@@ -20882,8 +19713,8 @@ export interface paths {
|
|
|
20882
19713
|
get?: never;
|
|
20883
19714
|
put?: never;
|
|
20884
19715
|
/**
|
|
20885
|
-
*
|
|
20886
|
-
* @description
|
|
19716
|
+
* Submit contract to Uloba
|
|
19717
|
+
* @description Final submission to Uloba after both parties have completed their parts
|
|
20887
19718
|
*/
|
|
20888
19719
|
post: {
|
|
20889
19720
|
parameters: {
|
|
@@ -20897,8 +19728,7 @@ export interface paths {
|
|
|
20897
19728
|
requestBody?: {
|
|
20898
19729
|
content: {
|
|
20899
19730
|
'application/json': {
|
|
20900
|
-
|
|
20901
|
-
completion_notes?: string;
|
|
19731
|
+
coordinator_message?: string;
|
|
20902
19732
|
};
|
|
20903
19733
|
};
|
|
20904
19734
|
};
|
|
@@ -21017,9 +19847,6 @@ export interface paths {
|
|
|
21017
19847
|
cancelled_at?: string | null;
|
|
21018
19848
|
cancelled_by?: string | null;
|
|
21019
19849
|
cancelled_reason?: string | null;
|
|
21020
|
-
disputed_at?: string | null;
|
|
21021
|
-
disputed_by?: string | null;
|
|
21022
|
-
disputed_reason?: string | null;
|
|
21023
19850
|
temporary_position_reason?: string | null;
|
|
21024
19851
|
archived_by_employer?: boolean | null;
|
|
21025
19852
|
archived_at_employer?: string | null;
|
|
@@ -21152,7 +19979,7 @@ export interface paths {
|
|
|
21152
19979
|
patch?: never;
|
|
21153
19980
|
trace?: never;
|
|
21154
19981
|
};
|
|
21155
|
-
'/api/contracts/{id}/
|
|
19982
|
+
'/api/contracts/{id}/prepare-signing': {
|
|
21156
19983
|
parameters: {
|
|
21157
19984
|
query?: never;
|
|
21158
19985
|
header?: never;
|
|
@@ -21162,8 +19989,8 @@ export interface paths {
|
|
|
21162
19989
|
get?: never;
|
|
21163
19990
|
put?: never;
|
|
21164
19991
|
/**
|
|
21165
|
-
*
|
|
21166
|
-
* @description
|
|
19992
|
+
* Prepare contract for signing
|
|
19993
|
+
* @description Prepare contract for digital signing after worker acceptance
|
|
21167
19994
|
*/
|
|
21168
19995
|
post: {
|
|
21169
19996
|
parameters: {
|
|
@@ -21174,16 +20001,7 @@ export interface paths {
|
|
|
21174
20001
|
};
|
|
21175
20002
|
cookie?: never;
|
|
21176
20003
|
};
|
|
21177
|
-
requestBody
|
|
21178
|
-
content: {
|
|
21179
|
-
'application/json': {
|
|
21180
|
-
/** @description Reason for termination */
|
|
21181
|
-
termination_reason: string;
|
|
21182
|
-
/** @description Notice period in days */
|
|
21183
|
-
notice_period_days?: number;
|
|
21184
|
-
};
|
|
21185
|
-
};
|
|
21186
|
-
};
|
|
20004
|
+
requestBody?: never;
|
|
21187
20005
|
responses: {
|
|
21188
20006
|
/** @description Default Response */
|
|
21189
20007
|
200: {
|
|
@@ -21299,9 +20117,6 @@ export interface paths {
|
|
|
21299
20117
|
cancelled_at?: string | null;
|
|
21300
20118
|
cancelled_by?: string | null;
|
|
21301
20119
|
cancelled_reason?: string | null;
|
|
21302
|
-
disputed_at?: string | null;
|
|
21303
|
-
disputed_by?: string | null;
|
|
21304
|
-
disputed_reason?: string | null;
|
|
21305
20120
|
temporary_position_reason?: string | null;
|
|
21306
20121
|
archived_by_employer?: boolean | null;
|
|
21307
20122
|
archived_at_employer?: string | null;
|
|
@@ -21434,7 +20249,7 @@ export interface paths {
|
|
|
21434
20249
|
patch?: never;
|
|
21435
20250
|
trace?: never;
|
|
21436
20251
|
};
|
|
21437
|
-
'/api/contracts/{id}/
|
|
20252
|
+
'/api/contracts/{id}/complete': {
|
|
21438
20253
|
parameters: {
|
|
21439
20254
|
query?: never;
|
|
21440
20255
|
header?: never;
|
|
@@ -21444,8 +20259,8 @@ export interface paths {
|
|
|
21444
20259
|
get?: never;
|
|
21445
20260
|
put?: never;
|
|
21446
20261
|
/**
|
|
21447
|
-
*
|
|
21448
|
-
* @description
|
|
20262
|
+
* Complete contract
|
|
20263
|
+
* @description Mark contract as completed
|
|
21449
20264
|
*/
|
|
21450
20265
|
post: {
|
|
21451
20266
|
parameters: {
|
|
@@ -21456,13 +20271,11 @@ export interface paths {
|
|
|
21456
20271
|
};
|
|
21457
20272
|
cookie?: never;
|
|
21458
20273
|
};
|
|
21459
|
-
requestBody
|
|
20274
|
+
requestBody?: {
|
|
21460
20275
|
content: {
|
|
21461
20276
|
'application/json': {
|
|
21462
|
-
/** @description
|
|
21463
|
-
|
|
21464
|
-
/** @description Detailed description of the dispute */
|
|
21465
|
-
dispute_details?: string;
|
|
20277
|
+
/** @description Notes about contract completion */
|
|
20278
|
+
completion_notes?: string;
|
|
21466
20279
|
};
|
|
21467
20280
|
};
|
|
21468
20281
|
};
|
|
@@ -21581,9 +20394,6 @@ export interface paths {
|
|
|
21581
20394
|
cancelled_at?: string | null;
|
|
21582
20395
|
cancelled_by?: string | null;
|
|
21583
20396
|
cancelled_reason?: string | null;
|
|
21584
|
-
disputed_at?: string | null;
|
|
21585
|
-
disputed_by?: string | null;
|
|
21586
|
-
disputed_reason?: string | null;
|
|
21587
20397
|
temporary_position_reason?: string | null;
|
|
21588
20398
|
archived_by_employer?: boolean | null;
|
|
21589
20399
|
archived_at_employer?: string | null;
|
|
@@ -21716,7 +20526,7 @@ export interface paths {
|
|
|
21716
20526
|
patch?: never;
|
|
21717
20527
|
trace?: never;
|
|
21718
20528
|
};
|
|
21719
|
-
'/api/contracts/{id}/
|
|
20529
|
+
'/api/contracts/{id}/terminate': {
|
|
21720
20530
|
parameters: {
|
|
21721
20531
|
query?: never;
|
|
21722
20532
|
header?: never;
|
|
@@ -21726,8 +20536,8 @@ export interface paths {
|
|
|
21726
20536
|
get?: never;
|
|
21727
20537
|
put?: never;
|
|
21728
20538
|
/**
|
|
21729
|
-
*
|
|
21730
|
-
* @description
|
|
20539
|
+
* Terminate contract
|
|
20540
|
+
* @description Terminate an active contract
|
|
21731
20541
|
*/
|
|
21732
20542
|
post: {
|
|
21733
20543
|
parameters: {
|
|
@@ -21741,8 +20551,10 @@ export interface paths {
|
|
|
21741
20551
|
requestBody: {
|
|
21742
20552
|
content: {
|
|
21743
20553
|
'application/json': {
|
|
21744
|
-
/** @description
|
|
21745
|
-
|
|
20554
|
+
/** @description Reason for termination */
|
|
20555
|
+
termination_reason: string;
|
|
20556
|
+
/** @description Notice period in days */
|
|
20557
|
+
notice_period_days?: number;
|
|
21746
20558
|
};
|
|
21747
20559
|
};
|
|
21748
20560
|
};
|
|
@@ -21861,9 +20673,6 @@ export interface paths {
|
|
|
21861
20673
|
cancelled_at?: string | null;
|
|
21862
20674
|
cancelled_by?: string | null;
|
|
21863
20675
|
cancelled_reason?: string | null;
|
|
21864
|
-
disputed_at?: string | null;
|
|
21865
|
-
disputed_by?: string | null;
|
|
21866
|
-
disputed_reason?: string | null;
|
|
21867
20676
|
temporary_position_reason?: string | null;
|
|
21868
20677
|
archived_by_employer?: boolean | null;
|
|
21869
20678
|
archived_at_employer?: string | null;
|
|
@@ -22141,9 +20950,6 @@ export interface paths {
|
|
|
22141
20950
|
cancelled_at?: string | null;
|
|
22142
20951
|
cancelled_by?: string | null;
|
|
22143
20952
|
cancelled_reason?: string | null;
|
|
22144
|
-
disputed_at?: string | null;
|
|
22145
|
-
disputed_by?: string | null;
|
|
22146
|
-
disputed_reason?: string | null;
|
|
22147
20953
|
temporary_position_reason?: string | null;
|
|
22148
20954
|
archived_by_employer?: boolean | null;
|
|
22149
20955
|
archived_at_employer?: string | null;
|
|
@@ -22421,9 +21227,6 @@ export interface paths {
|
|
|
22421
21227
|
cancelled_at?: string | null;
|
|
22422
21228
|
cancelled_by?: string | null;
|
|
22423
21229
|
cancelled_reason?: string | null;
|
|
22424
|
-
disputed_at?: string | null;
|
|
22425
|
-
disputed_by?: string | null;
|
|
22426
|
-
disputed_reason?: string | null;
|
|
22427
21230
|
temporary_position_reason?: string | null;
|
|
22428
21231
|
archived_by_employer?: boolean | null;
|
|
22429
21232
|
archived_at_employer?: string | null;
|
|
@@ -22694,9 +21497,6 @@ export interface paths {
|
|
|
22694
21497
|
cancelled_at?: string | null;
|
|
22695
21498
|
cancelled_by?: string | null;
|
|
22696
21499
|
cancelled_reason?: string | null;
|
|
22697
|
-
disputed_at?: string | null;
|
|
22698
|
-
disputed_by?: string | null;
|
|
22699
|
-
disputed_reason?: string | null;
|
|
22700
21500
|
temporary_position_reason?: string | null;
|
|
22701
21501
|
archived_by_employer?: boolean | null;
|
|
22702
21502
|
archived_at_employer?: string | null;
|
|
@@ -22967,9 +21767,6 @@ export interface paths {
|
|
|
22967
21767
|
cancelled_at?: string | null;
|
|
22968
21768
|
cancelled_by?: string | null;
|
|
22969
21769
|
cancelled_reason?: string | null;
|
|
22970
|
-
disputed_at?: string | null;
|
|
22971
|
-
disputed_by?: string | null;
|
|
22972
|
-
disputed_reason?: string | null;
|
|
22973
21770
|
temporary_position_reason?: string | null;
|
|
22974
21771
|
archived_by_employer?: boolean | null;
|
|
22975
21772
|
archived_at_employer?: string | null;
|
|
@@ -25210,8 +24007,6 @@ export interface paths {
|
|
|
25210
24007
|
terminated: number;
|
|
25211
24008
|
/** @description Non-negative integer (0 or greater) */
|
|
25212
24009
|
cancelled: number;
|
|
25213
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25214
|
-
disputed: number;
|
|
25215
24010
|
};
|
|
25216
24011
|
/** @description Contract total counts and derived metrics */
|
|
25217
24012
|
totals: {
|
|
@@ -25332,130 +24127,6 @@ export interface paths {
|
|
|
25332
24127
|
terminated: number;
|
|
25333
24128
|
/** @description Non-negative integer (0 or greater) */
|
|
25334
24129
|
cancelled: number;
|
|
25335
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25336
|
-
disputed: number;
|
|
25337
|
-
};
|
|
25338
|
-
/** @description Contract total counts and derived metrics */
|
|
25339
|
-
totals: {
|
|
25340
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25341
|
-
all: number;
|
|
25342
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25343
|
-
active: number;
|
|
25344
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25345
|
-
inProgress?: number;
|
|
25346
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25347
|
-
needsAction?: number;
|
|
25348
|
-
};
|
|
25349
|
-
/** @description Role-specific alerts for contracts requiring attention */
|
|
25350
|
-
alerts?: {
|
|
25351
|
-
type: string;
|
|
25352
|
-
severity: string;
|
|
25353
|
-
count: number;
|
|
25354
|
-
message: string;
|
|
25355
|
-
status: string;
|
|
25356
|
-
}[];
|
|
25357
|
-
};
|
|
25358
|
-
/** @description Metadata about the statistics query and response */
|
|
25359
|
-
metadata: {
|
|
25360
|
-
/** @description Role context for the statistics query */
|
|
25361
|
-
role: 'coordinator' | 'teamlead' | 'assistant' | 'case_manager' | 'applicant';
|
|
25362
|
-
/**
|
|
25363
|
-
* Format: uuid
|
|
25364
|
-
* @description UUID version 4 identifier
|
|
25365
|
-
*/
|
|
25366
|
-
accountId?: string;
|
|
25367
|
-
/**
|
|
25368
|
-
* Format: uuid
|
|
25369
|
-
* @description UUID version 4 identifier
|
|
25370
|
-
*/
|
|
25371
|
-
userId?: string;
|
|
25372
|
-
/**
|
|
25373
|
-
* Format: date-time
|
|
25374
|
-
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
25375
|
-
*/
|
|
25376
|
-
queriedAt: string;
|
|
25377
|
-
/** @description Whether the result was served from cache */
|
|
25378
|
-
cached?: boolean;
|
|
25379
|
-
/**
|
|
25380
|
-
* Format: date-time
|
|
25381
|
-
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
25382
|
-
*/
|
|
25383
|
-
cacheExpiresAt?: string;
|
|
25384
|
-
};
|
|
25385
|
-
};
|
|
25386
|
-
};
|
|
25387
|
-
};
|
|
25388
|
-
};
|
|
25389
|
-
};
|
|
25390
|
-
put?: never;
|
|
25391
|
-
post?: never;
|
|
25392
|
-
delete?: never;
|
|
25393
|
-
options?: never;
|
|
25394
|
-
head?: never;
|
|
25395
|
-
patch?: never;
|
|
25396
|
-
trace?: never;
|
|
25397
|
-
};
|
|
25398
|
-
'/api/contracts/stats': {
|
|
25399
|
-
parameters: {
|
|
25400
|
-
query?: never;
|
|
25401
|
-
header?: never;
|
|
25402
|
-
path?: never;
|
|
25403
|
-
cookie?: never;
|
|
25404
|
-
};
|
|
25405
|
-
/**
|
|
25406
|
-
* Get contract statistics
|
|
25407
|
-
* @description Get statistics for contracts by status with role-based filtering
|
|
25408
|
-
*/
|
|
25409
|
-
get: {
|
|
25410
|
-
parameters: {
|
|
25411
|
-
query?: never;
|
|
25412
|
-
header?: never;
|
|
25413
|
-
path?: never;
|
|
25414
|
-
cookie?: never;
|
|
25415
|
-
};
|
|
25416
|
-
requestBody?: never;
|
|
25417
|
-
responses: {
|
|
25418
|
-
/** @description Standard statistics response wrapper */
|
|
25419
|
-
200: {
|
|
25420
|
-
headers: {
|
|
25421
|
-
[name: string]: unknown;
|
|
25422
|
-
};
|
|
25423
|
-
content: {
|
|
25424
|
-
'application/json': {
|
|
25425
|
-
/** @description Complete contract statistics data */
|
|
25426
|
-
data: {
|
|
25427
|
-
/** @description Contract counts by all possible statuses */
|
|
25428
|
-
byStatus: {
|
|
25429
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25430
|
-
draft: number;
|
|
25431
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25432
|
-
coordinator_submitted: number;
|
|
25433
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25434
|
-
worker_submitted: number;
|
|
25435
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25436
|
-
ready_for_submission: number;
|
|
25437
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25438
|
-
validation_failed: number;
|
|
25439
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25440
|
-
submitted: number;
|
|
25441
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25442
|
-
in_review: number;
|
|
25443
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25444
|
-
ready_for_signing: number;
|
|
25445
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25446
|
-
pending_signing: number;
|
|
25447
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25448
|
-
signed: number;
|
|
25449
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25450
|
-
active: number;
|
|
25451
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25452
|
-
completed: number;
|
|
25453
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25454
|
-
terminated: number;
|
|
25455
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25456
|
-
cancelled: number;
|
|
25457
|
-
/** @description Non-negative integer (0 or greater) */
|
|
25458
|
-
disputed: number;
|
|
25459
24130
|
};
|
|
25460
24131
|
/** @description Contract total counts and derived metrics */
|
|
25461
24132
|
totals: {
|