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