k
This commit is contained in:
9
src/client/models/CreatePayRateRequest.ts
Normal file
9
src/client/models/CreatePayRateRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayRateSchemaBase } from './PayRateSchemaBase';
|
||||
export type CreatePayRateRequest = {
|
||||
data: PayRateSchemaBase;
|
||||
};
|
||||
|
||||
9
src/client/models/CreatePayRateResponse.ts
Normal file
9
src/client/models/CreatePayRateResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type CreatePayRateResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/CreatePaymentRecordRequest.ts
Normal file
9
src/client/models/CreatePaymentRecordRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PaymentRecordCreateSchema } from './PaymentRecordCreateSchema';
|
||||
export type CreatePaymentRecordRequest = {
|
||||
data: PaymentRecordCreateSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/CreatePaymentRecordResponse.ts
Normal file
9
src/client/models/CreatePaymentRecordResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type CreatePaymentRecordResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
8
src/client/models/DeletePayRateRequest.ts
Normal file
8
src/client/models/DeletePayRateRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DeletePayRateRequest = {
|
||||
payRateId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DeletePayRateResponse.ts
Normal file
9
src/client/models/DeletePayRateResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DeletePayRateResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
8
src/client/models/DeletePaymentRecordRequest.ts
Normal file
8
src/client/models/DeletePaymentRecordRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DeletePaymentRecordRequest = {
|
||||
paymentRecordId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DeletePaymentRecordResponse.ts
Normal file
9
src/client/models/DeletePaymentRecordResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DeletePaymentRecordResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/GetAllPayRatesResponse.ts
Normal file
9
src/client/models/GetAllPayRatesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayRateSchema } from './PayRateSchema';
|
||||
export type GetAllPayRatesResponse = {
|
||||
payRates: Array<PayRateSchema>;
|
||||
};
|
||||
|
||||
9
src/client/models/GetAllPayrollSchemeResponse.ts
Normal file
9
src/client/models/GetAllPayrollSchemeResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayrollSchemeSchema } from './PayrollSchemeSchema';
|
||||
export type GetAllPayrollSchemeResponse = {
|
||||
payrollSchemas: Array<PayrollSchemeSchema>;
|
||||
};
|
||||
|
||||
11
src/client/models/GetPaymentRecordsResponse.ts
Normal file
11
src/client/models/GetPaymentRecordsResponse.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PaginationInfoSchema } from './PaginationInfoSchema';
|
||||
import type { PaymentRecordGetSchema } from './PaymentRecordGetSchema';
|
||||
export type GetPaymentRecordsResponse = {
|
||||
paymentRecords: Array<PaymentRecordGetSchema>;
|
||||
paginationInfo: PaginationInfoSchema;
|
||||
};
|
||||
|
||||
14
src/client/models/PayRateSchema.ts
Normal file
14
src/client/models/PayRateSchema.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayrollSchemeSchema } from './PayrollSchemeSchema';
|
||||
export type PayRateSchema = {
|
||||
name: string;
|
||||
payrollScheme: PayrollSchemeSchema;
|
||||
baseRate: number;
|
||||
overtimeRate?: (number | null);
|
||||
overtimeThreshold?: (number | null);
|
||||
id: number;
|
||||
};
|
||||
|
||||
13
src/client/models/PayRateSchemaBase.ts
Normal file
13
src/client/models/PayRateSchemaBase.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayrollSchemeSchema } from './PayrollSchemeSchema';
|
||||
export type PayRateSchemaBase = {
|
||||
name: string;
|
||||
payrollScheme: PayrollSchemeSchema;
|
||||
baseRate: number;
|
||||
overtimeRate?: (number | null);
|
||||
overtimeThreshold?: (number | null);
|
||||
};
|
||||
|
||||
12
src/client/models/PaymentRecordCreateSchema.ts
Normal file
12
src/client/models/PaymentRecordCreateSchema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { UserSchema } from './UserSchema';
|
||||
export type PaymentRecordCreateSchema = {
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
workUnits: number;
|
||||
user: UserSchema;
|
||||
};
|
||||
|
||||
18
src/client/models/PaymentRecordGetSchema.ts
Normal file
18
src/client/models/PaymentRecordGetSchema.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayrollSchemeSchema } from './PayrollSchemeSchema';
|
||||
import type { UserSchema } from './UserSchema';
|
||||
export type PaymentRecordGetSchema = {
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
workUnits: number;
|
||||
user: UserSchema;
|
||||
id: number;
|
||||
createdByUser: UserSchema;
|
||||
payrollScheme: PayrollSchemeSchema;
|
||||
amount: number;
|
||||
createdAt: string;
|
||||
};
|
||||
|
||||
9
src/client/models/PayrollSchemeSchema.ts
Normal file
9
src/client/models/PayrollSchemeSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type PayrollSchemeSchema = {
|
||||
key: string;
|
||||
name: string;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdatePayRateRequest.ts
Normal file
9
src/client/models/UpdatePayRateRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayRateSchema } from './PayRateSchema';
|
||||
export type UpdatePayRateRequest = {
|
||||
data: PayRateSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdatePayRateResponse.ts
Normal file
9
src/client/models/UpdatePayRateResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdatePayRateResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayRateSchema } from './PayRateSchema';
|
||||
import type { PositionSchema } from './PositionSchema';
|
||||
import type { RoleSchema } from './RoleSchema';
|
||||
export type UserSchema = {
|
||||
@@ -15,6 +16,7 @@ export type UserSchema = {
|
||||
isBlocked: boolean;
|
||||
isDeleted: boolean;
|
||||
roleKey: string;
|
||||
payRate?: (PayRateSchema | null);
|
||||
role: RoleSchema;
|
||||
position?: (PositionSchema | null);
|
||||
};
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PayRateSchema } from './PayRateSchema';
|
||||
export type UserUpdate = {
|
||||
id: number;
|
||||
telegramId: number;
|
||||
@@ -13,6 +14,7 @@ export type UserUpdate = {
|
||||
isBlocked: boolean;
|
||||
isDeleted: boolean;
|
||||
roleKey: string;
|
||||
payRate?: (PayRateSchema | null);
|
||||
positionKey?: (string | null);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user