@commet/node 9.11.0 → 9.13.0

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 (47) hide show
  1. package/dist/index.d.mts +329 -507
  2. package/dist/index.d.ts +329 -507
  3. package/dist/index.js +12 -12
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +12 -12
  6. package/dist/index.mjs.map +1 -1
  7. package/docs/api-reference/addons.md +8 -15
  8. package/docs/api-reference/api-keys.md +1 -1
  9. package/docs/api-reference/credit-packs.md +2 -2
  10. package/docs/api-reference/customers.md +7 -19
  11. package/docs/api-reference/features.md +1 -1
  12. package/docs/api-reference/offers.md +9 -5
  13. package/docs/api-reference/payments.md +1 -1
  14. package/docs/api-reference/plan-groups.md +2 -2
  15. package/docs/api-reference/plans.md +28 -44
  16. package/docs/api-reference/portal.md +3 -8
  17. package/docs/api-reference/promo-codes.md +3 -3
  18. package/docs/api-reference/quota.md +6 -21
  19. package/docs/api-reference/subscriptions.md +38 -52
  20. package/docs/api-reference/test-clock.md +3 -8
  21. package/docs/api-reference/usage.md +6 -11
  22. package/docs/documentation/create-api-key.md +4 -2
  23. package/docs/documentation/error-handling.md +11 -0
  24. package/docs/documentation/invoicing/handle-failed-payments.md +12 -3
  25. package/docs/documentation/plans/add-ons.md +2 -0
  26. package/docs/documentation/plans/balance-and-top-ups.md +2 -0
  27. package/docs/documentation/plans/consumption-models.md +9 -1
  28. package/docs/documentation/plans/credit-packs.md +24 -6
  29. package/docs/documentation/plans/one-time-payments.md +1 -0
  30. package/docs/documentation/sales/offers.md +21 -3
  31. package/docs/documentation/sales/promo-codes.md +2 -2
  32. package/docs/documentation/sales/promotional-offers.md +2 -2
  33. package/docs/documentation/subscriptions/manage-subscriptions.md +3 -3
  34. package/docs/documentation/subscriptions/pay-in-advance.md +6 -4
  35. package/docs/documentation/subscriptions/plan-grants.md +22 -6
  36. package/docs/errors/already_has_active_subscription.md +1 -1
  37. package/docs/errors/charge_failed.md +1 -1
  38. package/docs/errors/no_payment_method.md +1 -1
  39. package/docs/errors/payment_failed.md +1 -1
  40. package/docs/errors/subscription_not_active.md +1 -1
  41. package/docs/errors/validation_error.md +1 -1
  42. package/docs/knowledge-base/how-do-discounts-work.md +20 -2
  43. package/docs/knowledge-base/what-happens-when-a-payment-fails.md +6 -6
  44. package/docs/schemas.md +13 -5
  45. package/docs/webhooks.md +16 -14
  46. package/docs/webhooks.openapi.json +85 -41
  47. package/package.json +1 -1
@@ -304,7 +304,7 @@
304
304
  "subscription.reactivated": {
305
305
  "post": {
306
306
  "summary": "subscription.reactivated",
307
- "description": "Fired when a canceled subscription is reactivated and its reactivation charge succeeds. The subscription returns to active with a fresh invoice and a billing period anchored to the reactivation date. Distinct from subscription.activated (first activation) and payment.recovered (past_due recovery, which keeps the original anchor).",
307
+ "description": "Fired when a canceled subscription is reactivated: its reactivation charge succeeds, or its reactivation invoice totals zero and is paid without a charge. The subscription returns to active with a fresh invoice and a billing period anchored to the reactivation date. Distinct from subscription.activated (first activation) and payment.recovered (past_due recovery, which keeps the original anchor).",
308
308
  "tags": [
309
309
  "Webhooks"
310
310
  ],
@@ -391,7 +391,7 @@
391
391
  "commet",
392
392
  "dlocal"
393
393
  ],
394
- "description": "The payment provider that processed the reactivation charge: stripe, commet, or dlocal."
394
+ "description": "The subscription's payment provider, which processed the reactivation charge: stripe, commet, or dlocal. A reactivation whose invoice totals zero runs no charge and still carries the subscription's provider."
395
395
  }
396
396
  },
397
397
  "required": [
@@ -1532,6 +1532,13 @@
1532
1532
  "totalCharged": {
1533
1533
  "type": "number",
1534
1534
  "description": "Total amount charged in cents."
1535
+ },
1536
+ "cancelReason": {
1537
+ "description": "The cancellation reason when a cancellation moved the subscription to its group's default plan instead of ending it. Null for any other plan change.",
1538
+ "type": [
1539
+ "string",
1540
+ "null"
1541
+ ]
1535
1542
  }
1536
1543
  },
1537
1544
  "required": [
@@ -1542,7 +1549,8 @@
1542
1549
  "billingInterval",
1543
1550
  "credit",
1544
1551
  "charge",
1545
- "totalCharged"
1552
+ "totalCharged",
1553
+ "cancelReason"
1546
1554
  ],
1547
1555
  "additionalProperties": false
1548
1556
  }
@@ -1578,7 +1586,8 @@
1578
1586
  "billingInterval": "monthly",
1579
1587
  "credit": 1500,
1580
1588
  "charge": 4900,
1581
- "totalCharged": 3400
1589
+ "totalCharged": 3400,
1590
+ "cancelReason": null
1582
1591
  }
1583
1592
  }
1584
1593
  }
@@ -1908,6 +1917,13 @@
1908
1917
  "effectiveAt": {
1909
1918
  "type": "string",
1910
1919
  "description": "ISO 8601 datetime when the change executes (the billing period end)."
1920
+ },
1921
+ "cancelReason": {
1922
+ "description": "The cancellation reason when a cancellation scheduled the move to the group's default plan instead of ending the subscription. Null for any other scheduled change.",
1923
+ "type": [
1924
+ "string",
1925
+ "null"
1926
+ ]
1911
1927
  }
1912
1928
  },
1913
1929
  "required": [
@@ -1918,7 +1934,8 @@
1918
1934
  "scheduledPlan",
1919
1935
  "billingInterval",
1920
1936
  "scheduledBillingInterval",
1921
- "effectiveAt"
1937
+ "effectiveAt",
1938
+ "cancelReason"
1922
1939
  ],
1923
1940
  "additionalProperties": false
1924
1941
  }
@@ -1954,7 +1971,8 @@
1954
1971
  },
1955
1972
  "billingInterval": "monthly",
1956
1973
  "scheduledBillingInterval": null,
1957
- "effectiveAt": "2026-04-25T00:00:00.000Z"
1974
+ "effectiveAt": "2026-04-25T00:00:00.000Z",
1975
+ "cancelReason": null
1958
1976
  }
1959
1977
  }
1960
1978
  }
@@ -2290,7 +2308,7 @@
2290
2308
  },
2291
2309
  "reason": {
2292
2310
  "type": "string",
2293
- "description": "Why the move was canceled: canceled_by_merchant, version_change_failed when the move could not be applied at renewal, or the code of what the subscription no longer fits (addon_unavailable, seat_limit_exceeded, price_not_found, missing_regional_price)."
2311
+ "description": "Why the move was canceled: canceled_by_merchant, version_change_failed when the move could not be applied at renewal, the code of what the subscription no longer fits (addon_unavailable, seat_limit_exceeded, price_not_found, missing_regional_price), or, for a move that charges it in USD, what keeps it in its currency (currency_held_by_payment_method, currency_held_by_customer_credit, currency_held_by_balance_plan, currency_held_by_fixed_amount_discount, currency_held_by_prepaid_period, currency_held_by_scheduled_pause)."
2294
2312
  }
2295
2313
  },
2296
2314
  "required": [
@@ -2820,7 +2838,7 @@
2820
2838
  "trial.will_end": {
2821
2839
  "post": {
2822
2840
  "summary": "trial.will_end",
2823
- "description": "Predictive event fired once, 3 days before a trial ends. Use it to remind the customer that billing starts soon. Emitted by a daily scan with a deterministic idempotency key, so it never fires twice for the same trial end date.",
2841
+ "description": "Predictive event fired once, 3 days before a trial ends. Use it to remind the customer that billing starts soon. Emitted by a recurring scan with a deterministic idempotency key, so it never fires twice for the same trial end date.",
2824
2842
  "tags": [
2825
2843
  "Webhooks"
2826
2844
  ],
@@ -2934,7 +2952,7 @@
2934
2952
  "description": "Predictive event fired once, 3 days before a trial ends.",
2935
2953
  "playground": "none"
2936
2954
  },
2937
- "content": "## When this fires\n\nA daily scan finds trials ending within the next 3 days and emits this event once per trial. The idempotency key is derived from the subscription and the trial end date, so re-running the scan never sends a duplicate.\n\nUse it to remind the customer that billing starts on `trialEndsAt` — the single most effective moment to prevent involuntary churn and surprise charges.\n\nIf the trial end date changes after this event fired (for example, the customer converts early), `trial.converted` or `trial.expired` reflects the final outcome."
2955
+ "content": "## When this fires\n\nA recurring scan finds trials ending within the next 3 days and emits this event once per trial. The idempotency key is derived from the subscription and the trial end date, so re-running the scan never sends a duplicate.\n\nUse it to remind the customer that billing starts on `trialEndsAt` — the single most effective moment to prevent involuntary churn and surprise charges.\n\nIf the trial end date changes after this event fired (for example, the customer converts early), `trial.converted` or `trial.expired` reflects the final outcome."
2938
2956
  }
2939
2957
  }
2940
2958
  },
@@ -3370,7 +3388,7 @@
3370
3388
  "type": "null"
3371
3389
  }
3372
3390
  ],
3373
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
3391
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
3374
3392
  },
3375
3393
  "subPaymentMethod": {
3376
3394
  "anyOf": [
@@ -3664,7 +3682,7 @@
3664
3682
  "type": "null"
3665
3683
  }
3666
3684
  ],
3667
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
3685
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
3668
3686
  },
3669
3687
  "subPaymentMethod": {
3670
3688
  "anyOf": [
@@ -3852,7 +3870,7 @@
3852
3870
  "type": "null"
3853
3871
  }
3854
3872
  ],
3855
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
3873
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
3856
3874
  },
3857
3875
  "subPaymentMethod": {
3858
3876
  "anyOf": [
@@ -4140,6 +4158,12 @@
4140
4158
  "null"
4141
4159
  ]
4142
4160
  },
4161
+ "amountRefunded": {
4162
+ "type": "integer",
4163
+ "minimum": 0,
4164
+ "maximum": 9007199254740991,
4165
+ "description": "Cumulative confirmed refunds in the payment currency’s smallest unit."
4166
+ },
4143
4167
  "refundAmount": {
4144
4168
  "type": "number",
4145
4169
  "description": "The refunded amount in cents (100 = $1.00)."
@@ -4157,6 +4181,7 @@
4157
4181
  "invoiceNumber",
4158
4182
  "customerId",
4159
4183
  "subscriptionId",
4184
+ "amountRefunded",
4160
4185
  "refundAmount",
4161
4186
  "currency"
4162
4187
  ],
@@ -4189,6 +4214,7 @@
4189
4214
  "customerId": "user_123",
4190
4215
  "subscriptionId": "sub_1a2b3c4d",
4191
4216
  "refundAmount": 9900,
4217
+ "amountRefunded": 9900,
4192
4218
  "currency": "usd"
4193
4219
  }
4194
4220
  }
@@ -4862,7 +4888,7 @@
4862
4888
  "type": "null"
4863
4889
  }
4864
4890
  ],
4865
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
4891
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
4866
4892
  },
4867
4893
  "subPaymentMethod": {
4868
4894
  "anyOf": [
@@ -5126,7 +5152,7 @@
5126
5152
  "type": "null"
5127
5153
  }
5128
5154
  ],
5129
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
5155
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
5130
5156
  },
5131
5157
  "subPaymentMethod": {
5132
5158
  "anyOf": [
@@ -5497,7 +5523,7 @@
5497
5523
  "invoice.voided": {
5498
5524
  "post": {
5499
5525
  "summary": "invoice.voided",
5500
- "description": "Fired when an invoice is voided — nullified before collection, either manually or automatically when its subscription is canceled. Voiding is terminal: a void invoice is never retried or collected.",
5526
+ "description": "Fired when an invoice is voided — nullified before collection, for example when its subscription is canceled. Voiding is terminal: a void invoice is never retried or collected.",
5501
5527
  "tags": [
5502
5528
  "Webhooks"
5503
5529
  ],
@@ -5657,7 +5683,7 @@
5657
5683
  "invoice.overdue": {
5658
5684
  "post": {
5659
5685
  "summary": "invoice.overdue",
5660
- "description": "Fired once when an outstanding invoice passes its due date without payment. The invoice keeps its outstanding status — overdue is a fact about the due date, not a new status. Use it to start your own dunning flow.",
5686
+ "description": "Fired once when an invoice is still outstanding 24 hours after its due date. The invoice keeps its outstanding status — overdue is a fact about the due date, not a new status. Use it to start your own dunning flow.",
5661
5687
  "tags": [
5662
5688
  "Webhooks"
5663
5689
  ],
@@ -5810,14 +5836,14 @@
5810
5836
  "description": "An outstanding invoice passed its due date without payment.",
5811
5837
  "playground": "none"
5812
5838
  },
5813
- "content": "## When this fires\n\nA daily scan finds outstanding invoices whose `dueDate` is in the past and emits this event once per invoice. The idempotency key is derived from the invoice, so re-running the scan never sends a duplicate.\n\nThe invoice keeps its `\"outstanding\"` status — overdue is a fact about the due date, not a new status. If the invoice is later paid or voided, `payment.received` or `invoice.voided` reflects the outcome.\n\nUse it to start your own dunning flow: email the customer, show an in-app banner, or flag the account for follow-up."
5839
+ "content": "## When this fires\n\nA recurring scan finds invoices that are still outstanding 24 hours after their `dueDate` and emits this event once per invoice. The idempotency key is derived from the invoice, so re-running the scan never sends a duplicate.\n\nThe invoice keeps its `\"outstanding\"` status — overdue is a fact about the due date, not a new status. If the invoice is later paid or voided, `payment.received` or `invoice.voided` reflects the outcome.\n\nUse it to start your own dunning flow: email the customer, show an in-app banner, or flag the account for follow-up."
5814
5840
  }
5815
5841
  }
5816
5842
  },
5817
5843
  "invoice.upcoming": {
5818
5844
  "post": {
5819
5845
  "summary": "invoice.upcoming",
5820
- "description": "Predictive event fired once, 3 days before an active subscription renews. Use it to notify the customer before they are charged. Carries no amount — usage-based charges are only final at renewal, when invoice.created delivers the actual invoice.",
5846
+ "description": "Predictive event fired once, 3 days before an active subscription renews. A subscription on a free plan issues no renewal invoice and does not fire it. Use it to notify the customer before they are charged. Carries no amount — usage-based charges are only final at renewal, when invoice.created delivers the actual invoice.",
5821
5847
  "tags": [
5822
5848
  "Webhooks"
5823
5849
  ],
@@ -5940,7 +5966,7 @@
5940
5966
  "description": "Predictive event fired once, 3 days before a subscription renews.",
5941
5967
  "playground": "none"
5942
5968
  },
5943
- "content": "## When this fires\n\nA daily scan finds active subscriptions renewing within the next 3 days and emits this event once per renewal. The idempotency key is derived from the subscription and the renewal date, so re-running the scan never sends a duplicate.\n\nSubscriptions with a scheduled cancellation are excluded — no renewal invoice will be issued for them.\n\nUse it to notify the customer before they are charged. The payload intentionally carries no amount: usage-based charges are only final at renewal time, when `invoice.created` delivers the actual invoice."
5969
+ "content": "## When this fires\n\nA recurring scan finds active subscriptions renewing within the next 3 days and emits this event once per renewal. The idempotency key is derived from the subscription and the renewal date, so re-running the scan never sends a duplicate.\n\nSubscriptions with a scheduled cancellation and subscriptions on a free plan are excluded — no renewal invoice will be issued for them.\n\nUse it to notify the customer before they are charged. The payload intentionally carries no amount: usage-based charges are only final at renewal time, when `invoice.created` delivers the actual invoice."
5944
5970
  }
5945
5971
  }
5946
5972
  },
@@ -6001,7 +6027,7 @@
6001
6027
  "type": "null"
6002
6028
  }
6003
6029
  ],
6004
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
6030
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
6005
6031
  },
6006
6032
  "card": {
6007
6033
  "anyOf": [
@@ -6125,7 +6151,7 @@
6125
6151
  "type": "null"
6126
6152
  }
6127
6153
  ],
6128
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
6154
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
6129
6155
  },
6130
6156
  "card": {
6131
6157
  "anyOf": [
@@ -6242,7 +6268,7 @@
6242
6268
  "type": "null"
6243
6269
  }
6244
6270
  ],
6245
- "description": "The payment method: card, oxxo, or mercado_pago. Null when unknown."
6271
+ "description": "The payment method: card, apple_pay, google_pay, link, smartpix, oxxo or mercado_pago. Null when unknown."
6246
6272
  },
6247
6273
  "card": {
6248
6274
  "anyOf": [
@@ -7027,11 +7053,15 @@
7027
7053
  "minimum": 0,
7028
7054
  "description": "Actual credits deducted by this feature during the period."
7029
7055
  },
7056
+ "unlimited": {
7057
+ "type": "boolean",
7058
+ "description": "Whether the plan credits are unlimited: usage never spends them and only the plan credit limit caps it."
7059
+ },
7030
7060
  "availableUnits": {
7031
7061
  "type": "integer",
7032
7062
  "minimum": 0,
7033
7063
  "maximum": 9007199254740991,
7034
- "description": "Additional product units available from the current shared credit pool at this feature's conversion rate."
7064
+ "description": "Additional product units available from the current shared credit pool at this feature's conversion rate. Absent when unlimited is true."
7035
7065
  }
7036
7066
  },
7037
7067
  "required": [
@@ -7040,7 +7070,7 @@
7040
7070
  "unitsUsed",
7041
7071
  "creditsPerUnit",
7042
7072
  "creditsConsumed",
7043
- "availableUnits"
7073
+ "unlimited"
7044
7074
  ],
7045
7075
  "additionalProperties": false
7046
7076
  },
@@ -7098,11 +7128,15 @@
7098
7128
  "additionalProperties": false,
7099
7129
  "description": "Actual money deducted for this feature during the period."
7100
7130
  },
7131
+ "unlimited": {
7132
+ "type": "boolean",
7133
+ "description": "Whether the plan balance is unlimited: usage never spends it and only the plan balance limit caps it."
7134
+ },
7101
7135
  "availableUnits": {
7102
7136
  "type": "integer",
7103
7137
  "minimum": 0,
7104
7138
  "maximum": 9007199254740991,
7105
- "description": "Estimated additional units available from the current shared balance at this feature's fixed price. Absent for dynamic pricing."
7139
+ "description": "Estimated additional units available from the current shared balance at this feature's fixed price. Absent for dynamic pricing and when unlimited is true."
7106
7140
  },
7107
7141
  "unitPrice": {
7108
7142
  "type": "object",
@@ -7136,7 +7170,8 @@
7136
7170
  "model",
7137
7171
  "period",
7138
7172
  "unitsUsed",
7139
- "spent"
7173
+ "spent",
7174
+ "unlimited"
7140
7175
  ],
7141
7176
  "additionalProperties": false
7142
7177
  }
@@ -9053,7 +9088,7 @@
9053
9088
  "credits.expired": {
9054
9089
  "post": {
9055
9090
  "summary": "credits.expired",
9056
- "description": "Fired at a reset when unused plan credits are discarded. On a plan whose unused plan credits expire, every unused plan credit expires at each reset. On a plan that rolls them over, a reset keeps them, up to the plan's maxPlanCredits when it has one, and only the excess expires. A change to another credits plan applies the new plan's terms the same way. Purchased credits never expire and are not affected.",
9091
+ "description": "Fired at a reset when unused plan credits are discarded. On a plan whose unused plan credits expire, every unused plan credit expires at each reset. On a plan that rolls them over, a reset keeps them, up to the plan's maxPlanCredits when it has one, and only the excess expires. A change to another credits plan applies the new plan's terms the same way, and an immediate change also discards the credits the previous plan gave for the period it cuts short. Purchased credits never expire and are not affected.",
9057
9092
  "tags": [
9058
9093
  "Webhooks"
9059
9094
  ],
@@ -11130,7 +11165,9 @@
11130
11165
  "oxxo",
11131
11166
  "mercado_pago",
11132
11167
  "google_pay",
11133
- "smartpix"
11168
+ "smartpix",
11169
+ "apple_pay",
11170
+ "link"
11134
11171
  ]
11135
11172
  },
11136
11173
  "SubPaymentMethod": {
@@ -11210,48 +11247,55 @@
11210
11247
  "WebhookCreditsBalance": {
11211
11248
  "type": "object",
11212
11249
  "properties": {
11250
+ "unlimited": {
11251
+ "type": "boolean",
11252
+ "description": "true when the plan credits are unlimited: usage never spends them and only the plan credit limit caps it."
11253
+ },
11213
11254
  "planCredits": {
11255
+ "description": "Plan credits left. Omitted when unlimited is true.",
11214
11256
  "type": "number"
11215
11257
  },
11216
11258
  "purchasedCredits": {
11217
11259
  "type": "number"
11218
11260
  },
11219
11261
  "totalCredits": {
11262
+ "description": "planCredits plus purchasedCredits. Omitted when unlimited is true.",
11220
11263
  "type": "number"
11221
11264
  }
11222
11265
  },
11223
11266
  "required": [
11224
- "planCredits",
11225
- "purchasedCredits",
11226
- "totalCredits"
11267
+ "unlimited",
11268
+ "purchasedCredits"
11227
11269
  ],
11228
11270
  "additionalProperties": false
11229
11271
  },
11230
11272
  "WebhookBalance": {
11231
11273
  "type": "object",
11232
11274
  "properties": {
11275
+ "unlimited": {
11276
+ "type": "boolean",
11277
+ "description": "true when the plan balance is unlimited: usage never spends it and only the plan balance limit caps it."
11278
+ },
11233
11279
  "currentBalance": {
11234
- "type": "number",
11235
- "description": "The available balance, plan plus purchased, in rate scale. Equal to totalBalance."
11280
+ "description": "The available balance, plan plus purchased, in rate scale. Equal to totalBalance. Omitted when unlimited is true.",
11281
+ "type": "number"
11236
11282
  },
11237
11283
  "planBalance": {
11238
- "type": "number",
11239
- "description": "The plan part in rate scale: spent first, replaced or rolled over at each reset, negative while overage is owed."
11284
+ "description": "The plan part in rate scale: spent first, replaced or rolled over at each reset, negative while overage is owed. Omitted when unlimited is true.",
11285
+ "type": "number"
11240
11286
  },
11241
11287
  "purchasedBalance": {
11242
11288
  "type": "number",
11243
11289
  "description": "The purchased part in rate scale: top-ups and manual adjustments, spent after the plan part and kept until the subscription ends."
11244
11290
  },
11245
11291
  "totalBalance": {
11246
- "type": "number",
11247
- "description": "planBalance plus purchasedBalance, in rate scale."
11292
+ "description": "planBalance plus purchasedBalance, in rate scale. Omitted when unlimited is true.",
11293
+ "type": "number"
11248
11294
  }
11249
11295
  },
11250
11296
  "required": [
11251
- "currentBalance",
11252
- "planBalance",
11253
- "purchasedBalance",
11254
- "totalBalance"
11297
+ "unlimited",
11298
+ "purchasedBalance"
11255
11299
  ],
11256
11300
  "additionalProperties": false
11257
11301
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commet/node",
3
- "version": "9.11.0",
3
+ "version": "9.13.0",
4
4
  "description": "Commet SDK for Node.js - Billing and usage tracking",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",