@rebilly/instruments 15.3.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.3.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v15.2.0...instruments/core-v15.3.0) (2025-09-03)
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
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#14606](https://github.com/Rebilly/rebilly/issues/14606)) ([1eeb810](https://github.com/Rebilly/rebilly/commit/1eeb8104c7eebd136edd3aea5599f81c3a131f23))
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("/")}@1eeb810`
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