@owlmeans/payment 0.1.18-rc.11 → 0.1.18-rc.13

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/README.md CHANGED
@@ -12,7 +12,7 @@ Payment service abstraction — product catalog, subscription management, and St
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- bun add @owlmeans/payment
15
+ bun add @owlmeans/payment@^0.1.18-rc.12
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -91,7 +91,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
91
91
  your project's skill store (`.agents/skills/`):
92
92
 
93
93
  ```sh
94
- npx @owlmeans/agent-skills
94
+ npx @owlmeans/agent-skills@^0.1.18-rc.12
95
95
  ```
96
96
 
97
97
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/payment",
4
- "version": "0.1.18-rc.11",
5
- "generatedAt": "2026-09-01T16:28:56.996Z",
4
+ "version": "0.1.18-rc.13",
5
+ "generatedAt": "2026-09-04T22:43:25.451Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: payment
3
- description: How to use @owlmeans/payment — payment processing types, models, errors, paymentApi service alias for cross-service checkout calls. Auto-invoked when importing payment types or invoking checkout flows.
3
+ description: "How to use @owlmeans/payment — the provider-agnostic payment contracts: the product/plan/subscription catalogue and its schemas, the paymentApi entrypoint aliases, PaymentService, and the entitlement grammar that gates paid capabilities. Auto-invoked when importing payment types or errors, declaring an entrypoint with entitled(), reading entitlements, or calling the checkout entrypoint."
4
4
  user-invocable: false
5
5
  ---
6
6
  <!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
@@ -8,44 +8,137 @@ user-invocable: false
8
8
  # @owlmeans/payment
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/payment": "^0.1.18-rc.11"` in `dependencies`
11
+ **Install:** `"@owlmeans/payment": "^0.1.18-rc.13"` in `dependencies`
12
12
 
13
- ## Key Exports
13
+ The contracts half of payments: the catalogue (products, plans, localizations), the subscription
14
+ record, the entitlement grammar, and the entrypoint declarations both sides of a checkout share. It
15
+ talks to no paygate — a server-side integration implements against these, and
16
+ `@owlmeans/client-payment` adapts the same service for a browser.
17
+
18
+ ## Key exports
14
19
 
15
20
  | Export | Description |
16
- |--------|-------------|
17
- | `paymentApi` | Service alias tree for payment endpoints (e.g. `paymentApi.service.checkout.session.external.create`) |
18
- | `Payment`, `Checkout` types | Domain model shapes |
19
- | `paymentModules` | Entrypoint declarations to spread into `appModules` |
20
- | Errors | Typed payment errors |
21
- | Constants | Payment service aliases |
22
- | `model` submodule | Reusable payment models |
23
- | i18n | Translatable error messages |
21
+ |---|---|
22
+ | `makePaymentService(alias?)` · `appendPaymentService(ctx, alias?)` | The catalogue reader, registered under `DEFAULT_ALIAS` / `PAYMENT_SERVICE` (`'payment'`). |
23
+ | `PaymentService` | `product(sku)` · `products()` · `plans(productSku, duration)` · `plan(planSku)` · `allPlans(productSku)` · `localize(lng, entity)` · `shallowAuthentication(token)`. |
24
+ | `paymentApi` | The entrypoint alias tree — `paymentApi.subscription.propagate`, `paymentApi.service.checkout.session.external.create`. |
25
+ | `entrypoints` · `serviceEntrypoints` | The declarations to register: the subscription callback surface, and the checkout service surface. |
26
+ | `entitled(params, opts?)` · `ENTITLEMENT_GATE` | Declare on a route that an entrypoint needs a paid capability. |
27
+ | `hasEntitlement(capabilities, param)` · `entitlementList(capabilities)` · `parseEntitlementParam` · `formatEntitlementParam` | The entitlement grammar — pure, and shared by the server gate and the UI. |
28
+ | `CAPABILITY_FEATURE_SCOPE` | `'feature'`, the scope that carries flags. |
29
+ | `Product` · `ProductPlan` · `PlanSubscription` · `Localization` · `LimitConfig` · `CapabilityUsage` | The record shapes, each with a matching `…Schema` for entrypoint body validation. |
30
+ | `CreateCheckoutBody` / `CreateCheckoutResponse` · `SubscriptionPropagateBody` (+ schemas) | The wire shapes of the two calls that cross a service boundary. |
31
+ | `ProductType` · `PlanStatus` · `PlanDuration` · `SubscriptionStatus` · `PaymentEntityType` (+ schemas) | The enumerations. All string-valued, so they survive a config file. |
32
+ | `PRODUCT_RECORD_TYPE` · `PLAN_RECORD_TYPE` · `L10N_RECORD_TYPE` (+ the matching `…_PREFIX`) · `l10nToId` | How catalogue records are typed and addressed in the config resource. |
33
+ | `PaymentError` · `PaygateError` · `UnknownPaygate` · `PaygateMappingError` · `ProductError` · `UnknownProduct` · `UnknownPlan` · `PaymentIdentificationError` · `SubscriptionError` · `UnknownSubscription` | The `ResilientError` family. Importing the package also registers its translated messages. |
34
+
35
+ Subpath: `./utils` — the `Config` / `Context` aliases to type your own context against.
36
+
37
+ ## The catalogue is config, not a table
38
+
39
+ `PaymentService` reads everything through the context's config resource, so a deployment ships its
40
+ catalogue the same way it ships any other configuration:
41
+
42
+ | Record | Id | Type |
43
+ |---|---|---|
44
+ | product | `product:<sku>` | `PRODUCT_RECORD_TYPE` |
45
+ | plan | `plan:<planSku>` | `PLAN_RECORD_TYPE` |
46
+ | localization | `l10nToId(l10n, true)` → `l10n:<entityType>:<sku>:<lng>` | `L10N_RECORD_TYPE` |
47
+
48
+ `product` and `plan` read the record with the config resource's `get`, which **throws
49
+ `UnknownRecordError`** (`@owlmeans/resource`) when the id is absent rather than returning null — so
50
+ that, not `UnknownProduct` / `UnknownPlan`, is what a checkout for a sku outside the catalogue
51
+ raises, and what a caller answering "no such product" catches. `localize` is the opposite: it reads
52
+ with `load`, tries the asked-for language, falls back to the default one, and returns `null` when
53
+ neither exists, because a missing translation is a display problem and never a reason to fail a
54
+ call.
24
55
 
25
- ## Subpath Exports
56
+ ## Entitlements
26
57
 
27
- - `./utils` — payment helpers
58
+ A paid capability is a `PermissionSet` on a plan, a product or a subscription, and one requirement
59
+ is written as a string:
28
60
 
29
- ## Usage
61
+ [<scope>:]<permission>[>=<n>]
30
62
 
31
- Spread the entrypoints into your app, then call them via `ctx.entrypoint(paymentApi....)`:
63
+ `feature:branding--whitelabel` · `renewable:credits>=100` · `production--standalone`
64
+
65
+ - **`@` is deliberately not part of the grammar.** That is `@owlmeans/iam`'s resource-selector
66
+ syntax; reusing it would make two different things look identical in a route declaration.
67
+ - **Keep flags and quotas in different scopes.** `CAPABILITY_FEATURE_SCOPE` carries booleans;
68
+ numeric allowances belong under their own scope. Merged, "has one slot left" and "may remove the
69
+ platform credit" become the same number, and the purchase that spends the quota takes the feature
70
+ with it.
71
+ - **A floor is a numeric question.** `>=n` passes only for a number at least that big — a boolean
72
+ flag, however true, does not answer it.
73
+ - **A malformed parameter answers `false`, it never throws.** A gate that crashed on a typo would
74
+ take down the endpoint it guards, which is strictly worse than refusing the request.
75
+ - **Declare the requirement on the route, not in the handler.** `entitled(...)` is sugar over
76
+ `gate(ENTITLEMENT_GATE, params)`; the framework asserts a gate before the handler is entered, so
77
+ the route table states what a feature costs and no new endpoint can forget to check. Several
78
+ parameters are OR'd, as with every other gate.
79
+ - The gate service itself is not here — bind something under `ENTITLEMENT_GATE` in the server
80
+ application, or every entitled route refuses.
32
81
 
33
82
  ```typescript
34
- import { paymentApi, paymentModules } from '@owlmeans/payment'
35
- import type { CreateCheckoutResponse } from '@owlmeans/payment'
36
- import type { ClientEntrypoint } from '@owlmeans/entrypoint'
83
+ import { entitled, hasEntitlement, entitlementList } from '@owlmeans/payment'
84
+
85
+ // On the route:
86
+ entrypoint(route(MY_ROUTE, '/whitelabel', backend(BASE, RouteMethod.POST)),
87
+ entitled('feature:branding--whitelabel'))
88
+
89
+ // In the UI, to render a control disabled rather than let it fail:
90
+ const allowed = hasEntitlement(capabilities, 'renewable:credits>=100')
91
+ // On the wire, as the answer to "what does this subscription grant?":
92
+ const granted = entitlementList(capabilities)
93
+ ```
94
+
95
+ ## Checkout
37
96
 
38
- export const appModules = [...modules, ...paymentModules]
97
+ Register `serviceEntrypoints` (and `entrypoints` where subscriptions are propagated back), then
98
+ call the alias. `ClientEntrypoint.call` resolves to the response value itself and throws the reply's
99
+ error; `invoke` is the form that hands back the value and the outcome together.
39
100
 
40
- // In a handler:
41
- const [result] = await ctx.entrypoint<ClientEntrypoint<CreateCheckoutResponse>>(
101
+ ```typescript
102
+ import { paymentApi, serviceEntrypoints } from '@owlmeans/payment'
103
+ import type { CreateCheckoutBody, CreateCheckoutResponse } from '@owlmeans/payment'
104
+ import type { ClientEntrypoint } from '@owlmeans/client-entrypoint'
105
+
106
+ export const appEntrypoints = [...myEntrypoints, ...serviceEntrypoints]
107
+
108
+ const result = await ctx.entrypoint<ClientEntrypoint<CreateCheckoutResponse>>(
42
109
  paymentApi.service.checkout.session.external.create
43
110
  ).call({
44
- body: { productSku: 'tokens', entityId, service: VIB_ALIAS, successUrl: helper.makeUrl(service) }
111
+ body: { productSku, entityId, service, successUrl } satisfies CreateCheckoutBody
45
112
  })
113
+ window.open(result.url, '_blank')
46
114
  ```
47
115
 
116
+ `entityId` on a checkout and on a `PlanSubscription` is the organization entity a subscription is
117
+ billed to — a stable record id, never an `entitySlug`, so a rename costs nothing.
118
+
119
+ ## Two spellings, both registered
120
+
121
+ `entrypoints` declares `/propogate` and `/propagate` as two routes over the same
122
+ `SubscriptionPropagateBodySchema`, and `paymentApi.subscription` carries an alias for each.
123
+ `propogate` is marked `@deprecated`, as are the type alias `SubscriptionPropogateBody` and the
124
+ duplicate `SubscriptionPropogateBodySchema`: write every new declaration and every new call against
125
+ `propagate` / `SubscriptionPropagateBody` / `SubscriptionPropagateBodySchema`. The misspelled route
126
+ stays registered as long as anything might call it — dropping it is a breaking change on a wire
127
+ nobody controls both ends of.
128
+
129
+ ## `shallowAuthentication` identifies, it does not authorize
130
+
131
+ It reads the `profileId` out of an envelope token WITHOUT verifying the signature, and throws
132
+ `PaymentIdentificationError` when there is no token or no profile in it. Use it to correlate a
133
+ checkout return with a visitor; never as the basis of an access decision — that is a gate's job.
134
+
48
135
  ## Depends On
49
136
 
50
- - `@owlmeans/entrypoint`, `@owlmeans/route`
51
- - `@owlmeans/auth`, `@owlmeans/error`, `@owlmeans/i18n`
137
+ - `@owlmeans/entrypoint` · `@owlmeans/route` · `@owlmeans/config` · `@owlmeans/resource`
138
+ - `@owlmeans/auth` (`PermissionSet`) · `@owlmeans/basic-envelope` · `@owlmeans/context`
139
+ - `@owlmeans/error` · `@owlmeans/i18n` · peer `ajv`
140
+
141
+ ## Related
142
+
143
+ - [[client-payment]] — the browser-side adaptation of the same service
144
+ - [[iam]] — `PermissionSet` and the resource-selector syntax entitlements deliberately avoid
@@ -1 +1 @@
1
- {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../src/consts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAED,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,aAAa,mBAAmB;CACjC;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;CACxB;AAED,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB;;;OAGG;IACH,UAAU,eAAe;CAC1B;AAED,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,WAAW,CAGzD,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,cA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IAAI;QACJ,QAAQ;YACN,IAAI;YACJ,OAAO;gBACL,IAAI;gBACJ,QAAQ;oBACN,IAAI;oBACJ,MAAM;;;;;CAKf,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"entitlement.d.ts","sourceRoot":"","sources":["../src/entitlement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,qBAAqB,CAAA;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,YAAY,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6DAA6D;IAC7D,UAAU,EAAE,MAAM,CAAA;IAClB,8FAA8F;IAC9F,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,KAAG,gBAerD,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,QAAQ,gBAAgB,KAAG,MAER,CAAA;AAE1D;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,GACzB,cAAc,aAAa,EAAE,GAAG,SAAS,EAAE,OAAO,MAAM,KACvD,OAqBF,CAAA;AAED,kGAAkG;AAClG,eAAO,MAAM,eAAe,GAAI,cAAc,aAAa,EAAE,GAAG,SAAS,KAAG,MAAM,EAYjF,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,GACnB,QAAQ,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,uBAAuB,KACxD,uBAA+D,CAAA"}
1
+ {"version":3,"file":"entitlement.d.ts","sourceRoot":"","sources":["../src/entitlement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAA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per.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,eAAO,MAAM,QAAQ,SAAU,YAAY,WAAW,OAAO,KAAG,MACiB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAWvD,eAAO,MAAM,kBAAkB,GAAI,QAAO,MAAsB,KAAG,cA+GlE,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,EACzE,SAAS,CAAC,EAAE,QAAO,MAAsB,KACxC,CAAuD,CAAA"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAWvD,eAAO,MAAM,kBAAkB,WAAW,MAAM,KAAmB,cA+GlE,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,WAChE,CAAC,UAAS,MAAM,KACxB,CAAuD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAGvG,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,aAAa,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AI,EAAE,CAAC;oBACjB,OAAO,gBAAgB,CAA8C,IAAI,CAAC,CAAA;gBAC5E,CAAC;YACH,CAAC;YAED,OAAO,IAAI,CAAA;QACb,CAAC;QAED,qBAAqB,EAAE,KAAK,EAAC,KAAK,EAAC,EAAE;YACnC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;gBAClB,MAAM,IAAI,0BAA0B,CAAC,OAAO,CAAC,CAAA;YAC/C,CAAC;YACD,MAAM,QAAQ,GAAG,iBAAiB,CAAkB,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,CAAA;YAC9E,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAA;YAC/B,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE,CAAC;gBAC3B,MAAM,IAAI,0BAA0B,CAAC,WAAW,CAAC,CAAA;YACnD,CAAC;YAED,OAAO,IAAI,CAAC,SAAS,CAAA;QACvB,CAAC;KACF,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,IAAI,EAAE;QACvB,OAAO,CAAC,WAAW,GAAG,IAAI,CAAA;IAC5B,CAAC,CAAC,CAAA;IAEF,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAU,EAAE,KAAK,GAAW,aAAa,EACtC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/payment",
3
- "version": "0.1.18-rc.11",
3
+ "version": "0.1.18-rc.13",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -31,15 +31,15 @@
31
31
  "ajv": "*"
32
32
  },
33
33
  "dependencies": {
34
- "@owlmeans/auth": "^0.1.18-rc.8",
35
- "@owlmeans/basic-envelope": "^0.1.18-rc.10",
36
- "@owlmeans/config": "^0.1.18-rc.10",
37
- "@owlmeans/context": "^0.1.18-rc.7",
38
- "@owlmeans/error": "^0.1.18-rc.7",
39
- "@owlmeans/i18n": "^0.1.18-rc.7",
40
- "@owlmeans/entrypoint": "^0.1.18-rc.9",
41
- "@owlmeans/resource": "^0.1.18-rc.8",
42
- "@owlmeans/route": "^0.1.18-rc.7"
34
+ "@owlmeans/auth": "^0.1.18-rc.9",
35
+ "@owlmeans/basic-envelope": "^0.1.18-rc.12",
36
+ "@owlmeans/config": "^0.1.18-rc.12",
37
+ "@owlmeans/context": "^0.1.18-rc.8",
38
+ "@owlmeans/error": "^0.1.18-rc.8",
39
+ "@owlmeans/i18n": "^0.1.18-rc.8",
40
+ "@owlmeans/entrypoint": "^0.1.18-rc.11",
41
+ "@owlmeans/resource": "^0.1.18-rc.9",
42
+ "@owlmeans/route": "^0.1.18-rc.9"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@owlmeans/dep-config": "workspace:*",