shopoflex-types 1.0.214 → 1.0.215

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.
@@ -1,4 +1,4 @@
1
- import { PaginatedResponse } from "./common";
1
+ import { PaginatedResponse, PaymentMethodType } from "./common";
2
2
  export interface SupplierContactInfo {
3
3
  email?: string;
4
4
  phone?: string;
@@ -70,6 +70,7 @@ export interface ExpenseType {
70
70
  receiptUrl?: string;
71
71
  isPaid: boolean;
72
72
  paidDate?: Date;
73
+ paymentMethod?: PaymentMethodType;
73
74
  approvalStatus: 'pending' | 'approved' | 'rejected';
74
75
  sessionId?: string;
75
76
  terminalId?: string;
package/dist/filters.d.ts CHANGED
@@ -4,6 +4,8 @@ export interface BaseFilters {
4
4
  limit?: number;
5
5
  sortBy?: string;
6
6
  sortOrder?: 'asc' | 'desc';
7
+ /** Comma-separated include-only field projection, e.g. "name,variants.sku" */
8
+ fields?: string;
7
9
  }
8
10
  export interface ProductFilters extends BaseFilters {
9
11
  isActive?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.214",
3
+ "version": "1.0.215",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",