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