@rebilly/api 0.19.2 → 0.19.4

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,3 +1,3 @@
1
- ## 0.19.2 (2026-11-04)
1
+ ## 0.19.4 (2026-11-04)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -3050,6 +3050,10 @@ export type CreditMemoInvoiceAllocation = {
3050
3050
  invoiceId?: string;
3051
3051
  /**
3052
3052
  * Amount of credit that is allocated from the credit memo to the invoice.
3053
+ * When a credit memo is updated, the specified `amount` replaces the existing allocation to the invoice.
3054
+ * It is not added to the existing allocation.
3055
+ * If the credit memo is already allocated to the invoice,
3056
+ * the unused amount of the credit memo and the amount due on the invoice both include the existing allocation.
3053
3057
  * If the `amount` value is not supplied or exceeds the unused amount of the credit memo or the invoice due amount, the lesser of the following two values is used:
3054
3058
  * - The unused amount of the credit memo.
3055
3059
  * - The invoice due amount.
@@ -9409,7 +9413,7 @@ export type ReadyToPayPayPalMethod = {
9409
9413
  /**
9410
9414
  * Specific features of PayPal.
9411
9415
  */
9412
- feature?: ReadyToPayPayPalMethodFeature | null;
9416
+ feature: ReadyToPayPayPalMethodFeature;
9413
9417
  filters?: ReadyToPayMethodFilters;
9414
9418
  };
9415
9419
  export type KlarnaFeature = {
@@ -1136,7 +1136,7 @@ export type ReadyToPayPayPalMethod = {
1136
1136
  /**
1137
1137
  * Specific features of PayPal.
1138
1138
  */
1139
- feature?: ReadyToPayPayPalMethodFeature | null;
1139
+ feature: ReadyToPayPayPalMethodFeature;
1140
1140
  filters?: ReadyToPayMethodFilters;
1141
1141
  };
1142
1142
  export type KlarnaFeature = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,