@gymspace/sdk 1.0.1 → 1.0.2
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.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/models/gyms.ts +52 -0
- package/src/resources/gyms.ts +17 -1
package/dist/index.js
CHANGED
|
@@ -403,6 +403,12 @@ var GymsResource = class extends BaseResource {
|
|
|
403
403
|
async updateCurrentGym(data, options) {
|
|
404
404
|
return this.client.put(`${this.basePath}/current`, data, options);
|
|
405
405
|
}
|
|
406
|
+
async updateGymSchedule(id, data, options) {
|
|
407
|
+
return this.client.put(`${this.basePath}/${id}/schedule`, data, options);
|
|
408
|
+
}
|
|
409
|
+
async updateGymSocialMedia(id, data, options) {
|
|
410
|
+
return this.client.put(`${this.basePath}/${id}/social-media`, data, options);
|
|
411
|
+
}
|
|
406
412
|
};
|
|
407
413
|
|
|
408
414
|
// src/resources/clients.ts
|
|
@@ -1224,7 +1230,7 @@ var GymSpaceSdk = class {
|
|
|
1224
1230
|
}
|
|
1225
1231
|
};
|
|
1226
1232
|
|
|
1227
|
-
//
|
|
1233
|
+
// node_modules/@gymspace/shared/dist/index.mjs
|
|
1228
1234
|
var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
1229
1235
|
UserType2["OWNER"] = "owner";
|
|
1230
1236
|
UserType2["COLLABORATOR"] = "collaborator";
|