@happyvertical/smrt-subscriptions 0.44.1 → 0.45.1

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.
@@ -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.44.1",
6
+ "packageVersion": "0.45.1",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "820f770f017742d3c9092d0a3603b0d20ee41373f71d45d848d91d7a5d6452d1",
11
- "packageJson": "d5081fa3cc7be33342debca0cf0cb9cafb9c445acf9e041677fa3180443ecd5e",
10
+ "manifest": "628cd9b928189a96d3a9f08d4386dcf198afd871529ddc9f31e0be72ee33e9ba",
11
+ "packageJson": "bdf8adf85aa215811bd2e393b639343c272b44a9de8d12dfbf22583f2bd03d7c",
12
12
  "agents": "149a45af3f2a142302dae957dd80c29dc11c30a3f40520679aad1e0029f6c4f8"
13
13
  },
14
14
  "exports": [
@@ -43,6 +43,417 @@
43
43
  "tags": [],
44
44
  "risks": [],
45
45
  "objects": [
46
+ {
47
+ "name": "SubscriptionPlanCollection",
48
+ "qualifiedName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
49
+ "collection": "subscriptionplans",
50
+ "tableName": "_smrt_subscription_plans",
51
+ "packageName": "@happyvertical/smrt-subscriptions",
52
+ "extends": "SmrtCollection",
53
+ "fields": [],
54
+ "relationships": [],
55
+ "methods": [
56
+ "findActive",
57
+ "findByPlanKey",
58
+ "findByStripePriceId"
59
+ ],
60
+ "methodSignatures": [
61
+ {
62
+ "name": "findActive",
63
+ "async": true,
64
+ "returns": "Promise<SubscriptionPlan[]>"
65
+ },
66
+ {
67
+ "name": "findByPlanKey",
68
+ "async": true,
69
+ "params": [
70
+ "planKey: string"
71
+ ],
72
+ "returns": "Promise<SubscriptionPlan | null>"
73
+ },
74
+ {
75
+ "name": "findByStripePriceId",
76
+ "async": true,
77
+ "params": [
78
+ "stripePriceId: string"
79
+ ],
80
+ "returns": "Promise<SubscriptionPlan | null>"
81
+ }
82
+ ],
83
+ "surfaces": [
84
+ {
85
+ "kind": "api",
86
+ "name": "subscriptionplans.findByPlanKey",
87
+ "operation": "findByPlanKey",
88
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
89
+ "path": "/subscriptionplans/findByPlanKey",
90
+ "method": "POST"
91
+ },
92
+ {
93
+ "kind": "api",
94
+ "name": "subscriptionplans.findActive",
95
+ "operation": "findActive",
96
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
97
+ "path": "/subscriptionplans/findActive",
98
+ "method": "POST"
99
+ },
100
+ {
101
+ "kind": "api",
102
+ "name": "subscriptionplans.findByStripePriceId",
103
+ "operation": "findByStripePriceId",
104
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
105
+ "path": "/subscriptionplans/findByStripePriceId",
106
+ "method": "POST"
107
+ },
108
+ {
109
+ "kind": "cli",
110
+ "name": "subscriptionplancollection_findByPlanKey",
111
+ "operation": "findByPlanKey",
112
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
113
+ },
114
+ {
115
+ "kind": "cli",
116
+ "name": "subscriptionplancollection_findActive",
117
+ "operation": "findActive",
118
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
119
+ },
120
+ {
121
+ "kind": "cli",
122
+ "name": "subscriptionplancollection_findByStripePriceId",
123
+ "operation": "findByStripePriceId",
124
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
125
+ },
126
+ {
127
+ "kind": "mcp",
128
+ "name": "subscriptionplancollection_findbyplankey",
129
+ "operation": "findByPlanKey",
130
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
131
+ },
132
+ {
133
+ "kind": "mcp",
134
+ "name": "subscriptionplancollection_findactive",
135
+ "operation": "findActive",
136
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
137
+ },
138
+ {
139
+ "kind": "mcp",
140
+ "name": "subscriptionplancollection_findbystripepriceid",
141
+ "operation": "findByStripePriceId",
142
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
143
+ }
144
+ ],
145
+ "relationshipFeatures": [
146
+ "uuidColumns"
147
+ ],
148
+ "tags": [],
149
+ "risks": []
150
+ },
151
+ {
152
+ "name": "TenantSubscriptionCollection",
153
+ "qualifiedName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
154
+ "collection": "tenantsubscriptions",
155
+ "tableName": "_smrt_tenant_subscriptions",
156
+ "packageName": "@happyvertical/smrt-subscriptions",
157
+ "extends": "SmrtCollection",
158
+ "fields": [],
159
+ "relationships": [],
160
+ "methods": [
161
+ "findByStripeSubscriptionId",
162
+ "findByTenant",
163
+ "findCurrentForSubscriber",
164
+ "findCurrentForTenant"
165
+ ],
166
+ "methodSignatures": [
167
+ {
168
+ "name": "findByStripeSubscriptionId",
169
+ "async": true,
170
+ "params": [
171
+ "stripeSubscriptionId: string"
172
+ ],
173
+ "returns": "Promise<TenantSubscription | null>"
174
+ },
175
+ {
176
+ "name": "findByTenant",
177
+ "async": true,
178
+ "params": [
179
+ "tenantId: string"
180
+ ],
181
+ "returns": "Promise<TenantSubscription[]>"
182
+ },
183
+ {
184
+ "name": "findCurrentForSubscriber",
185
+ "async": true,
186
+ "params": [
187
+ "subscriber: Subscriber",
188
+ "now?: any"
189
+ ],
190
+ "returns": "Promise<TenantSubscription | null>"
191
+ },
192
+ {
193
+ "name": "findCurrentForTenant",
194
+ "async": true,
195
+ "params": [
196
+ "tenantId: string",
197
+ "now?: any"
198
+ ],
199
+ "returns": "Promise<TenantSubscription | null>"
200
+ }
201
+ ],
202
+ "surfaces": [
203
+ {
204
+ "kind": "api",
205
+ "name": "tenantsubscriptions.findByTenant",
206
+ "operation": "findByTenant",
207
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
208
+ "path": "/tenantsubscriptions/findByTenant",
209
+ "method": "POST"
210
+ },
211
+ {
212
+ "kind": "api",
213
+ "name": "tenantsubscriptions.findCurrentForTenant",
214
+ "operation": "findCurrentForTenant",
215
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
216
+ "path": "/tenantsubscriptions/findCurrentForTenant",
217
+ "method": "POST"
218
+ },
219
+ {
220
+ "kind": "api",
221
+ "name": "tenantsubscriptions.findCurrentForSubscriber",
222
+ "operation": "findCurrentForSubscriber",
223
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
224
+ "path": "/tenantsubscriptions/findCurrentForSubscriber",
225
+ "method": "POST"
226
+ },
227
+ {
228
+ "kind": "api",
229
+ "name": "tenantsubscriptions.findByStripeSubscriptionId",
230
+ "operation": "findByStripeSubscriptionId",
231
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
232
+ "path": "/tenantsubscriptions/findByStripeSubscriptionId",
233
+ "method": "POST"
234
+ },
235
+ {
236
+ "kind": "cli",
237
+ "name": "tenantsubscriptioncollection_findByTenant",
238
+ "operation": "findByTenant",
239
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
240
+ },
241
+ {
242
+ "kind": "cli",
243
+ "name": "tenantsubscriptioncollection_findCurrentForTenant",
244
+ "operation": "findCurrentForTenant",
245
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
246
+ },
247
+ {
248
+ "kind": "cli",
249
+ "name": "tenantsubscriptioncollection_findCurrentForSubscriber",
250
+ "operation": "findCurrentForSubscriber",
251
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
252
+ },
253
+ {
254
+ "kind": "cli",
255
+ "name": "tenantsubscriptioncollection_findByStripeSubscriptionId",
256
+ "operation": "findByStripeSubscriptionId",
257
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
258
+ },
259
+ {
260
+ "kind": "mcp",
261
+ "name": "tenantsubscriptioncollection_findbytenant",
262
+ "operation": "findByTenant",
263
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
264
+ },
265
+ {
266
+ "kind": "mcp",
267
+ "name": "tenantsubscriptioncollection_findcurrentfortenant",
268
+ "operation": "findCurrentForTenant",
269
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
270
+ },
271
+ {
272
+ "kind": "mcp",
273
+ "name": "tenantsubscriptioncollection_findcurrentforsubscriber",
274
+ "operation": "findCurrentForSubscriber",
275
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
276
+ },
277
+ {
278
+ "kind": "mcp",
279
+ "name": "tenantsubscriptioncollection_findbystripesubscriptionid",
280
+ "operation": "findByStripeSubscriptionId",
281
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
282
+ }
283
+ ],
284
+ "relationshipFeatures": [
285
+ "uuidColumns"
286
+ ],
287
+ "tags": [],
288
+ "risks": []
289
+ },
290
+ {
291
+ "name": "TenantUsageMetricCollection",
292
+ "qualifiedName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
293
+ "collection": "tenantusagemetrics",
294
+ "tableName": "_smrt_tenant_usage_metrics",
295
+ "packageName": "@happyvertical/smrt-subscriptions",
296
+ "extends": "SmrtCollection",
297
+ "fields": [],
298
+ "relationships": [],
299
+ "methods": [
300
+ "findByTenantAndMetric",
301
+ "recordUsage",
302
+ "summarizeTenantAiUsage",
303
+ "summarizeUsage",
304
+ "summarizeUsageBatch"
305
+ ],
306
+ "methodSignatures": [
307
+ {
308
+ "name": "findByTenantAndMetric",
309
+ "async": true,
310
+ "params": [
311
+ "tenantId: string",
312
+ "metricKey: string"
313
+ ],
314
+ "returns": "Promise<TenantUsageMetric[]>"
315
+ },
316
+ {
317
+ "name": "recordUsage",
318
+ "async": true,
319
+ "params": [
320
+ "options: RecordUsageOptions"
321
+ ],
322
+ "returns": "Promise<TenantUsageMetric>"
323
+ },
324
+ {
325
+ "name": "summarizeTenantAiUsage",
326
+ "async": true,
327
+ "params": [
328
+ "options: SummarizeAiUsageOptions"
329
+ ],
330
+ "returns": "Promise<AiUsageSummary>"
331
+ },
332
+ {
333
+ "name": "summarizeUsage",
334
+ "async": true,
335
+ "params": [
336
+ "options: SummarizeUsageOptions"
337
+ ],
338
+ "returns": "Promise<UsageSummary>"
339
+ },
340
+ {
341
+ "name": "summarizeUsageBatch",
342
+ "async": true,
343
+ "params": [
344
+ "options: SummarizeUsageBatchOptions"
345
+ ],
346
+ "returns": "Promise<UsageSummary[]>"
347
+ }
348
+ ],
349
+ "surfaces": [
350
+ {
351
+ "kind": "api",
352
+ "name": "tenantusagemetrics.recordUsage",
353
+ "operation": "recordUsage",
354
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
355
+ "path": "/tenantusagemetrics/recordUsage",
356
+ "method": "POST"
357
+ },
358
+ {
359
+ "kind": "api",
360
+ "name": "tenantusagemetrics.findByTenantAndMetric",
361
+ "operation": "findByTenantAndMetric",
362
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
363
+ "path": "/tenantusagemetrics/findByTenantAndMetric",
364
+ "method": "POST"
365
+ },
366
+ {
367
+ "kind": "api",
368
+ "name": "tenantusagemetrics.summarizeUsage",
369
+ "operation": "summarizeUsage",
370
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
371
+ "path": "/tenantusagemetrics/summarizeUsage",
372
+ "method": "POST"
373
+ },
374
+ {
375
+ "kind": "api",
376
+ "name": "tenantusagemetrics.summarizeUsageBatch",
377
+ "operation": "summarizeUsageBatch",
378
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
379
+ "path": "/tenantusagemetrics/summarizeUsageBatch",
380
+ "method": "POST"
381
+ },
382
+ {
383
+ "kind": "api",
384
+ "name": "tenantusagemetrics.summarizeTenantAiUsage",
385
+ "operation": "summarizeTenantAiUsage",
386
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
387
+ "path": "/tenantusagemetrics/summarizeTenantAiUsage",
388
+ "method": "POST"
389
+ },
390
+ {
391
+ "kind": "cli",
392
+ "name": "tenantusagemetriccollection_recordUsage",
393
+ "operation": "recordUsage",
394
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
395
+ },
396
+ {
397
+ "kind": "cli",
398
+ "name": "tenantusagemetriccollection_findByTenantAndMetric",
399
+ "operation": "findByTenantAndMetric",
400
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
401
+ },
402
+ {
403
+ "kind": "cli",
404
+ "name": "tenantusagemetriccollection_summarizeUsage",
405
+ "operation": "summarizeUsage",
406
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
407
+ },
408
+ {
409
+ "kind": "cli",
410
+ "name": "tenantusagemetriccollection_summarizeUsageBatch",
411
+ "operation": "summarizeUsageBatch",
412
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
413
+ },
414
+ {
415
+ "kind": "cli",
416
+ "name": "tenantusagemetriccollection_summarizeTenantAiUsage",
417
+ "operation": "summarizeTenantAiUsage",
418
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
419
+ },
420
+ {
421
+ "kind": "mcp",
422
+ "name": "tenantusagemetriccollection_recordusage",
423
+ "operation": "recordUsage",
424
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
425
+ },
426
+ {
427
+ "kind": "mcp",
428
+ "name": "tenantusagemetriccollection_findbytenantandmetric",
429
+ "operation": "findByTenantAndMetric",
430
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
431
+ },
432
+ {
433
+ "kind": "mcp",
434
+ "name": "tenantusagemetriccollection_summarizeusage",
435
+ "operation": "summarizeUsage",
436
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
437
+ },
438
+ {
439
+ "kind": "mcp",
440
+ "name": "tenantusagemetriccollection_summarizeusagebatch",
441
+ "operation": "summarizeUsageBatch",
442
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
443
+ },
444
+ {
445
+ "kind": "mcp",
446
+ "name": "tenantusagemetriccollection_summarizetenantaiusage",
447
+ "operation": "summarizeTenantAiUsage",
448
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
449
+ }
450
+ ],
451
+ "relationshipFeatures": [
452
+ "uuidColumns"
453
+ ],
454
+ "tags": [],
455
+ "risks": []
456
+ },
46
457
  {
47
458
  "name": "SubscriptionPlan",
48
459
  "qualifiedName": "@happyvertical/smrt-subscriptions:SubscriptionPlan",
@@ -281,6 +692,54 @@
281
692
  "operation": "delete",
282
693
  "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
283
694
  },
695
+ {
696
+ "kind": "cli",
697
+ "name": "subscriptionplan_isActive",
698
+ "operation": "isActive",
699
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
700
+ },
701
+ {
702
+ "kind": "cli",
703
+ "name": "subscriptionplan_getFeatureGrants",
704
+ "operation": "getFeatureGrants",
705
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
706
+ },
707
+ {
708
+ "kind": "cli",
709
+ "name": "subscriptionplan_setFeatureGrants",
710
+ "operation": "setFeatureGrants",
711
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
712
+ },
713
+ {
714
+ "kind": "cli",
715
+ "name": "subscriptionplan_getFeatureKeys",
716
+ "operation": "getFeatureKeys",
717
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
718
+ },
719
+ {
720
+ "kind": "cli",
721
+ "name": "subscriptionplan_getThresholds",
722
+ "operation": "getThresholds",
723
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
724
+ },
725
+ {
726
+ "kind": "cli",
727
+ "name": "subscriptionplan_setThresholds",
728
+ "operation": "setThresholds",
729
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
730
+ },
731
+ {
732
+ "kind": "cli",
733
+ "name": "subscriptionplan_getMetadata",
734
+ "operation": "getMetadata",
735
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
736
+ },
737
+ {
738
+ "kind": "cli",
739
+ "name": "subscriptionplan_setMetadata",
740
+ "operation": "setMetadata",
741
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
742
+ },
284
743
  {
285
744
  "kind": "mcp",
286
745
  "name": "subscriptionplan_list",
@@ -527,6 +986,30 @@
527
986
  "operation": "delete",
528
987
  "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
529
988
  },
989
+ {
990
+ "kind": "cli",
991
+ "name": "tenantsubscription_isEntitled",
992
+ "operation": "isEntitled",
993
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
994
+ },
995
+ {
996
+ "kind": "cli",
997
+ "name": "tenantsubscription_getSubscriber",
998
+ "operation": "getSubscriber",
999
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
1000
+ },
1001
+ {
1002
+ "kind": "cli",
1003
+ "name": "tenantsubscription_getMetadata",
1004
+ "operation": "getMetadata",
1005
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
1006
+ },
1007
+ {
1008
+ "kind": "cli",
1009
+ "name": "tenantsubscription_setMetadata",
1010
+ "operation": "setMetadata",
1011
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
1012
+ },
530
1013
  {
531
1014
  "kind": "mcp",
532
1015
  "name": "tenantsubscription_list",
@@ -898,6 +1381,22 @@
898
1381
  "path": "/pricingrules/[id]",
899
1382
  "method": "DELETE"
900
1383
  },
1384
+ {
1385
+ "kind": "api",
1386
+ "name": "pricingrules.getTerms",
1387
+ "operation": "getTerms",
1388
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule",
1389
+ "path": "/pricingrules/[id]/getTerms",
1390
+ "method": "POST"
1391
+ },
1392
+ {
1393
+ "kind": "api",
1394
+ "name": "pricingrules.setTerms",
1395
+ "operation": "setTerms",
1396
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule",
1397
+ "path": "/pricingrules/[id]/setTerms",
1398
+ "method": "POST"
1399
+ },
901
1400
  {
902
1401
  "kind": "cli",
903
1402
  "name": "pricingrule_list",
@@ -928,6 +1427,18 @@
928
1427
  "operation": "delete",
929
1428
  "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
930
1429
  },
1430
+ {
1431
+ "kind": "cli",
1432
+ "name": "pricingrule_getTerms",
1433
+ "operation": "getTerms",
1434
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
1435
+ },
1436
+ {
1437
+ "kind": "cli",
1438
+ "name": "pricingrule_setTerms",
1439
+ "operation": "setTerms",
1440
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
1441
+ },
931
1442
  {
932
1443
  "kind": "mcp",
933
1444
  "name": "pricingrule_list",
@@ -957,6 +1468,18 @@
957
1468
  "name": "pricingrule_delete",
958
1469
  "operation": "delete",
959
1470
  "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
1471
+ },
1472
+ {
1473
+ "kind": "mcp",
1474
+ "name": "pricingrule_getterms",
1475
+ "operation": "getTerms",
1476
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
1477
+ },
1478
+ {
1479
+ "kind": "mcp",
1480
+ "name": "pricingrule_setterms",
1481
+ "operation": "setTerms",
1482
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
960
1483
  }
961
1484
  ],
962
1485
  "relationshipFeatures": [
@@ -1578,128 +2101,9 @@
1578
2101
  "tableName": "_smrt_billing_adjustments",
1579
2102
  "packageName": "@happyvertical/smrt-subscriptions",
1580
2103
  "extends": "SmrtCollection",
1581
- "fields": [],
1582
- "relationships": [],
1583
- "methods": [],
1584
- "surfaces": [],
1585
- "relationshipFeatures": [
1586
- "uuidColumns"
1587
- ],
1588
- "tags": [],
1589
- "risks": []
1590
- },
1591
- {
1592
- "name": "SpendingPolicyCollection",
1593
- "qualifiedName": "@happyvertical/smrt-subscriptions:SpendingPolicyCollection",
1594
- "collection": "spendingpolicies",
1595
- "tableName": "_smrt_spending_policies",
1596
- "packageName": "@happyvertical/smrt-subscriptions",
1597
- "extends": "SmrtCollection",
1598
- "fields": [],
1599
- "relationships": [],
1600
- "methods": [],
1601
- "surfaces": [],
1602
- "relationshipFeatures": [
1603
- "uuidColumns"
1604
- ],
1605
- "tags": [],
1606
- "risks": []
1607
- },
1608
- {
1609
- "name": "SubscriptionPlanCollection",
1610
- "qualifiedName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
1611
- "collection": "subscriptionplans",
1612
- "tableName": "_smrt_subscription_plans",
1613
- "packageName": "@happyvertical/smrt-subscriptions",
1614
- "extends": "SmrtCollection",
1615
- "fields": [],
1616
- "relationships": [],
1617
- "methods": [
1618
- "findActive",
1619
- "findByPlanKey",
1620
- "findByStripePriceId"
1621
- ],
1622
- "methodSignatures": [
1623
- {
1624
- "name": "findActive",
1625
- "async": true,
1626
- "returns": "Promise<SubscriptionPlan[]>"
1627
- },
1628
- {
1629
- "name": "findByPlanKey",
1630
- "async": true,
1631
- "params": [
1632
- "planKey: string"
1633
- ],
1634
- "returns": "Promise<SubscriptionPlan | null>"
1635
- },
1636
- {
1637
- "name": "findByStripePriceId",
1638
- "async": true,
1639
- "params": [
1640
- "stripePriceId: string"
1641
- ],
1642
- "returns": "Promise<SubscriptionPlan | null>"
1643
- }
1644
- ],
1645
- "surfaces": [],
1646
- "relationshipFeatures": [
1647
- "uuidColumns"
1648
- ],
1649
- "tags": [],
1650
- "risks": []
1651
- },
1652
- {
1653
- "name": "TenantSubscriptionCollection",
1654
- "qualifiedName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
1655
- "collection": "tenantsubscriptions",
1656
- "tableName": "_smrt_tenant_subscriptions",
1657
- "packageName": "@happyvertical/smrt-subscriptions",
1658
- "extends": "SmrtCollection",
1659
- "fields": [],
1660
- "relationships": [],
1661
- "methods": [
1662
- "findByStripeSubscriptionId",
1663
- "findByTenant",
1664
- "findCurrentForSubscriber",
1665
- "findCurrentForTenant"
1666
- ],
1667
- "methodSignatures": [
1668
- {
1669
- "name": "findByStripeSubscriptionId",
1670
- "async": true,
1671
- "params": [
1672
- "stripeSubscriptionId: string"
1673
- ],
1674
- "returns": "Promise<TenantSubscription | null>"
1675
- },
1676
- {
1677
- "name": "findByTenant",
1678
- "async": true,
1679
- "params": [
1680
- "tenantId: string"
1681
- ],
1682
- "returns": "Promise<TenantSubscription[]>"
1683
- },
1684
- {
1685
- "name": "findCurrentForSubscriber",
1686
- "async": true,
1687
- "params": [
1688
- "subscriber: Subscriber",
1689
- "now?: any"
1690
- ],
1691
- "returns": "Promise<TenantSubscription | null>"
1692
- },
1693
- {
1694
- "name": "findCurrentForTenant",
1695
- "async": true,
1696
- "params": [
1697
- "tenantId: string",
1698
- "now?: any"
1699
- ],
1700
- "returns": "Promise<TenantSubscription | null>"
1701
- }
1702
- ],
2104
+ "fields": [],
2105
+ "relationships": [],
2106
+ "methods": [],
1703
2107
  "surfaces": [],
1704
2108
  "relationshipFeatures": [
1705
2109
  "uuidColumns"
@@ -1708,64 +2112,15 @@
1708
2112
  "risks": []
1709
2113
  },
1710
2114
  {
1711
- "name": "TenantUsageMetricCollection",
1712
- "qualifiedName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
1713
- "collection": "tenantusagemetrics",
1714
- "tableName": "_smrt_tenant_usage_metrics",
2115
+ "name": "SpendingPolicyCollection",
2116
+ "qualifiedName": "@happyvertical/smrt-subscriptions:SpendingPolicyCollection",
2117
+ "collection": "spendingpolicies",
2118
+ "tableName": "_smrt_spending_policies",
1715
2119
  "packageName": "@happyvertical/smrt-subscriptions",
1716
2120
  "extends": "SmrtCollection",
1717
2121
  "fields": [],
1718
2122
  "relationships": [],
1719
- "methods": [
1720
- "findByTenantAndMetric",
1721
- "recordUsage",
1722
- "summarizeTenantAiUsage",
1723
- "summarizeUsage",
1724
- "summarizeUsageBatch"
1725
- ],
1726
- "methodSignatures": [
1727
- {
1728
- "name": "findByTenantAndMetric",
1729
- "async": true,
1730
- "params": [
1731
- "tenantId: string",
1732
- "metricKey: string"
1733
- ],
1734
- "returns": "Promise<TenantUsageMetric[]>"
1735
- },
1736
- {
1737
- "name": "recordUsage",
1738
- "async": true,
1739
- "params": [
1740
- "options: RecordUsageOptions"
1741
- ],
1742
- "returns": "Promise<TenantUsageMetric>"
1743
- },
1744
- {
1745
- "name": "summarizeTenantAiUsage",
1746
- "async": true,
1747
- "params": [
1748
- "options: SummarizeAiUsageOptions"
1749
- ],
1750
- "returns": "Promise<AiUsageSummary>"
1751
- },
1752
- {
1753
- "name": "summarizeUsage",
1754
- "async": true,
1755
- "params": [
1756
- "options: SummarizeUsageOptions"
1757
- ],
1758
- "returns": "Promise<UsageSummary>"
1759
- },
1760
- {
1761
- "name": "summarizeUsageBatch",
1762
- "async": true,
1763
- "params": [
1764
- "options: SummarizeUsageBatchOptions"
1765
- ],
1766
- "returns": "Promise<UsageSummary[]>"
1767
- }
1768
- ],
2123
+ "methods": [],
1769
2124
  "surfaces": [],
1770
2125
  "relationshipFeatures": [
1771
2126
  "uuidColumns"
@@ -1775,6 +2130,246 @@
1775
2130
  }
1776
2131
  ],
1777
2132
  "surfaces": [
2133
+ {
2134
+ "kind": "api",
2135
+ "name": "subscriptionplans.findByPlanKey",
2136
+ "operation": "findByPlanKey",
2137
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
2138
+ "path": "/subscriptionplans/findByPlanKey",
2139
+ "method": "POST"
2140
+ },
2141
+ {
2142
+ "kind": "api",
2143
+ "name": "subscriptionplans.findActive",
2144
+ "operation": "findActive",
2145
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
2146
+ "path": "/subscriptionplans/findActive",
2147
+ "method": "POST"
2148
+ },
2149
+ {
2150
+ "kind": "api",
2151
+ "name": "subscriptionplans.findByStripePriceId",
2152
+ "operation": "findByStripePriceId",
2153
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection",
2154
+ "path": "/subscriptionplans/findByStripePriceId",
2155
+ "method": "POST"
2156
+ },
2157
+ {
2158
+ "kind": "cli",
2159
+ "name": "subscriptionplancollection_findByPlanKey",
2160
+ "operation": "findByPlanKey",
2161
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
2162
+ },
2163
+ {
2164
+ "kind": "cli",
2165
+ "name": "subscriptionplancollection_findActive",
2166
+ "operation": "findActive",
2167
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
2168
+ },
2169
+ {
2170
+ "kind": "cli",
2171
+ "name": "subscriptionplancollection_findByStripePriceId",
2172
+ "operation": "findByStripePriceId",
2173
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
2174
+ },
2175
+ {
2176
+ "kind": "mcp",
2177
+ "name": "subscriptionplancollection_findbyplankey",
2178
+ "operation": "findByPlanKey",
2179
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
2180
+ },
2181
+ {
2182
+ "kind": "mcp",
2183
+ "name": "subscriptionplancollection_findactive",
2184
+ "operation": "findActive",
2185
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
2186
+ },
2187
+ {
2188
+ "kind": "mcp",
2189
+ "name": "subscriptionplancollection_findbystripepriceid",
2190
+ "operation": "findByStripePriceId",
2191
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlanCollection"
2192
+ },
2193
+ {
2194
+ "kind": "api",
2195
+ "name": "tenantsubscriptions.findByTenant",
2196
+ "operation": "findByTenant",
2197
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
2198
+ "path": "/tenantsubscriptions/findByTenant",
2199
+ "method": "POST"
2200
+ },
2201
+ {
2202
+ "kind": "api",
2203
+ "name": "tenantsubscriptions.findCurrentForTenant",
2204
+ "operation": "findCurrentForTenant",
2205
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
2206
+ "path": "/tenantsubscriptions/findCurrentForTenant",
2207
+ "method": "POST"
2208
+ },
2209
+ {
2210
+ "kind": "api",
2211
+ "name": "tenantsubscriptions.findCurrentForSubscriber",
2212
+ "operation": "findCurrentForSubscriber",
2213
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
2214
+ "path": "/tenantsubscriptions/findCurrentForSubscriber",
2215
+ "method": "POST"
2216
+ },
2217
+ {
2218
+ "kind": "api",
2219
+ "name": "tenantsubscriptions.findByStripeSubscriptionId",
2220
+ "operation": "findByStripeSubscriptionId",
2221
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection",
2222
+ "path": "/tenantsubscriptions/findByStripeSubscriptionId",
2223
+ "method": "POST"
2224
+ },
2225
+ {
2226
+ "kind": "cli",
2227
+ "name": "tenantsubscriptioncollection_findByTenant",
2228
+ "operation": "findByTenant",
2229
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2230
+ },
2231
+ {
2232
+ "kind": "cli",
2233
+ "name": "tenantsubscriptioncollection_findCurrentForTenant",
2234
+ "operation": "findCurrentForTenant",
2235
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2236
+ },
2237
+ {
2238
+ "kind": "cli",
2239
+ "name": "tenantsubscriptioncollection_findCurrentForSubscriber",
2240
+ "operation": "findCurrentForSubscriber",
2241
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2242
+ },
2243
+ {
2244
+ "kind": "cli",
2245
+ "name": "tenantsubscriptioncollection_findByStripeSubscriptionId",
2246
+ "operation": "findByStripeSubscriptionId",
2247
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2248
+ },
2249
+ {
2250
+ "kind": "mcp",
2251
+ "name": "tenantsubscriptioncollection_findbytenant",
2252
+ "operation": "findByTenant",
2253
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2254
+ },
2255
+ {
2256
+ "kind": "mcp",
2257
+ "name": "tenantsubscriptioncollection_findcurrentfortenant",
2258
+ "operation": "findCurrentForTenant",
2259
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2260
+ },
2261
+ {
2262
+ "kind": "mcp",
2263
+ "name": "tenantsubscriptioncollection_findcurrentforsubscriber",
2264
+ "operation": "findCurrentForSubscriber",
2265
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2266
+ },
2267
+ {
2268
+ "kind": "mcp",
2269
+ "name": "tenantsubscriptioncollection_findbystripesubscriptionid",
2270
+ "operation": "findByStripeSubscriptionId",
2271
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscriptionCollection"
2272
+ },
2273
+ {
2274
+ "kind": "api",
2275
+ "name": "tenantusagemetrics.recordUsage",
2276
+ "operation": "recordUsage",
2277
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
2278
+ "path": "/tenantusagemetrics/recordUsage",
2279
+ "method": "POST"
2280
+ },
2281
+ {
2282
+ "kind": "api",
2283
+ "name": "tenantusagemetrics.findByTenantAndMetric",
2284
+ "operation": "findByTenantAndMetric",
2285
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
2286
+ "path": "/tenantusagemetrics/findByTenantAndMetric",
2287
+ "method": "POST"
2288
+ },
2289
+ {
2290
+ "kind": "api",
2291
+ "name": "tenantusagemetrics.summarizeUsage",
2292
+ "operation": "summarizeUsage",
2293
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
2294
+ "path": "/tenantusagemetrics/summarizeUsage",
2295
+ "method": "POST"
2296
+ },
2297
+ {
2298
+ "kind": "api",
2299
+ "name": "tenantusagemetrics.summarizeUsageBatch",
2300
+ "operation": "summarizeUsageBatch",
2301
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
2302
+ "path": "/tenantusagemetrics/summarizeUsageBatch",
2303
+ "method": "POST"
2304
+ },
2305
+ {
2306
+ "kind": "api",
2307
+ "name": "tenantusagemetrics.summarizeTenantAiUsage",
2308
+ "operation": "summarizeTenantAiUsage",
2309
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection",
2310
+ "path": "/tenantusagemetrics/summarizeTenantAiUsage",
2311
+ "method": "POST"
2312
+ },
2313
+ {
2314
+ "kind": "cli",
2315
+ "name": "tenantusagemetriccollection_recordUsage",
2316
+ "operation": "recordUsage",
2317
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2318
+ },
2319
+ {
2320
+ "kind": "cli",
2321
+ "name": "tenantusagemetriccollection_findByTenantAndMetric",
2322
+ "operation": "findByTenantAndMetric",
2323
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2324
+ },
2325
+ {
2326
+ "kind": "cli",
2327
+ "name": "tenantusagemetriccollection_summarizeUsage",
2328
+ "operation": "summarizeUsage",
2329
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2330
+ },
2331
+ {
2332
+ "kind": "cli",
2333
+ "name": "tenantusagemetriccollection_summarizeUsageBatch",
2334
+ "operation": "summarizeUsageBatch",
2335
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2336
+ },
2337
+ {
2338
+ "kind": "cli",
2339
+ "name": "tenantusagemetriccollection_summarizeTenantAiUsage",
2340
+ "operation": "summarizeTenantAiUsage",
2341
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2342
+ },
2343
+ {
2344
+ "kind": "mcp",
2345
+ "name": "tenantusagemetriccollection_recordusage",
2346
+ "operation": "recordUsage",
2347
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2348
+ },
2349
+ {
2350
+ "kind": "mcp",
2351
+ "name": "tenantusagemetriccollection_findbytenantandmetric",
2352
+ "operation": "findByTenantAndMetric",
2353
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2354
+ },
2355
+ {
2356
+ "kind": "mcp",
2357
+ "name": "tenantusagemetriccollection_summarizeusage",
2358
+ "operation": "summarizeUsage",
2359
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2360
+ },
2361
+ {
2362
+ "kind": "mcp",
2363
+ "name": "tenantusagemetriccollection_summarizeusagebatch",
2364
+ "operation": "summarizeUsageBatch",
2365
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2366
+ },
2367
+ {
2368
+ "kind": "mcp",
2369
+ "name": "tenantusagemetriccollection_summarizetenantaiusage",
2370
+ "operation": "summarizeTenantAiUsage",
2371
+ "objectName": "@happyvertical/smrt-subscriptions:TenantUsageMetricCollection"
2372
+ },
1778
2373
  {
1779
2374
  "kind": "api",
1780
2375
  "name": "subscriptionplans.list",
@@ -1837,6 +2432,54 @@
1837
2432
  "operation": "delete",
1838
2433
  "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
1839
2434
  },
2435
+ {
2436
+ "kind": "cli",
2437
+ "name": "subscriptionplan_isActive",
2438
+ "operation": "isActive",
2439
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2440
+ },
2441
+ {
2442
+ "kind": "cli",
2443
+ "name": "subscriptionplan_getFeatureGrants",
2444
+ "operation": "getFeatureGrants",
2445
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2446
+ },
2447
+ {
2448
+ "kind": "cli",
2449
+ "name": "subscriptionplan_setFeatureGrants",
2450
+ "operation": "setFeatureGrants",
2451
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2452
+ },
2453
+ {
2454
+ "kind": "cli",
2455
+ "name": "subscriptionplan_getFeatureKeys",
2456
+ "operation": "getFeatureKeys",
2457
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2458
+ },
2459
+ {
2460
+ "kind": "cli",
2461
+ "name": "subscriptionplan_getThresholds",
2462
+ "operation": "getThresholds",
2463
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2464
+ },
2465
+ {
2466
+ "kind": "cli",
2467
+ "name": "subscriptionplan_setThresholds",
2468
+ "operation": "setThresholds",
2469
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2470
+ },
2471
+ {
2472
+ "kind": "cli",
2473
+ "name": "subscriptionplan_getMetadata",
2474
+ "operation": "getMetadata",
2475
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2476
+ },
2477
+ {
2478
+ "kind": "cli",
2479
+ "name": "subscriptionplan_setMetadata",
2480
+ "operation": "setMetadata",
2481
+ "objectName": "@happyvertical/smrt-subscriptions:SubscriptionPlan"
2482
+ },
1840
2483
  {
1841
2484
  "kind": "mcp",
1842
2485
  "name": "subscriptionplan_list",
@@ -1911,6 +2554,30 @@
1911
2554
  "operation": "delete",
1912
2555
  "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
1913
2556
  },
2557
+ {
2558
+ "kind": "cli",
2559
+ "name": "tenantsubscription_isEntitled",
2560
+ "operation": "isEntitled",
2561
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
2562
+ },
2563
+ {
2564
+ "kind": "cli",
2565
+ "name": "tenantsubscription_getSubscriber",
2566
+ "operation": "getSubscriber",
2567
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
2568
+ },
2569
+ {
2570
+ "kind": "cli",
2571
+ "name": "tenantsubscription_getMetadata",
2572
+ "operation": "getMetadata",
2573
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
2574
+ },
2575
+ {
2576
+ "kind": "cli",
2577
+ "name": "tenantsubscription_setMetadata",
2578
+ "operation": "setMetadata",
2579
+ "objectName": "@happyvertical/smrt-subscriptions:TenantSubscription"
2580
+ },
1914
2581
  {
1915
2582
  "kind": "mcp",
1916
2583
  "name": "tenantsubscription_list",
@@ -2017,6 +2684,22 @@
2017
2684
  "path": "/pricingrules/[id]",
2018
2685
  "method": "DELETE"
2019
2686
  },
2687
+ {
2688
+ "kind": "api",
2689
+ "name": "pricingrules.getTerms",
2690
+ "operation": "getTerms",
2691
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule",
2692
+ "path": "/pricingrules/[id]/getTerms",
2693
+ "method": "POST"
2694
+ },
2695
+ {
2696
+ "kind": "api",
2697
+ "name": "pricingrules.setTerms",
2698
+ "operation": "setTerms",
2699
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule",
2700
+ "path": "/pricingrules/[id]/setTerms",
2701
+ "method": "POST"
2702
+ },
2020
2703
  {
2021
2704
  "kind": "cli",
2022
2705
  "name": "pricingrule_list",
@@ -2047,6 +2730,18 @@
2047
2730
  "operation": "delete",
2048
2731
  "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
2049
2732
  },
2733
+ {
2734
+ "kind": "cli",
2735
+ "name": "pricingrule_getTerms",
2736
+ "operation": "getTerms",
2737
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
2738
+ },
2739
+ {
2740
+ "kind": "cli",
2741
+ "name": "pricingrule_setTerms",
2742
+ "operation": "setTerms",
2743
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
2744
+ },
2050
2745
  {
2051
2746
  "kind": "mcp",
2052
2747
  "name": "pricingrule_list",
@@ -2077,6 +2772,18 @@
2077
2772
  "operation": "delete",
2078
2773
  "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
2079
2774
  },
2775
+ {
2776
+ "kind": "mcp",
2777
+ "name": "pricingrule_getterms",
2778
+ "operation": "getTerms",
2779
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
2780
+ },
2781
+ {
2782
+ "kind": "mcp",
2783
+ "name": "pricingrule_setterms",
2784
+ "operation": "setTerms",
2785
+ "objectName": "@happyvertical/smrt-subscriptions:PricingRule"
2786
+ },
2080
2787
  {
2081
2788
  "kind": "api",
2082
2789
  "name": "clientcharges.list",