sinfactura-types 1.6.33 → 1.6.34

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.
@@ -281,8 +281,10 @@ declare global {
281
281
  target_store_id: string;
282
282
  name: string;
283
283
  }
284
+ type LiteralScope = 'GLOBAL' | 'APP' | 'PLATFORM' | 'WEB' | `APP#${string}` | `WEB#${string}`;
284
285
  interface LiteralUpdatedEvent extends UserActivityEventBase {
285
286
  event: 'Literal Updated';
287
+ scope: LiteralScope;
286
288
  key: string;
287
289
  before: string;
288
290
  after: string;
@@ -21,6 +21,7 @@
21
21
  // - 1.6.18 (+2 variants) — TOTP 2FA enroll/disable lifecycle (types#68, api#636)
22
22
  // - 1.6.20 (+1 variant) — operator 2FA reset, target_user_id (api#1335)
23
23
  // - 1.6.21 (+1 variant) — TOTP recovery codes generated (api#1336); method += 'recovery'
24
+ // - 1.6.34 (+field) — LiteralUpdatedEvent gains `scope`; new `LiteralScope` contract (api#1484)
24
25
  /**
25
26
  * Canonical whitelist of UI-only `UserActivityEvent` variant names — the 8
26
27
  * Phase 3 verbs shipped in 1.6.13 (types#74). Imported by the api side
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.6.33",
3
+ "version": "1.6.34",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",