sinfactura-types 1.6.13 → 1.6.15

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.
package/dist/stock.d.ts CHANGED
@@ -8,7 +8,7 @@ declare global {
8
8
  }
9
9
  interface StockIncome extends StockBase {
10
10
  quantity: number;
11
- supplierId?: number;
11
+ supplierId?: string;
12
12
  supplierName?: string;
13
13
  }
14
14
  interface StockSale extends StockBase {
package/dist/store.d.ts CHANGED
@@ -273,5 +273,10 @@ declare global {
273
273
  id: number;
274
274
  name: string;
275
275
  }
276
+ type StoreWarningCode = "CUIT_SHARED";
277
+ interface StoreWarning {
278
+ code: StoreWarningCode;
279
+ stores: string[];
280
+ }
276
281
  }
277
282
  export {};
@@ -87,7 +87,12 @@ declare global {
87
87
  event: 'Customer Identified';
88
88
  customer_id: string;
89
89
  }
90
- type StorefrontEvent = ProductViewedEvent | ProductListViewedEvent | CartItemAddedEvent | CartItemRemovedEvent | CartViewedEvent | SearchSubmittedEvent | CheckoutStartedEvent | CheckoutStepCompletedEvent | PaymentInfoEnteredEvent | OrderCompletedEvent | CustomerLoggedInEvent | CustomerSignedUpEvent | CustomerLoggedOutEvent | CustomerIdentifiedEvent;
90
+ interface CustomerPasswordResetRequestedEvent extends StorefrontEventBase {
91
+ event: 'Customer Password Reset Requested';
92
+ email: string;
93
+ customer_found: boolean;
94
+ }
95
+ type StorefrontEvent = ProductViewedEvent | ProductListViewedEvent | CartItemAddedEvent | CartItemRemovedEvent | CartViewedEvent | SearchSubmittedEvent | CheckoutStartedEvent | CheckoutStepCompletedEvent | PaymentInfoEnteredEvent | OrderCompletedEvent | CustomerLoggedInEvent | CustomerSignedUpEvent | CustomerLoggedOutEvent | CustomerIdentifiedEvent | CustomerPasswordResetRequestedEvent;
91
96
  interface IdentityLink {
92
97
  tenant_store_id: string;
93
98
  anonymous_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.6.13",
3
+ "version": "1.6.15",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",