@digiteers/uloba3-sdk 2.2.2 → 2.2.3
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/contract-cases.d.ts +1 -3
- package/dist/api/contract-cases.d.ts.map +1 -1
- package/dist/api/contract-cases.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +791 -1157
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -24210,110 +24210,6 @@ export interface paths {
|
|
|
24210
24210
|
};
|
|
24211
24211
|
requestBody?: never;
|
|
24212
24212
|
responses: {
|
|
24213
|
-
/** @description Single contract case response */
|
|
24214
|
-
200: {
|
|
24215
|
-
headers: {
|
|
24216
|
-
[name: string]: unknown;
|
|
24217
|
-
};
|
|
24218
|
-
content: {
|
|
24219
|
-
'application/json': {
|
|
24220
|
-
/**
|
|
24221
|
-
* Contract Case with Relations
|
|
24222
|
-
* @description Contract case with related entities
|
|
24223
|
-
*/
|
|
24224
|
-
data: ({
|
|
24225
|
-
/** Format: uuid */
|
|
24226
|
-
id: string;
|
|
24227
|
-
} & {
|
|
24228
|
-
/** Format: uuid */
|
|
24229
|
-
contract_id: string;
|
|
24230
|
-
contract_title?: string;
|
|
24231
|
-
contract_type?: string;
|
|
24232
|
-
} & {
|
|
24233
|
-
case_number: string;
|
|
24234
|
-
title: string;
|
|
24235
|
-
description?: string;
|
|
24236
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
24237
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
24238
|
-
} & {
|
|
24239
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
24240
|
-
status_reason?: string;
|
|
24241
|
-
/** Format: date-time */
|
|
24242
|
-
status_changed_at?: string;
|
|
24243
|
-
/** Format: uuid */
|
|
24244
|
-
status_changed_by?: string;
|
|
24245
|
-
} & {
|
|
24246
|
-
assigned_to?: string | null;
|
|
24247
|
-
/** Format: uuid */
|
|
24248
|
-
assigned_by?: string;
|
|
24249
|
-
assigned_at?: string | null;
|
|
24250
|
-
assigned_to_name?: string;
|
|
24251
|
-
} & {
|
|
24252
|
-
started_at?: string | null;
|
|
24253
|
-
completed_at?: string | null;
|
|
24254
|
-
due_date?: string | null;
|
|
24255
|
-
estimated_completion_date?: string | null;
|
|
24256
|
-
} & {
|
|
24257
|
-
reviewed_by?: string | null;
|
|
24258
|
-
reviewed_at?: string | null;
|
|
24259
|
-
review_notes?: string;
|
|
24260
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
24261
|
-
} & {
|
|
24262
|
-
metadata?: {
|
|
24263
|
-
[key: string]: unknown;
|
|
24264
|
-
};
|
|
24265
|
-
tags?: string[];
|
|
24266
|
-
} & {
|
|
24267
|
-
/** Format: date-time */
|
|
24268
|
-
created_at: string;
|
|
24269
|
-
/** Format: date-time */
|
|
24270
|
-
updated_at: string;
|
|
24271
|
-
} & {
|
|
24272
|
-
progress_percentage?: number;
|
|
24273
|
-
requirements_total?: number;
|
|
24274
|
-
requirements_completed?: number;
|
|
24275
|
-
requirements_pending?: number;
|
|
24276
|
-
}) & {
|
|
24277
|
-
contract?: {
|
|
24278
|
-
/** Format: uuid */
|
|
24279
|
-
id: string;
|
|
24280
|
-
title: string;
|
|
24281
|
-
status: string;
|
|
24282
|
-
employer_name?: string;
|
|
24283
|
-
assistant_name?: string;
|
|
24284
|
-
};
|
|
24285
|
-
requirements?: ({
|
|
24286
|
-
/** Format: uuid */
|
|
24287
|
-
id: string;
|
|
24288
|
-
} & {
|
|
24289
|
-
/** Format: uuid */
|
|
24290
|
-
case_id: string;
|
|
24291
|
-
name: string;
|
|
24292
|
-
description?: string;
|
|
24293
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
24294
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
24295
|
-
} & {
|
|
24296
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
24297
|
-
submitted_at?: string | null;
|
|
24298
|
-
approved_at?: string | null;
|
|
24299
|
-
rejected_at?: string | null;
|
|
24300
|
-
rejection_reason?: string;
|
|
24301
|
-
} & {
|
|
24302
|
-
valid_from?: string | null;
|
|
24303
|
-
valid_until?: string | null;
|
|
24304
|
-
is_expired?: boolean;
|
|
24305
|
-
} & {
|
|
24306
|
-
/** Format: date-time */
|
|
24307
|
-
created_at: string;
|
|
24308
|
-
/** Format: date-time */
|
|
24309
|
-
updated_at: string;
|
|
24310
|
-
})[];
|
|
24311
|
-
notes_count?: number;
|
|
24312
|
-
documents_count?: number;
|
|
24313
|
-
};
|
|
24314
|
-
};
|
|
24315
|
-
};
|
|
24316
|
-
};
|
|
24317
24213
|
/** @description Default Response */
|
|
24318
24214
|
400: {
|
|
24319
24215
|
headers: {
|
|
@@ -24457,124 +24353,6 @@ export interface paths {
|
|
|
24457
24353
|
};
|
|
24458
24354
|
requestBody?: never;
|
|
24459
24355
|
responses: {
|
|
24460
|
-
/** @description Default Response */
|
|
24461
|
-
200: {
|
|
24462
|
-
headers: {
|
|
24463
|
-
[name: string]: unknown;
|
|
24464
|
-
};
|
|
24465
|
-
content: {
|
|
24466
|
-
'application/json': {
|
|
24467
|
-
data: (({
|
|
24468
|
-
/** Format: uuid */
|
|
24469
|
-
id: string;
|
|
24470
|
-
} & {
|
|
24471
|
-
/** Format: uuid */
|
|
24472
|
-
contract_id: string;
|
|
24473
|
-
contract_title?: string;
|
|
24474
|
-
contract_type?: string;
|
|
24475
|
-
} & {
|
|
24476
|
-
case_number: string;
|
|
24477
|
-
title: string;
|
|
24478
|
-
description?: string;
|
|
24479
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
24480
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
24481
|
-
} & {
|
|
24482
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
24483
|
-
status_reason?: string;
|
|
24484
|
-
/** Format: date-time */
|
|
24485
|
-
status_changed_at?: string;
|
|
24486
|
-
/** Format: uuid */
|
|
24487
|
-
status_changed_by?: string;
|
|
24488
|
-
} & {
|
|
24489
|
-
assigned_to?: string | null;
|
|
24490
|
-
/** Format: uuid */
|
|
24491
|
-
assigned_by?: string;
|
|
24492
|
-
assigned_at?: string | null;
|
|
24493
|
-
assigned_to_name?: string;
|
|
24494
|
-
} & {
|
|
24495
|
-
started_at?: string | null;
|
|
24496
|
-
completed_at?: string | null;
|
|
24497
|
-
due_date?: string | null;
|
|
24498
|
-
estimated_completion_date?: string | null;
|
|
24499
|
-
} & {
|
|
24500
|
-
reviewed_by?: string | null;
|
|
24501
|
-
reviewed_at?: string | null;
|
|
24502
|
-
review_notes?: string;
|
|
24503
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
24504
|
-
} & {
|
|
24505
|
-
metadata?: {
|
|
24506
|
-
[key: string]: unknown;
|
|
24507
|
-
};
|
|
24508
|
-
tags?: string[];
|
|
24509
|
-
} & {
|
|
24510
|
-
/** Format: date-time */
|
|
24511
|
-
created_at: string;
|
|
24512
|
-
/** Format: date-time */
|
|
24513
|
-
updated_at: string;
|
|
24514
|
-
} & {
|
|
24515
|
-
progress_percentage?: number;
|
|
24516
|
-
requirements_total?: number;
|
|
24517
|
-
requirements_completed?: number;
|
|
24518
|
-
requirements_pending?: number;
|
|
24519
|
-
}) & {
|
|
24520
|
-
contract?: {
|
|
24521
|
-
/** Format: uuid */
|
|
24522
|
-
id: string;
|
|
24523
|
-
title: string;
|
|
24524
|
-
status: string;
|
|
24525
|
-
employer_name?: string;
|
|
24526
|
-
assistant_name?: string;
|
|
24527
|
-
};
|
|
24528
|
-
requirements?: ({
|
|
24529
|
-
/** Format: uuid */
|
|
24530
|
-
id: string;
|
|
24531
|
-
} & {
|
|
24532
|
-
/** Format: uuid */
|
|
24533
|
-
case_id: string;
|
|
24534
|
-
name: string;
|
|
24535
|
-
description?: string;
|
|
24536
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
24537
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
24538
|
-
} & {
|
|
24539
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
24540
|
-
submitted_at?: string | null;
|
|
24541
|
-
approved_at?: string | null;
|
|
24542
|
-
rejected_at?: string | null;
|
|
24543
|
-
rejection_reason?: string;
|
|
24544
|
-
} & {
|
|
24545
|
-
valid_from?: string | null;
|
|
24546
|
-
valid_until?: string | null;
|
|
24547
|
-
is_expired?: boolean;
|
|
24548
|
-
} & {
|
|
24549
|
-
/** Format: date-time */
|
|
24550
|
-
created_at: string;
|
|
24551
|
-
/** Format: date-time */
|
|
24552
|
-
updated_at: string;
|
|
24553
|
-
})[];
|
|
24554
|
-
notes_count?: number;
|
|
24555
|
-
documents_count?: number;
|
|
24556
|
-
})[];
|
|
24557
|
-
pagination: {
|
|
24558
|
-
/** @description Positive integer (1 or greater) */
|
|
24559
|
-
page: number;
|
|
24560
|
-
/** @description Positive integer (1 or greater) */
|
|
24561
|
-
limit: number;
|
|
24562
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24563
|
-
total: number;
|
|
24564
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24565
|
-
total_pages: number;
|
|
24566
|
-
has_more: boolean;
|
|
24567
|
-
};
|
|
24568
|
-
meta?: {
|
|
24569
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24570
|
-
total_filtered?: number;
|
|
24571
|
-
search_query?: string;
|
|
24572
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24573
|
-
filters_applied?: number;
|
|
24574
|
-
};
|
|
24575
|
-
};
|
|
24576
|
-
};
|
|
24577
|
-
};
|
|
24578
24356
|
/** @description Default Response */
|
|
24579
24357
|
400: {
|
|
24580
24358
|
headers: {
|
|
@@ -24705,95 +24483,6 @@ export interface paths {
|
|
|
24705
24483
|
};
|
|
24706
24484
|
requestBody?: never;
|
|
24707
24485
|
responses: {
|
|
24708
|
-
/** @description Standard statistics response wrapper */
|
|
24709
|
-
200: {
|
|
24710
|
-
headers: {
|
|
24711
|
-
[name: string]: unknown;
|
|
24712
|
-
};
|
|
24713
|
-
content: {
|
|
24714
|
-
'application/json': {
|
|
24715
|
-
/** @description Contract case statistics for case managers */
|
|
24716
|
-
data: {
|
|
24717
|
-
/** @description Case counts by status */
|
|
24718
|
-
byStatus: {
|
|
24719
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24720
|
-
not_started: number;
|
|
24721
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24722
|
-
in_progress: number;
|
|
24723
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24724
|
-
approved: number;
|
|
24725
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24726
|
-
rejected: number;
|
|
24727
|
-
};
|
|
24728
|
-
/** @description Total counts for case management */
|
|
24729
|
-
totals: {
|
|
24730
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24731
|
-
all: number;
|
|
24732
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24733
|
-
active: number;
|
|
24734
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24735
|
-
myActiveCases: number;
|
|
24736
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24737
|
-
unassigned: number;
|
|
24738
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24739
|
-
needsAction: number;
|
|
24740
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24741
|
-
completedLast30Days: number;
|
|
24742
|
-
};
|
|
24743
|
-
/** @description Case counts by priority level */
|
|
24744
|
-
byPriority: {
|
|
24745
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24746
|
-
urgent: number;
|
|
24747
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24748
|
-
high_priority: number;
|
|
24749
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24750
|
-
normal: number;
|
|
24751
|
-
};
|
|
24752
|
-
avgProcessingTime?: {
|
|
24753
|
-
/** @description Average hours to process a case */
|
|
24754
|
-
hours: number;
|
|
24755
|
-
/** @description Average days to process a case */
|
|
24756
|
-
days: number;
|
|
24757
|
-
};
|
|
24758
|
-
alerts?: {
|
|
24759
|
-
type: 'info' | 'warning' | 'error' | 'action_required';
|
|
24760
|
-
severity: 'low' | 'medium' | 'high';
|
|
24761
|
-
/** @description Non-negative integer (0 or greater) */
|
|
24762
|
-
count: number;
|
|
24763
|
-
message: string;
|
|
24764
|
-
status: string;
|
|
24765
|
-
}[];
|
|
24766
|
-
};
|
|
24767
|
-
/** @description Metadata about the statistics query and response */
|
|
24768
|
-
metadata: {
|
|
24769
|
-
/** @description Role context for the statistics query */
|
|
24770
|
-
role: 'coordinator' | 'teamlead' | 'assistant' | 'case_manager' | 'applicant';
|
|
24771
|
-
/**
|
|
24772
|
-
* Format: uuid
|
|
24773
|
-
* @description UUID version 4 identifier
|
|
24774
|
-
*/
|
|
24775
|
-
accountId?: string;
|
|
24776
|
-
/**
|
|
24777
|
-
* Format: uuid
|
|
24778
|
-
* @description UUID version 4 identifier
|
|
24779
|
-
*/
|
|
24780
|
-
userId?: string;
|
|
24781
|
-
/**
|
|
24782
|
-
* Format: date-time
|
|
24783
|
-
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
24784
|
-
*/
|
|
24785
|
-
queriedAt: string;
|
|
24786
|
-
/** @description Whether the result was served from cache */
|
|
24787
|
-
cached?: boolean;
|
|
24788
|
-
/**
|
|
24789
|
-
* Format: date-time
|
|
24790
|
-
* @description ISO 8601 datetime format (YYYY-MM-DDTHH:mm:ss.sssZ)
|
|
24791
|
-
*/
|
|
24792
|
-
cacheExpiresAt?: string;
|
|
24793
|
-
};
|
|
24794
|
-
};
|
|
24795
|
-
};
|
|
24796
|
-
};
|
|
24797
24486
|
/** @description Default Response */
|
|
24798
24487
|
400: {
|
|
24799
24488
|
headers: {
|
|
@@ -24935,112 +24624,8 @@ export interface paths {
|
|
|
24935
24624
|
};
|
|
24936
24625
|
};
|
|
24937
24626
|
responses: {
|
|
24938
|
-
/** @description
|
|
24939
|
-
|
|
24940
|
-
headers: {
|
|
24941
|
-
[name: string]: unknown;
|
|
24942
|
-
};
|
|
24943
|
-
content: {
|
|
24944
|
-
'application/json': {
|
|
24945
|
-
/**
|
|
24946
|
-
* Contract Case with Relations
|
|
24947
|
-
* @description Contract case with related entities
|
|
24948
|
-
*/
|
|
24949
|
-
data: ({
|
|
24950
|
-
/** Format: uuid */
|
|
24951
|
-
id: string;
|
|
24952
|
-
} & {
|
|
24953
|
-
/** Format: uuid */
|
|
24954
|
-
contract_id: string;
|
|
24955
|
-
contract_title?: string;
|
|
24956
|
-
contract_type?: string;
|
|
24957
|
-
} & {
|
|
24958
|
-
case_number: string;
|
|
24959
|
-
title: string;
|
|
24960
|
-
description?: string;
|
|
24961
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
24962
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
24963
|
-
} & {
|
|
24964
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
24965
|
-
status_reason?: string;
|
|
24966
|
-
/** Format: date-time */
|
|
24967
|
-
status_changed_at?: string;
|
|
24968
|
-
/** Format: uuid */
|
|
24969
|
-
status_changed_by?: string;
|
|
24970
|
-
} & {
|
|
24971
|
-
assigned_to?: string | null;
|
|
24972
|
-
/** Format: uuid */
|
|
24973
|
-
assigned_by?: string;
|
|
24974
|
-
assigned_at?: string | null;
|
|
24975
|
-
assigned_to_name?: string;
|
|
24976
|
-
} & {
|
|
24977
|
-
started_at?: string | null;
|
|
24978
|
-
completed_at?: string | null;
|
|
24979
|
-
due_date?: string | null;
|
|
24980
|
-
estimated_completion_date?: string | null;
|
|
24981
|
-
} & {
|
|
24982
|
-
reviewed_by?: string | null;
|
|
24983
|
-
reviewed_at?: string | null;
|
|
24984
|
-
review_notes?: string;
|
|
24985
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
24986
|
-
} & {
|
|
24987
|
-
metadata?: {
|
|
24988
|
-
[key: string]: unknown;
|
|
24989
|
-
};
|
|
24990
|
-
tags?: string[];
|
|
24991
|
-
} & {
|
|
24992
|
-
/** Format: date-time */
|
|
24993
|
-
created_at: string;
|
|
24994
|
-
/** Format: date-time */
|
|
24995
|
-
updated_at: string;
|
|
24996
|
-
} & {
|
|
24997
|
-
progress_percentage?: number;
|
|
24998
|
-
requirements_total?: number;
|
|
24999
|
-
requirements_completed?: number;
|
|
25000
|
-
requirements_pending?: number;
|
|
25001
|
-
}) & {
|
|
25002
|
-
contract?: {
|
|
25003
|
-
/** Format: uuid */
|
|
25004
|
-
id: string;
|
|
25005
|
-
title: string;
|
|
25006
|
-
status: string;
|
|
25007
|
-
employer_name?: string;
|
|
25008
|
-
assistant_name?: string;
|
|
25009
|
-
};
|
|
25010
|
-
requirements?: ({
|
|
25011
|
-
/** Format: uuid */
|
|
25012
|
-
id: string;
|
|
25013
|
-
} & {
|
|
25014
|
-
/** Format: uuid */
|
|
25015
|
-
case_id: string;
|
|
25016
|
-
name: string;
|
|
25017
|
-
description?: string;
|
|
25018
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
25019
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
25020
|
-
} & {
|
|
25021
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
25022
|
-
submitted_at?: string | null;
|
|
25023
|
-
approved_at?: string | null;
|
|
25024
|
-
rejected_at?: string | null;
|
|
25025
|
-
rejection_reason?: string;
|
|
25026
|
-
} & {
|
|
25027
|
-
valid_from?: string | null;
|
|
25028
|
-
valid_until?: string | null;
|
|
25029
|
-
is_expired?: boolean;
|
|
25030
|
-
} & {
|
|
25031
|
-
/** Format: date-time */
|
|
25032
|
-
created_at: string;
|
|
25033
|
-
/** Format: date-time */
|
|
25034
|
-
updated_at: string;
|
|
25035
|
-
})[];
|
|
25036
|
-
notes_count?: number;
|
|
25037
|
-
documents_count?: number;
|
|
25038
|
-
};
|
|
25039
|
-
};
|
|
25040
|
-
};
|
|
25041
|
-
};
|
|
25042
|
-
/** @description Default Response */
|
|
25043
|
-
400: {
|
|
24627
|
+
/** @description Default Response */
|
|
24628
|
+
400: {
|
|
25044
24629
|
headers: {
|
|
25045
24630
|
[name: string]: unknown;
|
|
25046
24631
|
};
|
|
@@ -25180,110 +24765,138 @@ export interface paths {
|
|
|
25180
24765
|
};
|
|
25181
24766
|
};
|
|
25182
24767
|
responses: {
|
|
25183
|
-
/** @description
|
|
25184
|
-
|
|
24768
|
+
/** @description Default Response */
|
|
24769
|
+
400: {
|
|
25185
24770
|
headers: {
|
|
25186
24771
|
[name: string]: unknown;
|
|
25187
24772
|
};
|
|
25188
24773
|
content: {
|
|
25189
24774
|
'application/json': {
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25196
|
-
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
|
|
25201
|
-
|
|
25202
|
-
|
|
25203
|
-
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25220
|
-
|
|
25221
|
-
|
|
25222
|
-
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
|
|
25230
|
-
|
|
25231
|
-
|
|
25232
|
-
|
|
25233
|
-
|
|
25234
|
-
|
|
25235
|
-
|
|
25236
|
-
|
|
25237
|
-
|
|
25238
|
-
|
|
25239
|
-
|
|
25240
|
-
|
|
25241
|
-
|
|
25242
|
-
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
|
|
25280
|
-
})[];
|
|
25281
|
-
notes_count?: number;
|
|
25282
|
-
documents_count?: number;
|
|
25283
|
-
};
|
|
24775
|
+
error: string;
|
|
24776
|
+
message?: string;
|
|
24777
|
+
code?: string;
|
|
24778
|
+
details?: unknown;
|
|
24779
|
+
/** Format: date-time */
|
|
24780
|
+
timestamp?: string;
|
|
24781
|
+
};
|
|
24782
|
+
};
|
|
24783
|
+
};
|
|
24784
|
+
/** @description Default Response */
|
|
24785
|
+
401: {
|
|
24786
|
+
headers: {
|
|
24787
|
+
[name: string]: unknown;
|
|
24788
|
+
};
|
|
24789
|
+
content: {
|
|
24790
|
+
'application/json': {
|
|
24791
|
+
error: string;
|
|
24792
|
+
message?: string;
|
|
24793
|
+
code?: string;
|
|
24794
|
+
details?: unknown;
|
|
24795
|
+
/** Format: date-time */
|
|
24796
|
+
timestamp?: string;
|
|
24797
|
+
};
|
|
24798
|
+
};
|
|
24799
|
+
};
|
|
24800
|
+
/** @description Default Response */
|
|
24801
|
+
403: {
|
|
24802
|
+
headers: {
|
|
24803
|
+
[name: string]: unknown;
|
|
24804
|
+
};
|
|
24805
|
+
content: {
|
|
24806
|
+
'application/json': {
|
|
24807
|
+
error: string;
|
|
24808
|
+
message?: string;
|
|
24809
|
+
code?: string;
|
|
24810
|
+
details?: unknown;
|
|
24811
|
+
/** Format: date-time */
|
|
24812
|
+
timestamp?: string;
|
|
24813
|
+
};
|
|
24814
|
+
};
|
|
24815
|
+
};
|
|
24816
|
+
/** @description Default Response */
|
|
24817
|
+
404: {
|
|
24818
|
+
headers: {
|
|
24819
|
+
[name: string]: unknown;
|
|
24820
|
+
};
|
|
24821
|
+
content: {
|
|
24822
|
+
'application/json': {
|
|
24823
|
+
error: string;
|
|
24824
|
+
message?: string;
|
|
24825
|
+
code?: string;
|
|
24826
|
+
details?: unknown;
|
|
24827
|
+
/** Format: date-time */
|
|
24828
|
+
timestamp?: string;
|
|
24829
|
+
};
|
|
24830
|
+
};
|
|
24831
|
+
};
|
|
24832
|
+
/** @description Default Response */
|
|
24833
|
+
422: {
|
|
24834
|
+
headers: {
|
|
24835
|
+
[name: string]: unknown;
|
|
24836
|
+
};
|
|
24837
|
+
content: {
|
|
24838
|
+
'application/json': {
|
|
24839
|
+
error: string;
|
|
24840
|
+
message: string;
|
|
24841
|
+
errors: {
|
|
24842
|
+
field: string;
|
|
24843
|
+
message: string;
|
|
24844
|
+
code?: string;
|
|
24845
|
+
value?: unknown;
|
|
24846
|
+
}[];
|
|
24847
|
+
/** Format: date-time */
|
|
24848
|
+
timestamp?: string;
|
|
24849
|
+
};
|
|
24850
|
+
};
|
|
24851
|
+
};
|
|
24852
|
+
/** @description Default Response */
|
|
24853
|
+
500: {
|
|
24854
|
+
headers: {
|
|
24855
|
+
[name: string]: unknown;
|
|
24856
|
+
};
|
|
24857
|
+
content: {
|
|
24858
|
+
'application/json': {
|
|
24859
|
+
error: string;
|
|
24860
|
+
message?: string;
|
|
24861
|
+
code?: string;
|
|
24862
|
+
details?: unknown;
|
|
24863
|
+
/** Format: date-time */
|
|
24864
|
+
timestamp?: string;
|
|
25284
24865
|
};
|
|
25285
24866
|
};
|
|
25286
24867
|
};
|
|
24868
|
+
};
|
|
24869
|
+
};
|
|
24870
|
+
delete?: never;
|
|
24871
|
+
options?: never;
|
|
24872
|
+
head?: never;
|
|
24873
|
+
patch?: never;
|
|
24874
|
+
trace?: never;
|
|
24875
|
+
};
|
|
24876
|
+
'/api/contract-cases/{id}/take': {
|
|
24877
|
+
parameters: {
|
|
24878
|
+
query?: never;
|
|
24879
|
+
header?: never;
|
|
24880
|
+
path?: never;
|
|
24881
|
+
cookie?: never;
|
|
24882
|
+
};
|
|
24883
|
+
get?: never;
|
|
24884
|
+
put?: never;
|
|
24885
|
+
/**
|
|
24886
|
+
* Take over case handling
|
|
24887
|
+
* @description Take over a case from another case manager without formal assignment. Use when original manager is unavailable and case must be completed.
|
|
24888
|
+
*/
|
|
24889
|
+
post: {
|
|
24890
|
+
parameters: {
|
|
24891
|
+
query?: never;
|
|
24892
|
+
header?: never;
|
|
24893
|
+
path: {
|
|
24894
|
+
id: string;
|
|
24895
|
+
};
|
|
24896
|
+
cookie?: never;
|
|
24897
|
+
};
|
|
24898
|
+
requestBody?: never;
|
|
24899
|
+
responses: {
|
|
25287
24900
|
/** @description Default Response */
|
|
25288
24901
|
400: {
|
|
25289
24902
|
headers: {
|
|
@@ -25435,6 +25048,9 @@ export interface paths {
|
|
|
25435
25048
|
description?: string;
|
|
25436
25049
|
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
25437
25050
|
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
25051
|
+
/** @description Indicates if this is a custom requirement (true) or template-based (false) */
|
|
25052
|
+
is_custom: boolean;
|
|
25053
|
+
template_id?: string | null;
|
|
25438
25054
|
} & {
|
|
25439
25055
|
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
25440
25056
|
submitted_at?: string | null;
|
|
@@ -25608,6 +25224,9 @@ export interface paths {
|
|
|
25608
25224
|
description?: string;
|
|
25609
25225
|
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
25610
25226
|
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
25227
|
+
/** @description Indicates if this is a custom requirement (true) or template-based (false) */
|
|
25228
|
+
is_custom: boolean;
|
|
25229
|
+
template_id?: string | null;
|
|
25611
25230
|
} & {
|
|
25612
25231
|
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
25613
25232
|
submitted_at?: string | null;
|
|
@@ -25793,6 +25412,9 @@ export interface paths {
|
|
|
25793
25412
|
description?: string;
|
|
25794
25413
|
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
25795
25414
|
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
25415
|
+
/** @description Indicates if this is a custom requirement (true) or template-based (false) */
|
|
25416
|
+
is_custom: boolean;
|
|
25417
|
+
template_id?: string | null;
|
|
25796
25418
|
} & {
|
|
25797
25419
|
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
25798
25420
|
submitted_at?: string | null;
|
|
@@ -25914,32 +25536,586 @@ export interface paths {
|
|
|
25914
25536
|
};
|
|
25915
25537
|
};
|
|
25916
25538
|
};
|
|
25917
|
-
post?: never;
|
|
25539
|
+
post?: never;
|
|
25540
|
+
/**
|
|
25541
|
+
* Delete custom requirement
|
|
25542
|
+
* @description Delete a custom requirement. Only creator or assigned case manager can delete.
|
|
25543
|
+
*/
|
|
25544
|
+
delete: {
|
|
25545
|
+
parameters: {
|
|
25546
|
+
query?: never;
|
|
25547
|
+
header?: never;
|
|
25548
|
+
path: {
|
|
25549
|
+
/** @description Contract case ID */
|
|
25550
|
+
id: string;
|
|
25551
|
+
/** @description Requirement ID */
|
|
25552
|
+
requirementId: string;
|
|
25553
|
+
};
|
|
25554
|
+
cookie?: never;
|
|
25555
|
+
};
|
|
25556
|
+
requestBody?: never;
|
|
25557
|
+
responses: {
|
|
25558
|
+
/** @description Default Response */
|
|
25559
|
+
204: {
|
|
25560
|
+
headers: {
|
|
25561
|
+
[name: string]: unknown;
|
|
25562
|
+
};
|
|
25563
|
+
content?: never;
|
|
25564
|
+
};
|
|
25565
|
+
/** @description Default Response */
|
|
25566
|
+
400: {
|
|
25567
|
+
headers: {
|
|
25568
|
+
[name: string]: unknown;
|
|
25569
|
+
};
|
|
25570
|
+
content: {
|
|
25571
|
+
'application/json': {
|
|
25572
|
+
error: string;
|
|
25573
|
+
message?: string;
|
|
25574
|
+
code?: string;
|
|
25575
|
+
details?: unknown;
|
|
25576
|
+
/** Format: date-time */
|
|
25577
|
+
timestamp?: string;
|
|
25578
|
+
};
|
|
25579
|
+
};
|
|
25580
|
+
};
|
|
25581
|
+
/** @description Default Response */
|
|
25582
|
+
401: {
|
|
25583
|
+
headers: {
|
|
25584
|
+
[name: string]: unknown;
|
|
25585
|
+
};
|
|
25586
|
+
content: {
|
|
25587
|
+
'application/json': {
|
|
25588
|
+
error: string;
|
|
25589
|
+
message?: string;
|
|
25590
|
+
code?: string;
|
|
25591
|
+
details?: unknown;
|
|
25592
|
+
/** Format: date-time */
|
|
25593
|
+
timestamp?: string;
|
|
25594
|
+
};
|
|
25595
|
+
};
|
|
25596
|
+
};
|
|
25597
|
+
/** @description Default Response */
|
|
25598
|
+
403: {
|
|
25599
|
+
headers: {
|
|
25600
|
+
[name: string]: unknown;
|
|
25601
|
+
};
|
|
25602
|
+
content: {
|
|
25603
|
+
'application/json': {
|
|
25604
|
+
error: string;
|
|
25605
|
+
message?: string;
|
|
25606
|
+
code?: string;
|
|
25607
|
+
details?: unknown;
|
|
25608
|
+
/** Format: date-time */
|
|
25609
|
+
timestamp?: string;
|
|
25610
|
+
};
|
|
25611
|
+
};
|
|
25612
|
+
};
|
|
25613
|
+
/** @description Default Response */
|
|
25614
|
+
404: {
|
|
25615
|
+
headers: {
|
|
25616
|
+
[name: string]: unknown;
|
|
25617
|
+
};
|
|
25618
|
+
content: {
|
|
25619
|
+
'application/json': {
|
|
25620
|
+
error: string;
|
|
25621
|
+
message?: string;
|
|
25622
|
+
code?: string;
|
|
25623
|
+
details?: unknown;
|
|
25624
|
+
/** Format: date-time */
|
|
25625
|
+
timestamp?: string;
|
|
25626
|
+
};
|
|
25627
|
+
};
|
|
25628
|
+
};
|
|
25629
|
+
/** @description Default Response */
|
|
25630
|
+
422: {
|
|
25631
|
+
headers: {
|
|
25632
|
+
[name: string]: unknown;
|
|
25633
|
+
};
|
|
25634
|
+
content: {
|
|
25635
|
+
'application/json': {
|
|
25636
|
+
error: string;
|
|
25637
|
+
message: string;
|
|
25638
|
+
errors: {
|
|
25639
|
+
field: string;
|
|
25640
|
+
message: string;
|
|
25641
|
+
code?: string;
|
|
25642
|
+
value?: unknown;
|
|
25643
|
+
}[];
|
|
25644
|
+
/** Format: date-time */
|
|
25645
|
+
timestamp?: string;
|
|
25646
|
+
};
|
|
25647
|
+
};
|
|
25648
|
+
};
|
|
25649
|
+
/** @description Default Response */
|
|
25650
|
+
500: {
|
|
25651
|
+
headers: {
|
|
25652
|
+
[name: string]: unknown;
|
|
25653
|
+
};
|
|
25654
|
+
content: {
|
|
25655
|
+
'application/json': {
|
|
25656
|
+
error: string;
|
|
25657
|
+
message?: string;
|
|
25658
|
+
code?: string;
|
|
25659
|
+
details?: unknown;
|
|
25660
|
+
/** Format: date-time */
|
|
25661
|
+
timestamp?: string;
|
|
25662
|
+
};
|
|
25663
|
+
};
|
|
25664
|
+
};
|
|
25665
|
+
};
|
|
25666
|
+
};
|
|
25667
|
+
options?: never;
|
|
25668
|
+
head?: never;
|
|
25669
|
+
patch?: never;
|
|
25670
|
+
trace?: never;
|
|
25671
|
+
};
|
|
25672
|
+
'/api/contract-cases/{id}/notes': {
|
|
25673
|
+
parameters: {
|
|
25674
|
+
query?: never;
|
|
25675
|
+
header?: never;
|
|
25676
|
+
path?: never;
|
|
25677
|
+
cookie?: never;
|
|
25678
|
+
};
|
|
25679
|
+
get?: never;
|
|
25680
|
+
put?: never;
|
|
25681
|
+
/**
|
|
25682
|
+
* Add note to case
|
|
25683
|
+
* @description Add an internal note to the case. Only assigned case manager can add notes.
|
|
25684
|
+
*/
|
|
25685
|
+
post: {
|
|
25686
|
+
parameters: {
|
|
25687
|
+
query?: never;
|
|
25688
|
+
header?: never;
|
|
25689
|
+
path: {
|
|
25690
|
+
id: string;
|
|
25691
|
+
};
|
|
25692
|
+
cookie?: never;
|
|
25693
|
+
};
|
|
25694
|
+
/** @description Request body for adding a note to a case */
|
|
25695
|
+
requestBody: {
|
|
25696
|
+
content: {
|
|
25697
|
+
'application/json': {
|
|
25698
|
+
content: string;
|
|
25699
|
+
is_internal?: boolean;
|
|
25700
|
+
metadata?: {
|
|
25701
|
+
[key: string]: unknown;
|
|
25702
|
+
};
|
|
25703
|
+
};
|
|
25704
|
+
};
|
|
25705
|
+
};
|
|
25706
|
+
responses: {
|
|
25707
|
+
/** @description Default Response */
|
|
25708
|
+
400: {
|
|
25709
|
+
headers: {
|
|
25710
|
+
[name: string]: unknown;
|
|
25711
|
+
};
|
|
25712
|
+
content: {
|
|
25713
|
+
'application/json': {
|
|
25714
|
+
error: string;
|
|
25715
|
+
message?: string;
|
|
25716
|
+
code?: string;
|
|
25717
|
+
details?: unknown;
|
|
25718
|
+
/** Format: date-time */
|
|
25719
|
+
timestamp?: string;
|
|
25720
|
+
};
|
|
25721
|
+
};
|
|
25722
|
+
};
|
|
25723
|
+
/** @description Default Response */
|
|
25724
|
+
401: {
|
|
25725
|
+
headers: {
|
|
25726
|
+
[name: string]: unknown;
|
|
25727
|
+
};
|
|
25728
|
+
content: {
|
|
25729
|
+
'application/json': {
|
|
25730
|
+
error: string;
|
|
25731
|
+
message?: string;
|
|
25732
|
+
code?: string;
|
|
25733
|
+
details?: unknown;
|
|
25734
|
+
/** Format: date-time */
|
|
25735
|
+
timestamp?: string;
|
|
25736
|
+
};
|
|
25737
|
+
};
|
|
25738
|
+
};
|
|
25739
|
+
/** @description Default Response */
|
|
25740
|
+
403: {
|
|
25741
|
+
headers: {
|
|
25742
|
+
[name: string]: unknown;
|
|
25743
|
+
};
|
|
25744
|
+
content: {
|
|
25745
|
+
'application/json': {
|
|
25746
|
+
error: string;
|
|
25747
|
+
message?: string;
|
|
25748
|
+
code?: string;
|
|
25749
|
+
details?: unknown;
|
|
25750
|
+
/** Format: date-time */
|
|
25751
|
+
timestamp?: string;
|
|
25752
|
+
};
|
|
25753
|
+
};
|
|
25754
|
+
};
|
|
25755
|
+
/** @description Default Response */
|
|
25756
|
+
404: {
|
|
25757
|
+
headers: {
|
|
25758
|
+
[name: string]: unknown;
|
|
25759
|
+
};
|
|
25760
|
+
content: {
|
|
25761
|
+
'application/json': {
|
|
25762
|
+
error: string;
|
|
25763
|
+
message?: string;
|
|
25764
|
+
code?: string;
|
|
25765
|
+
details?: unknown;
|
|
25766
|
+
/** Format: date-time */
|
|
25767
|
+
timestamp?: string;
|
|
25768
|
+
};
|
|
25769
|
+
};
|
|
25770
|
+
};
|
|
25771
|
+
/** @description Default Response */
|
|
25772
|
+
422: {
|
|
25773
|
+
headers: {
|
|
25774
|
+
[name: string]: unknown;
|
|
25775
|
+
};
|
|
25776
|
+
content: {
|
|
25777
|
+
'application/json': {
|
|
25778
|
+
error: string;
|
|
25779
|
+
message: string;
|
|
25780
|
+
errors: {
|
|
25781
|
+
field: string;
|
|
25782
|
+
message: string;
|
|
25783
|
+
code?: string;
|
|
25784
|
+
value?: unknown;
|
|
25785
|
+
}[];
|
|
25786
|
+
/** Format: date-time */
|
|
25787
|
+
timestamp?: string;
|
|
25788
|
+
};
|
|
25789
|
+
};
|
|
25790
|
+
};
|
|
25791
|
+
/** @description Default Response */
|
|
25792
|
+
500: {
|
|
25793
|
+
headers: {
|
|
25794
|
+
[name: string]: unknown;
|
|
25795
|
+
};
|
|
25796
|
+
content: {
|
|
25797
|
+
'application/json': {
|
|
25798
|
+
error: string;
|
|
25799
|
+
message?: string;
|
|
25800
|
+
code?: string;
|
|
25801
|
+
details?: unknown;
|
|
25802
|
+
/** Format: date-time */
|
|
25803
|
+
timestamp?: string;
|
|
25804
|
+
};
|
|
25805
|
+
};
|
|
25806
|
+
};
|
|
25807
|
+
};
|
|
25808
|
+
};
|
|
25809
|
+
delete?: never;
|
|
25810
|
+
options?: never;
|
|
25811
|
+
head?: never;
|
|
25812
|
+
patch?: never;
|
|
25813
|
+
trace?: never;
|
|
25814
|
+
};
|
|
25815
|
+
'/api/contract-cases/{id}/approve': {
|
|
25816
|
+
parameters: {
|
|
25817
|
+
query?: never;
|
|
25818
|
+
header?: never;
|
|
25819
|
+
path?: never;
|
|
25820
|
+
cookie?: never;
|
|
25821
|
+
};
|
|
25822
|
+
get?: never;
|
|
25823
|
+
put?: never;
|
|
25824
|
+
/**
|
|
25825
|
+
* Approve contract case
|
|
25826
|
+
* @description Approve the contract case and activate the contract. Only case managers can approve.
|
|
25827
|
+
*/
|
|
25828
|
+
post: {
|
|
25829
|
+
parameters: {
|
|
25830
|
+
query?: never;
|
|
25831
|
+
header?: never;
|
|
25832
|
+
path: {
|
|
25833
|
+
id: string;
|
|
25834
|
+
};
|
|
25835
|
+
cookie?: never;
|
|
25836
|
+
};
|
|
25837
|
+
requestBody?: never;
|
|
25838
|
+
responses: {
|
|
25839
|
+
/** @description Default Response */
|
|
25840
|
+
400: {
|
|
25841
|
+
headers: {
|
|
25842
|
+
[name: string]: unknown;
|
|
25843
|
+
};
|
|
25844
|
+
content: {
|
|
25845
|
+
'application/json': {
|
|
25846
|
+
error: string;
|
|
25847
|
+
message?: string;
|
|
25848
|
+
code?: string;
|
|
25849
|
+
details?: unknown;
|
|
25850
|
+
/** Format: date-time */
|
|
25851
|
+
timestamp?: string;
|
|
25852
|
+
};
|
|
25853
|
+
};
|
|
25854
|
+
};
|
|
25855
|
+
/** @description Default Response */
|
|
25856
|
+
401: {
|
|
25857
|
+
headers: {
|
|
25858
|
+
[name: string]: unknown;
|
|
25859
|
+
};
|
|
25860
|
+
content: {
|
|
25861
|
+
'application/json': {
|
|
25862
|
+
error: string;
|
|
25863
|
+
message?: string;
|
|
25864
|
+
code?: string;
|
|
25865
|
+
details?: unknown;
|
|
25866
|
+
/** Format: date-time */
|
|
25867
|
+
timestamp?: string;
|
|
25868
|
+
};
|
|
25869
|
+
};
|
|
25870
|
+
};
|
|
25871
|
+
/** @description Default Response */
|
|
25872
|
+
403: {
|
|
25873
|
+
headers: {
|
|
25874
|
+
[name: string]: unknown;
|
|
25875
|
+
};
|
|
25876
|
+
content: {
|
|
25877
|
+
'application/json': {
|
|
25878
|
+
error: string;
|
|
25879
|
+
message?: string;
|
|
25880
|
+
code?: string;
|
|
25881
|
+
details?: unknown;
|
|
25882
|
+
/** Format: date-time */
|
|
25883
|
+
timestamp?: string;
|
|
25884
|
+
};
|
|
25885
|
+
};
|
|
25886
|
+
};
|
|
25887
|
+
/** @description Default Response */
|
|
25888
|
+
404: {
|
|
25889
|
+
headers: {
|
|
25890
|
+
[name: string]: unknown;
|
|
25891
|
+
};
|
|
25892
|
+
content: {
|
|
25893
|
+
'application/json': {
|
|
25894
|
+
error: string;
|
|
25895
|
+
message?: string;
|
|
25896
|
+
code?: string;
|
|
25897
|
+
details?: unknown;
|
|
25898
|
+
/** Format: date-time */
|
|
25899
|
+
timestamp?: string;
|
|
25900
|
+
};
|
|
25901
|
+
};
|
|
25902
|
+
};
|
|
25903
|
+
/** @description Default Response */
|
|
25904
|
+
422: {
|
|
25905
|
+
headers: {
|
|
25906
|
+
[name: string]: unknown;
|
|
25907
|
+
};
|
|
25908
|
+
content: {
|
|
25909
|
+
'application/json': {
|
|
25910
|
+
error: string;
|
|
25911
|
+
message: string;
|
|
25912
|
+
errors: {
|
|
25913
|
+
field: string;
|
|
25914
|
+
message: string;
|
|
25915
|
+
code?: string;
|
|
25916
|
+
value?: unknown;
|
|
25917
|
+
}[];
|
|
25918
|
+
/** Format: date-time */
|
|
25919
|
+
timestamp?: string;
|
|
25920
|
+
};
|
|
25921
|
+
};
|
|
25922
|
+
};
|
|
25923
|
+
/** @description Default Response */
|
|
25924
|
+
500: {
|
|
25925
|
+
headers: {
|
|
25926
|
+
[name: string]: unknown;
|
|
25927
|
+
};
|
|
25928
|
+
content: {
|
|
25929
|
+
'application/json': {
|
|
25930
|
+
error: string;
|
|
25931
|
+
message?: string;
|
|
25932
|
+
code?: string;
|
|
25933
|
+
details?: unknown;
|
|
25934
|
+
/** Format: date-time */
|
|
25935
|
+
timestamp?: string;
|
|
25936
|
+
};
|
|
25937
|
+
};
|
|
25938
|
+
};
|
|
25939
|
+
};
|
|
25940
|
+
};
|
|
25941
|
+
delete?: never;
|
|
25942
|
+
options?: never;
|
|
25943
|
+
head?: never;
|
|
25944
|
+
patch?: never;
|
|
25945
|
+
trace?: never;
|
|
25946
|
+
};
|
|
25947
|
+
'/api/contract-cases/{id}/request-info': {
|
|
25948
|
+
parameters: {
|
|
25949
|
+
query?: never;
|
|
25950
|
+
header?: never;
|
|
25951
|
+
path?: never;
|
|
25952
|
+
cookie?: never;
|
|
25953
|
+
};
|
|
25954
|
+
get?: never;
|
|
25955
|
+
put?: never;
|
|
25956
|
+
/**
|
|
25957
|
+
* Request additional information
|
|
25958
|
+
* @description Request additional information for case review. Only case managers can request info.
|
|
25959
|
+
*/
|
|
25960
|
+
post: {
|
|
25961
|
+
parameters: {
|
|
25962
|
+
query?: never;
|
|
25963
|
+
header?: never;
|
|
25964
|
+
path: {
|
|
25965
|
+
id: string;
|
|
25966
|
+
};
|
|
25967
|
+
cookie?: never;
|
|
25968
|
+
};
|
|
25969
|
+
requestBody: {
|
|
25970
|
+
content: {
|
|
25971
|
+
'application/json': {
|
|
25972
|
+
message: string;
|
|
25973
|
+
required_documents: string[];
|
|
25974
|
+
/** Format: date-time */
|
|
25975
|
+
deadline?: string;
|
|
25976
|
+
};
|
|
25977
|
+
};
|
|
25978
|
+
};
|
|
25979
|
+
responses: {
|
|
25980
|
+
/** @description Default Response */
|
|
25981
|
+
400: {
|
|
25982
|
+
headers: {
|
|
25983
|
+
[name: string]: unknown;
|
|
25984
|
+
};
|
|
25985
|
+
content: {
|
|
25986
|
+
'application/json': {
|
|
25987
|
+
error: string;
|
|
25988
|
+
message?: string;
|
|
25989
|
+
code?: string;
|
|
25990
|
+
details?: unknown;
|
|
25991
|
+
/** Format: date-time */
|
|
25992
|
+
timestamp?: string;
|
|
25993
|
+
};
|
|
25994
|
+
};
|
|
25995
|
+
};
|
|
25996
|
+
/** @description Default Response */
|
|
25997
|
+
401: {
|
|
25998
|
+
headers: {
|
|
25999
|
+
[name: string]: unknown;
|
|
26000
|
+
};
|
|
26001
|
+
content: {
|
|
26002
|
+
'application/json': {
|
|
26003
|
+
error: string;
|
|
26004
|
+
message?: string;
|
|
26005
|
+
code?: string;
|
|
26006
|
+
details?: unknown;
|
|
26007
|
+
/** Format: date-time */
|
|
26008
|
+
timestamp?: string;
|
|
26009
|
+
};
|
|
26010
|
+
};
|
|
26011
|
+
};
|
|
26012
|
+
/** @description Default Response */
|
|
26013
|
+
403: {
|
|
26014
|
+
headers: {
|
|
26015
|
+
[name: string]: unknown;
|
|
26016
|
+
};
|
|
26017
|
+
content: {
|
|
26018
|
+
'application/json': {
|
|
26019
|
+
error: string;
|
|
26020
|
+
message?: string;
|
|
26021
|
+
code?: string;
|
|
26022
|
+
details?: unknown;
|
|
26023
|
+
/** Format: date-time */
|
|
26024
|
+
timestamp?: string;
|
|
26025
|
+
};
|
|
26026
|
+
};
|
|
26027
|
+
};
|
|
26028
|
+
/** @description Default Response */
|
|
26029
|
+
404: {
|
|
26030
|
+
headers: {
|
|
26031
|
+
[name: string]: unknown;
|
|
26032
|
+
};
|
|
26033
|
+
content: {
|
|
26034
|
+
'application/json': {
|
|
26035
|
+
error: string;
|
|
26036
|
+
message?: string;
|
|
26037
|
+
code?: string;
|
|
26038
|
+
details?: unknown;
|
|
26039
|
+
/** Format: date-time */
|
|
26040
|
+
timestamp?: string;
|
|
26041
|
+
};
|
|
26042
|
+
};
|
|
26043
|
+
};
|
|
26044
|
+
/** @description Default Response */
|
|
26045
|
+
422: {
|
|
26046
|
+
headers: {
|
|
26047
|
+
[name: string]: unknown;
|
|
26048
|
+
};
|
|
26049
|
+
content: {
|
|
26050
|
+
'application/json': {
|
|
26051
|
+
error: string;
|
|
26052
|
+
message: string;
|
|
26053
|
+
errors: {
|
|
26054
|
+
field: string;
|
|
26055
|
+
message: string;
|
|
26056
|
+
code?: string;
|
|
26057
|
+
value?: unknown;
|
|
26058
|
+
}[];
|
|
26059
|
+
/** Format: date-time */
|
|
26060
|
+
timestamp?: string;
|
|
26061
|
+
};
|
|
26062
|
+
};
|
|
26063
|
+
};
|
|
26064
|
+
/** @description Default Response */
|
|
26065
|
+
500: {
|
|
26066
|
+
headers: {
|
|
26067
|
+
[name: string]: unknown;
|
|
26068
|
+
};
|
|
26069
|
+
content: {
|
|
26070
|
+
'application/json': {
|
|
26071
|
+
error: string;
|
|
26072
|
+
message?: string;
|
|
26073
|
+
code?: string;
|
|
26074
|
+
details?: unknown;
|
|
26075
|
+
/** Format: date-time */
|
|
26076
|
+
timestamp?: string;
|
|
26077
|
+
};
|
|
26078
|
+
};
|
|
26079
|
+
};
|
|
26080
|
+
};
|
|
26081
|
+
};
|
|
26082
|
+
delete?: never;
|
|
26083
|
+
options?: never;
|
|
26084
|
+
head?: never;
|
|
26085
|
+
patch?: never;
|
|
26086
|
+
trace?: never;
|
|
26087
|
+
};
|
|
26088
|
+
'/api/contract-cases/{id}/resume': {
|
|
26089
|
+
parameters: {
|
|
26090
|
+
query?: never;
|
|
26091
|
+
header?: never;
|
|
26092
|
+
path?: never;
|
|
26093
|
+
cookie?: never;
|
|
26094
|
+
};
|
|
26095
|
+
get?: never;
|
|
26096
|
+
put?: never;
|
|
25918
26097
|
/**
|
|
25919
|
-
*
|
|
25920
|
-
* @description
|
|
26098
|
+
* Resume case review
|
|
26099
|
+
* @description Resume case review after receiving requested information. Only case managers can resume cases.
|
|
25921
26100
|
*/
|
|
25922
|
-
|
|
26101
|
+
post: {
|
|
25923
26102
|
parameters: {
|
|
25924
26103
|
query?: never;
|
|
25925
26104
|
header?: never;
|
|
25926
26105
|
path: {
|
|
25927
|
-
/** @description Contract case ID */
|
|
25928
26106
|
id: string;
|
|
25929
|
-
/** @description Requirement ID */
|
|
25930
|
-
requirementId: string;
|
|
25931
26107
|
};
|
|
25932
26108
|
cookie?: never;
|
|
25933
26109
|
};
|
|
25934
|
-
requestBody?:
|
|
25935
|
-
|
|
25936
|
-
|
|
25937
|
-
|
|
25938
|
-
|
|
25939
|
-
[name: string]: unknown;
|
|
26110
|
+
requestBody?: {
|
|
26111
|
+
content: {
|
|
26112
|
+
'application/json': {
|
|
26113
|
+
notes?: string;
|
|
26114
|
+
documents_received?: string[];
|
|
25940
26115
|
};
|
|
25941
|
-
content?: never;
|
|
25942
26116
|
};
|
|
26117
|
+
};
|
|
26118
|
+
responses: {
|
|
25943
26119
|
/** @description Default Response */
|
|
25944
26120
|
400: {
|
|
25945
26121
|
headers: {
|
|
@@ -26042,12 +26218,13 @@ export interface paths {
|
|
|
26042
26218
|
};
|
|
26043
26219
|
};
|
|
26044
26220
|
};
|
|
26221
|
+
delete?: never;
|
|
26045
26222
|
options?: never;
|
|
26046
26223
|
head?: never;
|
|
26047
26224
|
patch?: never;
|
|
26048
26225
|
trace?: never;
|
|
26049
26226
|
};
|
|
26050
|
-
'/api/contract-cases/{id}/
|
|
26227
|
+
'/api/contract-cases/{id}/reject': {
|
|
26051
26228
|
parameters: {
|
|
26052
26229
|
query?: never;
|
|
26053
26230
|
header?: never;
|
|
@@ -26057,8 +26234,8 @@ export interface paths {
|
|
|
26057
26234
|
get?: never;
|
|
26058
26235
|
put?: never;
|
|
26059
26236
|
/**
|
|
26060
|
-
*
|
|
26061
|
-
* @description
|
|
26237
|
+
* Reject contract case
|
|
26238
|
+
* @description Reject the contract case. Only case managers can reject.
|
|
26062
26239
|
*/
|
|
26063
26240
|
post: {
|
|
26064
26241
|
parameters: {
|
|
@@ -26069,123 +26246,16 @@ export interface paths {
|
|
|
26069
26246
|
};
|
|
26070
26247
|
cookie?: never;
|
|
26071
26248
|
};
|
|
26072
|
-
/** @description Request body for
|
|
26249
|
+
/** @description Request body for rejecting a case */
|
|
26073
26250
|
requestBody: {
|
|
26074
26251
|
content: {
|
|
26075
26252
|
'application/json': {
|
|
26076
|
-
|
|
26077
|
-
|
|
26078
|
-
metadata?: {
|
|
26079
|
-
[key: string]: unknown;
|
|
26080
|
-
};
|
|
26253
|
+
reason: string;
|
|
26254
|
+
notes?: string;
|
|
26081
26255
|
};
|
|
26082
26256
|
};
|
|
26083
26257
|
};
|
|
26084
26258
|
responses: {
|
|
26085
|
-
/** @description Single contract case response */
|
|
26086
|
-
200: {
|
|
26087
|
-
headers: {
|
|
26088
|
-
[name: string]: unknown;
|
|
26089
|
-
};
|
|
26090
|
-
content: {
|
|
26091
|
-
'application/json': {
|
|
26092
|
-
/**
|
|
26093
|
-
* Contract Case with Relations
|
|
26094
|
-
* @description Contract case with related entities
|
|
26095
|
-
*/
|
|
26096
|
-
data: ({
|
|
26097
|
-
/** Format: uuid */
|
|
26098
|
-
id: string;
|
|
26099
|
-
} & {
|
|
26100
|
-
/** Format: uuid */
|
|
26101
|
-
contract_id: string;
|
|
26102
|
-
contract_title?: string;
|
|
26103
|
-
contract_type?: string;
|
|
26104
|
-
} & {
|
|
26105
|
-
case_number: string;
|
|
26106
|
-
title: string;
|
|
26107
|
-
description?: string;
|
|
26108
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
26109
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
26110
|
-
} & {
|
|
26111
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
26112
|
-
status_reason?: string;
|
|
26113
|
-
/** Format: date-time */
|
|
26114
|
-
status_changed_at?: string;
|
|
26115
|
-
/** Format: uuid */
|
|
26116
|
-
status_changed_by?: string;
|
|
26117
|
-
} & {
|
|
26118
|
-
assigned_to?: string | null;
|
|
26119
|
-
/** Format: uuid */
|
|
26120
|
-
assigned_by?: string;
|
|
26121
|
-
assigned_at?: string | null;
|
|
26122
|
-
assigned_to_name?: string;
|
|
26123
|
-
} & {
|
|
26124
|
-
started_at?: string | null;
|
|
26125
|
-
completed_at?: string | null;
|
|
26126
|
-
due_date?: string | null;
|
|
26127
|
-
estimated_completion_date?: string | null;
|
|
26128
|
-
} & {
|
|
26129
|
-
reviewed_by?: string | null;
|
|
26130
|
-
reviewed_at?: string | null;
|
|
26131
|
-
review_notes?: string;
|
|
26132
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
26133
|
-
} & {
|
|
26134
|
-
metadata?: {
|
|
26135
|
-
[key: string]: unknown;
|
|
26136
|
-
};
|
|
26137
|
-
tags?: string[];
|
|
26138
|
-
} & {
|
|
26139
|
-
/** Format: date-time */
|
|
26140
|
-
created_at: string;
|
|
26141
|
-
/** Format: date-time */
|
|
26142
|
-
updated_at: string;
|
|
26143
|
-
} & {
|
|
26144
|
-
progress_percentage?: number;
|
|
26145
|
-
requirements_total?: number;
|
|
26146
|
-
requirements_completed?: number;
|
|
26147
|
-
requirements_pending?: number;
|
|
26148
|
-
}) & {
|
|
26149
|
-
contract?: {
|
|
26150
|
-
/** Format: uuid */
|
|
26151
|
-
id: string;
|
|
26152
|
-
title: string;
|
|
26153
|
-
status: string;
|
|
26154
|
-
employer_name?: string;
|
|
26155
|
-
assistant_name?: string;
|
|
26156
|
-
};
|
|
26157
|
-
requirements?: ({
|
|
26158
|
-
/** Format: uuid */
|
|
26159
|
-
id: string;
|
|
26160
|
-
} & {
|
|
26161
|
-
/** Format: uuid */
|
|
26162
|
-
case_id: string;
|
|
26163
|
-
name: string;
|
|
26164
|
-
description?: string;
|
|
26165
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
26166
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
26167
|
-
} & {
|
|
26168
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
26169
|
-
submitted_at?: string | null;
|
|
26170
|
-
approved_at?: string | null;
|
|
26171
|
-
rejected_at?: string | null;
|
|
26172
|
-
rejection_reason?: string;
|
|
26173
|
-
} & {
|
|
26174
|
-
valid_from?: string | null;
|
|
26175
|
-
valid_until?: string | null;
|
|
26176
|
-
is_expired?: boolean;
|
|
26177
|
-
} & {
|
|
26178
|
-
/** Format: date-time */
|
|
26179
|
-
created_at: string;
|
|
26180
|
-
/** Format: date-time */
|
|
26181
|
-
updated_at: string;
|
|
26182
|
-
})[];
|
|
26183
|
-
notes_count?: number;
|
|
26184
|
-
documents_count?: number;
|
|
26185
|
-
};
|
|
26186
|
-
};
|
|
26187
|
-
};
|
|
26188
|
-
};
|
|
26189
26259
|
/** @description Default Response */
|
|
26190
26260
|
400: {
|
|
26191
26261
|
headers: {
|
|
@@ -26294,7 +26364,7 @@ export interface paths {
|
|
|
26294
26364
|
patch?: never;
|
|
26295
26365
|
trace?: never;
|
|
26296
26366
|
};
|
|
26297
|
-
'/api/contract-cases/{id}/
|
|
26367
|
+
'/api/contract-cases/{id}/archive': {
|
|
26298
26368
|
parameters: {
|
|
26299
26369
|
query?: never;
|
|
26300
26370
|
header?: never;
|
|
@@ -26304,8 +26374,8 @@ export interface paths {
|
|
|
26304
26374
|
get?: never;
|
|
26305
26375
|
put?: never;
|
|
26306
26376
|
/**
|
|
26307
|
-
*
|
|
26308
|
-
* @description
|
|
26377
|
+
* Archive contract case
|
|
26378
|
+
* @description Archive a completed contract case (approved or rejected). Only case managers can archive.
|
|
26309
26379
|
*/
|
|
26310
26380
|
post: {
|
|
26311
26381
|
parameters: {
|
|
@@ -26318,110 +26388,6 @@ export interface paths {
|
|
|
26318
26388
|
};
|
|
26319
26389
|
requestBody?: never;
|
|
26320
26390
|
responses: {
|
|
26321
|
-
/** @description Single contract case response */
|
|
26322
|
-
200: {
|
|
26323
|
-
headers: {
|
|
26324
|
-
[name: string]: unknown;
|
|
26325
|
-
};
|
|
26326
|
-
content: {
|
|
26327
|
-
'application/json': {
|
|
26328
|
-
/**
|
|
26329
|
-
* Contract Case with Relations
|
|
26330
|
-
* @description Contract case with related entities
|
|
26331
|
-
*/
|
|
26332
|
-
data: ({
|
|
26333
|
-
/** Format: uuid */
|
|
26334
|
-
id: string;
|
|
26335
|
-
} & {
|
|
26336
|
-
/** Format: uuid */
|
|
26337
|
-
contract_id: string;
|
|
26338
|
-
contract_title?: string;
|
|
26339
|
-
contract_type?: string;
|
|
26340
|
-
} & {
|
|
26341
|
-
case_number: string;
|
|
26342
|
-
title: string;
|
|
26343
|
-
description?: string;
|
|
26344
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
26345
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
26346
|
-
} & {
|
|
26347
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
26348
|
-
status_reason?: string;
|
|
26349
|
-
/** Format: date-time */
|
|
26350
|
-
status_changed_at?: string;
|
|
26351
|
-
/** Format: uuid */
|
|
26352
|
-
status_changed_by?: string;
|
|
26353
|
-
} & {
|
|
26354
|
-
assigned_to?: string | null;
|
|
26355
|
-
/** Format: uuid */
|
|
26356
|
-
assigned_by?: string;
|
|
26357
|
-
assigned_at?: string | null;
|
|
26358
|
-
assigned_to_name?: string;
|
|
26359
|
-
} & {
|
|
26360
|
-
started_at?: string | null;
|
|
26361
|
-
completed_at?: string | null;
|
|
26362
|
-
due_date?: string | null;
|
|
26363
|
-
estimated_completion_date?: string | null;
|
|
26364
|
-
} & {
|
|
26365
|
-
reviewed_by?: string | null;
|
|
26366
|
-
reviewed_at?: string | null;
|
|
26367
|
-
review_notes?: string;
|
|
26368
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
26369
|
-
} & {
|
|
26370
|
-
metadata?: {
|
|
26371
|
-
[key: string]: unknown;
|
|
26372
|
-
};
|
|
26373
|
-
tags?: string[];
|
|
26374
|
-
} & {
|
|
26375
|
-
/** Format: date-time */
|
|
26376
|
-
created_at: string;
|
|
26377
|
-
/** Format: date-time */
|
|
26378
|
-
updated_at: string;
|
|
26379
|
-
} & {
|
|
26380
|
-
progress_percentage?: number;
|
|
26381
|
-
requirements_total?: number;
|
|
26382
|
-
requirements_completed?: number;
|
|
26383
|
-
requirements_pending?: number;
|
|
26384
|
-
}) & {
|
|
26385
|
-
contract?: {
|
|
26386
|
-
/** Format: uuid */
|
|
26387
|
-
id: string;
|
|
26388
|
-
title: string;
|
|
26389
|
-
status: string;
|
|
26390
|
-
employer_name?: string;
|
|
26391
|
-
assistant_name?: string;
|
|
26392
|
-
};
|
|
26393
|
-
requirements?: ({
|
|
26394
|
-
/** Format: uuid */
|
|
26395
|
-
id: string;
|
|
26396
|
-
} & {
|
|
26397
|
-
/** Format: uuid */
|
|
26398
|
-
case_id: string;
|
|
26399
|
-
name: string;
|
|
26400
|
-
description?: string;
|
|
26401
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
26402
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
26403
|
-
} & {
|
|
26404
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
26405
|
-
submitted_at?: string | null;
|
|
26406
|
-
approved_at?: string | null;
|
|
26407
|
-
rejected_at?: string | null;
|
|
26408
|
-
rejection_reason?: string;
|
|
26409
|
-
} & {
|
|
26410
|
-
valid_from?: string | null;
|
|
26411
|
-
valid_until?: string | null;
|
|
26412
|
-
is_expired?: boolean;
|
|
26413
|
-
} & {
|
|
26414
|
-
/** Format: date-time */
|
|
26415
|
-
created_at: string;
|
|
26416
|
-
/** Format: date-time */
|
|
26417
|
-
updated_at: string;
|
|
26418
|
-
})[];
|
|
26419
|
-
notes_count?: number;
|
|
26420
|
-
documents_count?: number;
|
|
26421
|
-
};
|
|
26422
|
-
};
|
|
26423
|
-
};
|
|
26424
|
-
};
|
|
26425
26391
|
/** @description Default Response */
|
|
26426
26392
|
400: {
|
|
26427
26393
|
headers: {
|
|
@@ -26530,20 +26496,18 @@ export interface paths {
|
|
|
26530
26496
|
patch?: never;
|
|
26531
26497
|
trace?: never;
|
|
26532
26498
|
};
|
|
26533
|
-
'/api/contract-cases/{id}/
|
|
26499
|
+
'/api/contract-cases/{id}/activity-log': {
|
|
26534
26500
|
parameters: {
|
|
26535
26501
|
query?: never;
|
|
26536
26502
|
header?: never;
|
|
26537
26503
|
path?: never;
|
|
26538
26504
|
cookie?: never;
|
|
26539
26505
|
};
|
|
26540
|
-
get?: never;
|
|
26541
|
-
put?: never;
|
|
26542
26506
|
/**
|
|
26543
|
-
*
|
|
26544
|
-
* @description
|
|
26507
|
+
* List case activity log
|
|
26508
|
+
* @description List all activity log entries for a contract case. Only case managers can view.
|
|
26545
26509
|
*/
|
|
26546
|
-
|
|
26510
|
+
get: {
|
|
26547
26511
|
parameters: {
|
|
26548
26512
|
query?: never;
|
|
26549
26513
|
header?: never;
|
|
@@ -26552,118 +26516,40 @@ export interface paths {
|
|
|
26552
26516
|
};
|
|
26553
26517
|
cookie?: never;
|
|
26554
26518
|
};
|
|
26555
|
-
requestBody
|
|
26556
|
-
content: {
|
|
26557
|
-
'application/json': {
|
|
26558
|
-
message: string;
|
|
26559
|
-
required_documents: string[];
|
|
26560
|
-
/** Format: date-time */
|
|
26561
|
-
deadline?: string;
|
|
26562
|
-
};
|
|
26563
|
-
};
|
|
26564
|
-
};
|
|
26519
|
+
requestBody?: never;
|
|
26565
26520
|
responses: {
|
|
26566
|
-
/** @description
|
|
26521
|
+
/** @description Response containing list of activity log entries */
|
|
26567
26522
|
200: {
|
|
26568
26523
|
headers: {
|
|
26569
26524
|
[name: string]: unknown;
|
|
26570
26525
|
};
|
|
26571
26526
|
content: {
|
|
26572
26527
|
'application/json': {
|
|
26573
|
-
|
|
26574
|
-
* Contract Case with Relations
|
|
26575
|
-
* @description Contract case with related entities
|
|
26576
|
-
*/
|
|
26577
|
-
data: ({
|
|
26528
|
+
data: {
|
|
26578
26529
|
/** Format: uuid */
|
|
26579
26530
|
id: string;
|
|
26580
|
-
} & {
|
|
26581
|
-
/** Format: uuid */
|
|
26582
|
-
contract_id: string;
|
|
26583
|
-
contract_title?: string;
|
|
26584
|
-
contract_type?: string;
|
|
26585
|
-
} & {
|
|
26586
|
-
case_number: string;
|
|
26587
|
-
title: string;
|
|
26588
|
-
description?: string;
|
|
26589
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
26590
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
26591
|
-
} & {
|
|
26592
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
26593
|
-
status_reason?: string;
|
|
26594
|
-
/** Format: date-time */
|
|
26595
|
-
status_changed_at?: string;
|
|
26596
|
-
/** Format: uuid */
|
|
26597
|
-
status_changed_by?: string;
|
|
26598
|
-
} & {
|
|
26599
|
-
assigned_to?: string | null;
|
|
26600
26531
|
/** Format: uuid */
|
|
26601
|
-
|
|
26602
|
-
|
|
26603
|
-
assigned_to_name?: string;
|
|
26604
|
-
} & {
|
|
26605
|
-
started_at?: string | null;
|
|
26606
|
-
completed_at?: string | null;
|
|
26607
|
-
due_date?: string | null;
|
|
26608
|
-
estimated_completion_date?: string | null;
|
|
26609
|
-
} & {
|
|
26610
|
-
reviewed_by?: string | null;
|
|
26611
|
-
reviewed_at?: string | null;
|
|
26612
|
-
review_notes?: string;
|
|
26613
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
26614
|
-
} & {
|
|
26615
|
-
metadata?: {
|
|
26616
|
-
[key: string]: unknown;
|
|
26617
|
-
};
|
|
26618
|
-
tags?: string[];
|
|
26619
|
-
} & {
|
|
26532
|
+
contract_case_id: string;
|
|
26533
|
+
comment: string;
|
|
26620
26534
|
/** Format: date-time */
|
|
26621
26535
|
created_at: string;
|
|
26622
|
-
/** Format:
|
|
26623
|
-
|
|
26624
|
-
|
|
26625
|
-
progress_percentage?: number;
|
|
26626
|
-
requirements_total?: number;
|
|
26627
|
-
requirements_completed?: number;
|
|
26628
|
-
requirements_pending?: number;
|
|
26629
|
-
}) & {
|
|
26630
|
-
contract?: {
|
|
26536
|
+
/** Format: uuid */
|
|
26537
|
+
created_by: string;
|
|
26538
|
+
created_by_user?: {
|
|
26631
26539
|
/** Format: uuid */
|
|
26632
26540
|
id: string;
|
|
26633
|
-
|
|
26634
|
-
status: string;
|
|
26635
|
-
employer_name?: string;
|
|
26636
|
-
assistant_name?: string;
|
|
26541
|
+
display_name: string;
|
|
26637
26542
|
};
|
|
26638
|
-
|
|
26543
|
+
/** Format: date-time */
|
|
26544
|
+
updated_at: string;
|
|
26545
|
+
/** Format: uuid */
|
|
26546
|
+
updated_by: string;
|
|
26547
|
+
updated_by_user?: {
|
|
26639
26548
|
/** Format: uuid */
|
|
26640
26549
|
id: string;
|
|
26641
|
-
|
|
26642
|
-
|
|
26643
|
-
|
|
26644
|
-
name: string;
|
|
26645
|
-
description?: string;
|
|
26646
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
26647
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
26648
|
-
} & {
|
|
26649
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
26650
|
-
submitted_at?: string | null;
|
|
26651
|
-
approved_at?: string | null;
|
|
26652
|
-
rejected_at?: string | null;
|
|
26653
|
-
rejection_reason?: string;
|
|
26654
|
-
} & {
|
|
26655
|
-
valid_from?: string | null;
|
|
26656
|
-
valid_until?: string | null;
|
|
26657
|
-
is_expired?: boolean;
|
|
26658
|
-
} & {
|
|
26659
|
-
/** Format: date-time */
|
|
26660
|
-
created_at: string;
|
|
26661
|
-
/** Format: date-time */
|
|
26662
|
-
updated_at: string;
|
|
26663
|
-
})[];
|
|
26664
|
-
notes_count?: number;
|
|
26665
|
-
documents_count?: number;
|
|
26666
|
-
};
|
|
26550
|
+
display_name: string;
|
|
26551
|
+
};
|
|
26552
|
+
}[];
|
|
26667
26553
|
};
|
|
26668
26554
|
};
|
|
26669
26555
|
};
|
|
@@ -26769,24 +26655,10 @@ export interface paths {
|
|
|
26769
26655
|
};
|
|
26770
26656
|
};
|
|
26771
26657
|
};
|
|
26772
|
-
delete?: never;
|
|
26773
|
-
options?: never;
|
|
26774
|
-
head?: never;
|
|
26775
|
-
patch?: never;
|
|
26776
|
-
trace?: never;
|
|
26777
|
-
};
|
|
26778
|
-
'/api/contract-cases/{id}/resume': {
|
|
26779
|
-
parameters: {
|
|
26780
|
-
query?: never;
|
|
26781
|
-
header?: never;
|
|
26782
|
-
path?: never;
|
|
26783
|
-
cookie?: never;
|
|
26784
|
-
};
|
|
26785
|
-
get?: never;
|
|
26786
26658
|
put?: never;
|
|
26787
26659
|
/**
|
|
26788
|
-
*
|
|
26789
|
-
* @description
|
|
26660
|
+
* Create activity log entry
|
|
26661
|
+
* @description Add a new activity log entry to the case. Only case managers can create.
|
|
26790
26662
|
*/
|
|
26791
26663
|
post: {
|
|
26792
26664
|
parameters: {
|
|
@@ -26797,115 +26669,50 @@ export interface paths {
|
|
|
26797
26669
|
};
|
|
26798
26670
|
cookie?: never;
|
|
26799
26671
|
};
|
|
26800
|
-
|
|
26672
|
+
/** @description Request body for creating a new activity log entry */
|
|
26673
|
+
requestBody: {
|
|
26801
26674
|
content: {
|
|
26802
26675
|
'application/json': {
|
|
26803
|
-
|
|
26804
|
-
documents_received?: string[];
|
|
26676
|
+
comment: string;
|
|
26805
26677
|
};
|
|
26806
26678
|
};
|
|
26807
26679
|
};
|
|
26808
26680
|
responses: {
|
|
26809
|
-
/** @description
|
|
26810
|
-
|
|
26681
|
+
/** @description Response containing a single activity log entry */
|
|
26682
|
+
201: {
|
|
26811
26683
|
headers: {
|
|
26812
26684
|
[name: string]: unknown;
|
|
26813
26685
|
};
|
|
26814
26686
|
content: {
|
|
26815
26687
|
'application/json': {
|
|
26816
26688
|
/**
|
|
26817
|
-
*
|
|
26818
|
-
* @description Contract case with
|
|
26689
|
+
* Activity Log Entry
|
|
26690
|
+
* @description Contract case activity log entry with user information
|
|
26819
26691
|
*/
|
|
26820
|
-
data:
|
|
26692
|
+
data: {
|
|
26821
26693
|
/** Format: uuid */
|
|
26822
26694
|
id: string;
|
|
26823
|
-
} & {
|
|
26824
26695
|
/** Format: uuid */
|
|
26825
|
-
|
|
26826
|
-
|
|
26827
|
-
contract_type?: string;
|
|
26828
|
-
} & {
|
|
26829
|
-
case_number: string;
|
|
26830
|
-
title: string;
|
|
26831
|
-
description?: string;
|
|
26832
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
26833
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
26834
|
-
} & {
|
|
26835
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
26836
|
-
status_reason?: string;
|
|
26696
|
+
contract_case_id: string;
|
|
26697
|
+
comment: string;
|
|
26837
26698
|
/** Format: date-time */
|
|
26838
|
-
|
|
26839
|
-
/** Format: uuid */
|
|
26840
|
-
status_changed_by?: string;
|
|
26841
|
-
} & {
|
|
26842
|
-
assigned_to?: string | null;
|
|
26699
|
+
created_at: string;
|
|
26843
26700
|
/** Format: uuid */
|
|
26844
|
-
|
|
26845
|
-
|
|
26846
|
-
|
|
26847
|
-
|
|
26848
|
-
|
|
26849
|
-
completed_at?: string | null;
|
|
26850
|
-
due_date?: string | null;
|
|
26851
|
-
estimated_completion_date?: string | null;
|
|
26852
|
-
} & {
|
|
26853
|
-
reviewed_by?: string | null;
|
|
26854
|
-
reviewed_at?: string | null;
|
|
26855
|
-
review_notes?: string;
|
|
26856
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
26857
|
-
} & {
|
|
26858
|
-
metadata?: {
|
|
26859
|
-
[key: string]: unknown;
|
|
26701
|
+
created_by: string;
|
|
26702
|
+
created_by_user?: {
|
|
26703
|
+
/** Format: uuid */
|
|
26704
|
+
id: string;
|
|
26705
|
+
display_name: string;
|
|
26860
26706
|
};
|
|
26861
|
-
tags?: string[];
|
|
26862
|
-
} & {
|
|
26863
|
-
/** Format: date-time */
|
|
26864
|
-
created_at: string;
|
|
26865
26707
|
/** Format: date-time */
|
|
26866
26708
|
updated_at: string;
|
|
26867
|
-
|
|
26868
|
-
|
|
26869
|
-
|
|
26870
|
-
requirements_completed?: number;
|
|
26871
|
-
requirements_pending?: number;
|
|
26872
|
-
}) & {
|
|
26873
|
-
contract?: {
|
|
26709
|
+
/** Format: uuid */
|
|
26710
|
+
updated_by: string;
|
|
26711
|
+
updated_by_user?: {
|
|
26874
26712
|
/** Format: uuid */
|
|
26875
26713
|
id: string;
|
|
26876
|
-
|
|
26877
|
-
status: string;
|
|
26878
|
-
employer_name?: string;
|
|
26879
|
-
assistant_name?: string;
|
|
26714
|
+
display_name: string;
|
|
26880
26715
|
};
|
|
26881
|
-
requirements?: ({
|
|
26882
|
-
/** Format: uuid */
|
|
26883
|
-
id: string;
|
|
26884
|
-
} & {
|
|
26885
|
-
/** Format: uuid */
|
|
26886
|
-
case_id: string;
|
|
26887
|
-
name: string;
|
|
26888
|
-
description?: string;
|
|
26889
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
26890
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
26891
|
-
} & {
|
|
26892
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
26893
|
-
submitted_at?: string | null;
|
|
26894
|
-
approved_at?: string | null;
|
|
26895
|
-
rejected_at?: string | null;
|
|
26896
|
-
rejection_reason?: string;
|
|
26897
|
-
} & {
|
|
26898
|
-
valid_from?: string | null;
|
|
26899
|
-
valid_until?: string | null;
|
|
26900
|
-
is_expired?: boolean;
|
|
26901
|
-
} & {
|
|
26902
|
-
/** Format: date-time */
|
|
26903
|
-
created_at: string;
|
|
26904
|
-
/** Format: date-time */
|
|
26905
|
-
updated_at: string;
|
|
26906
|
-
})[];
|
|
26907
|
-
notes_count?: number;
|
|
26908
|
-
documents_count?: number;
|
|
26909
26716
|
};
|
|
26910
26717
|
};
|
|
26911
26718
|
};
|
|
@@ -27018,7 +26825,7 @@ export interface paths {
|
|
|
27018
26825
|
patch?: never;
|
|
27019
26826
|
trace?: never;
|
|
27020
26827
|
};
|
|
27021
|
-
'/api/contract-cases/{id}/
|
|
26828
|
+
'/api/contract-cases/{id}/activity-log/{logId}': {
|
|
27022
26829
|
parameters: {
|
|
27023
26830
|
query?: never;
|
|
27024
26831
|
header?: never;
|
|
@@ -27026,31 +26833,32 @@ export interface paths {
|
|
|
27026
26833
|
cookie?: never;
|
|
27027
26834
|
};
|
|
27028
26835
|
get?: never;
|
|
27029
|
-
put?: never;
|
|
27030
26836
|
/**
|
|
27031
|
-
*
|
|
27032
|
-
* @description
|
|
26837
|
+
* Update activity log entry
|
|
26838
|
+
* @description Update an activity log entry. Only creator or assigned case manager can update.
|
|
27033
26839
|
*/
|
|
27034
|
-
|
|
26840
|
+
put: {
|
|
27035
26841
|
parameters: {
|
|
27036
26842
|
query?: never;
|
|
27037
26843
|
header?: never;
|
|
27038
26844
|
path: {
|
|
26845
|
+
/** @description Contract case ID */
|
|
27039
26846
|
id: string;
|
|
26847
|
+
/** @description Activity log entry ID */
|
|
26848
|
+
logId: string;
|
|
27040
26849
|
};
|
|
27041
26850
|
cookie?: never;
|
|
27042
26851
|
};
|
|
27043
|
-
/** @description Request body for
|
|
26852
|
+
/** @description Request body for updating an activity log entry */
|
|
27044
26853
|
requestBody: {
|
|
27045
26854
|
content: {
|
|
27046
26855
|
'application/json': {
|
|
27047
|
-
|
|
27048
|
-
notes?: string;
|
|
26856
|
+
comment: string;
|
|
27049
26857
|
};
|
|
27050
26858
|
};
|
|
27051
26859
|
};
|
|
27052
26860
|
responses: {
|
|
27053
|
-
/** @description
|
|
26861
|
+
/** @description Response containing a single activity log entry */
|
|
27054
26862
|
200: {
|
|
27055
26863
|
headers: {
|
|
27056
26864
|
[name: string]: unknown;
|
|
@@ -27058,98 +26866,33 @@ export interface paths {
|
|
|
27058
26866
|
content: {
|
|
27059
26867
|
'application/json': {
|
|
27060
26868
|
/**
|
|
27061
|
-
*
|
|
27062
|
-
* @description Contract case with
|
|
26869
|
+
* Activity Log Entry
|
|
26870
|
+
* @description Contract case activity log entry with user information
|
|
27063
26871
|
*/
|
|
27064
|
-
data:
|
|
26872
|
+
data: {
|
|
27065
26873
|
/** Format: uuid */
|
|
27066
26874
|
id: string;
|
|
27067
|
-
} & {
|
|
27068
26875
|
/** Format: uuid */
|
|
27069
|
-
|
|
27070
|
-
|
|
27071
|
-
contract_type?: string;
|
|
27072
|
-
} & {
|
|
27073
|
-
case_number: string;
|
|
27074
|
-
title: string;
|
|
27075
|
-
description?: string;
|
|
27076
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
27077
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
27078
|
-
} & {
|
|
27079
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
27080
|
-
status_reason?: string;
|
|
26876
|
+
contract_case_id: string;
|
|
26877
|
+
comment: string;
|
|
27081
26878
|
/** Format: date-time */
|
|
27082
|
-
|
|
27083
|
-
/** Format: uuid */
|
|
27084
|
-
status_changed_by?: string;
|
|
27085
|
-
} & {
|
|
27086
|
-
assigned_to?: string | null;
|
|
26879
|
+
created_at: string;
|
|
27087
26880
|
/** Format: uuid */
|
|
27088
|
-
|
|
27089
|
-
|
|
27090
|
-
|
|
27091
|
-
|
|
27092
|
-
|
|
27093
|
-
completed_at?: string | null;
|
|
27094
|
-
due_date?: string | null;
|
|
27095
|
-
estimated_completion_date?: string | null;
|
|
27096
|
-
} & {
|
|
27097
|
-
reviewed_by?: string | null;
|
|
27098
|
-
reviewed_at?: string | null;
|
|
27099
|
-
review_notes?: string;
|
|
27100
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
27101
|
-
} & {
|
|
27102
|
-
metadata?: {
|
|
27103
|
-
[key: string]: unknown;
|
|
26881
|
+
created_by: string;
|
|
26882
|
+
created_by_user?: {
|
|
26883
|
+
/** Format: uuid */
|
|
26884
|
+
id: string;
|
|
26885
|
+
display_name: string;
|
|
27104
26886
|
};
|
|
27105
|
-
tags?: string[];
|
|
27106
|
-
} & {
|
|
27107
|
-
/** Format: date-time */
|
|
27108
|
-
created_at: string;
|
|
27109
26887
|
/** Format: date-time */
|
|
27110
26888
|
updated_at: string;
|
|
27111
|
-
|
|
27112
|
-
|
|
27113
|
-
|
|
27114
|
-
requirements_completed?: number;
|
|
27115
|
-
requirements_pending?: number;
|
|
27116
|
-
}) & {
|
|
27117
|
-
contract?: {
|
|
26889
|
+
/** Format: uuid */
|
|
26890
|
+
updated_by: string;
|
|
26891
|
+
updated_by_user?: {
|
|
27118
26892
|
/** Format: uuid */
|
|
27119
26893
|
id: string;
|
|
27120
|
-
|
|
27121
|
-
status: string;
|
|
27122
|
-
employer_name?: string;
|
|
27123
|
-
assistant_name?: string;
|
|
26894
|
+
display_name: string;
|
|
27124
26895
|
};
|
|
27125
|
-
requirements?: ({
|
|
27126
|
-
/** Format: uuid */
|
|
27127
|
-
id: string;
|
|
27128
|
-
} & {
|
|
27129
|
-
/** Format: uuid */
|
|
27130
|
-
case_id: string;
|
|
27131
|
-
name: string;
|
|
27132
|
-
description?: string;
|
|
27133
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
27134
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
27135
|
-
} & {
|
|
27136
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
27137
|
-
submitted_at?: string | null;
|
|
27138
|
-
approved_at?: string | null;
|
|
27139
|
-
rejected_at?: string | null;
|
|
27140
|
-
rejection_reason?: string;
|
|
27141
|
-
} & {
|
|
27142
|
-
valid_from?: string | null;
|
|
27143
|
-
valid_until?: string | null;
|
|
27144
|
-
is_expired?: boolean;
|
|
27145
|
-
} & {
|
|
27146
|
-
/** Format: date-time */
|
|
27147
|
-
created_at: string;
|
|
27148
|
-
/** Format: date-time */
|
|
27149
|
-
updated_at: string;
|
|
27150
|
-
})[];
|
|
27151
|
-
notes_count?: number;
|
|
27152
|
-
documents_count?: number;
|
|
27153
26896
|
};
|
|
27154
26897
|
};
|
|
27155
26898
|
};
|
|
@@ -27256,139 +26999,31 @@ export interface paths {
|
|
|
27256
26999
|
};
|
|
27257
27000
|
};
|
|
27258
27001
|
};
|
|
27259
|
-
|
|
27260
|
-
options?: never;
|
|
27261
|
-
head?: never;
|
|
27262
|
-
patch?: never;
|
|
27263
|
-
trace?: never;
|
|
27264
|
-
};
|
|
27265
|
-
'/api/contract-cases/{id}/archive': {
|
|
27266
|
-
parameters: {
|
|
27267
|
-
query?: never;
|
|
27268
|
-
header?: never;
|
|
27269
|
-
path?: never;
|
|
27270
|
-
cookie?: never;
|
|
27271
|
-
};
|
|
27272
|
-
get?: never;
|
|
27273
|
-
put?: never;
|
|
27002
|
+
post?: never;
|
|
27274
27003
|
/**
|
|
27275
|
-
*
|
|
27276
|
-
* @description
|
|
27004
|
+
* Delete activity log entry
|
|
27005
|
+
* @description Delete an activity log entry (hard delete). Only creator or assigned case manager can delete.
|
|
27277
27006
|
*/
|
|
27278
|
-
|
|
27007
|
+
delete: {
|
|
27279
27008
|
parameters: {
|
|
27280
27009
|
query?: never;
|
|
27281
27010
|
header?: never;
|
|
27282
27011
|
path: {
|
|
27012
|
+
/** @description Contract case ID */
|
|
27283
27013
|
id: string;
|
|
27014
|
+
/** @description Activity log entry ID */
|
|
27015
|
+
logId: string;
|
|
27284
27016
|
};
|
|
27285
27017
|
cookie?: never;
|
|
27286
27018
|
};
|
|
27287
27019
|
requestBody?: never;
|
|
27288
27020
|
responses: {
|
|
27289
|
-
/** @description
|
|
27290
|
-
|
|
27021
|
+
/** @description Default Response */
|
|
27022
|
+
204: {
|
|
27291
27023
|
headers: {
|
|
27292
27024
|
[name: string]: unknown;
|
|
27293
27025
|
};
|
|
27294
|
-
content
|
|
27295
|
-
'application/json': {
|
|
27296
|
-
/**
|
|
27297
|
-
* Contract Case with Relations
|
|
27298
|
-
* @description Contract case with related entities
|
|
27299
|
-
*/
|
|
27300
|
-
data: ({
|
|
27301
|
-
/** Format: uuid */
|
|
27302
|
-
id: string;
|
|
27303
|
-
} & {
|
|
27304
|
-
/** Format: uuid */
|
|
27305
|
-
contract_id: string;
|
|
27306
|
-
contract_title?: string;
|
|
27307
|
-
contract_type?: string;
|
|
27308
|
-
} & {
|
|
27309
|
-
case_number: string;
|
|
27310
|
-
title: string;
|
|
27311
|
-
description?: string;
|
|
27312
|
-
case_type?: 'standard' | 'expedited' | 'emergency' | 'review';
|
|
27313
|
-
priority?: 'low' | 'medium' | 'high' | 'urgent';
|
|
27314
|
-
} & {
|
|
27315
|
-
status: 'not_started' | 'in_progress' | 'waiting_for_info' | 'approved' | 'rejected' | 'cancelled';
|
|
27316
|
-
status_reason?: string;
|
|
27317
|
-
/** Format: date-time */
|
|
27318
|
-
status_changed_at?: string;
|
|
27319
|
-
/** Format: uuid */
|
|
27320
|
-
status_changed_by?: string;
|
|
27321
|
-
} & {
|
|
27322
|
-
assigned_to?: string | null;
|
|
27323
|
-
/** Format: uuid */
|
|
27324
|
-
assigned_by?: string;
|
|
27325
|
-
assigned_at?: string | null;
|
|
27326
|
-
assigned_to_name?: string;
|
|
27327
|
-
} & {
|
|
27328
|
-
started_at?: string | null;
|
|
27329
|
-
completed_at?: string | null;
|
|
27330
|
-
due_date?: string | null;
|
|
27331
|
-
estimated_completion_date?: string | null;
|
|
27332
|
-
} & {
|
|
27333
|
-
reviewed_by?: string | null;
|
|
27334
|
-
reviewed_at?: string | null;
|
|
27335
|
-
review_notes?: string;
|
|
27336
|
-
review_decision?: 'approve' | 'reject' | 'request_changes' | 'escalate';
|
|
27337
|
-
} & {
|
|
27338
|
-
metadata?: {
|
|
27339
|
-
[key: string]: unknown;
|
|
27340
|
-
};
|
|
27341
|
-
tags?: string[];
|
|
27342
|
-
} & {
|
|
27343
|
-
/** Format: date-time */
|
|
27344
|
-
created_at: string;
|
|
27345
|
-
/** Format: date-time */
|
|
27346
|
-
updated_at: string;
|
|
27347
|
-
} & {
|
|
27348
|
-
progress_percentage?: number;
|
|
27349
|
-
requirements_total?: number;
|
|
27350
|
-
requirements_completed?: number;
|
|
27351
|
-
requirements_pending?: number;
|
|
27352
|
-
}) & {
|
|
27353
|
-
contract?: {
|
|
27354
|
-
/** Format: uuid */
|
|
27355
|
-
id: string;
|
|
27356
|
-
title: string;
|
|
27357
|
-
status: string;
|
|
27358
|
-
employer_name?: string;
|
|
27359
|
-
assistant_name?: string;
|
|
27360
|
-
};
|
|
27361
|
-
requirements?: ({
|
|
27362
|
-
/** Format: uuid */
|
|
27363
|
-
id: string;
|
|
27364
|
-
} & {
|
|
27365
|
-
/** Format: uuid */
|
|
27366
|
-
case_id: string;
|
|
27367
|
-
name: string;
|
|
27368
|
-
description?: string;
|
|
27369
|
-
requirement_type: 'document' | 'background_check' | 'training' | 'certification' | 'approval' | 'signature';
|
|
27370
|
-
priority: 'optional' | 'recommended' | 'required' | 'critical';
|
|
27371
|
-
} & {
|
|
27372
|
-
status: 'pending' | 'submitted' | 'under_review' | 'approved' | 'rejected' | 'expired';
|
|
27373
|
-
submitted_at?: string | null;
|
|
27374
|
-
approved_at?: string | null;
|
|
27375
|
-
rejected_at?: string | null;
|
|
27376
|
-
rejection_reason?: string;
|
|
27377
|
-
} & {
|
|
27378
|
-
valid_from?: string | null;
|
|
27379
|
-
valid_until?: string | null;
|
|
27380
|
-
is_expired?: boolean;
|
|
27381
|
-
} & {
|
|
27382
|
-
/** Format: date-time */
|
|
27383
|
-
created_at: string;
|
|
27384
|
-
/** Format: date-time */
|
|
27385
|
-
updated_at: string;
|
|
27386
|
-
})[];
|
|
27387
|
-
notes_count?: number;
|
|
27388
|
-
documents_count?: number;
|
|
27389
|
-
};
|
|
27390
|
-
};
|
|
27391
|
-
};
|
|
27026
|
+
content?: never;
|
|
27392
27027
|
};
|
|
27393
27028
|
/** @description Default Response */
|
|
27394
27029
|
400: {
|
|
@@ -27492,7 +27127,6 @@ export interface paths {
|
|
|
27492
27127
|
};
|
|
27493
27128
|
};
|
|
27494
27129
|
};
|
|
27495
|
-
delete?: never;
|
|
27496
27130
|
options?: never;
|
|
27497
27131
|
head?: never;
|
|
27498
27132
|
patch?: never;
|