create consumer domain until pos list
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
export interface IComplexRawResponse {
|
||||
name: string;
|
||||
address: string;
|
||||
tax_id: string;
|
||||
id: string;
|
||||
}
|
||||
export interface IComplexResponse extends IComplexRawResponse {}
|
||||
|
||||
export interface IComplexRequest {
|
||||
name: string;
|
||||
address: string;
|
||||
tax_id: string;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export * from './complexes_io';
|
||||
export * from './io';
|
||||
export * from './poses_io';
|
||||
@@ -0,0 +1,12 @@
|
||||
import ISummary from '@/core/models/summary';
|
||||
|
||||
export interface IBusinessActivityRawResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
guild: ISummary;
|
||||
}
|
||||
export interface IBusinessActivityResponse extends IBusinessActivityRawResponse {}
|
||||
|
||||
export interface IBusinessActivityRequest {
|
||||
name: string;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import ISummary from '@/core/models/summary';
|
||||
|
||||
export interface IPosRawResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
serial: string;
|
||||
model?: string;
|
||||
status: string;
|
||||
pos_type: string;
|
||||
complex: ISummary;
|
||||
device?: ISummary;
|
||||
provider?: ISummary;
|
||||
}
|
||||
export interface IPosResponse extends IPosRawResponse {}
|
||||
|
||||
export interface IPosRequest {
|
||||
name: string;
|
||||
serial: string;
|
||||
model?: string;
|
||||
status: string;
|
||||
pos_type: string;
|
||||
device_id: string;
|
||||
provider_id: string;
|
||||
}
|
||||
Reference in New Issue
Block a user