@ikonintegration/module-contractor-api 1.0.2 → 1.0.3

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,7 +17,7 @@ export interface ErrorResponse {
17
17
  errCode: string
18
18
  }
19
19
 
20
- export interface InputEbucity1Z4 {
20
+ export interface InputGynn8Jgtxw {
21
21
  /**
22
22
  * Unique code identifier (1-50 alphanumeric characters)
23
23
  * @minLength 1
@@ -41,7 +41,17 @@ export interface InputEbucity1Z4 {
41
41
  description: string
42
42
  }
43
43
 
44
- export interface InputLrvyo8663G {
44
+ /** Created code */
45
+ export interface OutputGynn8Jgtxw {
46
+ /** Code identifier */
47
+ codeID: string
48
+ /** Associated department ID */
49
+ departmentID: string
50
+ /** Code description */
51
+ description: string
52
+ }
53
+
54
+ export interface Input3590Q4Zdmw {
45
55
  /**
46
56
  * Updated description of the code (1-255 characters)
47
57
  * @minLength 1
@@ -51,7 +61,26 @@ export interface InputLrvyo8663G {
51
61
  description: string
52
62
  }
53
63
 
54
- export interface InputX0At7Jc9N {
64
+ /** Updated code */
65
+ export interface Output3590Q4Zdmw {
66
+ /** Code identifier */
67
+ codeID: string
68
+ /** Associated department ID */
69
+ departmentID: string
70
+ /** Updated code description */
71
+ description: string
72
+ }
73
+
74
+ /** Code deletion result (empty body) */
75
+ export type OutputS9Pocnfagag = object
76
+
77
+ /** Codes list */
78
+ export interface OutputFxs28Ujjsv {
79
+ /** List of codes */
80
+ codes: any[]
81
+ }
82
+
83
+ export interface InputQ0Tsseay5C {
55
84
  /**
56
85
  * Full name of the contractor
57
86
  * @minLength 1
@@ -90,7 +119,33 @@ export interface InputX0At7Jc9N {
90
119
  }[]
91
120
  }
92
121
 
93
- export interface InputO4N90Uymjl {
122
+ /** Created contractor */
123
+ export interface OutputQ0Tsseay5C {
124
+ /** Created contractor user ID */
125
+ userID: string
126
+ /** Contractor name */
127
+ name: string
128
+ /** Contractor email */
129
+ email: string
130
+ }
131
+
132
+ /** Contractor profile */
133
+ export interface OutputDh866S8A4I {
134
+ /** Contractor user ID */
135
+ userID: string
136
+ /** Contractor name */
137
+ name: string
138
+ /** Contractor email */
139
+ email: string
140
+ /** Contractor job rates */
141
+ jobRates?: any[]
142
+ /** Per-contractor rate overrides */
143
+ maximums?: Record<string, number>
144
+ /** Resolved effective rates (self-view) */
145
+ effectiveRates?: Record<string, number>
146
+ }
147
+
148
+ export interface InputDpy5Xartkx {
94
149
  /**
95
150
  * Maximum nightly accommodation amount (positive, up to two decimal places)
96
151
  * @min 0
@@ -128,15 +183,49 @@ export interface InputO4N90Uymjl {
128
183
  transportationMax?: number
129
184
  }
130
185
 
131
- export interface Input4M0Lv5Ahsw {
186
+ /** Updated contractor rates */
187
+ export interface OutputDpy5Xartkx {
188
+ /** Contractor user ID */
189
+ userID: string
190
+ /** Updated rate maximums */
191
+ maximums: Record<string, number>
192
+ }
193
+
194
+ /** Password reset result */
195
+ export interface OutputZcigf6R1C3 {
196
+ /** Success message */
197
+ message: string
198
+ }
199
+
200
+ export interface InputQ1P0He9Mbi {
132
201
  /**
133
202
  * The contractor's local status. Set to 'active' to enable or 'disabled' to disable the account.
134
203
  * @example "active"
135
204
  */
136
- status: Input4M0Lv5AhswStatusEnum
205
+ status: InputQ1P0He9MbiStatusEnum
137
206
  }
138
207
 
139
- export interface InputD79Au0K6W5 {
208
+ /** Updated contractor status */
209
+ export interface OutputQ1P0He9Mbi {
210
+ /** Contractor user ID */
211
+ userID: string
212
+ /** Updated local account status */
213
+ localStatus: string
214
+ }
215
+
216
+ /** List of contractors */
217
+ export type OutputO5Emm9Qt62 = {
218
+ /** Contractor user ID */
219
+ userID: string
220
+ /** Contractor name */
221
+ name: string
222
+ /** Contractor email */
223
+ email: string
224
+ /** Local account status */
225
+ localStatus?: string
226
+ }[]
227
+
228
+ export interface InputHykveqk83F {
140
229
  /**
141
230
  * Name of the department (1-150 characters)
142
231
  * @minLength 1
@@ -153,7 +242,17 @@ export interface InputD79Au0K6W5 {
153
242
  contactEmails: string[]
154
243
  }
155
244
 
156
- export interface InputTktzkj8J4D {
245
+ /** Created department */
246
+ export interface OutputHykveqk83F {
247
+ /** Created department ID */
248
+ departmentID: string
249
+ /** Department name */
250
+ name: string
251
+ /** Contact email addresses */
252
+ contactEmails: string[]
253
+ }
254
+
255
+ export interface InputMpn62Brs14 {
157
256
  /**
158
257
  * Updated name of the department (1-150 characters)
159
258
  * @minLength 1
@@ -170,7 +269,27 @@ export interface InputTktzkj8J4D {
170
269
  contactEmails?: string[]
171
270
  }
172
271
 
173
- export interface InputGxh0Yjattn {
272
+ /** Updated department */
273
+ export interface OutputMpn62Brs14 {
274
+ /** Department ID */
275
+ departmentID: string
276
+ /** Department name */
277
+ name: string
278
+ /** Contact email addresses */
279
+ contactEmails: string[]
280
+ /** Associated administrator user IDs */
281
+ adminUserIDs: string[]
282
+ }
283
+
284
+ /** Department deletion result */
285
+ export interface OutputFuexxf2Pd6 {
286
+ /** Deleted department ID */
287
+ departmentID: string
288
+ /** Deletion confirmation */
289
+ deleted: OutputFuexxf2Pd6DeletedEnum
290
+ }
291
+
292
+ export interface Input6G7Aexaiyj {
174
293
  /**
175
294
  * The user ID of the administrator to associate with the department
176
295
  * @minLength 1
@@ -179,7 +298,55 @@ export interface InputGxh0Yjattn {
179
298
  userID: string
180
299
  }
181
300
 
182
- export interface InputEh0Dqq1G7Q {
301
+ /** Admin association result */
302
+ export interface Output6G7Aexaiyj {
303
+ /** Department ID */
304
+ departmentID: string
305
+ /** Associated administrator user ID */
306
+ userID: string
307
+ /** Optional message if already associated */
308
+ message?: string
309
+ }
310
+
311
+ /** Admin removal result */
312
+ export interface Output5Czs78Rujz {
313
+ /** Department ID */
314
+ departmentID: string
315
+ /** Removed administrator user ID */
316
+ userID: string
317
+ /** Removal confirmation */
318
+ removed: Output5Czs78RujzRemovedEnum
319
+ }
320
+
321
+ /** List of departments (public fields) */
322
+ export type OutputCim5Cavqxg = {
323
+ /** Department unique identifier */
324
+ departmentID: string
325
+ /** Department name */
326
+ name: string
327
+ }[]
328
+
329
+ /** System settings */
330
+ export interface Output4Ewmjwz6Tf {
331
+ /** System-wide mileage rate per kilometre */
332
+ mileageRate: number
333
+ /** Accommodation nightly maximum */
334
+ accommodationNightly: number
335
+ /** Breakfast meal maximum */
336
+ mealBreakfast: number
337
+ /** Lunch meal maximum */
338
+ mealLunch: number
339
+ /** Dinner meal maximum */
340
+ mealDinner: number
341
+ /** Transportation maximum */
342
+ transportationMax: number
343
+ /** Days between reminder emails */
344
+ reminderIntervalDays: number
345
+ /** Default department for RSA submissions */
346
+ rsaDepartmentID?: string
347
+ }
348
+
349
+ export interface InputVy76Ep3Yt9 {
183
350
  /**
184
351
  * Mileage rate in dollars per kilometre (positive, up to two decimal places)
185
352
  * @min 0
@@ -189,7 +356,13 @@ export interface InputEh0Dqq1G7Q {
189
356
  mileageRate: number
190
357
  }
191
358
 
192
- export interface InputTiewwv56Cc {
359
+ /** Updated mileage rate */
360
+ export interface OutputVy76Ep3Yt9 {
361
+ /** Updated mileage rate */
362
+ mileageRate: number
363
+ }
364
+
365
+ export interface InputBqpsmt6Mzvk {
193
366
  /**
194
367
  * Maximum nightly accommodation amount (positive, up to two decimal places)
195
368
  * @min 0
@@ -227,7 +400,21 @@ export interface InputTiewwv56Cc {
227
400
  transportationMax: number
228
401
  }
229
402
 
230
- export interface InputBt0Uuj40Knj {
403
+ /** Updated expense maximums */
404
+ export interface OutputBqpsmt6Mzvk {
405
+ /** Accommodation nightly maximum */
406
+ accommodationNightly: number
407
+ /** Breakfast meal maximum */
408
+ mealBreakfast: number
409
+ /** Lunch meal maximum */
410
+ mealLunch: number
411
+ /** Dinner meal maximum */
412
+ mealDinner: number
413
+ /** Transportation maximum */
414
+ transportationMax: number
415
+ }
416
+
417
+ export interface Input7Hdngoq8Gu {
231
418
  /**
232
419
  * Number of days between reminder emails (positive integer)
233
420
  * @min 0
@@ -237,8 +424,14 @@ export interface InputBt0Uuj40Knj {
237
424
  reminderIntervalDays: number
238
425
  }
239
426
 
427
+ /** Updated reminder interval */
428
+ export interface Output7Hdngoq8Gu {
429
+ /** Updated reminder interval in days */
430
+ reminderIntervalDays: number
431
+ }
432
+
240
433
  /** Create a new draft submission */
241
- export interface InputIjeu6D8I3B {
434
+ export interface InputMvlou4Qbkk {
242
435
  /**
243
436
  * Department ID
244
437
  * @minLength 1
@@ -260,7 +453,7 @@ export interface InputIjeu6D8I3B {
260
453
  * Submission type
261
454
  * @example "Submission"
262
455
  */
263
- type: InputIjeu6D8I3BTypeEnum
456
+ type: InputMvlou4QbkkTypeEnum
264
457
  /**
265
458
  * Invoice number or "N/A"
266
459
  * @minLength 1
@@ -367,7 +560,7 @@ export interface InputIjeu6D8I3B {
367
560
  * Expense type
368
561
  * @example "Accommodation"
369
562
  */
370
- type: InputIjeu6D8I3BTypeEnum1
563
+ type: InputMvlou4QbkkTypeEnum1
371
564
  /**
372
565
  * Pre-tax amount
373
566
  * @min 0
@@ -392,7 +585,7 @@ export interface InputIjeu6D8I3B {
392
585
  * Meal type (Meal expenses)
393
586
  * @example "Lunch"
394
587
  */
395
- mealType?: InputIjeu6D8I3BMealTypeEnum
588
+ mealType?: InputMvlou4QbkkMealTypeEnum
396
589
  /**
397
590
  * Number of kilometres (Mileage)
398
591
  * @min 0
@@ -404,7 +597,7 @@ export interface InputIjeu6D8I3B {
404
597
  * Transportation type (Transportation expenses)
405
598
  * @example "Taxi"
406
599
  */
407
- transportationType?: InputIjeu6D8I3BTransportationTypeEnum
600
+ transportationType?: InputMvlou4QbkkTransportationTypeEnum
408
601
  /**
409
602
  * File attachments for this expense
410
603
  * @default []
@@ -439,8 +632,48 @@ export interface InputIjeu6D8I3B {
439
632
  }[]
440
633
  }
441
634
 
635
+ /** Created submission with calculated totals */
636
+ export interface OutputMvlou4Qbkk {
637
+ /** Created submission ID */
638
+ submissionID: string
639
+ /** Submission status */
640
+ status: string
641
+ /** Total pre-tax amount */
642
+ preTaxAmount: number
643
+ /** Total tax amount */
644
+ taxAmount: number
645
+ /** Total amount including tax */
646
+ totalAmount: number
647
+ /** Created invoices */
648
+ invoices: {
649
+ /** Invoice ID */
650
+ invoiceID: string
651
+ /** Invoice pre-tax amount */
652
+ preTaxAmount: number
653
+ }[]
654
+ /** Created expenses with warning flags */
655
+ expenses: {
656
+ /** Expense ID */
657
+ expenseID: string
658
+ /** Whether expense exceeds configured maximum */
659
+ warningExceeded: boolean
660
+ }[]
661
+ }
662
+
663
+ /** Submission detail with all related entities */
664
+ export interface OutputIowjm92Mcm {
665
+ /** Submission record */
666
+ submission?: any
667
+ /** Associated invoices */
668
+ invoices: any[]
669
+ /** Associated expenses */
670
+ expenses: any[]
671
+ /** Assigned billing codes */
672
+ codes: any[]
673
+ }
674
+
442
675
  /** Update an existing submission */
443
- export interface InputKvk7Y9Qob6 {
676
+ export interface InputN254Qwnxan {
444
677
  /**
445
678
  * Submission description
446
679
  * @minLength 1
@@ -449,7 +682,7 @@ export interface InputKvk7Y9Qob6 {
449
682
  /** Submission date (epoch ms) */
450
683
  date?: number
451
684
  /** Submission type */
452
- type?: InputKvk7Y9Qob6TypeEnum
685
+ type?: InputN254QwnxanTypeEnum
453
686
  /**
454
687
  * Invoice number or "N/A"
455
688
  * @minLength 1
@@ -550,7 +783,7 @@ export interface InputKvk7Y9Qob6 {
550
783
  * Expense type
551
784
  * @example "Accommodation"
552
785
  */
553
- type: InputKvk7Y9Qob6TypeEnum1
786
+ type: InputN254QwnxanTypeEnum1
554
787
  /**
555
788
  * Pre-tax amount
556
789
  * @min 0
@@ -575,7 +808,7 @@ export interface InputKvk7Y9Qob6 {
575
808
  * Meal type (Meal expenses)
576
809
  * @example "Lunch"
577
810
  */
578
- mealType?: InputKvk7Y9Qob6MealTypeEnum
811
+ mealType?: InputN254QwnxanMealTypeEnum
579
812
  /**
580
813
  * Number of kilometres (Mileage)
581
814
  * @min 0
@@ -587,7 +820,7 @@ export interface InputKvk7Y9Qob6 {
587
820
  * Transportation type (Transportation expenses)
588
821
  * @example "Taxi"
589
822
  */
590
- transportationType?: InputKvk7Y9Qob6TransportationTypeEnum
823
+ transportationType?: InputN254QwnxanTransportationTypeEnum
591
824
  /**
592
825
  * File attachments for this expense
593
826
  * @default []
@@ -622,11 +855,55 @@ export interface InputKvk7Y9Qob6 {
622
855
  }[]
623
856
  }
624
857
 
625
- export interface InputZuufi5Flop {
858
+ /** Updated submission */
859
+ export interface OutputN254Qwnxan {
860
+ /** Submission ID */
861
+ submissionID: string
862
+ /** Current submission status */
863
+ status: string
864
+ /** Recalculated pre-tax amount */
865
+ preTaxAmount?: number
866
+ /** Recalculated tax amount */
867
+ taxAmount?: number
868
+ /** Recalculated total amount */
869
+ totalAmount?: number
870
+ /** Recreated invoices (if line items changed) */
871
+ invoices?: {
872
+ /** Invoice ID */
873
+ invoiceID: string
874
+ /** Invoice pre-tax amount */
875
+ preTaxAmount: number
876
+ }[]
877
+ /** Recreated expenses (if line items changed) */
878
+ expenses?: {
879
+ /** Expense ID */
880
+ expenseID: string
881
+ /** Whether expense exceeds configured maximum */
882
+ warningExceeded: boolean
883
+ }[]
884
+ }
885
+
886
+ /** Submission deletion result */
887
+ export interface OutputP83Ux6Yn8Gj {
888
+ /** Deleted submission ID */
889
+ submissionID: string
890
+ /** Deletion confirmation */
891
+ deleted: OutputP83Ux6Yn8GjDeletedEnum
892
+ }
893
+
894
+ /** Approval result */
895
+ export interface OutputBlbhgjd039 {
896
+ /** Submission ID */
897
+ submissionID: string
898
+ /** New submission status after approval */
899
+ status: string
900
+ }
901
+
902
+ export interface Input69356Dh72I {
626
903
  /** Array of codes to assign to the submission sections */
627
904
  codes: {
628
905
  /** The section to assign the code to */
629
- section: InputZuufi5FlopSectionEnum
906
+ section: Input69356Dh72ISectionEnum
630
907
  /**
631
908
  * The code ID to assign
632
909
  * @minLength 1
@@ -642,8 +919,23 @@ export interface InputZuufi5Flop {
642
919
  }[]
643
920
  }
644
921
 
922
+ /** Code assignment result */
923
+ export interface Output69356Dh72I {
924
+ /** Submission ID */
925
+ submissionID: string
926
+ /** Assigned codes */
927
+ codes: {
928
+ /** Section (Service or Reimbursement) */
929
+ section: string
930
+ /** Billing code ID */
931
+ codeID: string
932
+ /** Optional note */
933
+ note: string | null
934
+ }[]
935
+ }
936
+
645
937
  /** Request a presigned upload URL for a file attachment */
646
- export interface InputKn0Y6Bn1Yz {
938
+ export interface InputBz6Upt6Fli {
647
939
  /**
648
940
  * ID of the invoice or expense line item
649
941
  * @minLength 1
@@ -671,7 +963,47 @@ export interface InputKn0Y6Bn1Yz {
671
963
  fileName: string
672
964
  }
673
965
 
674
- export interface Input4Tvfg8Mse4 {
966
+ /** File upload presigned URL */
967
+ export interface OutputBz6Upt6Fli {
968
+ /** Presigned upload URL */
969
+ url: string
970
+ /** Generated file ID */
971
+ fileID: string
972
+ /** Original file name */
973
+ fileName: string
974
+ /** File content type */
975
+ contentType: string
976
+ /** File size in bytes */
977
+ contentLength: number
978
+ }
979
+
980
+ /** File download presigned URL */
981
+ export interface OutputFp9J2Xivwy {
982
+ /** Presigned download URL */
983
+ url: string
984
+ /** File ID */
985
+ fileID: string
986
+ }
987
+
988
+ /** Mark paid result */
989
+ export interface OutputFepki4Wjag {
990
+ /** Submission ID */
991
+ submissionID: string
992
+ /** New submission status (Paid) */
993
+ status: string
994
+ }
995
+
996
+ /** Generated PDF */
997
+ export interface OutputLmaw6Scj7Kh {
998
+ /** Base64-encoded PDF content */
999
+ pdf: string
1000
+ /** Content type */
1001
+ contentType: OutputLmaw6Scj7KhContentTypeEnum
1002
+ /** Suggested file name */
1003
+ fileName: string
1004
+ }
1005
+
1006
+ export interface InputPzb8Fk9Khdf {
675
1007
  /**
676
1008
  * PO number to set on the submission
677
1009
  * @example "PO-5678"
@@ -679,7 +1011,15 @@ export interface Input4Tvfg8Mse4 {
679
1011
  poNumber: string
680
1012
  }
681
1013
 
682
- export interface InputWmkkwhx1Bo {
1014
+ /** PO number update result */
1015
+ export interface OutputPzb8Fk9Khdf {
1016
+ /** Submission ID */
1017
+ submissionID: string
1018
+ /** Updated PO number */
1019
+ poNumber: string
1020
+ }
1021
+
1022
+ export interface InputYi385Vsix8 {
683
1023
  /**
684
1024
  * The ID of the new department to reassign to
685
1025
  * @minLength 1
@@ -688,7 +1028,33 @@ export interface InputWmkkwhx1Bo {
688
1028
  departmentID: string
689
1029
  }
690
1030
 
691
- export interface InputJiuwxuwhbyj {
1031
+ /** Reassignment result */
1032
+ export interface OutputYi385Vsix8 {
1033
+ /** Submission ID */
1034
+ submissionID: string
1035
+ /** New department ID */
1036
+ departmentID: string
1037
+ /** Reassignment confirmation */
1038
+ reassigned: OutputYi385Vsix8ReassignedEnum
1039
+ }
1040
+
1041
+ /** Rejection result */
1042
+ export interface OutputOnr3Mpawrg {
1043
+ /** Submission ID */
1044
+ submissionID: string
1045
+ /** New submission status after rejection */
1046
+ status: string
1047
+ }
1048
+
1049
+ /** Submission status transition result */
1050
+ export interface OutputXak33X8F96 {
1051
+ /** Submission ID */
1052
+ submissionID: string
1053
+ /** New submission status */
1054
+ status: string
1055
+ }
1056
+
1057
+ export interface InputV7Jo8Royz6 {
692
1058
  /**
693
1059
  * Google reCAPTCHA verification token
694
1060
  * @example "03AGdBq26..."
@@ -759,7 +1125,7 @@ export interface InputJiuwxuwhbyj {
759
1125
  * Content type (must be application/pdf for guest)
760
1126
  * @example "application/pdf"
761
1127
  */
762
- contentType: InputJiuwxuwhbyjContentTypeEnum
1128
+ contentType: InputV7Jo8Royz6ContentTypeEnum
763
1129
  /**
764
1130
  * File size in bytes (max 1 MB)
765
1131
  * @max 1048576
@@ -774,20 +1140,60 @@ export interface InputJiuwxuwhbyj {
774
1140
  }
775
1141
  }
776
1142
 
1143
+ /** Guest submission result */
1144
+ export interface OutputV7Jo8Royz6 {
1145
+ /** Created submission ID */
1146
+ submissionID: string
1147
+ /** Created invoice ID */
1148
+ invoiceID?: string
1149
+ }
1150
+
1151
+ /** Paginated submissions list */
1152
+ export interface OutputE25Oj2Tzvng {
1153
+ /** Submissions matching search criteria */
1154
+ data: any[]
1155
+ /** Pagination cursor for next page */
1156
+ cursor: string | null
1157
+ /** Number of results in this page */
1158
+ count: number
1159
+ }
1160
+
1161
+ /** Exported submissions Excel file */
1162
+ export interface OutputZemm7Qgig9J {
1163
+ /** Base64-encoded Excel file content */
1164
+ file: string
1165
+ /** Suggested file name */
1166
+ filename: string
1167
+ /** Content type (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) */
1168
+ contentType: string
1169
+ /** Number of rows exported */
1170
+ rowCount: number
1171
+ }
1172
+
777
1173
  /**
778
1174
  * The contractor's local status. Set to 'active' to enable or 'disabled' to disable the account.
779
1175
  * @example "active"
780
1176
  */
781
- export enum Input4M0Lv5AhswStatusEnum {
1177
+ export enum InputQ1P0He9MbiStatusEnum {
782
1178
  Active = 'active',
783
1179
  Disabled = 'disabled',
784
1180
  }
785
1181
 
1182
+ /** Deletion confirmation */
1183
+ export enum OutputFuexxf2Pd6DeletedEnum {
1184
+ True = true,
1185
+ }
1186
+
1187
+ /** Removal confirmation */
1188
+ export enum Output5Czs78RujzRemovedEnum {
1189
+ True = true,
1190
+ }
1191
+
786
1192
  /**
787
1193
  * Submission type
788
1194
  * @example "Submission"
789
1195
  */
790
- export enum InputIjeu6D8I3BTypeEnum {
1196
+ export enum InputMvlou4QbkkTypeEnum {
791
1197
  Submission = 'Submission',
792
1198
  Reimbursement = 'Reimbursement',
793
1199
  }
@@ -796,7 +1202,7 @@ export enum InputIjeu6D8I3BTypeEnum {
796
1202
  * Expense type
797
1203
  * @example "Accommodation"
798
1204
  */
799
- export enum InputIjeu6D8I3BTypeEnum1 {
1205
+ export enum InputMvlou4QbkkTypeEnum1 {
800
1206
  Accommodation = 'Accommodation',
801
1207
  Meal = 'Meal',
802
1208
  Mileage = 'Mileage',
@@ -808,7 +1214,7 @@ export enum InputIjeu6D8I3BTypeEnum1 {
808
1214
  * Meal type (Meal expenses)
809
1215
  * @example "Lunch"
810
1216
  */
811
- export enum InputIjeu6D8I3BMealTypeEnum {
1217
+ export enum InputMvlou4QbkkMealTypeEnum {
812
1218
  Breakfast = 'Breakfast',
813
1219
  Lunch = 'Lunch',
814
1220
  Dinner = 'Dinner',
@@ -818,7 +1224,7 @@ export enum InputIjeu6D8I3BMealTypeEnum {
818
1224
  * Transportation type (Transportation expenses)
819
1225
  * @example "Taxi"
820
1226
  */
821
- export enum InputIjeu6D8I3BTransportationTypeEnum {
1227
+ export enum InputMvlou4QbkkTransportationTypeEnum {
822
1228
  AirTravel = 'Air travel',
823
1229
  Taxi = 'Taxi',
824
1230
  Ferry = 'Ferry',
@@ -827,7 +1233,7 @@ export enum InputIjeu6D8I3BTransportationTypeEnum {
827
1233
  }
828
1234
 
829
1235
  /** Submission type */
830
- export enum InputKvk7Y9Qob6TypeEnum {
1236
+ export enum InputN254QwnxanTypeEnum {
831
1237
  Submission = 'Submission',
832
1238
  Reimbursement = 'Reimbursement',
833
1239
  }
@@ -836,7 +1242,7 @@ export enum InputKvk7Y9Qob6TypeEnum {
836
1242
  * Expense type
837
1243
  * @example "Accommodation"
838
1244
  */
839
- export enum InputKvk7Y9Qob6TypeEnum1 {
1245
+ export enum InputN254QwnxanTypeEnum1 {
840
1246
  Accommodation = 'Accommodation',
841
1247
  Meal = 'Meal',
842
1248
  Mileage = 'Mileage',
@@ -848,7 +1254,7 @@ export enum InputKvk7Y9Qob6TypeEnum1 {
848
1254
  * Meal type (Meal expenses)
849
1255
  * @example "Lunch"
850
1256
  */
851
- export enum InputKvk7Y9Qob6MealTypeEnum {
1257
+ export enum InputN254QwnxanMealTypeEnum {
852
1258
  Breakfast = 'Breakfast',
853
1259
  Lunch = 'Lunch',
854
1260
  Dinner = 'Dinner',
@@ -858,7 +1264,7 @@ export enum InputKvk7Y9Qob6MealTypeEnum {
858
1264
  * Transportation type (Transportation expenses)
859
1265
  * @example "Taxi"
860
1266
  */
861
- export enum InputKvk7Y9Qob6TransportationTypeEnum {
1267
+ export enum InputN254QwnxanTransportationTypeEnum {
862
1268
  AirTravel = 'Air travel',
863
1269
  Taxi = 'Taxi',
864
1270
  Ferry = 'Ferry',
@@ -866,53 +1272,68 @@ export enum InputKvk7Y9Qob6TransportationTypeEnum {
866
1272
  Other = 'Other',
867
1273
  }
868
1274
 
1275
+ /** Deletion confirmation */
1276
+ export enum OutputP83Ux6Yn8GjDeletedEnum {
1277
+ True = true,
1278
+ }
1279
+
869
1280
  /** The section to assign the code to */
870
- export enum InputZuufi5FlopSectionEnum {
1281
+ export enum Input69356Dh72ISectionEnum {
871
1282
  Service = 'Service',
872
1283
  Reimbursement = 'Reimbursement',
873
1284
  }
874
1285
 
1286
+ /** Content type */
1287
+ export enum OutputLmaw6Scj7KhContentTypeEnum {
1288
+ ApplicationPdf = 'application/pdf',
1289
+ }
1290
+
1291
+ /** Reassignment confirmation */
1292
+ export enum OutputYi385Vsix8ReassignedEnum {
1293
+ True = true,
1294
+ }
1295
+
875
1296
  /**
876
1297
  * Content type (must be application/pdf for guest)
877
1298
  * @example "application/pdf"
878
1299
  */
879
- export enum InputJiuwxuwhbyjContentTypeEnum {
1300
+ export enum InputV7Jo8Royz6ContentTypeEnum {
880
1301
  ApplicationPdf = 'application/pdf',
881
1302
  }
882
1303
 
883
- export type CreateCodeData = any
1304
+ export type CreateCodeData = OutputGynn8Jgtxw
884
1305
 
885
1306
  export type CreateCodeError = ErrorResponse
886
1307
 
887
- export type UpdateCodeData = any
1308
+ export type UpdateCodeData = Output3590Q4Zdmw
888
1309
 
889
1310
  export type UpdateCodeError = ErrorResponse
890
1311
 
891
- export type DeleteCodeData = any
1312
+ export type DeleteCodeData = OutputS9Pocnfagag
892
1313
 
893
1314
  export type DeleteCodeError = ErrorResponse
894
1315
 
895
- export type ListCodesData = any
1316
+ export type ListCodesData = OutputFxs28Ujjsv
896
1317
 
897
1318
  export type ListCodesError = ErrorResponse
898
1319
 
899
- export type CreateContractorData = any
1320
+ export type CreateContractorData = OutputQ0Tsseay5C
900
1321
 
901
1322
  export type CreateContractorError = ErrorResponse
902
1323
 
903
- export type GetContractorData = any
1324
+ export type GetContractorData = OutputDh866S8A4I
904
1325
 
905
1326
  export type GetContractorError = ErrorResponse
906
1327
 
907
- export type UpdateRatesData = any
1328
+ export type UpdateRatesData = OutputDpy5Xartkx
908
1329
 
909
1330
  export type UpdateRatesError = ErrorResponse
910
1331
 
911
- export type CreateResetPasswordData = any
1332
+ export type CreateResetPasswordData = OutputZcigf6R1C3
912
1333
 
913
1334
  export type CreateResetPasswordError = ErrorResponse
914
1335
 
915
- export type UpdateStatusData = any
1336
+ export type UpdateStatusData = OutputQ1P0He9Mbi
916
1337
 
917
1338
  export type UpdateStatusError = ErrorResponse
918
1339
 
@@ -939,7 +1360,7 @@ export enum TypeEnum {
939
1360
  Email = 'email',
940
1361
  }
941
1362
 
942
- export type ListContractorsData = any
1363
+ export type ListContractorsData = OutputO5Emm9Qt62
943
1364
 
944
1365
  export type ListContractorsError = ErrorResponse
945
1366
 
@@ -952,103 +1373,103 @@ export enum ListContractorsParams1TypeEnum {
952
1373
  Email = 'email',
953
1374
  }
954
1375
 
955
- export type CreateDepartmentData = any
1376
+ export type CreateDepartmentData = OutputHykveqk83F
956
1377
 
957
1378
  export type CreateDepartmentError = ErrorResponse
958
1379
 
959
- export type UpdateDepartmentData = any
1380
+ export type UpdateDepartmentData = OutputMpn62Brs14
960
1381
 
961
1382
  export type UpdateDepartmentError = ErrorResponse
962
1383
 
963
- export type DeleteDepartmentData = any
1384
+ export type DeleteDepartmentData = OutputFuexxf2Pd6
964
1385
 
965
1386
  export type DeleteDepartmentError = ErrorResponse
966
1387
 
967
- export type CreateAdminData = any
1388
+ export type CreateAdminData = Output6G7Aexaiyj
968
1389
 
969
1390
  export type CreateAdminError = ErrorResponse
970
1391
 
971
- export type DeleteAdminData = any
1392
+ export type DeleteAdminData = Output5Czs78Rujz
972
1393
 
973
1394
  export type DeleteAdminError = ErrorResponse
974
1395
 
975
- export type ListDepartmentsData = any
1396
+ export type ListDepartmentsData = OutputCim5Cavqxg
976
1397
 
977
1398
  export type ListDepartmentsError = ErrorResponse
978
1399
 
979
- export type ListSettingsData = any
1400
+ export type ListSettingsData = Output4Ewmjwz6Tf
980
1401
 
981
1402
  export type ListSettingsError = ErrorResponse
982
1403
 
983
- export type UpdateRatesResult = any
1404
+ export type UpdateRatesResult = OutputVy76Ep3Yt9
984
1405
 
985
1406
  export type UpdateRatesFail = ErrorResponse
986
1407
 
987
- export type UpdateMaximumsData = any
1408
+ export type UpdateMaximumsData = OutputBqpsmt6Mzvk
988
1409
 
989
1410
  export type UpdateMaximumsError = ErrorResponse
990
1411
 
991
- export type UpdateRemindersData = any
1412
+ export type UpdateRemindersData = Output7Hdngoq8Gu
992
1413
 
993
1414
  export type UpdateRemindersError = ErrorResponse
994
1415
 
995
- export type CreateSubmissionData = any
1416
+ export type CreateSubmissionData = OutputMvlou4Qbkk
996
1417
 
997
1418
  export type CreateSubmissionError = ErrorResponse
998
1419
 
999
- export type GetSubmissionData = any
1420
+ export type GetSubmissionData = OutputIowjm92Mcm
1000
1421
 
1001
1422
  export type GetSubmissionError = ErrorResponse
1002
1423
 
1003
- export type UpdateSubmissionData = any
1424
+ export type UpdateSubmissionData = OutputN254Qwnxan
1004
1425
 
1005
1426
  export type UpdateSubmissionError = ErrorResponse
1006
1427
 
1007
- export type DeleteSubmissionData = any
1428
+ export type DeleteSubmissionData = OutputP83Ux6Yn8Gj
1008
1429
 
1009
1430
  export type DeleteSubmissionError = ErrorResponse
1010
1431
 
1011
- export type CreateApproveData = any
1432
+ export type CreateApproveData = OutputBlbhgjd039
1012
1433
 
1013
1434
  export type CreateApproveError = ErrorResponse
1014
1435
 
1015
- export type UpdateCodesData = any
1436
+ export type UpdateCodesData = Output69356Dh72I
1016
1437
 
1017
1438
  export type UpdateCodesError = ErrorResponse
1018
1439
 
1019
- export type CreateFileData = any
1440
+ export type CreateFileData = OutputBz6Upt6Fli
1020
1441
 
1021
1442
  export type CreateFileError = ErrorResponse
1022
1443
 
1023
- export type GetFileData = any
1444
+ export type GetFileData = OutputFp9J2Xivwy
1024
1445
 
1025
1446
  export type GetFileError = ErrorResponse
1026
1447
 
1027
- export type CreatePaidData = any
1448
+ export type CreatePaidData = OutputFepki4Wjag
1028
1449
 
1029
1450
  export type CreatePaidError = ErrorResponse
1030
1451
 
1031
- export type GetPdfData = any
1452
+ export type GetPdfData = OutputLmaw6Scj7Kh
1032
1453
 
1033
1454
  export type GetPdfError = ErrorResponse
1034
1455
 
1035
- export type PutSubmissionData = any
1456
+ export type PutSubmissionData = OutputPzb8Fk9Khdf
1036
1457
 
1037
1458
  export type PutSubmissionError = ErrorResponse
1038
1459
 
1039
- export type CreateReassignData = any
1460
+ export type CreateReassignData = OutputYi385Vsix8
1040
1461
 
1041
1462
  export type CreateReassignError = ErrorResponse
1042
1463
 
1043
- export type CreateRejectData = any
1464
+ export type CreateRejectData = OutputOnr3Mpawrg
1044
1465
 
1045
1466
  export type CreateRejectError = ErrorResponse
1046
1467
 
1047
- export type CreateSubmitData = any
1468
+ export type CreateSubmitData = OutputXak33X8F96
1048
1469
 
1049
1470
  export type CreateSubmitError = ErrorResponse
1050
1471
 
1051
- export type CreateGuestData = any
1472
+ export type CreateGuestData = OutputV7Jo8Royz6
1052
1473
 
1053
1474
  export type CreateGuestError = ErrorResponse
1054
1475
 
@@ -1117,7 +1538,7 @@ export enum TypeEnum1 {
1117
1538
  Reimbursement = 'Reimbursement',
1118
1539
  }
1119
1540
 
1120
- export type ListSubmissionsData = any
1541
+ export type ListSubmissionsData = OutputE25Oj2Tzvng
1121
1542
 
1122
1543
  export type ListSubmissionsError = ErrorResponse
1123
1544
 
@@ -1143,7 +1564,7 @@ export enum ListSubmissionsParams1TypeEnum {
1143
1564
  Reimbursement = 'Reimbursement',
1144
1565
  }
1145
1566
 
1146
- export type ListExportData = any
1567
+ export type ListExportData = OutputZemm7Qgig9J
1147
1568
 
1148
1569
  export type ListExportError = ErrorResponse
1149
1570
 
@@ -1285,7 +1706,7 @@ export class HttpClient<SecurityDataType = unknown> {
1285
1706
 
1286
1707
  /**
1287
1708
  * @title Contractor Module API
1288
- * @version 1.0.2
1709
+ * @version 1.0.3
1289
1710
  * @baseUrl http://localhost:8080
1290
1711
  * @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
1291
1712
  */
@@ -1300,13 +1721,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1300
1721
  * @request POST:/code
1301
1722
  * @secure
1302
1723
  */
1303
- createCode: (data: InputEbucity1Z4, params: RequestParams = {}) =>
1724
+ createCode: (data: InputGynn8Jgtxw, params: RequestParams = {}) =>
1304
1725
  this.request<CreateCodeData, CreateCodeError>({
1305
1726
  path: `/code`,
1306
1727
  method: 'POST',
1307
1728
  body: data,
1308
1729
  secure: true,
1309
1730
  type: ContentType.Json,
1731
+ format: 'json',
1310
1732
  ...params,
1311
1733
  }),
1312
1734
 
@@ -1319,13 +1741,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1319
1741
  * @request PUT:/code/{codeID}
1320
1742
  * @secure
1321
1743
  */
1322
- updateCode: (codeId: string, data: InputLrvyo8663G, params: RequestParams = {}) =>
1744
+ updateCode: (codeId: string, data: Input3590Q4Zdmw, params: RequestParams = {}) =>
1323
1745
  this.request<UpdateCodeData, UpdateCodeError>({
1324
1746
  path: `/code/${codeId}`,
1325
1747
  method: 'PUT',
1326
1748
  body: data,
1327
1749
  secure: true,
1328
1750
  type: ContentType.Json,
1751
+ format: 'json',
1329
1752
  ...params,
1330
1753
  }),
1331
1754
 
@@ -1343,6 +1766,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1343
1766
  path: `/code/${codeId}`,
1344
1767
  method: 'DELETE',
1345
1768
  secure: true,
1769
+ format: 'json',
1346
1770
  ...params,
1347
1771
  }),
1348
1772
  }
@@ -1361,6 +1785,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1361
1785
  path: `/codes`,
1362
1786
  method: 'GET',
1363
1787
  secure: true,
1788
+ format: 'json',
1364
1789
  ...params,
1365
1790
  }),
1366
1791
  }
@@ -1374,13 +1799,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1374
1799
  * @request POST:/contractor
1375
1800
  * @secure
1376
1801
  */
1377
- createContractor: (data: InputX0At7Jc9N, params: RequestParams = {}) =>
1802
+ createContractor: (data: InputQ0Tsseay5C, params: RequestParams = {}) =>
1378
1803
  this.request<CreateContractorData, CreateContractorError>({
1379
1804
  path: `/contractor`,
1380
1805
  method: 'POST',
1381
1806
  body: data,
1382
1807
  secure: true,
1383
1808
  type: ContentType.Json,
1809
+ format: 'json',
1384
1810
  ...params,
1385
1811
  }),
1386
1812
 
@@ -1398,6 +1824,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1398
1824
  path: `/contractor/${userId}`,
1399
1825
  method: 'GET',
1400
1826
  secure: true,
1827
+ format: 'json',
1401
1828
  ...params,
1402
1829
  }),
1403
1830
 
@@ -1410,13 +1837,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1410
1837
  * @request PUT:/contractor/{userID}/rates
1411
1838
  * @secure
1412
1839
  */
1413
- updateRates: (userId: string, data: InputO4N90Uymjl, params: RequestParams = {}) =>
1840
+ updateRates: (userId: string, data: InputDpy5Xartkx, params: RequestParams = {}) =>
1414
1841
  this.request<UpdateRatesData, UpdateRatesError>({
1415
1842
  path: `/contractor/${userId}/rates`,
1416
1843
  method: 'PUT',
1417
1844
  body: data,
1418
1845
  secure: true,
1419
1846
  type: ContentType.Json,
1847
+ format: 'json',
1420
1848
  ...params,
1421
1849
  }),
1422
1850
 
@@ -1434,6 +1862,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1434
1862
  path: `/contractor/${userId}/reset-password`,
1435
1863
  method: 'POST',
1436
1864
  secure: true,
1865
+ format: 'json',
1437
1866
  ...params,
1438
1867
  }),
1439
1868
 
@@ -1446,13 +1875,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1446
1875
  * @request PUT:/contractor/{userID}/status
1447
1876
  * @secure
1448
1877
  */
1449
- updateStatus: (userId: string, data: Input4M0Lv5Ahsw, params: RequestParams = {}) =>
1878
+ updateStatus: (userId: string, data: InputQ1P0He9Mbi, params: RequestParams = {}) =>
1450
1879
  this.request<UpdateStatusData, UpdateStatusError>({
1451
1880
  path: `/contractor/${userId}/status`,
1452
1881
  method: 'PUT',
1453
1882
  body: data,
1454
1883
  secure: true,
1455
1884
  type: ContentType.Json,
1885
+ format: 'json',
1456
1886
  ...params,
1457
1887
  }),
1458
1888
  }
@@ -1472,6 +1902,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1472
1902
  method: 'GET',
1473
1903
  query: query,
1474
1904
  secure: true,
1905
+ format: 'json',
1475
1906
  ...params,
1476
1907
  }),
1477
1908
  }
@@ -1485,13 +1916,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1485
1916
  * @request POST:/department
1486
1917
  * @secure
1487
1918
  */
1488
- createDepartment: (data: InputD79Au0K6W5, params: RequestParams = {}) =>
1919
+ createDepartment: (data: InputHykveqk83F, params: RequestParams = {}) =>
1489
1920
  this.request<CreateDepartmentData, CreateDepartmentError>({
1490
1921
  path: `/department`,
1491
1922
  method: 'POST',
1492
1923
  body: data,
1493
1924
  secure: true,
1494
1925
  type: ContentType.Json,
1926
+ format: 'json',
1495
1927
  ...params,
1496
1928
  }),
1497
1929
 
@@ -1504,13 +1936,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1504
1936
  * @request PUT:/department/{departmentID}
1505
1937
  * @secure
1506
1938
  */
1507
- updateDepartment: (departmentId: string, data: InputTktzkj8J4D, params: RequestParams = {}) =>
1939
+ updateDepartment: (departmentId: string, data: InputMpn62Brs14, params: RequestParams = {}) =>
1508
1940
  this.request<UpdateDepartmentData, UpdateDepartmentError>({
1509
1941
  path: `/department/${departmentId}`,
1510
1942
  method: 'PUT',
1511
1943
  body: data,
1512
1944
  secure: true,
1513
1945
  type: ContentType.Json,
1946
+ format: 'json',
1514
1947
  ...params,
1515
1948
  }),
1516
1949
 
@@ -1528,6 +1961,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1528
1961
  path: `/department/${departmentId}`,
1529
1962
  method: 'DELETE',
1530
1963
  secure: true,
1964
+ format: 'json',
1531
1965
  ...params,
1532
1966
  }),
1533
1967
 
@@ -1540,13 +1974,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1540
1974
  * @request POST:/department/{departmentID}/admin
1541
1975
  * @secure
1542
1976
  */
1543
- createAdmin: (departmentId: string, data: InputGxh0Yjattn, params: RequestParams = {}) =>
1977
+ createAdmin: (departmentId: string, data: Input6G7Aexaiyj, params: RequestParams = {}) =>
1544
1978
  this.request<CreateAdminData, CreateAdminError>({
1545
1979
  path: `/department/${departmentId}/admin`,
1546
1980
  method: 'POST',
1547
1981
  body: data,
1548
1982
  secure: true,
1549
1983
  type: ContentType.Json,
1984
+ format: 'json',
1550
1985
  ...params,
1551
1986
  }),
1552
1987
 
@@ -1564,6 +1999,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1564
1999
  path: `/department/${departmentId}/admin/${userId}`,
1565
2000
  method: 'DELETE',
1566
2001
  secure: true,
2002
+ format: 'json',
1567
2003
  ...params,
1568
2004
  }),
1569
2005
  }
@@ -1582,6 +2018,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1582
2018
  path: `/departments`,
1583
2019
  method: 'GET',
1584
2020
  secure: true,
2021
+ format: 'json',
1585
2022
  ...params,
1586
2023
  }),
1587
2024
  }
@@ -1600,6 +2037,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1600
2037
  path: `/settings`,
1601
2038
  method: 'GET',
1602
2039
  secure: true,
2040
+ format: 'json',
1603
2041
  ...params,
1604
2042
  }),
1605
2043
 
@@ -1612,13 +2050,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1612
2050
  * @request PUT:/settings/rates
1613
2051
  * @secure
1614
2052
  */
1615
- updateRates: (data: InputEh0Dqq1G7Q, params: RequestParams = {}) =>
2053
+ updateRates: (data: InputVy76Ep3Yt9, params: RequestParams = {}) =>
1616
2054
  this.request<UpdateRatesResult, UpdateRatesFail>({
1617
2055
  path: `/settings/rates`,
1618
2056
  method: 'PUT',
1619
2057
  body: data,
1620
2058
  secure: true,
1621
2059
  type: ContentType.Json,
2060
+ format: 'json',
1622
2061
  ...params,
1623
2062
  }),
1624
2063
 
@@ -1631,13 +2070,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1631
2070
  * @request PUT:/settings/maximums
1632
2071
  * @secure
1633
2072
  */
1634
- updateMaximums: (data: InputTiewwv56Cc, params: RequestParams = {}) =>
2073
+ updateMaximums: (data: InputBqpsmt6Mzvk, params: RequestParams = {}) =>
1635
2074
  this.request<UpdateMaximumsData, UpdateMaximumsError>({
1636
2075
  path: `/settings/maximums`,
1637
2076
  method: 'PUT',
1638
2077
  body: data,
1639
2078
  secure: true,
1640
2079
  type: ContentType.Json,
2080
+ format: 'json',
1641
2081
  ...params,
1642
2082
  }),
1643
2083
 
@@ -1650,13 +2090,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1650
2090
  * @request PUT:/settings/reminders
1651
2091
  * @secure
1652
2092
  */
1653
- updateReminders: (data: InputBt0Uuj40Knj, params: RequestParams = {}) =>
2093
+ updateReminders: (data: Input7Hdngoq8Gu, params: RequestParams = {}) =>
1654
2094
  this.request<UpdateRemindersData, UpdateRemindersError>({
1655
2095
  path: `/settings/reminders`,
1656
2096
  method: 'PUT',
1657
2097
  body: data,
1658
2098
  secure: true,
1659
2099
  type: ContentType.Json,
2100
+ format: 'json',
1660
2101
  ...params,
1661
2102
  }),
1662
2103
  }
@@ -1670,13 +2111,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1670
2111
  * @request POST:/submission
1671
2112
  * @secure
1672
2113
  */
1673
- createSubmission: (data: InputIjeu6D8I3B, params: RequestParams = {}) =>
2114
+ createSubmission: (data: InputMvlou4Qbkk, params: RequestParams = {}) =>
1674
2115
  this.request<CreateSubmissionData, CreateSubmissionError>({
1675
2116
  path: `/submission`,
1676
2117
  method: 'POST',
1677
2118
  body: data,
1678
2119
  secure: true,
1679
2120
  type: ContentType.Json,
2121
+ format: 'json',
1680
2122
  ...params,
1681
2123
  }),
1682
2124
 
@@ -1694,6 +2136,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1694
2136
  path: `/submission/${submissionId}`,
1695
2137
  method: 'GET',
1696
2138
  secure: true,
2139
+ format: 'json',
1697
2140
  ...params,
1698
2141
  }),
1699
2142
 
@@ -1706,13 +2149,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1706
2149
  * @request PUT:/submission/{submissionID}
1707
2150
  * @secure
1708
2151
  */
1709
- updateSubmission: (submissionId: string, data: InputKvk7Y9Qob6, params: RequestParams = {}) =>
2152
+ updateSubmission: (submissionId: string, data: InputN254Qwnxan, params: RequestParams = {}) =>
1710
2153
  this.request<UpdateSubmissionData, UpdateSubmissionError>({
1711
2154
  path: `/submission/${submissionId}`,
1712
2155
  method: 'PUT',
1713
2156
  body: data,
1714
2157
  secure: true,
1715
2158
  type: ContentType.Json,
2159
+ format: 'json',
1716
2160
  ...params,
1717
2161
  }),
1718
2162
 
@@ -1730,6 +2174,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1730
2174
  path: `/submission/${submissionId}`,
1731
2175
  method: 'DELETE',
1732
2176
  secure: true,
2177
+ format: 'json',
1733
2178
  ...params,
1734
2179
  }),
1735
2180
 
@@ -1747,6 +2192,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1747
2192
  path: `/submission/${submissionId}/approve`,
1748
2193
  method: 'POST',
1749
2194
  secure: true,
2195
+ format: 'json',
1750
2196
  ...params,
1751
2197
  }),
1752
2198
 
@@ -1759,13 +2205,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1759
2205
  * @request PUT:/submission/{submissionID}/codes
1760
2206
  * @secure
1761
2207
  */
1762
- updateCodes: (submissionId: string, data: InputZuufi5Flop, params: RequestParams = {}) =>
2208
+ updateCodes: (submissionId: string, data: Input69356Dh72I, params: RequestParams = {}) =>
1763
2209
  this.request<UpdateCodesData, UpdateCodesError>({
1764
2210
  path: `/submission/${submissionId}/codes`,
1765
2211
  method: 'PUT',
1766
2212
  body: data,
1767
2213
  secure: true,
1768
2214
  type: ContentType.Json,
2215
+ format: 'json',
1769
2216
  ...params,
1770
2217
  }),
1771
2218
 
@@ -1778,13 +2225,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1778
2225
  * @request POST:/submission/{submissionID}/file
1779
2226
  * @secure
1780
2227
  */
1781
- createFile: (submissionId: string, data: InputKn0Y6Bn1Yz, params: RequestParams = {}) =>
2228
+ createFile: (submissionId: string, data: InputBz6Upt6Fli, params: RequestParams = {}) =>
1782
2229
  this.request<CreateFileData, CreateFileError>({
1783
2230
  path: `/submission/${submissionId}/file`,
1784
2231
  method: 'POST',
1785
2232
  body: data,
1786
2233
  secure: true,
1787
2234
  type: ContentType.Json,
2235
+ format: 'json',
1788
2236
  ...params,
1789
2237
  }),
1790
2238
 
@@ -1802,6 +2250,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1802
2250
  path: `/submission/${submissionId}/file/${fileId}`,
1803
2251
  method: 'GET',
1804
2252
  secure: true,
2253
+ format: 'json',
1805
2254
  ...params,
1806
2255
  }),
1807
2256
 
@@ -1819,6 +2268,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1819
2268
  path: `/submission/${submissionId}/paid`,
1820
2269
  method: 'POST',
1821
2270
  secure: true,
2271
+ format: 'json',
1822
2272
  ...params,
1823
2273
  }),
1824
2274
 
@@ -1836,6 +2286,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1836
2286
  path: `/submission/${submissionId}/pdf`,
1837
2287
  method: 'GET',
1838
2288
  secure: true,
2289
+ format: 'json',
1839
2290
  ...params,
1840
2291
  }),
1841
2292
 
@@ -1848,13 +2299,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1848
2299
  * @request PUT:/submission/{submissionID}/po
1849
2300
  * @secure
1850
2301
  */
1851
- putSubmission: (submissionId: string, data: Input4Tvfg8Mse4, params: RequestParams = {}) =>
2302
+ putSubmission: (submissionId: string, data: InputPzb8Fk9Khdf, params: RequestParams = {}) =>
1852
2303
  this.request<PutSubmissionData, PutSubmissionError>({
1853
2304
  path: `/submission/${submissionId}/po`,
1854
2305
  method: 'PUT',
1855
2306
  body: data,
1856
2307
  secure: true,
1857
2308
  type: ContentType.Json,
2309
+ format: 'json',
1858
2310
  ...params,
1859
2311
  }),
1860
2312
 
@@ -1867,13 +2319,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1867
2319
  * @request POST:/submission/{submissionID}/reassign
1868
2320
  * @secure
1869
2321
  */
1870
- createReassign: (submissionId: string, data: InputWmkkwhx1Bo, params: RequestParams = {}) =>
2322
+ createReassign: (submissionId: string, data: InputYi385Vsix8, params: RequestParams = {}) =>
1871
2323
  this.request<CreateReassignData, CreateReassignError>({
1872
2324
  path: `/submission/${submissionId}/reassign`,
1873
2325
  method: 'POST',
1874
2326
  body: data,
1875
2327
  secure: true,
1876
2328
  type: ContentType.Json,
2329
+ format: 'json',
1877
2330
  ...params,
1878
2331
  }),
1879
2332
 
@@ -1891,6 +2344,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1891
2344
  path: `/submission/${submissionId}/reject`,
1892
2345
  method: 'POST',
1893
2346
  secure: true,
2347
+ format: 'json',
1894
2348
  ...params,
1895
2349
  }),
1896
2350
 
@@ -1908,6 +2362,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1908
2362
  path: `/submission/${submissionId}/submit`,
1909
2363
  method: 'POST',
1910
2364
  secure: true,
2365
+ format: 'json',
1911
2366
  ...params,
1912
2367
  }),
1913
2368
 
@@ -1920,13 +2375,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1920
2375
  * @request POST:/submission/guest
1921
2376
  * @secure
1922
2377
  */
1923
- createGuest: (data: InputJiuwxuwhbyj, params: RequestParams = {}) =>
2378
+ createGuest: (data: InputV7Jo8Royz6, params: RequestParams = {}) =>
1924
2379
  this.request<CreateGuestData, CreateGuestError>({
1925
2380
  path: `/submission/guest`,
1926
2381
  method: 'POST',
1927
2382
  body: data,
1928
2383
  secure: true,
1929
2384
  type: ContentType.Json,
2385
+ format: 'json',
1930
2386
  ...params,
1931
2387
  }),
1932
2388
  }
@@ -1946,6 +2402,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1946
2402
  method: 'GET',
1947
2403
  query: query,
1948
2404
  secure: true,
2405
+ format: 'json',
1949
2406
  ...params,
1950
2407
  }),
1951
2408
 
@@ -1963,6 +2420,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1963
2420
  path: `/submissions/export`,
1964
2421
  method: 'GET',
1965
2422
  secure: true,
2423
+ format: 'json',
1966
2424
  ...params,
1967
2425
  }),
1968
2426
  }