sinfactura-types 1.6.72 → 1.6.73
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/cjs/subscription.js
CHANGED
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
* - `FeatureKey` uses flat camelCase (not the dotted `reports.advanced` from the design kit).
|
|
18
18
|
* - Monetary amounts are integers in minor units (ARS cents) to avoid float issues.
|
|
19
19
|
* - Feature keys now match the BE wire format directly (renamed afip→afipInvoicing,
|
|
20
|
-
* cash→cashManagement,
|
|
21
|
-
*
|
|
20
|
+
* cash→cashManagement, reportsAdvanced→advancedReports as of 2026-04-26). The interim
|
|
21
|
+
* paymentIntegrations key was split into domesticPayments + stripePayments (api#1823).
|
|
22
|
+
* New keys whatsappCommerce/aiFeatures/mobileApp/customDomain are
|
|
22
23
|
* declared here even when their epics haven't shipped — the matrix can set
|
|
23
24
|
* enabled:false until they do.
|
|
24
25
|
*/
|
package/dist/subscription.d.ts
CHANGED
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
* - `FeatureKey` uses flat camelCase (not the dotted `reports.advanced` from the design kit).
|
|
17
17
|
* - Monetary amounts are integers in minor units (ARS cents) to avoid float issues.
|
|
18
18
|
* - Feature keys now match the BE wire format directly (renamed afip→afipInvoicing,
|
|
19
|
-
* cash→cashManagement,
|
|
20
|
-
*
|
|
19
|
+
* cash→cashManagement, reportsAdvanced→advancedReports as of 2026-04-26). The interim
|
|
20
|
+
* paymentIntegrations key was split into domesticPayments + stripePayments (api#1823).
|
|
21
|
+
* New keys whatsappCommerce/aiFeatures/mobileApp/customDomain are
|
|
21
22
|
* declared here even when their epics haven't shipped — the matrix can set
|
|
22
23
|
* enabled:false until they do.
|
|
23
24
|
*/
|
|
@@ -63,7 +64,7 @@ declare global {
|
|
|
63
64
|
* every existing plan in `FEATURE_MATRIX` must then declare the new key
|
|
64
65
|
* (TypeScript enforces this via `Record<FeatureKey, Entitlement>`).
|
|
65
66
|
*/
|
|
66
|
-
type FeatureKey = 'maxOrdersMonth' | 'maxInvoicesMonth' | 'maxProducts' | 'maxUsers' | 'maxCustomers' | 'maxStores' | 'priceListsMax' | 'afipInvoicing' | '
|
|
67
|
+
type FeatureKey = 'maxOrdersMonth' | 'maxInvoicesMonth' | 'maxProducts' | 'maxUsers' | 'maxCustomers' | 'maxStores' | 'priceListsMax' | 'afipInvoicing' | 'suppliers' | 'domesticPayments' | 'stripePayments' | 'cashManagement' | 'multiStore' | 'importExport' | 'advancedReports' | 'customBranding' | 'apiAccess' | 'prioritySupport' | 'whatsappCommerce' | 'aiFeatures' | 'mobileApp' | 'customDomain' | 'advancedPricing' | 'marketplaceChannels';
|
|
67
68
|
/** Full feature matrix — every tier declares every feature. */
|
|
68
69
|
type FeatureMatrix = Record<PlanTier, Record<FeatureKey, Entitlement>>;
|
|
69
70
|
/** Resolved entitlements for a specific tenant (matrix + overrides applied). */
|
package/dist/subscription.js
CHANGED
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
* - `FeatureKey` uses flat camelCase (not the dotted `reports.advanced` from the design kit).
|
|
17
17
|
* - Monetary amounts are integers in minor units (ARS cents) to avoid float issues.
|
|
18
18
|
* - Feature keys now match the BE wire format directly (renamed afip→afipInvoicing,
|
|
19
|
-
* cash→cashManagement,
|
|
20
|
-
*
|
|
19
|
+
* cash→cashManagement, reportsAdvanced→advancedReports as of 2026-04-26). The interim
|
|
20
|
+
* paymentIntegrations key was split into domesticPayments + stripePayments (api#1823).
|
|
21
|
+
* New keys whatsappCommerce/aiFeatures/mobileApp/customDomain are
|
|
21
22
|
* declared here even when their epics haven't shipped — the matrix can set
|
|
22
23
|
* enabled:false until they do.
|
|
23
24
|
*/
|