@rebilly/api 0.20.5 → 0.20.7

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,5 @@
1
- ## 0.20.5 (2026-11-09)
1
+ ## 0.20.7 (2026-11-09)
2
2
 
3
- This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated eslint-config to 4.32.22
@@ -4634,6 +4634,12 @@ export type CreditMemo = {
4634
4634
  * Number of times the credit memo has been modified.
4635
4635
  */
4636
4636
  readonly revision?: number;
4637
+ /**
4638
+ * ID of the customer.
4639
+ * An update request cannot change the customer of an existing credit memo.
4640
+ * To credit another customer, use the [Void a credit memo](https://www.rebilly.com/catalog/all/credit-memos/postcreditmemovoid) operation,
4641
+ * then the [Create a credit memo](https://www.rebilly.com/catalog/all/credit-memos/postcreditmemo) operation for that customer.
4642
+ */
4637
4643
  customerId: CustomerId;
4638
4644
  currency: CurrencyCode;
4639
4645
  /**
@@ -4652,8 +4658,7 @@ export type CreditMemo = {
4652
4658
  * The transaction must be approved and associated with the same customer as the credit memo.
4653
4659
  * Approved transactions of any type are accepted, including refunds and voided sales.
4654
4660
  * If the transaction result changes later, the association is retained.
4655
- * If this field is omitted in an update request and `customerId` is not changed, this field retains its current value.
4656
- * If this field is omitted and `customerId` is changed, the transaction is removed from the credit memo.
4661
+ * If this field is omitted in an update request, this field retains its current value.
4657
4662
  * To remove the transaction from the credit memo, set this field to `null`.
4658
4663
  * @maxLength 50
4659
4664
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.20.5",
3
+ "version": "0.20.7",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,