@routeflow/types 1.0.24 → 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 +1141 -296
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1141 -296
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;
|
|
@@ -823,6 +806,94 @@ export interface paths {
|
|
|
823
806
|
patch?: never;
|
|
824
807
|
trace?: never;
|
|
825
808
|
};
|
|
809
|
+
"/api/verification/fmcsa-lookup": {
|
|
810
|
+
parameters: {
|
|
811
|
+
query?: never;
|
|
812
|
+
header?: never;
|
|
813
|
+
path?: never;
|
|
814
|
+
cookie?: never;
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* Lookup carrier in FMCSA by DOT or MC number
|
|
818
|
+
* @description Real-time FMCSA validation during onboarding. Returns carrier details if found.
|
|
819
|
+
*/
|
|
820
|
+
get: operations["VerificationController_fmcsaLookup"];
|
|
821
|
+
put?: never;
|
|
822
|
+
post?: never;
|
|
823
|
+
delete?: never;
|
|
824
|
+
options?: never;
|
|
825
|
+
head?: never;
|
|
826
|
+
patch?: never;
|
|
827
|
+
trace?: never;
|
|
828
|
+
};
|
|
829
|
+
"/api/verification/fmcsa-check": {
|
|
830
|
+
parameters: {
|
|
831
|
+
query?: never;
|
|
832
|
+
header?: never;
|
|
833
|
+
path?: never;
|
|
834
|
+
cookie?: never;
|
|
835
|
+
};
|
|
836
|
+
get?: never;
|
|
837
|
+
put?: never;
|
|
838
|
+
/** Trigger FMCSA check and auto-verify organization */
|
|
839
|
+
post: operations["VerificationController_checkFmcsa"];
|
|
840
|
+
delete?: never;
|
|
841
|
+
options?: never;
|
|
842
|
+
head?: never;
|
|
843
|
+
patch?: never;
|
|
844
|
+
trace?: never;
|
|
845
|
+
};
|
|
846
|
+
"/api/verification/submit": {
|
|
847
|
+
parameters: {
|
|
848
|
+
query?: never;
|
|
849
|
+
header?: never;
|
|
850
|
+
path?: never;
|
|
851
|
+
cookie?: never;
|
|
852
|
+
};
|
|
853
|
+
get?: never;
|
|
854
|
+
put?: never;
|
|
855
|
+
/** Submit ownership verification proof */
|
|
856
|
+
post: operations["VerificationController_submitVerification"];
|
|
857
|
+
delete?: never;
|
|
858
|
+
options?: never;
|
|
859
|
+
head?: never;
|
|
860
|
+
patch?: never;
|
|
861
|
+
trace?: never;
|
|
862
|
+
};
|
|
863
|
+
"/api/verification/status": {
|
|
864
|
+
parameters: {
|
|
865
|
+
query?: never;
|
|
866
|
+
header?: never;
|
|
867
|
+
path?: never;
|
|
868
|
+
cookie?: never;
|
|
869
|
+
};
|
|
870
|
+
/** Get organization verification status */
|
|
871
|
+
get: operations["VerificationController_getStatus"];
|
|
872
|
+
put?: never;
|
|
873
|
+
post?: never;
|
|
874
|
+
delete?: never;
|
|
875
|
+
options?: never;
|
|
876
|
+
head?: never;
|
|
877
|
+
patch?: never;
|
|
878
|
+
trace?: never;
|
|
879
|
+
};
|
|
880
|
+
"/api/verification/admin/{orgId}/decide": {
|
|
881
|
+
parameters: {
|
|
882
|
+
query?: never;
|
|
883
|
+
header?: never;
|
|
884
|
+
path?: never;
|
|
885
|
+
cookie?: never;
|
|
886
|
+
};
|
|
887
|
+
get?: never;
|
|
888
|
+
put?: never;
|
|
889
|
+
/** Admin approve or reject organization verification */
|
|
890
|
+
post: operations["VerificationController_adminDecision"];
|
|
891
|
+
delete?: never;
|
|
892
|
+
options?: never;
|
|
893
|
+
head?: never;
|
|
894
|
+
patch?: never;
|
|
895
|
+
trace?: never;
|
|
896
|
+
};
|
|
826
897
|
"/api/orgs": {
|
|
827
898
|
parameters: {
|
|
828
899
|
query?: never;
|
|
@@ -4298,6 +4369,40 @@ export interface paths {
|
|
|
4298
4369
|
patch: operations["InboundEmailController_updateTags"];
|
|
4299
4370
|
trace?: never;
|
|
4300
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
|
+
};
|
|
4301
4406
|
"/api/webhooks/email/inbound": {
|
|
4302
4407
|
parameters: {
|
|
4303
4408
|
query?: never;
|
|
@@ -4803,49 +4908,15 @@ export interface paths {
|
|
|
4803
4908
|
patch?: never;
|
|
4804
4909
|
trace?: never;
|
|
4805
4910
|
};
|
|
4806
|
-
"/api/
|
|
4807
|
-
parameters: {
|
|
4808
|
-
query?: never;
|
|
4809
|
-
header?: never;
|
|
4810
|
-
path?: never;
|
|
4811
|
-
cookie?: never;
|
|
4812
|
-
};
|
|
4813
|
-
get?: never;
|
|
4814
|
-
put?: never;
|
|
4815
|
-
/** Trigger FMCSA lookup for organization */
|
|
4816
|
-
post: operations["VerificationController_checkFmcsa"];
|
|
4817
|
-
delete?: never;
|
|
4818
|
-
options?: never;
|
|
4819
|
-
head?: never;
|
|
4820
|
-
patch?: never;
|
|
4821
|
-
trace?: never;
|
|
4822
|
-
};
|
|
4823
|
-
"/api/verification/submit": {
|
|
4824
|
-
parameters: {
|
|
4825
|
-
query?: never;
|
|
4826
|
-
header?: never;
|
|
4827
|
-
path?: never;
|
|
4828
|
-
cookie?: never;
|
|
4829
|
-
};
|
|
4830
|
-
get?: never;
|
|
4831
|
-
put?: never;
|
|
4832
|
-
/** Submit ownership verification proof */
|
|
4833
|
-
post: operations["VerificationController_submitVerification"];
|
|
4834
|
-
delete?: never;
|
|
4835
|
-
options?: never;
|
|
4836
|
-
head?: never;
|
|
4837
|
-
patch?: never;
|
|
4838
|
-
trace?: never;
|
|
4839
|
-
};
|
|
4840
|
-
"/api/verification/status": {
|
|
4911
|
+
"/api/reports/payouts": {
|
|
4841
4912
|
parameters: {
|
|
4842
4913
|
query?: never;
|
|
4843
4914
|
header?: never;
|
|
4844
4915
|
path?: never;
|
|
4845
4916
|
cookie?: never;
|
|
4846
4917
|
};
|
|
4847
|
-
/** Get
|
|
4848
|
-
get: operations["
|
|
4918
|
+
/** Get compensation payout report (driver/dispatcher/manager) */
|
|
4919
|
+
get: operations["ReportsController_getPayoutReport"];
|
|
4849
4920
|
put?: never;
|
|
4850
4921
|
post?: never;
|
|
4851
4922
|
delete?: never;
|
|
@@ -4854,23 +4925,6 @@ export interface paths {
|
|
|
4854
4925
|
patch?: never;
|
|
4855
4926
|
trace?: never;
|
|
4856
4927
|
};
|
|
4857
|
-
"/api/verification/admin/{orgId}/decide": {
|
|
4858
|
-
parameters: {
|
|
4859
|
-
query?: never;
|
|
4860
|
-
header?: never;
|
|
4861
|
-
path?: never;
|
|
4862
|
-
cookie?: never;
|
|
4863
|
-
};
|
|
4864
|
-
get?: never;
|
|
4865
|
-
put?: never;
|
|
4866
|
-
/** Admin approve or reject organization verification */
|
|
4867
|
-
post: operations["VerificationController_adminDecision"];
|
|
4868
|
-
delete?: never;
|
|
4869
|
-
options?: never;
|
|
4870
|
-
head?: never;
|
|
4871
|
-
patch?: never;
|
|
4872
|
-
trace?: never;
|
|
4873
|
-
};
|
|
4874
4928
|
"/api/dispatch/carriers": {
|
|
4875
4929
|
parameters: {
|
|
4876
4930
|
query?: never;
|
|
@@ -4927,7 +4981,10 @@ export type webhooks = Record<string, never>;
|
|
|
4927
4981
|
export interface components {
|
|
4928
4982
|
schemas: {
|
|
4929
4983
|
RegisterDto: {
|
|
4930
|
-
/**
|
|
4984
|
+
/**
|
|
4985
|
+
* Format: email
|
|
4986
|
+
* @example user@example.com
|
|
4987
|
+
*/
|
|
4931
4988
|
email: string;
|
|
4932
4989
|
/** @example Password1! */
|
|
4933
4990
|
password: string;
|
|
@@ -5027,7 +5084,10 @@ export interface components {
|
|
|
5027
5084
|
user: components["schemas"]["UserResponseDto"];
|
|
5028
5085
|
};
|
|
5029
5086
|
LoginDto: {
|
|
5030
|
-
/**
|
|
5087
|
+
/**
|
|
5088
|
+
* Format: email
|
|
5089
|
+
* @example user@example.com
|
|
5090
|
+
*/
|
|
5031
5091
|
email: string;
|
|
5032
5092
|
/** @example password123 */
|
|
5033
5093
|
password: string;
|
|
@@ -5039,6 +5099,7 @@ export interface components {
|
|
|
5039
5099
|
};
|
|
5040
5100
|
VerifyEmailDto: {
|
|
5041
5101
|
/**
|
|
5102
|
+
* Format: email
|
|
5042
5103
|
* @description Email address
|
|
5043
5104
|
* @example user@example.com
|
|
5044
5105
|
*/
|
|
@@ -5051,6 +5112,7 @@ export interface components {
|
|
|
5051
5112
|
};
|
|
5052
5113
|
ResendCodeDto: {
|
|
5053
5114
|
/**
|
|
5115
|
+
* Format: email
|
|
5054
5116
|
* @description Email address
|
|
5055
5117
|
* @example user@example.com
|
|
5056
5118
|
*/
|
|
@@ -5104,6 +5166,7 @@ export interface components {
|
|
|
5104
5166
|
};
|
|
5105
5167
|
ForgotPasswordDto: {
|
|
5106
5168
|
/**
|
|
5169
|
+
* Format: email
|
|
5107
5170
|
* @description Email address to send password reset link
|
|
5108
5171
|
* @example driver@example.com
|
|
5109
5172
|
*/
|
|
@@ -5195,7 +5258,10 @@ export interface components {
|
|
|
5195
5258
|
message: string;
|
|
5196
5259
|
};
|
|
5197
5260
|
CreateUserDto: {
|
|
5198
|
-
/**
|
|
5261
|
+
/**
|
|
5262
|
+
* Format: email
|
|
5263
|
+
* @example user@example.com
|
|
5264
|
+
*/
|
|
5199
5265
|
email?: string;
|
|
5200
5266
|
/** @example password123 */
|
|
5201
5267
|
password?: string;
|
|
@@ -5207,7 +5273,10 @@ export interface components {
|
|
|
5207
5273
|
lastName?: string;
|
|
5208
5274
|
/** @example +1234567890 */
|
|
5209
5275
|
phone?: string;
|
|
5210
|
-
/**
|
|
5276
|
+
/**
|
|
5277
|
+
* Format: email
|
|
5278
|
+
* @example personal@email.com
|
|
5279
|
+
*/
|
|
5211
5280
|
personalEmail?: string;
|
|
5212
5281
|
/** @example 1990-01-15 */
|
|
5213
5282
|
birthday?: string;
|
|
@@ -5235,6 +5304,7 @@ export interface components {
|
|
|
5235
5304
|
*/
|
|
5236
5305
|
commissionValue?: number;
|
|
5237
5306
|
/**
|
|
5307
|
+
* Format: email
|
|
5238
5308
|
* @description @logistio.pro email for company login
|
|
5239
5309
|
* @example john.doe@logistio.pro
|
|
5240
5310
|
*/
|
|
@@ -5244,6 +5314,11 @@ export interface components {
|
|
|
5244
5314
|
* @enum {string}
|
|
5245
5315
|
*/
|
|
5246
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;
|
|
5247
5322
|
};
|
|
5248
5323
|
UserListResponseDto: {
|
|
5249
5324
|
items: components["schemas"]["UserResponseDto"][];
|
|
@@ -5259,9 +5334,15 @@ export interface components {
|
|
|
5259
5334
|
firstName?: string;
|
|
5260
5335
|
/** @example Doe */
|
|
5261
5336
|
lastName?: string;
|
|
5262
|
-
/**
|
|
5337
|
+
/**
|
|
5338
|
+
* Format: email
|
|
5339
|
+
* @example user@example.com
|
|
5340
|
+
*/
|
|
5263
5341
|
email?: string;
|
|
5264
|
-
/**
|
|
5342
|
+
/**
|
|
5343
|
+
* Format: email
|
|
5344
|
+
* @example personal@example.com
|
|
5345
|
+
*/
|
|
5265
5346
|
personalEmail?: string;
|
|
5266
5347
|
/** @example +1234567890 */
|
|
5267
5348
|
phone?: string;
|
|
@@ -5276,6 +5357,16 @@ export interface components {
|
|
|
5276
5357
|
birthday?: string;
|
|
5277
5358
|
/** @example newpassword123 */
|
|
5278
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;
|
|
5279
5370
|
};
|
|
5280
5371
|
LinkTelegramDto: {
|
|
5281
5372
|
/** @example 123456789 */
|
|
@@ -5339,6 +5430,47 @@ export interface components {
|
|
|
5339
5430
|
deallocatedAt?: string;
|
|
5340
5431
|
partnership?: Record<string, never>;
|
|
5341
5432
|
};
|
|
5433
|
+
FmcsaLookupResponseDto: {
|
|
5434
|
+
/** @description Whether a carrier was found in FMCSA */
|
|
5435
|
+
found: boolean;
|
|
5436
|
+
dotNumber?: string;
|
|
5437
|
+
legalName?: string;
|
|
5438
|
+
dbaName?: string;
|
|
5439
|
+
/** @description Whether the carrier has active authority */
|
|
5440
|
+
isActive: boolean;
|
|
5441
|
+
statusCode?: string;
|
|
5442
|
+
mcNumber?: string;
|
|
5443
|
+
address?: string;
|
|
5444
|
+
city?: string;
|
|
5445
|
+
state?: string;
|
|
5446
|
+
zipCode?: string;
|
|
5447
|
+
phone?: string;
|
|
5448
|
+
totalDrivers?: number;
|
|
5449
|
+
totalPowerUnits?: number;
|
|
5450
|
+
};
|
|
5451
|
+
FmcsaCheckResponseDto: {
|
|
5452
|
+
org: Record<string, never>;
|
|
5453
|
+
fmcsaData: Record<string, never>;
|
|
5454
|
+
};
|
|
5455
|
+
SubmitVerificationDto: {
|
|
5456
|
+
/** @enum {string} */
|
|
5457
|
+
method: "fmcsa_phone" | "document_upload" | "third_party";
|
|
5458
|
+
documentUrl?: string;
|
|
5459
|
+
notes?: string;
|
|
5460
|
+
};
|
|
5461
|
+
VerificationStatusResponseDto: {
|
|
5462
|
+
id: string;
|
|
5463
|
+
verificationStatus: string;
|
|
5464
|
+
/** Format: date-time */
|
|
5465
|
+
verifiedAt?: string;
|
|
5466
|
+
verificationMethod?: string;
|
|
5467
|
+
fmcsaData?: Record<string, never>;
|
|
5468
|
+
};
|
|
5469
|
+
AdminVerificationDecisionDto: {
|
|
5470
|
+
/** @enum {string} */
|
|
5471
|
+
decision: "VERIFIED" | "REJECTED";
|
|
5472
|
+
reason?: string;
|
|
5473
|
+
};
|
|
5342
5474
|
CreateOrgDto: {
|
|
5343
5475
|
/** @example Acme Logistics */
|
|
5344
5476
|
name: string;
|
|
@@ -5375,7 +5507,10 @@ export interface components {
|
|
|
5375
5507
|
mcNumber?: string;
|
|
5376
5508
|
/** @example 789012 */
|
|
5377
5509
|
dotNumber?: string;
|
|
5378
|
-
/**
|
|
5510
|
+
/**
|
|
5511
|
+
* Format: email
|
|
5512
|
+
* @example org@example.com
|
|
5513
|
+
*/
|
|
5379
5514
|
email?: string;
|
|
5380
5515
|
/** @example +15551234567 */
|
|
5381
5516
|
phone?: string;
|
|
@@ -5405,7 +5540,10 @@ export interface components {
|
|
|
5405
5540
|
phoneCountryCode?: string;
|
|
5406
5541
|
};
|
|
5407
5542
|
InviteUserDto: {
|
|
5408
|
-
/**
|
|
5543
|
+
/**
|
|
5544
|
+
* Format: email
|
|
5545
|
+
* @example user@example.com
|
|
5546
|
+
*/
|
|
5409
5547
|
email?: string;
|
|
5410
5548
|
/**
|
|
5411
5549
|
* @example DRIVER
|
|
@@ -5500,7 +5638,10 @@ export interface components {
|
|
|
5500
5638
|
zipCode?: string;
|
|
5501
5639
|
/** @example 555-123-4567 */
|
|
5502
5640
|
phone?: string;
|
|
5503
|
-
/**
|
|
5641
|
+
/**
|
|
5642
|
+
* Format: email
|
|
5643
|
+
* @example dispatch@acmetrucking.com
|
|
5644
|
+
*/
|
|
5504
5645
|
email?: string;
|
|
5505
5646
|
/** @example 10 */
|
|
5506
5647
|
fleetSize?: number;
|
|
@@ -5531,7 +5672,10 @@ export interface components {
|
|
|
5531
5672
|
ExpressFactoringInterestDto: {
|
|
5532
5673
|
/** @example OTR_CAPITAL */
|
|
5533
5674
|
partner: string;
|
|
5534
|
-
/**
|
|
5675
|
+
/**
|
|
5676
|
+
* Format: email
|
|
5677
|
+
* @example dispatch@acmetrucking.com
|
|
5678
|
+
*/
|
|
5535
5679
|
contactEmail?: string;
|
|
5536
5680
|
/** @example 555-123-4567 */
|
|
5537
5681
|
contactPhone?: string;
|
|
@@ -5622,6 +5766,22 @@ export interface components {
|
|
|
5622
5766
|
* @example 1500
|
|
5623
5767
|
*/
|
|
5624
5768
|
totalPay?: number;
|
|
5769
|
+
/**
|
|
5770
|
+
* @example STANDARD
|
|
5771
|
+
* @enum {string}
|
|
5772
|
+
*/
|
|
5773
|
+
runType?: "STANDARD" | "POWER_ONLY";
|
|
5774
|
+
/** @example REF-001 */
|
|
5775
|
+
referenceNumber?: string;
|
|
5776
|
+
/** @example false */
|
|
5777
|
+
externalTrailer?: boolean;
|
|
5778
|
+
/**
|
|
5779
|
+
* @description Total miles
|
|
5780
|
+
* @example 500
|
|
5781
|
+
*/
|
|
5782
|
+
totalDistance?: number;
|
|
5783
|
+
/** @example Broker Company Name */
|
|
5784
|
+
brokerName?: string;
|
|
5625
5785
|
/**
|
|
5626
5786
|
* @description Driver to assign immediately
|
|
5627
5787
|
* @example cuid
|
|
@@ -5647,6 +5807,11 @@ export interface components {
|
|
|
5647
5807
|
* @example cuid
|
|
5648
5808
|
*/
|
|
5649
5809
|
trailerId?: string;
|
|
5810
|
+
/**
|
|
5811
|
+
* @description Freight/cargo type for trailer compatibility
|
|
5812
|
+
* @example Refrigerated
|
|
5813
|
+
*/
|
|
5814
|
+
freightType?: string;
|
|
5650
5815
|
/**
|
|
5651
5816
|
* @description Carrier subdivision ID
|
|
5652
5817
|
* @example cuid
|
|
@@ -5878,12 +6043,30 @@ export interface components {
|
|
|
5878
6043
|
* @description Truck assigned to this run
|
|
5879
6044
|
* @example cuid
|
|
5880
6045
|
*/
|
|
5881
|
-
truckId?:
|
|
6046
|
+
truckId?: string | null;
|
|
5882
6047
|
/**
|
|
5883
6048
|
* @description Trailer assigned to this run
|
|
5884
6049
|
* @example cuid
|
|
5885
6050
|
*/
|
|
5886
|
-
trailerId?:
|
|
6051
|
+
trailerId?: string | null;
|
|
6052
|
+
/**
|
|
6053
|
+
* @example STANDARD
|
|
6054
|
+
* @enum {string}
|
|
6055
|
+
*/
|
|
6056
|
+
runType?: "STANDARD" | "POWER_ONLY";
|
|
6057
|
+
/** @example REF-001 */
|
|
6058
|
+
referenceNumber?: string;
|
|
6059
|
+
/** @example false */
|
|
6060
|
+
externalTrailer?: boolean;
|
|
6061
|
+
/** @example 500 */
|
|
6062
|
+
totalDistance?: number;
|
|
6063
|
+
/** @example Broker Name */
|
|
6064
|
+
brokerName?: string;
|
|
6065
|
+
/**
|
|
6066
|
+
* @description Freight/cargo type for trailer compatibility
|
|
6067
|
+
* @example Refrigerated
|
|
6068
|
+
*/
|
|
6069
|
+
freightType?: string;
|
|
5887
6070
|
};
|
|
5888
6071
|
AssignDriverDto: {
|
|
5889
6072
|
/** @example clxxx... */
|
|
@@ -6104,7 +6287,10 @@ export interface components {
|
|
|
6104
6287
|
UnifiedUploadDto: {
|
|
6105
6288
|
/** @description Base64 encoded file (max 20MB, provide this OR fileUrl) */
|
|
6106
6289
|
fileBase64?: string;
|
|
6107
|
-
/**
|
|
6290
|
+
/**
|
|
6291
|
+
* Format: uri
|
|
6292
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6293
|
+
*/
|
|
6108
6294
|
fileUrl?: string;
|
|
6109
6295
|
/** @description Original file name */
|
|
6110
6296
|
fileName: string;
|
|
@@ -6141,39 +6327,39 @@ export interface components {
|
|
|
6141
6327
|
};
|
|
6142
6328
|
ExtractedAssetFieldDto: {
|
|
6143
6329
|
/** @description Driver name */
|
|
6144
|
-
name?:
|
|
6330
|
+
name?: string | null;
|
|
6145
6331
|
/** @description Phone number */
|
|
6146
|
-
phone?:
|
|
6332
|
+
phone?: string | null;
|
|
6147
6333
|
/** @description Email address */
|
|
6148
|
-
email?:
|
|
6334
|
+
email?: string | null;
|
|
6149
6335
|
/** @description License number */
|
|
6150
|
-
licenseNumber?:
|
|
6336
|
+
licenseNumber?: string | null;
|
|
6151
6337
|
/** @description License expiry date */
|
|
6152
|
-
licenseExpiry?:
|
|
6338
|
+
licenseExpiry?: string | null;
|
|
6153
6339
|
/** @description License state */
|
|
6154
|
-
licenseState?:
|
|
6340
|
+
licenseState?: string | null;
|
|
6155
6341
|
/** @description Truck number/ID */
|
|
6156
|
-
truckNumber?:
|
|
6342
|
+
truckNumber?: string | null;
|
|
6157
6343
|
/** @description Vehicle Identification Number */
|
|
6158
|
-
vin?:
|
|
6344
|
+
vin?: string | null;
|
|
6159
6345
|
/** @description Vehicle make */
|
|
6160
|
-
make?:
|
|
6346
|
+
make?: string | null;
|
|
6161
6347
|
/** @description Vehicle model */
|
|
6162
|
-
model?:
|
|
6348
|
+
model?: string | null;
|
|
6163
6349
|
/** @description Vehicle year */
|
|
6164
|
-
year?:
|
|
6350
|
+
year?: number | null;
|
|
6165
6351
|
/** @description License plate number */
|
|
6166
|
-
licensePlate?:
|
|
6352
|
+
licensePlate?: string | null;
|
|
6167
6353
|
/** @description Plate state */
|
|
6168
|
-
plateState?:
|
|
6354
|
+
plateState?: string | null;
|
|
6169
6355
|
/** @description Trailer number/ID */
|
|
6170
|
-
trailerNumber?:
|
|
6356
|
+
trailerNumber?: string | null;
|
|
6171
6357
|
/** @description Trailer type */
|
|
6172
|
-
trailerType?:
|
|
6358
|
+
trailerType?: string | null;
|
|
6173
6359
|
/** @description Trailer length */
|
|
6174
|
-
length?:
|
|
6360
|
+
length?: number | null;
|
|
6175
6361
|
/** @description Weight capacity */
|
|
6176
|
-
weightCapacity?:
|
|
6362
|
+
weightCapacity?: number | null;
|
|
6177
6363
|
};
|
|
6178
6364
|
ExtractedAssetResponseDto: {
|
|
6179
6365
|
/** @description Unique identifier */
|
|
@@ -6197,17 +6383,17 @@ export interface components {
|
|
|
6197
6383
|
/** @description Type of source document */
|
|
6198
6384
|
sourceDocumentType: string;
|
|
6199
6385
|
/** @description Original file name */
|
|
6200
|
-
fileName?:
|
|
6386
|
+
fileName?: string | null;
|
|
6201
6387
|
/** @description ID of potential duplicate asset */
|
|
6202
|
-
potentialDuplicateId?:
|
|
6388
|
+
potentialDuplicateId?: string | null;
|
|
6203
6389
|
/** @description Type of potential duplicate */
|
|
6204
|
-
potentialDuplicateType?:
|
|
6390
|
+
potentialDuplicateType?: string | null;
|
|
6205
6391
|
/** @description ID of reviewer */
|
|
6206
|
-
reviewedById?:
|
|
6392
|
+
reviewedById?: string | null;
|
|
6207
6393
|
/** @description Review timestamp */
|
|
6208
|
-
reviewedAt?:
|
|
6394
|
+
reviewedAt?: string | null;
|
|
6209
6395
|
/** @description Review notes */
|
|
6210
|
-
reviewNotes?:
|
|
6396
|
+
reviewNotes?: string | null;
|
|
6211
6397
|
/** @description Creation timestamp */
|
|
6212
6398
|
createdAt: string;
|
|
6213
6399
|
/** @description Last update timestamp */
|
|
@@ -6281,7 +6467,10 @@ export interface components {
|
|
|
6281
6467
|
ExtractAssetsDto: {
|
|
6282
6468
|
/** @description Base64 encoded file (provide this OR fileUrl) */
|
|
6283
6469
|
fileBase64?: string;
|
|
6284
|
-
/**
|
|
6470
|
+
/**
|
|
6471
|
+
* Format: uri
|
|
6472
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6473
|
+
*/
|
|
6285
6474
|
fileUrl?: string;
|
|
6286
6475
|
/** @description Original file name */
|
|
6287
6476
|
fileName: string;
|
|
@@ -6296,8 +6485,25 @@ export interface components {
|
|
|
6296
6485
|
extractedAssets: components["schemas"]["ExtractedAssetResponseDto"][];
|
|
6297
6486
|
/** @description Document type detected */
|
|
6298
6487
|
documentType: string;
|
|
6299
|
-
|
|
6300
|
-
|
|
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
|
+
};
|
|
6301
6507
|
};
|
|
6302
6508
|
ExtractionResultResponseDto: {
|
|
6303
6509
|
/** @description Whether extraction was successful */
|
|
@@ -6361,7 +6567,7 @@ export interface components {
|
|
|
6361
6567
|
mimeType?: string;
|
|
6362
6568
|
fileSize?: number;
|
|
6363
6569
|
/** @enum {string} */
|
|
6364
|
-
status: "PENDING" | "PROCESSED" | "FAILED" | "NEEDS_REVIEW";
|
|
6570
|
+
status: "PENDING" | "PROCESSED" | "SIGNED" | "FAILED" | "NEEDS_REVIEW";
|
|
6365
6571
|
parsedData?: Record<string, never>;
|
|
6366
6572
|
confidence?: number;
|
|
6367
6573
|
errorMessage?: string;
|
|
@@ -6397,7 +6603,10 @@ export interface components {
|
|
|
6397
6603
|
ParseRateConDto: {
|
|
6398
6604
|
/** @description Base64 encoded PDF file (provide this OR fileUrl) */
|
|
6399
6605
|
fileBase64?: string;
|
|
6400
|
-
/**
|
|
6606
|
+
/**
|
|
6607
|
+
* Format: uri
|
|
6608
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6609
|
+
*/
|
|
6401
6610
|
fileUrl?: string;
|
|
6402
6611
|
/**
|
|
6403
6612
|
* @description MIME type of the file
|
|
@@ -6408,7 +6617,10 @@ export interface components {
|
|
|
6408
6617
|
ParseBolDto: {
|
|
6409
6618
|
/** @description Base64 encoded PDF file (provide this OR fileUrl) */
|
|
6410
6619
|
fileBase64?: string;
|
|
6411
|
-
/**
|
|
6620
|
+
/**
|
|
6621
|
+
* Format: uri
|
|
6622
|
+
* @description Vercel Blob URL to the file (provide this OR fileBase64)
|
|
6623
|
+
*/
|
|
6412
6624
|
fileUrl?: string;
|
|
6413
6625
|
/**
|
|
6414
6626
|
* @description MIME type of the file
|
|
@@ -6617,7 +6829,10 @@ export interface components {
|
|
|
6617
6829
|
runId: string;
|
|
6618
6830
|
/** @example stop-id */
|
|
6619
6831
|
stopId?: string;
|
|
6620
|
-
/**
|
|
6832
|
+
/**
|
|
6833
|
+
* Format: email
|
|
6834
|
+
* @example customer@example.com
|
|
6835
|
+
*/
|
|
6621
6836
|
customerEmail?: string;
|
|
6622
6837
|
/** @example +1234567890 */
|
|
6623
6838
|
customerPhone?: string;
|
|
@@ -6647,7 +6862,11 @@ export interface components {
|
|
|
6647
6862
|
status: "DRAFT" | "QUEUED" | "DISPATCHED" | "ACCEPTED" | "AT_PICKUP" | "LOADED" | "IN_PROGRESS" | "IN_TRANSIT" | "AT_DELIVERY" | "DELIVERED" | "COMPLETED" | "CANCELLED" | "REJECTED" | "TONU" | "OFFERED";
|
|
6648
6863
|
/** Format: date-time */
|
|
6649
6864
|
estimatedArrival?: string;
|
|
6650
|
-
currentStop?:
|
|
6865
|
+
currentStop?: {
|
|
6866
|
+
id: string;
|
|
6867
|
+
address: string;
|
|
6868
|
+
status: Record<string, never>;
|
|
6869
|
+
};
|
|
6651
6870
|
stopsTotal: number;
|
|
6652
6871
|
stopsCompleted: number;
|
|
6653
6872
|
};
|
|
@@ -6664,6 +6883,12 @@ export interface components {
|
|
|
6664
6883
|
CreateTruckDto: {
|
|
6665
6884
|
/** @example TRK-001 */
|
|
6666
6885
|
truckNumber: string;
|
|
6886
|
+
/**
|
|
6887
|
+
* @description Vehicle type: TRACTOR, STRAIGHT_TRUCK, or SPRINTER_VAN
|
|
6888
|
+
* @example TRACTOR
|
|
6889
|
+
* @enum {string}
|
|
6890
|
+
*/
|
|
6891
|
+
vehicleType?: "TRACTOR" | "STRAIGHT_TRUCK" | "SPRINTER_VAN";
|
|
6667
6892
|
/** @description Carrier subdivision ID */
|
|
6668
6893
|
carrierId?: string;
|
|
6669
6894
|
/** @example 2022 */
|
|
@@ -6825,6 +7050,12 @@ export interface components {
|
|
|
6825
7050
|
UpdateTruckDto: {
|
|
6826
7051
|
/** @example TRK-001 */
|
|
6827
7052
|
truckNumber?: string;
|
|
7053
|
+
/**
|
|
7054
|
+
* @description Vehicle type: TRACTOR, STRAIGHT_TRUCK, or SPRINTER_VAN
|
|
7055
|
+
* @example TRACTOR
|
|
7056
|
+
* @enum {string}
|
|
7057
|
+
*/
|
|
7058
|
+
vehicleType?: "TRACTOR" | "STRAIGHT_TRUCK" | "SPRINTER_VAN";
|
|
6828
7059
|
/** @description Carrier subdivision ID */
|
|
6829
7060
|
carrierId?: string;
|
|
6830
7061
|
/** @example 2022 */
|
|
@@ -7252,6 +7483,12 @@ export interface components {
|
|
|
7252
7483
|
runId?: string;
|
|
7253
7484
|
stopId?: string;
|
|
7254
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;
|
|
7255
7492
|
};
|
|
7256
7493
|
UpdateDocumentDto: {
|
|
7257
7494
|
name?: string;
|
|
@@ -7620,7 +7857,7 @@ export interface components {
|
|
|
7620
7857
|
/** @enum {string} */
|
|
7621
7858
|
role: "user" | "assistant" | "system";
|
|
7622
7859
|
content: string;
|
|
7623
|
-
toolCalls?: components["schemas"]["ToolCallDto"][];
|
|
7860
|
+
toolCalls?: components["schemas"]["ToolCallDto"][] | null;
|
|
7624
7861
|
/** Format: date-time */
|
|
7625
7862
|
createdAt: string;
|
|
7626
7863
|
};
|
|
@@ -7633,7 +7870,10 @@ export interface components {
|
|
|
7633
7870
|
id?: string;
|
|
7634
7871
|
/** @example John Smith */
|
|
7635
7872
|
name: string;
|
|
7636
|
-
/**
|
|
7873
|
+
/**
|
|
7874
|
+
* Format: email
|
|
7875
|
+
* @example john@example.com
|
|
7876
|
+
*/
|
|
7637
7877
|
email?: string;
|
|
7638
7878
|
/** @example +1-555-123-4567 */
|
|
7639
7879
|
phone?: string;
|
|
@@ -7660,7 +7900,10 @@ export interface components {
|
|
|
7660
7900
|
companyName: string;
|
|
7661
7901
|
/** @example John Smith */
|
|
7662
7902
|
contactName?: string;
|
|
7663
|
-
/**
|
|
7903
|
+
/**
|
|
7904
|
+
* Format: email
|
|
7905
|
+
* @example john@abcfreight.com
|
|
7906
|
+
*/
|
|
7664
7907
|
email?: string;
|
|
7665
7908
|
/** @example +1-555-123-4567 */
|
|
7666
7909
|
phone?: string;
|
|
@@ -7732,7 +7975,10 @@ export interface components {
|
|
|
7732
7975
|
companyName?: string;
|
|
7733
7976
|
/** @example John Smith */
|
|
7734
7977
|
contactName?: string;
|
|
7735
|
-
/**
|
|
7978
|
+
/**
|
|
7979
|
+
* Format: email
|
|
7980
|
+
* @example john@abcfreight.com
|
|
7981
|
+
*/
|
|
7736
7982
|
email?: string;
|
|
7737
7983
|
/** @example +1-555-123-4567 */
|
|
7738
7984
|
phone?: string;
|
|
@@ -7802,7 +8048,7 @@ export interface components {
|
|
|
7802
8048
|
};
|
|
7803
8049
|
StatementLineItem: {
|
|
7804
8050
|
description: string;
|
|
7805
|
-
type: string
|
|
8051
|
+
type: Record<string, never>;
|
|
7806
8052
|
amount: number;
|
|
7807
8053
|
runId?: string;
|
|
7808
8054
|
loadNumber?: string;
|
|
@@ -7958,7 +8204,12 @@ export interface components {
|
|
|
7958
8204
|
};
|
|
7959
8205
|
CreateExpenseDto: {
|
|
7960
8206
|
/** @enum {string} */
|
|
7961
|
-
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";
|
|
7962
8213
|
/** @example 487.32 */
|
|
7963
8214
|
amount: number;
|
|
7964
8215
|
/** @example Fuel purchase at Houston */
|
|
@@ -7975,6 +8226,11 @@ export interface components {
|
|
|
7975
8226
|
runId?: string;
|
|
7976
8227
|
/** @description Stop ID for stop-specific fees (lumper, escort, etc.) */
|
|
7977
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;
|
|
7978
8234
|
};
|
|
7979
8235
|
ExpenseResponseDto: {
|
|
7980
8236
|
id: string;
|
|
@@ -8032,7 +8288,12 @@ export interface components {
|
|
|
8032
8288
|
};
|
|
8033
8289
|
UpdateExpenseDto: {
|
|
8034
8290
|
/** @enum {string} */
|
|
8035
|
-
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";
|
|
8036
8297
|
/** @example 487.32 */
|
|
8037
8298
|
amount?: number;
|
|
8038
8299
|
/** @example Fuel purchase at Houston */
|
|
@@ -8049,6 +8310,11 @@ export interface components {
|
|
|
8049
8310
|
runId?: string;
|
|
8050
8311
|
/** @description Stop ID for stop-specific fees (lumper, escort, etc.) */
|
|
8051
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;
|
|
8052
8318
|
};
|
|
8053
8319
|
AssociateExpenseDto: {
|
|
8054
8320
|
driverId?: string;
|
|
@@ -8130,6 +8396,7 @@ export interface components {
|
|
|
8130
8396
|
};
|
|
8131
8397
|
SendInvitationDto: {
|
|
8132
8398
|
/**
|
|
8399
|
+
* Format: email
|
|
8133
8400
|
* @description Email address to send invitation to
|
|
8134
8401
|
* @example broker@example.com
|
|
8135
8402
|
*/
|
|
@@ -8177,13 +8444,13 @@ export interface components {
|
|
|
8177
8444
|
};
|
|
8178
8445
|
UpdateEmailTagsDto: {
|
|
8179
8446
|
/** @description Driver ID to tag this email with */
|
|
8180
|
-
taggedDriverId?:
|
|
8447
|
+
taggedDriverId?: string | null;
|
|
8181
8448
|
/** @description Run ID to tag this email with */
|
|
8182
|
-
taggedRunId?:
|
|
8449
|
+
taggedRunId?: string | null;
|
|
8183
8450
|
};
|
|
8184
8451
|
SendGridWebhookDto: {
|
|
8185
8452
|
/** @description Raw email headers */
|
|
8186
|
-
headers
|
|
8453
|
+
headers?: string;
|
|
8187
8454
|
/** @description DKIM verification result */
|
|
8188
8455
|
dkim?: string;
|
|
8189
8456
|
/**
|
|
@@ -8262,6 +8529,7 @@ export interface components {
|
|
|
8262
8529
|
*/
|
|
8263
8530
|
signedByName?: string;
|
|
8264
8531
|
/**
|
|
8532
|
+
* Format: email
|
|
8265
8533
|
* @description Email of person signing
|
|
8266
8534
|
* @example john@example.com
|
|
8267
8535
|
*/
|
|
@@ -8316,7 +8584,10 @@ export interface components {
|
|
|
8316
8584
|
documents: components["schemas"]["SearchResultItemDto"][];
|
|
8317
8585
|
};
|
|
8318
8586
|
CreateInvitationDto: {
|
|
8319
|
-
/**
|
|
8587
|
+
/**
|
|
8588
|
+
* Format: email
|
|
8589
|
+
* @example user@example.com
|
|
8590
|
+
*/
|
|
8320
8591
|
email: string;
|
|
8321
8592
|
/**
|
|
8322
8593
|
* @example DISPATCHER
|
|
@@ -8430,13 +8701,24 @@ export interface components {
|
|
|
8430
8701
|
zipCode?: string;
|
|
8431
8702
|
/** @example US */
|
|
8432
8703
|
country?: string;
|
|
8704
|
+
/** @example +1234567890 */
|
|
8705
|
+
phone?: string;
|
|
8706
|
+
/**
|
|
8707
|
+
* Format: email
|
|
8708
|
+
* @description Carrier contact email (used for partnership lookups)
|
|
8709
|
+
* @example dispatch@carrier.com
|
|
8710
|
+
*/
|
|
8711
|
+
email?: string;
|
|
8433
8712
|
/** @example John */
|
|
8434
8713
|
ownerFirstName?: string;
|
|
8435
8714
|
/** @example Smith */
|
|
8436
8715
|
ownerLastName?: string;
|
|
8437
8716
|
/** @example +1234567890 */
|
|
8438
8717
|
ownerPhone?: string;
|
|
8439
|
-
/**
|
|
8718
|
+
/**
|
|
8719
|
+
* Format: email
|
|
8720
|
+
* @example owner@abctrucking.com
|
|
8721
|
+
*/
|
|
8440
8722
|
ownerEmail?: string;
|
|
8441
8723
|
/** @example https://s3.amazonaws.com/... */
|
|
8442
8724
|
authorityDoc?: string;
|
|
@@ -8488,13 +8770,24 @@ export interface components {
|
|
|
8488
8770
|
zipCode?: string;
|
|
8489
8771
|
/** @example US */
|
|
8490
8772
|
country?: string;
|
|
8773
|
+
/** @example +1234567890 */
|
|
8774
|
+
phone?: string;
|
|
8775
|
+
/**
|
|
8776
|
+
* Format: email
|
|
8777
|
+
* @description Carrier contact email (used for partnership lookups)
|
|
8778
|
+
* @example dispatch@carrier.com
|
|
8779
|
+
*/
|
|
8780
|
+
email?: string;
|
|
8491
8781
|
/** @example John */
|
|
8492
8782
|
ownerFirstName?: string;
|
|
8493
8783
|
/** @example Smith */
|
|
8494
8784
|
ownerLastName?: string;
|
|
8495
8785
|
/** @example +1234567890 */
|
|
8496
8786
|
ownerPhone?: string;
|
|
8497
|
-
/**
|
|
8787
|
+
/**
|
|
8788
|
+
* Format: email
|
|
8789
|
+
* @example owner@abctrucking.com
|
|
8790
|
+
*/
|
|
8498
8791
|
ownerEmail?: string;
|
|
8499
8792
|
/** @example https://s3.amazonaws.com/... */
|
|
8500
8793
|
authorityDoc?: string;
|
|
@@ -8944,7 +9237,12 @@ export interface components {
|
|
|
8944
9237
|
/** @description Array of notification preferences to update */
|
|
8945
9238
|
preferences: components["schemas"]["UpdateNotificationPreferenceDto"][];
|
|
8946
9239
|
};
|
|
8947
|
-
CreateApiKeyDto:
|
|
9240
|
+
CreateApiKeyDto: {
|
|
9241
|
+
name: string;
|
|
9242
|
+
description?: string;
|
|
9243
|
+
scopes?: string[];
|
|
9244
|
+
expiresAt?: string;
|
|
9245
|
+
};
|
|
8948
9246
|
ApiKeyCreatedResponseDto: {
|
|
8949
9247
|
id: string;
|
|
8950
9248
|
name: string;
|
|
@@ -8985,7 +9283,12 @@ export interface components {
|
|
|
8985
9283
|
/** Format: date-time */
|
|
8986
9284
|
updatedAt: string;
|
|
8987
9285
|
};
|
|
8988
|
-
UpdateApiKeyDto:
|
|
9286
|
+
UpdateApiKeyDto: {
|
|
9287
|
+
name?: string;
|
|
9288
|
+
description?: string;
|
|
9289
|
+
scopes?: string[];
|
|
9290
|
+
expiresAt?: string;
|
|
9291
|
+
};
|
|
8989
9292
|
OverviewReportDto: {
|
|
8990
9293
|
totalRuns: number;
|
|
8991
9294
|
completedRuns: number;
|
|
@@ -9033,49 +9336,26 @@ export interface components {
|
|
|
9033
9336
|
revenue: number;
|
|
9034
9337
|
utilizationRate: number;
|
|
9035
9338
|
};
|
|
9036
|
-
FmcsaCheckResponseDto: {
|
|
9037
|
-
org: Record<string, never>;
|
|
9038
|
-
fmcsaData: Record<string, never>;
|
|
9039
|
-
};
|
|
9040
|
-
SubmitVerificationDto: {
|
|
9041
|
-
/** @enum {string} */
|
|
9042
|
-
method: "fmcsa_phone" | "document_upload" | "third_party";
|
|
9043
|
-
documentUrl?: string;
|
|
9044
|
-
notes?: string;
|
|
9045
|
-
};
|
|
9046
|
-
VerificationStatusResponseDto: {
|
|
9047
|
-
id: string;
|
|
9048
|
-
verificationStatus: string;
|
|
9049
|
-
/** Format: date-time */
|
|
9050
|
-
verifiedAt?: string;
|
|
9051
|
-
verificationMethod?: string;
|
|
9052
|
-
fmcsaData?: Record<string, never>;
|
|
9053
|
-
};
|
|
9054
|
-
AdminVerificationDecisionDto: {
|
|
9055
|
-
/** @enum {string} */
|
|
9056
|
-
decision: "VERIFIED" | "REJECTED";
|
|
9057
|
-
reason?: string;
|
|
9058
|
-
};
|
|
9059
9339
|
DispatchCarrierListResponseDto: {
|
|
9060
9340
|
carrierId: string;
|
|
9061
9341
|
carrierName: string;
|
|
9062
9342
|
mcNumber: string;
|
|
9063
|
-
dotNumber?:
|
|
9064
|
-
email?:
|
|
9065
|
-
phone?:
|
|
9343
|
+
dotNumber?: string | null;
|
|
9344
|
+
email?: string | null;
|
|
9345
|
+
phone?: string | null;
|
|
9066
9346
|
accountStatus: string;
|
|
9067
9347
|
partnershipId: string;
|
|
9068
|
-
permissions?: Record<string, never
|
|
9069
|
-
accessScope?:
|
|
9348
|
+
permissions?: Record<string, never> | null;
|
|
9349
|
+
accessScope?: string | null;
|
|
9070
9350
|
};
|
|
9071
9351
|
DispatchContextResponseDto: {
|
|
9072
9352
|
carrierId: string;
|
|
9073
9353
|
carrierName: string;
|
|
9074
9354
|
mcNumber: string;
|
|
9075
|
-
dotNumber?:
|
|
9355
|
+
dotNumber?: string | null;
|
|
9076
9356
|
partnershipId: string;
|
|
9077
|
-
permissions?: Record<string, never
|
|
9078
|
-
accessScope?:
|
|
9357
|
+
permissions?: Record<string, never> | null;
|
|
9358
|
+
accessScope?: string | null;
|
|
9079
9359
|
};
|
|
9080
9360
|
};
|
|
9081
9361
|
responses: never;
|
|
@@ -9417,6 +9697,12 @@ export interface operations {
|
|
|
9417
9697
|
"application/json": components["schemas"]["LinkingCodeResponseDto"];
|
|
9418
9698
|
};
|
|
9419
9699
|
};
|
|
9700
|
+
201: {
|
|
9701
|
+
headers: {
|
|
9702
|
+
[name: string]: unknown;
|
|
9703
|
+
};
|
|
9704
|
+
content?: never;
|
|
9705
|
+
};
|
|
9420
9706
|
};
|
|
9421
9707
|
};
|
|
9422
9708
|
AuthController_changePassword: {
|
|
@@ -9932,6 +10218,12 @@ export interface operations {
|
|
|
9932
10218
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
9933
10219
|
};
|
|
9934
10220
|
};
|
|
10221
|
+
201: {
|
|
10222
|
+
headers: {
|
|
10223
|
+
[name: string]: unknown;
|
|
10224
|
+
};
|
|
10225
|
+
content?: never;
|
|
10226
|
+
};
|
|
9935
10227
|
};
|
|
9936
10228
|
};
|
|
9937
10229
|
UsersController_unlinkTelegram: {
|
|
@@ -9954,6 +10246,12 @@ export interface operations {
|
|
|
9954
10246
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
9955
10247
|
};
|
|
9956
10248
|
};
|
|
10249
|
+
201: {
|
|
10250
|
+
headers: {
|
|
10251
|
+
[name: string]: unknown;
|
|
10252
|
+
};
|
|
10253
|
+
content?: never;
|
|
10254
|
+
};
|
|
9957
10255
|
};
|
|
9958
10256
|
};
|
|
9959
10257
|
UsersController_deactivate: {
|
|
@@ -10042,24 +10340,11 @@ export interface operations {
|
|
|
10042
10340
|
"application/json": components["schemas"]["DriverLinkingCodeResponseDto"];
|
|
10043
10341
|
};
|
|
10044
10342
|
};
|
|
10045
|
-
};
|
|
10046
|
-
};
|
|
10047
|
-
CarrierPartnershipsController_invite: {
|
|
10048
|
-
parameters: {
|
|
10049
|
-
query?: never;
|
|
10050
|
-
header?: never;
|
|
10051
|
-
path?: never;
|
|
10052
|
-
cookie?: never;
|
|
10053
|
-
};
|
|
10054
|
-
requestBody?: never;
|
|
10055
|
-
responses: {
|
|
10056
10343
|
201: {
|
|
10057
10344
|
headers: {
|
|
10058
10345
|
[name: string]: unknown;
|
|
10059
10346
|
};
|
|
10060
|
-
content
|
|
10061
|
-
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10062
|
-
};
|
|
10347
|
+
content?: never;
|
|
10063
10348
|
};
|
|
10064
10349
|
};
|
|
10065
10350
|
};
|
|
@@ -10082,6 +10367,14 @@ export interface operations {
|
|
|
10082
10367
|
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10083
10368
|
};
|
|
10084
10369
|
};
|
|
10370
|
+
201: {
|
|
10371
|
+
headers: {
|
|
10372
|
+
[name: string]: unknown;
|
|
10373
|
+
};
|
|
10374
|
+
content: {
|
|
10375
|
+
"application/json": Record<string, never>;
|
|
10376
|
+
};
|
|
10377
|
+
};
|
|
10085
10378
|
};
|
|
10086
10379
|
};
|
|
10087
10380
|
CarrierPartnershipsController_findAll: {
|
|
@@ -10145,6 +10438,12 @@ export interface operations {
|
|
|
10145
10438
|
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10146
10439
|
};
|
|
10147
10440
|
};
|
|
10441
|
+
201: {
|
|
10442
|
+
headers: {
|
|
10443
|
+
[name: string]: unknown;
|
|
10444
|
+
};
|
|
10445
|
+
content?: never;
|
|
10446
|
+
};
|
|
10148
10447
|
};
|
|
10149
10448
|
};
|
|
10150
10449
|
CarrierPartnershipsController_terminate: {
|
|
@@ -10166,6 +10465,12 @@ export interface operations {
|
|
|
10166
10465
|
"application/json": components["schemas"]["PartnershipResponseDto"];
|
|
10167
10466
|
};
|
|
10168
10467
|
};
|
|
10468
|
+
201: {
|
|
10469
|
+
headers: {
|
|
10470
|
+
[name: string]: unknown;
|
|
10471
|
+
};
|
|
10472
|
+
content?: never;
|
|
10473
|
+
};
|
|
10169
10474
|
};
|
|
10170
10475
|
};
|
|
10171
10476
|
CarrierPartnershipsController_allocate: {
|
|
@@ -10311,11 +10616,13 @@ export interface operations {
|
|
|
10311
10616
|
};
|
|
10312
10617
|
};
|
|
10313
10618
|
};
|
|
10314
|
-
|
|
10619
|
+
VerificationController_fmcsaLookup: {
|
|
10315
10620
|
parameters: {
|
|
10316
|
-
query
|
|
10317
|
-
|
|
10318
|
-
|
|
10621
|
+
query?: {
|
|
10622
|
+
/** @description USDOT number (1-8 digits) */
|
|
10623
|
+
dotNumber?: string;
|
|
10624
|
+
/** @description MC number (1-8 digits) */
|
|
10625
|
+
mcNumber?: string;
|
|
10319
10626
|
};
|
|
10320
10627
|
header?: never;
|
|
10321
10628
|
path?: never;
|
|
@@ -10323,51 +10630,68 @@ export interface operations {
|
|
|
10323
10630
|
};
|
|
10324
10631
|
requestBody?: never;
|
|
10325
10632
|
responses: {
|
|
10326
|
-
/** @description List of organizations */
|
|
10327
10633
|
200: {
|
|
10328
10634
|
headers: {
|
|
10329
10635
|
[name: string]: unknown;
|
|
10330
10636
|
};
|
|
10331
10637
|
content: {
|
|
10332
|
-
"application/json": components["schemas"]["
|
|
10638
|
+
"application/json": components["schemas"]["FmcsaLookupResponseDto"];
|
|
10639
|
+
};
|
|
10640
|
+
};
|
|
10641
|
+
/** @description Missing DOT/MC number */
|
|
10642
|
+
400: {
|
|
10643
|
+
headers: {
|
|
10644
|
+
[name: string]: unknown;
|
|
10333
10645
|
};
|
|
10646
|
+
content?: never;
|
|
10334
10647
|
};
|
|
10335
10648
|
};
|
|
10336
10649
|
};
|
|
10337
|
-
|
|
10650
|
+
VerificationController_checkFmcsa: {
|
|
10338
10651
|
parameters: {
|
|
10339
10652
|
query?: never;
|
|
10340
10653
|
header?: never;
|
|
10341
10654
|
path?: never;
|
|
10342
10655
|
cookie?: never;
|
|
10343
10656
|
};
|
|
10344
|
-
requestBody
|
|
10345
|
-
content: {
|
|
10346
|
-
"application/json": components["schemas"]["CreateOrgDto"];
|
|
10347
|
-
};
|
|
10348
|
-
};
|
|
10657
|
+
requestBody?: never;
|
|
10349
10658
|
responses: {
|
|
10350
|
-
|
|
10351
|
-
201: {
|
|
10659
|
+
200: {
|
|
10352
10660
|
headers: {
|
|
10353
10661
|
[name: string]: unknown;
|
|
10354
10662
|
};
|
|
10355
10663
|
content: {
|
|
10356
|
-
"application/json": components["schemas"]["
|
|
10664
|
+
"application/json": components["schemas"]["FmcsaCheckResponseDto"];
|
|
10665
|
+
};
|
|
10666
|
+
};
|
|
10667
|
+
201: {
|
|
10668
|
+
headers: {
|
|
10669
|
+
[name: string]: unknown;
|
|
10670
|
+
};
|
|
10671
|
+
content?: never;
|
|
10672
|
+
};
|
|
10673
|
+
/** @description Inactive carrier or missing DOT number */
|
|
10674
|
+
400: {
|
|
10675
|
+
headers: {
|
|
10676
|
+
[name: string]: unknown;
|
|
10357
10677
|
};
|
|
10678
|
+
content?: never;
|
|
10358
10679
|
};
|
|
10359
10680
|
};
|
|
10360
10681
|
};
|
|
10361
|
-
|
|
10682
|
+
VerificationController_submitVerification: {
|
|
10362
10683
|
parameters: {
|
|
10363
10684
|
query?: never;
|
|
10364
10685
|
header?: never;
|
|
10365
10686
|
path?: never;
|
|
10366
10687
|
cookie?: never;
|
|
10367
10688
|
};
|
|
10368
|
-
requestBody
|
|
10689
|
+
requestBody: {
|
|
10690
|
+
content: {
|
|
10691
|
+
"application/json": components["schemas"]["SubmitVerificationDto"];
|
|
10692
|
+
};
|
|
10693
|
+
};
|
|
10369
10694
|
responses: {
|
|
10370
|
-
/** @description Organization details */
|
|
10371
10695
|
200: {
|
|
10372
10696
|
headers: {
|
|
10373
10697
|
[name: string]: unknown;
|
|
@@ -10376,42 +10700,48 @@ export interface operations {
|
|
|
10376
10700
|
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10377
10701
|
};
|
|
10378
10702
|
};
|
|
10703
|
+
201: {
|
|
10704
|
+
headers: {
|
|
10705
|
+
[name: string]: unknown;
|
|
10706
|
+
};
|
|
10707
|
+
content?: never;
|
|
10708
|
+
};
|
|
10379
10709
|
};
|
|
10380
10710
|
};
|
|
10381
|
-
|
|
10711
|
+
VerificationController_getStatus: {
|
|
10382
10712
|
parameters: {
|
|
10383
10713
|
query?: never;
|
|
10384
10714
|
header?: never;
|
|
10385
|
-
path
|
|
10386
|
-
id: string;
|
|
10387
|
-
};
|
|
10715
|
+
path?: never;
|
|
10388
10716
|
cookie?: never;
|
|
10389
10717
|
};
|
|
10390
10718
|
requestBody?: never;
|
|
10391
10719
|
responses: {
|
|
10392
|
-
/** @description Organization details */
|
|
10393
10720
|
200: {
|
|
10394
10721
|
headers: {
|
|
10395
10722
|
[name: string]: unknown;
|
|
10396
10723
|
};
|
|
10397
10724
|
content: {
|
|
10398
|
-
"application/json": components["schemas"]["
|
|
10725
|
+
"application/json": components["schemas"]["VerificationStatusResponseDto"];
|
|
10399
10726
|
};
|
|
10400
10727
|
};
|
|
10401
10728
|
};
|
|
10402
10729
|
};
|
|
10403
|
-
|
|
10730
|
+
VerificationController_adminDecision: {
|
|
10404
10731
|
parameters: {
|
|
10405
10732
|
query?: never;
|
|
10406
10733
|
header?: never;
|
|
10407
10734
|
path: {
|
|
10408
|
-
|
|
10735
|
+
orgId: string;
|
|
10409
10736
|
};
|
|
10410
10737
|
cookie?: never;
|
|
10411
10738
|
};
|
|
10412
|
-
requestBody
|
|
10739
|
+
requestBody: {
|
|
10740
|
+
content: {
|
|
10741
|
+
"application/json": components["schemas"]["AdminVerificationDecisionDto"];
|
|
10742
|
+
};
|
|
10743
|
+
};
|
|
10413
10744
|
responses: {
|
|
10414
|
-
/** @description Organization deleted successfully */
|
|
10415
10745
|
200: {
|
|
10416
10746
|
headers: {
|
|
10417
10747
|
[name: string]: unknown;
|
|
@@ -10420,30 +10750,147 @@ export interface operations {
|
|
|
10420
10750
|
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10421
10751
|
};
|
|
10422
10752
|
};
|
|
10753
|
+
201: {
|
|
10754
|
+
headers: {
|
|
10755
|
+
[name: string]: unknown;
|
|
10756
|
+
};
|
|
10757
|
+
content?: never;
|
|
10758
|
+
};
|
|
10423
10759
|
};
|
|
10424
10760
|
};
|
|
10425
|
-
|
|
10761
|
+
OrgsController_findAll: {
|
|
10426
10762
|
parameters: {
|
|
10427
|
-
query
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
id: string;
|
|
10763
|
+
query: {
|
|
10764
|
+
page: number;
|
|
10765
|
+
limit: number;
|
|
10431
10766
|
};
|
|
10767
|
+
header?: never;
|
|
10768
|
+
path?: never;
|
|
10432
10769
|
cookie?: never;
|
|
10433
10770
|
};
|
|
10434
|
-
requestBody
|
|
10435
|
-
content: {
|
|
10436
|
-
"application/json": components["schemas"]["UpdateOrgDto"];
|
|
10437
|
-
};
|
|
10438
|
-
};
|
|
10771
|
+
requestBody?: never;
|
|
10439
10772
|
responses: {
|
|
10440
|
-
/** @description
|
|
10773
|
+
/** @description List of organizations */
|
|
10441
10774
|
200: {
|
|
10442
10775
|
headers: {
|
|
10443
10776
|
[name: string]: unknown;
|
|
10444
10777
|
};
|
|
10445
10778
|
content: {
|
|
10446
|
-
"application/json": components["schemas"]["
|
|
10779
|
+
"application/json": components["schemas"]["OrgListResponseDto"];
|
|
10780
|
+
};
|
|
10781
|
+
};
|
|
10782
|
+
};
|
|
10783
|
+
};
|
|
10784
|
+
OrgsController_create: {
|
|
10785
|
+
parameters: {
|
|
10786
|
+
query?: never;
|
|
10787
|
+
header?: never;
|
|
10788
|
+
path?: never;
|
|
10789
|
+
cookie?: never;
|
|
10790
|
+
};
|
|
10791
|
+
requestBody: {
|
|
10792
|
+
content: {
|
|
10793
|
+
"application/json": components["schemas"]["CreateOrgDto"];
|
|
10794
|
+
};
|
|
10795
|
+
};
|
|
10796
|
+
responses: {
|
|
10797
|
+
/** @description Organization created successfully */
|
|
10798
|
+
201: {
|
|
10799
|
+
headers: {
|
|
10800
|
+
[name: string]: unknown;
|
|
10801
|
+
};
|
|
10802
|
+
content: {
|
|
10803
|
+
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10804
|
+
};
|
|
10805
|
+
};
|
|
10806
|
+
};
|
|
10807
|
+
};
|
|
10808
|
+
OrgsController_findCurrent: {
|
|
10809
|
+
parameters: {
|
|
10810
|
+
query?: never;
|
|
10811
|
+
header?: never;
|
|
10812
|
+
path?: never;
|
|
10813
|
+
cookie?: never;
|
|
10814
|
+
};
|
|
10815
|
+
requestBody?: never;
|
|
10816
|
+
responses: {
|
|
10817
|
+
/** @description Organization details */
|
|
10818
|
+
200: {
|
|
10819
|
+
headers: {
|
|
10820
|
+
[name: string]: unknown;
|
|
10821
|
+
};
|
|
10822
|
+
content: {
|
|
10823
|
+
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10824
|
+
};
|
|
10825
|
+
};
|
|
10826
|
+
};
|
|
10827
|
+
};
|
|
10828
|
+
OrgsController_findOne: {
|
|
10829
|
+
parameters: {
|
|
10830
|
+
query?: never;
|
|
10831
|
+
header?: never;
|
|
10832
|
+
path: {
|
|
10833
|
+
id: string;
|
|
10834
|
+
};
|
|
10835
|
+
cookie?: never;
|
|
10836
|
+
};
|
|
10837
|
+
requestBody?: never;
|
|
10838
|
+
responses: {
|
|
10839
|
+
/** @description Organization details */
|
|
10840
|
+
200: {
|
|
10841
|
+
headers: {
|
|
10842
|
+
[name: string]: unknown;
|
|
10843
|
+
};
|
|
10844
|
+
content: {
|
|
10845
|
+
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10846
|
+
};
|
|
10847
|
+
};
|
|
10848
|
+
};
|
|
10849
|
+
};
|
|
10850
|
+
OrgsController_remove: {
|
|
10851
|
+
parameters: {
|
|
10852
|
+
query?: never;
|
|
10853
|
+
header?: never;
|
|
10854
|
+
path: {
|
|
10855
|
+
id: string;
|
|
10856
|
+
};
|
|
10857
|
+
cookie?: never;
|
|
10858
|
+
};
|
|
10859
|
+
requestBody?: never;
|
|
10860
|
+
responses: {
|
|
10861
|
+
/** @description Organization deleted successfully */
|
|
10862
|
+
200: {
|
|
10863
|
+
headers: {
|
|
10864
|
+
[name: string]: unknown;
|
|
10865
|
+
};
|
|
10866
|
+
content: {
|
|
10867
|
+
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10868
|
+
};
|
|
10869
|
+
};
|
|
10870
|
+
};
|
|
10871
|
+
};
|
|
10872
|
+
OrgsController_update: {
|
|
10873
|
+
parameters: {
|
|
10874
|
+
query?: never;
|
|
10875
|
+
header?: never;
|
|
10876
|
+
path: {
|
|
10877
|
+
id: string;
|
|
10878
|
+
};
|
|
10879
|
+
cookie?: never;
|
|
10880
|
+
};
|
|
10881
|
+
requestBody: {
|
|
10882
|
+
content: {
|
|
10883
|
+
"application/json": components["schemas"]["UpdateOrgDto"];
|
|
10884
|
+
};
|
|
10885
|
+
};
|
|
10886
|
+
responses: {
|
|
10887
|
+
/** @description Organization updated successfully */
|
|
10888
|
+
200: {
|
|
10889
|
+
headers: {
|
|
10890
|
+
[name: string]: unknown;
|
|
10891
|
+
};
|
|
10892
|
+
content: {
|
|
10893
|
+
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
10447
10894
|
};
|
|
10448
10895
|
};
|
|
10449
10896
|
};
|
|
@@ -10634,6 +11081,12 @@ export interface operations {
|
|
|
10634
11081
|
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
10635
11082
|
};
|
|
10636
11083
|
};
|
|
11084
|
+
201: {
|
|
11085
|
+
headers: {
|
|
11086
|
+
[name: string]: unknown;
|
|
11087
|
+
};
|
|
11088
|
+
content?: never;
|
|
11089
|
+
};
|
|
10637
11090
|
};
|
|
10638
11091
|
};
|
|
10639
11092
|
OrgsController_completeOnboarding: {
|
|
@@ -10658,6 +11111,12 @@ export interface operations {
|
|
|
10658
11111
|
"application/json": components["schemas"]["CompleteOnboardingResponseDto"];
|
|
10659
11112
|
};
|
|
10660
11113
|
};
|
|
11114
|
+
201: {
|
|
11115
|
+
headers: {
|
|
11116
|
+
[name: string]: unknown;
|
|
11117
|
+
};
|
|
11118
|
+
content?: never;
|
|
11119
|
+
};
|
|
10661
11120
|
};
|
|
10662
11121
|
};
|
|
10663
11122
|
OrgsController_setDemoStatus: {
|
|
@@ -10678,6 +11137,12 @@ export interface operations {
|
|
|
10678
11137
|
"application/json": components["schemas"]["SetDemoStatusResponseDto"];
|
|
10679
11138
|
};
|
|
10680
11139
|
};
|
|
11140
|
+
201: {
|
|
11141
|
+
headers: {
|
|
11142
|
+
[name: string]: unknown;
|
|
11143
|
+
};
|
|
11144
|
+
content?: never;
|
|
11145
|
+
};
|
|
10681
11146
|
};
|
|
10682
11147
|
};
|
|
10683
11148
|
OrgsController_clearDemoData: {
|
|
@@ -10698,6 +11163,12 @@ export interface operations {
|
|
|
10698
11163
|
"application/json": components["schemas"]["ClearDemoDataResponseDto"];
|
|
10699
11164
|
};
|
|
10700
11165
|
};
|
|
11166
|
+
201: {
|
|
11167
|
+
headers: {
|
|
11168
|
+
[name: string]: unknown;
|
|
11169
|
+
};
|
|
11170
|
+
content?: never;
|
|
11171
|
+
};
|
|
10701
11172
|
};
|
|
10702
11173
|
};
|
|
10703
11174
|
OrgsController_getFactoringPartners: {
|
|
@@ -10751,6 +11222,7 @@ export interface operations {
|
|
|
10751
11222
|
status?: string;
|
|
10752
11223
|
driverId?: string;
|
|
10753
11224
|
customerId?: string;
|
|
11225
|
+
carrierId: string;
|
|
10754
11226
|
};
|
|
10755
11227
|
header?: never;
|
|
10756
11228
|
path?: never;
|
|
@@ -10902,6 +11374,7 @@ export interface operations {
|
|
|
10902
11374
|
startDate: string;
|
|
10903
11375
|
endDate: string;
|
|
10904
11376
|
driverId?: string;
|
|
11377
|
+
dispatcherId?: string;
|
|
10905
11378
|
};
|
|
10906
11379
|
header?: never;
|
|
10907
11380
|
path?: never;
|
|
@@ -11054,6 +11527,12 @@ export interface operations {
|
|
|
11054
11527
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11055
11528
|
};
|
|
11056
11529
|
};
|
|
11530
|
+
201: {
|
|
11531
|
+
headers: {
|
|
11532
|
+
[name: string]: unknown;
|
|
11533
|
+
};
|
|
11534
|
+
content?: never;
|
|
11535
|
+
};
|
|
11057
11536
|
};
|
|
11058
11537
|
};
|
|
11059
11538
|
RunsController_unassignDriver: {
|
|
@@ -11076,6 +11555,12 @@ export interface operations {
|
|
|
11076
11555
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11077
11556
|
};
|
|
11078
11557
|
};
|
|
11558
|
+
201: {
|
|
11559
|
+
headers: {
|
|
11560
|
+
[name: string]: unknown;
|
|
11561
|
+
};
|
|
11562
|
+
content?: never;
|
|
11563
|
+
};
|
|
11079
11564
|
};
|
|
11080
11565
|
};
|
|
11081
11566
|
RunsController_acceptRun: {
|
|
@@ -11098,6 +11583,14 @@ export interface operations {
|
|
|
11098
11583
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11099
11584
|
};
|
|
11100
11585
|
};
|
|
11586
|
+
201: {
|
|
11587
|
+
headers: {
|
|
11588
|
+
[name: string]: unknown;
|
|
11589
|
+
};
|
|
11590
|
+
content: {
|
|
11591
|
+
"application/json": Record<string, never>;
|
|
11592
|
+
};
|
|
11593
|
+
};
|
|
11101
11594
|
};
|
|
11102
11595
|
};
|
|
11103
11596
|
RunsController_rejectRun: {
|
|
@@ -11120,6 +11613,14 @@ export interface operations {
|
|
|
11120
11613
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11121
11614
|
};
|
|
11122
11615
|
};
|
|
11616
|
+
201: {
|
|
11617
|
+
headers: {
|
|
11618
|
+
[name: string]: unknown;
|
|
11619
|
+
};
|
|
11620
|
+
content: {
|
|
11621
|
+
"application/json": Record<string, never>;
|
|
11622
|
+
};
|
|
11623
|
+
};
|
|
11123
11624
|
};
|
|
11124
11625
|
};
|
|
11125
11626
|
RunsController_startRun: {
|
|
@@ -11238,6 +11739,14 @@ export interface operations {
|
|
|
11238
11739
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11239
11740
|
};
|
|
11240
11741
|
};
|
|
11742
|
+
201: {
|
|
11743
|
+
headers: {
|
|
11744
|
+
[name: string]: unknown;
|
|
11745
|
+
};
|
|
11746
|
+
content: {
|
|
11747
|
+
"application/json": Record<string, never>;
|
|
11748
|
+
};
|
|
11749
|
+
};
|
|
11241
11750
|
};
|
|
11242
11751
|
};
|
|
11243
11752
|
RunsController_addStop: {
|
|
@@ -11367,6 +11876,14 @@ export interface operations {
|
|
|
11367
11876
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
11368
11877
|
};
|
|
11369
11878
|
};
|
|
11879
|
+
201: {
|
|
11880
|
+
headers: {
|
|
11881
|
+
[name: string]: unknown;
|
|
11882
|
+
};
|
|
11883
|
+
content: {
|
|
11884
|
+
"application/json": Record<string, never>;
|
|
11885
|
+
};
|
|
11886
|
+
};
|
|
11370
11887
|
};
|
|
11371
11888
|
};
|
|
11372
11889
|
RunsController_uploadSignature: {
|
|
@@ -11421,6 +11938,12 @@ export interface operations {
|
|
|
11421
11938
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
11422
11939
|
};
|
|
11423
11940
|
};
|
|
11941
|
+
201: {
|
|
11942
|
+
headers: {
|
|
11943
|
+
[name: string]: unknown;
|
|
11944
|
+
};
|
|
11945
|
+
content?: never;
|
|
11946
|
+
};
|
|
11424
11947
|
};
|
|
11425
11948
|
};
|
|
11426
11949
|
RunsController_geocodeStops: {
|
|
@@ -11443,6 +11966,12 @@ export interface operations {
|
|
|
11443
11966
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11444
11967
|
};
|
|
11445
11968
|
};
|
|
11969
|
+
201: {
|
|
11970
|
+
headers: {
|
|
11971
|
+
[name: string]: unknown;
|
|
11972
|
+
};
|
|
11973
|
+
content?: never;
|
|
11974
|
+
};
|
|
11446
11975
|
};
|
|
11447
11976
|
};
|
|
11448
11977
|
RunsController_queueLoad: {
|
|
@@ -11469,6 +11998,14 @@ export interface operations {
|
|
|
11469
11998
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11470
11999
|
};
|
|
11471
12000
|
};
|
|
12001
|
+
201: {
|
|
12002
|
+
headers: {
|
|
12003
|
+
[name: string]: unknown;
|
|
12004
|
+
};
|
|
12005
|
+
content: {
|
|
12006
|
+
"application/json": Record<string, never>;
|
|
12007
|
+
};
|
|
12008
|
+
};
|
|
11472
12009
|
};
|
|
11473
12010
|
};
|
|
11474
12011
|
RunsController_dispatchLoad: {
|
|
@@ -11495,6 +12032,12 @@ export interface operations {
|
|
|
11495
12032
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11496
12033
|
};
|
|
11497
12034
|
};
|
|
12035
|
+
201: {
|
|
12036
|
+
headers: {
|
|
12037
|
+
[name: string]: unknown;
|
|
12038
|
+
};
|
|
12039
|
+
content?: never;
|
|
12040
|
+
};
|
|
11498
12041
|
};
|
|
11499
12042
|
};
|
|
11500
12043
|
RunsController_completeAndUnlockNext: {
|
|
@@ -11517,6 +12060,14 @@ export interface operations {
|
|
|
11517
12060
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11518
12061
|
};
|
|
11519
12062
|
};
|
|
12063
|
+
201: {
|
|
12064
|
+
headers: {
|
|
12065
|
+
[name: string]: unknown;
|
|
12066
|
+
};
|
|
12067
|
+
content: {
|
|
12068
|
+
"application/json": Record<string, never>;
|
|
12069
|
+
};
|
|
12070
|
+
};
|
|
11520
12071
|
};
|
|
11521
12072
|
};
|
|
11522
12073
|
RunsController_unlockLoad: {
|
|
@@ -11539,6 +12090,14 @@ export interface operations {
|
|
|
11539
12090
|
"application/json": components["schemas"]["RunResponseDto"];
|
|
11540
12091
|
};
|
|
11541
12092
|
};
|
|
12093
|
+
201: {
|
|
12094
|
+
headers: {
|
|
12095
|
+
[name: string]: unknown;
|
|
12096
|
+
};
|
|
12097
|
+
content: {
|
|
12098
|
+
"application/json": Record<string, never>;
|
|
12099
|
+
};
|
|
12100
|
+
};
|
|
11542
12101
|
};
|
|
11543
12102
|
};
|
|
11544
12103
|
RunsController_getTrackingLink: {
|
|
@@ -11699,6 +12258,12 @@ export interface operations {
|
|
|
11699
12258
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
11700
12259
|
};
|
|
11701
12260
|
};
|
|
12261
|
+
201: {
|
|
12262
|
+
headers: {
|
|
12263
|
+
[name: string]: unknown;
|
|
12264
|
+
};
|
|
12265
|
+
content?: never;
|
|
12266
|
+
};
|
|
11702
12267
|
};
|
|
11703
12268
|
};
|
|
11704
12269
|
DocumentsController_getUploadUrl: {
|
|
@@ -11723,6 +12288,12 @@ export interface operations {
|
|
|
11723
12288
|
"application/json": components["schemas"]["UploadUrlResponseDto"];
|
|
11724
12289
|
};
|
|
11725
12290
|
};
|
|
12291
|
+
201: {
|
|
12292
|
+
headers: {
|
|
12293
|
+
[name: string]: unknown;
|
|
12294
|
+
};
|
|
12295
|
+
content?: never;
|
|
12296
|
+
};
|
|
11726
12297
|
};
|
|
11727
12298
|
};
|
|
11728
12299
|
DocumentsController_uploadFile: {
|
|
@@ -11781,6 +12352,7 @@ export interface operations {
|
|
|
11781
12352
|
type: string;
|
|
11782
12353
|
page: number;
|
|
11783
12354
|
limit: number;
|
|
12355
|
+
carrierId: string;
|
|
11784
12356
|
};
|
|
11785
12357
|
header?: never;
|
|
11786
12358
|
path?: never;
|
|
@@ -12206,6 +12778,12 @@ export interface operations {
|
|
|
12206
12778
|
"application/json": components["schemas"]["ParsedDocumentResponseDto"];
|
|
12207
12779
|
};
|
|
12208
12780
|
};
|
|
12781
|
+
201: {
|
|
12782
|
+
headers: {
|
|
12783
|
+
[name: string]: unknown;
|
|
12784
|
+
};
|
|
12785
|
+
content?: never;
|
|
12786
|
+
};
|
|
12209
12787
|
};
|
|
12210
12788
|
};
|
|
12211
12789
|
CompanyDocumentsController_uploadDocument: {
|
|
@@ -12269,6 +12847,12 @@ export interface operations {
|
|
|
12269
12847
|
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
12270
12848
|
};
|
|
12271
12849
|
};
|
|
12850
|
+
201: {
|
|
12851
|
+
headers: {
|
|
12852
|
+
[name: string]: unknown;
|
|
12853
|
+
};
|
|
12854
|
+
content?: never;
|
|
12855
|
+
};
|
|
12272
12856
|
};
|
|
12273
12857
|
};
|
|
12274
12858
|
CompanyDocumentsController_linkByUrl: {
|
|
@@ -12293,6 +12877,12 @@ export interface operations {
|
|
|
12293
12877
|
"application/json": components["schemas"]["CompanyDocumentResponseDto"];
|
|
12294
12878
|
};
|
|
12295
12879
|
};
|
|
12880
|
+
201: {
|
|
12881
|
+
headers: {
|
|
12882
|
+
[name: string]: unknown;
|
|
12883
|
+
};
|
|
12884
|
+
content?: never;
|
|
12885
|
+
};
|
|
12296
12886
|
};
|
|
12297
12887
|
};
|
|
12298
12888
|
CompanyDocumentsController_findAll: {
|
|
@@ -12586,6 +13176,14 @@ export interface operations {
|
|
|
12586
13176
|
"application/json": components["schemas"]["HosResponseDto"];
|
|
12587
13177
|
};
|
|
12588
13178
|
};
|
|
13179
|
+
201: {
|
|
13180
|
+
headers: {
|
|
13181
|
+
[name: string]: unknown;
|
|
13182
|
+
};
|
|
13183
|
+
content: {
|
|
13184
|
+
"application/json": Record<string, never>;
|
|
13185
|
+
};
|
|
13186
|
+
};
|
|
12589
13187
|
/** @description Driver not found */
|
|
12590
13188
|
404: {
|
|
12591
13189
|
headers: {
|
|
@@ -12619,6 +13217,12 @@ export interface operations {
|
|
|
12619
13217
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
12620
13218
|
};
|
|
12621
13219
|
};
|
|
13220
|
+
201: {
|
|
13221
|
+
headers: {
|
|
13222
|
+
[name: string]: unknown;
|
|
13223
|
+
};
|
|
13224
|
+
content?: never;
|
|
13225
|
+
};
|
|
12622
13226
|
/** @description Driver not found */
|
|
12623
13227
|
404: {
|
|
12624
13228
|
headers: {
|
|
@@ -12725,6 +13329,7 @@ export interface operations {
|
|
|
12725
13329
|
limit: number;
|
|
12726
13330
|
status: string;
|
|
12727
13331
|
search: string;
|
|
13332
|
+
carrierId: string;
|
|
12728
13333
|
};
|
|
12729
13334
|
header?: never;
|
|
12730
13335
|
path?: never;
|
|
@@ -12861,6 +13466,14 @@ export interface operations {
|
|
|
12861
13466
|
"application/json": components["schemas"]["TruckResponseDto"];
|
|
12862
13467
|
};
|
|
12863
13468
|
};
|
|
13469
|
+
201: {
|
|
13470
|
+
headers: {
|
|
13471
|
+
[name: string]: unknown;
|
|
13472
|
+
};
|
|
13473
|
+
content: {
|
|
13474
|
+
"application/json": Record<string, never>;
|
|
13475
|
+
};
|
|
13476
|
+
};
|
|
12864
13477
|
};
|
|
12865
13478
|
};
|
|
12866
13479
|
TrucksController_unassign: {
|
|
@@ -12883,6 +13496,14 @@ export interface operations {
|
|
|
12883
13496
|
"application/json": components["schemas"]["TruckResponseDto"];
|
|
12884
13497
|
};
|
|
12885
13498
|
};
|
|
13499
|
+
201: {
|
|
13500
|
+
headers: {
|
|
13501
|
+
[name: string]: unknown;
|
|
13502
|
+
};
|
|
13503
|
+
content: {
|
|
13504
|
+
"application/json": Record<string, never>;
|
|
13505
|
+
};
|
|
13506
|
+
};
|
|
12886
13507
|
};
|
|
12887
13508
|
};
|
|
12888
13509
|
TrailersController_findAll: {
|
|
@@ -12893,6 +13514,7 @@ export interface operations {
|
|
|
12893
13514
|
status: string;
|
|
12894
13515
|
type: string;
|
|
12895
13516
|
search: string;
|
|
13517
|
+
carrierId: string;
|
|
12896
13518
|
};
|
|
12897
13519
|
header?: never;
|
|
12898
13520
|
path?: never;
|
|
@@ -13029,6 +13651,14 @@ export interface operations {
|
|
|
13029
13651
|
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
13030
13652
|
};
|
|
13031
13653
|
};
|
|
13654
|
+
201: {
|
|
13655
|
+
headers: {
|
|
13656
|
+
[name: string]: unknown;
|
|
13657
|
+
};
|
|
13658
|
+
content: {
|
|
13659
|
+
"application/json": Record<string, never>;
|
|
13660
|
+
};
|
|
13661
|
+
};
|
|
13032
13662
|
};
|
|
13033
13663
|
};
|
|
13034
13664
|
TrailersController_unassign: {
|
|
@@ -13051,6 +13681,14 @@ export interface operations {
|
|
|
13051
13681
|
"application/json": components["schemas"]["TrailerResponseDto"];
|
|
13052
13682
|
};
|
|
13053
13683
|
};
|
|
13684
|
+
201: {
|
|
13685
|
+
headers: {
|
|
13686
|
+
[name: string]: unknown;
|
|
13687
|
+
};
|
|
13688
|
+
content: {
|
|
13689
|
+
"application/json": Record<string, never>;
|
|
13690
|
+
};
|
|
13691
|
+
};
|
|
13054
13692
|
};
|
|
13055
13693
|
};
|
|
13056
13694
|
TelegramController_getCurrentRun: {
|
|
@@ -13142,6 +13780,12 @@ export interface operations {
|
|
|
13142
13780
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
13143
13781
|
};
|
|
13144
13782
|
};
|
|
13783
|
+
201: {
|
|
13784
|
+
headers: {
|
|
13785
|
+
[name: string]: unknown;
|
|
13786
|
+
};
|
|
13787
|
+
content?: never;
|
|
13788
|
+
};
|
|
13145
13789
|
};
|
|
13146
13790
|
};
|
|
13147
13791
|
TelegramController_getRunCharges: {
|
|
@@ -13202,6 +13846,12 @@ export interface operations {
|
|
|
13202
13846
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13203
13847
|
};
|
|
13204
13848
|
};
|
|
13849
|
+
201: {
|
|
13850
|
+
headers: {
|
|
13851
|
+
[name: string]: unknown;
|
|
13852
|
+
};
|
|
13853
|
+
content?: never;
|
|
13854
|
+
};
|
|
13205
13855
|
};
|
|
13206
13856
|
};
|
|
13207
13857
|
TelegramController_acceptRun: {
|
|
@@ -13223,6 +13873,12 @@ export interface operations {
|
|
|
13223
13873
|
"application/json": components["schemas"]["TelegramRunActionResponseDto"];
|
|
13224
13874
|
};
|
|
13225
13875
|
};
|
|
13876
|
+
201: {
|
|
13877
|
+
headers: {
|
|
13878
|
+
[name: string]: unknown;
|
|
13879
|
+
};
|
|
13880
|
+
content?: never;
|
|
13881
|
+
};
|
|
13226
13882
|
};
|
|
13227
13883
|
};
|
|
13228
13884
|
TelegramController_startRun: {
|
|
@@ -13244,6 +13900,12 @@ export interface operations {
|
|
|
13244
13900
|
"application/json": components["schemas"]["TelegramRunActionResponseDto"];
|
|
13245
13901
|
};
|
|
13246
13902
|
};
|
|
13903
|
+
201: {
|
|
13904
|
+
headers: {
|
|
13905
|
+
[name: string]: unknown;
|
|
13906
|
+
};
|
|
13907
|
+
content?: never;
|
|
13908
|
+
};
|
|
13247
13909
|
};
|
|
13248
13910
|
};
|
|
13249
13911
|
TelegramController_completeRun: {
|
|
@@ -13265,6 +13927,12 @@ export interface operations {
|
|
|
13265
13927
|
"application/json": components["schemas"]["TelegramRunActionResponseDto"];
|
|
13266
13928
|
};
|
|
13267
13929
|
};
|
|
13930
|
+
201: {
|
|
13931
|
+
headers: {
|
|
13932
|
+
[name: string]: unknown;
|
|
13933
|
+
};
|
|
13934
|
+
content?: never;
|
|
13935
|
+
};
|
|
13268
13936
|
};
|
|
13269
13937
|
};
|
|
13270
13938
|
TelegramController_reportException: {
|
|
@@ -13290,6 +13958,12 @@ export interface operations {
|
|
|
13290
13958
|
"application/json": components["schemas"]["TelegramExceptionResponseDto"];
|
|
13291
13959
|
};
|
|
13292
13960
|
};
|
|
13961
|
+
201: {
|
|
13962
|
+
headers: {
|
|
13963
|
+
[name: string]: unknown;
|
|
13964
|
+
};
|
|
13965
|
+
content?: never;
|
|
13966
|
+
};
|
|
13293
13967
|
};
|
|
13294
13968
|
};
|
|
13295
13969
|
TelegramController_createExpense: {
|
|
@@ -13336,6 +14010,12 @@ export interface operations {
|
|
|
13336
14010
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13337
14011
|
};
|
|
13338
14012
|
};
|
|
14013
|
+
201: {
|
|
14014
|
+
headers: {
|
|
14015
|
+
[name: string]: unknown;
|
|
14016
|
+
};
|
|
14017
|
+
content?: never;
|
|
14018
|
+
};
|
|
13339
14019
|
};
|
|
13340
14020
|
};
|
|
13341
14021
|
TelegramController_getDriverStatus: {
|
|
@@ -13377,6 +14057,12 @@ export interface operations {
|
|
|
13377
14057
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13378
14058
|
};
|
|
13379
14059
|
};
|
|
14060
|
+
201: {
|
|
14061
|
+
headers: {
|
|
14062
|
+
[name: string]: unknown;
|
|
14063
|
+
};
|
|
14064
|
+
content?: never;
|
|
14065
|
+
};
|
|
13380
14066
|
};
|
|
13381
14067
|
};
|
|
13382
14068
|
TelegramController_getHosDetail: {
|
|
@@ -13646,6 +14332,12 @@ export interface operations {
|
|
|
13646
14332
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13647
14333
|
};
|
|
13648
14334
|
};
|
|
14335
|
+
201: {
|
|
14336
|
+
headers: {
|
|
14337
|
+
[name: string]: unknown;
|
|
14338
|
+
};
|
|
14339
|
+
content?: never;
|
|
14340
|
+
};
|
|
13649
14341
|
};
|
|
13650
14342
|
};
|
|
13651
14343
|
TelegramController_sendDriverInvite: {
|
|
@@ -13669,6 +14361,14 @@ export interface operations {
|
|
|
13669
14361
|
"application/json": components["schemas"]["TelegramInviteLinkResponseDto"];
|
|
13670
14362
|
};
|
|
13671
14363
|
};
|
|
14364
|
+
201: {
|
|
14365
|
+
headers: {
|
|
14366
|
+
[name: string]: unknown;
|
|
14367
|
+
};
|
|
14368
|
+
content: {
|
|
14369
|
+
"application/json": Record<string, never>;
|
|
14370
|
+
};
|
|
14371
|
+
};
|
|
13672
14372
|
};
|
|
13673
14373
|
};
|
|
13674
14374
|
TelegramController_getNotifications: {
|
|
@@ -13727,6 +14427,12 @@ export interface operations {
|
|
|
13727
14427
|
"application/json": components["schemas"]["TelegramMessageResponseDto"];
|
|
13728
14428
|
};
|
|
13729
14429
|
};
|
|
14430
|
+
201: {
|
|
14431
|
+
headers: {
|
|
14432
|
+
[name: string]: unknown;
|
|
14433
|
+
};
|
|
14434
|
+
content?: never;
|
|
14435
|
+
};
|
|
13730
14436
|
};
|
|
13731
14437
|
};
|
|
13732
14438
|
TelegramController_getBotInfo: {
|
|
@@ -13918,6 +14624,12 @@ export interface operations {
|
|
|
13918
14624
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
13919
14625
|
};
|
|
13920
14626
|
};
|
|
14627
|
+
201: {
|
|
14628
|
+
headers: {
|
|
14629
|
+
[name: string]: unknown;
|
|
14630
|
+
};
|
|
14631
|
+
content?: never;
|
|
14632
|
+
};
|
|
13921
14633
|
};
|
|
13922
14634
|
};
|
|
13923
14635
|
DriversController_updateStopStatus: {
|
|
@@ -13944,6 +14656,14 @@ export interface operations {
|
|
|
13944
14656
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
13945
14657
|
};
|
|
13946
14658
|
};
|
|
14659
|
+
201: {
|
|
14660
|
+
headers: {
|
|
14661
|
+
[name: string]: unknown;
|
|
14662
|
+
};
|
|
14663
|
+
content: {
|
|
14664
|
+
"application/json": Record<string, never>;
|
|
14665
|
+
};
|
|
14666
|
+
};
|
|
13947
14667
|
};
|
|
13948
14668
|
};
|
|
13949
14669
|
DriversController_revertStopStatus: {
|
|
@@ -13970,6 +14690,12 @@ export interface operations {
|
|
|
13970
14690
|
"application/json": components["schemas"]["StopResponseDto"];
|
|
13971
14691
|
};
|
|
13972
14692
|
};
|
|
14693
|
+
201: {
|
|
14694
|
+
headers: {
|
|
14695
|
+
[name: string]: unknown;
|
|
14696
|
+
};
|
|
14697
|
+
content?: never;
|
|
14698
|
+
};
|
|
13973
14699
|
};
|
|
13974
14700
|
};
|
|
13975
14701
|
DriversController_uploadDocument: {
|
|
@@ -14062,6 +14788,12 @@ export interface operations {
|
|
|
14062
14788
|
"application/json": components["schemas"]["UserSignatureResponseDto"];
|
|
14063
14789
|
};
|
|
14064
14790
|
};
|
|
14791
|
+
201: {
|
|
14792
|
+
headers: {
|
|
14793
|
+
[name: string]: unknown;
|
|
14794
|
+
};
|
|
14795
|
+
content?: never;
|
|
14796
|
+
};
|
|
14065
14797
|
};
|
|
14066
14798
|
};
|
|
14067
14799
|
DriversController_checkSignatureExists: {
|
|
@@ -14184,12 +14916,19 @@ export interface operations {
|
|
|
14184
14916
|
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
14185
14917
|
};
|
|
14186
14918
|
};
|
|
14919
|
+
201: {
|
|
14920
|
+
headers: {
|
|
14921
|
+
[name: string]: unknown;
|
|
14922
|
+
};
|
|
14923
|
+
content?: never;
|
|
14924
|
+
};
|
|
14187
14925
|
};
|
|
14188
14926
|
};
|
|
14189
14927
|
DriversAdminController_listDrivers: {
|
|
14190
14928
|
parameters: {
|
|
14191
14929
|
query: {
|
|
14192
14930
|
onlineOnly: boolean;
|
|
14931
|
+
carrierId: string;
|
|
14193
14932
|
};
|
|
14194
14933
|
header?: never;
|
|
14195
14934
|
path?: never;
|
|
@@ -14306,6 +15045,12 @@ export interface operations {
|
|
|
14306
15045
|
"application/json": components["schemas"]["DriverResponseDto"];
|
|
14307
15046
|
};
|
|
14308
15047
|
};
|
|
15048
|
+
201: {
|
|
15049
|
+
headers: {
|
|
15050
|
+
[name: string]: unknown;
|
|
15051
|
+
};
|
|
15052
|
+
content?: never;
|
|
15053
|
+
};
|
|
14309
15054
|
};
|
|
14310
15055
|
};
|
|
14311
15056
|
DriversAdminController_getDispatcherHistory: {
|
|
@@ -14354,6 +15099,12 @@ export interface operations {
|
|
|
14354
15099
|
"application/json": components["schemas"]["DriverResponseDto"];
|
|
14355
15100
|
};
|
|
14356
15101
|
};
|
|
15102
|
+
201: {
|
|
15103
|
+
headers: {
|
|
15104
|
+
[name: string]: unknown;
|
|
15105
|
+
};
|
|
15106
|
+
content?: never;
|
|
15107
|
+
};
|
|
14357
15108
|
};
|
|
14358
15109
|
};
|
|
14359
15110
|
DriversAdminController_unlinkTeamDriver: {
|
|
@@ -14398,6 +15149,12 @@ export interface operations {
|
|
|
14398
15149
|
"application/json": components["schemas"]["DriverResponseDto"];
|
|
14399
15150
|
};
|
|
14400
15151
|
};
|
|
15152
|
+
201: {
|
|
15153
|
+
headers: {
|
|
15154
|
+
[name: string]: unknown;
|
|
15155
|
+
};
|
|
15156
|
+
content?: never;
|
|
15157
|
+
};
|
|
14401
15158
|
};
|
|
14402
15159
|
};
|
|
14403
15160
|
DriversAdminController_unlinkUser: {
|
|
@@ -14851,6 +15608,12 @@ export interface operations {
|
|
|
14851
15608
|
"application/json": components["schemas"]["SuccessResponseDto"];
|
|
14852
15609
|
};
|
|
14853
15610
|
};
|
|
15611
|
+
201: {
|
|
15612
|
+
headers: {
|
|
15613
|
+
[name: string]: unknown;
|
|
15614
|
+
};
|
|
15615
|
+
content?: never;
|
|
15616
|
+
};
|
|
14854
15617
|
};
|
|
14855
15618
|
};
|
|
14856
15619
|
StatementsController_findAll: {
|
|
@@ -15100,6 +15863,14 @@ export interface operations {
|
|
|
15100
15863
|
"application/json": components["schemas"]["StatementResponseDto"];
|
|
15101
15864
|
};
|
|
15102
15865
|
};
|
|
15866
|
+
201: {
|
|
15867
|
+
headers: {
|
|
15868
|
+
[name: string]: unknown;
|
|
15869
|
+
};
|
|
15870
|
+
content: {
|
|
15871
|
+
"application/json": Record<string, never>;
|
|
15872
|
+
};
|
|
15873
|
+
};
|
|
15103
15874
|
};
|
|
15104
15875
|
};
|
|
15105
15876
|
StatementsController_markPaid: {
|
|
@@ -15122,6 +15893,14 @@ export interface operations {
|
|
|
15122
15893
|
"application/json": components["schemas"]["StatementResponseDto"];
|
|
15123
15894
|
};
|
|
15124
15895
|
};
|
|
15896
|
+
201: {
|
|
15897
|
+
headers: {
|
|
15898
|
+
[name: string]: unknown;
|
|
15899
|
+
};
|
|
15900
|
+
content: {
|
|
15901
|
+
"application/json": Record<string, never>;
|
|
15902
|
+
};
|
|
15903
|
+
};
|
|
15125
15904
|
};
|
|
15126
15905
|
};
|
|
15127
15906
|
ReferralsController_findAll: {
|
|
@@ -15347,6 +16126,12 @@ export interface operations {
|
|
|
15347
16126
|
"application/json": components["schemas"]["UserSignatureResponseDto"];
|
|
15348
16127
|
};
|
|
15349
16128
|
};
|
|
16129
|
+
201: {
|
|
16130
|
+
headers: {
|
|
16131
|
+
[name: string]: unknown;
|
|
16132
|
+
};
|
|
16133
|
+
content?: never;
|
|
16134
|
+
};
|
|
15350
16135
|
};
|
|
15351
16136
|
};
|
|
15352
16137
|
SignaturesController_deleteSignature: {
|
|
@@ -15388,7 +16173,7 @@ export interface operations {
|
|
|
15388
16173
|
ExpensesController_findAll: {
|
|
15389
16174
|
parameters: {
|
|
15390
16175
|
query?: {
|
|
15391
|
-
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";
|
|
15392
16177
|
status?: "PENDING" | "APPROVED" | "REJECTED" | "PAID";
|
|
15393
16178
|
driverId?: string;
|
|
15394
16179
|
truckId?: string;
|
|
@@ -15396,6 +16181,8 @@ export interface operations {
|
|
|
15396
16181
|
fromDate?: string;
|
|
15397
16182
|
toDate?: string;
|
|
15398
16183
|
search?: string;
|
|
16184
|
+
/** @description Narrow results to a single partnered carrier (dispatch users) */
|
|
16185
|
+
carrierId?: string;
|
|
15399
16186
|
page?: number;
|
|
15400
16187
|
limit?: number;
|
|
15401
16188
|
};
|
|
@@ -15441,7 +16228,7 @@ export interface operations {
|
|
|
15441
16228
|
ExpensesController_getStats: {
|
|
15442
16229
|
parameters: {
|
|
15443
16230
|
query?: {
|
|
15444
|
-
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";
|
|
15445
16232
|
status?: "PENDING" | "APPROVED" | "REJECTED" | "PAID";
|
|
15446
16233
|
driverId?: string;
|
|
15447
16234
|
truckId?: string;
|
|
@@ -15449,6 +16236,8 @@ export interface operations {
|
|
|
15449
16236
|
fromDate?: string;
|
|
15450
16237
|
toDate?: string;
|
|
15451
16238
|
search?: string;
|
|
16239
|
+
/** @description Narrow results to a single partnered carrier (dispatch users) */
|
|
16240
|
+
carrierId?: string;
|
|
15452
16241
|
page?: number;
|
|
15453
16242
|
limit?: number;
|
|
15454
16243
|
};
|
|
@@ -15485,6 +16274,12 @@ export interface operations {
|
|
|
15485
16274
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15486
16275
|
};
|
|
15487
16276
|
};
|
|
16277
|
+
201: {
|
|
16278
|
+
headers: {
|
|
16279
|
+
[name: string]: unknown;
|
|
16280
|
+
};
|
|
16281
|
+
content?: never;
|
|
16282
|
+
};
|
|
15488
16283
|
};
|
|
15489
16284
|
};
|
|
15490
16285
|
ExpensesController_findOne: {
|
|
@@ -15575,6 +16370,14 @@ export interface operations {
|
|
|
15575
16370
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15576
16371
|
};
|
|
15577
16372
|
};
|
|
16373
|
+
201: {
|
|
16374
|
+
headers: {
|
|
16375
|
+
[name: string]: unknown;
|
|
16376
|
+
};
|
|
16377
|
+
content: {
|
|
16378
|
+
"application/json": Record<string, never>;
|
|
16379
|
+
};
|
|
16380
|
+
};
|
|
15578
16381
|
};
|
|
15579
16382
|
};
|
|
15580
16383
|
ExpensesController_approve: {
|
|
@@ -15596,6 +16399,12 @@ export interface operations {
|
|
|
15596
16399
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15597
16400
|
};
|
|
15598
16401
|
};
|
|
16402
|
+
201: {
|
|
16403
|
+
headers: {
|
|
16404
|
+
[name: string]: unknown;
|
|
16405
|
+
};
|
|
16406
|
+
content?: never;
|
|
16407
|
+
};
|
|
15599
16408
|
};
|
|
15600
16409
|
};
|
|
15601
16410
|
ExpensesController_reject: {
|
|
@@ -15621,6 +16430,12 @@ export interface operations {
|
|
|
15621
16430
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15622
16431
|
};
|
|
15623
16432
|
};
|
|
16433
|
+
201: {
|
|
16434
|
+
headers: {
|
|
16435
|
+
[name: string]: unknown;
|
|
16436
|
+
};
|
|
16437
|
+
content?: never;
|
|
16438
|
+
};
|
|
15624
16439
|
};
|
|
15625
16440
|
};
|
|
15626
16441
|
ExpensesController_reopen: {
|
|
@@ -15642,6 +16457,12 @@ export interface operations {
|
|
|
15642
16457
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15643
16458
|
};
|
|
15644
16459
|
};
|
|
16460
|
+
201: {
|
|
16461
|
+
headers: {
|
|
16462
|
+
[name: string]: unknown;
|
|
16463
|
+
};
|
|
16464
|
+
content?: never;
|
|
16465
|
+
};
|
|
15645
16466
|
};
|
|
15646
16467
|
};
|
|
15647
16468
|
ExpensesController_markAsPaid: {
|
|
@@ -15667,6 +16488,12 @@ export interface operations {
|
|
|
15667
16488
|
"application/json": components["schemas"]["ExpenseResponseDto"];
|
|
15668
16489
|
};
|
|
15669
16490
|
};
|
|
16491
|
+
201: {
|
|
16492
|
+
headers: {
|
|
16493
|
+
[name: string]: unknown;
|
|
16494
|
+
};
|
|
16495
|
+
content?: never;
|
|
16496
|
+
};
|
|
15670
16497
|
};
|
|
15671
16498
|
};
|
|
15672
16499
|
ClientEmailController_findAll: {
|
|
@@ -15827,6 +16654,12 @@ export interface operations {
|
|
|
15827
16654
|
"application/json": components["schemas"]["MessageResponseDto"];
|
|
15828
16655
|
};
|
|
15829
16656
|
};
|
|
16657
|
+
201: {
|
|
16658
|
+
headers: {
|
|
16659
|
+
[name: string]: unknown;
|
|
16660
|
+
};
|
|
16661
|
+
content?: never;
|
|
16662
|
+
};
|
|
15830
16663
|
};
|
|
15831
16664
|
};
|
|
15832
16665
|
InboundEmailController_findAll: {
|
|
@@ -15927,6 +16760,60 @@ export interface operations {
|
|
|
15927
16760
|
};
|
|
15928
16761
|
};
|
|
15929
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
|
+
};
|
|
15930
16817
|
EmailWebhookController_handleInboundEmail: {
|
|
15931
16818
|
parameters: {
|
|
15932
16819
|
query?: never;
|
|
@@ -16029,6 +16916,12 @@ export interface operations {
|
|
|
16029
16916
|
"application/json": components["schemas"]["SignDocumentResultDto"];
|
|
16030
16917
|
};
|
|
16031
16918
|
};
|
|
16919
|
+
201: {
|
|
16920
|
+
headers: {
|
|
16921
|
+
[name: string]: unknown;
|
|
16922
|
+
};
|
|
16923
|
+
content?: never;
|
|
16924
|
+
};
|
|
16032
16925
|
/** @description Document already signed or link expired */
|
|
16033
16926
|
400: {
|
|
16034
16927
|
headers: {
|
|
@@ -16078,6 +16971,14 @@ export interface operations {
|
|
|
16078
16971
|
"application/json": components["schemas"]["DocumentToSignResponseDto"];
|
|
16079
16972
|
};
|
|
16080
16973
|
};
|
|
16974
|
+
201: {
|
|
16975
|
+
headers: {
|
|
16976
|
+
[name: string]: unknown;
|
|
16977
|
+
};
|
|
16978
|
+
content: {
|
|
16979
|
+
"application/json": Record<string, never>;
|
|
16980
|
+
};
|
|
16981
|
+
};
|
|
16081
16982
|
};
|
|
16082
16983
|
};
|
|
16083
16984
|
SearchController_search: {
|
|
@@ -16241,6 +17142,12 @@ export interface operations {
|
|
|
16241
17142
|
"application/json": components["schemas"]["ResendInvitationResponseDto"];
|
|
16242
17143
|
};
|
|
16243
17144
|
};
|
|
17145
|
+
201: {
|
|
17146
|
+
headers: {
|
|
17147
|
+
[name: string]: unknown;
|
|
17148
|
+
};
|
|
17149
|
+
content?: never;
|
|
17150
|
+
};
|
|
16244
17151
|
};
|
|
16245
17152
|
};
|
|
16246
17153
|
CarriersController_findAll: {
|
|
@@ -16510,6 +17417,14 @@ export interface operations {
|
|
|
16510
17417
|
"application/json": components["schemas"]["PermitRequestResponseDto"];
|
|
16511
17418
|
};
|
|
16512
17419
|
};
|
|
17420
|
+
201: {
|
|
17421
|
+
headers: {
|
|
17422
|
+
[name: string]: unknown;
|
|
17423
|
+
};
|
|
17424
|
+
content: {
|
|
17425
|
+
"application/json": Record<string, never>;
|
|
17426
|
+
};
|
|
17427
|
+
};
|
|
16513
17428
|
};
|
|
16514
17429
|
};
|
|
16515
17430
|
AuditController_findAll: {
|
|
@@ -16888,58 +17803,15 @@ export interface operations {
|
|
|
16888
17803
|
};
|
|
16889
17804
|
};
|
|
16890
17805
|
};
|
|
16891
|
-
|
|
16892
|
-
parameters: {
|
|
16893
|
-
query?: never;
|
|
16894
|
-
header?: never;
|
|
16895
|
-
path?: never;
|
|
16896
|
-
cookie?: never;
|
|
16897
|
-
};
|
|
16898
|
-
requestBody?: never;
|
|
16899
|
-
responses: {
|
|
16900
|
-
200: {
|
|
16901
|
-
headers: {
|
|
16902
|
-
[name: string]: unknown;
|
|
16903
|
-
};
|
|
16904
|
-
content: {
|
|
16905
|
-
"application/json": components["schemas"]["FmcsaCheckResponseDto"];
|
|
16906
|
-
};
|
|
16907
|
-
};
|
|
16908
|
-
/** @description Inactive carrier or missing DOT number */
|
|
16909
|
-
400: {
|
|
16910
|
-
headers: {
|
|
16911
|
-
[name: string]: unknown;
|
|
16912
|
-
};
|
|
16913
|
-
content?: never;
|
|
16914
|
-
};
|
|
16915
|
-
};
|
|
16916
|
-
};
|
|
16917
|
-
VerificationController_submitVerification: {
|
|
17806
|
+
ReportsController_getPayoutReport: {
|
|
16918
17807
|
parameters: {
|
|
16919
|
-
query?:
|
|
16920
|
-
|
|
16921
|
-
|
|
16922
|
-
|
|
16923
|
-
|
|
16924
|
-
|
|
16925
|
-
content: {
|
|
16926
|
-
"application/json": components["schemas"]["SubmitVerificationDto"];
|
|
16927
|
-
};
|
|
16928
|
-
};
|
|
16929
|
-
responses: {
|
|
16930
|
-
200: {
|
|
16931
|
-
headers: {
|
|
16932
|
-
[name: string]: unknown;
|
|
16933
|
-
};
|
|
16934
|
-
content: {
|
|
16935
|
-
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
16936
|
-
};
|
|
17808
|
+
query?: {
|
|
17809
|
+
startDate?: string;
|
|
17810
|
+
endDate?: string;
|
|
17811
|
+
carrierId?: string;
|
|
17812
|
+
driverId?: string;
|
|
17813
|
+
customerId?: string;
|
|
16937
17814
|
};
|
|
16938
|
-
};
|
|
16939
|
-
};
|
|
16940
|
-
VerificationController_getStatus: {
|
|
16941
|
-
parameters: {
|
|
16942
|
-
query?: never;
|
|
16943
17815
|
header?: never;
|
|
16944
17816
|
path?: never;
|
|
16945
17817
|
cookie?: never;
|
|
@@ -16950,34 +17822,7 @@ export interface operations {
|
|
|
16950
17822
|
headers: {
|
|
16951
17823
|
[name: string]: unknown;
|
|
16952
17824
|
};
|
|
16953
|
-
content
|
|
16954
|
-
"application/json": components["schemas"]["VerificationStatusResponseDto"];
|
|
16955
|
-
};
|
|
16956
|
-
};
|
|
16957
|
-
};
|
|
16958
|
-
};
|
|
16959
|
-
VerificationController_adminDecision: {
|
|
16960
|
-
parameters: {
|
|
16961
|
-
query?: never;
|
|
16962
|
-
header?: never;
|
|
16963
|
-
path: {
|
|
16964
|
-
orgId: string;
|
|
16965
|
-
};
|
|
16966
|
-
cookie?: never;
|
|
16967
|
-
};
|
|
16968
|
-
requestBody: {
|
|
16969
|
-
content: {
|
|
16970
|
-
"application/json": components["schemas"]["AdminVerificationDecisionDto"];
|
|
16971
|
-
};
|
|
16972
|
-
};
|
|
16973
|
-
responses: {
|
|
16974
|
-
200: {
|
|
16975
|
-
headers: {
|
|
16976
|
-
[name: string]: unknown;
|
|
16977
|
-
};
|
|
16978
|
-
content: {
|
|
16979
|
-
"application/json": components["schemas"]["OrganizationResponseDto"];
|
|
16980
|
-
};
|
|
17825
|
+
content?: never;
|
|
16981
17826
|
};
|
|
16982
17827
|
};
|
|
16983
17828
|
};
|