feat: billing for groups of deals
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import type { BillPaymentStatus } from './BillPaymentStatus';
|
||||
import type { NotificationChannel } from './NotificationChannel';
|
||||
export type BillStatusUpdateRequest = {
|
||||
listenerTransactionId: number;
|
||||
listenerTransactionId: (number | string);
|
||||
channel: NotificationChannel;
|
||||
info: BillPaymentStatus;
|
||||
};
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { GroupBillRequestSchema } from './GroupBillRequestSchema';
|
||||
export type DealGroupSchema = {
|
||||
id: number;
|
||||
name?: (string | null);
|
||||
lexorank: string;
|
||||
billRequest?: (GroupBillRequestSchema | null);
|
||||
};
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
/* eslint-disable */
|
||||
import type { ClientSchema } from './ClientSchema';
|
||||
import type { DealBillRequestSchema } from './DealBillRequestSchema';
|
||||
import type { DealGroupSchema } from './DealGroupSchema';
|
||||
import type { DealProductSchema } from './DealProductSchema';
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
import type { DealStatusHistorySchema } from './DealStatusHistorySchema';
|
||||
@@ -26,6 +27,7 @@ export type DealSchema = {
|
||||
shippingWarehouse?: (ShippingWarehouseSchema | string | null);
|
||||
billRequest?: (DealBillRequestSchema | null);
|
||||
category?: (ServicePriceCategorySchema | null);
|
||||
group?: (DealGroupSchema | null);
|
||||
deliveryDate?: (string | null);
|
||||
receivingSlotDate?: (string | null);
|
||||
};
|
||||
|
||||
12
src/client/models/GroupBillRequestSchema.ts
Normal file
12
src/client/models/GroupBillRequestSchema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GroupBillRequestSchema = {
|
||||
groupId: number;
|
||||
createdAt: string;
|
||||
paid: boolean;
|
||||
pdfUrl: (string | null);
|
||||
invoiceNumber: (string | null);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user