@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.mjs
CHANGED
|
@@ -397,6 +397,12 @@ var GymsResource = class extends BaseResource {
|
|
|
397
397
|
async updateCurrentGym(data, options) {
|
|
398
398
|
return this.client.put(`${this.basePath}/current`, data, options);
|
|
399
399
|
}
|
|
400
|
+
async updateGymSchedule(id, data, options) {
|
|
401
|
+
return this.client.put(`${this.basePath}/${id}/schedule`, data, options);
|
|
402
|
+
}
|
|
403
|
+
async updateGymSocialMedia(id, data, options) {
|
|
404
|
+
return this.client.put(`${this.basePath}/${id}/social-media`, data, options);
|
|
405
|
+
}
|
|
400
406
|
};
|
|
401
407
|
|
|
402
408
|
// src/resources/clients.ts
|
|
@@ -1218,7 +1224,7 @@ var GymSpaceSdk = class {
|
|
|
1218
1224
|
}
|
|
1219
1225
|
};
|
|
1220
1226
|
|
|
1221
|
-
//
|
|
1227
|
+
// node_modules/@gymspace/shared/dist/index.mjs
|
|
1222
1228
|
var UserType = /* @__PURE__ */ ((UserType2) => {
|
|
1223
1229
|
UserType2["OWNER"] = "owner";
|
|
1224
1230
|
UserType2["COLLABORATOR"] = "collaborator";
|