@routeflow/types 1.0.18 → 1.0.19

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 CHANGED
@@ -2956,7 +2956,10 @@ export type webhooks = Record<string, never>;
2956
2956
  export interface components {
2957
2957
  schemas: {
2958
2958
  RegisterDto: {
2959
- /** @example user@example.com */
2959
+ /**
2960
+ * Format: email
2961
+ * @example user@example.com
2962
+ */
2960
2963
  email: string;
2961
2964
  /** @example password123 */
2962
2965
  password: string;
@@ -3005,6 +3008,56 @@ export interface components {
3005
3008
  /** Format: date-time */
3006
3009
  updatedAt: string;
3007
3010
  };
3011
+ TruckResponseDto: {
3012
+ id: string;
3013
+ truckNumber: string;
3014
+ year?: number;
3015
+ make?: string;
3016
+ model?: string;
3017
+ vin?: string;
3018
+ licensePlate?: string;
3019
+ /** @enum {string} */
3020
+ status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
3021
+ mileage?: number;
3022
+ /** @enum {string} */
3023
+ fuelType?: "DIESEL" | "GASOLINE" | "ELECTRIC" | "HYBRID";
3024
+ /** Format: date-time */
3025
+ insuranceExpiry?: string;
3026
+ /** Format: date-time */
3027
+ lastServiceDate?: string;
3028
+ notes?: string;
3029
+ orgId: string;
3030
+ assignedDriverId?: string;
3031
+ assignedDriver?: components["schemas"]["UserResponseDto"];
3032
+ /** Format: date-time */
3033
+ createdAt: string;
3034
+ /** Format: date-time */
3035
+ updatedAt: string;
3036
+ };
3037
+ TrailerResponseDto: {
3038
+ id: string;
3039
+ trailerNumber: string;
3040
+ /** @enum {string} */
3041
+ type: "RGN" | "SD" | "FLATBED" | "REEFER" | "DRY_VAN" | "STEP_DECK" | "LOWBOY";
3042
+ length?: string;
3043
+ weightCapacity?: string;
3044
+ /** @enum {string} */
3045
+ status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
3046
+ vin?: string;
3047
+ licensePlate?: string;
3048
+ /** Format: date-time */
3049
+ registrationExpiry?: string;
3050
+ /** Format: date-time */
3051
+ lastInspectionDate?: string;
3052
+ notes?: string;
3053
+ orgId: string;
3054
+ assignedDriverId?: string;
3055
+ assignedDriver?: components["schemas"]["UserResponseDto"];
3056
+ /** Format: date-time */
3057
+ createdAt: string;
3058
+ /** Format: date-time */
3059
+ updatedAt: string;
3060
+ };
3008
3061
  UserResponseDto: {
3009
3062
  id: string;
3010
3063
  email?: string;
@@ -3017,6 +3070,8 @@ export interface components {
3017
3070
  isActive: boolean;
3018
3071
  orgId: string;
3019
3072
  org?: components["schemas"]["OrganizationResponseDto"];
3073
+ assignedTruck?: components["schemas"]["TruckResponseDto"];
3074
+ assignedTrailer?: components["schemas"]["TrailerResponseDto"];
3020
3075
  /** Format: date-time */
3021
3076
  createdAt: string;
3022
3077
  /** Format: date-time */
@@ -3028,13 +3083,17 @@ export interface components {
3028
3083
  user: components["schemas"]["UserResponseDto"];
3029
3084
  };
3030
3085
  LoginDto: {
3031
- /** @example user@example.com */
3086
+ /**
3087
+ * Format: email
3088
+ * @example user@example.com
3089
+ */
3032
3090
  email: string;
3033
3091
  /** @example password123 */
3034
3092
  password: string;
3035
3093
  };
3036
3094
  VerifyEmailDto: {
3037
3095
  /**
3096
+ * Format: email
3038
3097
  * @description Email address
3039
3098
  * @example user@example.com
3040
3099
  */
@@ -3047,6 +3106,7 @@ export interface components {
3047
3106
  };
3048
3107
  ResendCodeDto: {
3049
3108
  /**
3109
+ * Format: email
3050
3110
  * @description Email address
3051
3111
  * @example user@example.com
3052
3112
  */
@@ -3088,6 +3148,7 @@ export interface components {
3088
3148
  };
3089
3149
  ForgotPasswordDto: {
3090
3150
  /**
3151
+ * Format: email
3091
3152
  * @description Email address to send password reset link
3092
3153
  * @example driver@example.com
3093
3154
  */
@@ -3106,7 +3167,10 @@ export interface components {
3106
3167
  newPassword: string;
3107
3168
  };
3108
3169
  CreateUserDto: {
3109
- /** @example user@example.com */
3170
+ /**
3171
+ * Format: email
3172
+ * @example user@example.com
3173
+ */
3110
3174
  email?: string;
3111
3175
  /** @example password123 */
3112
3176
  password?: string;
@@ -3129,7 +3193,10 @@ export interface components {
3129
3193
  UpdateUserDto: {
3130
3194
  /** @example John Doe */
3131
3195
  name?: string;
3132
- /** @example user@example.com */
3196
+ /**
3197
+ * Format: email
3198
+ * @example user@example.com
3199
+ */
3133
3200
  email?: string;
3134
3201
  /** @example +1234567890 */
3135
3202
  phone?: string;
@@ -3170,7 +3237,10 @@ export interface components {
3170
3237
  settings?: Record<string, never>;
3171
3238
  };
3172
3239
  InviteUserDto: {
3173
- /** @example user@example.com */
3240
+ /**
3241
+ * Format: email
3242
+ * @example user@example.com
3243
+ */
3174
3244
  email?: string;
3175
3245
  /**
3176
3246
  * @example DRIVER
@@ -3199,7 +3269,10 @@ export interface components {
3199
3269
  zipCode?: string;
3200
3270
  /** @example 555-123-4567 */
3201
3271
  phone?: string;
3202
- /** @example dispatch@acmetrucking.com */
3272
+ /**
3273
+ * Format: email
3274
+ * @example dispatch@acmetrucking.com
3275
+ */
3203
3276
  email?: string;
3204
3277
  /** @example 10 */
3205
3278
  fleetSize?: number;
@@ -3221,7 +3294,10 @@ export interface components {
3221
3294
  ExpressFactoringInterestDto: {
3222
3295
  /** @example OTR_CAPITAL */
3223
3296
  partner: string;
3224
- /** @example dispatch@acmetrucking.com */
3297
+ /**
3298
+ * Format: email
3299
+ * @example dispatch@acmetrucking.com
3300
+ */
3225
3301
  contactEmail?: string;
3226
3302
  /** @example 555-123-4567 */
3227
3303
  contactPhone?: string;
@@ -3407,6 +3483,10 @@ export interface components {
3407
3483
  stopsTotal: number;
3408
3484
  stopsCompleted: number;
3409
3485
  };
3486
+ RunSummaryListResponseDto: {
3487
+ items: components["schemas"]["RunSummaryResponseDto"][];
3488
+ total: number;
3489
+ };
3410
3490
  UpdateRunDto: {
3411
3491
  /** @example Morning Route - Updated */
3412
3492
  name?: string;
@@ -3481,11 +3561,11 @@ export interface components {
3481
3561
  /** @example -74.006 */
3482
3562
  lng: number;
3483
3563
  /** @example John Smith */
3484
- contactName?: Record<string, never> | null;
3564
+ contactName?: string;
3485
3565
  /** @example +1 (555) 123-4567 */
3486
- contactPhone?: Record<string, never> | null;
3566
+ contactPhone?: string;
3487
3567
  /** @example Ring doorbell twice */
3488
- notes?: Record<string, never> | null;
3568
+ notes?: string;
3489
3569
  /** @example 2025-12-09T08:00:00Z */
3490
3570
  timeWindowStart?: string;
3491
3571
  /** @example 2025-12-09T12:00:00Z */
@@ -3528,11 +3608,11 @@ export interface components {
3528
3608
  /** @example -74.006 */
3529
3609
  lng?: number;
3530
3610
  /** @example John Smith */
3531
- contactName?: Record<string, never> | null;
3611
+ contactName?: string;
3532
3612
  /** @example +1 (555) 123-4567 */
3533
- contactPhone?: Record<string, never> | null;
3613
+ contactPhone?: string;
3534
3614
  /** @example Ring doorbell twice */
3535
- notes?: Record<string, never> | null;
3615
+ notes?: string;
3536
3616
  /** @example 2025-12-09T08:00:00Z */
3537
3617
  timeWindowStart?: string;
3538
3618
  /** @example 2025-12-09T12:00:00Z */
@@ -3602,6 +3682,10 @@ export interface components {
3602
3682
  /** Format: date-time */
3603
3683
  updatedAt: string;
3604
3684
  };
3685
+ RunChargeListResponseDto: {
3686
+ items: components["schemas"]["RunChargeResponseDto"][];
3687
+ total: number;
3688
+ };
3605
3689
  CreateRunChargeDto: {
3606
3690
  /**
3607
3691
  * @description Type of charge
@@ -3643,12 +3727,12 @@ export interface components {
3643
3727
  fileKey: string;
3644
3728
  };
3645
3729
  UnifiedUploadDto: {
3646
- /** @description Base64 encoded file */
3730
+ /** @description Base64 encoded file (max 20MB) */
3647
3731
  fileBase64: string;
3648
3732
  /** @description Original file name */
3649
3733
  fileName: string;
3650
3734
  /**
3651
- * @description MIME type of the file
3735
+ * @description MIME type of the file (allowed: application/pdf, image/jpeg, image/png, image/gif, image/webp, image/tiff)
3652
3736
  * @default application/pdf
3653
3737
  */
3654
3738
  mimeType: string;
@@ -3670,39 +3754,39 @@ export interface components {
3670
3754
  };
3671
3755
  ExtractedAssetFieldDto: {
3672
3756
  /** @description Driver name */
3673
- name?: Record<string, never>;
3757
+ name?: string | null;
3674
3758
  /** @description Phone number */
3675
- phone?: Record<string, never>;
3759
+ phone?: string | null;
3676
3760
  /** @description Email address */
3677
- email?: Record<string, never>;
3761
+ email?: string | null;
3678
3762
  /** @description License number */
3679
- licenseNumber?: Record<string, never>;
3763
+ licenseNumber?: string | null;
3680
3764
  /** @description License expiry date */
3681
- licenseExpiry?: Record<string, never>;
3765
+ licenseExpiry?: string | null;
3682
3766
  /** @description License state */
3683
- licenseState?: Record<string, never>;
3767
+ licenseState?: string | null;
3684
3768
  /** @description Truck number/ID */
3685
- truckNumber?: Record<string, never>;
3769
+ truckNumber?: string | null;
3686
3770
  /** @description Vehicle Identification Number */
3687
- vin?: Record<string, never>;
3771
+ vin?: string | null;
3688
3772
  /** @description Vehicle make */
3689
- make?: Record<string, never>;
3773
+ make?: string | null;
3690
3774
  /** @description Vehicle model */
3691
- model?: Record<string, never>;
3775
+ model?: string | null;
3692
3776
  /** @description Vehicle year */
3693
- year?: Record<string, never>;
3777
+ year?: number | null;
3694
3778
  /** @description License plate number */
3695
- licensePlate?: Record<string, never>;
3779
+ licensePlate?: string | null;
3696
3780
  /** @description Plate state */
3697
- plateState?: Record<string, never>;
3781
+ plateState?: string | null;
3698
3782
  /** @description Trailer number/ID */
3699
- trailerNumber?: Record<string, never>;
3783
+ trailerNumber?: string | null;
3700
3784
  /** @description Trailer type */
3701
- trailerType?: Record<string, never>;
3785
+ trailerType?: string | null;
3702
3786
  /** @description Trailer length */
3703
- length?: Record<string, never>;
3787
+ length?: number | null;
3704
3788
  /** @description Weight capacity */
3705
- weightCapacity?: Record<string, never>;
3789
+ weightCapacity?: number | null;
3706
3790
  };
3707
3791
  ExtractedAssetResponseDto: {
3708
3792
  /** @description Unique identifier */
@@ -3726,17 +3810,17 @@ export interface components {
3726
3810
  /** @description Type of source document */
3727
3811
  sourceDocumentType: string;
3728
3812
  /** @description Original file name */
3729
- fileName?: Record<string, never>;
3813
+ fileName?: string | null;
3730
3814
  /** @description ID of potential duplicate asset */
3731
- potentialDuplicateId?: Record<string, never>;
3815
+ potentialDuplicateId?: string | null;
3732
3816
  /** @description Type of potential duplicate */
3733
- potentialDuplicateType?: Record<string, never>;
3817
+ potentialDuplicateType?: string | null;
3734
3818
  /** @description ID of reviewer */
3735
- reviewedById?: Record<string, never>;
3819
+ reviewedById?: string | null;
3736
3820
  /** @description Review timestamp */
3737
- reviewedAt?: Record<string, never>;
3821
+ reviewedAt?: string | null;
3738
3822
  /** @description Review notes */
3739
- reviewNotes?: Record<string, never>;
3823
+ reviewNotes?: string | null;
3740
3824
  /** @description Creation timestamp */
3741
3825
  createdAt: string;
3742
3826
  /** @description Last update timestamp */
@@ -3967,7 +4051,8 @@ export interface components {
3967
4051
  suggestedDrivers?: components["schemas"]["SuggestedDriverDto"][];
3968
4052
  /** @description Assigned driver ID if auto-assign was enabled */
3969
4053
  assignedDriverId?: string;
3970
- parsedData: Record<string, never>;
4054
+ /** @description Parsed document data - either BOL or Rate Confirmation, null if parsing failed */
4055
+ parsedData: Record<string, never> | null;
3971
4056
  warnings?: string[];
3972
4057
  errors?: string[];
3973
4058
  processingTimeMs: number;
@@ -4013,6 +4098,13 @@ export interface components {
4013
4098
  /** @example 2025-12-31T00:00:00Z */
4014
4099
  expiryDate?: string;
4015
4100
  };
4101
+ CompanyDocumentListResponseDto: {
4102
+ items: components["schemas"]["CompanyDocumentResponseDto"][];
4103
+ total: number;
4104
+ page: number;
4105
+ limit: number;
4106
+ totalPages: number;
4107
+ };
4016
4108
  UpdateManualHosDto: {
4017
4109
  /**
4018
4110
  * @description Available driving minutes (typically 0-660 for 11 hours)
@@ -4043,7 +4135,10 @@ export interface components {
4043
4135
  runId: string;
4044
4136
  /** @example stop-id */
4045
4137
  stopId?: string;
4046
- /** @example customer@example.com */
4138
+ /**
4139
+ * Format: email
4140
+ * @example customer@example.com
4141
+ */
4047
4142
  customerEmail?: string;
4048
4143
  /** @example +1234567890 */
4049
4144
  customerPhone?: string;
@@ -4073,7 +4168,12 @@ export interface components {
4073
4168
  status: "DRAFT" | "QUEUED" | "DISPATCHED" | "IN_PROGRESS" | "COMPLETED" | "CANCELLED" | "TONU";
4074
4169
  /** Format: date-time */
4075
4170
  estimatedArrival?: string;
4076
- currentStop?: Record<string, never>;
4171
+ currentStop?: {
4172
+ id: string;
4173
+ address: string;
4174
+ /** @enum {string} */
4175
+ status: "PENDING" | "EN_ROUTE" | "ARRIVED" | "LOADING" | "LOADED" | "DELIVERING" | "DELIVERED" | "EXCEPTION" | "SKIPPED";
4176
+ };
4077
4177
  stopsTotal: number;
4078
4178
  stopsCompleted: number;
4079
4179
  };
@@ -4083,6 +4183,10 @@ export interface components {
4083
4183
  /** Format: date-time */
4084
4184
  updatedAt: string;
4085
4185
  };
4186
+ MagicLinkListResponseDto: {
4187
+ items: components["schemas"]["MagicLinkResponseDto"][];
4188
+ total: number;
4189
+ };
4086
4190
  CreateTruckDto: {
4087
4191
  /** @example TRK-001 */
4088
4192
  truckNumber: string;
@@ -4115,32 +4219,6 @@ export interface components {
4115
4219
  /** @example New tires installed */
4116
4220
  notes?: string;
4117
4221
  };
4118
- TruckResponseDto: {
4119
- id: string;
4120
- truckNumber: string;
4121
- year?: number;
4122
- make?: string;
4123
- model?: string;
4124
- vin?: string;
4125
- licensePlate?: string;
4126
- /** @enum {string} */
4127
- status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
4128
- mileage?: number;
4129
- /** @enum {string} */
4130
- fuelType?: "DIESEL" | "GASOLINE" | "ELECTRIC" | "HYBRID";
4131
- /** Format: date-time */
4132
- insuranceExpiry?: string;
4133
- /** Format: date-time */
4134
- lastServiceDate?: string;
4135
- notes?: string;
4136
- orgId: string;
4137
- assignedDriverId?: string;
4138
- assignedDriver?: components["schemas"]["UserResponseDto"];
4139
- /** Format: date-time */
4140
- createdAt: string;
4141
- /** Format: date-time */
4142
- updatedAt: string;
4143
- };
4144
4222
  TruckListResponseDto: {
4145
4223
  items: components["schemas"]["TruckResponseDto"][];
4146
4224
  total: number;
@@ -4212,30 +4290,6 @@ export interface components {
4212
4290
  /** @example New brakes installed */
4213
4291
  notes?: string;
4214
4292
  };
4215
- TrailerResponseDto: {
4216
- id: string;
4217
- trailerNumber: string;
4218
- /** @enum {string} */
4219
- type: "RGN" | "SD" | "FLATBED" | "REEFER" | "DRY_VAN" | "STEP_DECK" | "LOWBOY";
4220
- length?: string;
4221
- weightCapacity?: string;
4222
- /** @enum {string} */
4223
- status: "ACTIVE" | "IN_SHOP" | "INACTIVE";
4224
- vin?: string;
4225
- licensePlate?: string;
4226
- /** Format: date-time */
4227
- registrationExpiry?: string;
4228
- /** Format: date-time */
4229
- lastInspectionDate?: string;
4230
- notes?: string;
4231
- orgId: string;
4232
- assignedDriverId?: string;
4233
- assignedDriver?: components["schemas"]["UserResponseDto"];
4234
- /** Format: date-time */
4235
- createdAt: string;
4236
- /** Format: date-time */
4237
- updatedAt: string;
4238
- };
4239
4293
  TrailerListResponseDto: {
4240
4294
  items: components["schemas"]["TrailerResponseDto"][];
4241
4295
  total: number;
@@ -4283,6 +4337,10 @@ export interface components {
4283
4337
  totalPay?: number;
4284
4338
  stopsCount: number;
4285
4339
  };
4340
+ AssignedRunListResponseDto: {
4341
+ items: components["schemas"]["AssignedRunSummaryResponseDto"][];
4342
+ total: number;
4343
+ };
4286
4344
  DriverResponseDto: {
4287
4345
  id: string;
4288
4346
  /** @enum {string} */
@@ -4346,7 +4404,16 @@ export interface components {
4346
4404
  /** Format: date-time */
4347
4405
  updatedAt: string;
4348
4406
  };
4407
+ DriverListResponseDto: {
4408
+ items: components["schemas"]["DriverResponseDto"][];
4409
+ total: number;
4410
+ page: number;
4411
+ limit: number;
4412
+ totalPages: number;
4413
+ };
4349
4414
  UpdateDriverDto: {
4415
+ /** @enum {string} */
4416
+ dispatchStatus?: "AVAILABLE" | "HOME" | "IN_TRANSIT" | "INACTIVE" | "SHOP" | "REST" | "DISPATCHED" | "ASSIGNED";
4350
4417
  /** @example 123 Main St */
4351
4418
  streetAddress?: string;
4352
4419
  /** @example Los Angeles */
@@ -4429,6 +4496,10 @@ export interface components {
4429
4496
  /** Format: date-time */
4430
4497
  createdAt: string;
4431
4498
  };
4499
+ DispatcherAssignmentHistoryListResponseDto: {
4500
+ items: components["schemas"]["DispatcherAssignmentHistoryResponseDto"][];
4501
+ total: number;
4502
+ };
4432
4503
  LinkTeamDriverDto: {
4433
4504
  /**
4434
4505
  * @description ID of the co-driver to link as team partner
@@ -4452,6 +4523,10 @@ export interface components {
4452
4523
  /** @enum {string} */
4453
4524
  status: "COMPLIANT" | "WARNING" | "EXPIRED" | "PENDING";
4454
4525
  };
4526
+ ComplianceWarningListResponseDto: {
4527
+ items: components["schemas"]["ComplianceWarningResponseDto"][];
4528
+ total: number;
4529
+ };
4455
4530
  DriverLocationResponseDto: {
4456
4531
  id: string;
4457
4532
  lat: number;
@@ -4465,6 +4540,10 @@ export interface components {
4465
4540
  /** Format: date-time */
4466
4541
  createdAt: string;
4467
4542
  };
4543
+ DriverLocationHistoryResponseDto: {
4544
+ items: components["schemas"]["DriverLocationResponseDto"][];
4545
+ total: number;
4546
+ };
4468
4547
  ChatMessageDto: {
4469
4548
  /** @enum {string} */
4470
4549
  role: "user" | "assistant" | "system";
@@ -4482,6 +4561,81 @@ export interface components {
4482
4561
  /** @enum {string} */
4483
4562
  documentType?: "BOL" | "POD" | "INVOICE" | "OTHER";
4484
4563
  };
4564
+ ToolCallDto: {
4565
+ /** @description Unique identifier for the tool call */
4566
+ id: string;
4567
+ /** @description Name of the tool that was called */
4568
+ name: string;
4569
+ /** @description Input parameters passed to the tool */
4570
+ input: {
4571
+ [key: string]: unknown;
4572
+ };
4573
+ /** @description Output returned by the tool */
4574
+ output: {
4575
+ [key: string]: unknown;
4576
+ };
4577
+ /**
4578
+ * @description State of the tool call
4579
+ * @enum {string}
4580
+ */
4581
+ state: "completed" | "error";
4582
+ };
4583
+ TokenUsageDto: {
4584
+ /** @description Number of input tokens used */
4585
+ input_tokens: number;
4586
+ /** @description Number of output tokens used */
4587
+ output_tokens: number;
4588
+ };
4589
+ ChatResponseDto: {
4590
+ /** @description AI response content */
4591
+ content: string;
4592
+ /** @description Tool calls made during the conversation */
4593
+ toolCalls?: components["schemas"]["ToolCallDto"][];
4594
+ /** @description Token usage statistics */
4595
+ usage?: components["schemas"]["TokenUsageDto"];
4596
+ };
4597
+ AnalyzeDocumentResponseDto: {
4598
+ /** @description Analysis results */
4599
+ analysis: {
4600
+ [key: string]: unknown;
4601
+ };
4602
+ /** @description Detected document type */
4603
+ documentType?: string;
4604
+ /** @description Token usage statistics */
4605
+ usage?: components["schemas"]["TokenUsageDto"];
4606
+ };
4607
+ DailyCheckOrgResultDto: {
4608
+ /** @description Organization ID */
4609
+ orgId: string;
4610
+ /** @description Total number of issues found */
4611
+ issues: number;
4612
+ /** @description Number of critical issues */
4613
+ critical: number;
4614
+ /** @description Whether a notification was sent */
4615
+ notificationSent: boolean;
4616
+ };
4617
+ DailyCheckResponseDto: {
4618
+ /** @description Whether the check was successful */
4619
+ success: boolean;
4620
+ /** @description Number of organizations checked */
4621
+ checkedOrgs: number;
4622
+ /** @description Results for each organization */
4623
+ results: components["schemas"]["DailyCheckOrgResultDto"][];
4624
+ };
4625
+ ChatHistoryMessageDto: {
4626
+ id: string;
4627
+ sessionId: string;
4628
+ /** @enum {string} */
4629
+ role: "user" | "assistant" | "system";
4630
+ content: string;
4631
+ toolCalls?: components["schemas"]["ToolCallDto"][] | null;
4632
+ /** Format: date-time */
4633
+ createdAt: string;
4634
+ };
4635
+ ChatHistoryResponseDto: {
4636
+ messages: components["schemas"]["ChatHistoryMessageDto"][];
4637
+ sessionId?: string;
4638
+ };
4485
4639
  CreateCustomerDto: {
4486
4640
  /**
4487
4641
  * @default BROKER
@@ -4492,7 +4646,10 @@ export interface components {
4492
4646
  companyName: string;
4493
4647
  /** @example John Smith */
4494
4648
  contactName?: string;
4495
- /** @example john@abcfreight.com */
4649
+ /**
4650
+ * Format: email
4651
+ * @example john@abcfreight.com
4652
+ */
4496
4653
  email?: string;
4497
4654
  /** @example +1-555-123-4567 */
4498
4655
  phone?: string;
@@ -4556,7 +4713,10 @@ export interface components {
4556
4713
  companyName?: string;
4557
4714
  /** @example John Smith */
4558
4715
  contactName?: string;
4559
- /** @example john@abcfreight.com */
4716
+ /**
4717
+ * Format: email
4718
+ * @example john@abcfreight.com
4719
+ */
4560
4720
  email?: string;
4561
4721
  /** @example +1-555-123-4567 */
4562
4722
  phone?: string;
@@ -4592,24 +4752,30 @@ export interface components {
4592
4752
  /** @description Run ID for context */
4593
4753
  runId?: string;
4594
4754
  };
4755
+ MessageParticipantDto: {
4756
+ id: string;
4757
+ name: string;
4758
+ role: string;
4759
+ };
4595
4760
  MessageResponseDto: {
4596
4761
  id: string;
4762
+ /** @enum {string} */
4763
+ type: "TEXT" | "IMAGE" | "DOCUMENT" | "SYSTEM";
4597
4764
  content: string;
4598
- type: string;
4599
- senderId: string;
4600
- receiverId?: string;
4601
- runId?: string;
4765
+ metadata?: Record<string, never>;
4602
4766
  isRead: boolean;
4603
- orgId: string;
4604
- senderName?: string;
4605
- receiverName?: string;
4606
4767
  /** Format: date-time */
4607
4768
  createdAt: string;
4769
+ senderId: string;
4770
+ sender?: components["schemas"]["MessageParticipantDto"];
4771
+ recipientId?: string;
4772
+ recipient?: components["schemas"]["MessageParticipantDto"];
4773
+ runId?: string;
4608
4774
  };
4609
4775
  MessageListResponseDto: {
4610
4776
  items: components["schemas"]["MessageResponseDto"][];
4611
4777
  total: number;
4612
- hasMore?: boolean;
4778
+ hasMore: boolean;
4613
4779
  };
4614
4780
  ConversationResponseDto: {
4615
4781
  partnerId: string;
@@ -4632,7 +4798,7 @@ export interface components {
4632
4798
  };
4633
4799
  StatementLineItem: {
4634
4800
  description: string;
4635
- type: string;
4801
+ type: Record<string, never>;
4636
4802
  amount: number;
4637
4803
  runId?: string;
4638
4804
  loadNumber?: string;
@@ -4659,27 +4825,22 @@ export interface components {
4659
4825
  };
4660
4826
  StatementResponseDto: {
4661
4827
  id: string;
4828
+ driverId: string;
4662
4829
  /** Format: date-time */
4663
4830
  periodStart: string;
4664
4831
  /** Format: date-time */
4665
4832
  periodEnd: string;
4666
- /** @enum {string} */
4667
- status: "DRAFT" | "PENDING" | "APPROVED" | "PAID";
4668
- totalMiles: number;
4669
- totalLoads: number;
4670
- grossPay: number;
4671
- deductions: number;
4833
+ totalEarnings: number;
4834
+ totalDeductions: number;
4672
4835
  netPay: number;
4673
- lineItems?: string[];
4674
- notes?: string;
4675
- /** Format: date-time */
4676
- paidAt?: string;
4836
+ status: string;
4837
+ lineItems?: components["schemas"]["StatementLineItem"][];
4838
+ driverName?: string;
4839
+ orgId: string;
4677
4840
  /** Format: date-time */
4678
4841
  createdAt: string;
4679
4842
  /** Format: date-time */
4680
4843
  updatedAt: string;
4681
- driverId: string;
4682
- driver?: Record<string, never>;
4683
4844
  };
4684
4845
  GenerateStatementDto: {
4685
4846
  /** @description Driver user ID */
@@ -4694,6 +4855,7 @@ export interface components {
4694
4855
  total: number;
4695
4856
  page: number;
4696
4857
  limit: number;
4858
+ totalPages: number;
4697
4859
  };
4698
4860
  UpdateStatementDto: {
4699
4861
  /** @description Driver user ID */
@@ -4727,6 +4889,10 @@ export interface components {
4727
4889
  /** @description Expiration date */
4728
4890
  expiresAt?: string;
4729
4891
  };
4892
+ ReferralCreatedByDto: {
4893
+ id: string;
4894
+ name: string;
4895
+ };
4730
4896
  ReferralResponseDto: {
4731
4897
  id: string;
4732
4898
  code: string;
@@ -4739,17 +4905,22 @@ export interface components {
4739
4905
  /** Format: date-time */
4740
4906
  createdAt: string;
4741
4907
  createdById: string;
4742
- createdBy?: Record<string, never>;
4908
+ createdBy?: components["schemas"]["ReferralCreatedByDto"];
4743
4909
  };
4744
4910
  ReferralListResponseDto: {
4745
4911
  items: components["schemas"]["ReferralResponseDto"][];
4746
4912
  total: number;
4747
4913
  };
4914
+ TopReferrerDto: {
4915
+ userId: string;
4916
+ userName: string;
4917
+ signupCount: number;
4918
+ };
4748
4919
  ReferralStatsDto: {
4749
4920
  totalReferrals: number;
4750
4921
  activeReferrals: number;
4751
4922
  totalSignups: number;
4752
- topReferrers: Record<string, never>[];
4923
+ topReferrers: components["schemas"]["TopReferrerDto"][];
4753
4924
  };
4754
4925
  UpdateReferralDto: {
4755
4926
  /** @description Custom referral code (auto-generated if not provided) */
@@ -4786,6 +4957,18 @@ export interface components {
4786
4957
  /** Format: date-time */
4787
4958
  updatedAt?: string;
4788
4959
  };
4960
+ AISuggestionDto: {
4961
+ driverId?: string;
4962
+ driverName?: string;
4963
+ truckId?: string;
4964
+ truckNumber?: string;
4965
+ trailerId?: string;
4966
+ trailerNumber?: string;
4967
+ runId?: string;
4968
+ runName?: string;
4969
+ /** @example 0.85 */
4970
+ confidence: number;
4971
+ };
4789
4972
  CreateExpenseDto: {
4790
4973
  /** @enum {string} */
4791
4974
  type: "FUEL" | "REPAIR" | "MAINTENANCE" | "TOLL" | "PARKING" | "SCALE" | "LUMPER" | "DETENTION" | "INSURANCE" | "OTHER";
@@ -4835,6 +5018,7 @@ export interface components {
4835
5018
  truckNumber?: string;
4836
5019
  trailerNumber?: string;
4837
5020
  runName?: string;
5021
+ aiSuggestion?: components["schemas"]["AISuggestionDto"];
4838
5022
  /** Format: date-time */
4839
5023
  createdAt: string;
4840
5024
  /** Format: date-time */
@@ -4943,6 +5127,7 @@ export interface components {
4943
5127
  };
4944
5128
  SendInvitationDto: {
4945
5129
  /**
5130
+ * Format: email
4946
5131
  * @description Email address to send invitation to
4947
5132
  * @example broker@example.com
4948
5133
  */
@@ -4990,7 +5175,7 @@ export interface components {
4990
5175
  };
4991
5176
  SendGridWebhookDto: {
4992
5177
  /** @description Raw email headers */
4993
- headers: string;
5178
+ headers?: string;
4994
5179
  /** @description DKIM verification result */
4995
5180
  dkim?: string;
4996
5181
  /**
@@ -5069,6 +5254,7 @@ export interface components {
5069
5254
  */
5070
5255
  signedByName?: string;
5071
5256
  /**
5257
+ * Format: email
5072
5258
  * @description Email of person signing
5073
5259
  * @example john@example.com
5074
5260
  */
@@ -5378,6 +5564,12 @@ export interface operations {
5378
5564
  };
5379
5565
  content?: never;
5380
5566
  };
5567
+ 201: {
5568
+ headers: {
5569
+ [name: string]: unknown;
5570
+ };
5571
+ content?: never;
5572
+ };
5381
5573
  };
5382
5574
  };
5383
5575
  AuthController_logout: {
@@ -5576,6 +5768,12 @@ export interface operations {
5576
5768
  };
5577
5769
  content?: never;
5578
5770
  };
5771
+ 201: {
5772
+ headers: {
5773
+ [name: string]: unknown;
5774
+ };
5775
+ content?: never;
5776
+ };
5579
5777
  };
5580
5778
  };
5581
5779
  UsersController_unlinkTelegram: {
@@ -5596,6 +5794,12 @@ export interface operations {
5596
5794
  };
5597
5795
  content?: never;
5598
5796
  };
5797
+ 201: {
5798
+ headers: {
5799
+ [name: string]: unknown;
5800
+ };
5801
+ content?: never;
5802
+ };
5599
5803
  };
5600
5804
  };
5601
5805
  UsersController_updateDispatchStatus: {
@@ -5636,6 +5840,12 @@ export interface operations {
5636
5840
  };
5637
5841
  content?: never;
5638
5842
  };
5843
+ 201: {
5844
+ headers: {
5845
+ [name: string]: unknown;
5846
+ };
5847
+ content?: never;
5848
+ };
5639
5849
  };
5640
5850
  };
5641
5851
  OrgsController_findAll: {
@@ -5933,6 +6143,12 @@ export interface operations {
5933
6143
  };
5934
6144
  content?: never;
5935
6145
  };
6146
+ 201: {
6147
+ headers: {
6148
+ [name: string]: unknown;
6149
+ };
6150
+ content?: never;
6151
+ };
5936
6152
  };
5937
6153
  };
5938
6154
  OrgsController_completeOnboarding: {
@@ -5955,6 +6171,12 @@ export interface operations {
5955
6171
  };
5956
6172
  content?: never;
5957
6173
  };
6174
+ 201: {
6175
+ headers: {
6176
+ [name: string]: unknown;
6177
+ };
6178
+ content?: never;
6179
+ };
5958
6180
  };
5959
6181
  };
5960
6182
  OrgsController_getFactoringPartners: {
@@ -6083,7 +6305,7 @@ export interface operations {
6083
6305
  [name: string]: unknown;
6084
6306
  };
6085
6307
  content: {
6086
- "application/json": components["schemas"]["RunSummaryResponseDto"][];
6308
+ "application/json": components["schemas"]["RunSummaryListResponseDto"];
6087
6309
  };
6088
6310
  };
6089
6311
  };
@@ -6232,6 +6454,14 @@ export interface operations {
6232
6454
  };
6233
6455
  content?: never;
6234
6456
  };
6457
+ 201: {
6458
+ headers: {
6459
+ [name: string]: unknown;
6460
+ };
6461
+ content: {
6462
+ "application/json": Record<string, never>;
6463
+ };
6464
+ };
6235
6465
  };
6236
6466
  };
6237
6467
  RunsController_unassignDriver: {
@@ -6252,6 +6482,12 @@ export interface operations {
6252
6482
  };
6253
6483
  content?: never;
6254
6484
  };
6485
+ 201: {
6486
+ headers: {
6487
+ [name: string]: unknown;
6488
+ };
6489
+ content?: never;
6490
+ };
6255
6491
  };
6256
6492
  };
6257
6493
  RunsController_startRun: {
@@ -6360,6 +6596,14 @@ export interface operations {
6360
6596
  };
6361
6597
  content?: never;
6362
6598
  };
6599
+ 201: {
6600
+ headers: {
6601
+ [name: string]: unknown;
6602
+ };
6603
+ content: {
6604
+ "application/json": Record<string, never>;
6605
+ };
6606
+ };
6363
6607
  };
6364
6608
  };
6365
6609
  RunsController_addStop: {
@@ -6479,6 +6723,14 @@ export interface operations {
6479
6723
  };
6480
6724
  content?: never;
6481
6725
  };
6726
+ 201: {
6727
+ headers: {
6728
+ [name: string]: unknown;
6729
+ };
6730
+ content: {
6731
+ "application/json": Record<string, never>;
6732
+ };
6733
+ };
6482
6734
  };
6483
6735
  };
6484
6736
  RunsController_uploadSignature: {
@@ -6520,6 +6772,12 @@ export interface operations {
6520
6772
  };
6521
6773
  content?: never;
6522
6774
  };
6775
+ 201: {
6776
+ headers: {
6777
+ [name: string]: unknown;
6778
+ };
6779
+ content?: never;
6780
+ };
6523
6781
  };
6524
6782
  };
6525
6783
  RunsController_queueLoad: {
@@ -6540,6 +6798,14 @@ export interface operations {
6540
6798
  };
6541
6799
  content?: never;
6542
6800
  };
6801
+ 201: {
6802
+ headers: {
6803
+ [name: string]: unknown;
6804
+ };
6805
+ content: {
6806
+ "application/json": Record<string, never>;
6807
+ };
6808
+ };
6543
6809
  };
6544
6810
  };
6545
6811
  RunsController_dispatchLoad: {
@@ -6560,6 +6826,12 @@ export interface operations {
6560
6826
  };
6561
6827
  content?: never;
6562
6828
  };
6829
+ 201: {
6830
+ headers: {
6831
+ [name: string]: unknown;
6832
+ };
6833
+ content?: never;
6834
+ };
6563
6835
  };
6564
6836
  };
6565
6837
  RunsController_completeAndUnlockNext: {
@@ -6580,6 +6852,14 @@ export interface operations {
6580
6852
  };
6581
6853
  content?: never;
6582
6854
  };
6855
+ 201: {
6856
+ headers: {
6857
+ [name: string]: unknown;
6858
+ };
6859
+ content: {
6860
+ "application/json": Record<string, never>;
6861
+ };
6862
+ };
6583
6863
  };
6584
6864
  };
6585
6865
  RunsController_unlockLoad: {
@@ -6600,6 +6880,14 @@ export interface operations {
6600
6880
  };
6601
6881
  content?: never;
6602
6882
  };
6883
+ 201: {
6884
+ headers: {
6885
+ [name: string]: unknown;
6886
+ };
6887
+ content: {
6888
+ "application/json": Record<string, never>;
6889
+ };
6890
+ };
6603
6891
  };
6604
6892
  };
6605
6893
  RunsController_getTrackingLink: {
@@ -6639,7 +6927,7 @@ export interface operations {
6639
6927
  [name: string]: unknown;
6640
6928
  };
6641
6929
  content: {
6642
- "application/json": components["schemas"]["RunChargeResponseDto"][];
6930
+ "application/json": components["schemas"]["RunChargeListResponseDto"];
6643
6931
  };
6644
6932
  };
6645
6933
  };
@@ -6752,6 +7040,12 @@ export interface operations {
6752
7040
  };
6753
7041
  content?: never;
6754
7042
  };
7043
+ 201: {
7044
+ headers: {
7045
+ [name: string]: unknown;
7046
+ };
7047
+ content?: never;
7048
+ };
6755
7049
  };
6756
7050
  };
6757
7051
  DocumentsController_getUploadUrl: {
@@ -6772,6 +7066,12 @@ export interface operations {
6772
7066
  "application/json": components["schemas"]["UploadUrlResponseDto"];
6773
7067
  };
6774
7068
  };
7069
+ 201: {
7070
+ headers: {
7071
+ [name: string]: unknown;
7072
+ };
7073
+ content?: never;
7074
+ };
6775
7075
  };
6776
7076
  };
6777
7077
  DocumentsController_uploadFile: {
@@ -7229,6 +7529,12 @@ export interface operations {
7229
7529
  };
7230
7530
  content?: never;
7231
7531
  };
7532
+ 201: {
7533
+ headers: {
7534
+ [name: string]: unknown;
7535
+ };
7536
+ content?: never;
7537
+ };
7232
7538
  };
7233
7539
  };
7234
7540
  CompanyDocumentsController_uploadDocument: {
@@ -7286,6 +7592,12 @@ export interface operations {
7286
7592
  };
7287
7593
  content?: never;
7288
7594
  };
7595
+ 201: {
7596
+ headers: {
7597
+ [name: string]: unknown;
7598
+ };
7599
+ content?: never;
7600
+ };
7289
7601
  };
7290
7602
  };
7291
7603
  CompanyDocumentsController_findAll: {
@@ -7307,7 +7619,7 @@ export interface operations {
7307
7619
  [name: string]: unknown;
7308
7620
  };
7309
7621
  content: {
7310
- "application/json": components["schemas"]["CompanyDocumentResponseDto"][];
7622
+ "application/json": components["schemas"]["CompanyDocumentListResponseDto"];
7311
7623
  };
7312
7624
  };
7313
7625
  };
@@ -7519,6 +7831,14 @@ export interface operations {
7519
7831
  };
7520
7832
  content?: never;
7521
7833
  };
7834
+ 201: {
7835
+ headers: {
7836
+ [name: string]: unknown;
7837
+ };
7838
+ content: {
7839
+ "application/json": Record<string, never>;
7840
+ };
7841
+ };
7522
7842
  /** @description Driver not found */
7523
7843
  404: {
7524
7844
  headers: {
@@ -7550,6 +7870,12 @@ export interface operations {
7550
7870
  };
7551
7871
  content?: never;
7552
7872
  };
7873
+ 201: {
7874
+ headers: {
7875
+ [name: string]: unknown;
7876
+ };
7877
+ content?: never;
7878
+ };
7553
7879
  /** @description Driver not found */
7554
7880
  404: {
7555
7881
  headers: {
@@ -7644,7 +7970,7 @@ export interface operations {
7644
7970
  [name: string]: unknown;
7645
7971
  };
7646
7972
  content: {
7647
- "application/json": components["schemas"]["MagicLinkResponseDto"][];
7973
+ "application/json": components["schemas"]["MagicLinkListResponseDto"];
7648
7974
  };
7649
7975
  };
7650
7976
  };
@@ -7788,6 +8114,14 @@ export interface operations {
7788
8114
  };
7789
8115
  content?: never;
7790
8116
  };
8117
+ 201: {
8118
+ headers: {
8119
+ [name: string]: unknown;
8120
+ };
8121
+ content: {
8122
+ "application/json": Record<string, never>;
8123
+ };
8124
+ };
7791
8125
  };
7792
8126
  };
7793
8127
  TrucksController_unassign: {
@@ -7808,6 +8142,14 @@ export interface operations {
7808
8142
  };
7809
8143
  content?: never;
7810
8144
  };
8145
+ 201: {
8146
+ headers: {
8147
+ [name: string]: unknown;
8148
+ };
8149
+ content: {
8150
+ "application/json": Record<string, never>;
8151
+ };
8152
+ };
7811
8153
  };
7812
8154
  };
7813
8155
  TrailersController_findAll: {
@@ -7950,6 +8292,14 @@ export interface operations {
7950
8292
  };
7951
8293
  content?: never;
7952
8294
  };
8295
+ 201: {
8296
+ headers: {
8297
+ [name: string]: unknown;
8298
+ };
8299
+ content: {
8300
+ "application/json": Record<string, never>;
8301
+ };
8302
+ };
7953
8303
  };
7954
8304
  };
7955
8305
  TrailersController_unassign: {
@@ -7970,6 +8320,14 @@ export interface operations {
7970
8320
  };
7971
8321
  content?: never;
7972
8322
  };
8323
+ 201: {
8324
+ headers: {
8325
+ [name: string]: unknown;
8326
+ };
8327
+ content: {
8328
+ "application/json": Record<string, never>;
8329
+ };
8330
+ };
7973
8331
  };
7974
8332
  };
7975
8333
  TelegramController_getCurrentRun: {
@@ -8061,6 +8419,12 @@ export interface operations {
8061
8419
  };
8062
8420
  content?: never;
8063
8421
  };
8422
+ 201: {
8423
+ headers: {
8424
+ [name: string]: unknown;
8425
+ };
8426
+ content?: never;
8427
+ };
8064
8428
  };
8065
8429
  };
8066
8430
  TelegramController_sendRunInvite: {
@@ -8079,6 +8443,12 @@ export interface operations {
8079
8443
  };
8080
8444
  content?: never;
8081
8445
  };
8446
+ 201: {
8447
+ headers: {
8448
+ [name: string]: unknown;
8449
+ };
8450
+ content?: never;
8451
+ };
8082
8452
  };
8083
8453
  };
8084
8454
  TelegramController_sendDriverInvite: {
@@ -8097,6 +8467,14 @@ export interface operations {
8097
8467
  };
8098
8468
  content?: never;
8099
8469
  };
8470
+ 201: {
8471
+ headers: {
8472
+ [name: string]: unknown;
8473
+ };
8474
+ content: {
8475
+ "application/json": Record<string, never>;
8476
+ };
8477
+ };
8100
8478
  };
8101
8479
  };
8102
8480
  TelegramController_getBotInfo: {
@@ -8161,7 +8539,7 @@ export interface operations {
8161
8539
  [name: string]: unknown;
8162
8540
  };
8163
8541
  content: {
8164
- "application/json": components["schemas"]["AssignedRunSummaryResponseDto"][];
8542
+ "application/json": components["schemas"]["AssignedRunListResponseDto"];
8165
8543
  };
8166
8544
  };
8167
8545
  };
@@ -8206,7 +8584,7 @@ export interface operations {
8206
8584
  [name: string]: unknown;
8207
8585
  };
8208
8586
  content: {
8209
- "application/json": components["schemas"]["DriverResponseDto"][];
8587
+ "application/json": components["schemas"]["DriverListResponseDto"];
8210
8588
  };
8211
8589
  };
8212
8590
  };
@@ -8307,6 +8685,12 @@ export interface operations {
8307
8685
  };
8308
8686
  content?: never;
8309
8687
  };
8688
+ 201: {
8689
+ headers: {
8690
+ [name: string]: unknown;
8691
+ };
8692
+ content?: never;
8693
+ };
8310
8694
  };
8311
8695
  };
8312
8696
  DriversAdminController_getDispatcherHistory: {
@@ -8326,7 +8710,7 @@ export interface operations {
8326
8710
  [name: string]: unknown;
8327
8711
  };
8328
8712
  content: {
8329
- "application/json": components["schemas"]["DispatcherAssignmentHistoryResponseDto"][];
8713
+ "application/json": components["schemas"]["DispatcherAssignmentHistoryListResponseDto"];
8330
8714
  };
8331
8715
  };
8332
8716
  };
@@ -8353,6 +8737,12 @@ export interface operations {
8353
8737
  };
8354
8738
  content?: never;
8355
8739
  };
8740
+ 201: {
8741
+ headers: {
8742
+ [name: string]: unknown;
8743
+ };
8744
+ content?: never;
8745
+ };
8356
8746
  };
8357
8747
  };
8358
8748
  DriversAdminController_unlinkTeamDriver: {
@@ -8390,7 +8780,7 @@ export interface operations {
8390
8780
  [name: string]: unknown;
8391
8781
  };
8392
8782
  content: {
8393
- "application/json": components["schemas"]["ComplianceWarningResponseDto"][];
8783
+ "application/json": components["schemas"]["ComplianceWarningListResponseDto"];
8394
8784
  };
8395
8785
  };
8396
8786
  };
@@ -8415,7 +8805,7 @@ export interface operations {
8415
8805
  [name: string]: unknown;
8416
8806
  };
8417
8807
  content: {
8418
- "application/json": components["schemas"]["AssignedRunSummaryResponseDto"][];
8808
+ "application/json": components["schemas"]["AssignedRunListResponseDto"];
8419
8809
  };
8420
8810
  };
8421
8811
  };
@@ -8462,7 +8852,7 @@ export interface operations {
8462
8852
  [name: string]: unknown;
8463
8853
  };
8464
8854
  content: {
8465
- "application/json": components["schemas"]["DriverLocationResponseDto"][];
8855
+ "application/json": components["schemas"]["DriverLocationHistoryResponseDto"];
8466
8856
  };
8467
8857
  };
8468
8858
  };
@@ -8480,11 +8870,14 @@ export interface operations {
8480
8870
  };
8481
8871
  };
8482
8872
  responses: {
8873
+ /** @description AI response with optional tool calls */
8483
8874
  200: {
8484
8875
  headers: {
8485
8876
  [name: string]: unknown;
8486
8877
  };
8487
- content?: never;
8878
+ content: {
8879
+ "application/json": components["schemas"]["ChatResponseDto"];
8880
+ };
8488
8881
  };
8489
8882
  };
8490
8883
  };
@@ -8501,11 +8894,14 @@ export interface operations {
8501
8894
  };
8502
8895
  };
8503
8896
  responses: {
8897
+ /** @description Document analysis result */
8504
8898
  200: {
8505
8899
  headers: {
8506
8900
  [name: string]: unknown;
8507
8901
  };
8508
- content?: never;
8902
+ content: {
8903
+ "application/json": components["schemas"]["AnalyzeDocumentResponseDto"];
8904
+ };
8509
8905
  };
8510
8906
  };
8511
8907
  };
@@ -8518,11 +8914,14 @@ export interface operations {
8518
8914
  };
8519
8915
  requestBody?: never;
8520
8916
  responses: {
8917
+ /** @description Daily check results */
8521
8918
  200: {
8522
8919
  headers: {
8523
8920
  [name: string]: unknown;
8524
8921
  };
8525
- content?: never;
8922
+ content: {
8923
+ "application/json": components["schemas"]["DailyCheckResponseDto"];
8924
+ };
8526
8925
  };
8527
8926
  };
8528
8927
  };
@@ -8535,11 +8934,14 @@ export interface operations {
8535
8934
  };
8536
8935
  requestBody?: never;
8537
8936
  responses: {
8937
+ /** @description Chat history */
8538
8938
  200: {
8539
8939
  headers: {
8540
8940
  [name: string]: unknown;
8541
8941
  };
8542
- content?: never;
8942
+ content: {
8943
+ "application/json": components["schemas"]["ChatHistoryResponseDto"];
8944
+ };
8543
8945
  };
8544
8946
  };
8545
8947
  };
@@ -8790,6 +9192,12 @@ export interface operations {
8790
9192
  };
8791
9193
  content?: never;
8792
9194
  };
9195
+ 201: {
9196
+ headers: {
9197
+ [name: string]: unknown;
9198
+ };
9199
+ content?: never;
9200
+ };
8793
9201
  };
8794
9202
  };
8795
9203
  StatementsController_findAll: {
@@ -8880,7 +9288,7 @@ export interface operations {
8880
9288
  [name: string]: unknown;
8881
9289
  };
8882
9290
  content: {
8883
- "application/json": components["schemas"]["StatementResponseDto"][];
9291
+ "application/json": components["schemas"]["StatementListResponseDto"];
8884
9292
  };
8885
9293
  };
8886
9294
  };
@@ -9031,6 +9439,14 @@ export interface operations {
9031
9439
  };
9032
9440
  content?: never;
9033
9441
  };
9442
+ 201: {
9443
+ headers: {
9444
+ [name: string]: unknown;
9445
+ };
9446
+ content: {
9447
+ "application/json": Record<string, never>;
9448
+ };
9449
+ };
9034
9450
  };
9035
9451
  };
9036
9452
  StatementsController_markPaid: {
@@ -9051,6 +9467,14 @@ export interface operations {
9051
9467
  };
9052
9468
  content?: never;
9053
9469
  };
9470
+ 201: {
9471
+ headers: {
9472
+ [name: string]: unknown;
9473
+ };
9474
+ content: {
9475
+ "application/json": Record<string, never>;
9476
+ };
9477
+ };
9054
9478
  };
9055
9479
  };
9056
9480
  ReferralsController_findAll: {
@@ -9132,7 +9556,7 @@ export interface operations {
9132
9556
  [name: string]: unknown;
9133
9557
  };
9134
9558
  content: {
9135
- "application/json": components["schemas"]["ReferralResponseDto"][];
9559
+ "application/json": components["schemas"]["ReferralListResponseDto"];
9136
9560
  };
9137
9561
  };
9138
9562
  };
@@ -9272,6 +9696,12 @@ export interface operations {
9272
9696
  "application/json": components["schemas"]["UserSignatureResponseDto"];
9273
9697
  };
9274
9698
  };
9699
+ 201: {
9700
+ headers: {
9701
+ [name: string]: unknown;
9702
+ };
9703
+ content?: never;
9704
+ };
9275
9705
  };
9276
9706
  };
9277
9707
  SignaturesController_deleteSignature: {
@@ -9470,6 +9900,14 @@ export interface operations {
9470
9900
  "application/json": components["schemas"]["ExpenseResponseDto"];
9471
9901
  };
9472
9902
  };
9903
+ 201: {
9904
+ headers: {
9905
+ [name: string]: unknown;
9906
+ };
9907
+ content: {
9908
+ "application/json": Record<string, never>;
9909
+ };
9910
+ };
9473
9911
  };
9474
9912
  };
9475
9913
  ExpensesController_approve: {
@@ -9491,6 +9929,12 @@ export interface operations {
9491
9929
  "application/json": components["schemas"]["ExpenseResponseDto"];
9492
9930
  };
9493
9931
  };
9932
+ 201: {
9933
+ headers: {
9934
+ [name: string]: unknown;
9935
+ };
9936
+ content?: never;
9937
+ };
9494
9938
  };
9495
9939
  };
9496
9940
  ExpensesController_reject: {
@@ -9516,6 +9960,12 @@ export interface operations {
9516
9960
  "application/json": components["schemas"]["ExpenseResponseDto"];
9517
9961
  };
9518
9962
  };
9963
+ 201: {
9964
+ headers: {
9965
+ [name: string]: unknown;
9966
+ };
9967
+ content?: never;
9968
+ };
9519
9969
  };
9520
9970
  };
9521
9971
  ClientEmailController_findAll: {
@@ -9646,6 +10096,12 @@ export interface operations {
9646
10096
  };
9647
10097
  content?: never;
9648
10098
  };
10099
+ 201: {
10100
+ headers: {
10101
+ [name: string]: unknown;
10102
+ };
10103
+ content?: never;
10104
+ };
9649
10105
  };
9650
10106
  };
9651
10107
  InboundEmailController_findAll: {
@@ -9785,6 +10241,12 @@ export interface operations {
9785
10241
  "application/json": components["schemas"]["SignDocumentResultDto"];
9786
10242
  };
9787
10243
  };
10244
+ 201: {
10245
+ headers: {
10246
+ [name: string]: unknown;
10247
+ };
10248
+ content?: never;
10249
+ };
9788
10250
  /** @description Document already signed or link expired */
9789
10251
  400: {
9790
10252
  headers: {
@@ -9826,7 +10288,9 @@ export interface operations {
9826
10288
  headers: {
9827
10289
  [name: string]: unknown;
9828
10290
  };
9829
- content?: never;
10291
+ content: {
10292
+ "application/json": Record<string, never>;
10293
+ };
9830
10294
  };
9831
10295
  };
9832
10296
  };