diff --git a/src/types/api/master-data/nonstock.d.ts b/src/types/api/master-data/nonstock.d.ts new file mode 100644 index 00000000..682f7852 --- /dev/null +++ b/src/types/api/master-data/nonstock.d.ts @@ -0,0 +1,18 @@ +import { BaseApiResponse } from '@/types/api/api-general'; + +export type Nonstock = { + id: number; + name: string; +}; + +export type CreateNonstockPayload = { + name: string; +}; + +export type UpdateNonstockPayload = CreateNonstockPayload; + +export type NonstockResponse = BaseApiResponse; + +export type NonstocksResponse = BaseApiResponse; + +export type DeleteNonstockResponse = BaseApiResponse;