@ikonintegration/module-contractor-api 1.0.4 → 1.0.6
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 +27 -41
- package/dist/Api.d.ts +1635 -0
- package/dist/Api.js +899 -0
- package/dist/Api.js.map +1 -0
- package/package.json +1 -1
package/Api.ts
CHANGED
|
@@ -219,16 +219,19 @@ export interface PutContractorStatusResponseSchema {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/** List of contractors */
|
|
222
|
-
export
|
|
223
|
-
/**
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
222
|
+
export interface GetContractorsResponseSchema {
|
|
223
|
+
/** List of contractors */
|
|
224
|
+
contractors: {
|
|
225
|
+
/** Contractor user ID */
|
|
226
|
+
userID: string
|
|
227
|
+
/** Contractor name */
|
|
228
|
+
name: string
|
|
229
|
+
/** Contractor email */
|
|
230
|
+
email: string
|
|
231
|
+
/** Local account status */
|
|
232
|
+
localStatus?: string
|
|
233
|
+
}[]
|
|
234
|
+
}
|
|
232
235
|
|
|
233
236
|
export interface CreateDepartmentSchema {
|
|
234
237
|
/**
|
|
@@ -291,7 +294,7 @@ export interface DeleteDepartmentResponseSchema {
|
|
|
291
294
|
/** Deleted department ID */
|
|
292
295
|
departmentID: string
|
|
293
296
|
/** Deletion confirmation */
|
|
294
|
-
deleted:
|
|
297
|
+
deleted: boolean
|
|
295
298
|
}
|
|
296
299
|
|
|
297
300
|
export interface AssociateAdminSchema {
|
|
@@ -320,16 +323,19 @@ export interface DeleteDepartmentAdminResponseSchema {
|
|
|
320
323
|
/** Removed administrator user ID */
|
|
321
324
|
userID: string
|
|
322
325
|
/** Removal confirmation */
|
|
323
|
-
removed:
|
|
326
|
+
removed: boolean
|
|
324
327
|
}
|
|
325
328
|
|
|
326
329
|
/** List of departments (public fields) */
|
|
327
|
-
export
|
|
328
|
-
/**
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
330
|
+
export interface GetDepartmentsResponseSchema {
|
|
331
|
+
/** List of departments */
|
|
332
|
+
departments: {
|
|
333
|
+
/** Department unique identifier */
|
|
334
|
+
departmentID: string
|
|
335
|
+
/** Department name */
|
|
336
|
+
name: string
|
|
337
|
+
}[]
|
|
338
|
+
}
|
|
333
339
|
|
|
334
340
|
/** System settings */
|
|
335
341
|
export interface GetSettingsResponseSchema {
|
|
@@ -724,7 +730,7 @@ export interface DeleteSubmissionResponseSchema {
|
|
|
724
730
|
/** Deleted submission ID */
|
|
725
731
|
submissionID: string
|
|
726
732
|
/** Deletion confirmation */
|
|
727
|
-
deleted:
|
|
733
|
+
deleted: boolean
|
|
728
734
|
}
|
|
729
735
|
|
|
730
736
|
/** Approval result */
|
|
@@ -873,7 +879,7 @@ export interface PostReassignResponseSchema {
|
|
|
873
879
|
/** New department ID */
|
|
874
880
|
departmentID: string
|
|
875
881
|
/** Reassignment confirmation */
|
|
876
|
-
reassigned:
|
|
882
|
+
reassigned: boolean
|
|
877
883
|
}
|
|
878
884
|
|
|
879
885
|
/** Rejection result */
|
|
@@ -1020,16 +1026,6 @@ export enum UpdateContractorStatusSchemaStatusEnum {
|
|
|
1020
1026
|
Disabled = 'disabled',
|
|
1021
1027
|
}
|
|
1022
1028
|
|
|
1023
|
-
/** Deletion confirmation */
|
|
1024
|
-
export enum DeleteDepartmentResponseSchemaDeletedEnum {
|
|
1025
|
-
True = true,
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
/** Removal confirmation */
|
|
1029
|
-
export enum DeleteDepartmentAdminResponseSchemaRemovedEnum {
|
|
1030
|
-
True = true,
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
1029
|
/**
|
|
1034
1030
|
* Submission type
|
|
1035
1031
|
* @example "Submission"
|
|
@@ -1079,11 +1075,6 @@ export enum UpdateSubmissionSchemaTypeEnum {
|
|
|
1079
1075
|
Reimbursement = 'Reimbursement',
|
|
1080
1076
|
}
|
|
1081
1077
|
|
|
1082
|
-
/** Deletion confirmation */
|
|
1083
|
-
export enum DeleteSubmissionResponseSchemaDeletedEnum {
|
|
1084
|
-
True = true,
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
1078
|
/** The section to assign the code to */
|
|
1088
1079
|
export enum SubmissionCodeItemSchemaSectionEnum {
|
|
1089
1080
|
Service = 'Service',
|
|
@@ -1095,11 +1086,6 @@ export enum GetPdfResponseSchemaContentTypeEnum {
|
|
|
1095
1086
|
ApplicationPdf = 'application/pdf',
|
|
1096
1087
|
}
|
|
1097
1088
|
|
|
1098
|
-
/** Reassignment confirmation */
|
|
1099
|
-
export enum PostReassignResponseSchemaReassignedEnum {
|
|
1100
|
-
True = true,
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
1089
|
/**
|
|
1104
1090
|
* Content type (must be application/pdf for guest)
|
|
1105
1091
|
* @example "application/pdf"
|
|
@@ -1513,7 +1499,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
1513
1499
|
|
|
1514
1500
|
/**
|
|
1515
1501
|
* @title Contractor Module API
|
|
1516
|
-
* @version 1.0.
|
|
1502
|
+
* @version 1.0.6
|
|
1517
1503
|
* @baseUrl http://localhost:8080
|
|
1518
1504
|
* @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
|
|
1519
1505
|
*/
|