@rebilly/instruments 12.4.7 → 12.5.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 +1,6 @@
1
- ## [12.4.7](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.4.6...instruments/core-v12.4.7) (2024-12-09)
1
+ ## [12.5.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.4.7...instruments/core-v12.5.0) (2024-12-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#8934](https://github.com/Rebilly/rebilly/issues/8934)) ([f50c248](https://github.com/Rebilly/rebilly/commit/f50c2482f0caddf9f8e6f2733b52aba34ced050c))
package/dist/index.js CHANGED
@@ -6271,7 +6271,7 @@ function C$1({ options: e2 }) {
6271
6271
  }
6272
6272
  function o2() {
6273
6273
  const i = {
6274
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@5574537`
6274
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@f50c248`
6275
6275
  };
6276
6276
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
6277
6277
  }
@@ -9561,8 +9561,9 @@ function hs({ apiHandler: e2 }) {
9561
9561
  update({ id: t2, data: s }) {
9562
9562
  return e2.post(`transactions/${t2}/update`, s);
9563
9563
  },
9564
- refund({ id: t2, data: s }) {
9565
- return e2.post(`transactions/${t2}/refund`, s);
9564
+ refund({ id: t2, data: s, expand: r2 = null }) {
9565
+ const n2 = { expand: r2 };
9566
+ return e2.post(`transactions/${t2}/refund`, s, n2);
9566
9567
  },
9567
9568
  /**
9568
9569
  * @param { rebilly.GetTransactionTimelineCollectionRequest } request