@vitalfit/sdk 0.2.4 → 0.2.6
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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1481,7 +1481,7 @@ var BillingService = class {
|
|
|
1481
1481
|
return response;
|
|
1482
1482
|
}
|
|
1483
1483
|
async updateFiscalDocument(jwt, id, data) {
|
|
1484
|
-
await this.client.
|
|
1484
|
+
await this.client.put({
|
|
1485
1485
|
url: `/billing/fiscal-document-types/${id}`,
|
|
1486
1486
|
jwt,
|
|
1487
1487
|
data
|
|
@@ -1509,7 +1509,7 @@ var BookingService = class {
|
|
|
1509
1509
|
}
|
|
1510
1510
|
async bookClass(data, classID, jwt) {
|
|
1511
1511
|
await this.client.post({
|
|
1512
|
-
url: `/
|
|
1512
|
+
url: `/schedule/${classID}/book`,
|
|
1513
1513
|
jwt,
|
|
1514
1514
|
data
|
|
1515
1515
|
});
|
|
@@ -1536,7 +1536,7 @@ var BookingService = class {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
async getClassBookingCount(classID, jwt) {
|
|
1538
1538
|
const response = await this.client.get({
|
|
1539
|
-
url: `/
|
|
1539
|
+
url: `/schedule/${classID}/bookings/count`,
|
|
1540
1540
|
jwt
|
|
1541
1541
|
});
|
|
1542
1542
|
return response;
|
|
@@ -2248,7 +2248,7 @@ var VitalFit = class _VitalFit {
|
|
|
2248
2248
|
return _VitalFit.instance;
|
|
2249
2249
|
}
|
|
2250
2250
|
version() {
|
|
2251
|
-
return "0.2.
|
|
2251
|
+
return "0.2.6";
|
|
2252
2252
|
}
|
|
2253
2253
|
};
|
|
2254
2254
|
// Annotate the CommonJS export names for ESM import in node:
|