@routeflow/types 1.0.7 → 1.0.9
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 +94 -576
- package/dist/exports.d.ts.map +1 -1
- package/dist/exports.js +4 -9
- package/dist/exports.js.map +1 -1
- package/dist/index.d.ts +1205 -113
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/exports.ts +144 -778
- package/src/index.ts +1205 -113
package/dist/index.d.ts
CHANGED
|
@@ -622,6 +622,23 @@ export interface paths {
|
|
|
622
622
|
patch?: never;
|
|
623
623
|
trace?: never;
|
|
624
624
|
};
|
|
625
|
+
"/api/runs/summary": {
|
|
626
|
+
parameters: {
|
|
627
|
+
query?: never;
|
|
628
|
+
header?: never;
|
|
629
|
+
path?: never;
|
|
630
|
+
cookie?: never;
|
|
631
|
+
};
|
|
632
|
+
/** Get run summaries for dashboard (lightweight) */
|
|
633
|
+
get: operations["RunsController_getRunSummaries"];
|
|
634
|
+
put?: never;
|
|
635
|
+
post?: never;
|
|
636
|
+
delete?: never;
|
|
637
|
+
options?: never;
|
|
638
|
+
head?: never;
|
|
639
|
+
patch?: never;
|
|
640
|
+
trace?: never;
|
|
641
|
+
};
|
|
625
642
|
"/api/runs/calendar": {
|
|
626
643
|
parameters: {
|
|
627
644
|
query?: never;
|
|
@@ -2060,6 +2077,40 @@ export interface paths {
|
|
|
2060
2077
|
patch?: never;
|
|
2061
2078
|
trace?: never;
|
|
2062
2079
|
};
|
|
2080
|
+
"/api/drivers/{id}/location": {
|
|
2081
|
+
parameters: {
|
|
2082
|
+
query?: never;
|
|
2083
|
+
header?: never;
|
|
2084
|
+
path?: never;
|
|
2085
|
+
cookie?: never;
|
|
2086
|
+
};
|
|
2087
|
+
/** Get latest location for a driver */
|
|
2088
|
+
get: operations["DriversAdminController_getDriverLocation"];
|
|
2089
|
+
put?: never;
|
|
2090
|
+
post?: never;
|
|
2091
|
+
delete?: never;
|
|
2092
|
+
options?: never;
|
|
2093
|
+
head?: never;
|
|
2094
|
+
patch?: never;
|
|
2095
|
+
trace?: never;
|
|
2096
|
+
};
|
|
2097
|
+
"/api/drivers/{id}/location-history": {
|
|
2098
|
+
parameters: {
|
|
2099
|
+
query?: never;
|
|
2100
|
+
header?: never;
|
|
2101
|
+
path?: never;
|
|
2102
|
+
cookie?: never;
|
|
2103
|
+
};
|
|
2104
|
+
/** Get location history for a driver */
|
|
2105
|
+
get: operations["DriversAdminController_getDriverLocationHistory"];
|
|
2106
|
+
put?: never;
|
|
2107
|
+
post?: never;
|
|
2108
|
+
delete?: never;
|
|
2109
|
+
options?: never;
|
|
2110
|
+
head?: never;
|
|
2111
|
+
patch?: never;
|
|
2112
|
+
trace?: never;
|
|
2113
|
+
};
|
|
2063
2114
|
"/api/ai/chat": {
|
|
2064
2115
|
parameters: {
|
|
2065
2116
|
query?: never;
|
|
@@ -2251,6 +2302,162 @@ export interface paths {
|
|
|
2251
2302
|
patch?: never;
|
|
2252
2303
|
trace?: never;
|
|
2253
2304
|
};
|
|
2305
|
+
"/api/statements": {
|
|
2306
|
+
parameters: {
|
|
2307
|
+
query?: never;
|
|
2308
|
+
header?: never;
|
|
2309
|
+
path?: never;
|
|
2310
|
+
cookie?: never;
|
|
2311
|
+
};
|
|
2312
|
+
/** List all statements */
|
|
2313
|
+
get: operations["StatementsController_findAll"];
|
|
2314
|
+
put?: never;
|
|
2315
|
+
/** Create a driver statement */
|
|
2316
|
+
post: operations["StatementsController_create"];
|
|
2317
|
+
delete?: never;
|
|
2318
|
+
options?: never;
|
|
2319
|
+
head?: never;
|
|
2320
|
+
patch?: never;
|
|
2321
|
+
trace?: never;
|
|
2322
|
+
};
|
|
2323
|
+
"/api/statements/generate": {
|
|
2324
|
+
parameters: {
|
|
2325
|
+
query?: never;
|
|
2326
|
+
header?: never;
|
|
2327
|
+
path?: never;
|
|
2328
|
+
cookie?: never;
|
|
2329
|
+
};
|
|
2330
|
+
get?: never;
|
|
2331
|
+
put?: never;
|
|
2332
|
+
/** Auto-generate statement from completed runs */
|
|
2333
|
+
post: operations["StatementsController_generate"];
|
|
2334
|
+
delete?: never;
|
|
2335
|
+
options?: never;
|
|
2336
|
+
head?: never;
|
|
2337
|
+
patch?: never;
|
|
2338
|
+
trace?: never;
|
|
2339
|
+
};
|
|
2340
|
+
"/api/statements/my": {
|
|
2341
|
+
parameters: {
|
|
2342
|
+
query?: never;
|
|
2343
|
+
header?: never;
|
|
2344
|
+
path?: never;
|
|
2345
|
+
cookie?: never;
|
|
2346
|
+
};
|
|
2347
|
+
/** Get my statements (for drivers) */
|
|
2348
|
+
get: operations["StatementsController_getMyStatements"];
|
|
2349
|
+
put?: never;
|
|
2350
|
+
post?: never;
|
|
2351
|
+
delete?: never;
|
|
2352
|
+
options?: never;
|
|
2353
|
+
head?: never;
|
|
2354
|
+
patch?: never;
|
|
2355
|
+
trace?: never;
|
|
2356
|
+
};
|
|
2357
|
+
"/api/statements/my/summary": {
|
|
2358
|
+
parameters: {
|
|
2359
|
+
query?: never;
|
|
2360
|
+
header?: never;
|
|
2361
|
+
path?: never;
|
|
2362
|
+
cookie?: never;
|
|
2363
|
+
};
|
|
2364
|
+
/** Get my earnings summary (for drivers) */
|
|
2365
|
+
get: operations["StatementsController_getMySummary"];
|
|
2366
|
+
put?: never;
|
|
2367
|
+
post?: never;
|
|
2368
|
+
delete?: never;
|
|
2369
|
+
options?: never;
|
|
2370
|
+
head?: never;
|
|
2371
|
+
patch?: never;
|
|
2372
|
+
trace?: never;
|
|
2373
|
+
};
|
|
2374
|
+
"/api/statements/{id}": {
|
|
2375
|
+
parameters: {
|
|
2376
|
+
query?: never;
|
|
2377
|
+
header?: never;
|
|
2378
|
+
path?: never;
|
|
2379
|
+
cookie?: never;
|
|
2380
|
+
};
|
|
2381
|
+
/** Get statement by ID */
|
|
2382
|
+
get: operations["StatementsController_findOne"];
|
|
2383
|
+
put?: never;
|
|
2384
|
+
post?: never;
|
|
2385
|
+
/** Delete statement */
|
|
2386
|
+
delete: operations["StatementsController_remove"];
|
|
2387
|
+
options?: never;
|
|
2388
|
+
head?: never;
|
|
2389
|
+
/** Update statement */
|
|
2390
|
+
patch: operations["StatementsController_update"];
|
|
2391
|
+
trace?: never;
|
|
2392
|
+
};
|
|
2393
|
+
"/api/statements/{id}/pdf": {
|
|
2394
|
+
parameters: {
|
|
2395
|
+
query?: never;
|
|
2396
|
+
header?: never;
|
|
2397
|
+
path?: never;
|
|
2398
|
+
cookie?: never;
|
|
2399
|
+
};
|
|
2400
|
+
/** Export statement as PDF */
|
|
2401
|
+
get: operations["StatementsController_exportPdf"];
|
|
2402
|
+
put?: never;
|
|
2403
|
+
post?: never;
|
|
2404
|
+
delete?: never;
|
|
2405
|
+
options?: never;
|
|
2406
|
+
head?: never;
|
|
2407
|
+
patch?: never;
|
|
2408
|
+
trace?: never;
|
|
2409
|
+
};
|
|
2410
|
+
"/api/statements/driver/{driverId}/summary": {
|
|
2411
|
+
parameters: {
|
|
2412
|
+
query?: never;
|
|
2413
|
+
header?: never;
|
|
2414
|
+
path?: never;
|
|
2415
|
+
cookie?: never;
|
|
2416
|
+
};
|
|
2417
|
+
/** Get driver earnings summary */
|
|
2418
|
+
get: operations["StatementsController_getDriverSummary"];
|
|
2419
|
+
put?: never;
|
|
2420
|
+
post?: never;
|
|
2421
|
+
delete?: never;
|
|
2422
|
+
options?: never;
|
|
2423
|
+
head?: never;
|
|
2424
|
+
patch?: never;
|
|
2425
|
+
trace?: never;
|
|
2426
|
+
};
|
|
2427
|
+
"/api/statements/{id}/approve": {
|
|
2428
|
+
parameters: {
|
|
2429
|
+
query?: never;
|
|
2430
|
+
header?: never;
|
|
2431
|
+
path?: never;
|
|
2432
|
+
cookie?: never;
|
|
2433
|
+
};
|
|
2434
|
+
get?: never;
|
|
2435
|
+
put?: never;
|
|
2436
|
+
/** Approve statement */
|
|
2437
|
+
post: operations["StatementsController_approve"];
|
|
2438
|
+
delete?: never;
|
|
2439
|
+
options?: never;
|
|
2440
|
+
head?: never;
|
|
2441
|
+
patch?: never;
|
|
2442
|
+
trace?: never;
|
|
2443
|
+
};
|
|
2444
|
+
"/api/statements/{id}/pay": {
|
|
2445
|
+
parameters: {
|
|
2446
|
+
query?: never;
|
|
2447
|
+
header?: never;
|
|
2448
|
+
path?: never;
|
|
2449
|
+
cookie?: never;
|
|
2450
|
+
};
|
|
2451
|
+
get?: never;
|
|
2452
|
+
put?: never;
|
|
2453
|
+
/** Mark statement as paid */
|
|
2454
|
+
post: operations["StatementsController_markPaid"];
|
|
2455
|
+
delete?: never;
|
|
2456
|
+
options?: never;
|
|
2457
|
+
head?: never;
|
|
2458
|
+
patch?: never;
|
|
2459
|
+
trace?: never;
|
|
2460
|
+
};
|
|
2254
2461
|
"/api/referrals": {
|
|
2255
2462
|
parameters: {
|
|
2256
2463
|
query?: never;
|
|
@@ -2914,92 +3121,282 @@ export interface components {
|
|
|
2914
3121
|
name: string;
|
|
2915
3122
|
/** @example 2025-12-09 */
|
|
2916
3123
|
plannedDate: string;
|
|
2917
|
-
};
|
|
2918
|
-
UpdateRunDto: {
|
|
2919
|
-
/** @example Morning Route - Updated */
|
|
2920
|
-
name?: string;
|
|
2921
|
-
/** @example 2025-12-10 */
|
|
2922
|
-
plannedDate?: string;
|
|
2923
|
-
/** @example 2025-12-12 */
|
|
2924
|
-
plannedEndDate?: string;
|
|
2925
3124
|
/**
|
|
2926
|
-
* @description Rate/
|
|
3125
|
+
* @description Rate/pay for this run
|
|
2927
3126
|
* @example 1500
|
|
2928
3127
|
*/
|
|
2929
3128
|
totalPay?: number;
|
|
2930
3129
|
/**
|
|
2931
|
-
* @description
|
|
2932
|
-
* @example
|
|
3130
|
+
* @description Driver to assign immediately
|
|
3131
|
+
* @example uuid
|
|
2933
3132
|
*/
|
|
2934
|
-
|
|
2935
|
-
};
|
|
2936
|
-
AssignDriverDto: {
|
|
2937
|
-
/** @example clxxx... */
|
|
2938
|
-
driverId: string;
|
|
2939
|
-
};
|
|
2940
|
-
CancelRunDto: {
|
|
3133
|
+
driverId?: string;
|
|
2941
3134
|
/**
|
|
2942
|
-
* @description
|
|
2943
|
-
* @example
|
|
2944
|
-
* @enum {string}
|
|
3135
|
+
* @description External load/order number
|
|
3136
|
+
* @example LOAD-12345
|
|
2945
3137
|
*/
|
|
2946
|
-
|
|
3138
|
+
loadNumber?: string;
|
|
2947
3139
|
/**
|
|
2948
|
-
* @description
|
|
2949
|
-
* @example
|
|
2950
|
-
* @enum {string}
|
|
3140
|
+
* @description Customer to link to this run
|
|
3141
|
+
* @example uuid
|
|
2951
3142
|
*/
|
|
2952
|
-
|
|
3143
|
+
customerId?: string;
|
|
2953
3144
|
/**
|
|
2954
|
-
* @description
|
|
2955
|
-
* @example
|
|
3145
|
+
* @description User who gets commission credit for this run
|
|
3146
|
+
* @example uuid
|
|
2956
3147
|
*/
|
|
2957
|
-
|
|
3148
|
+
commissionUserId?: string;
|
|
2958
3149
|
};
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
3150
|
+
OrganizationResponseDto: {
|
|
3151
|
+
id: string;
|
|
3152
|
+
name: string;
|
|
3153
|
+
settings: Record<string, never>;
|
|
3154
|
+
legalName?: string;
|
|
3155
|
+
dbaName?: string;
|
|
3156
|
+
mcNumber?: string;
|
|
3157
|
+
dotNumber?: string;
|
|
3158
|
+
address?: string;
|
|
3159
|
+
city?: string;
|
|
3160
|
+
state?: string;
|
|
3161
|
+
zipCode?: string;
|
|
3162
|
+
phone?: string;
|
|
3163
|
+
email?: string;
|
|
3164
|
+
/** Format: date-time */
|
|
3165
|
+
createdAt: string;
|
|
3166
|
+
/** Format: date-time */
|
|
3167
|
+
updatedAt: string;
|
|
2971
3168
|
};
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
/**
|
|
2985
|
-
|
|
2986
|
-
/**
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3169
|
+
UserResponseDto: {
|
|
3170
|
+
id: string;
|
|
3171
|
+
email?: string;
|
|
3172
|
+
name: string;
|
|
3173
|
+
phone?: string;
|
|
3174
|
+
/** @enum {string} */
|
|
3175
|
+
role: "ADMIN" | "OWNER" | "FLEET_MANAGER" | "DISPATCHER" | "ACCOUNTING" | "DRIVER" | "BROKER";
|
|
3176
|
+
telegramId?: string;
|
|
3177
|
+
language: string;
|
|
3178
|
+
isActive: boolean;
|
|
3179
|
+
orgId: string;
|
|
3180
|
+
org?: components["schemas"]["OrganizationResponseDto"];
|
|
3181
|
+
/** Format: date-time */
|
|
3182
|
+
createdAt: string;
|
|
3183
|
+
/** Format: date-time */
|
|
3184
|
+
updatedAt: string;
|
|
3185
|
+
};
|
|
3186
|
+
DocumentResponseDto: {
|
|
3187
|
+
id: string;
|
|
3188
|
+
/** @enum {string} */
|
|
3189
|
+
type: "BOL" | "POD" | "PHOTO" | "DAMAGE" | "RATE_CONFIRMATION" | "SIGNATURE";
|
|
3190
|
+
fileUrl: string;
|
|
3191
|
+
fileName?: string;
|
|
3192
|
+
mimeType?: string;
|
|
3193
|
+
fileSize?: number;
|
|
3194
|
+
captureLat?: number;
|
|
3195
|
+
captureLng?: number;
|
|
3196
|
+
/** Format: date-time */
|
|
3197
|
+
captureTime?: string;
|
|
3198
|
+
signatureData?: string;
|
|
3199
|
+
signedBy?: string;
|
|
3200
|
+
runId: string;
|
|
3201
|
+
stopId?: string;
|
|
3202
|
+
uploadedById: string;
|
|
3203
|
+
/** Format: date-time */
|
|
3204
|
+
createdAt: string;
|
|
3205
|
+
};
|
|
3206
|
+
StopResponseDto: {
|
|
3207
|
+
id: string;
|
|
3208
|
+
sequence: number;
|
|
3209
|
+
/** @enum {string} */
|
|
3210
|
+
type: "PICKUP" | "DELIVERY";
|
|
3211
|
+
/** @enum {string} */
|
|
3212
|
+
status: "PENDING" | "EN_ROUTE" | "ARRIVED" | "LOADING" | "LOADED" | "DELIVERING" | "DELIVERED" | "EXCEPTION" | "SKIPPED";
|
|
3213
|
+
facilityName?: string;
|
|
3214
|
+
address: string;
|
|
3215
|
+
lat: number;
|
|
3216
|
+
lng: number;
|
|
3217
|
+
contactName?: string;
|
|
3218
|
+
contactPhone?: string;
|
|
3219
|
+
notes?: string;
|
|
3220
|
+
referenceNumber?: string;
|
|
3221
|
+
/** Format: date-time */
|
|
3222
|
+
timeWindowStart?: string;
|
|
3223
|
+
/** Format: date-time */
|
|
3224
|
+
timeWindowEnd?: string;
|
|
3225
|
+
/** Format: date-time */
|
|
3226
|
+
arrivedAt?: string;
|
|
3227
|
+
/** Format: date-time */
|
|
3228
|
+
completedAt?: string;
|
|
3229
|
+
/** Format: date-time */
|
|
3230
|
+
estimatedArrival?: string;
|
|
3231
|
+
/** Format: date-time */
|
|
3232
|
+
estimatedDeparture?: string;
|
|
3233
|
+
etaSource?: string;
|
|
3234
|
+
runId: string;
|
|
3235
|
+
requiredDocs: ("BOL" | "POD" | "PHOTO" | "DAMAGE" | "RATE_CONFIRMATION" | "SIGNATURE")[];
|
|
3236
|
+
documents?: components["schemas"]["DocumentResponseDto"][];
|
|
3237
|
+
/** Format: date-time */
|
|
3238
|
+
createdAt: string;
|
|
3239
|
+
/** Format: date-time */
|
|
3240
|
+
updatedAt: string;
|
|
3241
|
+
};
|
|
3242
|
+
RunResponseDto: {
|
|
3243
|
+
id: string;
|
|
3244
|
+
name: string;
|
|
3245
|
+
loadNumber?: string;
|
|
3246
|
+
/** @enum {string} */
|
|
3247
|
+
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED" | "TONU";
|
|
3248
|
+
/** Format: date-time */
|
|
3249
|
+
plannedDate: string;
|
|
3250
|
+
/** Format: date-time */
|
|
3251
|
+
plannedEndDate?: string;
|
|
3252
|
+
/** Format: date-time */
|
|
3253
|
+
startedAt?: string;
|
|
3254
|
+
/** Format: date-time */
|
|
3255
|
+
completedAt?: string;
|
|
3256
|
+
/** Format: date-time */
|
|
3257
|
+
cancelledAt?: string;
|
|
3258
|
+
/** @enum {string} */
|
|
3259
|
+
cancellationReason?: "CUSTOMER_CANCELLED" | "BROKER_CANCELLED" | "DRIVER_CANCELLED" | "DISPATCHER_CANCELLED" | "EQUIPMENT_ISSUE" | "WEATHER" | "RATE_DISPUTE" | "SCHEDULING_CONFLICT" | "NO_SHOW" | "OTHER";
|
|
3260
|
+
cancellationNotes?: string;
|
|
3261
|
+
totalDistance?: number;
|
|
3262
|
+
totalDuration?: number;
|
|
3263
|
+
totalPay?: number;
|
|
3264
|
+
equipmentType?: string;
|
|
3265
|
+
commodityDesc?: string;
|
|
3266
|
+
weight?: number;
|
|
3267
|
+
orgId: string;
|
|
3268
|
+
driverId?: string;
|
|
3269
|
+
customerId?: string;
|
|
3270
|
+
createdById: string;
|
|
3271
|
+
cancelledById?: string;
|
|
3272
|
+
/** @description User who gets commission credit for this run */
|
|
3273
|
+
commissionUserId?: string;
|
|
3274
|
+
/** @description User who gets commission credit */
|
|
3275
|
+
commissionUser?: components["schemas"]["UserResponseDto"];
|
|
3276
|
+
driver?: components["schemas"]["UserResponseDto"];
|
|
3277
|
+
stops?: components["schemas"]["StopResponseDto"][];
|
|
3278
|
+
documents?: components["schemas"]["DocumentResponseDto"][];
|
|
3279
|
+
/** Format: date-time */
|
|
3280
|
+
createdAt: string;
|
|
3281
|
+
/** Format: date-time */
|
|
3282
|
+
updatedAt: string;
|
|
3283
|
+
};
|
|
3284
|
+
RunSummaryResponseDto: {
|
|
3285
|
+
id: string;
|
|
3286
|
+
name: string;
|
|
3287
|
+
/** @enum {string} */
|
|
3288
|
+
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED" | "TONU";
|
|
3289
|
+
/** Format: date-time */
|
|
3290
|
+
plannedDate: string;
|
|
3291
|
+
driverName?: string;
|
|
3292
|
+
stopsTotal: number;
|
|
3293
|
+
stopsCompleted: number;
|
|
3294
|
+
};
|
|
3295
|
+
UpdateRunDto: {
|
|
3296
|
+
/** @example Morning Route - Updated */
|
|
3297
|
+
name?: string;
|
|
3298
|
+
/** @example 2025-12-10 */
|
|
3299
|
+
plannedDate?: string;
|
|
3300
|
+
/** @example 2025-12-12 */
|
|
3301
|
+
plannedEndDate?: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* @description Rate/Total Pay for the run
|
|
3304
|
+
* @example 1500
|
|
3305
|
+
*/
|
|
3306
|
+
totalPay?: number;
|
|
3307
|
+
/**
|
|
3308
|
+
* @description External load/order number
|
|
3309
|
+
* @example LTL-123456
|
|
3310
|
+
*/
|
|
3311
|
+
loadNumber?: string;
|
|
3312
|
+
/**
|
|
3313
|
+
* @description User who gets commission credit for this run
|
|
3314
|
+
* @example uuid
|
|
3315
|
+
*/
|
|
3316
|
+
commissionUserId?: string;
|
|
3317
|
+
};
|
|
3318
|
+
AssignDriverDto: {
|
|
3319
|
+
/** @example clxxx... */
|
|
3320
|
+
driverId: string;
|
|
3321
|
+
};
|
|
3322
|
+
CancelRunDto: {
|
|
3323
|
+
/**
|
|
3324
|
+
* @description Set to CANCELLED or TONU (Truck Ordered Not Used)
|
|
3325
|
+
* @example CANCELLED
|
|
3326
|
+
* @enum {string}
|
|
3327
|
+
*/
|
|
3328
|
+
status: "CANCELLED" | "TONU";
|
|
3329
|
+
/**
|
|
3330
|
+
* @description Reason for cancellation
|
|
3331
|
+
* @example BROKER_CANCELLED
|
|
3332
|
+
* @enum {string}
|
|
3333
|
+
*/
|
|
3334
|
+
reason: "CUSTOMER_CANCELLED" | "BROKER_CANCELLED" | "DRIVER_CANCELLED" | "DISPATCHER_CANCELLED" | "EQUIPMENT_ISSUE" | "WEATHER" | "RATE_DISPUTE" | "SCHEDULING_CONFLICT" | "NO_SHOW" | "OTHER";
|
|
3335
|
+
/**
|
|
3336
|
+
* @description Additional notes about the cancellation
|
|
3337
|
+
* @example Broker cancelled due to scheduling conflict
|
|
3338
|
+
*/
|
|
3339
|
+
notes?: string;
|
|
3340
|
+
};
|
|
3341
|
+
ReactivateRunDto: {
|
|
3342
|
+
/**
|
|
3343
|
+
* @description Target status to revert to
|
|
3344
|
+
* @example DRAFT
|
|
3345
|
+
* @enum {string}
|
|
3346
|
+
*/
|
|
3347
|
+
targetStatus: "DRAFT" | "DISPATCHED";
|
|
3348
|
+
/**
|
|
3349
|
+
* @description Reason for reactivating the run
|
|
3350
|
+
* @example Customer reinstated the order
|
|
3351
|
+
*/
|
|
3352
|
+
reason?: string;
|
|
3353
|
+
};
|
|
3354
|
+
CreateStopDto: {
|
|
3355
|
+
/** @example 1 */
|
|
3356
|
+
sequence?: number;
|
|
3357
|
+
/**
|
|
3358
|
+
* @example DELIVERY
|
|
3359
|
+
* @enum {string}
|
|
3360
|
+
*/
|
|
3361
|
+
type: "PICKUP" | "DELIVERY";
|
|
3362
|
+
/** @example 123 Main St, New York, NY 10001 */
|
|
3363
|
+
address: string;
|
|
3364
|
+
/** @example 40.7128 */
|
|
3365
|
+
lat: number;
|
|
3366
|
+
/** @example -74.006 */
|
|
3367
|
+
lng: number;
|
|
3368
|
+
/** @example John Smith */
|
|
3369
|
+
contactName?: string;
|
|
3370
|
+
/** @example +1 (555) 123-4567 */
|
|
3371
|
+
contactPhone?: string;
|
|
3372
|
+
/** @example Ring doorbell twice */
|
|
3373
|
+
notes?: string;
|
|
3374
|
+
/** @example 2025-12-09T08:00:00Z */
|
|
3375
|
+
timeWindowStart?: string;
|
|
3376
|
+
/** @example 2025-12-09T12:00:00Z */
|
|
3377
|
+
timeWindowEnd?: string;
|
|
3378
|
+
/**
|
|
3379
|
+
* @example [
|
|
3380
|
+
* "BOL",
|
|
3381
|
+
* "POD"
|
|
3382
|
+
* ]
|
|
3383
|
+
*/
|
|
3002
3384
|
requiredDocs?: ("BOL" | "POD" | "PHOTO" | "DAMAGE" | "RATE_CONFIRMATION" | "SIGNATURE")[];
|
|
3385
|
+
/**
|
|
3386
|
+
* @description Estimated arrival time for this stop
|
|
3387
|
+
* @example 2025-12-09T08:00:00Z
|
|
3388
|
+
*/
|
|
3389
|
+
estimatedArrival?: string;
|
|
3390
|
+
/**
|
|
3391
|
+
* @description Estimated departure time from this stop
|
|
3392
|
+
* @example 2025-12-09T09:00:00Z
|
|
3393
|
+
*/
|
|
3394
|
+
estimatedDeparture?: string;
|
|
3395
|
+
/**
|
|
3396
|
+
* @description Source of ETA: MANUAL | GPS | ROUTE | CALCULATED
|
|
3397
|
+
* @example MANUAL
|
|
3398
|
+
*/
|
|
3399
|
+
etaSource?: string;
|
|
3003
3400
|
};
|
|
3004
3401
|
UpdateStopDto: {
|
|
3005
3402
|
/** @example 1 */
|
|
@@ -3032,6 +3429,21 @@ export interface components {
|
|
|
3032
3429
|
* ]
|
|
3033
3430
|
*/
|
|
3034
3431
|
requiredDocs?: ("BOL" | "POD" | "PHOTO" | "DAMAGE" | "RATE_CONFIRMATION" | "SIGNATURE")[];
|
|
3432
|
+
/**
|
|
3433
|
+
* @description Estimated arrival time for this stop
|
|
3434
|
+
* @example 2025-12-09T08:00:00Z
|
|
3435
|
+
*/
|
|
3436
|
+
estimatedArrival?: string;
|
|
3437
|
+
/**
|
|
3438
|
+
* @description Estimated departure time from this stop
|
|
3439
|
+
* @example 2025-12-09T09:00:00Z
|
|
3440
|
+
*/
|
|
3441
|
+
estimatedDeparture?: string;
|
|
3442
|
+
/**
|
|
3443
|
+
* @description Source of ETA: MANUAL | GPS | ROUTE | CALCULATED
|
|
3444
|
+
* @example MANUAL
|
|
3445
|
+
*/
|
|
3446
|
+
etaSource?: string;
|
|
3035
3447
|
};
|
|
3036
3448
|
ReorderStopsDto: {
|
|
3037
3449
|
/**
|
|
@@ -3224,6 +3636,39 @@ export interface components {
|
|
|
3224
3636
|
/** @description Reason for rejection */
|
|
3225
3637
|
reason?: string;
|
|
3226
3638
|
};
|
|
3639
|
+
ParsedDocumentResponseDto: {
|
|
3640
|
+
id: string;
|
|
3641
|
+
originalFileUrl: string;
|
|
3642
|
+
fileName?: string;
|
|
3643
|
+
mimeType?: string;
|
|
3644
|
+
fileSize?: number;
|
|
3645
|
+
/** @enum {string} */
|
|
3646
|
+
status: "PENDING" | "PROCESSED" | "FAILED" | "NEEDS_REVIEW";
|
|
3647
|
+
parsedData?: Record<string, never>;
|
|
3648
|
+
confidence?: number;
|
|
3649
|
+
errorMessage?: string;
|
|
3650
|
+
createdRunId?: string;
|
|
3651
|
+
matchedCustomerId?: string;
|
|
3652
|
+
suggestedDriverId?: string;
|
|
3653
|
+
uploadedById: string;
|
|
3654
|
+
orgId: string;
|
|
3655
|
+
needsSignature: boolean;
|
|
3656
|
+
signatureData?: string;
|
|
3657
|
+
/** Format: date-time */
|
|
3658
|
+
signedAt?: string;
|
|
3659
|
+
signedByName?: string;
|
|
3660
|
+
signedByEmail?: string;
|
|
3661
|
+
signingToken?: string;
|
|
3662
|
+
/** Format: date-time */
|
|
3663
|
+
signingTokenExp?: string;
|
|
3664
|
+
/** @enum {string} */
|
|
3665
|
+
sourceType: "UPLOAD" | "TELEGRAM" | "EMAIL" | "API";
|
|
3666
|
+
sourceEmailId?: string;
|
|
3667
|
+
/** Format: date-time */
|
|
3668
|
+
createdAt: string;
|
|
3669
|
+
/** Format: date-time */
|
|
3670
|
+
updatedAt: string;
|
|
3671
|
+
};
|
|
3227
3672
|
ParseRateConDto: {
|
|
3228
3673
|
/** @description Base64 encoded PDF file */
|
|
3229
3674
|
fileBase64: string;
|
|
@@ -3289,6 +3734,26 @@ export interface components {
|
|
|
3289
3734
|
errors?: string[];
|
|
3290
3735
|
processingTimeMs: number;
|
|
3291
3736
|
};
|
|
3737
|
+
CompanyDocumentResponseDto: {
|
|
3738
|
+
id: string;
|
|
3739
|
+
/** @enum {string} */
|
|
3740
|
+
type: "INSURANCE" | "W9" | "AUTHORITY" | "NOA" | "VOID_CHECK" | "MC_CERTIFICATE" | "DOT_CERTIFICATE" | "CARGO_INSURANCE" | "LIABILITY_INSURANCE" | "OTHER";
|
|
3741
|
+
name: string;
|
|
3742
|
+
description?: string;
|
|
3743
|
+
fileUrl: string;
|
|
3744
|
+
fileName?: string;
|
|
3745
|
+
mimeType?: string;
|
|
3746
|
+
fileSize?: number;
|
|
3747
|
+
/** Format: date-time */
|
|
3748
|
+
expiryDate?: string;
|
|
3749
|
+
isActive: boolean;
|
|
3750
|
+
orgId: string;
|
|
3751
|
+
uploadedById: string;
|
|
3752
|
+
/** Format: date-time */
|
|
3753
|
+
createdAt: string;
|
|
3754
|
+
/** Format: date-time */
|
|
3755
|
+
updatedAt: string;
|
|
3756
|
+
};
|
|
3292
3757
|
CreateCompanyDocumentDto: {
|
|
3293
3758
|
/**
|
|
3294
3759
|
* @example INSURANCE
|
|
@@ -3351,6 +3816,35 @@ export interface components {
|
|
|
3351
3816
|
/** @example true */
|
|
3352
3817
|
sendSms?: boolean;
|
|
3353
3818
|
};
|
|
3819
|
+
MagicLinkResponseDto: {
|
|
3820
|
+
id: string;
|
|
3821
|
+
token: string;
|
|
3822
|
+
customerEmail?: string;
|
|
3823
|
+
customerPhone?: string;
|
|
3824
|
+
/** Format: date-time */
|
|
3825
|
+
expiresAt: string;
|
|
3826
|
+
runId: string;
|
|
3827
|
+
stopId?: string;
|
|
3828
|
+
/** Format: date-time */
|
|
3829
|
+
createdAt: string;
|
|
3830
|
+
};
|
|
3831
|
+
TrackingStatusResponseDto: {
|
|
3832
|
+
runId: string;
|
|
3833
|
+
runName: string;
|
|
3834
|
+
/** @enum {string} */
|
|
3835
|
+
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED" | "TONU";
|
|
3836
|
+
/** Format: date-time */
|
|
3837
|
+
estimatedArrival?: string;
|
|
3838
|
+
currentStop?: Record<string, never>;
|
|
3839
|
+
stopsTotal: number;
|
|
3840
|
+
stopsCompleted: number;
|
|
3841
|
+
};
|
|
3842
|
+
TrackingLocationResponseDto: {
|
|
3843
|
+
lat: number;
|
|
3844
|
+
lng: number;
|
|
3845
|
+
/** Format: date-time */
|
|
3846
|
+
updatedAt: string;
|
|
3847
|
+
};
|
|
3354
3848
|
CreateTruckDto: {
|
|
3355
3849
|
/** @example TRK-001 */
|
|
3356
3850
|
truckNumber: string;
|
|
@@ -3383,28 +3877,54 @@ export interface components {
|
|
|
3383
3877
|
/** @example New tires installed */
|
|
3384
3878
|
notes?: string;
|
|
3385
3879
|
};
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
truckNumber
|
|
3389
|
-
/** @example 2022 */
|
|
3880
|
+
TruckResponseDto: {
|
|
3881
|
+
id: string;
|
|
3882
|
+
truckNumber: string;
|
|
3390
3883
|
year?: number;
|
|
3391
|
-
/** @example Freightliner */
|
|
3392
3884
|
make?: string;
|
|
3393
|
-
/** @example Cascadia */
|
|
3394
3885
|
model?: string;
|
|
3395
|
-
/** @example 1FUJA6CG8CLBP8472 */
|
|
3396
3886
|
vin?: string;
|
|
3397
|
-
/** @example ABC-1234 */
|
|
3398
3887
|
licensePlate?: string;
|
|
3399
|
-
/**
|
|
3400
|
-
|
|
3401
|
-
* @enum {string}
|
|
3402
|
-
*/
|
|
3403
|
-
status?: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
3404
|
-
/** @example 150000 */
|
|
3888
|
+
/** @enum {string} */
|
|
3889
|
+
status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
3405
3890
|
mileage?: number;
|
|
3406
|
-
/**
|
|
3407
|
-
|
|
3891
|
+
/** @enum {string} */
|
|
3892
|
+
fuelType?: "DIESEL" | "GASOLINE" | "ELECTRIC" | "HYBRID";
|
|
3893
|
+
/** Format: date-time */
|
|
3894
|
+
insuranceExpiry?: string;
|
|
3895
|
+
/** Format: date-time */
|
|
3896
|
+
lastServiceDate?: string;
|
|
3897
|
+
notes?: string;
|
|
3898
|
+
orgId: string;
|
|
3899
|
+
assignedDriverId?: string;
|
|
3900
|
+
assignedDriver?: components["schemas"]["UserResponseDto"];
|
|
3901
|
+
/** Format: date-time */
|
|
3902
|
+
createdAt: string;
|
|
3903
|
+
/** Format: date-time */
|
|
3904
|
+
updatedAt: string;
|
|
3905
|
+
};
|
|
3906
|
+
UpdateTruckDto: {
|
|
3907
|
+
/** @example TRK-001 */
|
|
3908
|
+
truckNumber?: string;
|
|
3909
|
+
/** @example 2022 */
|
|
3910
|
+
year?: number;
|
|
3911
|
+
/** @example Freightliner */
|
|
3912
|
+
make?: string;
|
|
3913
|
+
/** @example Cascadia */
|
|
3914
|
+
model?: string;
|
|
3915
|
+
/** @example 1FUJA6CG8CLBP8472 */
|
|
3916
|
+
vin?: string;
|
|
3917
|
+
/** @example ABC-1234 */
|
|
3918
|
+
licensePlate?: string;
|
|
3919
|
+
/**
|
|
3920
|
+
* @example ACTIVE
|
|
3921
|
+
* @enum {string}
|
|
3922
|
+
*/
|
|
3923
|
+
status?: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
3924
|
+
/** @example 150000 */
|
|
3925
|
+
mileage?: number;
|
|
3926
|
+
/**
|
|
3927
|
+
* @example DIESEL
|
|
3408
3928
|
* @enum {string}
|
|
3409
3929
|
*/
|
|
3410
3930
|
fuelType?: "DIESEL" | "GASOLINE" | "ELECTRIC" | "HYBRID";
|
|
@@ -3447,6 +3967,30 @@ export interface components {
|
|
|
3447
3967
|
/** @example New brakes installed */
|
|
3448
3968
|
notes?: string;
|
|
3449
3969
|
};
|
|
3970
|
+
TrailerResponseDto: {
|
|
3971
|
+
id: string;
|
|
3972
|
+
trailerNumber: string;
|
|
3973
|
+
/** @enum {string} */
|
|
3974
|
+
type: "RGN" | "SD" | "FLATBED" | "REEFER" | "DRY_VAN" | "STEP_DECK" | "LOWBOY";
|
|
3975
|
+
length?: string;
|
|
3976
|
+
weightCapacity?: string;
|
|
3977
|
+
/** @enum {string} */
|
|
3978
|
+
status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
|
|
3979
|
+
vin?: string;
|
|
3980
|
+
licensePlate?: string;
|
|
3981
|
+
/** Format: date-time */
|
|
3982
|
+
registrationExpiry?: string;
|
|
3983
|
+
/** Format: date-time */
|
|
3984
|
+
lastInspectionDate?: string;
|
|
3985
|
+
notes?: string;
|
|
3986
|
+
orgId: string;
|
|
3987
|
+
assignedDriverId?: string;
|
|
3988
|
+
assignedDriver?: components["schemas"]["UserResponseDto"];
|
|
3989
|
+
/** Format: date-time */
|
|
3990
|
+
createdAt: string;
|
|
3991
|
+
/** Format: date-time */
|
|
3992
|
+
updatedAt: string;
|
|
3993
|
+
};
|
|
3450
3994
|
UpdateTrailerDto: {
|
|
3451
3995
|
/** @example TRL-001 */
|
|
3452
3996
|
trailerNumber?: string;
|
|
@@ -3475,6 +4019,69 @@ export interface components {
|
|
|
3475
4019
|
/** @example New brakes installed */
|
|
3476
4020
|
notes?: string;
|
|
3477
4021
|
};
|
|
4022
|
+
DriverResponseDto: {
|
|
4023
|
+
id: string;
|
|
4024
|
+
/** @enum {string} */
|
|
4025
|
+
eldProvider: "SAMSARA" | "GEOTAB" | "MOTIVE" | "MANUAL";
|
|
4026
|
+
eldDriverId?: string;
|
|
4027
|
+
hosAvailableMin?: number;
|
|
4028
|
+
/** Format: date-time */
|
|
4029
|
+
hosUpdatedAt?: string;
|
|
4030
|
+
/** @enum {string} */
|
|
4031
|
+
dispatchStatus: "AVAILABLE" | "HOME" | "IN_TRANSIT" | "INACTIVE" | "SHOP" | "REST" | "DISPATCHED" | "ASSIGNED";
|
|
4032
|
+
userId: string;
|
|
4033
|
+
user?: components["schemas"]["UserResponseDto"];
|
|
4034
|
+
name?: string;
|
|
4035
|
+
phone?: string;
|
|
4036
|
+
email?: string;
|
|
4037
|
+
telegramId?: string;
|
|
4038
|
+
org?: components["schemas"]["OrganizationResponseDto"];
|
|
4039
|
+
assignedTruck?: components["schemas"]["TruckResponseDto"];
|
|
4040
|
+
assignedTrailer?: components["schemas"]["TrailerResponseDto"];
|
|
4041
|
+
streetAddress?: string;
|
|
4042
|
+
city?: string;
|
|
4043
|
+
state?: string;
|
|
4044
|
+
zipCode?: string;
|
|
4045
|
+
country?: string;
|
|
4046
|
+
emergencyName?: string;
|
|
4047
|
+
emergencyPhone?: string;
|
|
4048
|
+
/** @enum {string} */
|
|
4049
|
+
employmentStatus?: "ACTIVE" | "TERMINATED" | "APPLICANT";
|
|
4050
|
+
/** Format: date-time */
|
|
4051
|
+
hireDate?: string;
|
|
4052
|
+
/** Format: date-time */
|
|
4053
|
+
terminationDate?: string;
|
|
4054
|
+
cdlNumber?: string;
|
|
4055
|
+
cdlState?: string;
|
|
4056
|
+
/** @enum {string} */
|
|
4057
|
+
cdlClass?: "A" | "B" | "C";
|
|
4058
|
+
/** Format: date-time */
|
|
4059
|
+
cdlExpiry?: string;
|
|
4060
|
+
cdlEndorsements?: string[];
|
|
4061
|
+
medicalCardNumber?: string;
|
|
4062
|
+
/** Format: date-time */
|
|
4063
|
+
medicalCardExpiry?: string;
|
|
4064
|
+
/** Format: date-time */
|
|
4065
|
+
medicalExamDate?: string;
|
|
4066
|
+
medicalExaminer?: string;
|
|
4067
|
+
/** @enum {string} */
|
|
4068
|
+
complianceStatus?: "COMPLIANT" | "WARNING" | "EXPIRED" | "PENDING";
|
|
4069
|
+
complianceNotes?: string;
|
|
4070
|
+
teamDriverId?: string;
|
|
4071
|
+
teamDriver?: components["schemas"]["DriverResponseDto"];
|
|
4072
|
+
teamPartner?: components["schemas"]["DriverResponseDto"];
|
|
4073
|
+
isTeamLead?: boolean;
|
|
4074
|
+
/** Format: date-time */
|
|
4075
|
+
teamStartDate?: string;
|
|
4076
|
+
/** @enum {string} */
|
|
4077
|
+
driverType?: "SOLO" | "TEAM";
|
|
4078
|
+
assignedDispatcherId?: string;
|
|
4079
|
+
assignedDispatcher?: components["schemas"]["UserResponseDto"];
|
|
4080
|
+
/** Format: date-time */
|
|
4081
|
+
createdAt: string;
|
|
4082
|
+
/** Format: date-time */
|
|
4083
|
+
updatedAt: string;
|
|
4084
|
+
};
|
|
3478
4085
|
UpdateDriverDto: {
|
|
3479
4086
|
/** @example 123 Main St */
|
|
3480
4087
|
streetAddress?: string;
|
|
@@ -3549,6 +4156,19 @@ export interface components {
|
|
|
3549
4156
|
*/
|
|
3550
4157
|
asTeamLead?: boolean;
|
|
3551
4158
|
};
|
|
4159
|
+
DriverLocationResponseDto: {
|
|
4160
|
+
id: string;
|
|
4161
|
+
lat: number;
|
|
4162
|
+
lng: number;
|
|
4163
|
+
heading?: number;
|
|
4164
|
+
speed?: number;
|
|
4165
|
+
accuracy?: number;
|
|
4166
|
+
/** Format: date-time */
|
|
4167
|
+
recordedAt: string;
|
|
4168
|
+
driverId: string;
|
|
4169
|
+
/** Format: date-time */
|
|
4170
|
+
createdAt: string;
|
|
4171
|
+
};
|
|
3552
4172
|
ChatMessageDto: {
|
|
3553
4173
|
/** @enum {string} */
|
|
3554
4174
|
role: "user" | "assistant" | "system";
|
|
@@ -3693,6 +4313,93 @@ export interface components {
|
|
|
3693
4313
|
MarkReadDto: {
|
|
3694
4314
|
messageIds: string[];
|
|
3695
4315
|
};
|
|
4316
|
+
StatementLineItem: {
|
|
4317
|
+
description: string;
|
|
4318
|
+
type: string;
|
|
4319
|
+
amount: number;
|
|
4320
|
+
runId?: string;
|
|
4321
|
+
loadNumber?: string;
|
|
4322
|
+
};
|
|
4323
|
+
CreateStatementDto: {
|
|
4324
|
+
/** @description Driver user ID */
|
|
4325
|
+
driverId: string;
|
|
4326
|
+
/** @example 2025-01-01 */
|
|
4327
|
+
periodStart: string;
|
|
4328
|
+
/** @example 2025-01-15 */
|
|
4329
|
+
periodEnd: string;
|
|
4330
|
+
/** @default 0 */
|
|
4331
|
+
totalMiles: number;
|
|
4332
|
+
/** @default 0 */
|
|
4333
|
+
totalLoads: number;
|
|
4334
|
+
/** @example 5000 */
|
|
4335
|
+
grossPay: number;
|
|
4336
|
+
/** @default 0 */
|
|
4337
|
+
deductions: number;
|
|
4338
|
+
/** @example 4500 */
|
|
4339
|
+
netPay: number;
|
|
4340
|
+
lineItems?: components["schemas"]["StatementLineItem"][];
|
|
4341
|
+
notes?: string;
|
|
4342
|
+
};
|
|
4343
|
+
StatementResponseDto: {
|
|
4344
|
+
id: string;
|
|
4345
|
+
/** Format: date-time */
|
|
4346
|
+
periodStart: string;
|
|
4347
|
+
/** Format: date-time */
|
|
4348
|
+
periodEnd: string;
|
|
4349
|
+
/** @enum {string} */
|
|
4350
|
+
status: "DRAFT" | "PENDING" | "APPROVED" | "PAID";
|
|
4351
|
+
totalMiles: number;
|
|
4352
|
+
totalLoads: number;
|
|
4353
|
+
grossPay: number;
|
|
4354
|
+
deductions: number;
|
|
4355
|
+
netPay: number;
|
|
4356
|
+
lineItems?: string[];
|
|
4357
|
+
notes?: string;
|
|
4358
|
+
/** Format: date-time */
|
|
4359
|
+
paidAt?: string;
|
|
4360
|
+
/** Format: date-time */
|
|
4361
|
+
createdAt: string;
|
|
4362
|
+
/** Format: date-time */
|
|
4363
|
+
updatedAt: string;
|
|
4364
|
+
driverId: string;
|
|
4365
|
+
driver?: Record<string, never>;
|
|
4366
|
+
};
|
|
4367
|
+
GenerateStatementDto: {
|
|
4368
|
+
/** @description Driver user ID */
|
|
4369
|
+
driverId: string;
|
|
4370
|
+
/** @example 2025-01-01 */
|
|
4371
|
+
periodStart: string;
|
|
4372
|
+
/** @example 2025-01-15 */
|
|
4373
|
+
periodEnd: string;
|
|
4374
|
+
};
|
|
4375
|
+
StatementListResponseDto: {
|
|
4376
|
+
data: components["schemas"]["StatementResponseDto"][];
|
|
4377
|
+
total: number;
|
|
4378
|
+
page: number;
|
|
4379
|
+
limit: number;
|
|
4380
|
+
};
|
|
4381
|
+
UpdateStatementDto: {
|
|
4382
|
+
/** @description Driver user ID */
|
|
4383
|
+
driverId?: string;
|
|
4384
|
+
/** @example 2025-01-01 */
|
|
4385
|
+
periodStart?: string;
|
|
4386
|
+
/** @example 2025-01-15 */
|
|
4387
|
+
periodEnd?: string;
|
|
4388
|
+
/** @default 0 */
|
|
4389
|
+
totalMiles: number;
|
|
4390
|
+
/** @default 0 */
|
|
4391
|
+
totalLoads: number;
|
|
4392
|
+
/** @example 5000 */
|
|
4393
|
+
grossPay?: number;
|
|
4394
|
+
/** @default 0 */
|
|
4395
|
+
deductions: number;
|
|
4396
|
+
/** @example 4500 */
|
|
4397
|
+
netPay?: number;
|
|
4398
|
+
lineItems?: components["schemas"]["StatementLineItem"][];
|
|
4399
|
+
notes?: string;
|
|
4400
|
+
/** @enum {string} */
|
|
4401
|
+
status?: "DRAFT" | "PENDING" | "APPROVED" | "PAID";
|
|
4402
|
+
};
|
|
3696
4403
|
CreateReferralDto: {
|
|
3697
4404
|
/** @description Custom referral code (auto-generated if not provided) */
|
|
3698
4405
|
code?: string;
|
|
@@ -4086,6 +4793,8 @@ export interface components {
|
|
|
4086
4793
|
forwarded?: boolean;
|
|
4087
4794
|
/** @description Email addresses it was forwarded to */
|
|
4088
4795
|
forwardedTo?: string[];
|
|
4796
|
+
/** @description URL to download signed PDF */
|
|
4797
|
+
signedPdfUrl?: string;
|
|
4089
4798
|
};
|
|
4090
4799
|
};
|
|
4091
4800
|
responses: never;
|
|
@@ -5008,7 +5717,9 @@ export interface operations {
|
|
|
5008
5717
|
headers: {
|
|
5009
5718
|
[name: string]: unknown;
|
|
5010
5719
|
};
|
|
5011
|
-
content
|
|
5720
|
+
content: {
|
|
5721
|
+
"application/json": components["schemas"]["RunResponseDto"];
|
|
5722
|
+
};
|
|
5012
5723
|
};
|
|
5013
5724
|
};
|
|
5014
5725
|
};
|
|
@@ -5030,6 +5741,29 @@ export interface operations {
|
|
|
5030
5741
|
};
|
|
5031
5742
|
};
|
|
5032
5743
|
};
|
|
5744
|
+
RunsController_getRunSummaries: {
|
|
5745
|
+
parameters: {
|
|
5746
|
+
query?: {
|
|
5747
|
+
status?: string;
|
|
5748
|
+
limit?: number;
|
|
5749
|
+
};
|
|
5750
|
+
header?: never;
|
|
5751
|
+
path?: never;
|
|
5752
|
+
cookie?: never;
|
|
5753
|
+
};
|
|
5754
|
+
requestBody?: never;
|
|
5755
|
+
responses: {
|
|
5756
|
+
/** @description List of run summaries */
|
|
5757
|
+
200: {
|
|
5758
|
+
headers: {
|
|
5759
|
+
[name: string]: unknown;
|
|
5760
|
+
};
|
|
5761
|
+
content: {
|
|
5762
|
+
"application/json": components["schemas"]["RunSummaryResponseDto"][];
|
|
5763
|
+
};
|
|
5764
|
+
};
|
|
5765
|
+
};
|
|
5766
|
+
};
|
|
5033
5767
|
RunsController_getCalendar: {
|
|
5034
5768
|
parameters: {
|
|
5035
5769
|
query: {
|
|
@@ -5859,7 +6593,9 @@ export interface operations {
|
|
|
5859
6593
|
headers: {
|
|
5860
6594
|
[name: string]: unknown;
|
|
5861
6595
|
};
|
|
5862
|
-
content
|
|
6596
|
+
content: {
|
|
6597
|
+
"application/json": components["schemas"]["ParsedDocumentResponseDto"][];
|
|
6598
|
+
};
|
|
5863
6599
|
};
|
|
5864
6600
|
};
|
|
5865
6601
|
};
|
|
@@ -6036,7 +6772,9 @@ export interface operations {
|
|
|
6036
6772
|
headers: {
|
|
6037
6773
|
[name: string]: unknown;
|
|
6038
6774
|
};
|
|
6039
|
-
content
|
|
6775
|
+
content: {
|
|
6776
|
+
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
6777
|
+
};
|
|
6040
6778
|
};
|
|
6041
6779
|
};
|
|
6042
6780
|
};
|
|
@@ -6084,7 +6822,9 @@ export interface operations {
|
|
|
6084
6822
|
headers: {
|
|
6085
6823
|
[name: string]: unknown;
|
|
6086
6824
|
};
|
|
6087
|
-
content
|
|
6825
|
+
content: {
|
|
6826
|
+
"application/json": components["schemas"]["CompanyDocumentResponseDto"][];
|
|
6827
|
+
};
|
|
6088
6828
|
};
|
|
6089
6829
|
};
|
|
6090
6830
|
};
|
|
@@ -6106,7 +6846,9 @@ export interface operations {
|
|
|
6106
6846
|
headers: {
|
|
6107
6847
|
[name: string]: unknown;
|
|
6108
6848
|
};
|
|
6109
|
-
content
|
|
6849
|
+
content: {
|
|
6850
|
+
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
6851
|
+
};
|
|
6110
6852
|
};
|
|
6111
6853
|
};
|
|
6112
6854
|
};
|
|
@@ -6126,7 +6868,9 @@ export interface operations {
|
|
|
6126
6868
|
headers: {
|
|
6127
6869
|
[name: string]: unknown;
|
|
6128
6870
|
};
|
|
6129
|
-
content
|
|
6871
|
+
content: {
|
|
6872
|
+
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
6873
|
+
};
|
|
6130
6874
|
};
|
|
6131
6875
|
};
|
|
6132
6876
|
};
|
|
@@ -6166,7 +6910,9 @@ export interface operations {
|
|
|
6166
6910
|
headers: {
|
|
6167
6911
|
[name: string]: unknown;
|
|
6168
6912
|
};
|
|
6169
|
-
content
|
|
6913
|
+
content: {
|
|
6914
|
+
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
6915
|
+
};
|
|
6170
6916
|
};
|
|
6171
6917
|
};
|
|
6172
6918
|
};
|
|
@@ -6347,7 +7093,9 @@ export interface operations {
|
|
|
6347
7093
|
headers: {
|
|
6348
7094
|
[name: string]: unknown;
|
|
6349
7095
|
};
|
|
6350
|
-
content
|
|
7096
|
+
content: {
|
|
7097
|
+
"application/json": components["schemas"]["MagicLinkResponseDto"];
|
|
7098
|
+
};
|
|
6351
7099
|
};
|
|
6352
7100
|
};
|
|
6353
7101
|
};
|
|
@@ -6367,7 +7115,9 @@ export interface operations {
|
|
|
6367
7115
|
headers: {
|
|
6368
7116
|
[name: string]: unknown;
|
|
6369
7117
|
};
|
|
6370
|
-
content
|
|
7118
|
+
content: {
|
|
7119
|
+
"application/json": components["schemas"]["TrackingStatusResponseDto"];
|
|
7120
|
+
};
|
|
6371
7121
|
};
|
|
6372
7122
|
};
|
|
6373
7123
|
};
|
|
@@ -6387,7 +7137,9 @@ export interface operations {
|
|
|
6387
7137
|
headers: {
|
|
6388
7138
|
[name: string]: unknown;
|
|
6389
7139
|
};
|
|
6390
|
-
content
|
|
7140
|
+
content: {
|
|
7141
|
+
"application/json": components["schemas"]["TrackingLocationResponseDto"];
|
|
7142
|
+
};
|
|
6391
7143
|
};
|
|
6392
7144
|
};
|
|
6393
7145
|
};
|
|
@@ -6407,7 +7159,9 @@ export interface operations {
|
|
|
6407
7159
|
headers: {
|
|
6408
7160
|
[name: string]: unknown;
|
|
6409
7161
|
};
|
|
6410
|
-
content
|
|
7162
|
+
content: {
|
|
7163
|
+
"application/json": components["schemas"]["MagicLinkResponseDto"][];
|
|
7164
|
+
};
|
|
6411
7165
|
};
|
|
6412
7166
|
};
|
|
6413
7167
|
};
|
|
@@ -6430,7 +7184,9 @@ export interface operations {
|
|
|
6430
7184
|
headers: {
|
|
6431
7185
|
[name: string]: unknown;
|
|
6432
7186
|
};
|
|
6433
|
-
content
|
|
7187
|
+
content: {
|
|
7188
|
+
"application/json": components["schemas"]["TruckResponseDto"][];
|
|
7189
|
+
};
|
|
6434
7190
|
};
|
|
6435
7191
|
};
|
|
6436
7192
|
};
|
|
@@ -6452,7 +7208,9 @@ export interface operations {
|
|
|
6452
7208
|
headers: {
|
|
6453
7209
|
[name: string]: unknown;
|
|
6454
7210
|
};
|
|
6455
|
-
content
|
|
7211
|
+
content: {
|
|
7212
|
+
"application/json": components["schemas"]["TruckResponseDto"];
|
|
7213
|
+
};
|
|
6456
7214
|
};
|
|
6457
7215
|
};
|
|
6458
7216
|
};
|
|
@@ -6472,7 +7230,9 @@ export interface operations {
|
|
|
6472
7230
|
headers: {
|
|
6473
7231
|
[name: string]: unknown;
|
|
6474
7232
|
};
|
|
6475
|
-
content
|
|
7233
|
+
content: {
|
|
7234
|
+
"application/json": components["schemas"]["TruckResponseDto"];
|
|
7235
|
+
};
|
|
6476
7236
|
};
|
|
6477
7237
|
};
|
|
6478
7238
|
};
|
|
@@ -6516,7 +7276,9 @@ export interface operations {
|
|
|
6516
7276
|
headers: {
|
|
6517
7277
|
[name: string]: unknown;
|
|
6518
7278
|
};
|
|
6519
|
-
content
|
|
7279
|
+
content: {
|
|
7280
|
+
"application/json": components["schemas"]["TruckResponseDto"];
|
|
7281
|
+
};
|
|
6520
7282
|
};
|
|
6521
7283
|
};
|
|
6522
7284
|
};
|
|
@@ -6584,7 +7346,9 @@ export interface operations {
|
|
|
6584
7346
|
headers: {
|
|
6585
7347
|
[name: string]: unknown;
|
|
6586
7348
|
};
|
|
6587
|
-
content
|
|
7349
|
+
content: {
|
|
7350
|
+
"application/json": components["schemas"]["TrailerResponseDto"][];
|
|
7351
|
+
};
|
|
6588
7352
|
};
|
|
6589
7353
|
};
|
|
6590
7354
|
};
|
|
@@ -6606,7 +7370,9 @@ export interface operations {
|
|
|
6606
7370
|
headers: {
|
|
6607
7371
|
[name: string]: unknown;
|
|
6608
7372
|
};
|
|
6609
|
-
content
|
|
7373
|
+
content: {
|
|
7374
|
+
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
7375
|
+
};
|
|
6610
7376
|
};
|
|
6611
7377
|
};
|
|
6612
7378
|
};
|
|
@@ -6626,7 +7392,9 @@ export interface operations {
|
|
|
6626
7392
|
headers: {
|
|
6627
7393
|
[name: string]: unknown;
|
|
6628
7394
|
};
|
|
6629
|
-
content
|
|
7395
|
+
content: {
|
|
7396
|
+
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
7397
|
+
};
|
|
6630
7398
|
};
|
|
6631
7399
|
};
|
|
6632
7400
|
};
|
|
@@ -6670,7 +7438,9 @@ export interface operations {
|
|
|
6670
7438
|
headers: {
|
|
6671
7439
|
[name: string]: unknown;
|
|
6672
7440
|
};
|
|
6673
|
-
content
|
|
7441
|
+
content: {
|
|
7442
|
+
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
7443
|
+
};
|
|
6674
7444
|
};
|
|
6675
7445
|
};
|
|
6676
7446
|
};
|
|
@@ -6916,7 +7686,9 @@ export interface operations {
|
|
|
6916
7686
|
headers: {
|
|
6917
7687
|
[name: string]: unknown;
|
|
6918
7688
|
};
|
|
6919
|
-
content
|
|
7689
|
+
content: {
|
|
7690
|
+
"application/json": components["schemas"]["RunResponseDto"];
|
|
7691
|
+
};
|
|
6920
7692
|
};
|
|
6921
7693
|
};
|
|
6922
7694
|
};
|
|
@@ -6940,7 +7712,9 @@ export interface operations {
|
|
|
6940
7712
|
headers: {
|
|
6941
7713
|
[name: string]: unknown;
|
|
6942
7714
|
};
|
|
6943
|
-
content
|
|
7715
|
+
content: {
|
|
7716
|
+
"application/json": components["schemas"]["RunResponseDto"][];
|
|
7717
|
+
};
|
|
6944
7718
|
};
|
|
6945
7719
|
};
|
|
6946
7720
|
};
|
|
@@ -6961,7 +7735,9 @@ export interface operations {
|
|
|
6961
7735
|
headers: {
|
|
6962
7736
|
[name: string]: unknown;
|
|
6963
7737
|
};
|
|
6964
|
-
content
|
|
7738
|
+
content: {
|
|
7739
|
+
"application/json": components["schemas"]["DriverResponseDto"];
|
|
7740
|
+
};
|
|
6965
7741
|
};
|
|
6966
7742
|
};
|
|
6967
7743
|
};
|
|
@@ -6981,7 +7757,9 @@ export interface operations {
|
|
|
6981
7757
|
headers: {
|
|
6982
7758
|
[name: string]: unknown;
|
|
6983
7759
|
};
|
|
6984
|
-
content
|
|
7760
|
+
content: {
|
|
7761
|
+
"application/json": components["schemas"]["DriverResponseDto"];
|
|
7762
|
+
};
|
|
6985
7763
|
};
|
|
6986
7764
|
};
|
|
6987
7765
|
};
|
|
@@ -7005,7 +7783,9 @@ export interface operations {
|
|
|
7005
7783
|
headers: {
|
|
7006
7784
|
[name: string]: unknown;
|
|
7007
7785
|
};
|
|
7008
|
-
content
|
|
7786
|
+
content: {
|
|
7787
|
+
"application/json": components["schemas"]["DriverResponseDto"];
|
|
7788
|
+
};
|
|
7009
7789
|
};
|
|
7010
7790
|
};
|
|
7011
7791
|
};
|
|
@@ -7029,7 +7809,9 @@ export interface operations {
|
|
|
7029
7809
|
headers: {
|
|
7030
7810
|
[name: string]: unknown;
|
|
7031
7811
|
};
|
|
7032
|
-
content
|
|
7812
|
+
content: {
|
|
7813
|
+
"application/json": components["schemas"]["DriverResponseDto"];
|
|
7814
|
+
};
|
|
7033
7815
|
};
|
|
7034
7816
|
};
|
|
7035
7817
|
};
|
|
@@ -7158,7 +7940,56 @@ export interface operations {
|
|
|
7158
7940
|
headers: {
|
|
7159
7941
|
[name: string]: unknown;
|
|
7160
7942
|
};
|
|
7161
|
-
content
|
|
7943
|
+
content: {
|
|
7944
|
+
"application/json": components["schemas"]["RunResponseDto"][];
|
|
7945
|
+
};
|
|
7946
|
+
};
|
|
7947
|
+
};
|
|
7948
|
+
};
|
|
7949
|
+
DriversAdminController_getDriverLocation: {
|
|
7950
|
+
parameters: {
|
|
7951
|
+
query?: never;
|
|
7952
|
+
header?: never;
|
|
7953
|
+
path: {
|
|
7954
|
+
id: string;
|
|
7955
|
+
};
|
|
7956
|
+
cookie?: never;
|
|
7957
|
+
};
|
|
7958
|
+
requestBody?: never;
|
|
7959
|
+
responses: {
|
|
7960
|
+
/** @description Latest driver location */
|
|
7961
|
+
200: {
|
|
7962
|
+
headers: {
|
|
7963
|
+
[name: string]: unknown;
|
|
7964
|
+
};
|
|
7965
|
+
content: {
|
|
7966
|
+
"application/json": components["schemas"]["DriverLocationResponseDto"];
|
|
7967
|
+
};
|
|
7968
|
+
};
|
|
7969
|
+
};
|
|
7970
|
+
};
|
|
7971
|
+
DriversAdminController_getDriverLocationHistory: {
|
|
7972
|
+
parameters: {
|
|
7973
|
+
query: {
|
|
7974
|
+
startTime: string;
|
|
7975
|
+
endTime: string;
|
|
7976
|
+
};
|
|
7977
|
+
header?: never;
|
|
7978
|
+
path: {
|
|
7979
|
+
id: string;
|
|
7980
|
+
};
|
|
7981
|
+
cookie?: never;
|
|
7982
|
+
};
|
|
7983
|
+
requestBody?: never;
|
|
7984
|
+
responses: {
|
|
7985
|
+
/** @description Driver location history */
|
|
7986
|
+
200: {
|
|
7987
|
+
headers: {
|
|
7988
|
+
[name: string]: unknown;
|
|
7989
|
+
};
|
|
7990
|
+
content: {
|
|
7991
|
+
"application/json": components["schemas"]["DriverLocationResponseDto"][];
|
|
7992
|
+
};
|
|
7162
7993
|
};
|
|
7163
7994
|
};
|
|
7164
7995
|
};
|
|
@@ -7481,6 +8312,267 @@ export interface operations {
|
|
|
7481
8312
|
};
|
|
7482
8313
|
};
|
|
7483
8314
|
};
|
|
8315
|
+
StatementsController_findAll: {
|
|
8316
|
+
parameters: {
|
|
8317
|
+
query?: {
|
|
8318
|
+
page?: number;
|
|
8319
|
+
limit?: number;
|
|
8320
|
+
driverId?: string;
|
|
8321
|
+
status?: "DRAFT" | "PENDING" | "APPROVED" | "PAID";
|
|
8322
|
+
};
|
|
8323
|
+
header?: never;
|
|
8324
|
+
path?: never;
|
|
8325
|
+
cookie?: never;
|
|
8326
|
+
};
|
|
8327
|
+
requestBody?: never;
|
|
8328
|
+
responses: {
|
|
8329
|
+
/** @description List of statements */
|
|
8330
|
+
200: {
|
|
8331
|
+
headers: {
|
|
8332
|
+
[name: string]: unknown;
|
|
8333
|
+
};
|
|
8334
|
+
content: {
|
|
8335
|
+
"application/json": components["schemas"]["StatementListResponseDto"];
|
|
8336
|
+
};
|
|
8337
|
+
};
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
8340
|
+
StatementsController_create: {
|
|
8341
|
+
parameters: {
|
|
8342
|
+
query?: never;
|
|
8343
|
+
header?: never;
|
|
8344
|
+
path?: never;
|
|
8345
|
+
cookie?: never;
|
|
8346
|
+
};
|
|
8347
|
+
requestBody: {
|
|
8348
|
+
content: {
|
|
8349
|
+
"application/json": components["schemas"]["CreateStatementDto"];
|
|
8350
|
+
};
|
|
8351
|
+
};
|
|
8352
|
+
responses: {
|
|
8353
|
+
/** @description Statement created successfully */
|
|
8354
|
+
201: {
|
|
8355
|
+
headers: {
|
|
8356
|
+
[name: string]: unknown;
|
|
8357
|
+
};
|
|
8358
|
+
content: {
|
|
8359
|
+
"application/json": components["schemas"]["StatementResponseDto"];
|
|
8360
|
+
};
|
|
8361
|
+
};
|
|
8362
|
+
};
|
|
8363
|
+
};
|
|
8364
|
+
StatementsController_generate: {
|
|
8365
|
+
parameters: {
|
|
8366
|
+
query?: never;
|
|
8367
|
+
header?: never;
|
|
8368
|
+
path?: never;
|
|
8369
|
+
cookie?: never;
|
|
8370
|
+
};
|
|
8371
|
+
requestBody: {
|
|
8372
|
+
content: {
|
|
8373
|
+
"application/json": components["schemas"]["GenerateStatementDto"];
|
|
8374
|
+
};
|
|
8375
|
+
};
|
|
8376
|
+
responses: {
|
|
8377
|
+
/** @description Statement generated successfully */
|
|
8378
|
+
201: {
|
|
8379
|
+
headers: {
|
|
8380
|
+
[name: string]: unknown;
|
|
8381
|
+
};
|
|
8382
|
+
content: {
|
|
8383
|
+
"application/json": components["schemas"]["StatementResponseDto"];
|
|
8384
|
+
};
|
|
8385
|
+
};
|
|
8386
|
+
};
|
|
8387
|
+
};
|
|
8388
|
+
StatementsController_getMyStatements: {
|
|
8389
|
+
parameters: {
|
|
8390
|
+
query?: never;
|
|
8391
|
+
header?: never;
|
|
8392
|
+
path?: never;
|
|
8393
|
+
cookie?: never;
|
|
8394
|
+
};
|
|
8395
|
+
requestBody?: never;
|
|
8396
|
+
responses: {
|
|
8397
|
+
/** @description Driver statements */
|
|
8398
|
+
200: {
|
|
8399
|
+
headers: {
|
|
8400
|
+
[name: string]: unknown;
|
|
8401
|
+
};
|
|
8402
|
+
content: {
|
|
8403
|
+
"application/json": components["schemas"]["StatementResponseDto"][];
|
|
8404
|
+
};
|
|
8405
|
+
};
|
|
8406
|
+
};
|
|
8407
|
+
};
|
|
8408
|
+
StatementsController_getMySummary: {
|
|
8409
|
+
parameters: {
|
|
8410
|
+
query?: never;
|
|
8411
|
+
header?: never;
|
|
8412
|
+
path?: never;
|
|
8413
|
+
cookie?: never;
|
|
8414
|
+
};
|
|
8415
|
+
requestBody?: never;
|
|
8416
|
+
responses: {
|
|
8417
|
+
/** @description Earnings summary */
|
|
8418
|
+
200: {
|
|
8419
|
+
headers: {
|
|
8420
|
+
[name: string]: unknown;
|
|
8421
|
+
};
|
|
8422
|
+
content?: never;
|
|
8423
|
+
};
|
|
8424
|
+
};
|
|
8425
|
+
};
|
|
8426
|
+
StatementsController_findOne: {
|
|
8427
|
+
parameters: {
|
|
8428
|
+
query?: never;
|
|
8429
|
+
header?: never;
|
|
8430
|
+
path: {
|
|
8431
|
+
id: string;
|
|
8432
|
+
};
|
|
8433
|
+
cookie?: never;
|
|
8434
|
+
};
|
|
8435
|
+
requestBody?: never;
|
|
8436
|
+
responses: {
|
|
8437
|
+
/** @description Statement details */
|
|
8438
|
+
200: {
|
|
8439
|
+
headers: {
|
|
8440
|
+
[name: string]: unknown;
|
|
8441
|
+
};
|
|
8442
|
+
content: {
|
|
8443
|
+
"application/json": components["schemas"]["StatementResponseDto"];
|
|
8444
|
+
};
|
|
8445
|
+
};
|
|
8446
|
+
};
|
|
8447
|
+
};
|
|
8448
|
+
StatementsController_remove: {
|
|
8449
|
+
parameters: {
|
|
8450
|
+
query?: never;
|
|
8451
|
+
header?: never;
|
|
8452
|
+
path: {
|
|
8453
|
+
id: string;
|
|
8454
|
+
};
|
|
8455
|
+
cookie?: never;
|
|
8456
|
+
};
|
|
8457
|
+
requestBody?: never;
|
|
8458
|
+
responses: {
|
|
8459
|
+
/** @description Statement deleted successfully */
|
|
8460
|
+
200: {
|
|
8461
|
+
headers: {
|
|
8462
|
+
[name: string]: unknown;
|
|
8463
|
+
};
|
|
8464
|
+
content?: never;
|
|
8465
|
+
};
|
|
8466
|
+
};
|
|
8467
|
+
};
|
|
8468
|
+
StatementsController_update: {
|
|
8469
|
+
parameters: {
|
|
8470
|
+
query?: never;
|
|
8471
|
+
header?: never;
|
|
8472
|
+
path: {
|
|
8473
|
+
id: string;
|
|
8474
|
+
};
|
|
8475
|
+
cookie?: never;
|
|
8476
|
+
};
|
|
8477
|
+
requestBody: {
|
|
8478
|
+
content: {
|
|
8479
|
+
"application/json": components["schemas"]["UpdateStatementDto"];
|
|
8480
|
+
};
|
|
8481
|
+
};
|
|
8482
|
+
responses: {
|
|
8483
|
+
/** @description Statement updated successfully */
|
|
8484
|
+
200: {
|
|
8485
|
+
headers: {
|
|
8486
|
+
[name: string]: unknown;
|
|
8487
|
+
};
|
|
8488
|
+
content: {
|
|
8489
|
+
"application/json": components["schemas"]["StatementResponseDto"];
|
|
8490
|
+
};
|
|
8491
|
+
};
|
|
8492
|
+
};
|
|
8493
|
+
};
|
|
8494
|
+
StatementsController_exportPdf: {
|
|
8495
|
+
parameters: {
|
|
8496
|
+
query?: never;
|
|
8497
|
+
header?: never;
|
|
8498
|
+
path: {
|
|
8499
|
+
id: string;
|
|
8500
|
+
};
|
|
8501
|
+
cookie?: never;
|
|
8502
|
+
};
|
|
8503
|
+
requestBody?: never;
|
|
8504
|
+
responses: {
|
|
8505
|
+
/** @description PDF file */
|
|
8506
|
+
200: {
|
|
8507
|
+
headers: {
|
|
8508
|
+
[name: string]: unknown;
|
|
8509
|
+
};
|
|
8510
|
+
content: {
|
|
8511
|
+
"application/pdf": string;
|
|
8512
|
+
};
|
|
8513
|
+
};
|
|
8514
|
+
};
|
|
8515
|
+
};
|
|
8516
|
+
StatementsController_getDriverSummary: {
|
|
8517
|
+
parameters: {
|
|
8518
|
+
query?: never;
|
|
8519
|
+
header?: never;
|
|
8520
|
+
path: {
|
|
8521
|
+
driverId: string;
|
|
8522
|
+
};
|
|
8523
|
+
cookie?: never;
|
|
8524
|
+
};
|
|
8525
|
+
requestBody?: never;
|
|
8526
|
+
responses: {
|
|
8527
|
+
/** @description Driver earnings summary */
|
|
8528
|
+
200: {
|
|
8529
|
+
headers: {
|
|
8530
|
+
[name: string]: unknown;
|
|
8531
|
+
};
|
|
8532
|
+
content?: never;
|
|
8533
|
+
};
|
|
8534
|
+
};
|
|
8535
|
+
};
|
|
8536
|
+
StatementsController_approve: {
|
|
8537
|
+
parameters: {
|
|
8538
|
+
query?: never;
|
|
8539
|
+
header?: never;
|
|
8540
|
+
path: {
|
|
8541
|
+
id: string;
|
|
8542
|
+
};
|
|
8543
|
+
cookie?: never;
|
|
8544
|
+
};
|
|
8545
|
+
requestBody?: never;
|
|
8546
|
+
responses: {
|
|
8547
|
+
/** @description Statement approved */
|
|
8548
|
+
200: {
|
|
8549
|
+
headers: {
|
|
8550
|
+
[name: string]: unknown;
|
|
8551
|
+
};
|
|
8552
|
+
content?: never;
|
|
8553
|
+
};
|
|
8554
|
+
};
|
|
8555
|
+
};
|
|
8556
|
+
StatementsController_markPaid: {
|
|
8557
|
+
parameters: {
|
|
8558
|
+
query?: never;
|
|
8559
|
+
header?: never;
|
|
8560
|
+
path: {
|
|
8561
|
+
id: string;
|
|
8562
|
+
};
|
|
8563
|
+
cookie?: never;
|
|
8564
|
+
};
|
|
8565
|
+
requestBody?: never;
|
|
8566
|
+
responses: {
|
|
8567
|
+
/** @description Statement marked as paid */
|
|
8568
|
+
200: {
|
|
8569
|
+
headers: {
|
|
8570
|
+
[name: string]: unknown;
|
|
8571
|
+
};
|
|
8572
|
+
content?: never;
|
|
8573
|
+
};
|
|
8574
|
+
};
|
|
8575
|
+
};
|
|
7484
8576
|
ReferralsController_findAll: {
|
|
7485
8577
|
parameters: {
|
|
7486
8578
|
query?: never;
|