crap
This commit is contained in:
10
src/client/models/DealAddServiceRequest.ts
Normal file
10
src/client/models/DealAddServiceRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealAddServiceRequest = {
|
||||
dealId: number;
|
||||
serviceId: number;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealAddServiceResponse.ts
Normal file
9
src/client/models/DealAddServiceResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealAddServiceResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteServiceRequest.ts
Normal file
9
src/client/models/DealDeleteServiceRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteServiceRequest = {
|
||||
dealId: number;
|
||||
serviceId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteServiceResponse.ts
Normal file
9
src/client/models/DealDeleteServiceResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteServiceResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteServicesRequest.ts
Normal file
9
src/client/models/DealDeleteServicesRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteServicesRequest = {
|
||||
dealId: number;
|
||||
serviceIds: Array<number>;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteServicesResponse.ts
Normal file
9
src/client/models/DealDeleteServicesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteServicesResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DealGetAllResponse.ts
Normal file
9
src/client/models/DealGetAllResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealSchema } from './DealSchema';
|
||||
export type DealGetAllResponse = {
|
||||
deals: Array<DealSchema>;
|
||||
};
|
||||
|
||||
14
src/client/models/DealSchema.ts
Normal file
14
src/client/models/DealSchema.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
export type DealSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
clientId: number;
|
||||
createdAt: string;
|
||||
currentStatus: number;
|
||||
services: Array<DealServiceSchema>;
|
||||
};
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ServiceSchema } from './ServiceSchema';
|
||||
export type DealServiceSchema = {
|
||||
id: number;
|
||||
service: ServiceSchema;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
|
||||
10
src/client/models/DealUpdateServiceQuantityRequest.ts
Normal file
10
src/client/models/DealUpdateServiceQuantityRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateServiceQuantityRequest = {
|
||||
dealId: number;
|
||||
serviceId: number;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealUpdateServiceQuantityResponse.ts
Normal file
9
src/client/models/DealUpdateServiceQuantityResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateServiceQuantityResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user