sinfactura-types 1.10.641 → 1.10.642

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.
Files changed (2) hide show
  1. package/dist/store.d.ts +20 -5
  2. package/package.json +1 -1
package/dist/store.d.ts CHANGED
@@ -98,6 +98,20 @@ declare global {
98
98
  * never sent to shoppers.
99
99
  */
100
100
  platformDisabled?: boolean;
101
+ /**
102
+ * The shop's grace deadline, Unix ms: a shop that is on and has lost the
103
+ * `storefront` entitlement (or whose subscription is `readonly` /
104
+ * `canceled`) stays open to shoppers until this instant, then reads as
105
+ * unavailable. `null` or absent = not in grace.
106
+ *
107
+ * Server-owned: written only by the api's `reconcileShopGrace`, never by
108
+ * a request — `PATCH /store` refuses it and `PUT /platform/stores/{storeId}`
109
+ * strips it. It keeps its past value after the deadline until the store is
110
+ * durably entitled again, then becomes `null`. Sent on the app `GET /store`
111
+ * and in every `stores` frame that carries `ecommerce` (explicit `null`
112
+ * there); never sent to shoppers.
113
+ */
114
+ deactivatesAt?: number | null;
101
115
  config?: {
102
116
  showDefaultPriceList?: number;
103
117
  showStocks?: boolean;
@@ -858,11 +872,12 @@ declare global {
858
872
  * always sent and is `null` only when the shop has no ACTIVE slug or the
859
873
  * public links global is off.
860
874
  * - `stores` frames: carried by the frames of the tenant switch
861
- * (`setActive`), the platform force-off (`platformDisabled` change) and
862
- * a slug claim or rename. A plan or entitlement change, the public links
863
- * global flip and the expiry of a rename's redirect emit no frame
864
- * carrying it — a client holding the value refetches `GET /store` to
865
- * see those.
875
+ * (`setActive`), the platform force-off (`platformDisabled` change), a
876
+ * slug claim or rename, a change of `ecommerce.deactivatesAt` (the shop
877
+ * grace) and the grace expiry (explicit `null`). Any other plan or
878
+ * entitlement change, the public links global flip and the expiry of a
879
+ * rename's redirect emit no frame carrying it — a client holding the
880
+ * value refetches `GET /store` to see those.
866
881
  */
867
882
  publicStorefront?: PublicStorefront | null;
868
883
  photoURL: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.10.641",
3
+ "version": "1.10.642",
4
4
  "description": "Shared wire and entity contracts for the SINFACTURA platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",