@fleetless/contracts 6.3.0-next.4 → 6.3.0-next.5
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/CHANGELOG.md +9 -49
- package/artifacts/openapi.json +1841 -4344
- package/artifacts/routes.json +5 -330
- package/dist/errors.d.ts +5 -17
- package/dist/errors.js +6 -31
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -5
- package/dist/plans.d.ts +9 -9
- package/dist/realtime.d.ts +2 -2
- package/dist/rest.d.ts +11 -10
- package/dist/rest.js +8 -7
- package/dist/routes.d.ts +1 -1
- package/dist/routes.js +12 -200
- package/package.json +1 -1
- package/artifacts/schema/billing-address.schema.json +0 -49
- package/artifacts/schema/billing-cancel-request.schema.json +0 -12
- package/artifacts/schema/billing-change-request.schema.json +0 -60
- package/artifacts/schema/billing-change-response.schema.json +0 -799
- package/artifacts/schema/billing-details-update.schema.json +0 -25
- package/artifacts/schema/billing-details.schema.json +0 -176
- package/artifacts/schema/billing-invoice.schema.json +0 -76
- package/artifacts/schema/billing-view.schema.json +0 -705
- package/artifacts/schema/checkout-request.schema.json +0 -252
- package/artifacts/schema/checkout-response.schema.json +0 -22
- package/artifacts/schema/checkout-status.schema.json +0 -49
- package/artifacts/schema/payment-method-change-request.schema.json +0 -19
- package/artifacts/schema/payment-method.schema.json +0 -86
- package/artifacts/schema/payment-provider-unavailable-details.schema.json +0 -29
- package/artifacts/schema/vat-id-check-request.schema.json +0 -22
- package/artifacts/schema/vat-id-check-response.schema.json +0 -36
- package/dist/billing.d.ts +0 -812
- package/dist/billing.js +0 -471
package/artifacts/routes.json
CHANGED
|
@@ -16,10 +16,6 @@
|
|
|
16
16
|
"id": "org",
|
|
17
17
|
"title": "Org"
|
|
18
18
|
},
|
|
19
|
-
{
|
|
20
|
-
"id": "billing",
|
|
21
|
-
"title": "Billing"
|
|
22
|
-
},
|
|
23
19
|
{
|
|
24
20
|
"id": "users",
|
|
25
21
|
"title": "Team"
|
|
@@ -5267,7 +5263,7 @@
|
|
|
5267
5263
|
"method": "POST",
|
|
5268
5264
|
"path": "/api/robots/:id/config/rename-slug",
|
|
5269
5265
|
"section": "config",
|
|
5270
|
-
"summary": "Renames a slug in the draft and
|
|
5266
|
+
"summary": "Renames a slug in the draft and moves every role grant and the recorded history with the name.",
|
|
5271
5267
|
"audience": "developer",
|
|
5272
5268
|
"auth": "developer",
|
|
5273
5269
|
"rateLimited": false,
|
|
@@ -5293,10 +5289,11 @@
|
|
|
5293
5289
|
"unknown_slug",
|
|
5294
5290
|
"reserved_slug",
|
|
5295
5291
|
"duplicate_slug",
|
|
5292
|
+
"history_migrating",
|
|
5296
5293
|
"internal_error"
|
|
5297
5294
|
],
|
|
5298
5295
|
"transport": "http",
|
|
5299
|
-
"notes": "One transaction
|
|
5296
|
+
"notes": "One transaction: the draft document and every app-role grant carrying the slug are rewritten, and the recorded history moves with the name without rewriting any stored sample, so a rename takes the same time however much history there is. Samples the robot still sends under the old slug until the next publish join the renamed history. The published configuration is immutable, so `requires_publish` says the rename is not live on the robot yet. A draft that is not a document is `409 draft_not_a_document` — the same word the usage preview uses for the same state. While the recorded history is being migrated the rename is refused with `409 history_migrating`; nothing is written, and the same request succeeds once the migration has finished."
|
|
5300
5297
|
},
|
|
5301
5298
|
{
|
|
5302
5299
|
"method": "GET",
|
|
@@ -6418,7 +6415,7 @@
|
|
|
6418
6415
|
"target_state_conflict"
|
|
6419
6416
|
],
|
|
6420
6417
|
"transport": "http",
|
|
6421
|
-
"notes": "Owner tier, and **downward only**: this route moves the org to a lower plan or cancels it outright to Basic. It never moves the org up — an upgrade or an add-on
|
|
6418
|
+
"notes": "Owner tier, and **downward only**: this route moves the org to a lower plan or cancels it outright to Basic. It never moves the org up — until payment exists, an upgrade or an add-on is not this route's job at all, and is handled today as a Feedback request that Fleetless then applies through the admin route. `409 target_state_conflict` names `target_plan` with rule `not_lower` when the chosen plan is not below the org's current one; with rule `locked_basic_only` when the org is locked (`orgLock`) and the chosen plan is anything but Basic; and with rule `migration_basic_only` when the org is still on the beta, awaiting the switch to priced plans, and the chosen plan is anything but Basic — that choice is exactly what the org lands on at the switch. An owner is never named in `keep` and always stays, but still counts against the target plan's `seats`; `409 plan_limit` names `seats` when the owners alone already exceed it, and names whichever other limit `keep` still exceeds otherwise. `keep` is `null` when the org's current usage already fits the target plan outright and nothing is deleted; named, it lists exactly the robots, apps, app users and developers that stay. The choice is stored as `pending_change` and takes effect at `period_ends_at` — **everything of the chosen kind not named in `keep` is deleted at that instant, never before** — except a choice made while the org is locked, which takes effect at once, and a beta org's choice, which takes effect at the switch date instead. Anything created while the choice is pending is checked against the target plan too and, when it passes, is folded into `keep`, so exactly what the confirmation counted is what is actually deleted. A later `PUT` replaces a still-pending choice outright."
|
|
6422
6419
|
},
|
|
6423
6420
|
{
|
|
6424
6421
|
"method": "DELETE",
|
|
@@ -6468,332 +6465,10 @@
|
|
|
6468
6465
|
"not_found",
|
|
6469
6466
|
"validation_error",
|
|
6470
6467
|
"plan_limit",
|
|
6471
|
-
"rate_limited",
|
|
6472
|
-
"target_state_conflict"
|
|
6473
|
-
],
|
|
6474
|
-
"transport": "http",
|
|
6475
|
-
"notes": "Every public host answers `404 not_found` for every `/api/admin/*` path — this route is reachable only on the cloud's private address — and that same address answers `404` here too while `OPS_API_TOKEN` is not configured, so a door with no key behind it reads exactly like one nobody opened. An unknown `:id` is the same `404`. Applies at once, never queued as a `pending_change`, and only when the org's current usage fits the result: `409 plan_limit` when a lower plan, a lowered override or a removed add-on would leave the org over a limit — the operator never deletes an org's things, only the owner's own choice does. On success it also withdraws any `pending_change`, ends a beta org's wait for the switch and lifts a lock. Audited as `org.plan_changed` with the `fleetless` actor, never a developer's — the row names what an operator did, not who in the org asked for it. `409 target_state_conflict` names `currency` or `period_ends_at` with rule `billed` when the org has a billing account in `active` or `past_due` and the request names either field: both are fixed at the first payment and billing, not the operator, owns them from then on. The plan itself keeps working on a billed org — a plan, an add-on or an override the operator sets here is charged from the next renewal, except `enterprise` and `basic`, which the sweep cancels the billing account for instead."
|
|
6476
|
-
},
|
|
6477
|
-
{
|
|
6478
|
-
"method": "GET",
|
|
6479
|
-
"path": "/api/billing",
|
|
6480
|
-
"section": "billing",
|
|
6481
|
-
"summary": "Reads the org's billing account, payment method and invoices.",
|
|
6482
|
-
"audience": "developer",
|
|
6483
|
-
"auth": "developer",
|
|
6484
|
-
"rateLimited": false,
|
|
6485
|
-
"ownerTier": true,
|
|
6486
|
-
"status": 200,
|
|
6487
|
-
"params": [],
|
|
6488
|
-
"query": null,
|
|
6489
|
-
"request": null,
|
|
6490
|
-
"response": "billing-view",
|
|
6491
|
-
"errors": [
|
|
6492
|
-
"unauthorized",
|
|
6493
|
-
"token_expired",
|
|
6494
|
-
"token_revoked",
|
|
6495
|
-
"tier_required"
|
|
6496
|
-
],
|
|
6497
|
-
"transport": "http",
|
|
6498
|
-
"notes": "`available: false` when `MOLLIE_API_KEY` is not configured — this cloud takes no payments, and every billing route that charges or opens a Mollie checkout answers `503 billing_unavailable` instead of acting; cancel, resume, the details and the VAT-ID check need no Mollie and answer normally. `account` is `null` before the org has ever checked out; the plan and its limits still come from `GET /api/org/plan` (fleetless/fleetless issue 103) and are not repeated here."
|
|
6499
|
-
},
|
|
6500
|
-
{
|
|
6501
|
-
"method": "POST",
|
|
6502
|
-
"path": "/api/billing/checkout",
|
|
6503
|
-
"section": "billing",
|
|
6504
|
-
"summary": "Starts a Mollie checkout for a plan, or an upgrade paid at once.",
|
|
6505
|
-
"audience": "developer",
|
|
6506
|
-
"auth": "developer",
|
|
6507
|
-
"rateLimited": true,
|
|
6508
|
-
"ownerTier": true,
|
|
6509
|
-
"status": 201,
|
|
6510
|
-
"params": [],
|
|
6511
|
-
"query": null,
|
|
6512
|
-
"request": "checkout-request",
|
|
6513
|
-
"response": "checkout-response",
|
|
6514
|
-
"errors": [
|
|
6515
|
-
"unauthorized",
|
|
6516
|
-
"token_expired",
|
|
6517
|
-
"token_revoked",
|
|
6518
|
-
"tier_required",
|
|
6519
|
-
"validation_error",
|
|
6520
|
-
"plan_limit",
|
|
6521
|
-
"target_state_conflict",
|
|
6522
|
-
"rate_limited",
|
|
6523
|
-
"billing_unavailable",
|
|
6524
|
-
"payment_provider_unavailable"
|
|
6525
|
-
],
|
|
6526
|
-
"transport": "http",
|
|
6527
|
-
"notes": "Rate limited on the `billing.checkout` bucket, same as `POST /api/billing/payment-method` and `POST /api/billing/invoices/:id/pay` — the three routes that mint a Mollie checkout. `400 validation_error` names who may not pay with these rules: `{ field: 'billing.address.country', rule: 'eu_person' }` for a person in another EU country, `{ field: 'billing.vat_id', rule: 'vat_id_required' }` for a company there with no VAT ID, `{ field: 'billing.vat_id', rule: 'vat_id_invalid' }` once VIES has said so, and `{ field: 'accept_withdrawal', rule: 'required' }` for a person who did not confirm it. `409 target_state_conflict` names `plan` with rule `already_billed` when the org already has an `active` or `past_due` billing account — checkout is for the first payment only, every later change is `POST /api/billing/change`. `checkout_url` is Mollie's hosted page, where the payer chooses card, PayPal or Apple Pay; the return lands on `<console>/settings/billing?checkout=<checkout_id>`, which polls `GET /api/billing/checkout/:id` until the webhook — or the poll itself — has reconciled the payment. `409 plan_limit` is the org's own usage against the plan being bought."
|
|
6528
|
-
},
|
|
6529
|
-
{
|
|
6530
|
-
"method": "GET",
|
|
6531
|
-
"path": "/api/billing/checkout/:id",
|
|
6532
|
-
"section": "billing",
|
|
6533
|
-
"summary": "Reads a checkout's status, for the return page's poll.",
|
|
6534
|
-
"audience": "developer",
|
|
6535
|
-
"auth": "developer",
|
|
6536
|
-
"rateLimited": false,
|
|
6537
|
-
"ownerTier": true,
|
|
6538
|
-
"status": 200,
|
|
6539
|
-
"params": [
|
|
6540
|
-
{
|
|
6541
|
-
"name": "id",
|
|
6542
|
-
"description": "The checkout id from `checkoutResponse.checkout_id`, carried on the return URL."
|
|
6543
|
-
}
|
|
6544
|
-
],
|
|
6545
|
-
"query": null,
|
|
6546
|
-
"request": null,
|
|
6547
|
-
"response": "checkout-status",
|
|
6548
|
-
"errors": [
|
|
6549
|
-
"unauthorized",
|
|
6550
|
-
"token_expired",
|
|
6551
|
-
"token_revoked",
|
|
6552
|
-
"tier_required",
|
|
6553
|
-
"not_found"
|
|
6554
|
-
],
|
|
6555
|
-
"transport": "http",
|
|
6556
|
-
"notes": "Calls the same `reconcilePayment(deps, molliePaymentId)` the webhook calls, so a return page that lands before the webhook does still sees the payment applied — this route, not the webhook, is what the dev stack and the test-mode suite rely on, since Mollie refuses an unreachable webhook URL. `plan` is the org's plan after applying, unchanged unless `purpose` is `upgrade` and `status` is `paid`."
|
|
6557
|
-
},
|
|
6558
|
-
{
|
|
6559
|
-
"method": "POST",
|
|
6560
|
-
"path": "/api/billing/vat-id/check",
|
|
6561
|
-
"section": "billing",
|
|
6562
|
-
"summary": "Checks a VAT ID against VIES, for the checkout form and the details page.",
|
|
6563
|
-
"audience": "developer",
|
|
6564
|
-
"auth": "developer",
|
|
6565
|
-
"rateLimited": true,
|
|
6566
|
-
"ownerTier": true,
|
|
6567
|
-
"status": 200,
|
|
6568
|
-
"params": [],
|
|
6569
|
-
"query": null,
|
|
6570
|
-
"request": "vat-id-check-request",
|
|
6571
|
-
"response": "vat-id-check-response",
|
|
6572
|
-
"errors": [
|
|
6573
|
-
"unauthorized",
|
|
6574
|
-
"token_expired",
|
|
6575
|
-
"token_revoked",
|
|
6576
|
-
"tier_required",
|
|
6577
|
-
"validation_error",
|
|
6578
|
-
"rate_limited"
|
|
6579
|
-
],
|
|
6580
|
-
"transport": "http",
|
|
6581
|
-
"notes": "Rate limited on its own `billing.vat_check` bucket, sized for a form checked on blur rather than for a checkout. Never refuses for an `unverified` VIES answer — the checkout itself accepts `unverified` and the hourly sweep re-checks it — this route only reports what VIES currently says, in a different place for the same ID, entered either at checkout or on `PATCH /api/billing/details`."
|
|
6582
|
-
},
|
|
6583
|
-
{
|
|
6584
|
-
"method": "PATCH",
|
|
6585
|
-
"path": "/api/billing/details",
|
|
6586
|
-
"section": "billing",
|
|
6587
|
-
"summary": "Edits the billing account's invoice email or VAT ID.",
|
|
6588
|
-
"audience": "developer",
|
|
6589
|
-
"auth": "developer",
|
|
6590
|
-
"rateLimited": false,
|
|
6591
|
-
"ownerTier": true,
|
|
6592
|
-
"status": 200,
|
|
6593
|
-
"params": [],
|
|
6594
|
-
"query": null,
|
|
6595
|
-
"request": "billing-details-update",
|
|
6596
|
-
"response": "billing-view",
|
|
6597
|
-
"errors": [
|
|
6598
|
-
"unauthorized",
|
|
6599
|
-
"token_expired",
|
|
6600
|
-
"token_revoked",
|
|
6601
|
-
"tier_required",
|
|
6602
|
-
"validation_error",
|
|
6603
|
-
"not_found"
|
|
6604
|
-
],
|
|
6605
|
-
"transport": "http",
|
|
6606
|
-
"notes": "`404 not_found` when the org has no billing account yet — there is nothing here to edit before the first checkout. A new `vat_id` is re-checked through VIES the same way `POST /api/billing/vat-id/check` does; a valid ID entered here lifts the block a definitive `invalid` answer placed on the next renewal."
|
|
6607
|
-
},
|
|
6608
|
-
{
|
|
6609
|
-
"method": "POST",
|
|
6610
|
-
"path": "/api/billing/change",
|
|
6611
|
-
"section": "billing",
|
|
6612
|
-
"summary": "Moves the org's plan, cycle or add-ons, charging increases at once.",
|
|
6613
|
-
"audience": "developer",
|
|
6614
|
-
"auth": "developer",
|
|
6615
|
-
"rateLimited": false,
|
|
6616
|
-
"ownerTier": true,
|
|
6617
|
-
"status": 200,
|
|
6618
|
-
"params": [],
|
|
6619
|
-
"query": null,
|
|
6620
|
-
"request": "billing-change-request",
|
|
6621
|
-
"response": "billing-change-response",
|
|
6622
|
-
"errors": [
|
|
6623
|
-
"unauthorized",
|
|
6624
|
-
"token_expired",
|
|
6625
|
-
"token_revoked",
|
|
6626
|
-
"tier_required",
|
|
6627
|
-
"validation_error",
|
|
6628
|
-
"plan_limit",
|
|
6629
|
-
"target_state_conflict",
|
|
6630
|
-
"billing_unavailable",
|
|
6631
|
-
"payment_provider_unavailable"
|
|
6632
|
-
],
|
|
6633
|
-
"transport": "http",
|
|
6634
|
-
"notes": "The body names the **absolute** target — plan, cycle and add-ons — never a delta: the route compares it with the org's current state and splits the difference. The increasing part is charged now, through the same proration `changeNetCents` computes, and takes effect the moment Mollie accepts the `recurring` payment with anything but `failed`, `canceled` or `expired` — card mandates, Apple Pay's included, usually answer `paid` within seconds, a PayPal one may stay `pending` for a while; if it fails later, its open invoice enters dunning like a failed renewal. If Mollie refuses or does not answer, nothing is applied and this answers `502 payment_provider_unavailable` instead. The decreasing part — a lower plan, yearly → monthly, fewer add-ons — is stored as a pending change and applied at the period's end, same as `PUT /api/org/plan/change`; a lower plan over the target's limits answers `409 plan_limit` and the console opens its choose-what-stays page. Any increase first withdraws a pending downgrade or cancel, exactly as the admin route does. `409 target_state_conflict` names `billing` with rule `no_account` (no checkout yet — use `POST /api/billing/checkout`), `past_due` (an open invoice has to be paid first) or `no_valid_mandate` (the payment method needs renewing first, `POST /api/billing/payment-method`). `charged` in the response is the invoice from the part charged now, or `null` when the whole request was a decrease."
|
|
6635
|
-
},
|
|
6636
|
-
{
|
|
6637
|
-
"method": "POST",
|
|
6638
|
-
"path": "/api/billing/payment-method",
|
|
6639
|
-
"section": "billing",
|
|
6640
|
-
"summary": "Starts a Mollie checkout for a new payment method.",
|
|
6641
|
-
"audience": "developer",
|
|
6642
|
-
"auth": "developer",
|
|
6643
|
-
"rateLimited": true,
|
|
6644
|
-
"ownerTier": true,
|
|
6645
|
-
"status": 201,
|
|
6646
|
-
"params": [],
|
|
6647
|
-
"query": null,
|
|
6648
|
-
"request": "payment-method-change-request",
|
|
6649
|
-
"response": "checkout-response",
|
|
6650
|
-
"errors": [
|
|
6651
|
-
"unauthorized",
|
|
6652
|
-
"token_expired",
|
|
6653
|
-
"token_revoked",
|
|
6654
|
-
"tier_required",
|
|
6655
|
-
"validation_error",
|
|
6656
|
-
"not_found",
|
|
6657
|
-
"rate_limited",
|
|
6658
|
-
"billing_unavailable",
|
|
6659
|
-
"payment_provider_unavailable"
|
|
6660
|
-
],
|
|
6661
|
-
"transport": "http",
|
|
6662
|
-
"notes": "Rate limited on the `billing.checkout` bucket, same as `POST /api/billing/checkout`. Creates a hosted `first` payment on the existing Mollie customer, restricted to the chosen method (`card` → Mollie's `creditcard`, `paypal`, `applepay`). For `card` and `paypal` it is a payment of `0.00` in the org's currency that pays no open invoice: the invoice stays open, the next dunning retry charges the new mandate — except for an invoice that was charged back, which is never charged again automatically; pay it with `POST /api/billing/invoices/:id/pay` — and that route still pays any open invoice at once. `applepay` behaves the same where Mollie accepts a zero-amount Apple Pay payment; where it does not, a change to Apple Pay is only offered together with paying an open invoice — the payment is then that invoice's amount and pays it — and without one this answers `400 validation_error` with `{ field: 'method', rule: 'applepay_needs_open_invoice' }`. A client offers what `payment_method_options` in `GET /api/billing` lists. `404 not_found` when the org has no billing account yet. When the new mandate turns `valid` it becomes the account's — an Apple Pay one is a card mandate, shown as `applepay` — and every other mandate of the customer is revoked."
|
|
6663
|
-
},
|
|
6664
|
-
{
|
|
6665
|
-
"method": "POST",
|
|
6666
|
-
"path": "/api/billing/cancel",
|
|
6667
|
-
"section": "billing",
|
|
6668
|
-
"summary": "Schedules the org's plan to cancel to Basic at the period's end.",
|
|
6669
|
-
"audience": "developer",
|
|
6670
|
-
"auth": "developer",
|
|
6671
|
-
"rateLimited": false,
|
|
6672
|
-
"ownerTier": true,
|
|
6673
|
-
"status": 200,
|
|
6674
|
-
"params": [],
|
|
6675
|
-
"query": null,
|
|
6676
|
-
"request": "billing-cancel-request",
|
|
6677
|
-
"requestOptional": true,
|
|
6678
|
-
"response": "billing-view",
|
|
6679
|
-
"errors": [
|
|
6680
|
-
"unauthorized",
|
|
6681
|
-
"token_expired",
|
|
6682
|
-
"token_revoked",
|
|
6683
|
-
"tier_required",
|
|
6684
|
-
"validation_error",
|
|
6685
|
-
"not_found",
|
|
6686
|
-
"plan_limit"
|
|
6687
|
-
],
|
|
6688
|
-
"transport": "http",
|
|
6689
|
-
"notes": "A body is optional — `reason` alone, and nobody but Fleetless reads it. `404 not_found` when the org has no billing account to cancel. Takes effect at the period's end, nothing credited or refunded; over Basic's limits this is refused `409 plan_limit` and the console sends the owner to its choose-what-stays page instead, the same as a plan downgrade. \"Cancel at period end\" is not a flag here — it reads as `pending_change.target_plan === 'basic'` on `GET /api/org/plan`."
|
|
6690
|
-
},
|
|
6691
|
-
{
|
|
6692
|
-
"method": "POST",
|
|
6693
|
-
"path": "/api/billing/resume",
|
|
6694
|
-
"section": "billing",
|
|
6695
|
-
"summary": "Withdraws a scheduled cancel, keeping the current plan.",
|
|
6696
|
-
"audience": "developer",
|
|
6697
|
-
"auth": "developer",
|
|
6698
|
-
"rateLimited": false,
|
|
6699
|
-
"ownerTier": true,
|
|
6700
|
-
"status": 200,
|
|
6701
|
-
"params": [],
|
|
6702
|
-
"query": null,
|
|
6703
|
-
"request": null,
|
|
6704
|
-
"response": "billing-view",
|
|
6705
|
-
"errors": [
|
|
6706
|
-
"unauthorized",
|
|
6707
|
-
"token_expired",
|
|
6708
|
-
"token_revoked",
|
|
6709
|
-
"tier_required",
|
|
6710
|
-
"not_found"
|
|
6711
|
-
],
|
|
6712
|
-
"transport": "http",
|
|
6713
|
-
"notes": "`404 not_found` when nothing is pending — there is no scheduled cancel to withdraw. The org stays on its current plan, unchanged."
|
|
6714
|
-
},
|
|
6715
|
-
{
|
|
6716
|
-
"method": "GET",
|
|
6717
|
-
"path": "/api/billing/invoices/:id/pdf",
|
|
6718
|
-
"section": "billing",
|
|
6719
|
-
"summary": "Downloads one invoice's rendered PDF.",
|
|
6720
|
-
"audience": "developer",
|
|
6721
|
-
"auth": "developer",
|
|
6722
|
-
"rateLimited": false,
|
|
6723
|
-
"ownerTier": true,
|
|
6724
|
-
"status": 200,
|
|
6725
|
-
"params": [
|
|
6726
|
-
{
|
|
6727
|
-
"name": "id",
|
|
6728
|
-
"description": "The invoice id, from `billingInvoice.id` in `GET /api/billing`'s `invoices`."
|
|
6729
|
-
}
|
|
6730
|
-
],
|
|
6731
|
-
"query": null,
|
|
6732
|
-
"request": null,
|
|
6733
|
-
"response": null,
|
|
6734
|
-
"contentType": "application/pdf",
|
|
6735
|
-
"errors": [
|
|
6736
|
-
"unauthorized",
|
|
6737
|
-
"token_expired",
|
|
6738
|
-
"token_revoked",
|
|
6739
|
-
"tier_required",
|
|
6740
|
-
"not_found"
|
|
6741
|
-
],
|
|
6742
|
-
"transport": "http",
|
|
6743
|
-
"notes": "Rendered once, with `pdfkit`, when the invoice is issued, and stored as bytes — an issued invoice never changes, so this always answers the same PDF for the same id. `404 not_found` for an unknown id or one from another org."
|
|
6744
|
-
},
|
|
6745
|
-
{
|
|
6746
|
-
"method": "POST",
|
|
6747
|
-
"path": "/api/billing/invoices/:id/pay",
|
|
6748
|
-
"section": "billing",
|
|
6749
|
-
"summary": "Pays one open invoice, through a new Mollie payment.",
|
|
6750
|
-
"audience": "developer",
|
|
6751
|
-
"auth": "developer",
|
|
6752
|
-
"rateLimited": true,
|
|
6753
|
-
"ownerTier": true,
|
|
6754
|
-
"status": 201,
|
|
6755
|
-
"params": [
|
|
6756
|
-
{
|
|
6757
|
-
"name": "id",
|
|
6758
|
-
"description": "The invoice id, from `billingInvoice.id`, of the open invoice to pay — or a due charge's id, from `dunning.invoice_id`."
|
|
6759
|
-
}
|
|
6760
|
-
],
|
|
6761
|
-
"query": null,
|
|
6762
|
-
"request": null,
|
|
6763
|
-
"response": "checkout-response",
|
|
6764
|
-
"errors": [
|
|
6765
|
-
"unauthorized",
|
|
6766
|
-
"token_expired",
|
|
6767
|
-
"token_revoked",
|
|
6768
|
-
"tier_required",
|
|
6769
|
-
"not_found",
|
|
6770
|
-
"target_state_conflict",
|
|
6771
|
-
"rate_limited",
|
|
6772
|
-
"billing_unavailable",
|
|
6773
|
-
"payment_provider_unavailable"
|
|
6774
|
-
],
|
|
6775
|
-
"transport": "http",
|
|
6776
|
-
"notes": "Rate limited on the `billing.checkout` bucket, same as `POST /api/billing/checkout`. `409 target_state_conflict` names `invoice` with rule `not_open` when the invoice is already `paid` or `uncollectible` — there is nothing left to pay. Paying the open invoice of a locked org unlocks it and keeps the plan running to the period's end, the same as a renewal that succeeds on a retry. `:id` may also be a due charge's id from `dunning.invoice_id` in `GET /api/billing`: while the payer's VAT ID is unsettled a held renewal is a due charge that has no number yet, and it is numbered and issued as an invoice once this payment is paid. The payment charges the amount owed (`dunning.gross_cents`). While that due charge is held by the VAT ID this answers `409 target_state_conflict` with `{ field: 'billing', rule: 'vat_id_invalid' }`. `404 not_found` for an unknown id or one from another org."
|
|
6777
|
-
},
|
|
6778
|
-
{
|
|
6779
|
-
"method": "POST",
|
|
6780
|
-
"path": "/api/billing/mollie/webhook",
|
|
6781
|
-
"section": "billing",
|
|
6782
|
-
"summary": "Takes Mollie's payment-changed notification and reconciles the payment.",
|
|
6783
|
-
"audience": "internal",
|
|
6784
|
-
"auth": "none",
|
|
6785
|
-
"rateLimited": true,
|
|
6786
|
-
"ownerTier": false,
|
|
6787
|
-
"status": 200,
|
|
6788
|
-
"params": [],
|
|
6789
|
-
"query": null,
|
|
6790
|
-
"request": null,
|
|
6791
|
-
"response": null,
|
|
6792
|
-
"errors": [
|
|
6793
6468
|
"rate_limited"
|
|
6794
6469
|
],
|
|
6795
6470
|
"transport": "http",
|
|
6796
|
-
"notes": "
|
|
6471
|
+
"notes": "Every public host answers `404 not_found` for every `/api/admin/*` path — this route is reachable only on the cloud's private address — and that same address answers `404` here too while `OPS_API_TOKEN` is not configured, so a door with no key behind it reads exactly like one nobody opened. An unknown `:id` is the same `404`. Applies at once, never queued as a `pending_change`, and only when the org's current usage fits the result: `409 plan_limit` when a lower plan, a lowered override or a removed add-on would leave the org over a limit — the operator never deletes an org's things, only the owner's own choice does. On success it also withdraws any `pending_change`, ends a beta org's wait for the switch and lifts a lock. Audited as `org.plan_changed` with the `fleetless` actor, never a developer's — the row names what an operator did, not who in the org asked for it."
|
|
6797
6472
|
},
|
|
6798
6473
|
{
|
|
6799
6474
|
"method": "POST",
|
package/dist/errors.d.ts
CHANGED
|
@@ -88,8 +88,8 @@ export type InvalidCodeDetails = z.infer<typeof invalidCodeDetails>;
|
|
|
88
88
|
export declare const planLimitDetails: z.ZodObject<{
|
|
89
89
|
limit: z.ZodEnum<{
|
|
90
90
|
apps: "apps";
|
|
91
|
-
seats: "seats";
|
|
92
91
|
robots: "robots";
|
|
92
|
+
seats: "seats";
|
|
93
93
|
app_users: "app_users";
|
|
94
94
|
live_video_ms_per_month: "live_video_ms_per_month";
|
|
95
95
|
asset_bytes_per_robot: "asset_bytes_per_robot";
|
|
@@ -111,8 +111,8 @@ export declare const planLimitDetails: z.ZodObject<{
|
|
|
111
111
|
}>>;
|
|
112
112
|
addon: z.ZodNullable<z.ZodEnum<{
|
|
113
113
|
apps: "apps";
|
|
114
|
-
seats: "seats";
|
|
115
114
|
robots: "robots";
|
|
115
|
+
seats: "seats";
|
|
116
116
|
app_user_packs: "app_user_packs";
|
|
117
117
|
live_video_packs: "live_video_packs";
|
|
118
118
|
}>>;
|
|
@@ -142,8 +142,8 @@ export type PlanLimitDetails = z.infer<typeof planLimitDetails>;
|
|
|
142
142
|
export declare const assetPlanLimitDetails: z.ZodObject<{
|
|
143
143
|
limit: z.ZodEnum<{
|
|
144
144
|
apps: "apps";
|
|
145
|
-
seats: "seats";
|
|
146
145
|
robots: "robots";
|
|
146
|
+
seats: "seats";
|
|
147
147
|
app_users: "app_users";
|
|
148
148
|
live_video_ms_per_month: "live_video_ms_per_month";
|
|
149
149
|
asset_bytes_per_robot: "asset_bytes_per_robot";
|
|
@@ -165,8 +165,8 @@ export declare const assetPlanLimitDetails: z.ZodObject<{
|
|
|
165
165
|
}>>;
|
|
166
166
|
addon: z.ZodNullable<z.ZodEnum<{
|
|
167
167
|
apps: "apps";
|
|
168
|
-
seats: "seats";
|
|
169
168
|
robots: "robots";
|
|
169
|
+
seats: "seats";
|
|
170
170
|
app_user_packs: "app_user_packs";
|
|
171
171
|
live_video_packs: "live_video_packs";
|
|
172
172
|
}>>;
|
|
@@ -225,22 +225,10 @@ export declare const fileTooLargeDetails: z.ZodObject<{
|
|
|
225
225
|
size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
226
226
|
}, z.core.$strip>;
|
|
227
227
|
export type FileTooLargeDetails = z.infer<typeof fileTooLargeDetails>;
|
|
228
|
-
/**
|
|
229
|
-
* The `details` of a `502 payment_provider_unavailable` refusal (2026-10-04,
|
|
230
|
-
* fleetless/fleetless#104): Mollie did not answer, or answered with an
|
|
231
|
-
* error, so nothing was charged and nothing changed. `status` is Mollie's
|
|
232
|
-
* own HTTP status, `null` for a timeout — the two ways "did not answer"
|
|
233
|
-
* happens, told apart for whoever reads a support ticket.
|
|
234
|
-
*/
|
|
235
|
-
export declare const paymentProviderUnavailableDetails: z.ZodObject<{
|
|
236
|
-
provider: z.ZodLiteral<"mollie">;
|
|
237
|
-
status: z.ZodNullable<z.ZodNumber>;
|
|
238
|
-
}, z.core.$strip>;
|
|
239
|
-
export type PaymentProviderUnavailableDetails = z.infer<typeof paymentProviderUnavailableDetails>;
|
|
240
228
|
/**
|
|
241
229
|
* The codes in use today. The wire deliberately allows any string — this
|
|
242
230
|
* list is the shared vocabulary, not a closed set, so a new refusal never
|
|
243
231
|
* needs a contracts release before it can be reported honestly.
|
|
244
232
|
*/
|
|
245
|
-
export declare const ERROR_CODES: readonly ["not_found", "validation_error", "bad_request", "unknown_datapoint", "invalid_token", "protocol_mismatch", "bridge_too_old", "invalid_frame", "duplicate_slug", "reserved_slug", "unknown_slug", "unknown_field_path", "unknown_type", "unknown_topic", "invalid_rate", "invalid_range", "config_conflict", "no_data", "robot_offline", "bridge_timeout", "unauthorized", "forbidden", "invalid_credentials", "token_expired", "token_revoked", "email_taken", "identifier_taken", "weak_password", "account_blocked", "busy", "parameter_invalid", "cancel_rejected", "job_lost", "job_unknown_to_bridge", "action_server_lost", "action_failed", "goal_rejected", "goal_send_failed", "result_failed", "goal_uncontrollable", "bridge_disconnected", "config_changed", "publisher_busy", "unknown_command", "not_subscribable", "camera_offline", "no_snapshot_yet", "live_unavailable", "wrong_kind", "not_recorded", "not_aggregatable", "quota_exceeded", "credential_in_use", "goal_timeout", "robot_in_use", "robot_deletion_partial", "job_queue_full", "invalid_uuid", "rate_limited", "tier_required", "token_spent", "service_timeout", "asset_missing", "dynamic_registration_disabled", "client_limit_reached", "idp_unavailable", "mcp_disabled", "tool_not_available", "capability_required", "last_owner", "role_name_taken", "role_in_use", "last_role", "target_state_conflict", "signup_closed", "draft_not_a_document", "internal_error", "not_cancellable", "unsupported_media_type", "wrong_browser", "invalid_yaml", "unstorable_yaml", "registration_closed", "domain_not_allowed", "email_unverified", "origin_not_allowed", "template_invalid", "provider_disabled", "provider_misconfigured", "invalid_redirect_uri", "interaction_expired", "invalid_code", "method_not_allowed", "plan_limit", "plan_required", "org_locked", "file_too_large", "
|
|
233
|
+
export declare const ERROR_CODES: readonly ["not_found", "validation_error", "bad_request", "unknown_datapoint", "invalid_token", "protocol_mismatch", "bridge_too_old", "invalid_frame", "duplicate_slug", "reserved_slug", "unknown_slug", "unknown_field_path", "unknown_type", "unknown_topic", "invalid_rate", "invalid_range", "config_conflict", "no_data", "robot_offline", "bridge_timeout", "unauthorized", "forbidden", "invalid_credentials", "token_expired", "token_revoked", "email_taken", "identifier_taken", "weak_password", "account_blocked", "busy", "parameter_invalid", "cancel_rejected", "job_lost", "job_unknown_to_bridge", "action_server_lost", "action_failed", "goal_rejected", "goal_send_failed", "result_failed", "goal_uncontrollable", "bridge_disconnected", "config_changed", "publisher_busy", "unknown_command", "not_subscribable", "camera_offline", "no_snapshot_yet", "live_unavailable", "wrong_kind", "not_recorded", "not_aggregatable", "quota_exceeded", "credential_in_use", "goal_timeout", "robot_in_use", "robot_deletion_partial", "job_queue_full", "invalid_uuid", "rate_limited", "tier_required", "token_spent", "service_timeout", "asset_missing", "dynamic_registration_disabled", "client_limit_reached", "idp_unavailable", "mcp_disabled", "tool_not_available", "capability_required", "last_owner", "role_name_taken", "role_in_use", "last_role", "target_state_conflict", "signup_closed", "draft_not_a_document", "internal_error", "not_cancellable", "unsupported_media_type", "wrong_browser", "invalid_yaml", "unstorable_yaml", "registration_closed", "domain_not_allowed", "email_unverified", "origin_not_allowed", "template_invalid", "provider_disabled", "provider_misconfigured", "invalid_redirect_uri", "interaction_expired", "invalid_code", "method_not_allowed", "plan_limit", "plan_required", "org_locked", "file_too_large", "history_migrating"];
|
|
246
234
|
export type ErrorCode = (typeof ERROR_CODES)[number];
|
package/dist/errors.js
CHANGED
|
@@ -154,17 +154,6 @@ export const fileTooLargeDetails = z.object({
|
|
|
154
154
|
description: 'The refused file\'s size, in bytes: the announced size, or the bytes that arrived when none (or a false one) was announced; `null` only when the body limit stopped the upload and nobody counted the bytes.',
|
|
155
155
|
}),
|
|
156
156
|
});
|
|
157
|
-
/**
|
|
158
|
-
* The `details` of a `502 payment_provider_unavailable` refusal (2026-10-04,
|
|
159
|
-
* fleetless/fleetless#104): Mollie did not answer, or answered with an
|
|
160
|
-
* error, so nothing was charged and nothing changed. `status` is Mollie's
|
|
161
|
-
* own HTTP status, `null` for a timeout — the two ways "did not answer"
|
|
162
|
-
* happens, told apart for whoever reads a support ticket.
|
|
163
|
-
*/
|
|
164
|
-
export const paymentProviderUnavailableDetails = z.object({
|
|
165
|
-
provider: z.literal('mollie').meta({ description: 'The payment provider. Always `mollie` today.' }),
|
|
166
|
-
status: z.number().int().nullable().meta({ description: "Mollie's own HTTP status, or `null` when the request timed out instead of answering." }),
|
|
167
|
-
});
|
|
168
157
|
/**
|
|
169
158
|
* The codes in use today. The wire deliberately allows any string — this
|
|
170
159
|
* list is the shared vocabulary, not a closed set, so a new refusal never
|
|
@@ -1039,26 +1028,12 @@ export const ERROR_CODES = [
|
|
|
1039
1028
|
* does not help, only a smaller file does.
|
|
1040
1029
|
*/
|
|
1041
1030
|
'file_too_large',
|
|
1042
|
-
// 2026-10-
|
|
1043
|
-
/**
|
|
1044
|
-
* `503`: this cloud takes no payments, because no payment provider is
|
|
1045
|
-
* configured — `MOLLIE_API_KEY` is unset. Every billing route that
|
|
1046
|
-
* charges or opens a Mollie checkout answers it; the routes that need no
|
|
1047
|
-
* Mollie (cancel, resume, the details, the VAT-ID check) answer normally,
|
|
1048
|
-
* and `GET /api/billing` answers `200` with
|
|
1049
|
-
* `available: false` instead, so a caller can render "billing is off"
|
|
1050
|
-
* without parsing an error. An upgrade or an add-on is a request to
|
|
1051
|
-
* Fleetless instead, exactly as it is today (#103's Feedback request).
|
|
1052
|
-
* Retrying does not help: nothing here changes until a key is
|
|
1053
|
-
* configured.
|
|
1054
|
-
*/
|
|
1055
|
-
'billing_unavailable',
|
|
1031
|
+
// 2026-10-05 — the datapoint series key (#185).
|
|
1056
1032
|
/**
|
|
1057
|
-
* `
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1061
|
-
* Retrying may work.
|
|
1033
|
+
* `409`: a slug rename was refused because the robot's recorded history is
|
|
1034
|
+
* being migrated to a new storage layout. The refusal is temporary and
|
|
1035
|
+
* nothing was written: the same request succeeds once the migration has
|
|
1036
|
+
* finished. Retry later; nothing in the request needs to change.
|
|
1062
1037
|
*/
|
|
1063
|
-
'
|
|
1038
|
+
'history_migrating',
|
|
1064
1039
|
];
|
package/dist/index.d.ts
CHANGED
|
@@ -47,8 +47,8 @@ export { auditActor, auditEvent, auditQuery, auditListResponse, AUDIT_CSV_COLUMN
|
|
|
47
47
|
export type { AuditActor, AuditEvent, AuditQuery, AuditListResponse } from './audit.js';
|
|
48
48
|
export { alertRowCondition, alertSeverity, alertState, datapointAlertRow, alertListResponse, orgFiringAlertsResponse, orgAlertsQuery, datapointDisplay, putDatapointDisplayRequest, } from './alerts.js';
|
|
49
49
|
export type { AlertRowCondition, AlertSeverity, AlertState, DatapointAlertRow, AlertListResponse, OrgFiringAlertsResponse, OrgAlertsQuery, DatapointDisplay, PutDatapointDisplayRequest, } from './alerts.js';
|
|
50
|
-
export { apiError, parameterViolation, parameterInvalidDetails, cancelRejectedDetails, invalidCodeDetails, ERROR_CODES, planLimitDetails, assetPlanLimitDetails, planRequiredDetails, orgLockedDetails, fileTooLargeDetails,
|
|
51
|
-
export type { ApiError, ParameterViolation, ParameterInvalidDetails, CancelRejectedDetails, InvalidCodeDetails, ErrorCode, PlanLimitDetails, AssetPlanLimitDetails, PlanRequiredDetails, OrgLockedDetails, FileTooLargeDetails,
|
|
50
|
+
export { apiError, parameterViolation, parameterInvalidDetails, cancelRejectedDetails, invalidCodeDetails, ERROR_CODES, planLimitDetails, assetPlanLimitDetails, planRequiredDetails, orgLockedDetails, fileTooLargeDetails, } from './errors.js';
|
|
51
|
+
export type { ApiError, ParameterViolation, ParameterInvalidDetails, CancelRejectedDetails, InvalidCodeDetails, ErrorCode, PlanLimitDetails, AssetPlanLimitDetails, PlanRequiredDetails, OrgLockedDetails, FileTooLargeDetails, } from './errors.js';
|
|
52
52
|
export { oauthErrorCode, oauthError, oauthRedirectResponse, oauthCodeTokenRequest, oauthRefreshTokenRequest, oauthTokenRequest, oauthTokenResponse, redirectUri, codeChallengeMethod, oauthAuthorizeQuery, dynamicClientRegistrationRequest, MCP_DCR_MAX_REDIRECT_URIS, dynamicClientRegistrationResponse, authorizationServerMetadata, protectedResourceMetadata, } from './oauth.js';
|
|
53
53
|
export type { OauthErrorCode, OauthError, OauthRedirectResponse, OauthCodeTokenRequest, OauthRefreshTokenRequest, OauthTokenRequest, OauthTokenResponse, RedirectUri, OauthAuthorizeQuery, DynamicClientRegistrationRequest, DynamicClientRegistrationResponse, AuthorizationServerMetadata, ProtectedResourceMetadata, } from './oauth.js';
|
|
54
54
|
export { ROUTES, ROUTE_SECTIONS, IN_HANDLER_ROUTES, developerSignInRoutes } from './routes.js';
|
|
@@ -57,5 +57,3 @@ export { planId, PLAN_ORDER, planLimitKey, planLimits, planFeature, planFeatures
|
|
|
57
57
|
export type { PlanId, PlanLimitKey, PlanLimits, PlanFeature, PlanFeatures, PlanPrices, PlanSupport, PlanCatalogueEntry, AddonKey, AddonCatalogueEntry, } from './plans.js';
|
|
58
58
|
export { planCurrency, orgAddons, orgPlanUsage, planChangeKeep, planChangeReason, pendingPlanChange, orgLock, orgPlan, planChangeRequest, planOverrides, adminPlanChangeRequest, } from './plans.js';
|
|
59
59
|
export type { PlanCurrency, OrgAddons, OrgPlanUsage, PlanChangeKeep, PlanChangeReason, PendingPlanChange, OrgLock, OrgPlan, PlanChangeRequest, PlanOverrides, AdminPlanChangeRequest, } from './plans.js';
|
|
60
|
-
export { countryCode, EU_COUNTRIES, SELLER_COUNTRY, DE_VAT_RATE_PERCENT, isEuCountry, currencyForCountry, payerKind, billingCycle, vatTreatment, payerRefusalRule, vatFor, viesCountry, normalizeVatId, periodNetCents, prorateCents, vatCents, chargeAmounts, DAY_MS, periodDays, remainingDays, changeNetCents, checkoutQuote, BILLING_RETRY_DAYS, BILLING_LOCK_DAY, billingAddress, billingDetails, checkoutRequest, checkoutResponse, checkoutStatus, vatIdStatus, vatIdCheckRequest, vatIdCheckResponse, billingChangeRequest, billingCancelRequest, billingDetailsUpdate, paymentMethodKind, paymentMethodChangeRequest, billingAccountStatus, paymentMethod, invoiceStatus, billingInvoice, billingAccount, billingView, billingChangeResponse, } from './billing.js';
|
|
61
|
-
export type { PayerKind, BillingCycle, VatTreatment, PayerRefusalRule, VatDecision, ChargeAmounts, BillingState, QuoteLine, CheckoutQuote, BillingAddress, BillingDetails, CheckoutRequest, CheckoutResponse, CheckoutStatus, VatIdStatus, VatIdCheckRequest, VatIdCheckResponse, BillingChangeRequest, BillingCancelRequest, BillingDetailsUpdate, PaymentMethodKind, PaymentMethodChangeRequest, BillingAccountStatus, PaymentMethod, InvoiceStatus, BillingInvoice, BillingAccount, BillingView, BillingChangeResponse, } from './billing.js';
|
package/dist/index.js
CHANGED
|
@@ -56,9 +56,7 @@ export { apiError, parameterViolation, parameterInvalidDetails, cancelRejectedDe
|
|
|
56
56
|
// 2026-10-02 — plans (#103). The plan errors (I-3).
|
|
57
57
|
planLimitDetails, assetPlanLimitDetails, planRequiredDetails, orgLockedDetails,
|
|
58
58
|
// 2026-10-03 — the per-file asset limit (#136).
|
|
59
|
-
fileTooLargeDetails,
|
|
60
|
-
// 2026-10-04 — billing through Mollie (#104).
|
|
61
|
-
paymentProviderUnavailableDetails, } from './errors.js';
|
|
59
|
+
fileTooLargeDetails, } from './errors.js';
|
|
62
60
|
export { oauthErrorCode, oauthError, oauthRedirectResponse, oauthCodeTokenRequest, oauthRefreshTokenRequest, oauthTokenRequest, oauthTokenResponse, redirectUri, codeChallengeMethod, oauthAuthorizeQuery, dynamicClientRegistrationRequest, MCP_DCR_MAX_REDIRECT_URIS, dynamicClientRegistrationResponse, authorizationServerMetadata, protectedResourceMetadata, } from './oauth.js';
|
|
63
61
|
export { ROUTES, ROUTE_SECTIONS, IN_HANDLER_ROUTES, developerSignInRoutes } from './routes.js';
|
|
64
62
|
// 2026-10-02 — plans (#103). The catalogue (I-1) only: `PLANS` and `ADDONS`
|
|
@@ -69,5 +67,3 @@ export { planId, PLAN_ORDER, planLimitKey, planLimits, planFeature, planFeatures
|
|
|
69
67
|
// 2026-10-02 — plans (#103). The organization's plan, plan changes and the
|
|
70
68
|
// admin request (I-2).
|
|
71
69
|
export { planCurrency, orgAddons, orgPlanUsage, planChangeKeep, planChangeReason, pendingPlanChange, orgLock, orgPlan, planChangeRequest, planOverrides, adminPlanChangeRequest, } from './plans.js';
|
|
72
|
-
// 2026-10-04 — billing through Mollie (#104).
|
|
73
|
-
export { countryCode, EU_COUNTRIES, SELLER_COUNTRY, DE_VAT_RATE_PERCENT, isEuCountry, currencyForCountry, payerKind, billingCycle, vatTreatment, payerRefusalRule, vatFor, viesCountry, normalizeVatId, periodNetCents, prorateCents, vatCents, chargeAmounts, DAY_MS, periodDays, remainingDays, changeNetCents, checkoutQuote, BILLING_RETRY_DAYS, BILLING_LOCK_DAY, billingAddress, billingDetails, checkoutRequest, checkoutResponse, checkoutStatus, vatIdStatus, vatIdCheckRequest, vatIdCheckResponse, billingChangeRequest, billingCancelRequest, billingDetailsUpdate, paymentMethodKind, paymentMethodChangeRequest, billingAccountStatus, paymentMethod, invoiceStatus, billingInvoice, billingAccount, billingView, billingChangeResponse, } from './billing.js';
|