@react-pakistan/util-functions 1.24.73 → 1.24.75

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.
@@ -168,7 +168,7 @@ var unitCustomerByPhone = function (_a) { return __awaiter(void 0, [_a], void 0,
168
168
  throw new Error('Phone number is required');
169
169
  }
170
170
  include = {
171
- quotesInvoices: includeQuotesInvoices,
171
+ quoteInvoices: includeQuotesInvoices,
172
172
  };
173
173
  where = { phone: phone };
174
174
  return [4 /*yield*/, prisma.customer.findUnique({
@@ -182,7 +182,7 @@ export interface CustomerBE extends TimestampFields {
182
182
  email?: string;
183
183
  firstName: string;
184
184
  id: string;
185
- invoices: Array<QuoteInvoiceBE>;
185
+ quotesInvoices: Array<QuoteInvoiceBE>;
186
186
  lastName: string;
187
187
  phone: string;
188
188
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-pakistan/util-functions",
3
- "version": "1.24.73",
3
+ "version": "1.24.75",
4
4
  "description": "A library of all util functions",
5
5
  "main": "index.js",
6
6
  "scripts": {