feat: billing for groups of deals

This commit is contained in:
2024-11-15 20:29:59 +04:00
parent 90530f0530
commit 70aff26dcd
8 changed files with 29 additions and 9 deletions

View File

@@ -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;
};

View File

@@ -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);
};

View File

@@ -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);
};

View 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);
};