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