@routeflow/types 1.0.17 → 1.0.19
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/exports.d.ts +4 -2
- package/dist/exports.d.ts.map +1 -1
- package/dist/index.d.ts +697 -236
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/exports.ts +6 -2
- package/src/index.ts +697 -236
package/src/index.ts
CHANGED
|
@@ -2957,7 +2957,10 @@ export type webhooks = Record<string, never>;
|
|
|
2957
2957
|
export interface components {
|
|
2958
2958
|
schemas: {
|
|
2959
2959
|
RegisterDto: {
|
|
2960
|
-
/**
|
|
2960
|
+
/**
|
|
2961
|
+
* Format: email
|
|
2962
|
+
* @example user@example.com
|
|
2963
|
+
*/
|
|
2961
2964
|
email: string;
|
|
2962
2965
|
/** @example password123 */
|
|
2963
2966
|
password: string;
|
|
@@ -3006,6 +3009,56 @@ export interface components {
|
|
|
3006
3009
|
/** Format: date-time */
|
|
3007
3010
|
updatedAt: string;
|
|
3008
3011
|
};
|
|
3012
|
+
TruckResponseDto: {
|
|
3013
|
+
id: string;
|
|
3014
|
+
truckNumber: string;
|
|
3015
|
+
year?: number;
|
|
3016
|
+
make?: string;
|
|
3017
|
+
model?: string;
|
|
3018
|
+
vin?: string;
|
|
3019
|
+
licensePlate?: string;
|
|
3020
|
+
/** @enum {string} */
|
|
3021
|
+
status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
3022
|
+
mileage?: number;
|
|
3023
|
+
/** @enum {string} */
|
|
3024
|
+
fuelType?: "DIESEL" | "GASOLINE" | "ELECTRIC" | "HYBRID";
|
|
3025
|
+
/** Format: date-time */
|
|
3026
|
+
insuranceExpiry?: string;
|
|
3027
|
+
/** Format: date-time */
|
|
3028
|
+
lastServiceDate?: string;
|
|
3029
|
+
notes?: string;
|
|
3030
|
+
orgId: string;
|
|
3031
|
+
assignedDriverId?: string;
|
|
3032
|
+
assignedDriver?: components["schemas"]["UserResponseDto"];
|
|
3033
|
+
/** Format: date-time */
|
|
3034
|
+
createdAt: string;
|
|
3035
|
+
/** Format: date-time */
|
|
3036
|
+
updatedAt: string;
|
|
3037
|
+
};
|
|
3038
|
+
TrailerResponseDto: {
|
|
3039
|
+
id: string;
|
|
3040
|
+
trailerNumber: string;
|
|
3041
|
+
/** @enum {string} */
|
|
3042
|
+
type: "RGN" | "SD" | "FLATBED" | "REEFER" | "DRY_VAN" | "STEP_DECK" | "LOWBOY";
|
|
3043
|
+
length?: string;
|
|
3044
|
+
weightCapacity?: string;
|
|
3045
|
+
/** @enum {string} */
|
|
3046
|
+
status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
3047
|
+
vin?: string;
|
|
3048
|
+
licensePlate?: string;
|
|
3049
|
+
/** Format: date-time */
|
|
3050
|
+
registrationExpiry?: string;
|
|
3051
|
+
/** Format: date-time */
|
|
3052
|
+
lastInspectionDate?: string;
|
|
3053
|
+
notes?: string;
|
|
3054
|
+
orgId: string;
|
|
3055
|
+
assignedDriverId?: string;
|
|
3056
|
+
assignedDriver?: components["schemas"]["UserResponseDto"];
|
|
3057
|
+
/** Format: date-time */
|
|
3058
|
+
createdAt: string;
|
|
3059
|
+
/** Format: date-time */
|
|
3060
|
+
updatedAt: string;
|
|
3061
|
+
};
|
|
3009
3062
|
UserResponseDto: {
|
|
3010
3063
|
id: string;
|
|
3011
3064
|
email?: string;
|
|
@@ -3018,6 +3071,8 @@ export interface components {
|
|
|
3018
3071
|
isActive: boolean;
|
|
3019
3072
|
orgId: string;
|
|
3020
3073
|
org?: components["schemas"]["OrganizationResponseDto"];
|
|
3074
|
+
assignedTruck?: components["schemas"]["TruckResponseDto"];
|
|
3075
|
+
assignedTrailer?: components["schemas"]["TrailerResponseDto"];
|
|
3021
3076
|
/** Format: date-time */
|
|
3022
3077
|
createdAt: string;
|
|
3023
3078
|
/** Format: date-time */
|
|
@@ -3029,13 +3084,17 @@ export interface components {
|
|
|
3029
3084
|
user: components["schemas"]["UserResponseDto"];
|
|
3030
3085
|
};
|
|
3031
3086
|
LoginDto: {
|
|
3032
|
-
/**
|
|
3087
|
+
/**
|
|
3088
|
+
* Format: email
|
|
3089
|
+
* @example user@example.com
|
|
3090
|
+
*/
|
|
3033
3091
|
email: string;
|
|
3034
3092
|
/** @example password123 */
|
|
3035
3093
|
password: string;
|
|
3036
3094
|
};
|
|
3037
3095
|
VerifyEmailDto: {
|
|
3038
3096
|
/**
|
|
3097
|
+
* Format: email
|
|
3039
3098
|
* @description Email address
|
|
3040
3099
|
* @example user@example.com
|
|
3041
3100
|
*/
|
|
@@ -3048,6 +3107,7 @@ export interface components {
|
|
|
3048
3107
|
};
|
|
3049
3108
|
ResendCodeDto: {
|
|
3050
3109
|
/**
|
|
3110
|
+
* Format: email
|
|
3051
3111
|
* @description Email address
|
|
3052
3112
|
* @example user@example.com
|
|
3053
3113
|
*/
|
|
@@ -3089,6 +3149,7 @@ export interface components {
|
|
|
3089
3149
|
};
|
|
3090
3150
|
ForgotPasswordDto: {
|
|
3091
3151
|
/**
|
|
3152
|
+
* Format: email
|
|
3092
3153
|
* @description Email address to send password reset link
|
|
3093
3154
|
* @example driver@example.com
|
|
3094
3155
|
*/
|
|
@@ -3107,7 +3168,10 @@ export interface components {
|
|
|
3107
3168
|
newPassword: string;
|
|
3108
3169
|
};
|
|
3109
3170
|
CreateUserDto: {
|
|
3110
|
-
/**
|
|
3171
|
+
/**
|
|
3172
|
+
* Format: email
|
|
3173
|
+
* @example user@example.com
|
|
3174
|
+
*/
|
|
3111
3175
|
email?: string;
|
|
3112
3176
|
/** @example password123 */
|
|
3113
3177
|
password?: string;
|
|
@@ -3130,7 +3194,10 @@ export interface components {
|
|
|
3130
3194
|
UpdateUserDto: {
|
|
3131
3195
|
/** @example John Doe */
|
|
3132
3196
|
name?: string;
|
|
3133
|
-
/**
|
|
3197
|
+
/**
|
|
3198
|
+
* Format: email
|
|
3199
|
+
* @example user@example.com
|
|
3200
|
+
*/
|
|
3134
3201
|
email?: string;
|
|
3135
3202
|
/** @example +1234567890 */
|
|
3136
3203
|
phone?: string;
|
|
@@ -3171,7 +3238,10 @@ export interface components {
|
|
|
3171
3238
|
settings?: Record<string, never>;
|
|
3172
3239
|
};
|
|
3173
3240
|
InviteUserDto: {
|
|
3174
|
-
/**
|
|
3241
|
+
/**
|
|
3242
|
+
* Format: email
|
|
3243
|
+
* @example user@example.com
|
|
3244
|
+
*/
|
|
3175
3245
|
email?: string;
|
|
3176
3246
|
/**
|
|
3177
3247
|
* @example DRIVER
|
|
@@ -3200,7 +3270,10 @@ export interface components {
|
|
|
3200
3270
|
zipCode?: string;
|
|
3201
3271
|
/** @example 555-123-4567 */
|
|
3202
3272
|
phone?: string;
|
|
3203
|
-
/**
|
|
3273
|
+
/**
|
|
3274
|
+
* Format: email
|
|
3275
|
+
* @example dispatch@acmetrucking.com
|
|
3276
|
+
*/
|
|
3204
3277
|
email?: string;
|
|
3205
3278
|
/** @example 10 */
|
|
3206
3279
|
fleetSize?: number;
|
|
@@ -3222,7 +3295,10 @@ export interface components {
|
|
|
3222
3295
|
ExpressFactoringInterestDto: {
|
|
3223
3296
|
/** @example OTR_CAPITAL */
|
|
3224
3297
|
partner: string;
|
|
3225
|
-
/**
|
|
3298
|
+
/**
|
|
3299
|
+
* Format: email
|
|
3300
|
+
* @example dispatch@acmetrucking.com
|
|
3301
|
+
*/
|
|
3226
3302
|
contactEmail?: string;
|
|
3227
3303
|
/** @example 555-123-4567 */
|
|
3228
3304
|
contactPhone?: string;
|
|
@@ -3408,6 +3484,10 @@ export interface components {
|
|
|
3408
3484
|
stopsTotal: number;
|
|
3409
3485
|
stopsCompleted: number;
|
|
3410
3486
|
};
|
|
3487
|
+
RunSummaryListResponseDto: {
|
|
3488
|
+
items: components["schemas"]["RunSummaryResponseDto"][];
|
|
3489
|
+
total: number;
|
|
3490
|
+
};
|
|
3411
3491
|
UpdateRunDto: {
|
|
3412
3492
|
/** @example Morning Route - Updated */
|
|
3413
3493
|
name?: string;
|
|
@@ -3482,11 +3562,11 @@ export interface components {
|
|
|
3482
3562
|
/** @example -74.006 */
|
|
3483
3563
|
lng: number;
|
|
3484
3564
|
/** @example John Smith */
|
|
3485
|
-
contactName?:
|
|
3565
|
+
contactName?: string;
|
|
3486
3566
|
/** @example +1 (555) 123-4567 */
|
|
3487
|
-
contactPhone?:
|
|
3567
|
+
contactPhone?: string;
|
|
3488
3568
|
/** @example Ring doorbell twice */
|
|
3489
|
-
notes?:
|
|
3569
|
+
notes?: string;
|
|
3490
3570
|
/** @example 2025-12-09T08:00:00Z */
|
|
3491
3571
|
timeWindowStart?: string;
|
|
3492
3572
|
/** @example 2025-12-09T12:00:00Z */
|
|
@@ -3529,11 +3609,11 @@ export interface components {
|
|
|
3529
3609
|
/** @example -74.006 */
|
|
3530
3610
|
lng?: number;
|
|
3531
3611
|
/** @example John Smith */
|
|
3532
|
-
contactName?:
|
|
3612
|
+
contactName?: string;
|
|
3533
3613
|
/** @example +1 (555) 123-4567 */
|
|
3534
|
-
contactPhone?:
|
|
3614
|
+
contactPhone?: string;
|
|
3535
3615
|
/** @example Ring doorbell twice */
|
|
3536
|
-
notes?:
|
|
3616
|
+
notes?: string;
|
|
3537
3617
|
/** @example 2025-12-09T08:00:00Z */
|
|
3538
3618
|
timeWindowStart?: string;
|
|
3539
3619
|
/** @example 2025-12-09T12:00:00Z */
|
|
@@ -3603,6 +3683,10 @@ export interface components {
|
|
|
3603
3683
|
/** Format: date-time */
|
|
3604
3684
|
updatedAt: string;
|
|
3605
3685
|
};
|
|
3686
|
+
RunChargeListResponseDto: {
|
|
3687
|
+
items: components["schemas"]["RunChargeResponseDto"][];
|
|
3688
|
+
total: number;
|
|
3689
|
+
};
|
|
3606
3690
|
CreateRunChargeDto: {
|
|
3607
3691
|
/**
|
|
3608
3692
|
* @description Type of charge
|
|
@@ -3639,13 +3723,17 @@ export interface components {
|
|
|
3639
3723
|
*/
|
|
3640
3724
|
amount?: number;
|
|
3641
3725
|
};
|
|
3726
|
+
UploadUrlResponseDto: {
|
|
3727
|
+
url: string;
|
|
3728
|
+
fileKey: string;
|
|
3729
|
+
};
|
|
3642
3730
|
UnifiedUploadDto: {
|
|
3643
|
-
/** @description Base64 encoded file */
|
|
3731
|
+
/** @description Base64 encoded file (max 20MB) */
|
|
3644
3732
|
fileBase64: string;
|
|
3645
3733
|
/** @description Original file name */
|
|
3646
3734
|
fileName: string;
|
|
3647
3735
|
/**
|
|
3648
|
-
* @description MIME type of the file
|
|
3736
|
+
* @description MIME type of the file (allowed: application/pdf, image/jpeg, image/png, image/gif, image/webp, image/tiff)
|
|
3649
3737
|
* @default application/pdf
|
|
3650
3738
|
*/
|
|
3651
3739
|
mimeType: string;
|
|
@@ -3667,39 +3755,39 @@ export interface components {
|
|
|
3667
3755
|
};
|
|
3668
3756
|
ExtractedAssetFieldDto: {
|
|
3669
3757
|
/** @description Driver name */
|
|
3670
|
-
name?:
|
|
3758
|
+
name?: string | null;
|
|
3671
3759
|
/** @description Phone number */
|
|
3672
|
-
phone?:
|
|
3760
|
+
phone?: string | null;
|
|
3673
3761
|
/** @description Email address */
|
|
3674
|
-
email?:
|
|
3762
|
+
email?: string | null;
|
|
3675
3763
|
/** @description License number */
|
|
3676
|
-
licenseNumber?:
|
|
3764
|
+
licenseNumber?: string | null;
|
|
3677
3765
|
/** @description License expiry date */
|
|
3678
|
-
licenseExpiry?:
|
|
3766
|
+
licenseExpiry?: string | null;
|
|
3679
3767
|
/** @description License state */
|
|
3680
|
-
licenseState?:
|
|
3768
|
+
licenseState?: string | null;
|
|
3681
3769
|
/** @description Truck number/ID */
|
|
3682
|
-
truckNumber?:
|
|
3770
|
+
truckNumber?: string | null;
|
|
3683
3771
|
/** @description Vehicle Identification Number */
|
|
3684
|
-
vin?:
|
|
3772
|
+
vin?: string | null;
|
|
3685
3773
|
/** @description Vehicle make */
|
|
3686
|
-
make?:
|
|
3774
|
+
make?: string | null;
|
|
3687
3775
|
/** @description Vehicle model */
|
|
3688
|
-
model?:
|
|
3776
|
+
model?: string | null;
|
|
3689
3777
|
/** @description Vehicle year */
|
|
3690
|
-
year?:
|
|
3778
|
+
year?: number | null;
|
|
3691
3779
|
/** @description License plate number */
|
|
3692
|
-
licensePlate?:
|
|
3780
|
+
licensePlate?: string | null;
|
|
3693
3781
|
/** @description Plate state */
|
|
3694
|
-
plateState?:
|
|
3782
|
+
plateState?: string | null;
|
|
3695
3783
|
/** @description Trailer number/ID */
|
|
3696
|
-
trailerNumber?:
|
|
3784
|
+
trailerNumber?: string | null;
|
|
3697
3785
|
/** @description Trailer type */
|
|
3698
|
-
trailerType?:
|
|
3786
|
+
trailerType?: string | null;
|
|
3699
3787
|
/** @description Trailer length */
|
|
3700
|
-
length?:
|
|
3788
|
+
length?: number | null;
|
|
3701
3789
|
/** @description Weight capacity */
|
|
3702
|
-
weightCapacity?:
|
|
3790
|
+
weightCapacity?: number | null;
|
|
3703
3791
|
};
|
|
3704
3792
|
ExtractedAssetResponseDto: {
|
|
3705
3793
|
/** @description Unique identifier */
|
|
@@ -3723,17 +3811,17 @@ export interface components {
|
|
|
3723
3811
|
/** @description Type of source document */
|
|
3724
3812
|
sourceDocumentType: string;
|
|
3725
3813
|
/** @description Original file name */
|
|
3726
|
-
fileName?:
|
|
3814
|
+
fileName?: string | null;
|
|
3727
3815
|
/** @description ID of potential duplicate asset */
|
|
3728
|
-
potentialDuplicateId?:
|
|
3816
|
+
potentialDuplicateId?: string | null;
|
|
3729
3817
|
/** @description Type of potential duplicate */
|
|
3730
|
-
potentialDuplicateType?:
|
|
3818
|
+
potentialDuplicateType?: string | null;
|
|
3731
3819
|
/** @description ID of reviewer */
|
|
3732
|
-
reviewedById?:
|
|
3820
|
+
reviewedById?: string | null;
|
|
3733
3821
|
/** @description Review timestamp */
|
|
3734
|
-
reviewedAt?:
|
|
3822
|
+
reviewedAt?: string | null;
|
|
3735
3823
|
/** @description Review notes */
|
|
3736
|
-
reviewNotes?:
|
|
3824
|
+
reviewNotes?: string | null;
|
|
3737
3825
|
/** @description Creation timestamp */
|
|
3738
3826
|
createdAt: string;
|
|
3739
3827
|
/** @description Last update timestamp */
|
|
@@ -3791,6 +3879,13 @@ export interface components {
|
|
|
3791
3879
|
/** @example stop-id */
|
|
3792
3880
|
stopId?: string;
|
|
3793
3881
|
};
|
|
3882
|
+
DocumentListResponseDto: {
|
|
3883
|
+
items: components["schemas"]["DocumentResponseDto"][];
|
|
3884
|
+
total: number;
|
|
3885
|
+
page: number;
|
|
3886
|
+
limit: number;
|
|
3887
|
+
totalPages: number;
|
|
3888
|
+
};
|
|
3794
3889
|
ExtractAssetsDto: {
|
|
3795
3890
|
/** @description Base64 encoded file */
|
|
3796
3891
|
fileBase64: string;
|
|
@@ -3890,6 +3985,13 @@ export interface components {
|
|
|
3890
3985
|
/** Format: date-time */
|
|
3891
3986
|
updatedAt: string;
|
|
3892
3987
|
};
|
|
3988
|
+
ParsedDocumentListResponseDto: {
|
|
3989
|
+
items: components["schemas"]["ParsedDocumentResponseDto"][];
|
|
3990
|
+
total: number;
|
|
3991
|
+
page: number;
|
|
3992
|
+
limit: number;
|
|
3993
|
+
totalPages: number;
|
|
3994
|
+
};
|
|
3893
3995
|
ParseRateConDto: {
|
|
3894
3996
|
/** @description Base64 encoded PDF file */
|
|
3895
3997
|
fileBase64: string;
|
|
@@ -3950,7 +4052,8 @@ export interface components {
|
|
|
3950
4052
|
suggestedDrivers?: components["schemas"]["SuggestedDriverDto"][];
|
|
3951
4053
|
/** @description Assigned driver ID if auto-assign was enabled */
|
|
3952
4054
|
assignedDriverId?: string;
|
|
3953
|
-
|
|
4055
|
+
/** @description Parsed document data - either BOL or Rate Confirmation, null if parsing failed */
|
|
4056
|
+
parsedData: Record<string, never> | null;
|
|
3954
4057
|
warnings?: string[];
|
|
3955
4058
|
errors?: string[];
|
|
3956
4059
|
processingTimeMs: number;
|
|
@@ -3996,6 +4099,13 @@ export interface components {
|
|
|
3996
4099
|
/** @example 2025-12-31T00:00:00Z */
|
|
3997
4100
|
expiryDate?: string;
|
|
3998
4101
|
};
|
|
4102
|
+
CompanyDocumentListResponseDto: {
|
|
4103
|
+
items: components["schemas"]["CompanyDocumentResponseDto"][];
|
|
4104
|
+
total: number;
|
|
4105
|
+
page: number;
|
|
4106
|
+
limit: number;
|
|
4107
|
+
totalPages: number;
|
|
4108
|
+
};
|
|
3999
4109
|
UpdateManualHosDto: {
|
|
4000
4110
|
/**
|
|
4001
4111
|
* @description Available driving minutes (typically 0-660 for 11 hours)
|
|
@@ -4026,7 +4136,10 @@ export interface components {
|
|
|
4026
4136
|
runId: string;
|
|
4027
4137
|
/** @example stop-id */
|
|
4028
4138
|
stopId?: string;
|
|
4029
|
-
/**
|
|
4139
|
+
/**
|
|
4140
|
+
* Format: email
|
|
4141
|
+
* @example customer@example.com
|
|
4142
|
+
*/
|
|
4030
4143
|
customerEmail?: string;
|
|
4031
4144
|
/** @example +1234567890 */
|
|
4032
4145
|
customerPhone?: string;
|
|
@@ -4056,7 +4169,12 @@ export interface components {
|
|
|
4056
4169
|
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED" | "TONU";
|
|
4057
4170
|
/** Format: date-time */
|
|
4058
4171
|
estimatedArrival?: string;
|
|
4059
|
-
currentStop?:
|
|
4172
|
+
currentStop?: {
|
|
4173
|
+
id: string;
|
|
4174
|
+
address: string;
|
|
4175
|
+
/** @enum {string} */
|
|
4176
|
+
status: "PENDING" | "EN_ROUTE" | "ARRIVED" | "LOADING" | "LOADED" | "DELIVERING" | "DELIVERED" | "EXCEPTION" | "SKIPPED";
|
|
4177
|
+
};
|
|
4060
4178
|
stopsTotal: number;
|
|
4061
4179
|
stopsCompleted: number;
|
|
4062
4180
|
};
|
|
@@ -4066,6 +4184,10 @@ export interface components {
|
|
|
4066
4184
|
/** Format: date-time */
|
|
4067
4185
|
updatedAt: string;
|
|
4068
4186
|
};
|
|
4187
|
+
MagicLinkListResponseDto: {
|
|
4188
|
+
items: components["schemas"]["MagicLinkResponseDto"][];
|
|
4189
|
+
total: number;
|
|
4190
|
+
};
|
|
4069
4191
|
CreateTruckDto: {
|
|
4070
4192
|
/** @example TRK-001 */
|
|
4071
4193
|
truckNumber: string;
|
|
@@ -4098,32 +4220,6 @@ export interface components {
|
|
|
4098
4220
|
/** @example New tires installed */
|
|
4099
4221
|
notes?: string;
|
|
4100
4222
|
};
|
|
4101
|
-
TruckResponseDto: {
|
|
4102
|
-
id: string;
|
|
4103
|
-
truckNumber: string;
|
|
4104
|
-
year?: number;
|
|
4105
|
-
make?: string;
|
|
4106
|
-
model?: string;
|
|
4107
|
-
vin?: string;
|
|
4108
|
-
licensePlate?: string;
|
|
4109
|
-
/** @enum {string} */
|
|
4110
|
-
status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
4111
|
-
mileage?: number;
|
|
4112
|
-
/** @enum {string} */
|
|
4113
|
-
fuelType?: "DIESEL" | "GASOLINE" | "ELECTRIC" | "HYBRID";
|
|
4114
|
-
/** Format: date-time */
|
|
4115
|
-
insuranceExpiry?: string;
|
|
4116
|
-
/** Format: date-time */
|
|
4117
|
-
lastServiceDate?: string;
|
|
4118
|
-
notes?: string;
|
|
4119
|
-
orgId: string;
|
|
4120
|
-
assignedDriverId?: string;
|
|
4121
|
-
assignedDriver?: components["schemas"]["UserResponseDto"];
|
|
4122
|
-
/** Format: date-time */
|
|
4123
|
-
createdAt: string;
|
|
4124
|
-
/** Format: date-time */
|
|
4125
|
-
updatedAt: string;
|
|
4126
|
-
};
|
|
4127
4223
|
TruckListResponseDto: {
|
|
4128
4224
|
items: components["schemas"]["TruckResponseDto"][];
|
|
4129
4225
|
total: number;
|
|
@@ -4195,30 +4291,6 @@ export interface components {
|
|
|
4195
4291
|
/** @example New brakes installed */
|
|
4196
4292
|
notes?: string;
|
|
4197
4293
|
};
|
|
4198
|
-
TrailerResponseDto: {
|
|
4199
|
-
id: string;
|
|
4200
|
-
trailerNumber: string;
|
|
4201
|
-
/** @enum {string} */
|
|
4202
|
-
type: "RGN" | "SD" | "FLATBED" | "REEFER" | "DRY_VAN" | "STEP_DECK" | "LOWBOY";
|
|
4203
|
-
length?: string;
|
|
4204
|
-
weightCapacity?: string;
|
|
4205
|
-
/** @enum {string} */
|
|
4206
|
-
status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
4207
|
-
vin?: string;
|
|
4208
|
-
licensePlate?: string;
|
|
4209
|
-
/** Format: date-time */
|
|
4210
|
-
registrationExpiry?: string;
|
|
4211
|
-
/** Format: date-time */
|
|
4212
|
-
lastInspectionDate?: string;
|
|
4213
|
-
notes?: string;
|
|
4214
|
-
orgId: string;
|
|
4215
|
-
assignedDriverId?: string;
|
|
4216
|
-
assignedDriver?: components["schemas"]["UserResponseDto"];
|
|
4217
|
-
/** Format: date-time */
|
|
4218
|
-
createdAt: string;
|
|
4219
|
-
/** Format: date-time */
|
|
4220
|
-
updatedAt: string;
|
|
4221
|
-
};
|
|
4222
4294
|
TrailerListResponseDto: {
|
|
4223
4295
|
items: components["schemas"]["TrailerResponseDto"][];
|
|
4224
4296
|
total: number;
|
|
@@ -4254,6 +4326,22 @@ export interface components {
|
|
|
4254
4326
|
/** @example New brakes installed */
|
|
4255
4327
|
notes?: string;
|
|
4256
4328
|
};
|
|
4329
|
+
AssignedRunSummaryResponseDto: {
|
|
4330
|
+
id: string;
|
|
4331
|
+
name: string;
|
|
4332
|
+
/** @enum {string} */
|
|
4333
|
+
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED" | "TONU";
|
|
4334
|
+
/** Format: date-time */
|
|
4335
|
+
plannedDate: string;
|
|
4336
|
+
totalDistance?: number;
|
|
4337
|
+
totalDuration?: number;
|
|
4338
|
+
totalPay?: number;
|
|
4339
|
+
stopsCount: number;
|
|
4340
|
+
};
|
|
4341
|
+
AssignedRunListResponseDto: {
|
|
4342
|
+
items: components["schemas"]["AssignedRunSummaryResponseDto"][];
|
|
4343
|
+
total: number;
|
|
4344
|
+
};
|
|
4257
4345
|
DriverResponseDto: {
|
|
4258
4346
|
id: string;
|
|
4259
4347
|
/** @enum {string} */
|
|
@@ -4317,7 +4405,16 @@ export interface components {
|
|
|
4317
4405
|
/** Format: date-time */
|
|
4318
4406
|
updatedAt: string;
|
|
4319
4407
|
};
|
|
4408
|
+
DriverListResponseDto: {
|
|
4409
|
+
items: components["schemas"]["DriverResponseDto"][];
|
|
4410
|
+
total: number;
|
|
4411
|
+
page: number;
|
|
4412
|
+
limit: number;
|
|
4413
|
+
totalPages: number;
|
|
4414
|
+
};
|
|
4320
4415
|
UpdateDriverDto: {
|
|
4416
|
+
/** @enum {string} */
|
|
4417
|
+
dispatchStatus?: "AVAILABLE" | "HOME" | "IN_TRANSIT" | "INACTIVE" | "SHOP" | "REST" | "DISPATCHED" | "ASSIGNED";
|
|
4321
4418
|
/** @example 123 Main St */
|
|
4322
4419
|
streetAddress?: string;
|
|
4323
4420
|
/** @example Los Angeles */
|
|
@@ -4400,6 +4497,10 @@ export interface components {
|
|
|
4400
4497
|
/** Format: date-time */
|
|
4401
4498
|
createdAt: string;
|
|
4402
4499
|
};
|
|
4500
|
+
DispatcherAssignmentHistoryListResponseDto: {
|
|
4501
|
+
items: components["schemas"]["DispatcherAssignmentHistoryResponseDto"][];
|
|
4502
|
+
total: number;
|
|
4503
|
+
};
|
|
4403
4504
|
LinkTeamDriverDto: {
|
|
4404
4505
|
/**
|
|
4405
4506
|
* @description ID of the co-driver to link as team partner
|
|
@@ -4423,6 +4524,10 @@ export interface components {
|
|
|
4423
4524
|
/** @enum {string} */
|
|
4424
4525
|
status: "COMPLIANT" | "WARNING" | "EXPIRED" | "PENDING";
|
|
4425
4526
|
};
|
|
4527
|
+
ComplianceWarningListResponseDto: {
|
|
4528
|
+
items: components["schemas"]["ComplianceWarningResponseDto"][];
|
|
4529
|
+
total: number;
|
|
4530
|
+
};
|
|
4426
4531
|
DriverLocationResponseDto: {
|
|
4427
4532
|
id: string;
|
|
4428
4533
|
lat: number;
|
|
@@ -4436,6 +4541,10 @@ export interface components {
|
|
|
4436
4541
|
/** Format: date-time */
|
|
4437
4542
|
createdAt: string;
|
|
4438
4543
|
};
|
|
4544
|
+
DriverLocationHistoryResponseDto: {
|
|
4545
|
+
items: components["schemas"]["DriverLocationResponseDto"][];
|
|
4546
|
+
total: number;
|
|
4547
|
+
};
|
|
4439
4548
|
ChatMessageDto: {
|
|
4440
4549
|
/** @enum {string} */
|
|
4441
4550
|
role: "user" | "assistant" | "system";
|
|
@@ -4453,6 +4562,81 @@ export interface components {
|
|
|
4453
4562
|
/** @enum {string} */
|
|
4454
4563
|
documentType?: "BOL" | "POD" | "INVOICE" | "OTHER";
|
|
4455
4564
|
};
|
|
4565
|
+
ToolCallDto: {
|
|
4566
|
+
/** @description Unique identifier for the tool call */
|
|
4567
|
+
id: string;
|
|
4568
|
+
/** @description Name of the tool that was called */
|
|
4569
|
+
name: string;
|
|
4570
|
+
/** @description Input parameters passed to the tool */
|
|
4571
|
+
input: {
|
|
4572
|
+
[key: string]: unknown;
|
|
4573
|
+
};
|
|
4574
|
+
/** @description Output returned by the tool */
|
|
4575
|
+
output: {
|
|
4576
|
+
[key: string]: unknown;
|
|
4577
|
+
};
|
|
4578
|
+
/**
|
|
4579
|
+
* @description State of the tool call
|
|
4580
|
+
* @enum {string}
|
|
4581
|
+
*/
|
|
4582
|
+
state: "completed" | "error";
|
|
4583
|
+
};
|
|
4584
|
+
TokenUsageDto: {
|
|
4585
|
+
/** @description Number of input tokens used */
|
|
4586
|
+
input_tokens: number;
|
|
4587
|
+
/** @description Number of output tokens used */
|
|
4588
|
+
output_tokens: number;
|
|
4589
|
+
};
|
|
4590
|
+
ChatResponseDto: {
|
|
4591
|
+
/** @description AI response content */
|
|
4592
|
+
content: string;
|
|
4593
|
+
/** @description Tool calls made during the conversation */
|
|
4594
|
+
toolCalls?: components["schemas"]["ToolCallDto"][];
|
|
4595
|
+
/** @description Token usage statistics */
|
|
4596
|
+
usage?: components["schemas"]["TokenUsageDto"];
|
|
4597
|
+
};
|
|
4598
|
+
AnalyzeDocumentResponseDto: {
|
|
4599
|
+
/** @description Analysis results */
|
|
4600
|
+
analysis: {
|
|
4601
|
+
[key: string]: unknown;
|
|
4602
|
+
};
|
|
4603
|
+
/** @description Detected document type */
|
|
4604
|
+
documentType?: string;
|
|
4605
|
+
/** @description Token usage statistics */
|
|
4606
|
+
usage?: components["schemas"]["TokenUsageDto"];
|
|
4607
|
+
};
|
|
4608
|
+
DailyCheckOrgResultDto: {
|
|
4609
|
+
/** @description Organization ID */
|
|
4610
|
+
orgId: string;
|
|
4611
|
+
/** @description Total number of issues found */
|
|
4612
|
+
issues: number;
|
|
4613
|
+
/** @description Number of critical issues */
|
|
4614
|
+
critical: number;
|
|
4615
|
+
/** @description Whether a notification was sent */
|
|
4616
|
+
notificationSent: boolean;
|
|
4617
|
+
};
|
|
4618
|
+
DailyCheckResponseDto: {
|
|
4619
|
+
/** @description Whether the check was successful */
|
|
4620
|
+
success: boolean;
|
|
4621
|
+
/** @description Number of organizations checked */
|
|
4622
|
+
checkedOrgs: number;
|
|
4623
|
+
/** @description Results for each organization */
|
|
4624
|
+
results: components["schemas"]["DailyCheckOrgResultDto"][];
|
|
4625
|
+
};
|
|
4626
|
+
ChatHistoryMessageDto: {
|
|
4627
|
+
id: string;
|
|
4628
|
+
sessionId: string;
|
|
4629
|
+
/** @enum {string} */
|
|
4630
|
+
role: "user" | "assistant" | "system";
|
|
4631
|
+
content: string;
|
|
4632
|
+
toolCalls?: components["schemas"]["ToolCallDto"][] | null;
|
|
4633
|
+
/** Format: date-time */
|
|
4634
|
+
createdAt: string;
|
|
4635
|
+
};
|
|
4636
|
+
ChatHistoryResponseDto: {
|
|
4637
|
+
messages: components["schemas"]["ChatHistoryMessageDto"][];
|
|
4638
|
+
sessionId?: string;
|
|
4639
|
+
};
|
|
4456
4640
|
CreateCustomerDto: {
|
|
4457
4641
|
/**
|
|
4458
4642
|
* @default BROKER
|
|
@@ -4463,7 +4647,10 @@ export interface components {
|
|
|
4463
4647
|
companyName: string;
|
|
4464
4648
|
/** @example John Smith */
|
|
4465
4649
|
contactName?: string;
|
|
4466
|
-
/**
|
|
4650
|
+
/**
|
|
4651
|
+
* Format: email
|
|
4652
|
+
* @example john@abcfreight.com
|
|
4653
|
+
*/
|
|
4467
4654
|
email?: string;
|
|
4468
4655
|
/** @example +1-555-123-4567 */
|
|
4469
4656
|
phone?: string;
|
|
@@ -4485,21 +4672,20 @@ export interface components {
|
|
|
4485
4672
|
};
|
|
4486
4673
|
CustomerResponseDto: {
|
|
4487
4674
|
id: string;
|
|
4488
|
-
/** @enum {string} */
|
|
4489
|
-
type: "BROKER" | "SHIPPER" | "CARRIER";
|
|
4490
4675
|
companyName: string;
|
|
4491
4676
|
contactName?: string;
|
|
4492
4677
|
email?: string;
|
|
4493
4678
|
phone?: string;
|
|
4494
|
-
mcNumber?: string;
|
|
4495
|
-
dotNumber?: string;
|
|
4496
4679
|
address?: string;
|
|
4497
4680
|
city?: string;
|
|
4498
4681
|
state?: string;
|
|
4499
4682
|
zipCode?: string;
|
|
4500
|
-
|
|
4501
|
-
notes?: string;
|
|
4683
|
+
type: string;
|
|
4502
4684
|
isActive: boolean;
|
|
4685
|
+
notes?: string;
|
|
4686
|
+
defaultRate?: number;
|
|
4687
|
+
paymentTerms?: string;
|
|
4688
|
+
orgId: string;
|
|
4503
4689
|
/** Format: date-time */
|
|
4504
4690
|
createdAt: string;
|
|
4505
4691
|
/** Format: date-time */
|
|
@@ -4512,6 +4698,12 @@ export interface components {
|
|
|
4512
4698
|
limit: number;
|
|
4513
4699
|
totalPages: number;
|
|
4514
4700
|
};
|
|
4701
|
+
CustomerStatsResponseDto: {
|
|
4702
|
+
total: number;
|
|
4703
|
+
active: number;
|
|
4704
|
+
inactive: number;
|
|
4705
|
+
byType: Record<string, never>;
|
|
4706
|
+
};
|
|
4515
4707
|
UpdateCustomerDto: {
|
|
4516
4708
|
/**
|
|
4517
4709
|
* @default BROKER
|
|
@@ -4522,7 +4714,10 @@ export interface components {
|
|
|
4522
4714
|
companyName?: string;
|
|
4523
4715
|
/** @example John Smith */
|
|
4524
4716
|
contactName?: string;
|
|
4525
|
-
/**
|
|
4717
|
+
/**
|
|
4718
|
+
* Format: email
|
|
4719
|
+
* @example john@abcfreight.com
|
|
4720
|
+
*/
|
|
4526
4721
|
email?: string;
|
|
4527
4722
|
/** @example +1-555-123-4567 */
|
|
4528
4723
|
phone?: string;
|
|
@@ -4558,6 +4753,11 @@ export interface components {
|
|
|
4558
4753
|
/** @description Run ID for context */
|
|
4559
4754
|
runId?: string;
|
|
4560
4755
|
};
|
|
4756
|
+
MessageParticipantDto: {
|
|
4757
|
+
id: string;
|
|
4758
|
+
name: string;
|
|
4759
|
+
role: string;
|
|
4760
|
+
};
|
|
4561
4761
|
MessageResponseDto: {
|
|
4562
4762
|
id: string;
|
|
4563
4763
|
/** @enum {string} */
|
|
@@ -4568,9 +4768,9 @@ export interface components {
|
|
|
4568
4768
|
/** Format: date-time */
|
|
4569
4769
|
createdAt: string;
|
|
4570
4770
|
senderId: string;
|
|
4571
|
-
sender?:
|
|
4771
|
+
sender?: components["schemas"]["MessageParticipantDto"];
|
|
4572
4772
|
recipientId?: string;
|
|
4573
|
-
recipient?:
|
|
4773
|
+
recipient?: components["schemas"]["MessageParticipantDto"];
|
|
4574
4774
|
runId?: string;
|
|
4575
4775
|
};
|
|
4576
4776
|
MessageListResponseDto: {
|
|
@@ -4578,12 +4778,28 @@ export interface components {
|
|
|
4578
4778
|
total: number;
|
|
4579
4779
|
hasMore: boolean;
|
|
4580
4780
|
};
|
|
4781
|
+
ConversationResponseDto: {
|
|
4782
|
+
partnerId: string;
|
|
4783
|
+
partnerName: string;
|
|
4784
|
+
partnerRole: string;
|
|
4785
|
+
lastMessage: string;
|
|
4786
|
+
/** Format: date-time */
|
|
4787
|
+
lastMessageAt: string;
|
|
4788
|
+
unreadCount: number;
|
|
4789
|
+
};
|
|
4790
|
+
ConversationListResponseDto: {
|
|
4791
|
+
items: components["schemas"]["ConversationResponseDto"][];
|
|
4792
|
+
total: number;
|
|
4793
|
+
};
|
|
4794
|
+
UnreadCountResponseDto: {
|
|
4795
|
+
unreadCount: number;
|
|
4796
|
+
};
|
|
4581
4797
|
MarkReadDto: {
|
|
4582
4798
|
messageIds: string[];
|
|
4583
4799
|
};
|
|
4584
4800
|
StatementLineItem: {
|
|
4585
4801
|
description: string;
|
|
4586
|
-
type: string
|
|
4802
|
+
type: Record<string, never>;
|
|
4587
4803
|
amount: number;
|
|
4588
4804
|
runId?: string;
|
|
4589
4805
|
loadNumber?: string;
|
|
@@ -4610,27 +4826,22 @@ export interface components {
|
|
|
4610
4826
|
};
|
|
4611
4827
|
StatementResponseDto: {
|
|
4612
4828
|
id: string;
|
|
4829
|
+
driverId: string;
|
|
4613
4830
|
/** Format: date-time */
|
|
4614
4831
|
periodStart: string;
|
|
4615
4832
|
/** Format: date-time */
|
|
4616
4833
|
periodEnd: string;
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
totalMiles: number;
|
|
4620
|
-
totalLoads: number;
|
|
4621
|
-
grossPay: number;
|
|
4622
|
-
deductions: number;
|
|
4834
|
+
totalEarnings: number;
|
|
4835
|
+
totalDeductions: number;
|
|
4623
4836
|
netPay: number;
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4837
|
+
status: string;
|
|
4838
|
+
lineItems?: components["schemas"]["StatementLineItem"][];
|
|
4839
|
+
driverName?: string;
|
|
4840
|
+
orgId: string;
|
|
4628
4841
|
/** Format: date-time */
|
|
4629
4842
|
createdAt: string;
|
|
4630
4843
|
/** Format: date-time */
|
|
4631
4844
|
updatedAt: string;
|
|
4632
|
-
driverId: string;
|
|
4633
|
-
driver?: Record<string, never>;
|
|
4634
4845
|
};
|
|
4635
4846
|
GenerateStatementDto: {
|
|
4636
4847
|
/** @description Driver user ID */
|
|
@@ -4645,6 +4856,7 @@ export interface components {
|
|
|
4645
4856
|
total: number;
|
|
4646
4857
|
page: number;
|
|
4647
4858
|
limit: number;
|
|
4859
|
+
totalPages: number;
|
|
4648
4860
|
};
|
|
4649
4861
|
UpdateStatementDto: {
|
|
4650
4862
|
/** @description Driver user ID */
|
|
@@ -4678,6 +4890,10 @@ export interface components {
|
|
|
4678
4890
|
/** @description Expiration date */
|
|
4679
4891
|
expiresAt?: string;
|
|
4680
4892
|
};
|
|
4893
|
+
ReferralCreatedByDto: {
|
|
4894
|
+
id: string;
|
|
4895
|
+
name: string;
|
|
4896
|
+
};
|
|
4681
4897
|
ReferralResponseDto: {
|
|
4682
4898
|
id: string;
|
|
4683
4899
|
code: string;
|
|
@@ -4690,17 +4906,22 @@ export interface components {
|
|
|
4690
4906
|
/** Format: date-time */
|
|
4691
4907
|
createdAt: string;
|
|
4692
4908
|
createdById: string;
|
|
4693
|
-
createdBy?:
|
|
4909
|
+
createdBy?: components["schemas"]["ReferralCreatedByDto"];
|
|
4694
4910
|
};
|
|
4695
4911
|
ReferralListResponseDto: {
|
|
4696
4912
|
items: components["schemas"]["ReferralResponseDto"][];
|
|
4697
4913
|
total: number;
|
|
4698
4914
|
};
|
|
4915
|
+
TopReferrerDto: {
|
|
4916
|
+
userId: string;
|
|
4917
|
+
userName: string;
|
|
4918
|
+
signupCount: number;
|
|
4919
|
+
};
|
|
4699
4920
|
ReferralStatsDto: {
|
|
4700
4921
|
totalReferrals: number;
|
|
4701
4922
|
activeReferrals: number;
|
|
4702
4923
|
totalSignups: number;
|
|
4703
|
-
topReferrers:
|
|
4924
|
+
topReferrers: components["schemas"]["TopReferrerDto"][];
|
|
4704
4925
|
};
|
|
4705
4926
|
UpdateReferralDto: {
|
|
4706
4927
|
/** @description Custom referral code (auto-generated if not provided) */
|
|
@@ -4720,25 +4941,35 @@ export interface components {
|
|
|
4720
4941
|
*/
|
|
4721
4942
|
signatureData: string;
|
|
4722
4943
|
};
|
|
4723
|
-
|
|
4944
|
+
UserSignatureResponseDto: {
|
|
4724
4945
|
id: string;
|
|
4725
|
-
/** @description Base64 encoded signature image */
|
|
4726
4946
|
signatureData: string;
|
|
4947
|
+
userId: string;
|
|
4727
4948
|
/** Format: date-time */
|
|
4728
4949
|
createdAt: string;
|
|
4729
4950
|
/** Format: date-time */
|
|
4730
4951
|
updatedAt: string;
|
|
4731
4952
|
};
|
|
4732
4953
|
SignatureExistsResponseDto: {
|
|
4733
|
-
/** @description Whether user has a saved signature */
|
|
4734
4954
|
hasSignature: boolean;
|
|
4735
|
-
/** @description Preview thumbnail of signature */
|
|
4736
4955
|
preview?: string;
|
|
4737
4956
|
/** Format: date-time */
|
|
4738
4957
|
createdAt?: string;
|
|
4739
4958
|
/** Format: date-time */
|
|
4740
4959
|
updatedAt?: string;
|
|
4741
4960
|
};
|
|
4961
|
+
AISuggestionDto: {
|
|
4962
|
+
driverId?: string;
|
|
4963
|
+
driverName?: string;
|
|
4964
|
+
truckId?: string;
|
|
4965
|
+
truckNumber?: string;
|
|
4966
|
+
trailerId?: string;
|
|
4967
|
+
trailerNumber?: string;
|
|
4968
|
+
runId?: string;
|
|
4969
|
+
runName?: string;
|
|
4970
|
+
/** @example 0.85 */
|
|
4971
|
+
confidence: number;
|
|
4972
|
+
};
|
|
4742
4973
|
CreateExpenseDto: {
|
|
4743
4974
|
/** @enum {string} */
|
|
4744
4975
|
type: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "OTHER";
|
|
@@ -4757,18 +4988,6 @@ export interface components {
|
|
|
4757
4988
|
trailerId?: string;
|
|
4758
4989
|
runId?: string;
|
|
4759
4990
|
};
|
|
4760
|
-
AISuggestionDto: {
|
|
4761
|
-
driverId?: string;
|
|
4762
|
-
driverName?: string;
|
|
4763
|
-
truckId?: string;
|
|
4764
|
-
truckNumber?: string;
|
|
4765
|
-
trailerId?: string;
|
|
4766
|
-
trailerNumber?: string;
|
|
4767
|
-
runId?: string;
|
|
4768
|
-
runName?: string;
|
|
4769
|
-
/** @example 0.85 */
|
|
4770
|
-
confidence: number;
|
|
4771
|
-
};
|
|
4772
4991
|
ExpenseResponseDto: {
|
|
4773
4992
|
id: string;
|
|
4774
4993
|
/** @enum {string} */
|
|
@@ -4784,13 +5003,21 @@ export interface components {
|
|
|
4784
5003
|
aiConfidence?: number;
|
|
4785
5004
|
aiMatchNotes?: string;
|
|
4786
5005
|
sourceEmailId?: string;
|
|
5006
|
+
approvedById?: string;
|
|
5007
|
+
/** Format: date-time */
|
|
5008
|
+
approvedAt?: string;
|
|
5009
|
+
rejectedById?: string;
|
|
5010
|
+
/** Format: date-time */
|
|
5011
|
+
rejectedAt?: string;
|
|
5012
|
+
rejectionReason?: string;
|
|
5013
|
+
orgId: string;
|
|
5014
|
+
runId?: string;
|
|
4787
5015
|
driverId?: string;
|
|
4788
|
-
driverName?: string;
|
|
4789
5016
|
truckId?: string;
|
|
4790
|
-
truckNumber?: string;
|
|
4791
5017
|
trailerId?: string;
|
|
5018
|
+
driverName?: string;
|
|
5019
|
+
truckNumber?: string;
|
|
4792
5020
|
trailerNumber?: string;
|
|
4793
|
-
runId?: string;
|
|
4794
5021
|
runName?: string;
|
|
4795
5022
|
aiSuggestion?: components["schemas"]["AISuggestionDto"];
|
|
4796
5023
|
/** Format: date-time */
|
|
@@ -4803,7 +5030,6 @@ export interface components {
|
|
|
4803
5030
|
total: number;
|
|
4804
5031
|
page: number;
|
|
4805
5032
|
limit: number;
|
|
4806
|
-
/** @description Count of pending expenses */
|
|
4807
5033
|
pendingCount?: number;
|
|
4808
5034
|
};
|
|
4809
5035
|
ExpenseStatsDto: {
|
|
@@ -4811,9 +5037,10 @@ export interface components {
|
|
|
4811
5037
|
totalApproved: number;
|
|
4812
5038
|
pendingAmount: number;
|
|
4813
5039
|
approvedAmount: number;
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
5040
|
+
totalAmount: number;
|
|
5041
|
+
pendingCount: number;
|
|
5042
|
+
rejectedCount: number;
|
|
5043
|
+
byType: Record<string, never>;
|
|
4817
5044
|
};
|
|
4818
5045
|
UpdateExpenseDto: {
|
|
4819
5046
|
/** @enum {string} */
|
|
@@ -4862,15 +5089,14 @@ export interface components {
|
|
|
4862
5089
|
};
|
|
4863
5090
|
ClientEmailResponseDto: {
|
|
4864
5091
|
id: string;
|
|
4865
|
-
/** @example acme-logistics */
|
|
4866
5092
|
localPart: string;
|
|
4867
|
-
/** @example acme-logistics@logistio.pro */
|
|
4868
|
-
fullEmail: string;
|
|
4869
5093
|
isActive: boolean;
|
|
4870
5094
|
forwardTo: string[];
|
|
5095
|
+
orgId: string;
|
|
4871
5096
|
customerId?: string;
|
|
5097
|
+
fullEmail?: string;
|
|
4872
5098
|
customerName?: string;
|
|
4873
|
-
emailCount
|
|
5099
|
+
emailCount?: number;
|
|
4874
5100
|
/** Format: date-time */
|
|
4875
5101
|
lastEmailAt?: string;
|
|
4876
5102
|
/** Format: date-time */
|
|
@@ -4902,6 +5128,7 @@ export interface components {
|
|
|
4902
5128
|
};
|
|
4903
5129
|
SendInvitationDto: {
|
|
4904
5130
|
/**
|
|
5131
|
+
* Format: email
|
|
4905
5132
|
* @description Email address to send invitation to
|
|
4906
5133
|
* @example broker@example.com
|
|
4907
5134
|
*/
|
|
@@ -4909,50 +5136,15 @@ export interface components {
|
|
|
4909
5136
|
/** @description Custom message to include in invitation */
|
|
4910
5137
|
customMessage?: string;
|
|
4911
5138
|
};
|
|
4912
|
-
ParsedDocumentDataDto: {
|
|
4913
|
-
/** @description Document type detected by AI */
|
|
4914
|
-
documentType?: string;
|
|
4915
|
-
brokerName?: string;
|
|
4916
|
-
rate?: number;
|
|
4917
|
-
pickupCity?: string;
|
|
4918
|
-
deliveryCity?: string;
|
|
4919
|
-
pickupDate?: string;
|
|
4920
|
-
deliveryDate?: string;
|
|
4921
|
-
loadNumber?: string;
|
|
4922
|
-
/** @description For invoices: vendor name */
|
|
4923
|
-
vendor?: string;
|
|
4924
|
-
/** @description For invoices: amount */
|
|
4925
|
-
amount?: number;
|
|
4926
|
-
/** @description For invoices: truck number detected */
|
|
4927
|
-
truckNumber?: string;
|
|
4928
|
-
};
|
|
4929
|
-
ParsedDocumentSummaryDto: {
|
|
4930
|
-
id: string;
|
|
4931
|
-
/** @description Processing status: PENDING, PROCESSED, FAILED */
|
|
4932
|
-
status: string;
|
|
4933
|
-
confidence?: number;
|
|
4934
|
-
parsedData?: components["schemas"]["ParsedDocumentDataDto"];
|
|
4935
|
-
/** @description Whether document needs signature */
|
|
4936
|
-
needsSignature?: boolean;
|
|
4937
|
-
/** @description Magic link token for signing */
|
|
4938
|
-
signingToken?: string;
|
|
4939
|
-
/**
|
|
4940
|
-
* Format: date-time
|
|
4941
|
-
* @description When document was signed
|
|
4942
|
-
*/
|
|
4943
|
-
signedAt?: string;
|
|
4944
|
-
/** @description ID of run created from this document */
|
|
4945
|
-
createdRunId?: string;
|
|
4946
|
-
};
|
|
4947
5139
|
EmailAttachmentResponseDto: {
|
|
4948
5140
|
id: string;
|
|
4949
5141
|
fileName: string;
|
|
4950
5142
|
mimeType: string;
|
|
5143
|
+
contentType: string;
|
|
4951
5144
|
fileSize: number;
|
|
4952
5145
|
fileUrl: string;
|
|
5146
|
+
inboundEmailId: string;
|
|
4953
5147
|
parsedDocumentId?: string;
|
|
4954
|
-
/** @description Parsed document info if available */
|
|
4955
|
-
parsedDocument?: components["schemas"]["ParsedDocumentSummaryDto"];
|
|
4956
5148
|
};
|
|
4957
5149
|
InboundEmailResponseDto: {
|
|
4958
5150
|
id: string;
|
|
@@ -4961,26 +5153,30 @@ export interface components {
|
|
|
4961
5153
|
fromName?: string;
|
|
4962
5154
|
subject?: string;
|
|
4963
5155
|
textBody?: string;
|
|
4964
|
-
|
|
4965
|
-
status: "RECEIVED" | "PROCESSING" | "AWAITING_SIGNATURE" | "SIGNED" | "FORWARDED" | "COMPLETED" | "FAILED";
|
|
4966
|
-
errorMessage?: string;
|
|
5156
|
+
htmlBody?: string;
|
|
4967
5157
|
/** Format: date-time */
|
|
4968
5158
|
receivedAt: string;
|
|
4969
5159
|
/** Format: date-time */
|
|
4970
5160
|
processedAt?: string;
|
|
5161
|
+
/** @enum {string} */
|
|
5162
|
+
status: "RECEIVED" | "PROCESSING" | "AWAITING_SIGNATURE" | "SIGNED" | "FORWARDED" | "COMPLETED" | "FAILED";
|
|
5163
|
+
errorMessage?: string;
|
|
4971
5164
|
clientEmailId: string;
|
|
4972
5165
|
clientEmailLocalPart?: string;
|
|
4973
|
-
attachments
|
|
5166
|
+
attachments?: components["schemas"]["EmailAttachmentResponseDto"][];
|
|
5167
|
+
/** Format: date-time */
|
|
5168
|
+
createdAt: string;
|
|
4974
5169
|
};
|
|
4975
5170
|
InboundEmailListResponseDto: {
|
|
4976
5171
|
items: components["schemas"]["InboundEmailResponseDto"][];
|
|
4977
5172
|
total: number;
|
|
4978
5173
|
page: number;
|
|
4979
5174
|
limit: number;
|
|
5175
|
+
totalPages: number;
|
|
4980
5176
|
};
|
|
4981
5177
|
SendGridWebhookDto: {
|
|
4982
5178
|
/** @description Raw email headers */
|
|
4983
|
-
headers
|
|
5179
|
+
headers?: string;
|
|
4984
5180
|
/** @description DKIM verification result */
|
|
4985
5181
|
dkim?: string;
|
|
4986
5182
|
/**
|
|
@@ -5023,48 +5219,28 @@ export interface components {
|
|
|
5023
5219
|
};
|
|
5024
5220
|
DocumentToSignResponseDto: {
|
|
5025
5221
|
id: string;
|
|
5026
|
-
/** @description URL to the original document PDF */
|
|
5027
5222
|
documentUrl: string;
|
|
5028
5223
|
fileName?: string;
|
|
5029
5224
|
mimeType?: string;
|
|
5030
|
-
/** @description Has this document already been signed */
|
|
5031
5225
|
isSigned: boolean;
|
|
5226
|
+
alreadySigned: boolean;
|
|
5032
5227
|
/** Format: date-time */
|
|
5033
5228
|
signedAt?: string;
|
|
5034
|
-
/** @description Is the signing token still valid */
|
|
5035
5229
|
isExpired: boolean;
|
|
5036
5230
|
/** Format: date-time */
|
|
5037
5231
|
expiresAt?: string;
|
|
5038
|
-
/** @description Broker/Company name */
|
|
5039
5232
|
brokerName?: string;
|
|
5040
|
-
/** @description Load/Reference number */
|
|
5041
5233
|
loadNumber?: string;
|
|
5042
|
-
/** @description Rate amount */
|
|
5043
5234
|
rate?: number;
|
|
5044
|
-
/** @description Pickup location */
|
|
5045
5235
|
pickupLocation?: string;
|
|
5046
|
-
/** @description Delivery location */
|
|
5047
5236
|
deliveryLocation?: string;
|
|
5048
|
-
/**
|
|
5049
|
-
* Format: date-time
|
|
5050
|
-
* @description Pickup date
|
|
5051
|
-
*/
|
|
5052
5237
|
pickupDate?: string;
|
|
5053
|
-
/**
|
|
5054
|
-
* Format: date-time
|
|
5055
|
-
* @description Delivery date
|
|
5056
|
-
*/
|
|
5057
5238
|
deliveryDate?: string;
|
|
5058
|
-
/** @description Equipment type required */
|
|
5059
5239
|
equipmentType?: string;
|
|
5060
|
-
/** @description Commodity description */
|
|
5061
5240
|
commodity?: string;
|
|
5062
|
-
/** @description Weight in lbs */
|
|
5063
5241
|
weight?: number;
|
|
5064
5242
|
organizationName: string;
|
|
5065
|
-
/** @description User has a saved signature available */
|
|
5066
5243
|
hasSavedSignature?: boolean;
|
|
5067
|
-
/** @description Preview of saved signature (thumbnail) */
|
|
5068
5244
|
savedSignaturePreview?: string;
|
|
5069
5245
|
};
|
|
5070
5246
|
SignDocumentDto: {
|
|
@@ -5079,6 +5255,7 @@ export interface components {
|
|
|
5079
5255
|
*/
|
|
5080
5256
|
signedByName?: string;
|
|
5081
5257
|
/**
|
|
5258
|
+
* Format: email
|
|
5082
5259
|
* @description Email of person signing
|
|
5083
5260
|
* @example john@example.com
|
|
5084
5261
|
*/
|
|
@@ -5089,16 +5266,12 @@ export interface components {
|
|
|
5089
5266
|
*/
|
|
5090
5267
|
useSavedSignature: boolean;
|
|
5091
5268
|
};
|
|
5092
|
-
|
|
5269
|
+
SignDocumentResultDto: {
|
|
5093
5270
|
success: boolean;
|
|
5094
5271
|
message: string;
|
|
5095
|
-
/** @description ID of the created run, if applicable */
|
|
5096
5272
|
createdRunId?: string;
|
|
5097
|
-
/** @description Whether the signed document was forwarded */
|
|
5098
5273
|
forwarded?: boolean;
|
|
5099
|
-
/** @description Email addresses it was forwarded to */
|
|
5100
5274
|
forwardedTo?: string[];
|
|
5101
|
-
/** @description URL to download signed PDF */
|
|
5102
5275
|
signedPdfUrl?: string;
|
|
5103
5276
|
};
|
|
5104
5277
|
};
|
|
@@ -5392,6 +5565,12 @@ export interface operations {
|
|
|
5392
5565
|
};
|
|
5393
5566
|
content?: never;
|
|
5394
5567
|
};
|
|
5568
|
+
201: {
|
|
5569
|
+
headers: {
|
|
5570
|
+
[name: string]: unknown;
|
|
5571
|
+
};
|
|
5572
|
+
content?: never;
|
|
5573
|
+
};
|
|
5395
5574
|
};
|
|
5396
5575
|
};
|
|
5397
5576
|
AuthController_logout: {
|
|
@@ -5590,6 +5769,12 @@ export interface operations {
|
|
|
5590
5769
|
};
|
|
5591
5770
|
content?: never;
|
|
5592
5771
|
};
|
|
5772
|
+
201: {
|
|
5773
|
+
headers: {
|
|
5774
|
+
[name: string]: unknown;
|
|
5775
|
+
};
|
|
5776
|
+
content?: never;
|
|
5777
|
+
};
|
|
5593
5778
|
};
|
|
5594
5779
|
};
|
|
5595
5780
|
UsersController_unlinkTelegram: {
|
|
@@ -5610,6 +5795,12 @@ export interface operations {
|
|
|
5610
5795
|
};
|
|
5611
5796
|
content?: never;
|
|
5612
5797
|
};
|
|
5798
|
+
201: {
|
|
5799
|
+
headers: {
|
|
5800
|
+
[name: string]: unknown;
|
|
5801
|
+
};
|
|
5802
|
+
content?: never;
|
|
5803
|
+
};
|
|
5613
5804
|
};
|
|
5614
5805
|
};
|
|
5615
5806
|
UsersController_updateDispatchStatus: {
|
|
@@ -5650,6 +5841,12 @@ export interface operations {
|
|
|
5650
5841
|
};
|
|
5651
5842
|
content?: never;
|
|
5652
5843
|
};
|
|
5844
|
+
201: {
|
|
5845
|
+
headers: {
|
|
5846
|
+
[name: string]: unknown;
|
|
5847
|
+
};
|
|
5848
|
+
content?: never;
|
|
5849
|
+
};
|
|
5653
5850
|
};
|
|
5654
5851
|
};
|
|
5655
5852
|
OrgsController_findAll: {
|
|
@@ -5947,6 +6144,12 @@ export interface operations {
|
|
|
5947
6144
|
};
|
|
5948
6145
|
content?: never;
|
|
5949
6146
|
};
|
|
6147
|
+
201: {
|
|
6148
|
+
headers: {
|
|
6149
|
+
[name: string]: unknown;
|
|
6150
|
+
};
|
|
6151
|
+
content?: never;
|
|
6152
|
+
};
|
|
5950
6153
|
};
|
|
5951
6154
|
};
|
|
5952
6155
|
OrgsController_completeOnboarding: {
|
|
@@ -5969,6 +6172,12 @@ export interface operations {
|
|
|
5969
6172
|
};
|
|
5970
6173
|
content?: never;
|
|
5971
6174
|
};
|
|
6175
|
+
201: {
|
|
6176
|
+
headers: {
|
|
6177
|
+
[name: string]: unknown;
|
|
6178
|
+
};
|
|
6179
|
+
content?: never;
|
|
6180
|
+
};
|
|
5972
6181
|
};
|
|
5973
6182
|
};
|
|
5974
6183
|
OrgsController_getFactoringPartners: {
|
|
@@ -6097,7 +6306,7 @@ export interface operations {
|
|
|
6097
6306
|
[name: string]: unknown;
|
|
6098
6307
|
};
|
|
6099
6308
|
content: {
|
|
6100
|
-
"application/json": components["schemas"]["
|
|
6309
|
+
"application/json": components["schemas"]["RunSummaryListResponseDto"];
|
|
6101
6310
|
};
|
|
6102
6311
|
};
|
|
6103
6312
|
};
|
|
@@ -6246,6 +6455,14 @@ export interface operations {
|
|
|
6246
6455
|
};
|
|
6247
6456
|
content?: never;
|
|
6248
6457
|
};
|
|
6458
|
+
201: {
|
|
6459
|
+
headers: {
|
|
6460
|
+
[name: string]: unknown;
|
|
6461
|
+
};
|
|
6462
|
+
content: {
|
|
6463
|
+
"application/json": Record<string, never>;
|
|
6464
|
+
};
|
|
6465
|
+
};
|
|
6249
6466
|
};
|
|
6250
6467
|
};
|
|
6251
6468
|
RunsController_unassignDriver: {
|
|
@@ -6266,6 +6483,12 @@ export interface operations {
|
|
|
6266
6483
|
};
|
|
6267
6484
|
content?: never;
|
|
6268
6485
|
};
|
|
6486
|
+
201: {
|
|
6487
|
+
headers: {
|
|
6488
|
+
[name: string]: unknown;
|
|
6489
|
+
};
|
|
6490
|
+
content?: never;
|
|
6491
|
+
};
|
|
6269
6492
|
};
|
|
6270
6493
|
};
|
|
6271
6494
|
RunsController_startRun: {
|
|
@@ -6374,6 +6597,14 @@ export interface operations {
|
|
|
6374
6597
|
};
|
|
6375
6598
|
content?: never;
|
|
6376
6599
|
};
|
|
6600
|
+
201: {
|
|
6601
|
+
headers: {
|
|
6602
|
+
[name: string]: unknown;
|
|
6603
|
+
};
|
|
6604
|
+
content: {
|
|
6605
|
+
"application/json": Record<string, never>;
|
|
6606
|
+
};
|
|
6607
|
+
};
|
|
6377
6608
|
};
|
|
6378
6609
|
};
|
|
6379
6610
|
RunsController_addStop: {
|
|
@@ -6493,6 +6724,14 @@ export interface operations {
|
|
|
6493
6724
|
};
|
|
6494
6725
|
content?: never;
|
|
6495
6726
|
};
|
|
6727
|
+
201: {
|
|
6728
|
+
headers: {
|
|
6729
|
+
[name: string]: unknown;
|
|
6730
|
+
};
|
|
6731
|
+
content: {
|
|
6732
|
+
"application/json": Record<string, never>;
|
|
6733
|
+
};
|
|
6734
|
+
};
|
|
6496
6735
|
};
|
|
6497
6736
|
};
|
|
6498
6737
|
RunsController_uploadSignature: {
|
|
@@ -6534,6 +6773,12 @@ export interface operations {
|
|
|
6534
6773
|
};
|
|
6535
6774
|
content?: never;
|
|
6536
6775
|
};
|
|
6776
|
+
201: {
|
|
6777
|
+
headers: {
|
|
6778
|
+
[name: string]: unknown;
|
|
6779
|
+
};
|
|
6780
|
+
content?: never;
|
|
6781
|
+
};
|
|
6537
6782
|
};
|
|
6538
6783
|
};
|
|
6539
6784
|
RunsController_queueLoad: {
|
|
@@ -6554,6 +6799,14 @@ export interface operations {
|
|
|
6554
6799
|
};
|
|
6555
6800
|
content?: never;
|
|
6556
6801
|
};
|
|
6802
|
+
201: {
|
|
6803
|
+
headers: {
|
|
6804
|
+
[name: string]: unknown;
|
|
6805
|
+
};
|
|
6806
|
+
content: {
|
|
6807
|
+
"application/json": Record<string, never>;
|
|
6808
|
+
};
|
|
6809
|
+
};
|
|
6557
6810
|
};
|
|
6558
6811
|
};
|
|
6559
6812
|
RunsController_dispatchLoad: {
|
|
@@ -6574,6 +6827,12 @@ export interface operations {
|
|
|
6574
6827
|
};
|
|
6575
6828
|
content?: never;
|
|
6576
6829
|
};
|
|
6830
|
+
201: {
|
|
6831
|
+
headers: {
|
|
6832
|
+
[name: string]: unknown;
|
|
6833
|
+
};
|
|
6834
|
+
content?: never;
|
|
6835
|
+
};
|
|
6577
6836
|
};
|
|
6578
6837
|
};
|
|
6579
6838
|
RunsController_completeAndUnlockNext: {
|
|
@@ -6594,6 +6853,14 @@ export interface operations {
|
|
|
6594
6853
|
};
|
|
6595
6854
|
content?: never;
|
|
6596
6855
|
};
|
|
6856
|
+
201: {
|
|
6857
|
+
headers: {
|
|
6858
|
+
[name: string]: unknown;
|
|
6859
|
+
};
|
|
6860
|
+
content: {
|
|
6861
|
+
"application/json": Record<string, never>;
|
|
6862
|
+
};
|
|
6863
|
+
};
|
|
6597
6864
|
};
|
|
6598
6865
|
};
|
|
6599
6866
|
RunsController_unlockLoad: {
|
|
@@ -6614,6 +6881,14 @@ export interface operations {
|
|
|
6614
6881
|
};
|
|
6615
6882
|
content?: never;
|
|
6616
6883
|
};
|
|
6884
|
+
201: {
|
|
6885
|
+
headers: {
|
|
6886
|
+
[name: string]: unknown;
|
|
6887
|
+
};
|
|
6888
|
+
content: {
|
|
6889
|
+
"application/json": Record<string, never>;
|
|
6890
|
+
};
|
|
6891
|
+
};
|
|
6617
6892
|
};
|
|
6618
6893
|
};
|
|
6619
6894
|
RunsController_getTrackingLink: {
|
|
@@ -6653,7 +6928,7 @@ export interface operations {
|
|
|
6653
6928
|
[name: string]: unknown;
|
|
6654
6929
|
};
|
|
6655
6930
|
content: {
|
|
6656
|
-
"application/json": components["schemas"]["
|
|
6931
|
+
"application/json": components["schemas"]["RunChargeListResponseDto"];
|
|
6657
6932
|
};
|
|
6658
6933
|
};
|
|
6659
6934
|
};
|
|
@@ -6766,6 +7041,12 @@ export interface operations {
|
|
|
6766
7041
|
};
|
|
6767
7042
|
content?: never;
|
|
6768
7043
|
};
|
|
7044
|
+
201: {
|
|
7045
|
+
headers: {
|
|
7046
|
+
[name: string]: unknown;
|
|
7047
|
+
};
|
|
7048
|
+
content?: never;
|
|
7049
|
+
};
|
|
6769
7050
|
};
|
|
6770
7051
|
};
|
|
6771
7052
|
DocumentsController_getUploadUrl: {
|
|
@@ -6779,6 +7060,14 @@ export interface operations {
|
|
|
6779
7060
|
responses: {
|
|
6780
7061
|
/** @description Upload configuration generated */
|
|
6781
7062
|
200: {
|
|
7063
|
+
headers: {
|
|
7064
|
+
[name: string]: unknown;
|
|
7065
|
+
};
|
|
7066
|
+
content: {
|
|
7067
|
+
"application/json": components["schemas"]["UploadUrlResponseDto"];
|
|
7068
|
+
};
|
|
7069
|
+
};
|
|
7070
|
+
201: {
|
|
6782
7071
|
headers: {
|
|
6783
7072
|
[name: string]: unknown;
|
|
6784
7073
|
};
|
|
@@ -6848,7 +7137,9 @@ export interface operations {
|
|
|
6848
7137
|
headers: {
|
|
6849
7138
|
[name: string]: unknown;
|
|
6850
7139
|
};
|
|
6851
|
-
content
|
|
7140
|
+
content: {
|
|
7141
|
+
"application/json": components["schemas"]["DocumentListResponseDto"];
|
|
7142
|
+
};
|
|
6852
7143
|
};
|
|
6853
7144
|
};
|
|
6854
7145
|
};
|
|
@@ -7088,7 +7379,7 @@ export interface operations {
|
|
|
7088
7379
|
[name: string]: unknown;
|
|
7089
7380
|
};
|
|
7090
7381
|
content: {
|
|
7091
|
-
"application/json": components["schemas"]["
|
|
7382
|
+
"application/json": components["schemas"]["ParsedDocumentListResponseDto"];
|
|
7092
7383
|
};
|
|
7093
7384
|
};
|
|
7094
7385
|
};
|
|
@@ -7239,6 +7530,12 @@ export interface operations {
|
|
|
7239
7530
|
};
|
|
7240
7531
|
content?: never;
|
|
7241
7532
|
};
|
|
7533
|
+
201: {
|
|
7534
|
+
headers: {
|
|
7535
|
+
[name: string]: unknown;
|
|
7536
|
+
};
|
|
7537
|
+
content?: never;
|
|
7538
|
+
};
|
|
7242
7539
|
};
|
|
7243
7540
|
};
|
|
7244
7541
|
CompanyDocumentsController_uploadDocument: {
|
|
@@ -7296,6 +7593,12 @@ export interface operations {
|
|
|
7296
7593
|
};
|
|
7297
7594
|
content?: never;
|
|
7298
7595
|
};
|
|
7596
|
+
201: {
|
|
7597
|
+
headers: {
|
|
7598
|
+
[name: string]: unknown;
|
|
7599
|
+
};
|
|
7600
|
+
content?: never;
|
|
7601
|
+
};
|
|
7299
7602
|
};
|
|
7300
7603
|
};
|
|
7301
7604
|
CompanyDocumentsController_findAll: {
|
|
@@ -7317,7 +7620,7 @@ export interface operations {
|
|
|
7317
7620
|
[name: string]: unknown;
|
|
7318
7621
|
};
|
|
7319
7622
|
content: {
|
|
7320
|
-
"application/json": components["schemas"]["
|
|
7623
|
+
"application/json": components["schemas"]["CompanyDocumentListResponseDto"];
|
|
7321
7624
|
};
|
|
7322
7625
|
};
|
|
7323
7626
|
};
|
|
@@ -7529,6 +7832,14 @@ export interface operations {
|
|
|
7529
7832
|
};
|
|
7530
7833
|
content?: never;
|
|
7531
7834
|
};
|
|
7835
|
+
201: {
|
|
7836
|
+
headers: {
|
|
7837
|
+
[name: string]: unknown;
|
|
7838
|
+
};
|
|
7839
|
+
content: {
|
|
7840
|
+
"application/json": Record<string, never>;
|
|
7841
|
+
};
|
|
7842
|
+
};
|
|
7532
7843
|
/** @description Driver not found */
|
|
7533
7844
|
404: {
|
|
7534
7845
|
headers: {
|
|
@@ -7560,6 +7871,12 @@ export interface operations {
|
|
|
7560
7871
|
};
|
|
7561
7872
|
content?: never;
|
|
7562
7873
|
};
|
|
7874
|
+
201: {
|
|
7875
|
+
headers: {
|
|
7876
|
+
[name: string]: unknown;
|
|
7877
|
+
};
|
|
7878
|
+
content?: never;
|
|
7879
|
+
};
|
|
7563
7880
|
/** @description Driver not found */
|
|
7564
7881
|
404: {
|
|
7565
7882
|
headers: {
|
|
@@ -7654,7 +7971,7 @@ export interface operations {
|
|
|
7654
7971
|
[name: string]: unknown;
|
|
7655
7972
|
};
|
|
7656
7973
|
content: {
|
|
7657
|
-
"application/json": components["schemas"]["
|
|
7974
|
+
"application/json": components["schemas"]["MagicLinkListResponseDto"];
|
|
7658
7975
|
};
|
|
7659
7976
|
};
|
|
7660
7977
|
};
|
|
@@ -7798,6 +8115,14 @@ export interface operations {
|
|
|
7798
8115
|
};
|
|
7799
8116
|
content?: never;
|
|
7800
8117
|
};
|
|
8118
|
+
201: {
|
|
8119
|
+
headers: {
|
|
8120
|
+
[name: string]: unknown;
|
|
8121
|
+
};
|
|
8122
|
+
content: {
|
|
8123
|
+
"application/json": Record<string, never>;
|
|
8124
|
+
};
|
|
8125
|
+
};
|
|
7801
8126
|
};
|
|
7802
8127
|
};
|
|
7803
8128
|
TrucksController_unassign: {
|
|
@@ -7818,6 +8143,14 @@ export interface operations {
|
|
|
7818
8143
|
};
|
|
7819
8144
|
content?: never;
|
|
7820
8145
|
};
|
|
8146
|
+
201: {
|
|
8147
|
+
headers: {
|
|
8148
|
+
[name: string]: unknown;
|
|
8149
|
+
};
|
|
8150
|
+
content: {
|
|
8151
|
+
"application/json": Record<string, never>;
|
|
8152
|
+
};
|
|
8153
|
+
};
|
|
7821
8154
|
};
|
|
7822
8155
|
};
|
|
7823
8156
|
TrailersController_findAll: {
|
|
@@ -7960,6 +8293,14 @@ export interface operations {
|
|
|
7960
8293
|
};
|
|
7961
8294
|
content?: never;
|
|
7962
8295
|
};
|
|
8296
|
+
201: {
|
|
8297
|
+
headers: {
|
|
8298
|
+
[name: string]: unknown;
|
|
8299
|
+
};
|
|
8300
|
+
content: {
|
|
8301
|
+
"application/json": Record<string, never>;
|
|
8302
|
+
};
|
|
8303
|
+
};
|
|
7963
8304
|
};
|
|
7964
8305
|
};
|
|
7965
8306
|
TrailersController_unassign: {
|
|
@@ -7980,6 +8321,14 @@ export interface operations {
|
|
|
7980
8321
|
};
|
|
7981
8322
|
content?: never;
|
|
7982
8323
|
};
|
|
8324
|
+
201: {
|
|
8325
|
+
headers: {
|
|
8326
|
+
[name: string]: unknown;
|
|
8327
|
+
};
|
|
8328
|
+
content: {
|
|
8329
|
+
"application/json": Record<string, never>;
|
|
8330
|
+
};
|
|
8331
|
+
};
|
|
7983
8332
|
};
|
|
7984
8333
|
};
|
|
7985
8334
|
TelegramController_getCurrentRun: {
|
|
@@ -8071,6 +8420,12 @@ export interface operations {
|
|
|
8071
8420
|
};
|
|
8072
8421
|
content?: never;
|
|
8073
8422
|
};
|
|
8423
|
+
201: {
|
|
8424
|
+
headers: {
|
|
8425
|
+
[name: string]: unknown;
|
|
8426
|
+
};
|
|
8427
|
+
content?: never;
|
|
8428
|
+
};
|
|
8074
8429
|
};
|
|
8075
8430
|
};
|
|
8076
8431
|
TelegramController_sendRunInvite: {
|
|
@@ -8089,6 +8444,12 @@ export interface operations {
|
|
|
8089
8444
|
};
|
|
8090
8445
|
content?: never;
|
|
8091
8446
|
};
|
|
8447
|
+
201: {
|
|
8448
|
+
headers: {
|
|
8449
|
+
[name: string]: unknown;
|
|
8450
|
+
};
|
|
8451
|
+
content?: never;
|
|
8452
|
+
};
|
|
8092
8453
|
};
|
|
8093
8454
|
};
|
|
8094
8455
|
TelegramController_sendDriverInvite: {
|
|
@@ -8107,6 +8468,14 @@ export interface operations {
|
|
|
8107
8468
|
};
|
|
8108
8469
|
content?: never;
|
|
8109
8470
|
};
|
|
8471
|
+
201: {
|
|
8472
|
+
headers: {
|
|
8473
|
+
[name: string]: unknown;
|
|
8474
|
+
};
|
|
8475
|
+
content: {
|
|
8476
|
+
"application/json": Record<string, never>;
|
|
8477
|
+
};
|
|
8478
|
+
};
|
|
8110
8479
|
};
|
|
8111
8480
|
};
|
|
8112
8481
|
TelegramController_getBotInfo: {
|
|
@@ -8171,7 +8540,7 @@ export interface operations {
|
|
|
8171
8540
|
[name: string]: unknown;
|
|
8172
8541
|
};
|
|
8173
8542
|
content: {
|
|
8174
|
-
"application/json": components["schemas"]["
|
|
8543
|
+
"application/json": components["schemas"]["AssignedRunListResponseDto"];
|
|
8175
8544
|
};
|
|
8176
8545
|
};
|
|
8177
8546
|
};
|
|
@@ -8216,7 +8585,7 @@ export interface operations {
|
|
|
8216
8585
|
[name: string]: unknown;
|
|
8217
8586
|
};
|
|
8218
8587
|
content: {
|
|
8219
|
-
"application/json": components["schemas"]["
|
|
8588
|
+
"application/json": components["schemas"]["DriverListResponseDto"];
|
|
8220
8589
|
};
|
|
8221
8590
|
};
|
|
8222
8591
|
};
|
|
@@ -8317,6 +8686,12 @@ export interface operations {
|
|
|
8317
8686
|
};
|
|
8318
8687
|
content?: never;
|
|
8319
8688
|
};
|
|
8689
|
+
201: {
|
|
8690
|
+
headers: {
|
|
8691
|
+
[name: string]: unknown;
|
|
8692
|
+
};
|
|
8693
|
+
content?: never;
|
|
8694
|
+
};
|
|
8320
8695
|
};
|
|
8321
8696
|
};
|
|
8322
8697
|
DriversAdminController_getDispatcherHistory: {
|
|
@@ -8336,7 +8711,7 @@ export interface operations {
|
|
|
8336
8711
|
[name: string]: unknown;
|
|
8337
8712
|
};
|
|
8338
8713
|
content: {
|
|
8339
|
-
"application/json": components["schemas"]["
|
|
8714
|
+
"application/json": components["schemas"]["DispatcherAssignmentHistoryListResponseDto"];
|
|
8340
8715
|
};
|
|
8341
8716
|
};
|
|
8342
8717
|
};
|
|
@@ -8363,6 +8738,12 @@ export interface operations {
|
|
|
8363
8738
|
};
|
|
8364
8739
|
content?: never;
|
|
8365
8740
|
};
|
|
8741
|
+
201: {
|
|
8742
|
+
headers: {
|
|
8743
|
+
[name: string]: unknown;
|
|
8744
|
+
};
|
|
8745
|
+
content?: never;
|
|
8746
|
+
};
|
|
8366
8747
|
};
|
|
8367
8748
|
};
|
|
8368
8749
|
DriversAdminController_unlinkTeamDriver: {
|
|
@@ -8400,7 +8781,7 @@ export interface operations {
|
|
|
8400
8781
|
[name: string]: unknown;
|
|
8401
8782
|
};
|
|
8402
8783
|
content: {
|
|
8403
|
-
"application/json": components["schemas"]["
|
|
8784
|
+
"application/json": components["schemas"]["ComplianceWarningListResponseDto"];
|
|
8404
8785
|
};
|
|
8405
8786
|
};
|
|
8406
8787
|
};
|
|
@@ -8425,7 +8806,7 @@ export interface operations {
|
|
|
8425
8806
|
[name: string]: unknown;
|
|
8426
8807
|
};
|
|
8427
8808
|
content: {
|
|
8428
|
-
"application/json": components["schemas"]["
|
|
8809
|
+
"application/json": components["schemas"]["AssignedRunListResponseDto"];
|
|
8429
8810
|
};
|
|
8430
8811
|
};
|
|
8431
8812
|
};
|
|
@@ -8472,7 +8853,7 @@ export interface operations {
|
|
|
8472
8853
|
[name: string]: unknown;
|
|
8473
8854
|
};
|
|
8474
8855
|
content: {
|
|
8475
|
-
"application/json": components["schemas"]["
|
|
8856
|
+
"application/json": components["schemas"]["DriverLocationHistoryResponseDto"];
|
|
8476
8857
|
};
|
|
8477
8858
|
};
|
|
8478
8859
|
};
|
|
@@ -8490,11 +8871,14 @@ export interface operations {
|
|
|
8490
8871
|
};
|
|
8491
8872
|
};
|
|
8492
8873
|
responses: {
|
|
8874
|
+
/** @description AI response with optional tool calls */
|
|
8493
8875
|
200: {
|
|
8494
8876
|
headers: {
|
|
8495
8877
|
[name: string]: unknown;
|
|
8496
8878
|
};
|
|
8497
|
-
content
|
|
8879
|
+
content: {
|
|
8880
|
+
"application/json": components["schemas"]["ChatResponseDto"];
|
|
8881
|
+
};
|
|
8498
8882
|
};
|
|
8499
8883
|
};
|
|
8500
8884
|
};
|
|
@@ -8511,11 +8895,14 @@ export interface operations {
|
|
|
8511
8895
|
};
|
|
8512
8896
|
};
|
|
8513
8897
|
responses: {
|
|
8898
|
+
/** @description Document analysis result */
|
|
8514
8899
|
200: {
|
|
8515
8900
|
headers: {
|
|
8516
8901
|
[name: string]: unknown;
|
|
8517
8902
|
};
|
|
8518
|
-
content
|
|
8903
|
+
content: {
|
|
8904
|
+
"application/json": components["schemas"]["AnalyzeDocumentResponseDto"];
|
|
8905
|
+
};
|
|
8519
8906
|
};
|
|
8520
8907
|
};
|
|
8521
8908
|
};
|
|
@@ -8528,11 +8915,14 @@ export interface operations {
|
|
|
8528
8915
|
};
|
|
8529
8916
|
requestBody?: never;
|
|
8530
8917
|
responses: {
|
|
8918
|
+
/** @description Daily check results */
|
|
8531
8919
|
200: {
|
|
8532
8920
|
headers: {
|
|
8533
8921
|
[name: string]: unknown;
|
|
8534
8922
|
};
|
|
8535
|
-
content
|
|
8923
|
+
content: {
|
|
8924
|
+
"application/json": components["schemas"]["DailyCheckResponseDto"];
|
|
8925
|
+
};
|
|
8536
8926
|
};
|
|
8537
8927
|
};
|
|
8538
8928
|
};
|
|
@@ -8545,11 +8935,14 @@ export interface operations {
|
|
|
8545
8935
|
};
|
|
8546
8936
|
requestBody?: never;
|
|
8547
8937
|
responses: {
|
|
8938
|
+
/** @description Chat history */
|
|
8548
8939
|
200: {
|
|
8549
8940
|
headers: {
|
|
8550
8941
|
[name: string]: unknown;
|
|
8551
8942
|
};
|
|
8552
|
-
content
|
|
8943
|
+
content: {
|
|
8944
|
+
"application/json": components["schemas"]["ChatHistoryResponseDto"];
|
|
8945
|
+
};
|
|
8553
8946
|
};
|
|
8554
8947
|
};
|
|
8555
8948
|
};
|
|
@@ -8617,7 +9010,9 @@ export interface operations {
|
|
|
8617
9010
|
headers: {
|
|
8618
9011
|
[name: string]: unknown;
|
|
8619
9012
|
};
|
|
8620
|
-
content
|
|
9013
|
+
content: {
|
|
9014
|
+
"application/json": components["schemas"]["CustomerStatsResponseDto"];
|
|
9015
|
+
};
|
|
8621
9016
|
};
|
|
8622
9017
|
};
|
|
8623
9018
|
};
|
|
@@ -8752,7 +9147,9 @@ export interface operations {
|
|
|
8752
9147
|
headers: {
|
|
8753
9148
|
[name: string]: unknown;
|
|
8754
9149
|
};
|
|
8755
|
-
content
|
|
9150
|
+
content: {
|
|
9151
|
+
"application/json": components["schemas"]["ConversationListResponseDto"];
|
|
9152
|
+
};
|
|
8756
9153
|
};
|
|
8757
9154
|
};
|
|
8758
9155
|
};
|
|
@@ -8770,7 +9167,9 @@ export interface operations {
|
|
|
8770
9167
|
headers: {
|
|
8771
9168
|
[name: string]: unknown;
|
|
8772
9169
|
};
|
|
8773
|
-
content
|
|
9170
|
+
content: {
|
|
9171
|
+
"application/json": components["schemas"]["UnreadCountResponseDto"];
|
|
9172
|
+
};
|
|
8774
9173
|
};
|
|
8775
9174
|
};
|
|
8776
9175
|
};
|
|
@@ -8794,6 +9193,12 @@ export interface operations {
|
|
|
8794
9193
|
};
|
|
8795
9194
|
content?: never;
|
|
8796
9195
|
};
|
|
9196
|
+
201: {
|
|
9197
|
+
headers: {
|
|
9198
|
+
[name: string]: unknown;
|
|
9199
|
+
};
|
|
9200
|
+
content?: never;
|
|
9201
|
+
};
|
|
8797
9202
|
};
|
|
8798
9203
|
};
|
|
8799
9204
|
StatementsController_findAll: {
|
|
@@ -8884,7 +9289,7 @@ export interface operations {
|
|
|
8884
9289
|
[name: string]: unknown;
|
|
8885
9290
|
};
|
|
8886
9291
|
content: {
|
|
8887
|
-
"application/json": components["schemas"]["
|
|
9292
|
+
"application/json": components["schemas"]["StatementListResponseDto"];
|
|
8888
9293
|
};
|
|
8889
9294
|
};
|
|
8890
9295
|
};
|
|
@@ -9035,6 +9440,14 @@ export interface operations {
|
|
|
9035
9440
|
};
|
|
9036
9441
|
content?: never;
|
|
9037
9442
|
};
|
|
9443
|
+
201: {
|
|
9444
|
+
headers: {
|
|
9445
|
+
[name: string]: unknown;
|
|
9446
|
+
};
|
|
9447
|
+
content: {
|
|
9448
|
+
"application/json": Record<string, never>;
|
|
9449
|
+
};
|
|
9450
|
+
};
|
|
9038
9451
|
};
|
|
9039
9452
|
};
|
|
9040
9453
|
StatementsController_markPaid: {
|
|
@@ -9055,6 +9468,14 @@ export interface operations {
|
|
|
9055
9468
|
};
|
|
9056
9469
|
content?: never;
|
|
9057
9470
|
};
|
|
9471
|
+
201: {
|
|
9472
|
+
headers: {
|
|
9473
|
+
[name: string]: unknown;
|
|
9474
|
+
};
|
|
9475
|
+
content: {
|
|
9476
|
+
"application/json": Record<string, never>;
|
|
9477
|
+
};
|
|
9478
|
+
};
|
|
9058
9479
|
};
|
|
9059
9480
|
};
|
|
9060
9481
|
ReferralsController_findAll: {
|
|
@@ -9136,7 +9557,7 @@ export interface operations {
|
|
|
9136
9557
|
[name: string]: unknown;
|
|
9137
9558
|
};
|
|
9138
9559
|
content: {
|
|
9139
|
-
"application/json": components["schemas"]["
|
|
9560
|
+
"application/json": components["schemas"]["ReferralListResponseDto"];
|
|
9140
9561
|
};
|
|
9141
9562
|
};
|
|
9142
9563
|
};
|
|
@@ -9243,7 +9664,7 @@ export interface operations {
|
|
|
9243
9664
|
[name: string]: unknown;
|
|
9244
9665
|
};
|
|
9245
9666
|
content: {
|
|
9246
|
-
"application/json": components["schemas"]["
|
|
9667
|
+
"application/json": components["schemas"]["UserSignatureResponseDto"];
|
|
9247
9668
|
};
|
|
9248
9669
|
};
|
|
9249
9670
|
/** @description No signature found */
|
|
@@ -9273,9 +9694,15 @@ export interface operations {
|
|
|
9273
9694
|
[name: string]: unknown;
|
|
9274
9695
|
};
|
|
9275
9696
|
content: {
|
|
9276
|
-
"application/json": components["schemas"]["
|
|
9697
|
+
"application/json": components["schemas"]["UserSignatureResponseDto"];
|
|
9277
9698
|
};
|
|
9278
9699
|
};
|
|
9700
|
+
201: {
|
|
9701
|
+
headers: {
|
|
9702
|
+
[name: string]: unknown;
|
|
9703
|
+
};
|
|
9704
|
+
content?: never;
|
|
9705
|
+
};
|
|
9279
9706
|
};
|
|
9280
9707
|
};
|
|
9281
9708
|
SignaturesController_deleteSignature: {
|
|
@@ -9474,6 +9901,14 @@ export interface operations {
|
|
|
9474
9901
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
9475
9902
|
};
|
|
9476
9903
|
};
|
|
9904
|
+
201: {
|
|
9905
|
+
headers: {
|
|
9906
|
+
[name: string]: unknown;
|
|
9907
|
+
};
|
|
9908
|
+
content: {
|
|
9909
|
+
"application/json": Record<string, never>;
|
|
9910
|
+
};
|
|
9911
|
+
};
|
|
9477
9912
|
};
|
|
9478
9913
|
};
|
|
9479
9914
|
ExpensesController_approve: {
|
|
@@ -9495,6 +9930,12 @@ export interface operations {
|
|
|
9495
9930
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
9496
9931
|
};
|
|
9497
9932
|
};
|
|
9933
|
+
201: {
|
|
9934
|
+
headers: {
|
|
9935
|
+
[name: string]: unknown;
|
|
9936
|
+
};
|
|
9937
|
+
content?: never;
|
|
9938
|
+
};
|
|
9498
9939
|
};
|
|
9499
9940
|
};
|
|
9500
9941
|
ExpensesController_reject: {
|
|
@@ -9520,6 +9961,12 @@ export interface operations {
|
|
|
9520
9961
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
9521
9962
|
};
|
|
9522
9963
|
};
|
|
9964
|
+
201: {
|
|
9965
|
+
headers: {
|
|
9966
|
+
[name: string]: unknown;
|
|
9967
|
+
};
|
|
9968
|
+
content?: never;
|
|
9969
|
+
};
|
|
9523
9970
|
};
|
|
9524
9971
|
};
|
|
9525
9972
|
ClientEmailController_findAll: {
|
|
@@ -9650,6 +10097,12 @@ export interface operations {
|
|
|
9650
10097
|
};
|
|
9651
10098
|
content?: never;
|
|
9652
10099
|
};
|
|
10100
|
+
201: {
|
|
10101
|
+
headers: {
|
|
10102
|
+
[name: string]: unknown;
|
|
10103
|
+
};
|
|
10104
|
+
content?: never;
|
|
10105
|
+
};
|
|
9653
10106
|
};
|
|
9654
10107
|
};
|
|
9655
10108
|
InboundEmailController_findAll: {
|
|
@@ -9786,8 +10239,14 @@ export interface operations {
|
|
|
9786
10239
|
[name: string]: unknown;
|
|
9787
10240
|
};
|
|
9788
10241
|
content: {
|
|
9789
|
-
"application/json": components["schemas"]["
|
|
10242
|
+
"application/json": components["schemas"]["SignDocumentResultDto"];
|
|
10243
|
+
};
|
|
10244
|
+
};
|
|
10245
|
+
201: {
|
|
10246
|
+
headers: {
|
|
10247
|
+
[name: string]: unknown;
|
|
9790
10248
|
};
|
|
10249
|
+
content?: never;
|
|
9791
10250
|
};
|
|
9792
10251
|
/** @description Document already signed or link expired */
|
|
9793
10252
|
400: {
|
|
@@ -9830,7 +10289,9 @@ export interface operations {
|
|
|
9830
10289
|
headers: {
|
|
9831
10290
|
[name: string]: unknown;
|
|
9832
10291
|
};
|
|
9833
|
-
content
|
|
10292
|
+
content: {
|
|
10293
|
+
"application/json": Record<string, never>;
|
|
10294
|
+
};
|
|
9834
10295
|
};
|
|
9835
10296
|
};
|
|
9836
10297
|
};
|