@happyvertical/smrt-subscriptions 0.60.9 → 0.60.11
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +193 -49
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +108 -0
- package/package.json +6 -6
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-subscriptions",
|
|
6
|
-
"packageVersion": "0.60.
|
|
6
|
+
"packageVersion": "0.60.11",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "14d132985cc9117f415d5ded69955883eed87996c9a78bdb1c6157accbc871a5",
|
|
11
|
+
"packageJson": "a057d3d8cf6dacb62766a5fe8d6457fb1601d4a4cce2b9f6cf36710755bffd5b",
|
|
12
12
|
"agents": "5fcd3fec51594afb1d675ef3ea52aa239683416f0169fef8a96dfacaabb5580b"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: "Component"
|
|
3
|
+
title: "@happyvertical/smrt-subscriptions"
|
|
4
|
+
description: "Tenant subscriptions, entitlement resolution, usage thresholds, and subscription UI for SMRT"
|
|
5
|
+
status: "stable"
|
|
6
|
+
generated:
|
|
7
|
+
by: "smrt/scripts/generate-knowledge-okf.ts"
|
|
8
|
+
at: "2026-11-05T15:48:19Z"
|
|
9
|
+
audience: "internal"
|
|
10
|
+
evidence_level: "source-inspected"
|
|
11
|
+
source_revision: "sha256:f3d3b98418f3d146b69c1d795ce8e0c7154827d061cb6e21da2862828961e7f8"
|
|
12
|
+
sources:
|
|
13
|
+
- id: "manifest"
|
|
14
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/subscriptions/package.json"
|
|
15
|
+
title: "@happyvertical/smrt-subscriptions package manifest"
|
|
16
|
+
- id: "agents"
|
|
17
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/subscriptions/AGENTS.md"
|
|
18
|
+
title: "@happyvertical/smrt-subscriptions packages/subscriptions/AGENTS.md"
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# @happyvertical/smrt-subscriptions
|
|
22
|
+
|
|
23
|
+
## Package
|
|
24
|
+
|
|
25
|
+
- Directory: `packages/subscriptions`
|
|
26
|
+
- Private: no
|
|
27
|
+
- Object source: `domain-artifact`
|
|
28
|
+
- Evidence level: `source-inspected`
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
- `packages/subscriptions/AGENTS.md`
|
|
33
|
+
|
|
34
|
+
## Framework dependencies
|
|
35
|
+
|
|
36
|
+
- [smrt-core](/components/smrt-core.md)
|
|
37
|
+
- [smrt-tenancy](/components/smrt-tenancy.md)
|
|
38
|
+
- [smrt-ui](/components/smrt-ui.md)
|
|
39
|
+
- [smrt-vitest](/components/smrt-vitest.md)
|
|
40
|
+
|
|
41
|
+
## SDK dependencies
|
|
42
|
+
|
|
43
|
+
- `@happyvertical/sql`
|
|
44
|
+
|
|
45
|
+
## Exports
|
|
46
|
+
|
|
47
|
+
- `.`
|
|
48
|
+
- `./manifest`
|
|
49
|
+
- `./manifest.json`
|
|
50
|
+
- `./svelte`
|
|
51
|
+
|
|
52
|
+
## Models
|
|
53
|
+
|
|
54
|
+
- `BillingAdjustment` (collection `billingadjustments`, extends `SmrtObject`)
|
|
55
|
+
- `BillingAdjustmentCollection` (collection `billingadjustments`, extends `SmrtCollection`)
|
|
56
|
+
- `ClientCharge` (collection `clientcharges`, extends `SmrtObject`)
|
|
57
|
+
- `ClientChargeCollection` (collection `clientcharges`, extends `SmrtCollection`)
|
|
58
|
+
- `CreditGrant` (collection `creditgrants`, extends `SmrtObject`)
|
|
59
|
+
- `CreditGrantCollection` (collection `creditgrants`, extends `SmrtCollection`)
|
|
60
|
+
- `PriceBook` (collection `pricebooks`, extends `SmrtObject`)
|
|
61
|
+
- `PriceBookAssignment` (collection `pricebookassignments`, extends `SmrtObject`)
|
|
62
|
+
- `PriceBookAssignmentCollection` (collection `pricebookassignments`, extends `SmrtCollection`)
|
|
63
|
+
- `PriceBookCollection` (collection `pricebooks`, extends `SmrtCollection`)
|
|
64
|
+
- `PricingRule` (collection `pricingrules`, extends `SmrtObject`)
|
|
65
|
+
- `PricingRuleCollection` (collection `pricingrules`, extends `SmrtCollection`)
|
|
66
|
+
- `RetailCharge` (collection `retailcharges`, extends `SmrtObject`)
|
|
67
|
+
- `RetailChargeCollection` (collection `retailcharges`, extends `SmrtCollection`)
|
|
68
|
+
- `SpendingPolicy` (collection `spendingpolicies`, extends `SmrtObject`)
|
|
69
|
+
- `SpendingPolicyCollection` (collection `spendingpolicies`, extends `SmrtCollection`)
|
|
70
|
+
- `SubscriptionPlan` (collection `subscriptionplans`, extends `SmrtObject`)
|
|
71
|
+
- `SubscriptionPlanCollection` (collection `subscriptionplans`, extends `SmrtCollection`)
|
|
72
|
+
- `SubscriptionPlanVersion` (collection `subscriptionplanversions`, extends `SmrtObject`)
|
|
73
|
+
- `SubscriptionPlanVersionCollection` (collection `subscriptionplanversions`, extends `SmrtCollection`)
|
|
74
|
+
- `TenantSubscription` (collection `tenantsubscriptions`, extends `SmrtObject`)
|
|
75
|
+
- `TenantSubscriptionCollection` (collection `tenantsubscriptions`, extends `SmrtCollection`)
|
|
76
|
+
- `TenantUsageMetric` (collection `tenantusagemetrics`, extends `SmrtObject`)
|
|
77
|
+
- `TenantUsageMetricCollection` (collection `tenantusagemetrics`, extends `SmrtCollection`)
|
|
78
|
+
|
|
79
|
+
## MCP tools
|
|
80
|
+
|
|
81
|
+
- `billingadjustment_get`: get on `@happyvertical/smrt-subscriptions:BillingAdjustment`
|
|
82
|
+
- `billingadjustment_list`: list on `@happyvertical/smrt-subscriptions:BillingAdjustment`
|
|
83
|
+
- `clientcharge_get`: get on `@happyvertical/smrt-subscriptions:ClientCharge`
|
|
84
|
+
- `clientcharge_list`: list on `@happyvertical/smrt-subscriptions:ClientCharge`
|
|
85
|
+
- `creditgrant_get`: get on `@happyvertical/smrt-subscriptions:CreditGrant`
|
|
86
|
+
- `creditgrant_list`: list on `@happyvertical/smrt-subscriptions:CreditGrant`
|
|
87
|
+
- `pricingrule_create`: create on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
88
|
+
- `pricingrule_delete`: delete on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
89
|
+
- `pricingrule_get`: get on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
90
|
+
- `pricingrule_getterms`: getTerms on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
91
|
+
- `pricingrule_list`: list on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
92
|
+
- `pricingrule_setterms`: setTerms on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
93
|
+
- `pricingrule_update`: update on `@happyvertical/smrt-subscriptions:PricingRule`
|
|
94
|
+
- `retailcharge_get`: get on `@happyvertical/smrt-subscriptions:RetailCharge`
|
|
95
|
+
- `retailcharge_list`: list on `@happyvertical/smrt-subscriptions:RetailCharge`
|
|
96
|
+
- `spendingpolicy_create`: create on `@happyvertical/smrt-subscriptions:SpendingPolicy`
|
|
97
|
+
- `spendingpolicy_delete`: delete on `@happyvertical/smrt-subscriptions:SpendingPolicy`
|
|
98
|
+
- `spendingpolicy_get`: get on `@happyvertical/smrt-subscriptions:SpendingPolicy`
|
|
99
|
+
- `spendingpolicy_list`: list on `@happyvertical/smrt-subscriptions:SpendingPolicy`
|
|
100
|
+
- `spendingpolicy_update`: update on `@happyvertical/smrt-subscriptions:SpendingPolicy`
|
|
101
|
+
- `subscriptionplan_get`: get on `@happyvertical/smrt-subscriptions:SubscriptionPlan`
|
|
102
|
+
- `subscriptionplan_list`: list on `@happyvertical/smrt-subscriptions:SubscriptionPlan`
|
|
103
|
+
- `subscriptionplanversion_get`: get on `@happyvertical/smrt-subscriptions:SubscriptionPlanVersion`
|
|
104
|
+
- `subscriptionplanversion_list`: list on `@happyvertical/smrt-subscriptions:SubscriptionPlanVersion`
|
|
105
|
+
- `tenantsubscription_get`: get on `@happyvertical/smrt-subscriptions:TenantSubscription`
|
|
106
|
+
- `tenantsubscription_list`: list on `@happyvertical/smrt-subscriptions:TenantSubscription`
|
|
107
|
+
- `tenantusagemetric_get`: get on `@happyvertical/smrt-subscriptions:TenantUsageMetric`
|
|
108
|
+
- `tenantusagemetric_list`: list on `@happyvertical/smrt-subscriptions:TenantUsageMetric`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-subscriptions",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.11",
|
|
4
4
|
"description": "Tenant subscriptions, entitlement resolution, usage thresholds, and subscription UI for SMRT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"smrtRawPrimitives": "strict",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@happyvertical/smrt-core": "0.60.
|
|
30
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
31
|
-
"@happyvertical/smrt-ui": "0.60.
|
|
32
|
-
"@happyvertical/sql": "^0.111.
|
|
29
|
+
"@happyvertical/smrt-core": "0.60.11",
|
|
30
|
+
"@happyvertical/smrt-tenancy": "0.60.11",
|
|
31
|
+
"@happyvertical/smrt-ui": "0.60.11",
|
|
32
|
+
"@happyvertical/sql": "^0.111.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"svelte": "^5.57.0"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
43
|
+
"@happyvertical/smrt-vitest": "0.60.11",
|
|
44
44
|
"@sveltejs/package": "^2.5.8",
|
|
45
45
|
"@types/node": "24.13.6",
|
|
46
46
|
"svelte": "^5.57.1",
|