@pipe0/base 0.0.11 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @pipe0/ops
2
2
 
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 7da28bf: High-volume pricing is now multi-tier. A billable operation may declare up
8
+ to three tiers (`highVolume1`, `highVolume2`, `highVolume3`), each carrying
9
+ its own per-call `credits` and a `weight` that says how much of the plan's
10
+ high-volume **capacity** it consumes when enrolled. Tiers must be
11
+ gap-free, with strictly decreasing credits and strictly increasing weight.
12
+
13
+ Catalog shape change (codemod): every pipe and search entry's `credits`
14
+ moved from a bare number to a `ManagedCredits` object —
15
+ `credits: 0.5` → `credits: { default: 0.5 }`. Search `cost.credits` does
16
+ the same. Opted-in entries gain `highVolume1: { credits, weight }` (and
17
+ optionally `highVolume2` / `highVolume3`).
18
+
19
+ Renames: `highVolumePricingQuota` → `highVolumeCapacity` (Stripe catalog +
20
+ helper); `getHighVolumePricingQuota` → `getHighVolumeCapacity`.
21
+
22
+ API change: `POST /enrollments` is replaced by
23
+ `PUT /enrollments/:billableOperation { level: 1|2|3 }`. The response now
24
+ carries `level` and `weight`. The summary endpoint renames
25
+ `quota`/`used`/`remaining` to `capacity`/`capacityUsed`/`capacityRemaining`
26
+ and `eligibleOperations[].highVolumeCredits` becomes
27
+ `eligibleOperations[].tiers[]`.
28
+
29
+ ### Patch Changes
30
+
31
+ - Add high volumne billing
32
+ - Updated dependencies
33
+ - @pipe0/client@0.0.37
34
+
35
+ ## 0.0.12
36
+
37
+ ### Patch Changes
38
+
39
+ - 6c621bd: Fix missing deps
40
+ - Updated dependencies [6c621bd]
41
+ - @pipe0/client@0.0.36
42
+
3
43
  ## 0.0.11
4
44
 
5
45
  ### Patch Changes