@routeflow/types 1.0.25 → 1.0.26
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/index.d.ts +827 -106
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +827 -106
package/dist/index.d.ts
CHANGED
|
@@ -602,23 +602,6 @@ export interface paths {
|
|
|
602
602
|
patch?: never;
|
|
603
603
|
trace?: never;
|
|
604
604
|
};
|
|
605
|
-
"/api/carrier-partnerships/invite": {
|
|
606
|
-
parameters: {
|
|
607
|
-
query?: never;
|
|
608
|
-
header?: never;
|
|
609
|
-
path?: never;
|
|
610
|
-
cookie?: never;
|
|
611
|
-
};
|
|
612
|
-
get?: never;
|
|
613
|
-
put?: never;
|
|
614
|
-
/** Invite a carrier to form a dispatch partnership */
|
|
615
|
-
post: operations["CarrierPartnershipsController_invite"];
|
|
616
|
-
delete?: never;
|
|
617
|
-
options?: never;
|
|
618
|
-
head?: never;
|
|
619
|
-
patch?: never;
|
|
620
|
-
trace?: never;
|
|
621
|
-
};
|
|
622
605
|
"/api/carrier-partnerships/{id}/accept": {
|
|
623
606
|
parameters: {
|
|
624
607
|
query?: never;
|
|
@@ -628,7 +611,7 @@ export interface paths {
|
|
|
628
611
|
};
|
|
629
612
|
get?: never;
|
|
630
613
|
put?: never;
|
|
631
|
-
/** Accept a partnership invitation (carrier
|
|
614
|
+
/** Accept a partnership invitation (dispatch accepts carrier invite — per spec) */
|
|
632
615
|
post: operations["CarrierPartnershipsController_accept"];
|
|
633
616
|
delete?: never;
|
|
634
617
|
options?: never;
|
|
@@ -4386,6 +4369,40 @@ export interface paths {
|
|
|
4386
4369
|
patch: operations["InboundEmailController_updateTags"];
|
|
4387
4370
|
trace?: never;
|
|
4388
4371
|
};
|
|
4372
|
+
"/api/inbound-emails/{id}/archive": {
|
|
4373
|
+
parameters: {
|
|
4374
|
+
query?: never;
|
|
4375
|
+
header?: never;
|
|
4376
|
+
path?: never;
|
|
4377
|
+
cookie?: never;
|
|
4378
|
+
};
|
|
4379
|
+
get?: never;
|
|
4380
|
+
put?: never;
|
|
4381
|
+
/** Archive an inbound email */
|
|
4382
|
+
post: operations["InboundEmailController_archive"];
|
|
4383
|
+
delete?: never;
|
|
4384
|
+
options?: never;
|
|
4385
|
+
head?: never;
|
|
4386
|
+
patch?: never;
|
|
4387
|
+
trace?: never;
|
|
4388
|
+
};
|
|
4389
|
+
"/api/inbound-emails/{id}/reply": {
|
|
4390
|
+
parameters: {
|
|
4391
|
+
query?: never;
|
|
4392
|
+
header?: never;
|
|
4393
|
+
path?: never;
|
|
4394
|
+
cookie?: never;
|
|
4395
|
+
};
|
|
4396
|
+
get?: never;
|
|
4397
|
+
put?: never;
|
|
4398
|
+
/** Reply to an inbound email */
|
|
4399
|
+
post: operations["InboundEmailController_reply"];
|
|
4400
|
+
delete?: never;
|
|
4401
|
+
options?: never;
|
|
4402
|
+
head?: never;
|
|
4403
|
+
patch?: never;
|
|
4404
|
+
trace?: never;
|
|
4405
|
+
};
|
|
4389
4406
|
"/api/webhooks/email/inbound": {
|
|
4390
4407
|
parameters: {
|
|
4391
4408
|
query?: never;
|
|
@@ -4891,6 +4908,23 @@ export interface paths {
|
|
|
4891
4908
|
patch?: never;
|
|
4892
4909
|
trace?: never;
|
|
4893
4910
|
};
|
|
4911
|
+
"/api/reports/payouts": {
|
|
4912
|
+
parameters: {
|
|
4913
|
+
query?: never;
|
|
4914
|
+
header?: never;
|
|
4915
|
+
path?: never;
|
|
4916
|
+
cookie?: never;
|
|
4917
|
+
};
|
|
4918
|
+
/** Get compensation payout report (driver/dispatcher/manager) */
|
|
4919
|
+
get: operations["ReportsController_getPayoutReport"];
|
|
4920
|
+
put?: never;
|
|
4921
|
+
post?: never;
|
|
4922
|
+
delete?: never;
|
|
4923
|
+
options?: never;
|
|
4924
|
+
head?: never;
|
|
4925
|
+
patch?: never;
|
|
4926
|
+
trace?: never;
|
|
4927
|
+
};
|
|
4894
4928
|
"/api/dispatch/carriers": {
|
|
4895
4929
|
parameters: {
|
|
4896
4930
|
query?: never;
|
|
@@ -4947,7 +4981,10 @@ export type webhooks = Record<string, never>;
|
|
|
4947
4981
|
export interface components {
|
|
4948
4982
|
schemas: {
|
|
4949
4983
|
RegisterDto: {
|
|
4950
|
-
/**
|
|
4984
|
+
/**
|
|
4985
|
+
* Format: email
|
|
4986
|
+
* @example user@example.com
|
|
4987
|
+
*/
|
|
4951
4988
|
email: string;
|
|
4952
4989
|
/** @example Password1! */
|
|
4953
4990
|
password: string;
|
|
@@ -5047,7 +5084,10 @@ export interface components {
|
|
|
5047
5084
|
user: components["schemas"]["UserResponseDto"];
|
|
5048
5085
|
};
|
|
5049
5086
|
LoginDto: {
|
|
5050
|
-
/**
|
|
5087
|
+
/**
|
|
5088
|
+
* Format: email
|
|
5089
|
+
* @example user@example.com
|
|
5090
|
+
*/
|
|
5051
5091
|
email: string;
|
|
5052
5092
|
/** @example password123 */
|
|
5053
5093
|
password: string;
|
|
@@ -5059,6 +5099,7 @@ export interface components {
|
|
|
5059
5099
|
};
|
|
5060
5100
|
VerifyEmailDto: {
|
|
5061
5101
|
/**
|
|
5102
|
+
* Format: email
|
|
5062
5103
|
* @description Email address
|
|
5063
5104
|
* @example user@example.com
|
|
5064
5105
|
*/
|
|
@@ -5071,6 +5112,7 @@ export interface components {
|
|
|
5071
5112
|
};
|
|
5072
5113
|
ResendCodeDto: {
|
|
5073
5114
|
/**
|
|
5115
|
+
* Format: email
|
|
5074
5116
|
* @description Email address
|
|
5075
5117
|
* @example user@example.com
|
|
5076
5118
|
*/
|
|
@@ -5124,6 +5166,7 @@ export interface components {
|
|
|
5124
5166
|
};
|
|
5125
5167
|
ForgotPasswordDto: {
|
|
5126
5168
|
/**
|
|
5169
|
+
* Format: email
|
|
5127
5170
|
* @description Email address to send password reset link
|
|
5128
5171
|
* @example driver@example.com
|
|
5129
5172
|
*/
|
|
@@ -5215,7 +5258,10 @@ export interface components {
|
|
|
5215
5258
|
message: string;
|
|
5216
5259
|
};
|
|
5217
5260
|
CreateUserDto: {
|
|
5218
|
-
/**
|
|
5261
|
+
/**
|
|
5262
|
+
* Format: email
|
|
5263
|
+
* @example user@example.com
|
|
5264
|
+
*/
|
|
5219
5265
|
email?: string;
|
|
5220
5266
|
/** @example password123 */
|
|
5221
5267
|
password?: string;
|
|
@@ -5227,7 +5273,10 @@ export interface components {
|
|
|
5227
5273
|
lastName?: string;
|
|
5228
5274
|
/** @example +1234567890 */
|
|
5229
5275
|
phone?: string;
|
|
5230
|
-
/**
|
|
5276
|
+
/**
|
|
5277
|
+
* Format: email
|
|
5278
|
+
* @example personal@email.com
|
|
5279
|
+
*/
|
|
5231
5280
|
personalEmail?: string;
|
|
5232
5281
|
/** @example 1990-01-15 */
|
|
5233
5282
|
birthday?: string;
|
|
@@ -5255,6 +5304,7 @@ export interface components {
|
|
|
5255
5304
|
*/
|
|
5256
5305
|
commissionValue?: number;
|
|
5257
5306
|
/**
|
|
5307
|
+
* Format: email
|
|
5258
5308
|
* @description @logistio.pro email for company login
|
|
5259
5309
|
* @example john.doe@logistio.pro
|
|
5260
5310
|
*/
|
|
@@ -5264,6 +5314,11 @@ export interface components {
|
|
|
5264
5314
|
* @enum {string}
|
|
5265
5315
|
*/
|
|
5266
5316
|
eldProvider?: "SAMSARA" | "GEOTAB" | "MOTIVE" | "MANUAL";
|
|
5317
|
+
/**
|
|
5318
|
+
* @description Target carrier ID when a dispatch user creates a driver on a partnered carrier's behalf. Required for dispatch users creating drivers.
|
|
5319
|
+
* @example cuid
|
|
5320
|
+
*/
|
|
5321
|
+
carrierId?: string;
|
|
5267
5322
|
};
|
|
5268
5323
|
UserListResponseDto: {
|
|
5269
5324
|
items: components["schemas"]["UserResponseDto"][];
|
|
@@ -5279,9 +5334,15 @@ export interface components {
|
|
|
5279
5334
|
firstName?: string;
|
|
5280
5335
|
/** @example Doe */
|
|
5281
5336
|
lastName?: string;
|
|
5282
|
-
/**
|
|
5337
|
+
/**
|
|
5338
|
+
* Format: email
|
|
5339
|
+
* @example user@example.com
|
|
5340
|
+
*/
|
|
5283
5341
|
email?: string;
|
|
5284
|
-
/**
|
|
5342
|
+
/**
|
|
5343
|
+
* Format: email
|
|
5344
|
+
* @example personal@example.com
|
|
5345
|
+
*/
|
|
5285
5346
|
personalEmail?: string;
|
|
5286
5347
|
/** @example +1234567890 */
|
|
5287
5348
|
phone?: string;
|
|
@@ -5296,6 +5357,16 @@ export interface components {
|
|
|
5296
5357
|
birthday?: string;
|
|
5297
5358
|
/** @example newpassword123 */
|
|
5298
5359
|
password?: string;
|
|
5360
|
+
/**
|
|
5361
|
+
* @example PERCENTAGE_PER_LOAD
|
|
5362
|
+
* @enum {string}
|
|
5363
|
+
*/
|
|
5364
|
+
compensationType?: "PERCENTAGE_PER_LOAD" | "PER_TRUCK" | "FIXED_PER_WEEK" | "FIXED_PER_LOAD";
|
|
5365
|
+
/**
|
|
5366
|
+
* @description Compensation value (percentage or fixed amount)
|
|
5367
|
+
* @example 10
|
|
5368
|
+
*/
|
|
5369
|
+
compensationValue?: number;
|
|
5299
5370
|
};
|
|
5300
5371
|
LinkTelegramDto: {
|
|
5301
5372
|
/** @example 123456789 */
|
|
@@ -5436,7 +5507,10 @@ export interface components {
|
|
|
5436
5507
|
mcNumber?: string;
|
|
5437
5508
|
/** @example 789012 */
|
|
5438
5509
|
dotNumber?: string;
|
|
5439
|
-
/**
|
|
5510
|
+
/**
|
|
5511
|
+
* Format: email
|
|
5512
|
+
* @example org@example.com
|
|
5513
|
+
*/
|
|
5440
5514
|
email?: string;
|
|
5441
5515
|
/** @example +15551234567 */
|
|
5442
5516
|
phone?: string;
|
|
@@ -5466,7 +5540,10 @@ export interface components {
|
|
|
5466
5540
|
phoneCountryCode?: string;
|
|
5467
5541
|
};
|
|
5468
5542
|
InviteUserDto: {
|
|
5469
|
-
/**
|
|
5543
|
+
/**
|
|
5544
|
+
* Format: email
|
|
5545
|
+
* @example user@example.com
|
|
5546
|
+
*/
|
|
5470
5547
|
email?: string;
|
|
5471
5548
|
/**
|
|
5472
5549
|
* @example DRIVER
|
|
@@ -5561,7 +5638,10 @@ export interface components {
|
|
|
5561
5638
|
zipCode?: string;
|
|
5562
5639
|
/** @example 555-123-4567 */
|
|
5563
5640
|
phone?: string;
|
|
5564
|
-
/**
|
|
5641
|
+
/**
|
|
5642
|
+
* Format: email
|
|
5643
|
+
* @example dispatch@acmetrucking.com
|
|
5644
|
+
*/
|
|
5565
5645
|
email?: string;
|
|
5566
5646
|
/** @example 10 */
|
|
5567
5647
|
fleetSize?: number;
|
|
@@ -5592,7 +5672,10 @@ export interface components {
|
|
|
5592
5672
|
ExpressFactoringInterestDto: {
|
|
5593
5673
|
/** @example OTR_CAPITAL */
|
|
5594
5674
|
partner: string;
|
|
5595
|
-
/**
|
|
5675
|
+
/**
|
|
5676
|
+
* Format: email
|
|
5677
|
+
* @example dispatch@acmetrucking.com
|
|
5678
|
+
*/
|
|
5596
5679
|
contactEmail?: string;
|
|
5597
5680
|
/** @example 555-123-4567 */
|
|
5598
5681
|
contactPhone?: string;
|
|
@@ -5724,6 +5807,11 @@ export interface components {
|
|
|
5724
5807
|
* @example cuid
|
|
5725
5808
|
*/
|
|
5726
5809
|
trailerId?: string;
|
|
5810
|
+
/**
|
|
5811
|
+
* @description Freight/cargo type for trailer compatibility
|
|
5812
|
+
* @example Refrigerated
|
|
5813
|
+
*/
|
|
5814
|
+
freightType?: string;
|
|
5727
5815
|
/**
|
|
5728
5816
|
* @description Carrier subdivision ID
|
|
5729
5817
|
* @example cuid
|
|
@@ -5955,12 +6043,12 @@ export interface components {
|
|
|
5955
6043
|
* @description Truck assigned to this run
|
|
5956
6044
|
* @example cuid
|
|
5957
6045
|
*/
|
|
5958
|
-
truckId?:
|
|
6046
|
+
truckId?: string | null;
|
|
5959
6047
|
/**
|
|
5960
6048
|
* @description Trailer assigned to this run
|
|
5961
6049
|
* @example cuid
|
|
5962
6050
|
*/
|
|
5963
|
-
trailerId?:
|
|
6051
|
+
trailerId?: string | null;
|
|
5964
6052
|
/**
|
|
5965
6053
|
* @example STANDARD
|
|
5966
6054
|
* @enum {string}
|
|
@@ -5974,6 +6062,11 @@ export interface components {
|
|
|
5974
6062
|
totalDistance?: number;
|
|
5975
6063
|
/** @example Broker Name */
|
|
5976
6064
|
brokerName?: string;
|
|
6065
|
+
/**
|
|
6066
|
+
* @description Freight/cargo type for trailer compatibility
|
|
6067
|
+
* @example Refrigerated
|
|
6068
|
+
*/
|
|
6069
|
+
freightType?: string;
|
|
5977
6070
|
};
|
|
5978
6071
|
AssignDriverDto: {
|
|
5979
6072
|
/** @example clxxx... */
|
|
@@ -6194,7 +6287,10 @@ export interface components {
|
|
|
6194
6287
|
UnifiedUploadDto: {
|
|
6195
6288
|
/** @description Base64 encoded file (max 20MB, provide this OR fileUrl) */
|
|
6196
6289
|
fileBase64?: string;
|
|
6197
|
-
/**
|
|
6290
|
+
/**
|
|
6291
|
+
* Format: uri
|
|
6292
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6293
|
+
*/
|
|
6198
6294
|
fileUrl?: string;
|
|
6199
6295
|
/** @description Original file name */
|
|
6200
6296
|
fileName: string;
|
|
@@ -6231,39 +6327,39 @@ export interface components {
|
|
|
6231
6327
|
};
|
|
6232
6328
|
ExtractedAssetFieldDto: {
|
|
6233
6329
|
/** @description Driver name */
|
|
6234
|
-
name?:
|
|
6330
|
+
name?: string | null;
|
|
6235
6331
|
/** @description Phone number */
|
|
6236
|
-
phone?:
|
|
6332
|
+
phone?: string | null;
|
|
6237
6333
|
/** @description Email address */
|
|
6238
|
-
email?:
|
|
6334
|
+
email?: string | null;
|
|
6239
6335
|
/** @description License number */
|
|
6240
|
-
licenseNumber?:
|
|
6336
|
+
licenseNumber?: string | null;
|
|
6241
6337
|
/** @description License expiry date */
|
|
6242
|
-
licenseExpiry?:
|
|
6338
|
+
licenseExpiry?: string | null;
|
|
6243
6339
|
/** @description License state */
|
|
6244
|
-
licenseState?:
|
|
6340
|
+
licenseState?: string | null;
|
|
6245
6341
|
/** @description Truck number/ID */
|
|
6246
|
-
truckNumber?:
|
|
6342
|
+
truckNumber?: string | null;
|
|
6247
6343
|
/** @description Vehicle Identification Number */
|
|
6248
|
-
vin?:
|
|
6344
|
+
vin?: string | null;
|
|
6249
6345
|
/** @description Vehicle make */
|
|
6250
|
-
make?:
|
|
6346
|
+
make?: string | null;
|
|
6251
6347
|
/** @description Vehicle model */
|
|
6252
|
-
model?:
|
|
6348
|
+
model?: string | null;
|
|
6253
6349
|
/** @description Vehicle year */
|
|
6254
|
-
year?:
|
|
6350
|
+
year?: number | null;
|
|
6255
6351
|
/** @description License plate number */
|
|
6256
|
-
licensePlate?:
|
|
6352
|
+
licensePlate?: string | null;
|
|
6257
6353
|
/** @description Plate state */
|
|
6258
|
-
plateState?:
|
|
6354
|
+
plateState?: string | null;
|
|
6259
6355
|
/** @description Trailer number/ID */
|
|
6260
|
-
trailerNumber?:
|
|
6356
|
+
trailerNumber?: string | null;
|
|
6261
6357
|
/** @description Trailer type */
|
|
6262
|
-
trailerType?:
|
|
6358
|
+
trailerType?: string | null;
|
|
6263
6359
|
/** @description Trailer length */
|
|
6264
|
-
length?:
|
|
6360
|
+
length?: number | null;
|
|
6265
6361
|
/** @description Weight capacity */
|
|
6266
|
-
weightCapacity?:
|
|
6362
|
+
weightCapacity?: number | null;
|
|
6267
6363
|
};
|
|
6268
6364
|
ExtractedAssetResponseDto: {
|
|
6269
6365
|
/** @description Unique identifier */
|
|
@@ -6287,17 +6383,17 @@ export interface components {
|
|
|
6287
6383
|
/** @description Type of source document */
|
|
6288
6384
|
sourceDocumentType: string;
|
|
6289
6385
|
/** @description Original file name */
|
|
6290
|
-
fileName?:
|
|
6386
|
+
fileName?: string | null;
|
|
6291
6387
|
/** @description ID of potential duplicate asset */
|
|
6292
|
-
potentialDuplicateId?:
|
|
6388
|
+
potentialDuplicateId?: string | null;
|
|
6293
6389
|
/** @description Type of potential duplicate */
|
|
6294
|
-
potentialDuplicateType?:
|
|
6390
|
+
potentialDuplicateType?: string | null;
|
|
6295
6391
|
/** @description ID of reviewer */
|
|
6296
|
-
reviewedById?:
|
|
6392
|
+
reviewedById?: string | null;
|
|
6297
6393
|
/** @description Review timestamp */
|
|
6298
|
-
reviewedAt?:
|
|
6394
|
+
reviewedAt?: string | null;
|
|
6299
6395
|
/** @description Review notes */
|
|
6300
|
-
reviewNotes?:
|
|
6396
|
+
reviewNotes?: string | null;
|
|
6301
6397
|
/** @description Creation timestamp */
|
|
6302
6398
|
createdAt: string;
|
|
6303
6399
|
/** @description Last update timestamp */
|
|
@@ -6371,7 +6467,10 @@ export interface components {
|
|
|
6371
6467
|
ExtractAssetsDto: {
|
|
6372
6468
|
/** @description Base64 encoded file (provide this OR fileUrl) */
|
|
6373
6469
|
fileBase64?: string;
|
|
6374
|
-
/**
|
|
6470
|
+
/**
|
|
6471
|
+
* Format: uri
|
|
6472
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6473
|
+
*/
|
|
6375
6474
|
fileUrl?: string;
|
|
6376
6475
|
/** @description Original file name */
|
|
6377
6476
|
fileName: string;
|
|
@@ -6386,8 +6485,25 @@ export interface components {
|
|
|
6386
6485
|
extractedAssets: components["schemas"]["ExtractedAssetResponseDto"][];
|
|
6387
6486
|
/** @description Document type detected */
|
|
6388
6487
|
documentType: string;
|
|
6389
|
-
|
|
6390
|
-
|
|
6488
|
+
companyData?: {
|
|
6489
|
+
companyName?: string;
|
|
6490
|
+
dbaName?: string;
|
|
6491
|
+
mcNumber?: string;
|
|
6492
|
+
dotNumber?: string;
|
|
6493
|
+
address?: string;
|
|
6494
|
+
city?: string;
|
|
6495
|
+
state?: string;
|
|
6496
|
+
zipCode?: string;
|
|
6497
|
+
phone?: string;
|
|
6498
|
+
email?: string;
|
|
6499
|
+
ownerFirstName?: string;
|
|
6500
|
+
ownerLastName?: string;
|
|
6501
|
+
einNumber?: string;
|
|
6502
|
+
insuranceProvider?: string;
|
|
6503
|
+
policyNumber?: string;
|
|
6504
|
+
effectiveDate?: string;
|
|
6505
|
+
expirationDate?: string;
|
|
6506
|
+
};
|
|
6391
6507
|
};
|
|
6392
6508
|
ExtractionResultResponseDto: {
|
|
6393
6509
|
/** @description Whether extraction was successful */
|
|
@@ -6451,7 +6567,7 @@ export interface components {
|
|
|
6451
6567
|
mimeType?: string;
|
|
6452
6568
|
fileSize?: number;
|
|
6453
6569
|
/** @enum {string} */
|
|
6454
|
-
status: "PENDING" | "PROCESSED" | "FAILED" | "NEEDS_REVIEW";
|
|
6570
|
+
status: "PENDING" | "PROCESSED" | "SIGNED" | "FAILED" | "NEEDS_REVIEW";
|
|
6455
6571
|
parsedData?: Record<string, never>;
|
|
6456
6572
|
confidence?: number;
|
|
6457
6573
|
errorMessage?: string;
|
|
@@ -6487,7 +6603,10 @@ export interface components {
|
|
|
6487
6603
|
ParseRateConDto: {
|
|
6488
6604
|
/** @description Base64 encoded PDF file (provide this OR fileUrl) */
|
|
6489
6605
|
fileBase64?: string;
|
|
6490
|
-
/**
|
|
6606
|
+
/**
|
|
6607
|
+
* Format: uri
|
|
6608
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6609
|
+
*/
|
|
6491
6610
|
fileUrl?: string;
|
|
6492
6611
|
/**
|
|
6493
6612
|
* @description MIME type of the file
|
|
@@ -6498,7 +6617,10 @@ export interface components {
|
|
|
6498
6617
|
ParseBolDto: {
|
|
6499
6618
|
/** @description Base64 encoded PDF file (provide this OR fileUrl) */
|
|
6500
6619
|
fileBase64?: string;
|
|
6501
|
-
/**
|
|
6620
|
+
/**
|
|
6621
|
+
* Format: uri
|
|
6622
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6623
|
+
*/
|
|
6502
6624
|
fileUrl?: string;
|
|
6503
6625
|
/**
|
|
6504
6626
|
* @description MIME type of the file
|
|
@@ -6707,7 +6829,10 @@ export interface components {
|
|
|
6707
6829
|
runId: string;
|
|
6708
6830
|
/** @example stop-id */
|
|
6709
6831
|
stopId?: string;
|
|
6710
|
-
/**
|
|
6832
|
+
/**
|
|
6833
|
+
* Format: email
|
|
6834
|
+
* @example customer@example.com
|
|
6835
|
+
*/
|
|
6711
6836
|
customerEmail?: string;
|
|
6712
6837
|
/** @example +1234567890 */
|
|
6713
6838
|
customerPhone?: string;
|
|
@@ -6737,7 +6862,11 @@ export interface components {
|
|
|
6737
6862
|
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "ACCEPTED" | "AT_PICKUP" | "LOADED" | "IN_PROGRESS" | "IN_TRANSIT" | "AT_DELIVERY" | "DELIVERED" | "COMPLETED" | "CANCELLED" | "REJECTED" | "TONU" | "OFFERED";
|
|
6738
6863
|
/** Format: date-time */
|
|
6739
6864
|
estimatedArrival?: string;
|
|
6740
|
-
currentStop?:
|
|
6865
|
+
currentStop?: {
|
|
6866
|
+
id: string;
|
|
6867
|
+
address: string;
|
|
6868
|
+
status: Record<string, never>;
|
|
6869
|
+
};
|
|
6741
6870
|
stopsTotal: number;
|
|
6742
6871
|
stopsCompleted: number;
|
|
6743
6872
|
};
|
|
@@ -7354,6 +7483,12 @@ export interface components {
|
|
|
7354
7483
|
runId?: string;
|
|
7355
7484
|
stopId?: string;
|
|
7356
7485
|
skipDuplicateCheck?: boolean;
|
|
7486
|
+
/** @description GPS latitude at capture time */
|
|
7487
|
+
captureLat?: number;
|
|
7488
|
+
/** @description GPS longitude at capture time */
|
|
7489
|
+
captureLng?: number;
|
|
7490
|
+
/** @description Client-side capture timestamp */
|
|
7491
|
+
capturedAt?: string;
|
|
7357
7492
|
};
|
|
7358
7493
|
UpdateDocumentDto: {
|
|
7359
7494
|
name?: string;
|
|
@@ -7722,7 +7857,7 @@ export interface components {
|
|
|
7722
7857
|
/** @enum {string} */
|
|
7723
7858
|
role: "user" | "assistant" | "system";
|
|
7724
7859
|
content: string;
|
|
7725
|
-
toolCalls?: components["schemas"]["ToolCallDto"][];
|
|
7860
|
+
toolCalls?: components["schemas"]["ToolCallDto"][] | null;
|
|
7726
7861
|
/** Format: date-time */
|
|
7727
7862
|
createdAt: string;
|
|
7728
7863
|
};
|
|
@@ -7735,7 +7870,10 @@ export interface components {
|
|
|
7735
7870
|
id?: string;
|
|
7736
7871
|
/** @example John Smith */
|
|
7737
7872
|
name: string;
|
|
7738
|
-
/**
|
|
7873
|
+
/**
|
|
7874
|
+
* Format: email
|
|
7875
|
+
* @example john@example.com
|
|
7876
|
+
*/
|
|
7739
7877
|
email?: string;
|
|
7740
7878
|
/** @example +1-555-123-4567 */
|
|
7741
7879
|
phone?: string;
|
|
@@ -7762,7 +7900,10 @@ export interface components {
|
|
|
7762
7900
|
companyName: string;
|
|
7763
7901
|
/** @example John Smith */
|
|
7764
7902
|
contactName?: string;
|
|
7765
|
-
/**
|
|
7903
|
+
/**
|
|
7904
|
+
* Format: email
|
|
7905
|
+
* @example john@abcfreight.com
|
|
7906
|
+
*/
|
|
7766
7907
|
email?: string;
|
|
7767
7908
|
/** @example +1-555-123-4567 */
|
|
7768
7909
|
phone?: string;
|
|
@@ -7834,7 +7975,10 @@ export interface components {
|
|
|
7834
7975
|
companyName?: string;
|
|
7835
7976
|
/** @example John Smith */
|
|
7836
7977
|
contactName?: string;
|
|
7837
|
-
/**
|
|
7978
|
+
/**
|
|
7979
|
+
* Format: email
|
|
7980
|
+
* @example john@abcfreight.com
|
|
7981
|
+
*/
|
|
7838
7982
|
email?: string;
|
|
7839
7983
|
/** @example +1-555-123-4567 */
|
|
7840
7984
|
phone?: string;
|
|
@@ -7904,7 +8048,7 @@ export interface components {
|
|
|
7904
8048
|
};
|
|
7905
8049
|
StatementLineItem: {
|
|
7906
8050
|
description: string;
|
|
7907
|
-
type: string
|
|
8051
|
+
type: Record<string, never>;
|
|
7908
8052
|
amount: number;
|
|
7909
8053
|
runId?: string;
|
|
7910
8054
|
loadNumber?: string;
|
|
@@ -8060,7 +8204,12 @@ export interface components {
|
|
|
8060
8204
|
};
|
|
8061
8205
|
CreateExpenseDto: {
|
|
8062
8206
|
/** @enum {string} */
|
|
8063
|
-
type: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "OTHER";
|
|
8207
|
+
type: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "PERMIT" | "FINE" | "OTHER";
|
|
8208
|
+
/**
|
|
8209
|
+
* @description Expense category: RUN, DRIVER, VEHICLE, CARRIER, or MIXED (auto-detected if not provided)
|
|
8210
|
+
* @enum {string}
|
|
8211
|
+
*/
|
|
8212
|
+
category?: "RUN" | "DRIVER" | "VEHICLE" | "CARRIER" | "MIXED";
|
|
8064
8213
|
/** @example 487.32 */
|
|
8065
8214
|
amount: number;
|
|
8066
8215
|
/** @example Fuel purchase at Houston */
|
|
@@ -8077,6 +8226,11 @@ export interface components {
|
|
|
8077
8226
|
runId?: string;
|
|
8078
8227
|
/** @description Stop ID for stop-specific fees (lumper, escort, etc.) */
|
|
8079
8228
|
stopId?: string;
|
|
8229
|
+
/**
|
|
8230
|
+
* @description Target carrier ID when a dispatch user creates an expense on a partnered carrier's behalf. If omitted, the carrier is derived from the associated run (if any). Required for dispatch users creating expenses that are not linked to a run.
|
|
8231
|
+
* @example cuid
|
|
8232
|
+
*/
|
|
8233
|
+
carrierId?: string;
|
|
8080
8234
|
};
|
|
8081
8235
|
ExpenseResponseDto: {
|
|
8082
8236
|
id: string;
|
|
@@ -8134,7 +8288,12 @@ export interface components {
|
|
|
8134
8288
|
};
|
|
8135
8289
|
UpdateExpenseDto: {
|
|
8136
8290
|
/** @enum {string} */
|
|
8137
|
-
type?: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "OTHER";
|
|
8291
|
+
type?: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "PERMIT" | "FINE" | "OTHER";
|
|
8292
|
+
/**
|
|
8293
|
+
* @description Expense category: RUN, DRIVER, VEHICLE, CARRIER, or MIXED (auto-detected if not provided)
|
|
8294
|
+
* @enum {string}
|
|
8295
|
+
*/
|
|
8296
|
+
category?: "RUN" | "DRIVER" | "VEHICLE" | "CARRIER" | "MIXED";
|
|
8138
8297
|
/** @example 487.32 */
|
|
8139
8298
|
amount?: number;
|
|
8140
8299
|
/** @example Fuel purchase at Houston */
|
|
@@ -8151,6 +8310,11 @@ export interface components {
|
|
|
8151
8310
|
runId?: string;
|
|
8152
8311
|
/** @description Stop ID for stop-specific fees (lumper, escort, etc.) */
|
|
8153
8312
|
stopId?: string;
|
|
8313
|
+
/**
|
|
8314
|
+
* @description Target carrier ID when a dispatch user creates an expense on a partnered carrier's behalf. If omitted, the carrier is derived from the associated run (if any). Required for dispatch users creating expenses that are not linked to a run.
|
|
8315
|
+
* @example cuid
|
|
8316
|
+
*/
|
|
8317
|
+
carrierId?: string;
|
|
8154
8318
|
};
|
|
8155
8319
|
AssociateExpenseDto: {
|
|
8156
8320
|
driverId?: string;
|
|
@@ -8232,6 +8396,7 @@ export interface components {
|
|
|
8232
8396
|
};
|
|
8233
8397
|
SendInvitationDto: {
|
|
8234
8398
|
/**
|
|
8399
|
+
* Format: email
|
|
8235
8400
|
* @description Email address to send invitation to
|
|
8236
8401
|
* @example broker@example.com
|
|
8237
8402
|
*/
|
|
@@ -8279,13 +8444,13 @@ export interface components {
|
|
|
8279
8444
|
};
|
|
8280
8445
|
UpdateEmailTagsDto: {
|
|
8281
8446
|
/** @description Driver ID to tag this email with */
|
|
8282
|
-
taggedDriverId?:
|
|
8447
|
+
taggedDriverId?: string | null;
|
|
8283
8448
|
/** @description Run ID to tag this email with */
|
|
8284
|
-
taggedRunId?:
|
|
8449
|
+
taggedRunId?: string | null;
|
|
8285
8450
|
};
|
|
8286
8451
|
SendGridWebhookDto: {
|
|
8287
8452
|
/** @description Raw email headers */
|
|
8288
|
-
headers
|
|
8453
|
+
headers?: string;
|
|
8289
8454
|
/** @description DKIM verification result */
|
|
8290
8455
|
dkim?: string;
|
|
8291
8456
|
/**
|
|
@@ -8364,6 +8529,7 @@ export interface components {
|
|
|
8364
8529
|
*/
|
|
8365
8530
|
signedByName?: string;
|
|
8366
8531
|
/**
|
|
8532
|
+
* Format: email
|
|
8367
8533
|
* @description Email of person signing
|
|
8368
8534
|
* @example john@example.com
|
|
8369
8535
|
*/
|
|
@@ -8418,7 +8584,10 @@ export interface components {
|
|
|
8418
8584
|
documents: components["schemas"]["SearchResultItemDto"][];
|
|
8419
8585
|
};
|
|
8420
8586
|
CreateInvitationDto: {
|
|
8421
|
-
/**
|
|
8587
|
+
/**
|
|
8588
|
+
* Format: email
|
|
8589
|
+
* @example user@example.com
|
|
8590
|
+
*/
|
|
8422
8591
|
email: string;
|
|
8423
8592
|
/**
|
|
8424
8593
|
* @example DISPATCHER
|
|
@@ -8535,6 +8704,7 @@ export interface components {
|
|
|
8535
8704
|
/** @example +1234567890 */
|
|
8536
8705
|
phone?: string;
|
|
8537
8706
|
/**
|
|
8707
|
+
* Format: email
|
|
8538
8708
|
* @description Carrier contact email (used for partnership lookups)
|
|
8539
8709
|
* @example dispatch@carrier.com
|
|
8540
8710
|
*/
|
|
@@ -8545,7 +8715,10 @@ export interface components {
|
|
|
8545
8715
|
ownerLastName?: string;
|
|
8546
8716
|
/** @example +1234567890 */
|
|
8547
8717
|
ownerPhone?: string;
|
|
8548
|
-
/**
|
|
8718
|
+
/**
|
|
8719
|
+
* Format: email
|
|
8720
|
+
* @example owner@abctrucking.com
|
|
8721
|
+
*/
|
|
8549
8722
|
ownerEmail?: string;
|
|
8550
8723
|
/** @example https://s3.amazonaws.com/... */
|
|
8551
8724
|
authorityDoc?: string;
|
|
@@ -8600,6 +8773,7 @@ export interface components {
|
|
|
8600
8773
|
/** @example +1234567890 */
|
|
8601
8774
|
phone?: string;
|
|
8602
8775
|
/**
|
|
8776
|
+
* Format: email
|
|
8603
8777
|
* @description Carrier contact email (used for partnership lookups)
|
|
8604
8778
|
* @example dispatch@carrier.com
|
|
8605
8779
|
*/
|
|
@@ -8610,7 +8784,10 @@ export interface components {
|
|
|
8610
8784
|
ownerLastName?: string;
|
|
8611
8785
|
/** @example +1234567890 */
|
|
8612
8786
|
ownerPhone?: string;
|
|
8613
|
-
/**
|
|
8787
|
+
/**
|
|
8788
|
+
* Format: email
|
|
8789
|
+
* @example owner@abctrucking.com
|
|
8790
|
+
*/
|
|
8614
8791
|
ownerEmail?: string;
|
|
8615
8792
|
/** @example https://s3.amazonaws.com/... */
|
|
8616
8793
|
authorityDoc?: string;
|
|
@@ -9060,7 +9237,12 @@ export interface components {
|
|
|
9060
9237
|
/** @description Array of notification preferences to update */
|
|
9061
9238
|
preferences: components["schemas"]["UpdateNotificationPreferenceDto"][];
|
|
9062
9239
|
};
|
|
9063
|
-
CreateApiKeyDto:
|
|
9240
|
+
CreateApiKeyDto: {
|
|
9241
|
+
name: string;
|
|
9242
|
+
description?: string;
|
|
9243
|
+
scopes?: string[];
|
|
9244
|
+
expiresAt?: string;
|
|
9245
|
+
};
|
|
9064
9246
|
ApiKeyCreatedResponseDto: {
|
|
9065
9247
|
id: string;
|
|
9066
9248
|
name: string;
|
|
@@ -9101,7 +9283,12 @@ export interface components {
|
|
|
9101
9283
|
/** Format: date-time */
|
|
9102
9284
|
updatedAt: string;
|
|
9103
9285
|
};
|
|
9104
|
-
UpdateApiKeyDto:
|
|
9286
|
+
UpdateApiKeyDto: {
|
|
9287
|
+
name?: string;
|
|
9288
|
+
description?: string;
|
|
9289
|
+
scopes?: string[];
|
|
9290
|
+
expiresAt?: string;
|
|
9291
|
+
};
|
|
9105
9292
|
OverviewReportDto: {
|
|
9106
9293
|
totalRuns: number;
|
|
9107
9294
|
completedRuns: number;
|
|
@@ -9153,22 +9340,22 @@ export interface components {
|
|
|
9153
9340
|
carrierId: string;
|
|
9154
9341
|
carrierName: string;
|
|
9155
9342
|
mcNumber: string;
|
|
9156
|
-
dotNumber?:
|
|
9157
|
-
email?:
|
|
9158
|
-
phone?:
|
|
9343
|
+
dotNumber?: string | null;
|
|
9344
|
+
email?: string | null;
|
|
9345
|
+
phone?: string | null;
|
|
9159
9346
|
accountStatus: string;
|
|
9160
9347
|
partnershipId: string;
|
|
9161
|
-
permissions?: Record<string, never
|
|
9162
|
-
accessScope?:
|
|
9348
|
+
permissions?: Record<string, never> | null;
|
|
9349
|
+
accessScope?: string | null;
|
|
9163
9350
|
};
|
|
9164
9351
|
DispatchContextResponseDto: {
|
|
9165
9352
|
carrierId: string;
|
|
9166
9353
|
carrierName: string;
|
|
9167
9354
|
mcNumber: string;
|
|
9168
|
-
dotNumber?:
|
|
9355
|
+
dotNumber?: string | null;
|
|
9169
9356
|
partnershipId: string;
|
|
9170
|
-
permissions?: Record<string, never
|
|
9171
|
-
accessScope?:
|
|
9357
|
+
permissions?: Record<string, never> | null;
|
|
9358
|
+
accessScope?: string | null;
|
|
9172
9359
|
};
|
|
9173
9360
|
};
|
|
9174
9361
|
responses: never;
|
|
@@ -9510,6 +9697,12 @@ export interface operations {
|
|
|
9510
9697
|
"application/json": components["schemas"]["LinkingCodeResponseDto"];
|
|
9511
9698
|
};
|
|
9512
9699
|
};
|
|
9700
|
+
201: {
|
|
9701
|
+
headers: {
|
|
9702
|
+
[name: string]: unknown;
|
|
9703
|
+
};
|
|
9704
|
+
content?: never;
|
|
9705
|
+
};
|
|
9513
9706
|
};
|
|
9514
9707
|
};
|
|
9515
9708
|
AuthController_changePassword: {
|
|
@@ -10025,6 +10218,12 @@ export interface operations {
|
|
|
10025
10218
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
10026
10219
|
};
|
|
10027
10220
|
};
|
|
10221
|
+
201: {
|
|
10222
|
+
headers: {
|
|
10223
|
+
[name: string]: unknown;
|
|
10224
|
+
};
|
|
10225
|
+
content?: never;
|
|
10226
|
+
};
|
|
10028
10227
|
};
|
|
10029
10228
|
};
|
|
10030
10229
|
UsersController_unlinkTelegram: {
|
|
@@ -10047,6 +10246,12 @@ export interface operations {
|
|
|
10047
10246
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
10048
10247
|
};
|
|
10049
10248
|
};
|
|
10249
|
+
201: {
|
|
10250
|
+
headers: {
|
|
10251
|
+
[name: string]: unknown;
|
|
10252
|
+
};
|
|
10253
|
+
content?: never;
|
|
10254
|
+
};
|
|
10050
10255
|
};
|
|
10051
10256
|
};
|
|
10052
10257
|
UsersController_deactivate: {
|
|
@@ -10135,24 +10340,11 @@ export interface operations {
|
|
|
10135
10340
|
"application/json": components["schemas"]["DriverLinkingCodeResponseDto"];
|
|
10136
10341
|
};
|
|
10137
10342
|
};
|
|
10138
|
-
};
|
|
10139
|
-
};
|
|
10140
|
-
CarrierPartnershipsController_invite: {
|
|
10141
|
-
parameters: {
|
|
10142
|
-
query?: never;
|
|
10143
|
-
header?: never;
|
|
10144
|
-
path?: never;
|
|
10145
|
-
cookie?: never;
|
|
10146
|
-
};
|
|
10147
|
-
requestBody?: never;
|
|
10148
|
-
responses: {
|
|
10149
10343
|
201: {
|
|
10150
10344
|
headers: {
|
|
10151
10345
|
[name: string]: unknown;
|
|
10152
10346
|
};
|
|
10153
|
-
content
|
|
10154
|
-
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10155
|
-
};
|
|
10347
|
+
content?: never;
|
|
10156
10348
|
};
|
|
10157
10349
|
};
|
|
10158
10350
|
};
|
|
@@ -10175,6 +10367,14 @@ export interface operations {
|
|
|
10175
10367
|
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10176
10368
|
};
|
|
10177
10369
|
};
|
|
10370
|
+
201: {
|
|
10371
|
+
headers: {
|
|
10372
|
+
[name: string]: unknown;
|
|
10373
|
+
};
|
|
10374
|
+
content: {
|
|
10375
|
+
"application/json": Record<string, never>;
|
|
10376
|
+
};
|
|
10377
|
+
};
|
|
10178
10378
|
};
|
|
10179
10379
|
};
|
|
10180
10380
|
CarrierPartnershipsController_findAll: {
|
|
@@ -10238,6 +10438,12 @@ export interface operations {
|
|
|
10238
10438
|
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10239
10439
|
};
|
|
10240
10440
|
};
|
|
10441
|
+
201: {
|
|
10442
|
+
headers: {
|
|
10443
|
+
[name: string]: unknown;
|
|
10444
|
+
};
|
|
10445
|
+
content?: never;
|
|
10446
|
+
};
|
|
10241
10447
|
};
|
|
10242
10448
|
};
|
|
10243
10449
|
CarrierPartnershipsController_terminate: {
|
|
@@ -10259,6 +10465,12 @@ export interface operations {
|
|
|
10259
10465
|
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10260
10466
|
};
|
|
10261
10467
|
};
|
|
10468
|
+
201: {
|
|
10469
|
+
headers: {
|
|
10470
|
+
[name: string]: unknown;
|
|
10471
|
+
};
|
|
10472
|
+
content?: never;
|
|
10473
|
+
};
|
|
10262
10474
|
};
|
|
10263
10475
|
};
|
|
10264
10476
|
CarrierPartnershipsController_allocate: {
|
|
@@ -10452,6 +10664,12 @@ export interface operations {
|
|
|
10452
10664
|
"application/json": components["schemas"]["FmcsaCheckResponseDto"];
|
|
10453
10665
|
};
|
|
10454
10666
|
};
|
|
10667
|
+
201: {
|
|
10668
|
+
headers: {
|
|
10669
|
+
[name: string]: unknown;
|
|
10670
|
+
};
|
|
10671
|
+
content?: never;
|
|
10672
|
+
};
|
|
10455
10673
|
/** @description Inactive carrier or missing DOT number */
|
|
10456
10674
|
400: {
|
|
10457
10675
|
headers: {
|
|
@@ -10482,6 +10700,12 @@ export interface operations {
|
|
|
10482
10700
|
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10483
10701
|
};
|
|
10484
10702
|
};
|
|
10703
|
+
201: {
|
|
10704
|
+
headers: {
|
|
10705
|
+
[name: string]: unknown;
|
|
10706
|
+
};
|
|
10707
|
+
content?: never;
|
|
10708
|
+
};
|
|
10485
10709
|
};
|
|
10486
10710
|
};
|
|
10487
10711
|
VerificationController_getStatus: {
|
|
@@ -10526,6 +10750,12 @@ export interface operations {
|
|
|
10526
10750
|
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10527
10751
|
};
|
|
10528
10752
|
};
|
|
10753
|
+
201: {
|
|
10754
|
+
headers: {
|
|
10755
|
+
[name: string]: unknown;
|
|
10756
|
+
};
|
|
10757
|
+
content?: never;
|
|
10758
|
+
};
|
|
10529
10759
|
};
|
|
10530
10760
|
};
|
|
10531
10761
|
OrgsController_findAll: {
|
|
@@ -10851,6 +11081,12 @@ export interface operations {
|
|
|
10851
11081
|
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
10852
11082
|
};
|
|
10853
11083
|
};
|
|
11084
|
+
201: {
|
|
11085
|
+
headers: {
|
|
11086
|
+
[name: string]: unknown;
|
|
11087
|
+
};
|
|
11088
|
+
content?: never;
|
|
11089
|
+
};
|
|
10854
11090
|
};
|
|
10855
11091
|
};
|
|
10856
11092
|
OrgsController_completeOnboarding: {
|
|
@@ -10875,6 +11111,12 @@ export interface operations {
|
|
|
10875
11111
|
"application/json": components["schemas"]["CompleteOnboardingResponseDto"];
|
|
10876
11112
|
};
|
|
10877
11113
|
};
|
|
11114
|
+
201: {
|
|
11115
|
+
headers: {
|
|
11116
|
+
[name: string]: unknown;
|
|
11117
|
+
};
|
|
11118
|
+
content?: never;
|
|
11119
|
+
};
|
|
10878
11120
|
};
|
|
10879
11121
|
};
|
|
10880
11122
|
OrgsController_setDemoStatus: {
|
|
@@ -10895,6 +11137,12 @@ export interface operations {
|
|
|
10895
11137
|
"application/json": components["schemas"]["SetDemoStatusResponseDto"];
|
|
10896
11138
|
};
|
|
10897
11139
|
};
|
|
11140
|
+
201: {
|
|
11141
|
+
headers: {
|
|
11142
|
+
[name: string]: unknown;
|
|
11143
|
+
};
|
|
11144
|
+
content?: never;
|
|
11145
|
+
};
|
|
10898
11146
|
};
|
|
10899
11147
|
};
|
|
10900
11148
|
OrgsController_clearDemoData: {
|
|
@@ -10915,6 +11163,12 @@ export interface operations {
|
|
|
10915
11163
|
"application/json": components["schemas"]["ClearDemoDataResponseDto"];
|
|
10916
11164
|
};
|
|
10917
11165
|
};
|
|
11166
|
+
201: {
|
|
11167
|
+
headers: {
|
|
11168
|
+
[name: string]: unknown;
|
|
11169
|
+
};
|
|
11170
|
+
content?: never;
|
|
11171
|
+
};
|
|
10918
11172
|
};
|
|
10919
11173
|
};
|
|
10920
11174
|
OrgsController_getFactoringPartners: {
|
|
@@ -10968,6 +11222,7 @@ export interface operations {
|
|
|
10968
11222
|
status?: string;
|
|
10969
11223
|
driverId?: string;
|
|
10970
11224
|
customerId?: string;
|
|
11225
|
+
carrierId: string;
|
|
10971
11226
|
};
|
|
10972
11227
|
header?: never;
|
|
10973
11228
|
path?: never;
|
|
@@ -11119,6 +11374,7 @@ export interface operations {
|
|
|
11119
11374
|
startDate: string;
|
|
11120
11375
|
endDate: string;
|
|
11121
11376
|
driverId?: string;
|
|
11377
|
+
dispatcherId?: string;
|
|
11122
11378
|
};
|
|
11123
11379
|
header?: never;
|
|
11124
11380
|
path?: never;
|
|
@@ -11271,6 +11527,12 @@ export interface operations {
|
|
|
11271
11527
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11272
11528
|
};
|
|
11273
11529
|
};
|
|
11530
|
+
201: {
|
|
11531
|
+
headers: {
|
|
11532
|
+
[name: string]: unknown;
|
|
11533
|
+
};
|
|
11534
|
+
content?: never;
|
|
11535
|
+
};
|
|
11274
11536
|
};
|
|
11275
11537
|
};
|
|
11276
11538
|
RunsController_unassignDriver: {
|
|
@@ -11293,11 +11555,17 @@ export interface operations {
|
|
|
11293
11555
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11294
11556
|
};
|
|
11295
11557
|
};
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11558
|
+
201: {
|
|
11559
|
+
headers: {
|
|
11560
|
+
[name: string]: unknown;
|
|
11561
|
+
};
|
|
11562
|
+
content?: never;
|
|
11563
|
+
};
|
|
11564
|
+
};
|
|
11565
|
+
};
|
|
11566
|
+
RunsController_acceptRun: {
|
|
11567
|
+
parameters: {
|
|
11568
|
+
query?: never;
|
|
11301
11569
|
header?: never;
|
|
11302
11570
|
path: {
|
|
11303
11571
|
id: string;
|
|
@@ -11315,6 +11583,14 @@ export interface operations {
|
|
|
11315
11583
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11316
11584
|
};
|
|
11317
11585
|
};
|
|
11586
|
+
201: {
|
|
11587
|
+
headers: {
|
|
11588
|
+
[name: string]: unknown;
|
|
11589
|
+
};
|
|
11590
|
+
content: {
|
|
11591
|
+
"application/json": Record<string, never>;
|
|
11592
|
+
};
|
|
11593
|
+
};
|
|
11318
11594
|
};
|
|
11319
11595
|
};
|
|
11320
11596
|
RunsController_rejectRun: {
|
|
@@ -11337,6 +11613,14 @@ export interface operations {
|
|
|
11337
11613
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11338
11614
|
};
|
|
11339
11615
|
};
|
|
11616
|
+
201: {
|
|
11617
|
+
headers: {
|
|
11618
|
+
[name: string]: unknown;
|
|
11619
|
+
};
|
|
11620
|
+
content: {
|
|
11621
|
+
"application/json": Record<string, never>;
|
|
11622
|
+
};
|
|
11623
|
+
};
|
|
11340
11624
|
};
|
|
11341
11625
|
};
|
|
11342
11626
|
RunsController_startRun: {
|
|
@@ -11455,6 +11739,14 @@ export interface operations {
|
|
|
11455
11739
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11456
11740
|
};
|
|
11457
11741
|
};
|
|
11742
|
+
201: {
|
|
11743
|
+
headers: {
|
|
11744
|
+
[name: string]: unknown;
|
|
11745
|
+
};
|
|
11746
|
+
content: {
|
|
11747
|
+
"application/json": Record<string, never>;
|
|
11748
|
+
};
|
|
11749
|
+
};
|
|
11458
11750
|
};
|
|
11459
11751
|
};
|
|
11460
11752
|
RunsController_addStop: {
|
|
@@ -11584,6 +11876,14 @@ export interface operations {
|
|
|
11584
11876
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
11585
11877
|
};
|
|
11586
11878
|
};
|
|
11879
|
+
201: {
|
|
11880
|
+
headers: {
|
|
11881
|
+
[name: string]: unknown;
|
|
11882
|
+
};
|
|
11883
|
+
content: {
|
|
11884
|
+
"application/json": Record<string, never>;
|
|
11885
|
+
};
|
|
11886
|
+
};
|
|
11587
11887
|
};
|
|
11588
11888
|
};
|
|
11589
11889
|
RunsController_uploadSignature: {
|
|
@@ -11638,6 +11938,12 @@ export interface operations {
|
|
|
11638
11938
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
11639
11939
|
};
|
|
11640
11940
|
};
|
|
11941
|
+
201: {
|
|
11942
|
+
headers: {
|
|
11943
|
+
[name: string]: unknown;
|
|
11944
|
+
};
|
|
11945
|
+
content?: never;
|
|
11946
|
+
};
|
|
11641
11947
|
};
|
|
11642
11948
|
};
|
|
11643
11949
|
RunsController_geocodeStops: {
|
|
@@ -11660,6 +11966,12 @@ export interface operations {
|
|
|
11660
11966
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11661
11967
|
};
|
|
11662
11968
|
};
|
|
11969
|
+
201: {
|
|
11970
|
+
headers: {
|
|
11971
|
+
[name: string]: unknown;
|
|
11972
|
+
};
|
|
11973
|
+
content?: never;
|
|
11974
|
+
};
|
|
11663
11975
|
};
|
|
11664
11976
|
};
|
|
11665
11977
|
RunsController_queueLoad: {
|
|
@@ -11686,6 +11998,14 @@ export interface operations {
|
|
|
11686
11998
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11687
11999
|
};
|
|
11688
12000
|
};
|
|
12001
|
+
201: {
|
|
12002
|
+
headers: {
|
|
12003
|
+
[name: string]: unknown;
|
|
12004
|
+
};
|
|
12005
|
+
content: {
|
|
12006
|
+
"application/json": Record<string, never>;
|
|
12007
|
+
};
|
|
12008
|
+
};
|
|
11689
12009
|
};
|
|
11690
12010
|
};
|
|
11691
12011
|
RunsController_dispatchLoad: {
|
|
@@ -11712,6 +12032,12 @@ export interface operations {
|
|
|
11712
12032
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11713
12033
|
};
|
|
11714
12034
|
};
|
|
12035
|
+
201: {
|
|
12036
|
+
headers: {
|
|
12037
|
+
[name: string]: unknown;
|
|
12038
|
+
};
|
|
12039
|
+
content?: never;
|
|
12040
|
+
};
|
|
11715
12041
|
};
|
|
11716
12042
|
};
|
|
11717
12043
|
RunsController_completeAndUnlockNext: {
|
|
@@ -11734,6 +12060,14 @@ export interface operations {
|
|
|
11734
12060
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11735
12061
|
};
|
|
11736
12062
|
};
|
|
12063
|
+
201: {
|
|
12064
|
+
headers: {
|
|
12065
|
+
[name: string]: unknown;
|
|
12066
|
+
};
|
|
12067
|
+
content: {
|
|
12068
|
+
"application/json": Record<string, never>;
|
|
12069
|
+
};
|
|
12070
|
+
};
|
|
11737
12071
|
};
|
|
11738
12072
|
};
|
|
11739
12073
|
RunsController_unlockLoad: {
|
|
@@ -11756,6 +12090,14 @@ export interface operations {
|
|
|
11756
12090
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11757
12091
|
};
|
|
11758
12092
|
};
|
|
12093
|
+
201: {
|
|
12094
|
+
headers: {
|
|
12095
|
+
[name: string]: unknown;
|
|
12096
|
+
};
|
|
12097
|
+
content: {
|
|
12098
|
+
"application/json": Record<string, never>;
|
|
12099
|
+
};
|
|
12100
|
+
};
|
|
11759
12101
|
};
|
|
11760
12102
|
};
|
|
11761
12103
|
RunsController_getTrackingLink: {
|
|
@@ -11916,6 +12258,12 @@ export interface operations {
|
|
|
11916
12258
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
11917
12259
|
};
|
|
11918
12260
|
};
|
|
12261
|
+
201: {
|
|
12262
|
+
headers: {
|
|
12263
|
+
[name: string]: unknown;
|
|
12264
|
+
};
|
|
12265
|
+
content?: never;
|
|
12266
|
+
};
|
|
11919
12267
|
};
|
|
11920
12268
|
};
|
|
11921
12269
|
DocumentsController_getUploadUrl: {
|
|
@@ -11940,6 +12288,12 @@ export interface operations {
|
|
|
11940
12288
|
"application/json": components["schemas"]["UploadUrlResponseDto"];
|
|
11941
12289
|
};
|
|
11942
12290
|
};
|
|
12291
|
+
201: {
|
|
12292
|
+
headers: {
|
|
12293
|
+
[name: string]: unknown;
|
|
12294
|
+
};
|
|
12295
|
+
content?: never;
|
|
12296
|
+
};
|
|
11943
12297
|
};
|
|
11944
12298
|
};
|
|
11945
12299
|
DocumentsController_uploadFile: {
|
|
@@ -11998,6 +12352,7 @@ export interface operations {
|
|
|
11998
12352
|
type: string;
|
|
11999
12353
|
page: number;
|
|
12000
12354
|
limit: number;
|
|
12355
|
+
carrierId: string;
|
|
12001
12356
|
};
|
|
12002
12357
|
header?: never;
|
|
12003
12358
|
path?: never;
|
|
@@ -12423,6 +12778,12 @@ export interface operations {
|
|
|
12423
12778
|
"application/json": components["schemas"]["ParsedDocumentResponseDto"];
|
|
12424
12779
|
};
|
|
12425
12780
|
};
|
|
12781
|
+
201: {
|
|
12782
|
+
headers: {
|
|
12783
|
+
[name: string]: unknown;
|
|
12784
|
+
};
|
|
12785
|
+
content?: never;
|
|
12786
|
+
};
|
|
12426
12787
|
};
|
|
12427
12788
|
};
|
|
12428
12789
|
CompanyDocumentsController_uploadDocument: {
|
|
@@ -12486,6 +12847,12 @@ export interface operations {
|
|
|
12486
12847
|
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
12487
12848
|
};
|
|
12488
12849
|
};
|
|
12850
|
+
201: {
|
|
12851
|
+
headers: {
|
|
12852
|
+
[name: string]: unknown;
|
|
12853
|
+
};
|
|
12854
|
+
content?: never;
|
|
12855
|
+
};
|
|
12489
12856
|
};
|
|
12490
12857
|
};
|
|
12491
12858
|
CompanyDocumentsController_linkByUrl: {
|
|
@@ -12510,6 +12877,12 @@ export interface operations {
|
|
|
12510
12877
|
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
12511
12878
|
};
|
|
12512
12879
|
};
|
|
12880
|
+
201: {
|
|
12881
|
+
headers: {
|
|
12882
|
+
[name: string]: unknown;
|
|
12883
|
+
};
|
|
12884
|
+
content?: never;
|
|
12885
|
+
};
|
|
12513
12886
|
};
|
|
12514
12887
|
};
|
|
12515
12888
|
CompanyDocumentsController_findAll: {
|
|
@@ -12803,6 +13176,14 @@ export interface operations {
|
|
|
12803
13176
|
"application/json": components["schemas"]["HosResponseDto"];
|
|
12804
13177
|
};
|
|
12805
13178
|
};
|
|
13179
|
+
201: {
|
|
13180
|
+
headers: {
|
|
13181
|
+
[name: string]: unknown;
|
|
13182
|
+
};
|
|
13183
|
+
content: {
|
|
13184
|
+
"application/json": Record<string, never>;
|
|
13185
|
+
};
|
|
13186
|
+
};
|
|
12806
13187
|
/** @description Driver not found */
|
|
12807
13188
|
404: {
|
|
12808
13189
|
headers: {
|
|
@@ -12836,6 +13217,12 @@ export interface operations {
|
|
|
12836
13217
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
12837
13218
|
};
|
|
12838
13219
|
};
|
|
13220
|
+
201: {
|
|
13221
|
+
headers: {
|
|
13222
|
+
[name: string]: unknown;
|
|
13223
|
+
};
|
|
13224
|
+
content?: never;
|
|
13225
|
+
};
|
|
12839
13226
|
/** @description Driver not found */
|
|
12840
13227
|
404: {
|
|
12841
13228
|
headers: {
|
|
@@ -12942,6 +13329,7 @@ export interface operations {
|
|
|
12942
13329
|
limit: number;
|
|
12943
13330
|
status: string;
|
|
12944
13331
|
search: string;
|
|
13332
|
+
carrierId: string;
|
|
12945
13333
|
};
|
|
12946
13334
|
header?: never;
|
|
12947
13335
|
path?: never;
|
|
@@ -13078,6 +13466,14 @@ export interface operations {
|
|
|
13078
13466
|
"application/json": components["schemas"]["TruckResponseDto"];
|
|
13079
13467
|
};
|
|
13080
13468
|
};
|
|
13469
|
+
201: {
|
|
13470
|
+
headers: {
|
|
13471
|
+
[name: string]: unknown;
|
|
13472
|
+
};
|
|
13473
|
+
content: {
|
|
13474
|
+
"application/json": Record<string, never>;
|
|
13475
|
+
};
|
|
13476
|
+
};
|
|
13081
13477
|
};
|
|
13082
13478
|
};
|
|
13083
13479
|
TrucksController_unassign: {
|
|
@@ -13100,6 +13496,14 @@ export interface operations {
|
|
|
13100
13496
|
"application/json": components["schemas"]["TruckResponseDto"];
|
|
13101
13497
|
};
|
|
13102
13498
|
};
|
|
13499
|
+
201: {
|
|
13500
|
+
headers: {
|
|
13501
|
+
[name: string]: unknown;
|
|
13502
|
+
};
|
|
13503
|
+
content: {
|
|
13504
|
+
"application/json": Record<string, never>;
|
|
13505
|
+
};
|
|
13506
|
+
};
|
|
13103
13507
|
};
|
|
13104
13508
|
};
|
|
13105
13509
|
TrailersController_findAll: {
|
|
@@ -13110,6 +13514,7 @@ export interface operations {
|
|
|
13110
13514
|
status: string;
|
|
13111
13515
|
type: string;
|
|
13112
13516
|
search: string;
|
|
13517
|
+
carrierId: string;
|
|
13113
13518
|
};
|
|
13114
13519
|
header?: never;
|
|
13115
13520
|
path?: never;
|
|
@@ -13246,6 +13651,14 @@ export interface operations {
|
|
|
13246
13651
|
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
13247
13652
|
};
|
|
13248
13653
|
};
|
|
13654
|
+
201: {
|
|
13655
|
+
headers: {
|
|
13656
|
+
[name: string]: unknown;
|
|
13657
|
+
};
|
|
13658
|
+
content: {
|
|
13659
|
+
"application/json": Record<string, never>;
|
|
13660
|
+
};
|
|
13661
|
+
};
|
|
13249
13662
|
};
|
|
13250
13663
|
};
|
|
13251
13664
|
TrailersController_unassign: {
|
|
@@ -13268,6 +13681,14 @@ export interface operations {
|
|
|
13268
13681
|
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
13269
13682
|
};
|
|
13270
13683
|
};
|
|
13684
|
+
201: {
|
|
13685
|
+
headers: {
|
|
13686
|
+
[name: string]: unknown;
|
|
13687
|
+
};
|
|
13688
|
+
content: {
|
|
13689
|
+
"application/json": Record<string, never>;
|
|
13690
|
+
};
|
|
13691
|
+
};
|
|
13271
13692
|
};
|
|
13272
13693
|
};
|
|
13273
13694
|
TelegramController_getCurrentRun: {
|
|
@@ -13359,6 +13780,12 @@ export interface operations {
|
|
|
13359
13780
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
13360
13781
|
};
|
|
13361
13782
|
};
|
|
13783
|
+
201: {
|
|
13784
|
+
headers: {
|
|
13785
|
+
[name: string]: unknown;
|
|
13786
|
+
};
|
|
13787
|
+
content?: never;
|
|
13788
|
+
};
|
|
13362
13789
|
};
|
|
13363
13790
|
};
|
|
13364
13791
|
TelegramController_getRunCharges: {
|
|
@@ -13419,6 +13846,12 @@ export interface operations {
|
|
|
13419
13846
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13420
13847
|
};
|
|
13421
13848
|
};
|
|
13849
|
+
201: {
|
|
13850
|
+
headers: {
|
|
13851
|
+
[name: string]: unknown;
|
|
13852
|
+
};
|
|
13853
|
+
content?: never;
|
|
13854
|
+
};
|
|
13422
13855
|
};
|
|
13423
13856
|
};
|
|
13424
13857
|
TelegramController_acceptRun: {
|
|
@@ -13440,6 +13873,12 @@ export interface operations {
|
|
|
13440
13873
|
"application/json": components["schemas"]["TelegramRunActionResponseDto"];
|
|
13441
13874
|
};
|
|
13442
13875
|
};
|
|
13876
|
+
201: {
|
|
13877
|
+
headers: {
|
|
13878
|
+
[name: string]: unknown;
|
|
13879
|
+
};
|
|
13880
|
+
content?: never;
|
|
13881
|
+
};
|
|
13443
13882
|
};
|
|
13444
13883
|
};
|
|
13445
13884
|
TelegramController_startRun: {
|
|
@@ -13461,6 +13900,12 @@ export interface operations {
|
|
|
13461
13900
|
"application/json": components["schemas"]["TelegramRunActionResponseDto"];
|
|
13462
13901
|
};
|
|
13463
13902
|
};
|
|
13903
|
+
201: {
|
|
13904
|
+
headers: {
|
|
13905
|
+
[name: string]: unknown;
|
|
13906
|
+
};
|
|
13907
|
+
content?: never;
|
|
13908
|
+
};
|
|
13464
13909
|
};
|
|
13465
13910
|
};
|
|
13466
13911
|
TelegramController_completeRun: {
|
|
@@ -13482,6 +13927,12 @@ export interface operations {
|
|
|
13482
13927
|
"application/json": components["schemas"]["TelegramRunActionResponseDto"];
|
|
13483
13928
|
};
|
|
13484
13929
|
};
|
|
13930
|
+
201: {
|
|
13931
|
+
headers: {
|
|
13932
|
+
[name: string]: unknown;
|
|
13933
|
+
};
|
|
13934
|
+
content?: never;
|
|
13935
|
+
};
|
|
13485
13936
|
};
|
|
13486
13937
|
};
|
|
13487
13938
|
TelegramController_reportException: {
|
|
@@ -13507,6 +13958,12 @@ export interface operations {
|
|
|
13507
13958
|
"application/json": components["schemas"]["TelegramExceptionResponseDto"];
|
|
13508
13959
|
};
|
|
13509
13960
|
};
|
|
13961
|
+
201: {
|
|
13962
|
+
headers: {
|
|
13963
|
+
[name: string]: unknown;
|
|
13964
|
+
};
|
|
13965
|
+
content?: never;
|
|
13966
|
+
};
|
|
13510
13967
|
};
|
|
13511
13968
|
};
|
|
13512
13969
|
TelegramController_createExpense: {
|
|
@@ -13553,6 +14010,12 @@ export interface operations {
|
|
|
13553
14010
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13554
14011
|
};
|
|
13555
14012
|
};
|
|
14013
|
+
201: {
|
|
14014
|
+
headers: {
|
|
14015
|
+
[name: string]: unknown;
|
|
14016
|
+
};
|
|
14017
|
+
content?: never;
|
|
14018
|
+
};
|
|
13556
14019
|
};
|
|
13557
14020
|
};
|
|
13558
14021
|
TelegramController_getDriverStatus: {
|
|
@@ -13594,6 +14057,12 @@ export interface operations {
|
|
|
13594
14057
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13595
14058
|
};
|
|
13596
14059
|
};
|
|
14060
|
+
201: {
|
|
14061
|
+
headers: {
|
|
14062
|
+
[name: string]: unknown;
|
|
14063
|
+
};
|
|
14064
|
+
content?: never;
|
|
14065
|
+
};
|
|
13597
14066
|
};
|
|
13598
14067
|
};
|
|
13599
14068
|
TelegramController_getHosDetail: {
|
|
@@ -13863,6 +14332,12 @@ export interface operations {
|
|
|
13863
14332
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13864
14333
|
};
|
|
13865
14334
|
};
|
|
14335
|
+
201: {
|
|
14336
|
+
headers: {
|
|
14337
|
+
[name: string]: unknown;
|
|
14338
|
+
};
|
|
14339
|
+
content?: never;
|
|
14340
|
+
};
|
|
13866
14341
|
};
|
|
13867
14342
|
};
|
|
13868
14343
|
TelegramController_sendDriverInvite: {
|
|
@@ -13886,6 +14361,14 @@ export interface operations {
|
|
|
13886
14361
|
"application/json": components["schemas"]["TelegramInviteLinkResponseDto"];
|
|
13887
14362
|
};
|
|
13888
14363
|
};
|
|
14364
|
+
201: {
|
|
14365
|
+
headers: {
|
|
14366
|
+
[name: string]: unknown;
|
|
14367
|
+
};
|
|
14368
|
+
content: {
|
|
14369
|
+
"application/json": Record<string, never>;
|
|
14370
|
+
};
|
|
14371
|
+
};
|
|
13889
14372
|
};
|
|
13890
14373
|
};
|
|
13891
14374
|
TelegramController_getNotifications: {
|
|
@@ -13944,6 +14427,12 @@ export interface operations {
|
|
|
13944
14427
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13945
14428
|
};
|
|
13946
14429
|
};
|
|
14430
|
+
201: {
|
|
14431
|
+
headers: {
|
|
14432
|
+
[name: string]: unknown;
|
|
14433
|
+
};
|
|
14434
|
+
content?: never;
|
|
14435
|
+
};
|
|
13947
14436
|
};
|
|
13948
14437
|
};
|
|
13949
14438
|
TelegramController_getBotInfo: {
|
|
@@ -14135,6 +14624,12 @@ export interface operations {
|
|
|
14135
14624
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
14136
14625
|
};
|
|
14137
14626
|
};
|
|
14627
|
+
201: {
|
|
14628
|
+
headers: {
|
|
14629
|
+
[name: string]: unknown;
|
|
14630
|
+
};
|
|
14631
|
+
content?: never;
|
|
14632
|
+
};
|
|
14138
14633
|
};
|
|
14139
14634
|
};
|
|
14140
14635
|
DriversController_updateStopStatus: {
|
|
@@ -14161,6 +14656,14 @@ export interface operations {
|
|
|
14161
14656
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
14162
14657
|
};
|
|
14163
14658
|
};
|
|
14659
|
+
201: {
|
|
14660
|
+
headers: {
|
|
14661
|
+
[name: string]: unknown;
|
|
14662
|
+
};
|
|
14663
|
+
content: {
|
|
14664
|
+
"application/json": Record<string, never>;
|
|
14665
|
+
};
|
|
14666
|
+
};
|
|
14164
14667
|
};
|
|
14165
14668
|
};
|
|
14166
14669
|
DriversController_revertStopStatus: {
|
|
@@ -14187,6 +14690,12 @@ export interface operations {
|
|
|
14187
14690
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
14188
14691
|
};
|
|
14189
14692
|
};
|
|
14693
|
+
201: {
|
|
14694
|
+
headers: {
|
|
14695
|
+
[name: string]: unknown;
|
|
14696
|
+
};
|
|
14697
|
+
content?: never;
|
|
14698
|
+
};
|
|
14190
14699
|
};
|
|
14191
14700
|
};
|
|
14192
14701
|
DriversController_uploadDocument: {
|
|
@@ -14279,6 +14788,12 @@ export interface operations {
|
|
|
14279
14788
|
"application/json": components["schemas"]["UserSignatureResponseDto"];
|
|
14280
14789
|
};
|
|
14281
14790
|
};
|
|
14791
|
+
201: {
|
|
14792
|
+
headers: {
|
|
14793
|
+
[name: string]: unknown;
|
|
14794
|
+
};
|
|
14795
|
+
content?: never;
|
|
14796
|
+
};
|
|
14282
14797
|
};
|
|
14283
14798
|
};
|
|
14284
14799
|
DriversController_checkSignatureExists: {
|
|
@@ -14401,12 +14916,19 @@ export interface operations {
|
|
|
14401
14916
|
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
14402
14917
|
};
|
|
14403
14918
|
};
|
|
14919
|
+
201: {
|
|
14920
|
+
headers: {
|
|
14921
|
+
[name: string]: unknown;
|
|
14922
|
+
};
|
|
14923
|
+
content?: never;
|
|
14924
|
+
};
|
|
14404
14925
|
};
|
|
14405
14926
|
};
|
|
14406
14927
|
DriversAdminController_listDrivers: {
|
|
14407
14928
|
parameters: {
|
|
14408
14929
|
query: {
|
|
14409
14930
|
onlineOnly: boolean;
|
|
14931
|
+
carrierId: string;
|
|
14410
14932
|
};
|
|
14411
14933
|
header?: never;
|
|
14412
14934
|
path?: never;
|
|
@@ -14523,6 +15045,12 @@ export interface operations {
|
|
|
14523
15045
|
"application/json": components["schemas"]["DriverResponseDto"];
|
|
14524
15046
|
};
|
|
14525
15047
|
};
|
|
15048
|
+
201: {
|
|
15049
|
+
headers: {
|
|
15050
|
+
[name: string]: unknown;
|
|
15051
|
+
};
|
|
15052
|
+
content?: never;
|
|
15053
|
+
};
|
|
14526
15054
|
};
|
|
14527
15055
|
};
|
|
14528
15056
|
DriversAdminController_getDispatcherHistory: {
|
|
@@ -14571,6 +15099,12 @@ export interface operations {
|
|
|
14571
15099
|
"application/json": components["schemas"]["DriverResponseDto"];
|
|
14572
15100
|
};
|
|
14573
15101
|
};
|
|
15102
|
+
201: {
|
|
15103
|
+
headers: {
|
|
15104
|
+
[name: string]: unknown;
|
|
15105
|
+
};
|
|
15106
|
+
content?: never;
|
|
15107
|
+
};
|
|
14574
15108
|
};
|
|
14575
15109
|
};
|
|
14576
15110
|
DriversAdminController_unlinkTeamDriver: {
|
|
@@ -14615,6 +15149,12 @@ export interface operations {
|
|
|
14615
15149
|
"application/json": components["schemas"]["DriverResponseDto"];
|
|
14616
15150
|
};
|
|
14617
15151
|
};
|
|
15152
|
+
201: {
|
|
15153
|
+
headers: {
|
|
15154
|
+
[name: string]: unknown;
|
|
15155
|
+
};
|
|
15156
|
+
content?: never;
|
|
15157
|
+
};
|
|
14618
15158
|
};
|
|
14619
15159
|
};
|
|
14620
15160
|
DriversAdminController_unlinkUser: {
|
|
@@ -15068,6 +15608,12 @@ export interface operations {
|
|
|
15068
15608
|
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
15069
15609
|
};
|
|
15070
15610
|
};
|
|
15611
|
+
201: {
|
|
15612
|
+
headers: {
|
|
15613
|
+
[name: string]: unknown;
|
|
15614
|
+
};
|
|
15615
|
+
content?: never;
|
|
15616
|
+
};
|
|
15071
15617
|
};
|
|
15072
15618
|
};
|
|
15073
15619
|
StatementsController_findAll: {
|
|
@@ -15317,6 +15863,14 @@ export interface operations {
|
|
|
15317
15863
|
"application/json": components["schemas"]["StatementResponseDto"];
|
|
15318
15864
|
};
|
|
15319
15865
|
};
|
|
15866
|
+
201: {
|
|
15867
|
+
headers: {
|
|
15868
|
+
[name: string]: unknown;
|
|
15869
|
+
};
|
|
15870
|
+
content: {
|
|
15871
|
+
"application/json": Record<string, never>;
|
|
15872
|
+
};
|
|
15873
|
+
};
|
|
15320
15874
|
};
|
|
15321
15875
|
};
|
|
15322
15876
|
StatementsController_markPaid: {
|
|
@@ -15339,6 +15893,14 @@ export interface operations {
|
|
|
15339
15893
|
"application/json": components["schemas"]["StatementResponseDto"];
|
|
15340
15894
|
};
|
|
15341
15895
|
};
|
|
15896
|
+
201: {
|
|
15897
|
+
headers: {
|
|
15898
|
+
[name: string]: unknown;
|
|
15899
|
+
};
|
|
15900
|
+
content: {
|
|
15901
|
+
"application/json": Record<string, never>;
|
|
15902
|
+
};
|
|
15903
|
+
};
|
|
15342
15904
|
};
|
|
15343
15905
|
};
|
|
15344
15906
|
ReferralsController_findAll: {
|
|
@@ -15564,6 +16126,12 @@ export interface operations {
|
|
|
15564
16126
|
"application/json": components["schemas"]["UserSignatureResponseDto"];
|
|
15565
16127
|
};
|
|
15566
16128
|
};
|
|
16129
|
+
201: {
|
|
16130
|
+
headers: {
|
|
16131
|
+
[name: string]: unknown;
|
|
16132
|
+
};
|
|
16133
|
+
content?: never;
|
|
16134
|
+
};
|
|
15567
16135
|
};
|
|
15568
16136
|
};
|
|
15569
16137
|
SignaturesController_deleteSignature: {
|
|
@@ -15605,7 +16173,7 @@ export interface operations {
|
|
|
15605
16173
|
ExpensesController_findAll: {
|
|
15606
16174
|
parameters: {
|
|
15607
16175
|
query?: {
|
|
15608
|
-
type?: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "OTHER";
|
|
16176
|
+
type?: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "PERMIT" | "FINE" | "OTHER";
|
|
15609
16177
|
status?: "PENDING" | "APPROVED" | "REJECTED" | "PAID";
|
|
15610
16178
|
driverId?: string;
|
|
15611
16179
|
truckId?: string;
|
|
@@ -15613,6 +16181,8 @@ export interface operations {
|
|
|
15613
16181
|
fromDate?: string;
|
|
15614
16182
|
toDate?: string;
|
|
15615
16183
|
search?: string;
|
|
16184
|
+
/** @description Narrow results to a single partnered carrier (dispatch users) */
|
|
16185
|
+
carrierId?: string;
|
|
15616
16186
|
page?: number;
|
|
15617
16187
|
limit?: number;
|
|
15618
16188
|
};
|
|
@@ -15658,7 +16228,7 @@ export interface operations {
|
|
|
15658
16228
|
ExpensesController_getStats: {
|
|
15659
16229
|
parameters: {
|
|
15660
16230
|
query?: {
|
|
15661
|
-
type?: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "OTHER";
|
|
16231
|
+
type?: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "PERMIT" | "FINE" | "OTHER";
|
|
15662
16232
|
status?: "PENDING" | "APPROVED" | "REJECTED" | "PAID";
|
|
15663
16233
|
driverId?: string;
|
|
15664
16234
|
truckId?: string;
|
|
@@ -15666,6 +16236,8 @@ export interface operations {
|
|
|
15666
16236
|
fromDate?: string;
|
|
15667
16237
|
toDate?: string;
|
|
15668
16238
|
search?: string;
|
|
16239
|
+
/** @description Narrow results to a single partnered carrier (dispatch users) */
|
|
16240
|
+
carrierId?: string;
|
|
15669
16241
|
page?: number;
|
|
15670
16242
|
limit?: number;
|
|
15671
16243
|
};
|
|
@@ -15702,6 +16274,12 @@ export interface operations {
|
|
|
15702
16274
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15703
16275
|
};
|
|
15704
16276
|
};
|
|
16277
|
+
201: {
|
|
16278
|
+
headers: {
|
|
16279
|
+
[name: string]: unknown;
|
|
16280
|
+
};
|
|
16281
|
+
content?: never;
|
|
16282
|
+
};
|
|
15705
16283
|
};
|
|
15706
16284
|
};
|
|
15707
16285
|
ExpensesController_findOne: {
|
|
@@ -15792,6 +16370,14 @@ export interface operations {
|
|
|
15792
16370
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15793
16371
|
};
|
|
15794
16372
|
};
|
|
16373
|
+
201: {
|
|
16374
|
+
headers: {
|
|
16375
|
+
[name: string]: unknown;
|
|
16376
|
+
};
|
|
16377
|
+
content: {
|
|
16378
|
+
"application/json": Record<string, never>;
|
|
16379
|
+
};
|
|
16380
|
+
};
|
|
15795
16381
|
};
|
|
15796
16382
|
};
|
|
15797
16383
|
ExpensesController_approve: {
|
|
@@ -15813,6 +16399,12 @@ export interface operations {
|
|
|
15813
16399
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15814
16400
|
};
|
|
15815
16401
|
};
|
|
16402
|
+
201: {
|
|
16403
|
+
headers: {
|
|
16404
|
+
[name: string]: unknown;
|
|
16405
|
+
};
|
|
16406
|
+
content?: never;
|
|
16407
|
+
};
|
|
15816
16408
|
};
|
|
15817
16409
|
};
|
|
15818
16410
|
ExpensesController_reject: {
|
|
@@ -15838,6 +16430,12 @@ export interface operations {
|
|
|
15838
16430
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15839
16431
|
};
|
|
15840
16432
|
};
|
|
16433
|
+
201: {
|
|
16434
|
+
headers: {
|
|
16435
|
+
[name: string]: unknown;
|
|
16436
|
+
};
|
|
16437
|
+
content?: never;
|
|
16438
|
+
};
|
|
15841
16439
|
};
|
|
15842
16440
|
};
|
|
15843
16441
|
ExpensesController_reopen: {
|
|
@@ -15859,6 +16457,12 @@ export interface operations {
|
|
|
15859
16457
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15860
16458
|
};
|
|
15861
16459
|
};
|
|
16460
|
+
201: {
|
|
16461
|
+
headers: {
|
|
16462
|
+
[name: string]: unknown;
|
|
16463
|
+
};
|
|
16464
|
+
content?: never;
|
|
16465
|
+
};
|
|
15862
16466
|
};
|
|
15863
16467
|
};
|
|
15864
16468
|
ExpensesController_markAsPaid: {
|
|
@@ -15884,6 +16488,12 @@ export interface operations {
|
|
|
15884
16488
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15885
16489
|
};
|
|
15886
16490
|
};
|
|
16491
|
+
201: {
|
|
16492
|
+
headers: {
|
|
16493
|
+
[name: string]: unknown;
|
|
16494
|
+
};
|
|
16495
|
+
content?: never;
|
|
16496
|
+
};
|
|
15887
16497
|
};
|
|
15888
16498
|
};
|
|
15889
16499
|
ClientEmailController_findAll: {
|
|
@@ -16044,6 +16654,12 @@ export interface operations {
|
|
|
16044
16654
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
16045
16655
|
};
|
|
16046
16656
|
};
|
|
16657
|
+
201: {
|
|
16658
|
+
headers: {
|
|
16659
|
+
[name: string]: unknown;
|
|
16660
|
+
};
|
|
16661
|
+
content?: never;
|
|
16662
|
+
};
|
|
16047
16663
|
};
|
|
16048
16664
|
};
|
|
16049
16665
|
InboundEmailController_findAll: {
|
|
@@ -16144,6 +16760,60 @@ export interface operations {
|
|
|
16144
16760
|
};
|
|
16145
16761
|
};
|
|
16146
16762
|
};
|
|
16763
|
+
InboundEmailController_archive: {
|
|
16764
|
+
parameters: {
|
|
16765
|
+
query?: never;
|
|
16766
|
+
header?: never;
|
|
16767
|
+
path: {
|
|
16768
|
+
id: string;
|
|
16769
|
+
};
|
|
16770
|
+
cookie?: never;
|
|
16771
|
+
};
|
|
16772
|
+
requestBody?: never;
|
|
16773
|
+
responses: {
|
|
16774
|
+
200: {
|
|
16775
|
+
headers: {
|
|
16776
|
+
[name: string]: unknown;
|
|
16777
|
+
};
|
|
16778
|
+
content: {
|
|
16779
|
+
"application/json": components["schemas"]["InboundEmailResponseDto"];
|
|
16780
|
+
};
|
|
16781
|
+
};
|
|
16782
|
+
201: {
|
|
16783
|
+
headers: {
|
|
16784
|
+
[name: string]: unknown;
|
|
16785
|
+
};
|
|
16786
|
+
content?: never;
|
|
16787
|
+
};
|
|
16788
|
+
};
|
|
16789
|
+
};
|
|
16790
|
+
InboundEmailController_reply: {
|
|
16791
|
+
parameters: {
|
|
16792
|
+
query?: never;
|
|
16793
|
+
header?: never;
|
|
16794
|
+
path: {
|
|
16795
|
+
id: string;
|
|
16796
|
+
};
|
|
16797
|
+
cookie?: never;
|
|
16798
|
+
};
|
|
16799
|
+
requestBody?: never;
|
|
16800
|
+
responses: {
|
|
16801
|
+
200: {
|
|
16802
|
+
headers: {
|
|
16803
|
+
[name: string]: unknown;
|
|
16804
|
+
};
|
|
16805
|
+
content: {
|
|
16806
|
+
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
16807
|
+
};
|
|
16808
|
+
};
|
|
16809
|
+
201: {
|
|
16810
|
+
headers: {
|
|
16811
|
+
[name: string]: unknown;
|
|
16812
|
+
};
|
|
16813
|
+
content?: never;
|
|
16814
|
+
};
|
|
16815
|
+
};
|
|
16816
|
+
};
|
|
16147
16817
|
EmailWebhookController_handleInboundEmail: {
|
|
16148
16818
|
parameters: {
|
|
16149
16819
|
query?: never;
|
|
@@ -16246,6 +16916,12 @@ export interface operations {
|
|
|
16246
16916
|
"application/json": components["schemas"]["SignDocumentResultDto"];
|
|
16247
16917
|
};
|
|
16248
16918
|
};
|
|
16919
|
+
201: {
|
|
16920
|
+
headers: {
|
|
16921
|
+
[name: string]: unknown;
|
|
16922
|
+
};
|
|
16923
|
+
content?: never;
|
|
16924
|
+
};
|
|
16249
16925
|
/** @description Document already signed or link expired */
|
|
16250
16926
|
400: {
|
|
16251
16927
|
headers: {
|
|
@@ -16295,6 +16971,14 @@ export interface operations {
|
|
|
16295
16971
|
"application/json": components["schemas"]["DocumentToSignResponseDto"];
|
|
16296
16972
|
};
|
|
16297
16973
|
};
|
|
16974
|
+
201: {
|
|
16975
|
+
headers: {
|
|
16976
|
+
[name: string]: unknown;
|
|
16977
|
+
};
|
|
16978
|
+
content: {
|
|
16979
|
+
"application/json": Record<string, never>;
|
|
16980
|
+
};
|
|
16981
|
+
};
|
|
16298
16982
|
};
|
|
16299
16983
|
};
|
|
16300
16984
|
SearchController_search: {
|
|
@@ -16458,6 +17142,12 @@ export interface operations {
|
|
|
16458
17142
|
"application/json": components["schemas"]["ResendInvitationResponseDto"];
|
|
16459
17143
|
};
|
|
16460
17144
|
};
|
|
17145
|
+
201: {
|
|
17146
|
+
headers: {
|
|
17147
|
+
[name: string]: unknown;
|
|
17148
|
+
};
|
|
17149
|
+
content?: never;
|
|
17150
|
+
};
|
|
16461
17151
|
};
|
|
16462
17152
|
};
|
|
16463
17153
|
CarriersController_findAll: {
|
|
@@ -16727,6 +17417,14 @@ export interface operations {
|
|
|
16727
17417
|
"application/json": components["schemas"]["PermitRequestResponseDto"];
|
|
16728
17418
|
};
|
|
16729
17419
|
};
|
|
17420
|
+
201: {
|
|
17421
|
+
headers: {
|
|
17422
|
+
[name: string]: unknown;
|
|
17423
|
+
};
|
|
17424
|
+
content: {
|
|
17425
|
+
"application/json": Record<string, never>;
|
|
17426
|
+
};
|
|
17427
|
+
};
|
|
16730
17428
|
};
|
|
16731
17429
|
};
|
|
16732
17430
|
AuditController_findAll: {
|
|
@@ -17105,6 +17803,29 @@ export interface operations {
|
|
|
17105
17803
|
};
|
|
17106
17804
|
};
|
|
17107
17805
|
};
|
|
17806
|
+
ReportsController_getPayoutReport: {
|
|
17807
|
+
parameters: {
|
|
17808
|
+
query?: {
|
|
17809
|
+
startDate?: string;
|
|
17810
|
+
endDate?: string;
|
|
17811
|
+
carrierId?: string;
|
|
17812
|
+
driverId?: string;
|
|
17813
|
+
customerId?: string;
|
|
17814
|
+
};
|
|
17815
|
+
header?: never;
|
|
17816
|
+
path?: never;
|
|
17817
|
+
cookie?: never;
|
|
17818
|
+
};
|
|
17819
|
+
requestBody?: never;
|
|
17820
|
+
responses: {
|
|
17821
|
+
200: {
|
|
17822
|
+
headers: {
|
|
17823
|
+
[name: string]: unknown;
|
|
17824
|
+
};
|
|
17825
|
+
content?: never;
|
|
17826
|
+
};
|
|
17827
|
+
};
|
|
17828
|
+
};
|
|
17108
17829
|
DispatchController_getConnectedCarriers: {
|
|
17109
17830
|
parameters: {
|
|
17110
17831
|
query?: never;
|