@digiteers/uloba3-sdk 4.3.3 → 4.3.5
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/activity.d.ts +3 -0
- package/dist/api/activity.d.ts.map +1 -1
- package/dist/api/activity.js +6 -17
- package/dist/api/activity.js.map +1 -1
- package/dist/api/assistants.d.ts.map +1 -1
- package/dist/api/contracts.d.ts.map +1 -1
- package/dist/api/support.d.ts +23 -1
- package/dist/api/support.d.ts.map +1 -1
- package/dist/api/support.js.map +1 -1
- package/dist/api/users.d.ts +0 -11
- package/dist/api/users.d.ts.map +1 -1
- package/dist/api/users.js +1 -12
- package/dist/api/users.js.map +1 -1
- package/dist/constants/user.d.ts +25 -0
- package/dist/constants/user.d.ts.map +1 -0
- package/dist/constants/user.js +25 -0
- package/dist/constants/user.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +585 -85
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1807,7 +1807,7 @@ export interface paths {
|
|
|
1807
1807
|
cached?: boolean;
|
|
1808
1808
|
/**
|
|
1809
1809
|
* Format: date-time
|
|
1810
|
-
* @description
|
|
1810
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
1811
1811
|
*/
|
|
1812
1812
|
queriedAt: string;
|
|
1813
1813
|
};
|
|
@@ -2169,38 +2169,49 @@ export interface paths {
|
|
|
2169
2169
|
'application/json': {
|
|
2170
2170
|
/** Format: uuid */
|
|
2171
2171
|
id: string;
|
|
2172
|
-
uloba_id: string | null;
|
|
2173
|
-
uloba_immutable_id: string | null;
|
|
2174
|
-
auth0_id: string | null;
|
|
2175
2172
|
/** Format: email */
|
|
2176
2173
|
email: string;
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2174
|
+
uloba_id?: string | null;
|
|
2175
|
+
uloba_immutable_id?: string | null;
|
|
2176
|
+
auth0_id?: string | null;
|
|
2177
|
+
email_verified?: boolean | null;
|
|
2178
|
+
phone?: string | null;
|
|
2179
|
+
full_name?: string | null;
|
|
2180
|
+
given_name?: string | null;
|
|
2181
|
+
family_name?: string | null;
|
|
2182
|
+
picture?: string | null;
|
|
2183
|
+
auth0_metadata?: unknown | null;
|
|
2184
|
+
roles?: string[] | null;
|
|
2185
|
+
status?: string | null;
|
|
2186
|
+
status_changed_at?: string | null;
|
|
2187
|
+
deactivated_at?: string | null;
|
|
2188
|
+
deactivated_by?: string | null;
|
|
2189
|
+
deactivation_type?: string | null;
|
|
2190
|
+
deactivation_reason?: string | null;
|
|
2191
|
+
scheduled_deletion_at?: string | null;
|
|
2192
|
+
created_at?: string | null;
|
|
2193
|
+
updated_at?: string | null;
|
|
2194
|
+
last_login?: string | null;
|
|
2195
|
+
account_id?: string | null;
|
|
2196
|
+
account_owner_id?: string | null;
|
|
2197
|
+
account_status?: string | null;
|
|
2198
|
+
account_created_at?: string | null;
|
|
2199
|
+
account_updated_at?: string | null;
|
|
2200
|
+
gdpr_consent?: unknown | null;
|
|
2201
|
+
language?: string | null;
|
|
2202
|
+
timezone?: string | null;
|
|
2203
|
+
theme?: string | null;
|
|
2204
|
+
email_notifications?: boolean | null;
|
|
2205
|
+
sms_notifications?: boolean | null;
|
|
2206
|
+
push_notifications?: boolean | null;
|
|
2207
|
+
settings?: unknown | null;
|
|
2208
|
+
last_updated?: string | null;
|
|
2209
|
+
display_name?: string | null;
|
|
2210
|
+
is_assistant?: boolean | null;
|
|
2211
|
+
is_job_seeker?: boolean | null;
|
|
2212
|
+
is_employer?: boolean | null;
|
|
2213
|
+
is_admin?: boolean | null;
|
|
2214
|
+
is_support?: boolean | null;
|
|
2204
2215
|
};
|
|
2205
2216
|
};
|
|
2206
2217
|
};
|
|
@@ -2327,6 +2338,79 @@ export interface paths {
|
|
|
2327
2338
|
patch?: never;
|
|
2328
2339
|
trace?: never;
|
|
2329
2340
|
};
|
|
2341
|
+
'/api/users/me/deactivate': {
|
|
2342
|
+
parameters: {
|
|
2343
|
+
query?: never;
|
|
2344
|
+
header?: never;
|
|
2345
|
+
path?: never;
|
|
2346
|
+
cookie?: never;
|
|
2347
|
+
};
|
|
2348
|
+
get?: never;
|
|
2349
|
+
put?: never;
|
|
2350
|
+
/**
|
|
2351
|
+
* Deactivate own account
|
|
2352
|
+
* @description User deactivates their own account immediately (no grace period)
|
|
2353
|
+
*/
|
|
2354
|
+
post: {
|
|
2355
|
+
parameters: {
|
|
2356
|
+
query?: never;
|
|
2357
|
+
header?: never;
|
|
2358
|
+
path?: never;
|
|
2359
|
+
cookie?: never;
|
|
2360
|
+
};
|
|
2361
|
+
requestBody: {
|
|
2362
|
+
content: {
|
|
2363
|
+
'application/json': {
|
|
2364
|
+
confirmation: string;
|
|
2365
|
+
feedback?: string;
|
|
2366
|
+
};
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
responses: {
|
|
2370
|
+
/** @description Default Response */
|
|
2371
|
+
200: {
|
|
2372
|
+
headers: {
|
|
2373
|
+
[name: string]: unknown;
|
|
2374
|
+
};
|
|
2375
|
+
content: {
|
|
2376
|
+
'application/json': {
|
|
2377
|
+
success: boolean;
|
|
2378
|
+
message: string;
|
|
2379
|
+
jobs_unpublished: number;
|
|
2380
|
+
assistants_hidden: number;
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
2384
|
+
/** @description Default Response */
|
|
2385
|
+
400: {
|
|
2386
|
+
headers: {
|
|
2387
|
+
[name: string]: unknown;
|
|
2388
|
+
};
|
|
2389
|
+
content: {
|
|
2390
|
+
'application/json': {
|
|
2391
|
+
error: string;
|
|
2392
|
+
};
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
/** @description Default Response */
|
|
2396
|
+
401: {
|
|
2397
|
+
headers: {
|
|
2398
|
+
[name: string]: unknown;
|
|
2399
|
+
};
|
|
2400
|
+
content: {
|
|
2401
|
+
'application/json': {
|
|
2402
|
+
error: string;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
delete?: never;
|
|
2409
|
+
options?: never;
|
|
2410
|
+
head?: never;
|
|
2411
|
+
patch?: never;
|
|
2412
|
+
trace?: never;
|
|
2413
|
+
};
|
|
2330
2414
|
'/api/users/{id}': {
|
|
2331
2415
|
parameters: {
|
|
2332
2416
|
query?: never;
|
|
@@ -8247,6 +8331,7 @@ export interface paths {
|
|
|
8247
8331
|
data: {
|
|
8248
8332
|
id?: string | null;
|
|
8249
8333
|
user_id?: string | null;
|
|
8334
|
+
uloba_immutable_id?: string | null;
|
|
8250
8335
|
bio?: string | null;
|
|
8251
8336
|
status?: ('draft' | 'private' | 'public' | 'suspended' | 'deleted') | unknown;
|
|
8252
8337
|
availability_status?: string | null;
|
|
@@ -10963,14 +11048,14 @@ export interface paths {
|
|
|
10963
11048
|
userId?: string;
|
|
10964
11049
|
/**
|
|
10965
11050
|
* Format: date-time
|
|
10966
|
-
* @description
|
|
11051
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
10967
11052
|
*/
|
|
10968
11053
|
queriedAt: string;
|
|
10969
11054
|
/** @description Whether the result was served from cache */
|
|
10970
11055
|
cached?: boolean;
|
|
10971
11056
|
/**
|
|
10972
11057
|
* Format: date-time
|
|
10973
|
-
* @description
|
|
11058
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
10974
11059
|
*/
|
|
10975
11060
|
cacheExpiresAt?: string;
|
|
10976
11061
|
};
|
|
@@ -13467,14 +13552,14 @@ export interface paths {
|
|
|
13467
13552
|
userId?: string;
|
|
13468
13553
|
/**
|
|
13469
13554
|
* Format: date-time
|
|
13470
|
-
* @description
|
|
13555
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13471
13556
|
*/
|
|
13472
13557
|
queriedAt: string;
|
|
13473
13558
|
/** @description Whether the result was served from cache */
|
|
13474
13559
|
cached?: boolean;
|
|
13475
13560
|
/**
|
|
13476
13561
|
* Format: date-time
|
|
13477
|
-
* @description
|
|
13562
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13478
13563
|
*/
|
|
13479
13564
|
cacheExpiresAt?: string;
|
|
13480
13565
|
};
|
|
@@ -13518,14 +13603,14 @@ export interface paths {
|
|
|
13518
13603
|
userId?: string;
|
|
13519
13604
|
/**
|
|
13520
13605
|
* Format: date-time
|
|
13521
|
-
* @description
|
|
13606
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13522
13607
|
*/
|
|
13523
13608
|
queriedAt: string;
|
|
13524
13609
|
/** @description Whether the result was served from cache */
|
|
13525
13610
|
cached?: boolean;
|
|
13526
13611
|
/**
|
|
13527
13612
|
* Format: date-time
|
|
13528
|
-
* @description
|
|
13613
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13529
13614
|
*/
|
|
13530
13615
|
cacheExpiresAt?: string;
|
|
13531
13616
|
};
|
|
@@ -13589,14 +13674,14 @@ export interface paths {
|
|
|
13589
13674
|
userId?: string;
|
|
13590
13675
|
/**
|
|
13591
13676
|
* Format: date-time
|
|
13592
|
-
* @description
|
|
13677
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13593
13678
|
*/
|
|
13594
13679
|
queriedAt: string;
|
|
13595
13680
|
/** @description Whether the result was served from cache */
|
|
13596
13681
|
cached?: boolean;
|
|
13597
13682
|
/**
|
|
13598
13683
|
* Format: date-time
|
|
13599
|
-
* @description
|
|
13684
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13600
13685
|
*/
|
|
13601
13686
|
cacheExpiresAt?: string;
|
|
13602
13687
|
};
|
|
@@ -13658,14 +13743,14 @@ export interface paths {
|
|
|
13658
13743
|
userId?: string;
|
|
13659
13744
|
/**
|
|
13660
13745
|
* Format: date-time
|
|
13661
|
-
* @description
|
|
13746
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13662
13747
|
*/
|
|
13663
13748
|
queriedAt: string;
|
|
13664
13749
|
/** @description Whether the result was served from cache */
|
|
13665
13750
|
cached?: boolean;
|
|
13666
13751
|
/**
|
|
13667
13752
|
* Format: date-time
|
|
13668
|
-
* @description
|
|
13753
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
13669
13754
|
*/
|
|
13670
13755
|
cacheExpiresAt?: string;
|
|
13671
13756
|
};
|
|
@@ -31041,6 +31126,144 @@ export interface paths {
|
|
|
31041
31126
|
};
|
|
31042
31127
|
trace?: never;
|
|
31043
31128
|
};
|
|
31129
|
+
'/api/contract-cases/{id}/auto-archive': {
|
|
31130
|
+
parameters: {
|
|
31131
|
+
query?: never;
|
|
31132
|
+
header?: never;
|
|
31133
|
+
path?: never;
|
|
31134
|
+
cookie?: never;
|
|
31135
|
+
};
|
|
31136
|
+
get?: never;
|
|
31137
|
+
put?: never;
|
|
31138
|
+
post?: never;
|
|
31139
|
+
delete?: never;
|
|
31140
|
+
options?: never;
|
|
31141
|
+
head?: never;
|
|
31142
|
+
/**
|
|
31143
|
+
* Update auto-archive setting
|
|
31144
|
+
* @description Update the auto-archive on signing setting for a contract case. Cannot be changed after contract is signed. Only case managers can update.
|
|
31145
|
+
*/
|
|
31146
|
+
patch: {
|
|
31147
|
+
parameters: {
|
|
31148
|
+
query?: never;
|
|
31149
|
+
header?: never;
|
|
31150
|
+
path: {
|
|
31151
|
+
id: string;
|
|
31152
|
+
};
|
|
31153
|
+
cookie?: never;
|
|
31154
|
+
};
|
|
31155
|
+
requestBody: {
|
|
31156
|
+
content: {
|
|
31157
|
+
'application/json': {
|
|
31158
|
+
auto_archive_on_signing: boolean;
|
|
31159
|
+
};
|
|
31160
|
+
};
|
|
31161
|
+
};
|
|
31162
|
+
responses: {
|
|
31163
|
+
/** @description Default Response */
|
|
31164
|
+
400: {
|
|
31165
|
+
headers: {
|
|
31166
|
+
[name: string]: unknown;
|
|
31167
|
+
};
|
|
31168
|
+
content: {
|
|
31169
|
+
'application/json': {
|
|
31170
|
+
error: string;
|
|
31171
|
+
message?: string;
|
|
31172
|
+
code?: string;
|
|
31173
|
+
details?: unknown;
|
|
31174
|
+
/** Format: date-time */
|
|
31175
|
+
timestamp?: string;
|
|
31176
|
+
};
|
|
31177
|
+
};
|
|
31178
|
+
};
|
|
31179
|
+
/** @description Default Response */
|
|
31180
|
+
401: {
|
|
31181
|
+
headers: {
|
|
31182
|
+
[name: string]: unknown;
|
|
31183
|
+
};
|
|
31184
|
+
content: {
|
|
31185
|
+
'application/json': {
|
|
31186
|
+
error: string;
|
|
31187
|
+
message?: string;
|
|
31188
|
+
code?: string;
|
|
31189
|
+
details?: unknown;
|
|
31190
|
+
/** Format: date-time */
|
|
31191
|
+
timestamp?: string;
|
|
31192
|
+
};
|
|
31193
|
+
};
|
|
31194
|
+
};
|
|
31195
|
+
/** @description Default Response */
|
|
31196
|
+
403: {
|
|
31197
|
+
headers: {
|
|
31198
|
+
[name: string]: unknown;
|
|
31199
|
+
};
|
|
31200
|
+
content: {
|
|
31201
|
+
'application/json': {
|
|
31202
|
+
error: string;
|
|
31203
|
+
message?: string;
|
|
31204
|
+
code?: string;
|
|
31205
|
+
details?: unknown;
|
|
31206
|
+
/** Format: date-time */
|
|
31207
|
+
timestamp?: string;
|
|
31208
|
+
};
|
|
31209
|
+
};
|
|
31210
|
+
};
|
|
31211
|
+
/** @description Default Response */
|
|
31212
|
+
404: {
|
|
31213
|
+
headers: {
|
|
31214
|
+
[name: string]: unknown;
|
|
31215
|
+
};
|
|
31216
|
+
content: {
|
|
31217
|
+
'application/json': {
|
|
31218
|
+
error: string;
|
|
31219
|
+
message?: string;
|
|
31220
|
+
code?: string;
|
|
31221
|
+
details?: unknown;
|
|
31222
|
+
/** Format: date-time */
|
|
31223
|
+
timestamp?: string;
|
|
31224
|
+
};
|
|
31225
|
+
};
|
|
31226
|
+
};
|
|
31227
|
+
/** @description Default Response */
|
|
31228
|
+
422: {
|
|
31229
|
+
headers: {
|
|
31230
|
+
[name: string]: unknown;
|
|
31231
|
+
};
|
|
31232
|
+
content: {
|
|
31233
|
+
'application/json': {
|
|
31234
|
+
error: string;
|
|
31235
|
+
message: string;
|
|
31236
|
+
errors: {
|
|
31237
|
+
field: string;
|
|
31238
|
+
message: string;
|
|
31239
|
+
code?: string;
|
|
31240
|
+
value?: unknown;
|
|
31241
|
+
}[];
|
|
31242
|
+
/** Format: date-time */
|
|
31243
|
+
timestamp?: string;
|
|
31244
|
+
};
|
|
31245
|
+
};
|
|
31246
|
+
};
|
|
31247
|
+
/** @description Default Response */
|
|
31248
|
+
500: {
|
|
31249
|
+
headers: {
|
|
31250
|
+
[name: string]: unknown;
|
|
31251
|
+
};
|
|
31252
|
+
content: {
|
|
31253
|
+
'application/json': {
|
|
31254
|
+
error: string;
|
|
31255
|
+
message?: string;
|
|
31256
|
+
code?: string;
|
|
31257
|
+
details?: unknown;
|
|
31258
|
+
/** Format: date-time */
|
|
31259
|
+
timestamp?: string;
|
|
31260
|
+
};
|
|
31261
|
+
};
|
|
31262
|
+
};
|
|
31263
|
+
};
|
|
31264
|
+
};
|
|
31265
|
+
trace?: never;
|
|
31266
|
+
};
|
|
31044
31267
|
'/api/contract-cases/{id}/approve': {
|
|
31045
31268
|
parameters: {
|
|
31046
31269
|
query?: never;
|
|
@@ -34359,6 +34582,111 @@ export interface paths {
|
|
|
34359
34582
|
patch?: never;
|
|
34360
34583
|
trace?: never;
|
|
34361
34584
|
};
|
|
34585
|
+
'/api/contract-cases/{caseId}/signed-contract/download': {
|
|
34586
|
+
parameters: {
|
|
34587
|
+
query?: never;
|
|
34588
|
+
header?: never;
|
|
34589
|
+
path?: never;
|
|
34590
|
+
cookie?: never;
|
|
34591
|
+
};
|
|
34592
|
+
/**
|
|
34593
|
+
* Download signed contract for case
|
|
34594
|
+
* @description Download the signed contract PDF for a contract case. Only available when status is contract_signed. Case managers and contract parties have access.
|
|
34595
|
+
*/
|
|
34596
|
+
get: {
|
|
34597
|
+
parameters: {
|
|
34598
|
+
query?: never;
|
|
34599
|
+
header?: never;
|
|
34600
|
+
path: {
|
|
34601
|
+
id: string;
|
|
34602
|
+
};
|
|
34603
|
+
cookie?: never;
|
|
34604
|
+
};
|
|
34605
|
+
requestBody?: never;
|
|
34606
|
+
responses: {
|
|
34607
|
+
/** @description Signed contract PDF file */
|
|
34608
|
+
200: {
|
|
34609
|
+
headers: {
|
|
34610
|
+
[name: string]: unknown;
|
|
34611
|
+
};
|
|
34612
|
+
content: {
|
|
34613
|
+
'application/json': string;
|
|
34614
|
+
};
|
|
34615
|
+
};
|
|
34616
|
+
/** @description Default Response */
|
|
34617
|
+
400: {
|
|
34618
|
+
headers: {
|
|
34619
|
+
[name: string]: unknown;
|
|
34620
|
+
};
|
|
34621
|
+
content: {
|
|
34622
|
+
'application/json': {
|
|
34623
|
+
error: string;
|
|
34624
|
+
message?: string;
|
|
34625
|
+
code?: string;
|
|
34626
|
+
details?: unknown;
|
|
34627
|
+
/** Format: date-time */
|
|
34628
|
+
timestamp?: string;
|
|
34629
|
+
};
|
|
34630
|
+
};
|
|
34631
|
+
};
|
|
34632
|
+
/** @description Default Response */
|
|
34633
|
+
403: {
|
|
34634
|
+
headers: {
|
|
34635
|
+
[name: string]: unknown;
|
|
34636
|
+
};
|
|
34637
|
+
content: {
|
|
34638
|
+
'application/json': {
|
|
34639
|
+
error: string;
|
|
34640
|
+
message?: string;
|
|
34641
|
+
code?: string;
|
|
34642
|
+
details?: unknown;
|
|
34643
|
+
/** Format: date-time */
|
|
34644
|
+
timestamp?: string;
|
|
34645
|
+
};
|
|
34646
|
+
};
|
|
34647
|
+
};
|
|
34648
|
+
/** @description Default Response */
|
|
34649
|
+
404: {
|
|
34650
|
+
headers: {
|
|
34651
|
+
[name: string]: unknown;
|
|
34652
|
+
};
|
|
34653
|
+
content: {
|
|
34654
|
+
'application/json': {
|
|
34655
|
+
error: string;
|
|
34656
|
+
message?: string;
|
|
34657
|
+
code?: string;
|
|
34658
|
+
details?: unknown;
|
|
34659
|
+
/** Format: date-time */
|
|
34660
|
+
timestamp?: string;
|
|
34661
|
+
};
|
|
34662
|
+
};
|
|
34663
|
+
};
|
|
34664
|
+
/** @description Default Response */
|
|
34665
|
+
500: {
|
|
34666
|
+
headers: {
|
|
34667
|
+
[name: string]: unknown;
|
|
34668
|
+
};
|
|
34669
|
+
content: {
|
|
34670
|
+
'application/json': {
|
|
34671
|
+
error: string;
|
|
34672
|
+
message?: string;
|
|
34673
|
+
code?: string;
|
|
34674
|
+
details?: unknown;
|
|
34675
|
+
/** Format: date-time */
|
|
34676
|
+
timestamp?: string;
|
|
34677
|
+
};
|
|
34678
|
+
};
|
|
34679
|
+
};
|
|
34680
|
+
};
|
|
34681
|
+
};
|
|
34682
|
+
put?: never;
|
|
34683
|
+
post?: never;
|
|
34684
|
+
delete?: never;
|
|
34685
|
+
options?: never;
|
|
34686
|
+
head?: never;
|
|
34687
|
+
patch?: never;
|
|
34688
|
+
trace?: never;
|
|
34689
|
+
};
|
|
34362
34690
|
'/api/contract-signings/': {
|
|
34363
34691
|
parameters: {
|
|
34364
34692
|
query?: never;
|
|
@@ -34900,6 +35228,157 @@ export interface paths {
|
|
|
34900
35228
|
patch?: never;
|
|
34901
35229
|
trace?: never;
|
|
34902
35230
|
};
|
|
35231
|
+
'/api/signed-contracts/': {
|
|
35232
|
+
parameters: {
|
|
35233
|
+
query?: never;
|
|
35234
|
+
header?: never;
|
|
35235
|
+
path?: never;
|
|
35236
|
+
cookie?: never;
|
|
35237
|
+
};
|
|
35238
|
+
/** @description List signed contracts with filters */
|
|
35239
|
+
get: {
|
|
35240
|
+
parameters: {
|
|
35241
|
+
query?: {
|
|
35242
|
+
/** @description Filter by external archive status */
|
|
35243
|
+
archived?: 'true' | 'false';
|
|
35244
|
+
/** @description Filter contracts signed from this date */
|
|
35245
|
+
fromDate?: string;
|
|
35246
|
+
/** @description Filter contracts signed until this date */
|
|
35247
|
+
toDate?: string;
|
|
35248
|
+
/** @description Search by case number (partial match) */
|
|
35249
|
+
caseNumber?: string;
|
|
35250
|
+
/** @description Sort order */
|
|
35251
|
+
sort?: 'date_asc' | 'date_desc' | 'case_number';
|
|
35252
|
+
/** @description Number of results per page (1-100) */
|
|
35253
|
+
limit?: string;
|
|
35254
|
+
/** @description Number of results to skip */
|
|
35255
|
+
offset?: string;
|
|
35256
|
+
};
|
|
35257
|
+
header?: never;
|
|
35258
|
+
path?: never;
|
|
35259
|
+
cookie?: never;
|
|
35260
|
+
};
|
|
35261
|
+
requestBody?: never;
|
|
35262
|
+
responses: {
|
|
35263
|
+
/** @description Successful response */
|
|
35264
|
+
200: {
|
|
35265
|
+
headers: {
|
|
35266
|
+
[name: string]: unknown;
|
|
35267
|
+
};
|
|
35268
|
+
content: {
|
|
35269
|
+
'application/json': {
|
|
35270
|
+
data?: Record<string, never>[];
|
|
35271
|
+
pagination?: {
|
|
35272
|
+
page?: number;
|
|
35273
|
+
limit?: number;
|
|
35274
|
+
offset?: number;
|
|
35275
|
+
total?: number;
|
|
35276
|
+
has_more?: boolean;
|
|
35277
|
+
};
|
|
35278
|
+
metadata?: {
|
|
35279
|
+
[key: string]: unknown;
|
|
35280
|
+
};
|
|
35281
|
+
};
|
|
35282
|
+
};
|
|
35283
|
+
};
|
|
35284
|
+
};
|
|
35285
|
+
};
|
|
35286
|
+
put?: never;
|
|
35287
|
+
post?: never;
|
|
35288
|
+
delete?: never;
|
|
35289
|
+
options?: never;
|
|
35290
|
+
head?: never;
|
|
35291
|
+
patch?: never;
|
|
35292
|
+
trace?: never;
|
|
35293
|
+
};
|
|
35294
|
+
'/api/signed-contracts/{documentId}/mark-archived': {
|
|
35295
|
+
parameters: {
|
|
35296
|
+
query?: never;
|
|
35297
|
+
header?: never;
|
|
35298
|
+
path?: never;
|
|
35299
|
+
cookie?: never;
|
|
35300
|
+
};
|
|
35301
|
+
get?: never;
|
|
35302
|
+
put?: never;
|
|
35303
|
+
/** @description Mark document as externally archived or unarchive it */
|
|
35304
|
+
post: {
|
|
35305
|
+
parameters: {
|
|
35306
|
+
query?: never;
|
|
35307
|
+
header?: never;
|
|
35308
|
+
path: {
|
|
35309
|
+
/** @description Document ID */
|
|
35310
|
+
documentId: string;
|
|
35311
|
+
};
|
|
35312
|
+
cookie?: never;
|
|
35313
|
+
};
|
|
35314
|
+
requestBody: {
|
|
35315
|
+
content: {
|
|
35316
|
+
'application/json': {
|
|
35317
|
+
/** @description Archive status to set */
|
|
35318
|
+
archived: boolean;
|
|
35319
|
+
};
|
|
35320
|
+
};
|
|
35321
|
+
};
|
|
35322
|
+
responses: {
|
|
35323
|
+
/** @description Successful response */
|
|
35324
|
+
200: {
|
|
35325
|
+
headers: {
|
|
35326
|
+
[name: string]: unknown;
|
|
35327
|
+
};
|
|
35328
|
+
content: {
|
|
35329
|
+
'application/json': {
|
|
35330
|
+
data?: Record<string, never>;
|
|
35331
|
+
message?: string;
|
|
35332
|
+
};
|
|
35333
|
+
};
|
|
35334
|
+
};
|
|
35335
|
+
};
|
|
35336
|
+
};
|
|
35337
|
+
delete?: never;
|
|
35338
|
+
options?: never;
|
|
35339
|
+
head?: never;
|
|
35340
|
+
patch?: never;
|
|
35341
|
+
trace?: never;
|
|
35342
|
+
};
|
|
35343
|
+
'/api/signed-contracts/{documentId}/download': {
|
|
35344
|
+
parameters: {
|
|
35345
|
+
query?: never;
|
|
35346
|
+
header?: never;
|
|
35347
|
+
path?: never;
|
|
35348
|
+
cookie?: never;
|
|
35349
|
+
};
|
|
35350
|
+
/** @description Download signed contract document */
|
|
35351
|
+
get: {
|
|
35352
|
+
parameters: {
|
|
35353
|
+
query?: never;
|
|
35354
|
+
header?: never;
|
|
35355
|
+
path: {
|
|
35356
|
+
/** @description Document ID */
|
|
35357
|
+
documentId: string;
|
|
35358
|
+
};
|
|
35359
|
+
cookie?: never;
|
|
35360
|
+
};
|
|
35361
|
+
requestBody?: never;
|
|
35362
|
+
responses: {
|
|
35363
|
+
/** @description File download */
|
|
35364
|
+
200: {
|
|
35365
|
+
headers: {
|
|
35366
|
+
[name: string]: unknown;
|
|
35367
|
+
};
|
|
35368
|
+
content: {
|
|
35369
|
+
'application/json': string;
|
|
35370
|
+
};
|
|
35371
|
+
};
|
|
35372
|
+
};
|
|
35373
|
+
};
|
|
35374
|
+
put?: never;
|
|
35375
|
+
post?: never;
|
|
35376
|
+
delete?: never;
|
|
35377
|
+
options?: never;
|
|
35378
|
+
head?: never;
|
|
35379
|
+
patch?: never;
|
|
35380
|
+
trace?: never;
|
|
35381
|
+
};
|
|
34903
35382
|
'/api/assistants/{id}/attachments': {
|
|
34904
35383
|
parameters: {
|
|
34905
35384
|
query?: never;
|
|
@@ -39847,14 +40326,14 @@ export interface paths {
|
|
|
39847
40326
|
userId?: string;
|
|
39848
40327
|
/**
|
|
39849
40328
|
* Format: date-time
|
|
39850
|
-
* @description
|
|
40329
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
39851
40330
|
*/
|
|
39852
40331
|
queriedAt: string;
|
|
39853
40332
|
/** @description Whether the result was served from cache */
|
|
39854
40333
|
cached?: boolean;
|
|
39855
40334
|
/**
|
|
39856
40335
|
* Format: date-time
|
|
39857
|
-
* @description
|
|
40336
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
39858
40337
|
*/
|
|
39859
40338
|
cacheExpiresAt?: string;
|
|
39860
40339
|
/** @description List of entity types included in the overview */
|
|
@@ -40034,7 +40513,7 @@ export interface paths {
|
|
|
40034
40513
|
status: string;
|
|
40035
40514
|
/**
|
|
40036
40515
|
* Format: date-time
|
|
40037
|
-
* @description
|
|
40516
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40038
40517
|
*/
|
|
40039
40518
|
savedAt: string;
|
|
40040
40519
|
}[];
|
|
@@ -40096,14 +40575,14 @@ export interface paths {
|
|
|
40096
40575
|
userId?: string;
|
|
40097
40576
|
/**
|
|
40098
40577
|
* Format: date-time
|
|
40099
|
-
* @description
|
|
40578
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40100
40579
|
*/
|
|
40101
40580
|
queriedAt: string;
|
|
40102
40581
|
/** @description Whether the result was served from cache */
|
|
40103
40582
|
cached?: boolean;
|
|
40104
40583
|
/**
|
|
40105
40584
|
* Format: date-time
|
|
40106
|
-
* @description
|
|
40585
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40107
40586
|
*/
|
|
40108
40587
|
cacheExpiresAt?: string;
|
|
40109
40588
|
/** @description List of entity types included in the overview */
|
|
@@ -40302,7 +40781,7 @@ export interface paths {
|
|
|
40302
40781
|
description: string;
|
|
40303
40782
|
/**
|
|
40304
40783
|
* Format: date-time
|
|
40305
|
-
* @description
|
|
40784
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40306
40785
|
*/
|
|
40307
40786
|
timestamp: string;
|
|
40308
40787
|
metadata?: {
|
|
@@ -40351,14 +40830,14 @@ export interface paths {
|
|
|
40351
40830
|
userId?: string;
|
|
40352
40831
|
/**
|
|
40353
40832
|
* Format: date-time
|
|
40354
|
-
* @description
|
|
40833
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40355
40834
|
*/
|
|
40356
40835
|
queriedAt: string;
|
|
40357
40836
|
/** @description Whether the result was served from cache */
|
|
40358
40837
|
cached?: boolean;
|
|
40359
40838
|
/**
|
|
40360
40839
|
* Format: date-time
|
|
40361
|
-
* @description
|
|
40840
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40362
40841
|
*/
|
|
40363
40842
|
cacheExpiresAt?: string;
|
|
40364
40843
|
/** @description List of entity types included in the overview */
|
|
@@ -40654,7 +41133,7 @@ export interface paths {
|
|
|
40654
41133
|
new_users_7d: number;
|
|
40655
41134
|
/**
|
|
40656
41135
|
* Format: date-time
|
|
40657
|
-
* @description
|
|
41136
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40658
41137
|
*/
|
|
40659
41138
|
refreshed_at: string;
|
|
40660
41139
|
};
|
|
@@ -40685,14 +41164,14 @@ export interface paths {
|
|
|
40685
41164
|
userId?: string;
|
|
40686
41165
|
/**
|
|
40687
41166
|
* Format: date-time
|
|
40688
|
-
* @description
|
|
41167
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40689
41168
|
*/
|
|
40690
41169
|
queriedAt: string;
|
|
40691
41170
|
/** @description Whether the result was served from cache */
|
|
40692
41171
|
cached?: boolean;
|
|
40693
41172
|
/**
|
|
40694
41173
|
* Format: date-time
|
|
40695
|
-
* @description
|
|
41174
|
+
* @description RFC 3339 datetime format (ISO 8601 or PostgreSQL timestamp)
|
|
40696
41175
|
*/
|
|
40697
41176
|
cacheExpiresAt?: string;
|
|
40698
41177
|
/** @description List of entity types included in the overview */
|
|
@@ -44710,37 +45189,60 @@ export interface paths {
|
|
|
44710
45189
|
};
|
|
44711
45190
|
content: {
|
|
44712
45191
|
'application/json': {
|
|
44713
|
-
|
|
44714
|
-
|
|
44715
|
-
|
|
44716
|
-
|
|
44717
|
-
|
|
44718
|
-
|
|
44719
|
-
|
|
44720
|
-
|
|
44721
|
-
|
|
44722
|
-
|
|
44723
|
-
|
|
44724
|
-
|
|
44725
|
-
|
|
44726
|
-
|
|
44727
|
-
|
|
44728
|
-
|
|
44729
|
-
|
|
44730
|
-
|
|
44731
|
-
|
|
44732
|
-
|
|
44733
|
-
|
|
44734
|
-
|
|
44735
|
-
|
|
44736
|
-
|
|
45192
|
+
data: {
|
|
45193
|
+
user: {
|
|
45194
|
+
id: string;
|
|
45195
|
+
uloba_immutable_id?: string | null;
|
|
45196
|
+
email: string;
|
|
45197
|
+
email_verified?: boolean;
|
|
45198
|
+
full_name?: string;
|
|
45199
|
+
given_name?: string;
|
|
45200
|
+
family_name?: string;
|
|
45201
|
+
phone?: string;
|
|
45202
|
+
roles: string[];
|
|
45203
|
+
status?: 'active' | 'pending_deactivation' | 'deactivated' | 'scheduled_deletion' | 'suspended';
|
|
45204
|
+
status_changed_at?: string | null;
|
|
45205
|
+
created_at: string;
|
|
45206
|
+
updated_at?: string;
|
|
45207
|
+
last_login?: string;
|
|
45208
|
+
deactivated_at?: string | null;
|
|
45209
|
+
deactivated_by?: string | null;
|
|
45210
|
+
deactivation_type?: 'admin' | 'self' | null;
|
|
45211
|
+
deactivation_reason?: string | null;
|
|
45212
|
+
scheduled_deletion_at?: string | null;
|
|
45213
|
+
};
|
|
45214
|
+
account: {
|
|
45215
|
+
id: string;
|
|
45216
|
+
status: 'active' | 'suspended';
|
|
45217
|
+
language: string;
|
|
45218
|
+
timezone?: string;
|
|
45219
|
+
created_at: string;
|
|
45220
|
+
};
|
|
45221
|
+
profile?: {
|
|
45222
|
+
type: 'assistant' | 'employer';
|
|
45223
|
+
data: unknown;
|
|
45224
|
+
};
|
|
45225
|
+
stats: {
|
|
45226
|
+
total_jobs: number;
|
|
45227
|
+
total_applications: number;
|
|
45228
|
+
total_contracts: number;
|
|
45229
|
+
total_inquiries: number;
|
|
45230
|
+
total_invites: number;
|
|
45231
|
+
};
|
|
44737
45232
|
};
|
|
44738
|
-
|
|
44739
|
-
|
|
44740
|
-
|
|
44741
|
-
|
|
44742
|
-
|
|
44743
|
-
|
|
45233
|
+
metadata: {
|
|
45234
|
+
viewerContext: 'anonymous' | 'authenticated' | 'owner' | 'coordinator' | 'admin';
|
|
45235
|
+
permissions: {
|
|
45236
|
+
canView?: boolean;
|
|
45237
|
+
canEdit?: boolean;
|
|
45238
|
+
canDeactivate?: boolean;
|
|
45239
|
+
canReactivate?: boolean;
|
|
45240
|
+
canSuspend?: boolean;
|
|
45241
|
+
canUnsuspend?: boolean;
|
|
45242
|
+
canScheduleDeletion?: boolean;
|
|
45243
|
+
canCancelDeletion?: boolean;
|
|
45244
|
+
};
|
|
45245
|
+
timestamp: string;
|
|
44744
45246
|
};
|
|
44745
45247
|
};
|
|
44746
45248
|
};
|
|
@@ -44861,7 +45363,7 @@ export interface paths {
|
|
|
44861
45363
|
put?: never;
|
|
44862
45364
|
/**
|
|
44863
45365
|
* Deactivate user
|
|
44864
|
-
* @description Admin deactivates user account immediately.
|
|
45366
|
+
* @description Admin deactivates user account immediately. State machine effects will handle unpublishing jobs and hiding assistant profiles. Requires CASE_MANAGER role.
|
|
44865
45367
|
*/
|
|
44866
45368
|
post: {
|
|
44867
45369
|
parameters: {
|
|
@@ -44891,8 +45393,6 @@ export interface paths {
|
|
|
44891
45393
|
success: boolean;
|
|
44892
45394
|
message: string;
|
|
44893
45395
|
deactivation_type: string;
|
|
44894
|
-
jobs_unpublished: number;
|
|
44895
|
-
assistants_hidden: number;
|
|
44896
45396
|
};
|
|
44897
45397
|
};
|
|
44898
45398
|
};
|