@izak0s/spacebring-api 15.0.0 → 16.0.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/dist/index.cjs CHANGED
@@ -766,7 +766,7 @@ function createBenefits(client, defaults) {
766
766
  /**
767
767
  * Create a category
768
768
  *
769
- * Create a benefit category.
769
+ * Create a benefit category. A user needs the Settings permission in the location.
770
770
  */
771
771
  async create(category, options) {
772
772
  return unwrapProp(await client.POST("/benefits/categories/v1", { body: { category }, signal: options?.signal }), "category", "POST /benefits/categories/v1");
@@ -2386,7 +2386,7 @@ function createShop(client, defaults) {
2386
2386
  /**
2387
2387
  * Create a category
2388
2388
  *
2389
- * Create a shop category.
2389
+ * Create a shop category. A user needs the Settings permission in the location.
2390
2390
  */
2391
2391
  async create(category, options) {
2392
2392
  return unwrapProp(await client.POST("/shop/categories/v1", { body: { category }, signal: options?.signal }), "category", "POST /shop/categories/v1");