@rebilly/instruments 15.2.0 → 15.4.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,6 +1,6 @@
1
- ## [15.2.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v15.1.0...instruments/core-v15.2.0) (2025-09-02)
1
+ ## [15.4.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v15.3.0...instruments/core-v15.4.0) (2025-09-05)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **cashier:** Add cashier deposit and withdraw views ([#13734](https://github.com/Rebilly/rebilly/issues/13734)) ([26e3042](https://github.com/Rebilly/rebilly/commit/26e3042a02368a5b49d12e148eb87d5ab6638c42))
6
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#14615](https://github.com/Rebilly/rebilly/issues/14615)) ([67da979](https://github.com/Rebilly/rebilly/commit/67da979fef42c6f3460db1b6b9e21483c66d342a))
package/dist/index.js CHANGED
@@ -5097,7 +5097,7 @@ function C$1({ options: t2 }) {
5097
5097
  }
5098
5098
  function o2() {
5099
5099
  const i = {
5100
- "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@15a0c43`
5100
+ "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@67da979`
5101
5101
  };
5102
5102
  return t2.apiKey && (i["REB-APIKEY"] = t2.apiKey), i;
5103
5103
  }
@@ -7040,44 +7040,6 @@ function Dt$1({ apiHandler: t2 }) {
7040
7040
  */
7041
7041
  updateEntry({ id: e2, data: s }) {
7042
7042
  return t2.put(`journal-entries/${e2}`, s);
7043
- },
7044
- /**
7045
- * @param { rebilly.GetJournalRecordCollectionBCRequest } request
7046
- * @returns { rebilly.GetJournalRecordCollectionBCResponsePromise } response
7047
- */
7048
- getAllRecords({
7049
- id: e2,
7050
- limit: s = null,
7051
- offset: r2 = null,
7052
- filter: n2 = null,
7053
- sort: u = null,
7054
- expand: o2 = null
7055
- }) {
7056
- const l = { limit: s, offset: r2, filter: n2, sort: u, expand: o2 };
7057
- return t2.getAll(`journal-entries/${e2}/records`, l);
7058
- },
7059
- createRecord({ id: e2, data: s }) {
7060
- return t2.post(`journal-entries/${e2}/records`, s);
7061
- },
7062
- /**
7063
- * @returns { rebilly.GetJournalRecordBCResponsePromise } response
7064
- */
7065
- getRecord({ id: e2, journalRecordId: s }) {
7066
- return t2.get(`journal-entries/${e2}/records/${s}`);
7067
- },
7068
- /**
7069
- * @returns { rebilly.PutJournalRecordBCResponsePromise } response
7070
- */
7071
- updateRecord({ id: e2, journalRecordId: s, data: r2 }) {
7072
- return t2.put(
7073
- `journal-entries/${e2}/records/${s}`,
7074
- r2
7075
- );
7076
- },
7077
- deleteRecord({ id: e2, journalRecordId: s }) {
7078
- return t2.delete(
7079
- `journal-entries/${e2}/records/${s}`
7080
- );
7081
7043
  }
7082
7044
  };
7083
7045
  }
@@ -8887,9 +8849,15 @@ function Is({ apiHandler: t2 }) {
8887
8849
  /**
8888
8850
  * @returns { rebilly.GetAnnualRecurringRevenueReportResponsePromise } response
8889
8851
  */
8890
- getAnnualRecurringRevenue({ currency: e2, periodStart: s, periodEnd: r2 }) {
8891
- const n2 = { currency: e2, periodStart: s, periodEnd: r2 };
8892
- return t2.get("reports/annual-recurring-revenue", n2);
8852
+ getAnnualRecurringRevenue({
8853
+ currency: e2,
8854
+ periodStart: s,
8855
+ periodEnd: r2,
8856
+ limit: n2 = null,
8857
+ offset: u = null
8858
+ }) {
8859
+ const o2 = { currency: e2, periodStart: s, periodEnd: r2, limit: n2, offset: u };
8860
+ return t2.get("reports/annual-recurring-revenue", o2);
8893
8861
  },
8894
8862
  /**
8895
8863
  * @returns { rebilly.GetRenewalSaleReportResponsePromise } response
@@ -9203,9 +9171,6 @@ function Ds({ apiHandler: t2 }) {
9203
9171
  */
9204
9172
  get({ id: e2 }) {
9205
9173
  return t2.get(`cashiers/${e2}`);
9206
- },
9207
- cancelPayoutRequests({ id: e2, data: s }) {
9208
- return t2.post(`cashiers/${e2}/cancel-payout-requests`, s);
9209
9174
  }
9210
9175
  };
9211
9176
  }