@ikonintegration/module-contractor-api 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/Api.ts +342 -535
  2. package/package.json +1 -1
package/Api.ts CHANGED
@@ -17,15 +17,9 @@ export interface ErrorResponse {
17
17
  errCode: string
18
18
  }
19
19
 
20
- export interface InputGynn8Jgtxw {
21
- /**
22
- * Unique code identifier (1-50 alphanumeric characters)
23
- * @minLength 1
24
- * @maxLength 50
25
- * @pattern ^[a-zA-Z0-9]+$
26
- * @example "ACC001"
27
- */
28
- codeID: string
20
+ export interface CreateCodeSchema {
21
+ /** Unique code identifier (1-50 alphanumeric characters) */
22
+ codeID: CodeIDSchema
29
23
  /**
30
24
  * ID of the department this code belongs to
31
25
  * @minLength 1
@@ -41,8 +35,17 @@ export interface InputGynn8Jgtxw {
41
35
  description: string
42
36
  }
43
37
 
38
+ /**
39
+ * Unique code identifier (1-50 alphanumeric characters)
40
+ * @minLength 1
41
+ * @maxLength 50
42
+ * @pattern ^[a-zA-Z0-9]+$
43
+ * @example "ACC001"
44
+ */
45
+ export type CodeIDSchema = string
46
+
44
47
  /** Created code */
45
- export interface OutputGynn8Jgtxw {
48
+ export interface PostCodeResponseSchema {
46
49
  /** Code identifier */
47
50
  codeID: string
48
51
  /** Associated department ID */
@@ -51,7 +54,7 @@ export interface OutputGynn8Jgtxw {
51
54
  description: string
52
55
  }
53
56
 
54
- export interface Input3590Q4Zdmw {
57
+ export interface UpdateCodeSchema {
55
58
  /**
56
59
  * Updated description of the code (1-255 characters)
57
60
  * @minLength 1
@@ -62,7 +65,7 @@ export interface Input3590Q4Zdmw {
62
65
  }
63
66
 
64
67
  /** Updated code */
65
- export interface Output3590Q4Zdmw {
68
+ export interface PutCodeResponseSchema {
66
69
  /** Code identifier */
67
70
  codeID: string
68
71
  /** Associated department ID */
@@ -72,15 +75,15 @@ export interface Output3590Q4Zdmw {
72
75
  }
73
76
 
74
77
  /** Code deletion result (empty body) */
75
- export type OutputS9Pocnfagag = object
78
+ export type DeleteCodeResponseSchema = object
76
79
 
77
80
  /** Codes list */
78
- export interface OutputFxs28Ujjsv {
81
+ export interface GetCodesResponseSchema {
79
82
  /** List of codes */
80
83
  codes: any[]
81
84
  }
82
85
 
83
- export interface InputQ0Tsseay5C {
86
+ export interface CreateContractorSchema {
84
87
  /**
85
88
  * Full name of the contractor
86
89
  * @minLength 1
@@ -102,25 +105,27 @@ export interface InputQ0Tsseay5C {
102
105
  * List of hourly job rates (at least one required)
103
106
  * @minItems 1
104
107
  */
105
- jobRates: {
106
- /**
107
- * Description of the job rate
108
- * @minLength 1
109
- * @example "Senior Instructor"
110
- */
111
- description: string
112
- /**
113
- * Hourly rate value in dollars (must be greater than zero)
114
- * @min 0
115
- * @exclusiveMin true
116
- * @example 75
117
- */
118
- hourlyValue: number
119
- }[]
108
+ jobRates: JobRateSchema[]
109
+ }
110
+
111
+ export interface JobRateSchema {
112
+ /**
113
+ * Description of the job rate
114
+ * @minLength 1
115
+ * @example "Senior Instructor"
116
+ */
117
+ description: string
118
+ /**
119
+ * Hourly rate value in dollars (must be greater than zero)
120
+ * @min 0
121
+ * @exclusiveMin true
122
+ * @example 75
123
+ */
124
+ hourlyValue: number
120
125
  }
121
126
 
122
127
  /** Created contractor */
123
- export interface OutputQ0Tsseay5C {
128
+ export interface PostContractorResponseSchema {
124
129
  /** Created contractor user ID */
125
130
  userID: string
126
131
  /** Contractor name */
@@ -130,7 +135,7 @@ export interface OutputQ0Tsseay5C {
130
135
  }
131
136
 
132
137
  /** Contractor profile */
133
- export interface OutputDh866S8A4I {
138
+ export interface GetContractorResponseSchema {
134
139
  /** Contractor user ID */
135
140
  userID: string
136
141
  /** Contractor name */
@@ -145,7 +150,7 @@ export interface OutputDh866S8A4I {
145
150
  effectiveRates?: Record<string, number>
146
151
  }
147
152
 
148
- export interface InputDpy5Xartkx {
153
+ export interface UpdateContractorRatesSchema {
149
154
  /**
150
155
  * Maximum nightly accommodation amount (positive, up to two decimal places)
151
156
  * @min 0
@@ -184,7 +189,7 @@ export interface InputDpy5Xartkx {
184
189
  }
185
190
 
186
191
  /** Updated contractor rates */
187
- export interface OutputDpy5Xartkx {
192
+ export interface PutContractorRatesResponseSchema {
188
193
  /** Contractor user ID */
189
194
  userID: string
190
195
  /** Updated rate maximums */
@@ -192,21 +197,21 @@ export interface OutputDpy5Xartkx {
192
197
  }
193
198
 
194
199
  /** Password reset result */
195
- export interface OutputZcigf6R1C3 {
200
+ export interface PostResetPasswordResponseSchema {
196
201
  /** Success message */
197
202
  message: string
198
203
  }
199
204
 
200
- export interface InputQ1P0He9Mbi {
205
+ export interface UpdateContractorStatusSchema {
201
206
  /**
202
207
  * The contractor's local status. Set to 'active' to enable or 'disabled' to disable the account.
203
208
  * @example "active"
204
209
  */
205
- status: InputQ1P0He9MbiStatusEnum
210
+ status: UpdateContractorStatusSchemaStatusEnum
206
211
  }
207
212
 
208
213
  /** Updated contractor status */
209
- export interface OutputQ1P0He9Mbi {
214
+ export interface PutContractorStatusResponseSchema {
210
215
  /** Contractor user ID */
211
216
  userID: string
212
217
  /** Updated local account status */
@@ -214,7 +219,7 @@ export interface OutputQ1P0He9Mbi {
214
219
  }
215
220
 
216
221
  /** List of contractors */
217
- export type OutputO5Emm9Qt62 = {
222
+ export type GetContractorsResponseSchema = {
218
223
  /** Contractor user ID */
219
224
  userID: string
220
225
  /** Contractor name */
@@ -225,7 +230,7 @@ export type OutputO5Emm9Qt62 = {
225
230
  localStatus?: string
226
231
  }[]
227
232
 
228
- export interface InputHykveqk83F {
233
+ export interface CreateDepartmentSchema {
229
234
  /**
230
235
  * Name of the department (1-150 characters)
231
236
  * @minLength 1
@@ -243,7 +248,7 @@ export interface InputHykveqk83F {
243
248
  }
244
249
 
245
250
  /** Created department */
246
- export interface OutputHykveqk83F {
251
+ export interface PostDepartmentResponseSchema {
247
252
  /** Created department ID */
248
253
  departmentID: string
249
254
  /** Department name */
@@ -252,7 +257,7 @@ export interface OutputHykveqk83F {
252
257
  contactEmails: string[]
253
258
  }
254
259
 
255
- export interface InputMpn62Brs14 {
260
+ export interface UpdateDepartmentSchema {
256
261
  /**
257
262
  * Updated name of the department (1-150 characters)
258
263
  * @minLength 1
@@ -270,7 +275,7 @@ export interface InputMpn62Brs14 {
270
275
  }
271
276
 
272
277
  /** Updated department */
273
- export interface OutputMpn62Brs14 {
278
+ export interface PutDepartmentResponseSchema {
274
279
  /** Department ID */
275
280
  departmentID: string
276
281
  /** Department name */
@@ -282,14 +287,14 @@ export interface OutputMpn62Brs14 {
282
287
  }
283
288
 
284
289
  /** Department deletion result */
285
- export interface OutputFuexxf2Pd6 {
290
+ export interface DeleteDepartmentResponseSchema {
286
291
  /** Deleted department ID */
287
292
  departmentID: string
288
293
  /** Deletion confirmation */
289
- deleted: OutputFuexxf2Pd6DeletedEnum
294
+ deleted: DeleteDepartmentResponseSchemaDeletedEnum
290
295
  }
291
296
 
292
- export interface Input6G7Aexaiyj {
297
+ export interface AssociateAdminSchema {
293
298
  /**
294
299
  * The user ID of the administrator to associate with the department
295
300
  * @minLength 1
@@ -299,7 +304,7 @@ export interface Input6G7Aexaiyj {
299
304
  }
300
305
 
301
306
  /** Admin association result */
302
- export interface Output6G7Aexaiyj {
307
+ export interface PostDepartmentAdminResponseSchema {
303
308
  /** Department ID */
304
309
  departmentID: string
305
310
  /** Associated administrator user ID */
@@ -309,17 +314,17 @@ export interface Output6G7Aexaiyj {
309
314
  }
310
315
 
311
316
  /** Admin removal result */
312
- export interface Output5Czs78Rujz {
317
+ export interface DeleteDepartmentAdminResponseSchema {
313
318
  /** Department ID */
314
319
  departmentID: string
315
320
  /** Removed administrator user ID */
316
321
  userID: string
317
322
  /** Removal confirmation */
318
- removed: Output5Czs78RujzRemovedEnum
323
+ removed: DeleteDepartmentAdminResponseSchemaRemovedEnum
319
324
  }
320
325
 
321
326
  /** List of departments (public fields) */
322
- export type OutputCim5Cavqxg = {
327
+ export type GetDepartmentsResponseSchema = {
323
328
  /** Department unique identifier */
324
329
  departmentID: string
325
330
  /** Department name */
@@ -327,7 +332,7 @@ export type OutputCim5Cavqxg = {
327
332
  }[]
328
333
 
329
334
  /** System settings */
330
- export interface Output4Ewmjwz6Tf {
335
+ export interface GetSettingsResponseSchema {
331
336
  /** System-wide mileage rate per kilometre */
332
337
  mileageRate: number
333
338
  /** Accommodation nightly maximum */
@@ -346,7 +351,7 @@ export interface Output4Ewmjwz6Tf {
346
351
  rsaDepartmentID?: string
347
352
  }
348
353
 
349
- export interface InputVy76Ep3Yt9 {
354
+ export interface UpdateRatesSchema {
350
355
  /**
351
356
  * Mileage rate in dollars per kilometre (positive, up to two decimal places)
352
357
  * @min 0
@@ -357,12 +362,12 @@ export interface InputVy76Ep3Yt9 {
357
362
  }
358
363
 
359
364
  /** Updated mileage rate */
360
- export interface OutputVy76Ep3Yt9 {
365
+ export interface PutSettingsRatesResponseSchema {
361
366
  /** Updated mileage rate */
362
367
  mileageRate: number
363
368
  }
364
369
 
365
- export interface InputBqpsmt6Mzvk {
370
+ export interface UpdateMaximumsSchema {
366
371
  /**
367
372
  * Maximum nightly accommodation amount (positive, up to two decimal places)
368
373
  * @min 0
@@ -401,7 +406,7 @@ export interface InputBqpsmt6Mzvk {
401
406
  }
402
407
 
403
408
  /** Updated expense maximums */
404
- export interface OutputBqpsmt6Mzvk {
409
+ export interface PutSettingsMaximumsResponseSchema {
405
410
  /** Accommodation nightly maximum */
406
411
  accommodationNightly: number
407
412
  /** Breakfast meal maximum */
@@ -414,7 +419,7 @@ export interface OutputBqpsmt6Mzvk {
414
419
  transportationMax: number
415
420
  }
416
421
 
417
- export interface Input7Hdngoq8Gu {
422
+ export interface UpdateRemindersSchema {
418
423
  /**
419
424
  * Number of days between reminder emails (positive integer)
420
425
  * @min 0
@@ -425,13 +430,13 @@ export interface Input7Hdngoq8Gu {
425
430
  }
426
431
 
427
432
  /** Updated reminder interval */
428
- export interface Output7Hdngoq8Gu {
433
+ export interface PutSettingsRemindersResponseSchema {
429
434
  /** Updated reminder interval in days */
430
435
  reminderIntervalDays: number
431
436
  }
432
437
 
433
438
  /** Create a new draft submission */
434
- export interface InputMvlou4Qbkk {
439
+ export interface CreateSubmissionSchema {
435
440
  /**
436
441
  * Department ID
437
442
  * @minLength 1
@@ -453,7 +458,7 @@ export interface InputMvlou4Qbkk {
453
458
  * Submission type
454
459
  * @example "Submission"
455
460
  */
456
- type: InputMvlou4QbkkTypeEnum
461
+ type: CreateSubmissionSchemaTypeEnum
457
462
  /**
458
463
  * Invoice number or "N/A"
459
464
  * @minLength 1
@@ -475,165 +480,145 @@ export interface InputMvlou4Qbkk {
475
480
  * Service invoice line items
476
481
  * @default []
477
482
  */
478
- invoices?: {
479
- /**
480
- * Invoice description
481
- * @minLength 1
482
- * @example "Consulting services"
483
- */
484
- description: string
485
- /**
486
- * Time worked in hours
487
- * @min 0
488
- * @exclusiveMin true
489
- * @example 8
490
- */
491
- timeInHours: number
492
- /**
493
- * Hourly rate from contractor profile
494
- * @min 0
495
- * @exclusiveMin true
496
- * @example 75
497
- */
498
- hourlyRate: number
499
- /**
500
- * Tax amount
501
- * @min 0
502
- * @default 0
503
- * @example 30
504
- */
505
- taxAmount?: number
506
- /**
507
- * PO number for this invoice
508
- * @example "PO-1234"
509
- */
510
- poNumber?: string
511
- /**
512
- * File attachments for this invoice
513
- * @default []
514
- */
515
- attachments?: {
516
- /**
517
- * Unique file identifier
518
- * @example "file-abc123"
519
- */
520
- fileID: string
521
- /**
522
- * Original file name
523
- * @example "invoice.pdf"
524
- */
525
- fileName: string
526
- /**
527
- * MIME content type
528
- * @example "application/pdf"
529
- */
530
- contentType: string
531
- /**
532
- * File size in bytes
533
- * @example 102400
534
- */
535
- size: number
536
- /**
537
- * Upload timestamp (epoch ms)
538
- * @example 1700000000000
539
- */
540
- uploadedOn: number
541
- }[]
542
- }[]
483
+ invoices?: InvoiceInputSchema[]
543
484
  /**
544
485
  * Expense reimbursement line items
545
486
  * @default []
546
487
  */
547
- expenses?: {
548
- /**
549
- * Expense description
550
- * @minLength 1
551
- * @example "Hotel stay"
552
- */
553
- description: string
554
- /**
555
- * Expense date (epoch ms)
556
- * @example 1700000000000
557
- */
558
- date: number
559
- /**
560
- * Expense type
561
- * @example "Accommodation"
562
- */
563
- type: InputMvlou4QbkkTypeEnum1
564
- /**
565
- * Pre-tax amount
566
- * @min 0
567
- * @example 150
568
- */
569
- preTaxAmount: number
570
- /**
571
- * Tax amount
572
- * @min 0
573
- * @default 0
574
- * @example 7.5
575
- */
576
- taxAmount?: number
577
- /**
578
- * Number of nights (Accommodation)
579
- * @min 0
580
- * @exclusiveMin true
581
- * @example 2
582
- */
583
- nights?: number
584
- /**
585
- * Meal type (Meal expenses)
586
- * @example "Lunch"
587
- */
588
- mealType?: InputMvlou4QbkkMealTypeEnum
589
- /**
590
- * Number of kilometres (Mileage)
591
- * @min 0
592
- * @exclusiveMin true
593
- * @example 100
594
- */
595
- numKilometres?: number
596
- /**
597
- * Transportation type (Transportation expenses)
598
- * @example "Taxi"
599
- */
600
- transportationType?: InputMvlou4QbkkTransportationTypeEnum
601
- /**
602
- * File attachments for this expense
603
- * @default []
604
- */
605
- attachments?: {
606
- /**
607
- * Unique file identifier
608
- * @example "file-abc123"
609
- */
610
- fileID: string
611
- /**
612
- * Original file name
613
- * @example "invoice.pdf"
614
- */
615
- fileName: string
616
- /**
617
- * MIME content type
618
- * @example "application/pdf"
619
- */
620
- contentType: string
621
- /**
622
- * File size in bytes
623
- * @example 102400
624
- */
625
- size: number
626
- /**
627
- * Upload timestamp (epoch ms)
628
- * @example 1700000000000
629
- */
630
- uploadedOn: number
631
- }[]
632
- }[]
488
+ expenses?: ExpenseInputSchema[]
489
+ }
490
+
491
+ export interface InvoiceInputSchema {
492
+ /**
493
+ * Invoice description
494
+ * @minLength 1
495
+ * @example "Consulting services"
496
+ */
497
+ description: string
498
+ /**
499
+ * Time worked in hours
500
+ * @min 0
501
+ * @exclusiveMin true
502
+ * @example 8
503
+ */
504
+ timeInHours: number
505
+ /**
506
+ * Hourly rate from contractor profile
507
+ * @min 0
508
+ * @exclusiveMin true
509
+ * @example 75
510
+ */
511
+ hourlyRate: number
512
+ /**
513
+ * Tax amount
514
+ * @min 0
515
+ * @default 0
516
+ * @example 30
517
+ */
518
+ taxAmount?: number
519
+ /**
520
+ * PO number for this invoice
521
+ * @example "PO-1234"
522
+ */
523
+ poNumber?: string
524
+ /**
525
+ * File attachments for this invoice
526
+ * @default []
527
+ */
528
+ attachments?: AttachmentSchema[]
529
+ }
530
+
531
+ export interface AttachmentSchema {
532
+ /**
533
+ * Unique file identifier
534
+ * @example "file-abc123"
535
+ */
536
+ fileID: string
537
+ /**
538
+ * Original file name
539
+ * @example "invoice.pdf"
540
+ */
541
+ fileName: string
542
+ /**
543
+ * MIME content type
544
+ * @example "application/pdf"
545
+ */
546
+ contentType: string
547
+ /**
548
+ * File size in bytes
549
+ * @example 102400
550
+ */
551
+ size: number
552
+ /**
553
+ * Upload timestamp (epoch ms)
554
+ * @example 1700000000000
555
+ */
556
+ uploadedOn: number
557
+ }
558
+
559
+ export interface ExpenseInputSchema {
560
+ /**
561
+ * Expense description
562
+ * @minLength 1
563
+ * @example "Hotel stay"
564
+ */
565
+ description: string
566
+ /**
567
+ * Expense date (epoch ms)
568
+ * @example 1700000000000
569
+ */
570
+ date: number
571
+ /**
572
+ * Expense type
573
+ * @example "Accommodation"
574
+ */
575
+ type: ExpenseInputSchemaTypeEnum
576
+ /**
577
+ * Pre-tax amount
578
+ * @min 0
579
+ * @example 150
580
+ */
581
+ preTaxAmount: number
582
+ /**
583
+ * Tax amount
584
+ * @min 0
585
+ * @default 0
586
+ * @example 7.5
587
+ */
588
+ taxAmount?: number
589
+ /**
590
+ * Number of nights (Accommodation)
591
+ * @min 0
592
+ * @exclusiveMin true
593
+ * @example 2
594
+ */
595
+ nights?: number
596
+ /**
597
+ * Meal type (Meal expenses)
598
+ * @example "Lunch"
599
+ */
600
+ mealType?: ExpenseInputSchemaMealTypeEnum
601
+ /**
602
+ * Number of kilometres (Mileage)
603
+ * @min 0
604
+ * @exclusiveMin true
605
+ * @example 100
606
+ */
607
+ numKilometres?: number
608
+ /**
609
+ * Transportation type (Transportation expenses)
610
+ * @example "Taxi"
611
+ */
612
+ transportationType?: ExpenseInputSchemaTransportationTypeEnum
613
+ /**
614
+ * File attachments for this expense
615
+ * @default []
616
+ */
617
+ attachments?: AttachmentSchema[]
633
618
  }
634
619
 
635
620
  /** Created submission with calculated totals */
636
- export interface OutputMvlou4Qbkk {
621
+ export interface PostSubmissionResponseSchema {
637
622
  /** Created submission ID */
638
623
  submissionID: string
639
624
  /** Submission status */
@@ -661,7 +646,7 @@ export interface OutputMvlou4Qbkk {
661
646
  }
662
647
 
663
648
  /** Submission detail with all related entities */
664
- export interface OutputIowjm92Mcm {
649
+ export interface GetSubmissionResponseSchema {
665
650
  /** Submission record */
666
651
  submission?: any
667
652
  /** Associated invoices */
@@ -673,7 +658,7 @@ export interface OutputIowjm92Mcm {
673
658
  }
674
659
 
675
660
  /** Update an existing submission */
676
- export interface InputN254Qwnxan {
661
+ export interface UpdateSubmissionSchema {
677
662
  /**
678
663
  * Submission description
679
664
  * @minLength 1
@@ -682,7 +667,7 @@ export interface InputN254Qwnxan {
682
667
  /** Submission date (epoch ms) */
683
668
  date?: number
684
669
  /** Submission type */
685
- type?: InputN254QwnxanTypeEnum
670
+ type?: UpdateSubmissionSchemaTypeEnum
686
671
  /**
687
672
  * Invoice number or "N/A"
688
673
  * @minLength 1
@@ -701,162 +686,13 @@ export interface InputN254Qwnxan {
701
686
  */
702
687
  departmentID?: string
703
688
  /** Updated service invoice line items */
704
- invoices?: {
705
- /**
706
- * Invoice description
707
- * @minLength 1
708
- * @example "Consulting services"
709
- */
710
- description: string
711
- /**
712
- * Time worked in hours
713
- * @min 0
714
- * @exclusiveMin true
715
- * @example 8
716
- */
717
- timeInHours: number
718
- /**
719
- * Hourly rate from contractor profile
720
- * @min 0
721
- * @exclusiveMin true
722
- * @example 75
723
- */
724
- hourlyRate: number
725
- /**
726
- * Tax amount
727
- * @min 0
728
- * @default 0
729
- * @example 30
730
- */
731
- taxAmount?: number
732
- /**
733
- * PO number for this invoice
734
- * @example "PO-1234"
735
- */
736
- poNumber?: string
737
- /**
738
- * File attachments for this invoice
739
- * @default []
740
- */
741
- attachments?: {
742
- /**
743
- * Unique file identifier
744
- * @example "file-abc123"
745
- */
746
- fileID: string
747
- /**
748
- * Original file name
749
- * @example "invoice.pdf"
750
- */
751
- fileName: string
752
- /**
753
- * MIME content type
754
- * @example "application/pdf"
755
- */
756
- contentType: string
757
- /**
758
- * File size in bytes
759
- * @example 102400
760
- */
761
- size: number
762
- /**
763
- * Upload timestamp (epoch ms)
764
- * @example 1700000000000
765
- */
766
- uploadedOn: number
767
- }[]
768
- }[]
689
+ invoices?: InvoiceInputSchema[]
769
690
  /** Updated expense reimbursement line items */
770
- expenses?: {
771
- /**
772
- * Expense description
773
- * @minLength 1
774
- * @example "Hotel stay"
775
- */
776
- description: string
777
- /**
778
- * Expense date (epoch ms)
779
- * @example 1700000000000
780
- */
781
- date: number
782
- /**
783
- * Expense type
784
- * @example "Accommodation"
785
- */
786
- type: InputN254QwnxanTypeEnum1
787
- /**
788
- * Pre-tax amount
789
- * @min 0
790
- * @example 150
791
- */
792
- preTaxAmount: number
793
- /**
794
- * Tax amount
795
- * @min 0
796
- * @default 0
797
- * @example 7.5
798
- */
799
- taxAmount?: number
800
- /**
801
- * Number of nights (Accommodation)
802
- * @min 0
803
- * @exclusiveMin true
804
- * @example 2
805
- */
806
- nights?: number
807
- /**
808
- * Meal type (Meal expenses)
809
- * @example "Lunch"
810
- */
811
- mealType?: InputN254QwnxanMealTypeEnum
812
- /**
813
- * Number of kilometres (Mileage)
814
- * @min 0
815
- * @exclusiveMin true
816
- * @example 100
817
- */
818
- numKilometres?: number
819
- /**
820
- * Transportation type (Transportation expenses)
821
- * @example "Taxi"
822
- */
823
- transportationType?: InputN254QwnxanTransportationTypeEnum
824
- /**
825
- * File attachments for this expense
826
- * @default []
827
- */
828
- attachments?: {
829
- /**
830
- * Unique file identifier
831
- * @example "file-abc123"
832
- */
833
- fileID: string
834
- /**
835
- * Original file name
836
- * @example "invoice.pdf"
837
- */
838
- fileName: string
839
- /**
840
- * MIME content type
841
- * @example "application/pdf"
842
- */
843
- contentType: string
844
- /**
845
- * File size in bytes
846
- * @example 102400
847
- */
848
- size: number
849
- /**
850
- * Upload timestamp (epoch ms)
851
- * @example 1700000000000
852
- */
853
- uploadedOn: number
854
- }[]
855
- }[]
691
+ expenses?: ExpenseInputSchema[]
856
692
  }
857
693
 
858
694
  /** Updated submission */
859
- export interface OutputN254Qwnxan {
695
+ export interface PutSubmissionResponseSchema {
860
696
  /** Submission ID */
861
697
  submissionID: string
862
698
  /** Current submission status */
@@ -884,43 +720,45 @@ export interface OutputN254Qwnxan {
884
720
  }
885
721
 
886
722
  /** Submission deletion result */
887
- export interface OutputP83Ux6Yn8Gj {
723
+ export interface DeleteSubmissionResponseSchema {
888
724
  /** Deleted submission ID */
889
725
  submissionID: string
890
726
  /** Deletion confirmation */
891
- deleted: OutputP83Ux6Yn8GjDeletedEnum
727
+ deleted: DeleteSubmissionResponseSchemaDeletedEnum
892
728
  }
893
729
 
894
730
  /** Approval result */
895
- export interface OutputBlbhgjd039 {
731
+ export interface PostApproveResponseSchema {
896
732
  /** Submission ID */
897
733
  submissionID: string
898
734
  /** New submission status after approval */
899
735
  status: string
900
736
  }
901
737
 
902
- export interface Input69356Dh72I {
738
+ export interface PutSubmissionCodesSchema {
903
739
  /** Array of codes to assign to the submission sections */
904
- codes: {
905
- /** The section to assign the code to */
906
- section: Input69356Dh72ISectionEnum
907
- /**
908
- * The code ID to assign
909
- * @minLength 1
910
- * @example "CODE-abc123"
911
- */
912
- codeID: string
913
- /**
914
- * Optional note for this code assignment (max 500 chars)
915
- * @maxLength 500
916
- * @example "Consulting fees"
917
- */
918
- note?: string
919
- }[]
740
+ codes: SubmissionCodeItemSchema[]
741
+ }
742
+
743
+ export interface SubmissionCodeItemSchema {
744
+ /** The section to assign the code to */
745
+ section: SubmissionCodeItemSchemaSectionEnum
746
+ /**
747
+ * The code ID to assign
748
+ * @minLength 1
749
+ * @example "CODE-abc123"
750
+ */
751
+ codeID: string
752
+ /**
753
+ * Optional note for this code assignment (max 500 chars)
754
+ * @maxLength 500
755
+ * @example "Consulting fees"
756
+ */
757
+ note?: string
920
758
  }
921
759
 
922
760
  /** Code assignment result */
923
- export interface Output69356Dh72I {
761
+ export interface PutSubmissionCodesResponseSchema {
924
762
  /** Submission ID */
925
763
  submissionID: string
926
764
  /** Assigned codes */
@@ -935,7 +773,7 @@ export interface Output69356Dh72I {
935
773
  }
936
774
 
937
775
  /** Request a presigned upload URL for a file attachment */
938
- export interface InputBz6Upt6Fli {
776
+ export interface FileUploadRequestSchema {
939
777
  /**
940
778
  * ID of the invoice or expense line item
941
779
  * @minLength 1
@@ -964,7 +802,7 @@ export interface InputBz6Upt6Fli {
964
802
  }
965
803
 
966
804
  /** File upload presigned URL */
967
- export interface OutputBz6Upt6Fli {
805
+ export interface PostFileResponseSchema {
968
806
  /** Presigned upload URL */
969
807
  url: string
970
808
  /** Generated file ID */
@@ -978,7 +816,7 @@ export interface OutputBz6Upt6Fli {
978
816
  }
979
817
 
980
818
  /** File download presigned URL */
981
- export interface OutputFp9J2Xivwy {
819
+ export interface GetFileResponseSchema {
982
820
  /** Presigned download URL */
983
821
  url: string
984
822
  /** File ID */
@@ -986,7 +824,7 @@ export interface OutputFp9J2Xivwy {
986
824
  }
987
825
 
988
826
  /** Mark paid result */
989
- export interface OutputFepki4Wjag {
827
+ export interface PostPaidResponseSchema {
990
828
  /** Submission ID */
991
829
  submissionID: string
992
830
  /** New submission status (Paid) */
@@ -994,16 +832,16 @@ export interface OutputFepki4Wjag {
994
832
  }
995
833
 
996
834
  /** Generated PDF */
997
- export interface OutputLmaw6Scj7Kh {
835
+ export interface GetPDFResponseSchema {
998
836
  /** Base64-encoded PDF content */
999
837
  pdf: string
1000
838
  /** Content type */
1001
- contentType: OutputLmaw6Scj7KhContentTypeEnum
839
+ contentType: GetPdfResponseSchemaContentTypeEnum
1002
840
  /** Suggested file name */
1003
841
  fileName: string
1004
842
  }
1005
843
 
1006
- export interface InputPzb8Fk9Khdf {
844
+ export interface UpdatePOSchema {
1007
845
  /**
1008
846
  * PO number to set on the submission
1009
847
  * @example "PO-5678"
@@ -1012,14 +850,14 @@ export interface InputPzb8Fk9Khdf {
1012
850
  }
1013
851
 
1014
852
  /** PO number update result */
1015
- export interface OutputPzb8Fk9Khdf {
853
+ export interface PutPOResponseSchema {
1016
854
  /** Submission ID */
1017
855
  submissionID: string
1018
856
  /** Updated PO number */
1019
857
  poNumber: string
1020
858
  }
1021
859
 
1022
- export interface InputYi385Vsix8 {
860
+ export interface ReassignSubmissionSchema {
1023
861
  /**
1024
862
  * The ID of the new department to reassign to
1025
863
  * @minLength 1
@@ -1029,17 +867,17 @@ export interface InputYi385Vsix8 {
1029
867
  }
1030
868
 
1031
869
  /** Reassignment result */
1032
- export interface OutputYi385Vsix8 {
870
+ export interface PostReassignResponseSchema {
1033
871
  /** Submission ID */
1034
872
  submissionID: string
1035
873
  /** New department ID */
1036
874
  departmentID: string
1037
875
  /** Reassignment confirmation */
1038
- reassigned: OutputYi385Vsix8ReassignedEnum
876
+ reassigned: PostReassignResponseSchemaReassignedEnum
1039
877
  }
1040
878
 
1041
879
  /** Rejection result */
1042
- export interface OutputOnr3Mpawrg {
880
+ export interface PostRejectResponseSchema {
1043
881
  /** Submission ID */
1044
882
  submissionID: string
1045
883
  /** New submission status after rejection */
@@ -1047,14 +885,14 @@ export interface OutputOnr3Mpawrg {
1047
885
  }
1048
886
 
1049
887
  /** Submission status transition result */
1050
- export interface OutputXak33X8F96 {
888
+ export interface PostSubmitResponseSchema {
1051
889
  /** Submission ID */
1052
890
  submissionID: string
1053
891
  /** New submission status */
1054
892
  status: string
1055
893
  }
1056
894
 
1057
- export interface InputV7Jo8Royz6 {
895
+ export interface GuestSubmissionRequestSchema {
1058
896
  /**
1059
897
  * Google reCAPTCHA verification token
1060
898
  * @example "03AGdBq26..."
@@ -1110,38 +948,41 @@ export interface InputV7Jo8Royz6 {
1110
948
  */
1111
949
  taxAmount?: number
1112
950
  /** Single PDF attachment (max 1 MB). Optional — if omitted, the frontend should upload the file separately via POST /submission/{submissionID}/file after submission creation. */
1113
- attachment?: {
1114
- /**
1115
- * Unique file identifier
1116
- * @example "file-abc123"
1117
- */
1118
- fileID: string
1119
- /**
1120
- * Original file name
1121
- * @example "invoice.pdf"
1122
- */
1123
- fileName: string
1124
- /**
1125
- * Content type (must be application/pdf for guest)
1126
- * @example "application/pdf"
1127
- */
1128
- contentType: InputV7Jo8Royz6ContentTypeEnum
1129
- /**
1130
- * File size in bytes (max 1 MB)
1131
- * @max 1048576
1132
- * @example 51200
1133
- */
1134
- size: number
1135
- /**
1136
- * Upload timestamp
1137
- * @example 1700000000000
1138
- */
1139
- uploadedOn: number
1140
- }
951
+ attachment?: GuestAttachmentSchema
952
+ }
953
+
954
+ /** Single PDF attachment (max 1 MB). Optional — if omitted, the frontend should upload the file separately via POST /submission/{submissionID}/file after submission creation. */
955
+ export interface GuestAttachmentSchema {
956
+ /**
957
+ * Unique file identifier
958
+ * @example "file-abc123"
959
+ */
960
+ fileID: string
961
+ /**
962
+ * Original file name
963
+ * @example "invoice.pdf"
964
+ */
965
+ fileName: string
966
+ /**
967
+ * Content type (must be application/pdf for guest)
968
+ * @example "application/pdf"
969
+ */
970
+ contentType: GuestAttachmentSchemaContentTypeEnum
971
+ /**
972
+ * File size in bytes (max 1 MB)
973
+ * @max 1048576
974
+ * @example 51200
975
+ */
976
+ size: number
977
+ /**
978
+ * Upload timestamp
979
+ * @example 1700000000000
980
+ */
981
+ uploadedOn: number
1141
982
  }
1142
983
 
1143
984
  /** Guest submission result */
1144
- export interface OutputV7Jo8Royz6 {
985
+ export interface PostGuestSubmissionResponseSchema {
1145
986
  /** Created submission ID */
1146
987
  submissionID: string
1147
988
  /** Created invoice ID */
@@ -1149,7 +990,7 @@ export interface OutputV7Jo8Royz6 {
1149
990
  }
1150
991
 
1151
992
  /** Paginated submissions list */
1152
- export interface OutputE25Oj2Tzvng {
993
+ export interface GetSubmissionsResponseSchema {
1153
994
  /** Submissions matching search criteria */
1154
995
  data: any[]
1155
996
  /** Pagination cursor for next page */
@@ -1159,7 +1000,7 @@ export interface OutputE25Oj2Tzvng {
1159
1000
  }
1160
1001
 
1161
1002
  /** Exported submissions Excel file */
1162
- export interface OutputZemm7Qgig9J {
1003
+ export interface GetSubmissionsExportResponseSchema {
1163
1004
  /** Base64-encoded Excel file content */
1164
1005
  file: string
1165
1006
  /** Suggested file name */
@@ -1174,18 +1015,18 @@ export interface OutputZemm7Qgig9J {
1174
1015
  * The contractor's local status. Set to 'active' to enable or 'disabled' to disable the account.
1175
1016
  * @example "active"
1176
1017
  */
1177
- export enum InputQ1P0He9MbiStatusEnum {
1018
+ export enum UpdateContractorStatusSchemaStatusEnum {
1178
1019
  Active = 'active',
1179
1020
  Disabled = 'disabled',
1180
1021
  }
1181
1022
 
1182
1023
  /** Deletion confirmation */
1183
- export enum OutputFuexxf2Pd6DeletedEnum {
1024
+ export enum DeleteDepartmentResponseSchemaDeletedEnum {
1184
1025
  True = true,
1185
1026
  }
1186
1027
 
1187
1028
  /** Removal confirmation */
1188
- export enum Output5Czs78RujzRemovedEnum {
1029
+ export enum DeleteDepartmentAdminResponseSchemaRemovedEnum {
1189
1030
  True = true,
1190
1031
  }
1191
1032
 
@@ -1193,7 +1034,7 @@ export enum Output5Czs78RujzRemovedEnum {
1193
1034
  * Submission type
1194
1035
  * @example "Submission"
1195
1036
  */
1196
- export enum InputMvlou4QbkkTypeEnum {
1037
+ export enum CreateSubmissionSchemaTypeEnum {
1197
1038
  Submission = 'Submission',
1198
1039
  Reimbursement = 'Reimbursement',
1199
1040
  }
@@ -1202,7 +1043,7 @@ export enum InputMvlou4QbkkTypeEnum {
1202
1043
  * Expense type
1203
1044
  * @example "Accommodation"
1204
1045
  */
1205
- export enum InputMvlou4QbkkTypeEnum1 {
1046
+ export enum ExpenseInputSchemaTypeEnum {
1206
1047
  Accommodation = 'Accommodation',
1207
1048
  Meal = 'Meal',
1208
1049
  Mileage = 'Mileage',
@@ -1214,7 +1055,7 @@ export enum InputMvlou4QbkkTypeEnum1 {
1214
1055
  * Meal type (Meal expenses)
1215
1056
  * @example "Lunch"
1216
1057
  */
1217
- export enum InputMvlou4QbkkMealTypeEnum {
1058
+ export enum ExpenseInputSchemaMealTypeEnum {
1218
1059
  Breakfast = 'Breakfast',
1219
1060
  Lunch = 'Lunch',
1220
1061
  Dinner = 'Dinner',
@@ -1224,7 +1065,7 @@ export enum InputMvlou4QbkkMealTypeEnum {
1224
1065
  * Transportation type (Transportation expenses)
1225
1066
  * @example "Taxi"
1226
1067
  */
1227
- export enum InputMvlou4QbkkTransportationTypeEnum {
1068
+ export enum ExpenseInputSchemaTransportationTypeEnum {
1228
1069
  AirTravel = 'Air travel',
1229
1070
  Taxi = 'Taxi',
1230
1071
  Ferry = 'Ferry',
@@ -1233,63 +1074,29 @@ export enum InputMvlou4QbkkTransportationTypeEnum {
1233
1074
  }
1234
1075
 
1235
1076
  /** Submission type */
1236
- export enum InputN254QwnxanTypeEnum {
1077
+ export enum UpdateSubmissionSchemaTypeEnum {
1237
1078
  Submission = 'Submission',
1238
1079
  Reimbursement = 'Reimbursement',
1239
1080
  }
1240
1081
 
1241
- /**
1242
- * Expense type
1243
- * @example "Accommodation"
1244
- */
1245
- export enum InputN254QwnxanTypeEnum1 {
1246
- Accommodation = 'Accommodation',
1247
- Meal = 'Meal',
1248
- Mileage = 'Mileage',
1249
- Transportation = 'Transportation',
1250
- Other = 'Other',
1251
- }
1252
-
1253
- /**
1254
- * Meal type (Meal expenses)
1255
- * @example "Lunch"
1256
- */
1257
- export enum InputN254QwnxanMealTypeEnum {
1258
- Breakfast = 'Breakfast',
1259
- Lunch = 'Lunch',
1260
- Dinner = 'Dinner',
1261
- }
1262
-
1263
- /**
1264
- * Transportation type (Transportation expenses)
1265
- * @example "Taxi"
1266
- */
1267
- export enum InputN254QwnxanTransportationTypeEnum {
1268
- AirTravel = 'Air travel',
1269
- Taxi = 'Taxi',
1270
- Ferry = 'Ferry',
1271
- Rental = 'Rental',
1272
- Other = 'Other',
1273
- }
1274
-
1275
1082
  /** Deletion confirmation */
1276
- export enum OutputP83Ux6Yn8GjDeletedEnum {
1083
+ export enum DeleteSubmissionResponseSchemaDeletedEnum {
1277
1084
  True = true,
1278
1085
  }
1279
1086
 
1280
1087
  /** The section to assign the code to */
1281
- export enum Input69356Dh72ISectionEnum {
1088
+ export enum SubmissionCodeItemSchemaSectionEnum {
1282
1089
  Service = 'Service',
1283
1090
  Reimbursement = 'Reimbursement',
1284
1091
  }
1285
1092
 
1286
1093
  /** Content type */
1287
- export enum OutputLmaw6Scj7KhContentTypeEnum {
1094
+ export enum GetPdfResponseSchemaContentTypeEnum {
1288
1095
  ApplicationPdf = 'application/pdf',
1289
1096
  }
1290
1097
 
1291
1098
  /** Reassignment confirmation */
1292
- export enum OutputYi385Vsix8ReassignedEnum {
1099
+ export enum PostReassignResponseSchemaReassignedEnum {
1293
1100
  True = true,
1294
1101
  }
1295
1102
 
@@ -1297,43 +1104,43 @@ export enum OutputYi385Vsix8ReassignedEnum {
1297
1104
  * Content type (must be application/pdf for guest)
1298
1105
  * @example "application/pdf"
1299
1106
  */
1300
- export enum InputV7Jo8Royz6ContentTypeEnum {
1107
+ export enum GuestAttachmentSchemaContentTypeEnum {
1301
1108
  ApplicationPdf = 'application/pdf',
1302
1109
  }
1303
1110
 
1304
- export type CreateCodeData = OutputGynn8Jgtxw
1111
+ export type CreateCodeData = PostCodeResponseSchema
1305
1112
 
1306
1113
  export type CreateCodeError = ErrorResponse
1307
1114
 
1308
- export type UpdateCodeData = Output3590Q4Zdmw
1115
+ export type UpdateCodeData = PutCodeResponseSchema
1309
1116
 
1310
1117
  export type UpdateCodeError = ErrorResponse
1311
1118
 
1312
- export type DeleteCodeData = OutputS9Pocnfagag
1119
+ export type DeleteCodeData = DeleteCodeResponseSchema
1313
1120
 
1314
1121
  export type DeleteCodeError = ErrorResponse
1315
1122
 
1316
- export type ListCodesData = OutputFxs28Ujjsv
1123
+ export type ListCodesData = GetCodesResponseSchema
1317
1124
 
1318
1125
  export type ListCodesError = ErrorResponse
1319
1126
 
1320
- export type CreateContractorData = OutputQ0Tsseay5C
1127
+ export type CreateContractorData = PostContractorResponseSchema
1321
1128
 
1322
1129
  export type CreateContractorError = ErrorResponse
1323
1130
 
1324
- export type GetContractorData = OutputDh866S8A4I
1131
+ export type GetContractorData = GetContractorResponseSchema
1325
1132
 
1326
1133
  export type GetContractorError = ErrorResponse
1327
1134
 
1328
- export type UpdateRatesData = OutputDpy5Xartkx
1135
+ export type UpdateRatesData = PutContractorRatesResponseSchema
1329
1136
 
1330
1137
  export type UpdateRatesError = ErrorResponse
1331
1138
 
1332
- export type CreateResetPasswordData = OutputZcigf6R1C3
1139
+ export type CreateResetPasswordData = PostResetPasswordResponseSchema
1333
1140
 
1334
1141
  export type CreateResetPasswordError = ErrorResponse
1335
1142
 
1336
- export type UpdateStatusData = OutputQ1P0He9Mbi
1143
+ export type UpdateStatusData = PutContractorStatusResponseSchema
1337
1144
 
1338
1145
  export type UpdateStatusError = ErrorResponse
1339
1146
 
@@ -1360,7 +1167,7 @@ export enum TypeEnum {
1360
1167
  Email = 'email',
1361
1168
  }
1362
1169
 
1363
- export type ListContractorsData = OutputO5Emm9Qt62
1170
+ export type ListContractorsData = GetContractorsResponseSchema
1364
1171
 
1365
1172
  export type ListContractorsError = ErrorResponse
1366
1173
 
@@ -1373,103 +1180,103 @@ export enum ListContractorsParams1TypeEnum {
1373
1180
  Email = 'email',
1374
1181
  }
1375
1182
 
1376
- export type CreateDepartmentData = OutputHykveqk83F
1183
+ export type CreateDepartmentData = PostDepartmentResponseSchema
1377
1184
 
1378
1185
  export type CreateDepartmentError = ErrorResponse
1379
1186
 
1380
- export type UpdateDepartmentData = OutputMpn62Brs14
1187
+ export type UpdateDepartmentData = PutDepartmentResponseSchema
1381
1188
 
1382
1189
  export type UpdateDepartmentError = ErrorResponse
1383
1190
 
1384
- export type DeleteDepartmentData = OutputFuexxf2Pd6
1191
+ export type DeleteDepartmentData = DeleteDepartmentResponseSchema
1385
1192
 
1386
1193
  export type DeleteDepartmentError = ErrorResponse
1387
1194
 
1388
- export type CreateAdminData = Output6G7Aexaiyj
1195
+ export type CreateAdminData = PostDepartmentAdminResponseSchema
1389
1196
 
1390
1197
  export type CreateAdminError = ErrorResponse
1391
1198
 
1392
- export type DeleteAdminData = Output5Czs78Rujz
1199
+ export type DeleteAdminData = DeleteDepartmentAdminResponseSchema
1393
1200
 
1394
1201
  export type DeleteAdminError = ErrorResponse
1395
1202
 
1396
- export type ListDepartmentsData = OutputCim5Cavqxg
1203
+ export type ListDepartmentsData = GetDepartmentsResponseSchema
1397
1204
 
1398
1205
  export type ListDepartmentsError = ErrorResponse
1399
1206
 
1400
- export type ListSettingsData = Output4Ewmjwz6Tf
1207
+ export type ListSettingsData = GetSettingsResponseSchema
1401
1208
 
1402
1209
  export type ListSettingsError = ErrorResponse
1403
1210
 
1404
- export type UpdateRatesResult = OutputVy76Ep3Yt9
1211
+ export type UpdateRatesResult = PutSettingsRatesResponseSchema
1405
1212
 
1406
1213
  export type UpdateRatesFail = ErrorResponse
1407
1214
 
1408
- export type UpdateMaximumsData = OutputBqpsmt6Mzvk
1215
+ export type UpdateMaximumsData = PutSettingsMaximumsResponseSchema
1409
1216
 
1410
1217
  export type UpdateMaximumsError = ErrorResponse
1411
1218
 
1412
- export type UpdateRemindersData = Output7Hdngoq8Gu
1219
+ export type UpdateRemindersData = PutSettingsRemindersResponseSchema
1413
1220
 
1414
1221
  export type UpdateRemindersError = ErrorResponse
1415
1222
 
1416
- export type CreateSubmissionData = OutputMvlou4Qbkk
1223
+ export type CreateSubmissionData = PostSubmissionResponseSchema
1417
1224
 
1418
1225
  export type CreateSubmissionError = ErrorResponse
1419
1226
 
1420
- export type GetSubmissionData = OutputIowjm92Mcm
1227
+ export type GetSubmissionData = GetSubmissionResponseSchema
1421
1228
 
1422
1229
  export type GetSubmissionError = ErrorResponse
1423
1230
 
1424
- export type UpdateSubmissionData = OutputN254Qwnxan
1231
+ export type UpdateSubmissionData = PutSubmissionResponseSchema
1425
1232
 
1426
1233
  export type UpdateSubmissionError = ErrorResponse
1427
1234
 
1428
- export type DeleteSubmissionData = OutputP83Ux6Yn8Gj
1235
+ export type DeleteSubmissionData = DeleteSubmissionResponseSchema
1429
1236
 
1430
1237
  export type DeleteSubmissionError = ErrorResponse
1431
1238
 
1432
- export type CreateApproveData = OutputBlbhgjd039
1239
+ export type CreateApproveData = PostApproveResponseSchema
1433
1240
 
1434
1241
  export type CreateApproveError = ErrorResponse
1435
1242
 
1436
- export type UpdateCodesData = Output69356Dh72I
1243
+ export type UpdateCodesData = PutSubmissionCodesResponseSchema
1437
1244
 
1438
1245
  export type UpdateCodesError = ErrorResponse
1439
1246
 
1440
- export type CreateFileData = OutputBz6Upt6Fli
1247
+ export type CreateFileData = PostFileResponseSchema
1441
1248
 
1442
1249
  export type CreateFileError = ErrorResponse
1443
1250
 
1444
- export type GetFileData = OutputFp9J2Xivwy
1251
+ export type GetFileData = GetFileResponseSchema
1445
1252
 
1446
1253
  export type GetFileError = ErrorResponse
1447
1254
 
1448
- export type CreatePaidData = OutputFepki4Wjag
1255
+ export type CreatePaidData = PostPaidResponseSchema
1449
1256
 
1450
1257
  export type CreatePaidError = ErrorResponse
1451
1258
 
1452
- export type GetPdfData = OutputLmaw6Scj7Kh
1259
+ export type GetPdfData = GetPDFResponseSchema
1453
1260
 
1454
1261
  export type GetPdfError = ErrorResponse
1455
1262
 
1456
- export type PutSubmissionData = OutputPzb8Fk9Khdf
1263
+ export type PutSubmissionData = PutPOResponseSchema
1457
1264
 
1458
1265
  export type PutSubmissionError = ErrorResponse
1459
1266
 
1460
- export type CreateReassignData = OutputYi385Vsix8
1267
+ export type CreateReassignData = PostReassignResponseSchema
1461
1268
 
1462
1269
  export type CreateReassignError = ErrorResponse
1463
1270
 
1464
- export type CreateRejectData = OutputOnr3Mpawrg
1271
+ export type CreateRejectData = PostRejectResponseSchema
1465
1272
 
1466
1273
  export type CreateRejectError = ErrorResponse
1467
1274
 
1468
- export type CreateSubmitData = OutputXak33X8F96
1275
+ export type CreateSubmitData = PostSubmitResponseSchema
1469
1276
 
1470
1277
  export type CreateSubmitError = ErrorResponse
1471
1278
 
1472
- export type CreateGuestData = OutputV7Jo8Royz6
1279
+ export type CreateGuestData = PostGuestSubmissionResponseSchema
1473
1280
 
1474
1281
  export type CreateGuestError = ErrorResponse
1475
1282
 
@@ -1538,7 +1345,7 @@ export enum TypeEnum1 {
1538
1345
  Reimbursement = 'Reimbursement',
1539
1346
  }
1540
1347
 
1541
- export type ListSubmissionsData = OutputE25Oj2Tzvng
1348
+ export type ListSubmissionsData = GetSubmissionsResponseSchema
1542
1349
 
1543
1350
  export type ListSubmissionsError = ErrorResponse
1544
1351
 
@@ -1564,7 +1371,7 @@ export enum ListSubmissionsParams1TypeEnum {
1564
1371
  Reimbursement = 'Reimbursement',
1565
1372
  }
1566
1373
 
1567
- export type ListExportData = OutputZemm7Qgig9J
1374
+ export type ListExportData = GetSubmissionsExportResponseSchema
1568
1375
 
1569
1376
  export type ListExportError = ErrorResponse
1570
1377
 
@@ -1706,7 +1513,7 @@ export class HttpClient<SecurityDataType = unknown> {
1706
1513
 
1707
1514
  /**
1708
1515
  * @title Contractor Module API
1709
- * @version 1.0.3
1516
+ * @version 1.0.4
1710
1517
  * @baseUrl http://localhost:8080
1711
1518
  * @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
1712
1519
  */
@@ -1721,7 +1528,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1721
1528
  * @request POST:/code
1722
1529
  * @secure
1723
1530
  */
1724
- createCode: (data: InputGynn8Jgtxw, params: RequestParams = {}) =>
1531
+ createCode: (data: CreateCodeSchema, params: RequestParams = {}) =>
1725
1532
  this.request<CreateCodeData, CreateCodeError>({
1726
1533
  path: `/code`,
1727
1534
  method: 'POST',
@@ -1741,7 +1548,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1741
1548
  * @request PUT:/code/{codeID}
1742
1549
  * @secure
1743
1550
  */
1744
- updateCode: (codeId: string, data: Input3590Q4Zdmw, params: RequestParams = {}) =>
1551
+ updateCode: (codeId: string, data: UpdateCodeSchema, params: RequestParams = {}) =>
1745
1552
  this.request<UpdateCodeData, UpdateCodeError>({
1746
1553
  path: `/code/${codeId}`,
1747
1554
  method: 'PUT',
@@ -1799,7 +1606,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1799
1606
  * @request POST:/contractor
1800
1607
  * @secure
1801
1608
  */
1802
- createContractor: (data: InputQ0Tsseay5C, params: RequestParams = {}) =>
1609
+ createContractor: (data: CreateContractorSchema, params: RequestParams = {}) =>
1803
1610
  this.request<CreateContractorData, CreateContractorError>({
1804
1611
  path: `/contractor`,
1805
1612
  method: 'POST',
@@ -1837,7 +1644,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1837
1644
  * @request PUT:/contractor/{userID}/rates
1838
1645
  * @secure
1839
1646
  */
1840
- updateRates: (userId: string, data: InputDpy5Xartkx, params: RequestParams = {}) =>
1647
+ updateRates: (userId: string, data: UpdateContractorRatesSchema, params: RequestParams = {}) =>
1841
1648
  this.request<UpdateRatesData, UpdateRatesError>({
1842
1649
  path: `/contractor/${userId}/rates`,
1843
1650
  method: 'PUT',
@@ -1875,7 +1682,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1875
1682
  * @request PUT:/contractor/{userID}/status
1876
1683
  * @secure
1877
1684
  */
1878
- updateStatus: (userId: string, data: InputQ1P0He9Mbi, params: RequestParams = {}) =>
1685
+ updateStatus: (userId: string, data: UpdateContractorStatusSchema, params: RequestParams = {}) =>
1879
1686
  this.request<UpdateStatusData, UpdateStatusError>({
1880
1687
  path: `/contractor/${userId}/status`,
1881
1688
  method: 'PUT',
@@ -1916,7 +1723,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1916
1723
  * @request POST:/department
1917
1724
  * @secure
1918
1725
  */
1919
- createDepartment: (data: InputHykveqk83F, params: RequestParams = {}) =>
1726
+ createDepartment: (data: CreateDepartmentSchema, params: RequestParams = {}) =>
1920
1727
  this.request<CreateDepartmentData, CreateDepartmentError>({
1921
1728
  path: `/department`,
1922
1729
  method: 'POST',
@@ -1936,7 +1743,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1936
1743
  * @request PUT:/department/{departmentID}
1937
1744
  * @secure
1938
1745
  */
1939
- updateDepartment: (departmentId: string, data: InputMpn62Brs14, params: RequestParams = {}) =>
1746
+ updateDepartment: (departmentId: string, data: UpdateDepartmentSchema, params: RequestParams = {}) =>
1940
1747
  this.request<UpdateDepartmentData, UpdateDepartmentError>({
1941
1748
  path: `/department/${departmentId}`,
1942
1749
  method: 'PUT',
@@ -1974,7 +1781,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1974
1781
  * @request POST:/department/{departmentID}/admin
1975
1782
  * @secure
1976
1783
  */
1977
- createAdmin: (departmentId: string, data: Input6G7Aexaiyj, params: RequestParams = {}) =>
1784
+ createAdmin: (departmentId: string, data: AssociateAdminSchema, params: RequestParams = {}) =>
1978
1785
  this.request<CreateAdminData, CreateAdminError>({
1979
1786
  path: `/department/${departmentId}/admin`,
1980
1787
  method: 'POST',
@@ -2050,7 +1857,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2050
1857
  * @request PUT:/settings/rates
2051
1858
  * @secure
2052
1859
  */
2053
- updateRates: (data: InputVy76Ep3Yt9, params: RequestParams = {}) =>
1860
+ updateRates: (data: UpdateRatesSchema, params: RequestParams = {}) =>
2054
1861
  this.request<UpdateRatesResult, UpdateRatesFail>({
2055
1862
  path: `/settings/rates`,
2056
1863
  method: 'PUT',
@@ -2070,7 +1877,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2070
1877
  * @request PUT:/settings/maximums
2071
1878
  * @secure
2072
1879
  */
2073
- updateMaximums: (data: InputBqpsmt6Mzvk, params: RequestParams = {}) =>
1880
+ updateMaximums: (data: UpdateMaximumsSchema, params: RequestParams = {}) =>
2074
1881
  this.request<UpdateMaximumsData, UpdateMaximumsError>({
2075
1882
  path: `/settings/maximums`,
2076
1883
  method: 'PUT',
@@ -2090,7 +1897,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2090
1897
  * @request PUT:/settings/reminders
2091
1898
  * @secure
2092
1899
  */
2093
- updateReminders: (data: Input7Hdngoq8Gu, params: RequestParams = {}) =>
1900
+ updateReminders: (data: UpdateRemindersSchema, params: RequestParams = {}) =>
2094
1901
  this.request<UpdateRemindersData, UpdateRemindersError>({
2095
1902
  path: `/settings/reminders`,
2096
1903
  method: 'PUT',
@@ -2111,7 +1918,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2111
1918
  * @request POST:/submission
2112
1919
  * @secure
2113
1920
  */
2114
- createSubmission: (data: InputMvlou4Qbkk, params: RequestParams = {}) =>
1921
+ createSubmission: (data: CreateSubmissionSchema, params: RequestParams = {}) =>
2115
1922
  this.request<CreateSubmissionData, CreateSubmissionError>({
2116
1923
  path: `/submission`,
2117
1924
  method: 'POST',
@@ -2149,7 +1956,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2149
1956
  * @request PUT:/submission/{submissionID}
2150
1957
  * @secure
2151
1958
  */
2152
- updateSubmission: (submissionId: string, data: InputN254Qwnxan, params: RequestParams = {}) =>
1959
+ updateSubmission: (submissionId: string, data: UpdateSubmissionSchema, params: RequestParams = {}) =>
2153
1960
  this.request<UpdateSubmissionData, UpdateSubmissionError>({
2154
1961
  path: `/submission/${submissionId}`,
2155
1962
  method: 'PUT',
@@ -2205,7 +2012,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2205
2012
  * @request PUT:/submission/{submissionID}/codes
2206
2013
  * @secure
2207
2014
  */
2208
- updateCodes: (submissionId: string, data: Input69356Dh72I, params: RequestParams = {}) =>
2015
+ updateCodes: (submissionId: string, data: PutSubmissionCodesSchema, params: RequestParams = {}) =>
2209
2016
  this.request<UpdateCodesData, UpdateCodesError>({
2210
2017
  path: `/submission/${submissionId}/codes`,
2211
2018
  method: 'PUT',
@@ -2225,7 +2032,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2225
2032
  * @request POST:/submission/{submissionID}/file
2226
2033
  * @secure
2227
2034
  */
2228
- createFile: (submissionId: string, data: InputBz6Upt6Fli, params: RequestParams = {}) =>
2035
+ createFile: (submissionId: string, data: FileUploadRequestSchema, params: RequestParams = {}) =>
2229
2036
  this.request<CreateFileData, CreateFileError>({
2230
2037
  path: `/submission/${submissionId}/file`,
2231
2038
  method: 'POST',
@@ -2299,7 +2106,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2299
2106
  * @request PUT:/submission/{submissionID}/po
2300
2107
  * @secure
2301
2108
  */
2302
- putSubmission: (submissionId: string, data: InputPzb8Fk9Khdf, params: RequestParams = {}) =>
2109
+ putSubmission: (submissionId: string, data: UpdatePOSchema, params: RequestParams = {}) =>
2303
2110
  this.request<PutSubmissionData, PutSubmissionError>({
2304
2111
  path: `/submission/${submissionId}/po`,
2305
2112
  method: 'PUT',
@@ -2319,7 +2126,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2319
2126
  * @request POST:/submission/{submissionID}/reassign
2320
2127
  * @secure
2321
2128
  */
2322
- createReassign: (submissionId: string, data: InputYi385Vsix8, params: RequestParams = {}) =>
2129
+ createReassign: (submissionId: string, data: ReassignSubmissionSchema, params: RequestParams = {}) =>
2323
2130
  this.request<CreateReassignData, CreateReassignError>({
2324
2131
  path: `/submission/${submissionId}/reassign`,
2325
2132
  method: 'POST',
@@ -2375,7 +2182,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2375
2182
  * @request POST:/submission/guest
2376
2183
  * @secure
2377
2184
  */
2378
- createGuest: (data: InputV7Jo8Royz6, params: RequestParams = {}) =>
2185
+ createGuest: (data: GuestSubmissionRequestSchema, params: RequestParams = {}) =>
2379
2186
  this.request<CreateGuestData, CreateGuestError>({
2380
2187
  path: `/submission/guest`,
2381
2188
  method: 'POST',