@ikonintegration/module-contractor-api 1.0.3 → 1.0.5

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/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: boolean
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: boolean
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: boolean
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: boolean
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,26 +1015,16 @@ 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
- /** Deletion confirmation */
1183
- export enum OutputFuexxf2Pd6DeletedEnum {
1184
- True = true,
1185
- }
1186
-
1187
- /** Removal confirmation */
1188
- export enum Output5Czs78RujzRemovedEnum {
1189
- True = true,
1190
- }
1191
-
1192
1023
  /**
1193
1024
  * Submission type
1194
1025
  * @example "Submission"
1195
1026
  */
1196
- export enum InputMvlou4QbkkTypeEnum {
1027
+ export enum CreateSubmissionSchemaTypeEnum {
1197
1028
  Submission = 'Submission',
1198
1029
  Reimbursement = 'Reimbursement',
1199
1030
  }
@@ -1202,7 +1033,7 @@ export enum InputMvlou4QbkkTypeEnum {
1202
1033
  * Expense type
1203
1034
  * @example "Accommodation"
1204
1035
  */
1205
- export enum InputMvlou4QbkkTypeEnum1 {
1036
+ export enum ExpenseInputSchemaTypeEnum {
1206
1037
  Accommodation = 'Accommodation',
1207
1038
  Meal = 'Meal',
1208
1039
  Mileage = 'Mileage',
@@ -1214,7 +1045,7 @@ export enum InputMvlou4QbkkTypeEnum1 {
1214
1045
  * Meal type (Meal expenses)
1215
1046
  * @example "Lunch"
1216
1047
  */
1217
- export enum InputMvlou4QbkkMealTypeEnum {
1048
+ export enum ExpenseInputSchemaMealTypeEnum {
1218
1049
  Breakfast = 'Breakfast',
1219
1050
  Lunch = 'Lunch',
1220
1051
  Dinner = 'Dinner',
@@ -1224,7 +1055,7 @@ export enum InputMvlou4QbkkMealTypeEnum {
1224
1055
  * Transportation type (Transportation expenses)
1225
1056
  * @example "Taxi"
1226
1057
  */
1227
- export enum InputMvlou4QbkkTransportationTypeEnum {
1058
+ export enum ExpenseInputSchemaTransportationTypeEnum {
1228
1059
  AirTravel = 'Air travel',
1229
1060
  Taxi = 'Taxi',
1230
1061
  Ferry = 'Ferry',
@@ -1233,107 +1064,63 @@ export enum InputMvlou4QbkkTransportationTypeEnum {
1233
1064
  }
1234
1065
 
1235
1066
  /** Submission type */
1236
- export enum InputN254QwnxanTypeEnum {
1067
+ export enum UpdateSubmissionSchemaTypeEnum {
1237
1068
  Submission = 'Submission',
1238
1069
  Reimbursement = 'Reimbursement',
1239
1070
  }
1240
1071
 
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
- /** Deletion confirmation */
1276
- export enum OutputP83Ux6Yn8GjDeletedEnum {
1277
- True = true,
1278
- }
1279
-
1280
1072
  /** The section to assign the code to */
1281
- export enum Input69356Dh72ISectionEnum {
1073
+ export enum SubmissionCodeItemSchemaSectionEnum {
1282
1074
  Service = 'Service',
1283
1075
  Reimbursement = 'Reimbursement',
1284
1076
  }
1285
1077
 
1286
1078
  /** Content type */
1287
- export enum OutputLmaw6Scj7KhContentTypeEnum {
1079
+ export enum GetPdfResponseSchemaContentTypeEnum {
1288
1080
  ApplicationPdf = 'application/pdf',
1289
1081
  }
1290
1082
 
1291
- /** Reassignment confirmation */
1292
- export enum OutputYi385Vsix8ReassignedEnum {
1293
- True = true,
1294
- }
1295
-
1296
1083
  /**
1297
1084
  * Content type (must be application/pdf for guest)
1298
1085
  * @example "application/pdf"
1299
1086
  */
1300
- export enum InputV7Jo8Royz6ContentTypeEnum {
1087
+ export enum GuestAttachmentSchemaContentTypeEnum {
1301
1088
  ApplicationPdf = 'application/pdf',
1302
1089
  }
1303
1090
 
1304
- export type CreateCodeData = OutputGynn8Jgtxw
1091
+ export type CreateCodeData = PostCodeResponseSchema
1305
1092
 
1306
1093
  export type CreateCodeError = ErrorResponse
1307
1094
 
1308
- export type UpdateCodeData = Output3590Q4Zdmw
1095
+ export type UpdateCodeData = PutCodeResponseSchema
1309
1096
 
1310
1097
  export type UpdateCodeError = ErrorResponse
1311
1098
 
1312
- export type DeleteCodeData = OutputS9Pocnfagag
1099
+ export type DeleteCodeData = DeleteCodeResponseSchema
1313
1100
 
1314
1101
  export type DeleteCodeError = ErrorResponse
1315
1102
 
1316
- export type ListCodesData = OutputFxs28Ujjsv
1103
+ export type ListCodesData = GetCodesResponseSchema
1317
1104
 
1318
1105
  export type ListCodesError = ErrorResponse
1319
1106
 
1320
- export type CreateContractorData = OutputQ0Tsseay5C
1107
+ export type CreateContractorData = PostContractorResponseSchema
1321
1108
 
1322
1109
  export type CreateContractorError = ErrorResponse
1323
1110
 
1324
- export type GetContractorData = OutputDh866S8A4I
1111
+ export type GetContractorData = GetContractorResponseSchema
1325
1112
 
1326
1113
  export type GetContractorError = ErrorResponse
1327
1114
 
1328
- export type UpdateRatesData = OutputDpy5Xartkx
1115
+ export type UpdateRatesData = PutContractorRatesResponseSchema
1329
1116
 
1330
1117
  export type UpdateRatesError = ErrorResponse
1331
1118
 
1332
- export type CreateResetPasswordData = OutputZcigf6R1C3
1119
+ export type CreateResetPasswordData = PostResetPasswordResponseSchema
1333
1120
 
1334
1121
  export type CreateResetPasswordError = ErrorResponse
1335
1122
 
1336
- export type UpdateStatusData = OutputQ1P0He9Mbi
1123
+ export type UpdateStatusData = PutContractorStatusResponseSchema
1337
1124
 
1338
1125
  export type UpdateStatusError = ErrorResponse
1339
1126
 
@@ -1360,7 +1147,7 @@ export enum TypeEnum {
1360
1147
  Email = 'email',
1361
1148
  }
1362
1149
 
1363
- export type ListContractorsData = OutputO5Emm9Qt62
1150
+ export type ListContractorsData = GetContractorsResponseSchema
1364
1151
 
1365
1152
  export type ListContractorsError = ErrorResponse
1366
1153
 
@@ -1373,103 +1160,103 @@ export enum ListContractorsParams1TypeEnum {
1373
1160
  Email = 'email',
1374
1161
  }
1375
1162
 
1376
- export type CreateDepartmentData = OutputHykveqk83F
1163
+ export type CreateDepartmentData = PostDepartmentResponseSchema
1377
1164
 
1378
1165
  export type CreateDepartmentError = ErrorResponse
1379
1166
 
1380
- export type UpdateDepartmentData = OutputMpn62Brs14
1167
+ export type UpdateDepartmentData = PutDepartmentResponseSchema
1381
1168
 
1382
1169
  export type UpdateDepartmentError = ErrorResponse
1383
1170
 
1384
- export type DeleteDepartmentData = OutputFuexxf2Pd6
1171
+ export type DeleteDepartmentData = DeleteDepartmentResponseSchema
1385
1172
 
1386
1173
  export type DeleteDepartmentError = ErrorResponse
1387
1174
 
1388
- export type CreateAdminData = Output6G7Aexaiyj
1175
+ export type CreateAdminData = PostDepartmentAdminResponseSchema
1389
1176
 
1390
1177
  export type CreateAdminError = ErrorResponse
1391
1178
 
1392
- export type DeleteAdminData = Output5Czs78Rujz
1179
+ export type DeleteAdminData = DeleteDepartmentAdminResponseSchema
1393
1180
 
1394
1181
  export type DeleteAdminError = ErrorResponse
1395
1182
 
1396
- export type ListDepartmentsData = OutputCim5Cavqxg
1183
+ export type ListDepartmentsData = GetDepartmentsResponseSchema
1397
1184
 
1398
1185
  export type ListDepartmentsError = ErrorResponse
1399
1186
 
1400
- export type ListSettingsData = Output4Ewmjwz6Tf
1187
+ export type ListSettingsData = GetSettingsResponseSchema
1401
1188
 
1402
1189
  export type ListSettingsError = ErrorResponse
1403
1190
 
1404
- export type UpdateRatesResult = OutputVy76Ep3Yt9
1191
+ export type UpdateRatesResult = PutSettingsRatesResponseSchema
1405
1192
 
1406
1193
  export type UpdateRatesFail = ErrorResponse
1407
1194
 
1408
- export type UpdateMaximumsData = OutputBqpsmt6Mzvk
1195
+ export type UpdateMaximumsData = PutSettingsMaximumsResponseSchema
1409
1196
 
1410
1197
  export type UpdateMaximumsError = ErrorResponse
1411
1198
 
1412
- export type UpdateRemindersData = Output7Hdngoq8Gu
1199
+ export type UpdateRemindersData = PutSettingsRemindersResponseSchema
1413
1200
 
1414
1201
  export type UpdateRemindersError = ErrorResponse
1415
1202
 
1416
- export type CreateSubmissionData = OutputMvlou4Qbkk
1203
+ export type CreateSubmissionData = PostSubmissionResponseSchema
1417
1204
 
1418
1205
  export type CreateSubmissionError = ErrorResponse
1419
1206
 
1420
- export type GetSubmissionData = OutputIowjm92Mcm
1207
+ export type GetSubmissionData = GetSubmissionResponseSchema
1421
1208
 
1422
1209
  export type GetSubmissionError = ErrorResponse
1423
1210
 
1424
- export type UpdateSubmissionData = OutputN254Qwnxan
1211
+ export type UpdateSubmissionData = PutSubmissionResponseSchema
1425
1212
 
1426
1213
  export type UpdateSubmissionError = ErrorResponse
1427
1214
 
1428
- export type DeleteSubmissionData = OutputP83Ux6Yn8Gj
1215
+ export type DeleteSubmissionData = DeleteSubmissionResponseSchema
1429
1216
 
1430
1217
  export type DeleteSubmissionError = ErrorResponse
1431
1218
 
1432
- export type CreateApproveData = OutputBlbhgjd039
1219
+ export type CreateApproveData = PostApproveResponseSchema
1433
1220
 
1434
1221
  export type CreateApproveError = ErrorResponse
1435
1222
 
1436
- export type UpdateCodesData = Output69356Dh72I
1223
+ export type UpdateCodesData = PutSubmissionCodesResponseSchema
1437
1224
 
1438
1225
  export type UpdateCodesError = ErrorResponse
1439
1226
 
1440
- export type CreateFileData = OutputBz6Upt6Fli
1227
+ export type CreateFileData = PostFileResponseSchema
1441
1228
 
1442
1229
  export type CreateFileError = ErrorResponse
1443
1230
 
1444
- export type GetFileData = OutputFp9J2Xivwy
1231
+ export type GetFileData = GetFileResponseSchema
1445
1232
 
1446
1233
  export type GetFileError = ErrorResponse
1447
1234
 
1448
- export type CreatePaidData = OutputFepki4Wjag
1235
+ export type CreatePaidData = PostPaidResponseSchema
1449
1236
 
1450
1237
  export type CreatePaidError = ErrorResponse
1451
1238
 
1452
- export type GetPdfData = OutputLmaw6Scj7Kh
1239
+ export type GetPdfData = GetPDFResponseSchema
1453
1240
 
1454
1241
  export type GetPdfError = ErrorResponse
1455
1242
 
1456
- export type PutSubmissionData = OutputPzb8Fk9Khdf
1243
+ export type PutSubmissionData = PutPOResponseSchema
1457
1244
 
1458
1245
  export type PutSubmissionError = ErrorResponse
1459
1246
 
1460
- export type CreateReassignData = OutputYi385Vsix8
1247
+ export type CreateReassignData = PostReassignResponseSchema
1461
1248
 
1462
1249
  export type CreateReassignError = ErrorResponse
1463
1250
 
1464
- export type CreateRejectData = OutputOnr3Mpawrg
1251
+ export type CreateRejectData = PostRejectResponseSchema
1465
1252
 
1466
1253
  export type CreateRejectError = ErrorResponse
1467
1254
 
1468
- export type CreateSubmitData = OutputXak33X8F96
1255
+ export type CreateSubmitData = PostSubmitResponseSchema
1469
1256
 
1470
1257
  export type CreateSubmitError = ErrorResponse
1471
1258
 
1472
- export type CreateGuestData = OutputV7Jo8Royz6
1259
+ export type CreateGuestData = PostGuestSubmissionResponseSchema
1473
1260
 
1474
1261
  export type CreateGuestError = ErrorResponse
1475
1262
 
@@ -1538,7 +1325,7 @@ export enum TypeEnum1 {
1538
1325
  Reimbursement = 'Reimbursement',
1539
1326
  }
1540
1327
 
1541
- export type ListSubmissionsData = OutputE25Oj2Tzvng
1328
+ export type ListSubmissionsData = GetSubmissionsResponseSchema
1542
1329
 
1543
1330
  export type ListSubmissionsError = ErrorResponse
1544
1331
 
@@ -1564,7 +1351,7 @@ export enum ListSubmissionsParams1TypeEnum {
1564
1351
  Reimbursement = 'Reimbursement',
1565
1352
  }
1566
1353
 
1567
- export type ListExportData = OutputZemm7Qgig9J
1354
+ export type ListExportData = GetSubmissionsExportResponseSchema
1568
1355
 
1569
1356
  export type ListExportError = ErrorResponse
1570
1357
 
@@ -1706,7 +1493,7 @@ export class HttpClient<SecurityDataType = unknown> {
1706
1493
 
1707
1494
  /**
1708
1495
  * @title Contractor Module API
1709
- * @version 1.0.3
1496
+ * @version 1.0.5
1710
1497
  * @baseUrl http://localhost:8080
1711
1498
  * @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
1712
1499
  */
@@ -1721,7 +1508,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1721
1508
  * @request POST:/code
1722
1509
  * @secure
1723
1510
  */
1724
- createCode: (data: InputGynn8Jgtxw, params: RequestParams = {}) =>
1511
+ createCode: (data: CreateCodeSchema, params: RequestParams = {}) =>
1725
1512
  this.request<CreateCodeData, CreateCodeError>({
1726
1513
  path: `/code`,
1727
1514
  method: 'POST',
@@ -1741,7 +1528,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1741
1528
  * @request PUT:/code/{codeID}
1742
1529
  * @secure
1743
1530
  */
1744
- updateCode: (codeId: string, data: Input3590Q4Zdmw, params: RequestParams = {}) =>
1531
+ updateCode: (codeId: string, data: UpdateCodeSchema, params: RequestParams = {}) =>
1745
1532
  this.request<UpdateCodeData, UpdateCodeError>({
1746
1533
  path: `/code/${codeId}`,
1747
1534
  method: 'PUT',
@@ -1799,7 +1586,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1799
1586
  * @request POST:/contractor
1800
1587
  * @secure
1801
1588
  */
1802
- createContractor: (data: InputQ0Tsseay5C, params: RequestParams = {}) =>
1589
+ createContractor: (data: CreateContractorSchema, params: RequestParams = {}) =>
1803
1590
  this.request<CreateContractorData, CreateContractorError>({
1804
1591
  path: `/contractor`,
1805
1592
  method: 'POST',
@@ -1837,7 +1624,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1837
1624
  * @request PUT:/contractor/{userID}/rates
1838
1625
  * @secure
1839
1626
  */
1840
- updateRates: (userId: string, data: InputDpy5Xartkx, params: RequestParams = {}) =>
1627
+ updateRates: (userId: string, data: UpdateContractorRatesSchema, params: RequestParams = {}) =>
1841
1628
  this.request<UpdateRatesData, UpdateRatesError>({
1842
1629
  path: `/contractor/${userId}/rates`,
1843
1630
  method: 'PUT',
@@ -1875,7 +1662,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1875
1662
  * @request PUT:/contractor/{userID}/status
1876
1663
  * @secure
1877
1664
  */
1878
- updateStatus: (userId: string, data: InputQ1P0He9Mbi, params: RequestParams = {}) =>
1665
+ updateStatus: (userId: string, data: UpdateContractorStatusSchema, params: RequestParams = {}) =>
1879
1666
  this.request<UpdateStatusData, UpdateStatusError>({
1880
1667
  path: `/contractor/${userId}/status`,
1881
1668
  method: 'PUT',
@@ -1916,7 +1703,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1916
1703
  * @request POST:/department
1917
1704
  * @secure
1918
1705
  */
1919
- createDepartment: (data: InputHykveqk83F, params: RequestParams = {}) =>
1706
+ createDepartment: (data: CreateDepartmentSchema, params: RequestParams = {}) =>
1920
1707
  this.request<CreateDepartmentData, CreateDepartmentError>({
1921
1708
  path: `/department`,
1922
1709
  method: 'POST',
@@ -1936,7 +1723,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1936
1723
  * @request PUT:/department/{departmentID}
1937
1724
  * @secure
1938
1725
  */
1939
- updateDepartment: (departmentId: string, data: InputMpn62Brs14, params: RequestParams = {}) =>
1726
+ updateDepartment: (departmentId: string, data: UpdateDepartmentSchema, params: RequestParams = {}) =>
1940
1727
  this.request<UpdateDepartmentData, UpdateDepartmentError>({
1941
1728
  path: `/department/${departmentId}`,
1942
1729
  method: 'PUT',
@@ -1974,7 +1761,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1974
1761
  * @request POST:/department/{departmentID}/admin
1975
1762
  * @secure
1976
1763
  */
1977
- createAdmin: (departmentId: string, data: Input6G7Aexaiyj, params: RequestParams = {}) =>
1764
+ createAdmin: (departmentId: string, data: AssociateAdminSchema, params: RequestParams = {}) =>
1978
1765
  this.request<CreateAdminData, CreateAdminError>({
1979
1766
  path: `/department/${departmentId}/admin`,
1980
1767
  method: 'POST',
@@ -2050,7 +1837,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2050
1837
  * @request PUT:/settings/rates
2051
1838
  * @secure
2052
1839
  */
2053
- updateRates: (data: InputVy76Ep3Yt9, params: RequestParams = {}) =>
1840
+ updateRates: (data: UpdateRatesSchema, params: RequestParams = {}) =>
2054
1841
  this.request<UpdateRatesResult, UpdateRatesFail>({
2055
1842
  path: `/settings/rates`,
2056
1843
  method: 'PUT',
@@ -2070,7 +1857,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2070
1857
  * @request PUT:/settings/maximums
2071
1858
  * @secure
2072
1859
  */
2073
- updateMaximums: (data: InputBqpsmt6Mzvk, params: RequestParams = {}) =>
1860
+ updateMaximums: (data: UpdateMaximumsSchema, params: RequestParams = {}) =>
2074
1861
  this.request<UpdateMaximumsData, UpdateMaximumsError>({
2075
1862
  path: `/settings/maximums`,
2076
1863
  method: 'PUT',
@@ -2090,7 +1877,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2090
1877
  * @request PUT:/settings/reminders
2091
1878
  * @secure
2092
1879
  */
2093
- updateReminders: (data: Input7Hdngoq8Gu, params: RequestParams = {}) =>
1880
+ updateReminders: (data: UpdateRemindersSchema, params: RequestParams = {}) =>
2094
1881
  this.request<UpdateRemindersData, UpdateRemindersError>({
2095
1882
  path: `/settings/reminders`,
2096
1883
  method: 'PUT',
@@ -2111,7 +1898,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2111
1898
  * @request POST:/submission
2112
1899
  * @secure
2113
1900
  */
2114
- createSubmission: (data: InputMvlou4Qbkk, params: RequestParams = {}) =>
1901
+ createSubmission: (data: CreateSubmissionSchema, params: RequestParams = {}) =>
2115
1902
  this.request<CreateSubmissionData, CreateSubmissionError>({
2116
1903
  path: `/submission`,
2117
1904
  method: 'POST',
@@ -2149,7 +1936,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2149
1936
  * @request PUT:/submission/{submissionID}
2150
1937
  * @secure
2151
1938
  */
2152
- updateSubmission: (submissionId: string, data: InputN254Qwnxan, params: RequestParams = {}) =>
1939
+ updateSubmission: (submissionId: string, data: UpdateSubmissionSchema, params: RequestParams = {}) =>
2153
1940
  this.request<UpdateSubmissionData, UpdateSubmissionError>({
2154
1941
  path: `/submission/${submissionId}`,
2155
1942
  method: 'PUT',
@@ -2205,7 +1992,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2205
1992
  * @request PUT:/submission/{submissionID}/codes
2206
1993
  * @secure
2207
1994
  */
2208
- updateCodes: (submissionId: string, data: Input69356Dh72I, params: RequestParams = {}) =>
1995
+ updateCodes: (submissionId: string, data: PutSubmissionCodesSchema, params: RequestParams = {}) =>
2209
1996
  this.request<UpdateCodesData, UpdateCodesError>({
2210
1997
  path: `/submission/${submissionId}/codes`,
2211
1998
  method: 'PUT',
@@ -2225,7 +2012,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2225
2012
  * @request POST:/submission/{submissionID}/file
2226
2013
  * @secure
2227
2014
  */
2228
- createFile: (submissionId: string, data: InputBz6Upt6Fli, params: RequestParams = {}) =>
2015
+ createFile: (submissionId: string, data: FileUploadRequestSchema, params: RequestParams = {}) =>
2229
2016
  this.request<CreateFileData, CreateFileError>({
2230
2017
  path: `/submission/${submissionId}/file`,
2231
2018
  method: 'POST',
@@ -2299,7 +2086,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2299
2086
  * @request PUT:/submission/{submissionID}/po
2300
2087
  * @secure
2301
2088
  */
2302
- putSubmission: (submissionId: string, data: InputPzb8Fk9Khdf, params: RequestParams = {}) =>
2089
+ putSubmission: (submissionId: string, data: UpdatePOSchema, params: RequestParams = {}) =>
2303
2090
  this.request<PutSubmissionData, PutSubmissionError>({
2304
2091
  path: `/submission/${submissionId}/po`,
2305
2092
  method: 'PUT',
@@ -2319,7 +2106,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2319
2106
  * @request POST:/submission/{submissionID}/reassign
2320
2107
  * @secure
2321
2108
  */
2322
- createReassign: (submissionId: string, data: InputYi385Vsix8, params: RequestParams = {}) =>
2109
+ createReassign: (submissionId: string, data: ReassignSubmissionSchema, params: RequestParams = {}) =>
2323
2110
  this.request<CreateReassignData, CreateReassignError>({
2324
2111
  path: `/submission/${submissionId}/reassign`,
2325
2112
  method: 'POST',
@@ -2375,7 +2162,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
2375
2162
  * @request POST:/submission/guest
2376
2163
  * @secure
2377
2164
  */
2378
- createGuest: (data: InputV7Jo8Royz6, params: RequestParams = {}) =>
2165
+ createGuest: (data: GuestSubmissionRequestSchema, params: RequestParams = {}) =>
2379
2166
  this.request<CreateGuestData, CreateGuestError>({
2380
2167
  path: `/submission/guest`,
2381
2168
  method: 'POST',