@react-pakistan/util-functions 1.24.16 → 1.24.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,39 +14,6 @@ interface PostQuotesInvoicesArgs {
|
|
|
14
14
|
[key: string]: any;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
interface PostQuoteInvoiceArgs {
|
|
18
|
-
address: string;
|
|
19
|
-
category: string;
|
|
20
|
-
city: string;
|
|
21
|
-
companyId: string;
|
|
22
|
-
country: string;
|
|
23
|
-
createdAt: string;
|
|
24
|
-
currency: string;
|
|
25
|
-
customerId: string;
|
|
26
|
-
date: string;
|
|
27
|
-
discount: string;
|
|
28
|
-
discountUnit: string;
|
|
29
|
-
email: string;
|
|
30
|
-
expiryDate: string;
|
|
31
|
-
firstName: string;
|
|
32
|
-
id: string;
|
|
33
|
-
invoiceStatus: string;
|
|
34
|
-
lastName: string;
|
|
35
|
-
mode: string;
|
|
36
|
-
note: string;
|
|
37
|
-
phone: string;
|
|
38
|
-
prisma: any;
|
|
39
|
-
products: [{
|
|
40
|
-
id: string;
|
|
41
|
-
productQuantity: string;
|
|
42
|
-
}] | undefined;
|
|
43
|
-
quoteStatus: string;
|
|
44
|
-
ref: string;
|
|
45
|
-
services: any[] | undefined;
|
|
46
|
-
subTotal: string;
|
|
47
|
-
taxValue: string;
|
|
48
|
-
total: string;
|
|
49
|
-
}
|
|
50
17
|
interface DeleteQuoteInvoiceArgs {
|
|
51
18
|
prisma: any;
|
|
52
19
|
id: string;
|
|
@@ -54,6 +21,6 @@ interface DeleteQuoteInvoiceArgs {
|
|
|
54
21
|
export declare const getQuotesInvoices: ({ prisma, }: GetQuotesInvoicesArgs) => Promise<Array<QuoteInvoiceBE>>;
|
|
55
22
|
export declare const getQuoteInvoiceById: ({ prisma, id, }: GetQuoteInvoiceByIdArgs) => Promise<QuoteInvoiceBE>;
|
|
56
23
|
export declare const postQuotesInvoices: ({ currentPage, pageLimit, prisma, queryWhere, }: PostQuotesInvoicesArgs) => Promise<Array<QuoteInvoiceBE>>;
|
|
57
|
-
export declare const postQuoteInvoice: ({ address, category, city, companyId, country, currency, customerId, date, discount, discountUnit, email, expiryDate, firstName, id, invoiceStatus, lastName, mode, note, phone, prisma, products, quoteStatus, ref, services, subTotal, taxValue, total, }:
|
|
24
|
+
export declare const postQuoteInvoice: ({ address, category, city, companyId, country, currency, customerId, date, discount, discountUnit, email, expiryDate, firstName, id, invoiceStatus, lastName, mode, note, phone, prisma, products, quoteStatus, ref, services, subTotal, taxValue, total, }: any) => Promise<QuoteInvoiceBE>;
|
|
58
25
|
export declare const deleteQuoteInvoice: ({ prisma, id, }: DeleteQuoteInvoiceArgs) => Promise<QuoteInvoiceBE>;
|
|
59
26
|
export {};
|
|
@@ -286,6 +286,7 @@ var postQuoteInvoice = function (_a) { return __awaiter(void 0, [_a], void 0, fu
|
|
|
286
286
|
return [3 /*break*/, 12];
|
|
287
287
|
case 11:
|
|
288
288
|
err_1 = _d.sent();
|
|
289
|
+
console.log('err lib', err_1);
|
|
289
290
|
return [3 /*break*/, 12];
|
|
290
291
|
case 12: return [2 /*return*/, quoteInvoice];
|
|
291
292
|
}
|