@51eat/sdk 2.1.0 → 2.2.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.
Files changed (194) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/business/client/Client.d.ts +0 -3
  3. package/dist/cjs/api/resources/business/client/Client.js +14 -19
  4. package/dist/cjs/api/resources/business/resources/commerce/client/Client.d.ts +9 -0
  5. package/dist/cjs/api/resources/business/resources/commerce/client/Client.js +27 -12
  6. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/client/Client.d.ts +30 -0
  7. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/client/Client.js +116 -0
  8. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/exports.d.ts +2 -0
  9. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/exports.js +21 -0
  10. package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/catalog}/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/catalog}/index.js +1 -0
  12. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/types/GetOptionsCatalogResponse.d.ts +4 -0
  13. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/types/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/business/resources/commerce/resources/catalog/types/index.js +17 -0
  15. package/dist/cjs/api/resources/business/resources/commerce/resources/index.d.ts +8 -0
  16. package/dist/cjs/api/resources/business/resources/commerce/resources/index.js +12 -4
  17. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.d.ts +46 -0
  18. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.js +137 -0
  19. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/GetProductsLocationsRequest.d.ts +10 -0
  20. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/SetLocationProductsRequest.d.ts +15 -0
  21. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/SetLocationProductsRequest.js +3 -0
  22. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/GetProductsLocationsResponse.d.ts +4 -0
  24. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/GetProductsLocationsResponse.js +3 -0
  25. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/SetProductsLocationsResponse.d.ts +4 -0
  26. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/SetProductsLocationsResponse.js +3 -0
  27. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.d.ts +2 -0
  28. package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.js +2 -0
  29. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/Client.d.ts +80 -0
  30. package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/Client.js +142 -49
  31. package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/requests/DeleteProductCategoriesRequest.d.ts +1 -0
  32. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/DeleteProductCategoriesRequest.js +3 -0
  33. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +14 -0
  34. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/StoreProductCategoryRequest.js +3 -0
  35. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +14 -0
  36. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/UpdateProductCategoryRequest.js +3 -0
  37. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/index.d.ts +3 -0
  38. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/client/requests/index.js +2 -0
  39. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/index.d.ts +2 -0
  40. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/index.js +18 -0
  41. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/CreateProductCategoriesResponse.d.ts +4 -0
  42. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/CreateProductCategoriesResponse.js +3 -0
  43. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/ListProductCategoriesResponse.d.ts +4 -0
  44. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/ListProductCategoriesResponse.js +3 -0
  45. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/UpdateProductCategoriesResponse.d.ts +4 -0
  46. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/UpdateProductCategoriesResponse.js +3 -0
  47. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/index.d.ts +3 -0
  48. package/dist/cjs/api/resources/business/resources/commerce/resources/productCategories/types/index.js +19 -0
  49. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/Client.d.ts +92 -0
  50. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/Client.js +338 -0
  51. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/index.js +17 -0
  53. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/DeleteProductImagesRequest.d.ts +13 -0
  54. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/DeleteProductImagesRequest.js +3 -0
  55. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/ReorderProductImagesRequest.d.ts +24 -0
  56. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/ReorderProductImagesRequest.js +3 -0
  57. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/StoreProductImageRequest.d.ts +18 -0
  58. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/StoreProductImageRequest.js +3 -0
  59. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/UpdateProductImageRequest.d.ts +14 -0
  60. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/UpdateProductImageRequest.js +3 -0
  61. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/index.d.ts +4 -0
  62. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/client/requests/index.js +2 -0
  63. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/exports.d.ts +2 -0
  64. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/exports.js +21 -0
  65. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/index.d.ts +2 -0
  66. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/index.js +18 -0
  67. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/ReorderProductImagesResponse.d.ts +4 -0
  68. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/ReorderProductImagesResponse.js +3 -0
  69. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/UpdateProductImagesResponse.d.ts +4 -0
  70. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/UpdateProductImagesResponse.js +3 -0
  71. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/UploadProductImagesResponse.d.ts +4 -0
  72. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/UploadProductImagesResponse.js +3 -0
  73. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/index.d.ts +3 -0
  74. package/dist/cjs/api/resources/business/resources/commerce/resources/productImages/types/index.js +19 -0
  75. package/dist/cjs/api/resources/business/resources/index.d.ts +0 -2
  76. package/dist/cjs/api/resources/business/resources/index.js +1 -3
  77. package/dist/cjs/api/types/CatalogFormOptionsResource.d.ts +87 -0
  78. package/dist/cjs/api/types/CatalogFormOptionsResource.js +17 -0
  79. package/dist/cjs/api/types/LocationProductsResource.d.ts +42 -0
  80. package/dist/cjs/api/types/LocationProductsResource.js +19 -0
  81. package/dist/cjs/api/types/ProductCategoryResource.d.ts +4 -0
  82. package/dist/cjs/api/types/index.d.ts +2 -0
  83. package/dist/cjs/api/types/index.js +2 -0
  84. package/dist/cjs/version.d.ts +1 -1
  85. package/dist/cjs/version.js +1 -1
  86. package/dist/esm/BaseClient.mjs +2 -2
  87. package/dist/esm/api/resources/business/client/Client.d.mts +0 -3
  88. package/dist/esm/api/resources/business/client/Client.mjs +0 -5
  89. package/dist/esm/api/resources/business/resources/commerce/client/Client.d.mts +9 -0
  90. package/dist/esm/api/resources/business/resources/commerce/client/Client.mjs +15 -0
  91. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/client/Client.d.mts +30 -0
  92. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/client/Client.mjs +79 -0
  93. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/client/index.d.mts +1 -0
  94. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/client/index.mjs +1 -0
  95. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/exports.d.mts +2 -0
  96. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/exports.mjs +3 -0
  97. package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/catalog}/index.d.mts +1 -0
  98. package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/catalog}/index.mjs +1 -0
  99. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/types/GetOptionsCatalogResponse.d.mts +4 -0
  100. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/types/index.d.mts +1 -0
  101. package/dist/esm/api/resources/business/resources/commerce/resources/catalog/types/index.mjs +1 -0
  102. package/dist/esm/api/resources/business/resources/commerce/resources/index.d.mts +8 -0
  103. package/dist/esm/api/resources/business/resources/commerce/resources/index.mjs +8 -0
  104. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.d.mts +46 -0
  105. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.mjs +137 -0
  106. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/GetProductsLocationsRequest.d.mts +10 -0
  107. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/SetLocationProductsRequest.d.mts +15 -0
  108. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/SetLocationProductsRequest.mjs +2 -0
  109. package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/index.d.mts +2 -0
  110. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/GetProductsLocationsResponse.d.mts +4 -0
  111. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/GetProductsLocationsResponse.mjs +2 -0
  112. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/SetProductsLocationsResponse.d.mts +4 -0
  113. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/SetProductsLocationsResponse.mjs +2 -0
  114. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.d.mts +2 -0
  115. package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.mjs +2 -0
  116. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/Client.d.mts +80 -0
  117. package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/Client.mjs +142 -49
  118. package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/requests/DeleteProductCategoriesRequest.d.mts +1 -0
  119. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/DeleteProductCategoriesRequest.mjs +2 -0
  120. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +14 -0
  121. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/StoreProductCategoryRequest.mjs +2 -0
  122. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +14 -0
  123. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/UpdateProductCategoryRequest.mjs +2 -0
  124. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/index.d.mts +3 -0
  125. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/client/requests/index.mjs +1 -0
  126. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/index.d.mts +2 -0
  127. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/index.mjs +2 -0
  128. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/CreateProductCategoriesResponse.d.mts +4 -0
  129. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/CreateProductCategoriesResponse.mjs +2 -0
  130. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/ListProductCategoriesResponse.d.mts +4 -0
  131. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/ListProductCategoriesResponse.mjs +2 -0
  132. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/UpdateProductCategoriesResponse.d.mts +4 -0
  133. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/UpdateProductCategoriesResponse.mjs +2 -0
  134. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/index.d.mts +3 -0
  135. package/dist/esm/api/resources/business/resources/commerce/resources/productCategories/types/index.mjs +3 -0
  136. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/Client.d.mts +92 -0
  137. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/Client.mjs +301 -0
  138. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/index.d.mts +1 -0
  139. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/index.mjs +1 -0
  140. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/DeleteProductImagesRequest.d.mts +13 -0
  141. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/DeleteProductImagesRequest.mjs +2 -0
  142. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/ReorderProductImagesRequest.d.mts +24 -0
  143. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/ReorderProductImagesRequest.mjs +2 -0
  144. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/StoreProductImageRequest.d.mts +18 -0
  145. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/StoreProductImageRequest.mjs +2 -0
  146. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/UpdateProductImageRequest.d.mts +14 -0
  147. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/UpdateProductImageRequest.mjs +2 -0
  148. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/index.d.mts +4 -0
  149. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/client/requests/index.mjs +1 -0
  150. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/exports.d.mts +2 -0
  151. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/exports.mjs +3 -0
  152. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/index.d.mts +2 -0
  153. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/index.mjs +2 -0
  154. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/ReorderProductImagesResponse.d.mts +4 -0
  155. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/ReorderProductImagesResponse.mjs +2 -0
  156. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/UpdateProductImagesResponse.d.mts +4 -0
  157. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/UpdateProductImagesResponse.mjs +2 -0
  158. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/UploadProductImagesResponse.d.mts +4 -0
  159. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/UploadProductImagesResponse.mjs +2 -0
  160. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/index.d.mts +3 -0
  161. package/dist/esm/api/resources/business/resources/commerce/resources/productImages/types/index.mjs +3 -0
  162. package/dist/esm/api/resources/business/resources/index.d.mts +0 -2
  163. package/dist/esm/api/resources/business/resources/index.mjs +0 -2
  164. package/dist/esm/api/types/CatalogFormOptionsResource.d.mts +87 -0
  165. package/dist/esm/api/types/CatalogFormOptionsResource.mjs +14 -0
  166. package/dist/esm/api/types/LocationProductsResource.d.mts +42 -0
  167. package/dist/esm/api/types/LocationProductsResource.mjs +16 -0
  168. package/dist/esm/api/types/ProductCategoryResource.d.mts +4 -0
  169. package/dist/esm/api/types/index.d.mts +2 -0
  170. package/dist/esm/api/types/index.mjs +2 -0
  171. package/dist/esm/version.d.mts +1 -1
  172. package/dist/esm/version.mjs +1 -1
  173. package/package.json +34 -12
  174. package/reference.md +543 -42
  175. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +0 -51
  176. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoriesRequest.d.ts +0 -9
  177. package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.d.ts +0 -2
  178. package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +0 -51
  179. package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoriesRequest.d.mts +0 -9
  180. package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.d.mts +0 -2
  181. /package/dist/{esm/api/resources/business/resources/productCategories/client/requests/index.mjs → cjs/api/resources/business/resources/commerce/resources/catalog/client/index.d.ts} +0 -0
  182. /package/dist/cjs/api/resources/business/resources/{productCategories/client/requests → commerce/resources/catalog/client}/index.js +0 -0
  183. /package/dist/cjs/api/resources/business/resources/{productCategories/client/requests/DeleteProductCategoriesRequest.js → commerce/resources/catalog/types/GetOptionsCatalogResponse.js} +0 -0
  184. /package/dist/cjs/api/resources/business/resources/{productCategories/client/requests/UpdateProductCategoriesRequest.js → commerce/resources/locations/client/requests/GetProductsLocationsRequest.js} +0 -0
  185. /package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/index.d.ts +0 -0
  186. /package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/index.js +0 -0
  187. /package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/exports.d.ts +0 -0
  188. /package/dist/cjs/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/exports.js +0 -0
  189. /package/dist/esm/api/resources/business/resources/{productCategories/client/requests/DeleteProductCategoriesRequest.mjs → commerce/resources/catalog/types/GetOptionsCatalogResponse.mjs} +0 -0
  190. /package/dist/esm/api/resources/business/resources/{productCategories/client/requests/UpdateProductCategoriesRequest.mjs → commerce/resources/locations/client/requests/GetProductsLocationsRequest.mjs} +0 -0
  191. /package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/index.d.mts +0 -0
  192. /package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/client/index.mjs +0 -0
  193. /package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/exports.d.mts +0 -0
  194. /package/dist/esm/api/resources/business/resources/{productCategories → commerce/resources/productCategories}/exports.mjs +0 -0
package/reference.md CHANGED
@@ -4848,11 +4848,25 @@ await client.business.temporaryLocations.delete({
4848
4848
  </dl>
4849
4849
  </details>
4850
4850
 
4851
- ## Business ProductCategories
4852
- <details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">list</a>() -> void</code></summary>
4851
+ ## Business Auth Tokens
4852
+ <details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">list</a>() -> FiveOneEat.ListTokensResponse</code></summary>
4853
+ <dl>
4854
+ <dd>
4855
+
4856
+ #### 📝 Description
4857
+
4858
+ <dl>
4859
+ <dd>
4860
+
4853
4861
  <dl>
4854
4862
  <dd>
4855
4863
 
4864
+ Retrieve a list of all API tokens for the authenticated business user.
4865
+ </dd>
4866
+ </dl>
4867
+ </dd>
4868
+ </dl>
4869
+
4856
4870
  #### 🔌 Usage
4857
4871
 
4858
4872
  <dl>
@@ -4862,7 +4876,7 @@ await client.business.temporaryLocations.delete({
4862
4876
  <dd>
4863
4877
 
4864
4878
  ```typescript
4865
- await client.business.productCategories.list();
4879
+ await client.business.auth.tokens.list();
4866
4880
 
4867
4881
  ```
4868
4882
  </dd>
@@ -4878,7 +4892,7 @@ await client.business.productCategories.list();
4878
4892
  <dl>
4879
4893
  <dd>
4880
4894
 
4881
- **requestOptions:** `ProductCategoriesClient.RequestOptions`
4895
+ **requestOptions:** `TokensClient.RequestOptions`
4882
4896
 
4883
4897
  </dd>
4884
4898
  </dl>
@@ -4890,10 +4904,24 @@ await client.business.productCategories.list();
4890
4904
  </dl>
4891
4905
  </details>
4892
4906
 
4893
- <details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">create</a>() -> void</code></summary>
4907
+ <details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">revoke</a>({ ...params }) -> FiveOneEat.RevokeTokensResponse</code></summary>
4908
+ <dl>
4909
+ <dd>
4910
+
4911
+ #### 📝 Description
4912
+
4913
+ <dl>
4914
+ <dd>
4915
+
4894
4916
  <dl>
4895
4917
  <dd>
4896
4918
 
4919
+ Delete a specific API token by its ID.
4920
+ </dd>
4921
+ </dl>
4922
+ </dd>
4923
+ </dl>
4924
+
4897
4925
  #### 🔌 Usage
4898
4926
 
4899
4927
  <dl>
@@ -4903,7 +4931,9 @@ await client.business.productCategories.list();
4903
4931
  <dd>
4904
4932
 
4905
4933
  ```typescript
4906
- await client.business.productCategories.create();
4934
+ await client.business.auth.tokens.revoke({
4935
+ token: "token"
4936
+ });
4907
4937
 
4908
4938
  ```
4909
4939
  </dd>
@@ -4919,7 +4949,15 @@ await client.business.productCategories.create();
4919
4949
  <dl>
4920
4950
  <dd>
4921
4951
 
4922
- **requestOptions:** `ProductCategoriesClient.RequestOptions`
4952
+ **request:** `FiveOneEat.business.auth.RevokeTokensRequest`
4953
+
4954
+ </dd>
4955
+ </dl>
4956
+
4957
+ <dl>
4958
+ <dd>
4959
+
4960
+ **requestOptions:** `TokensClient.RequestOptions`
4923
4961
 
4924
4962
  </dd>
4925
4963
  </dl>
@@ -4931,7 +4969,8 @@ await client.business.productCategories.create();
4931
4969
  </dl>
4932
4970
  </details>
4933
4971
 
4934
- <details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">update</a>({ ...params }) -> void</code></summary>
4972
+ ## Business Bulletins Comments
4973
+ <details><summary><code>client.business.bulletins.comments.<a href="/src/api/resources/business/resources/bulletins/resources/comments/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListCommentsResponse</code></summary>
4935
4974
  <dl>
4936
4975
  <dd>
4937
4976
 
@@ -4944,8 +4983,8 @@ await client.business.productCategories.create();
4944
4983
  <dd>
4945
4984
 
4946
4985
  ```typescript
4947
- await client.business.productCategories.update({
4948
- productCategory: "productCategory"
4986
+ await client.business.bulletins.comments.list({
4987
+ bulletin: "bulletin"
4949
4988
  });
4950
4989
 
4951
4990
  ```
@@ -4962,7 +5001,7 @@ await client.business.productCategories.update({
4962
5001
  <dl>
4963
5002
  <dd>
4964
5003
 
4965
- **request:** `FiveOneEat.business.UpdateProductCategoriesRequest`
5004
+ **request:** `FiveOneEat.business.bulletins.ListCommentsRequest`
4966
5005
 
4967
5006
  </dd>
4968
5007
  </dl>
@@ -4970,7 +5009,7 @@ await client.business.productCategories.update({
4970
5009
  <dl>
4971
5010
  <dd>
4972
5011
 
4973
- **requestOptions:** `ProductCategoriesClient.RequestOptions`
5012
+ **requestOptions:** `CommentsClient.RequestOptions`
4974
5013
 
4975
5014
  </dd>
4976
5015
  </dl>
@@ -4982,10 +5021,25 @@ await client.business.productCategories.update({
4982
5021
  </dl>
4983
5022
  </details>
4984
5023
 
4985
- <details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
5024
+ <details><summary><code>client.business.bulletins.comments.<a href="/src/api/resources/business/resources/bulletins/resources/comments/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateCommentsResponse</code></summary>
5025
+ <dl>
5026
+ <dd>
5027
+
5028
+ #### 📝 Description
5029
+
5030
+ <dl>
5031
+ <dd>
5032
+
4986
5033
  <dl>
4987
5034
  <dd>
4988
5035
 
5036
+ Omit `parent_id` for a top-level comment. Set `parent_id` to a top-level
5037
+ comment's id to post a one-level reply (replies to replies are not allowed).
5038
+ </dd>
5039
+ </dl>
5040
+ </dd>
5041
+ </dl>
5042
+
4989
5043
  #### 🔌 Usage
4990
5044
 
4991
5045
  <dl>
@@ -4995,8 +5049,9 @@ await client.business.productCategories.update({
4995
5049
  <dd>
4996
5050
 
4997
5051
  ```typescript
4998
- await client.business.productCategories.delete({
4999
- productCategory: "productCategory"
5052
+ await client.business.bulletins.comments.create({
5053
+ bulletin: "bulletin",
5054
+ body: "body"
5000
5055
  });
5001
5056
 
5002
5057
  ```
@@ -5013,7 +5068,7 @@ await client.business.productCategories.delete({
5013
5068
  <dl>
5014
5069
  <dd>
5015
5070
 
5016
- **request:** `FiveOneEat.business.DeleteProductCategoriesRequest`
5071
+ **request:** `FiveOneEat.business.bulletins.StoreBulletinCommentRequest`
5017
5072
 
5018
5073
  </dd>
5019
5074
  </dl>
@@ -5021,7 +5076,7 @@ await client.business.productCategories.delete({
5021
5076
  <dl>
5022
5077
  <dd>
5023
5078
 
5024
- **requestOptions:** `ProductCategoriesClient.RequestOptions`
5079
+ **requestOptions:** `CommentsClient.RequestOptions`
5025
5080
 
5026
5081
  </dd>
5027
5082
  </dl>
@@ -5033,8 +5088,8 @@ await client.business.productCategories.delete({
5033
5088
  </dl>
5034
5089
  </details>
5035
5090
 
5036
- ## Business Auth Tokens
5037
- <details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">list</a>() -> FiveOneEat.ListTokensResponse</code></summary>
5091
+ ## Business Commerce ProductCategories
5092
+ <details><summary><code>client.business.commerce.productCategories.<a href="/src/api/resources/business/resources/commerce/resources/productCategories/client/Client.ts">list</a>() -> FiveOneEat.ListProductCategoriesResponse</code></summary>
5038
5093
  <dl>
5039
5094
  <dd>
5040
5095
 
@@ -5046,7 +5101,8 @@ await client.business.productCategories.delete({
5046
5101
  <dl>
5047
5102
  <dd>
5048
5103
 
5049
- Retrieve a list of all API tokens for the authenticated business user.
5104
+ In their order, flat (a child names its parent in `parent_id`), each
5105
+ with `products_count`, the products filed directly under it.
5050
5106
  </dd>
5051
5107
  </dl>
5052
5108
  </dd>
@@ -5061,7 +5117,7 @@ Retrieve a list of all API tokens for the authenticated business user.
5061
5117
  <dd>
5062
5118
 
5063
5119
  ```typescript
5064
- await client.business.auth.tokens.list();
5120
+ await client.business.commerce.productCategories.list();
5065
5121
 
5066
5122
  ```
5067
5123
  </dd>
@@ -5077,7 +5133,7 @@ await client.business.auth.tokens.list();
5077
5133
  <dl>
5078
5134
  <dd>
5079
5135
 
5080
- **requestOptions:** `TokensClient.RequestOptions`
5136
+ **requestOptions:** `ProductCategoriesClient.RequestOptions`
5081
5137
 
5082
5138
  </dd>
5083
5139
  </dl>
@@ -5089,7 +5145,7 @@ await client.business.auth.tokens.list();
5089
5145
  </dl>
5090
5146
  </details>
5091
5147
 
5092
- <details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">revoke</a>({ ...params }) -> FiveOneEat.RevokeTokensResponse</code></summary>
5148
+ <details><summary><code>client.business.commerce.productCategories.<a href="/src/api/resources/business/resources/commerce/resources/productCategories/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateProductCategoriesResponse</code></summary>
5093
5149
  <dl>
5094
5150
  <dd>
5095
5151
 
@@ -5101,7 +5157,7 @@ await client.business.auth.tokens.list();
5101
5157
  <dl>
5102
5158
  <dd>
5103
5159
 
5104
- Delete a specific API token by its ID.
5160
+ Answers 201.
5105
5161
  </dd>
5106
5162
  </dl>
5107
5163
  </dd>
@@ -5116,8 +5172,9 @@ Delete a specific API token by its ID.
5116
5172
  <dd>
5117
5173
 
5118
5174
  ```typescript
5119
- await client.business.auth.tokens.revoke({
5120
- token: "token"
5175
+ await client.business.commerce.productCategories.create({
5176
+ "Idempotency-Key": "Idempotency-Key",
5177
+ name: "name"
5121
5178
  });
5122
5179
 
5123
5180
  ```
@@ -5134,7 +5191,7 @@ await client.business.auth.tokens.revoke({
5134
5191
  <dl>
5135
5192
  <dd>
5136
5193
 
5137
- **request:** `FiveOneEat.business.auth.RevokeTokensRequest`
5194
+ **request:** `FiveOneEat.business.commerce.StoreProductCategoryRequest`
5138
5195
 
5139
5196
  </dd>
5140
5197
  </dl>
@@ -5142,7 +5199,7 @@ await client.business.auth.tokens.revoke({
5142
5199
  <dl>
5143
5200
  <dd>
5144
5201
 
5145
- **requestOptions:** `TokensClient.RequestOptions`
5202
+ **requestOptions:** `ProductCategoriesClient.RequestOptions`
5146
5203
 
5147
5204
  </dd>
5148
5205
  </dl>
@@ -5154,8 +5211,7 @@ await client.business.auth.tokens.revoke({
5154
5211
  </dl>
5155
5212
  </details>
5156
5213
 
5157
- ## Business Bulletins Comments
5158
- <details><summary><code>client.business.bulletins.comments.<a href="/src/api/resources/business/resources/bulletins/resources/comments/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListCommentsResponse</code></summary>
5214
+ <details><summary><code>client.business.commerce.productCategories.<a href="/src/api/resources/business/resources/commerce/resources/productCategories/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateProductCategoriesResponse</code></summary>
5159
5215
  <dl>
5160
5216
  <dd>
5161
5217
 
@@ -5168,8 +5224,9 @@ await client.business.auth.tokens.revoke({
5168
5224
  <dd>
5169
5225
 
5170
5226
  ```typescript
5171
- await client.business.bulletins.comments.list({
5172
- bulletin: "bulletin"
5227
+ await client.business.commerce.productCategories.update({
5228
+ productCategory: "productCategory",
5229
+ name: "name"
5173
5230
  });
5174
5231
 
5175
5232
  ```
@@ -5186,7 +5243,7 @@ await client.business.bulletins.comments.list({
5186
5243
  <dl>
5187
5244
  <dd>
5188
5245
 
5189
- **request:** `FiveOneEat.business.bulletins.ListCommentsRequest`
5246
+ **request:** `FiveOneEat.business.commerce.UpdateProductCategoryRequest`
5190
5247
 
5191
5248
  </dd>
5192
5249
  </dl>
@@ -5194,7 +5251,7 @@ await client.business.bulletins.comments.list({
5194
5251
  <dl>
5195
5252
  <dd>
5196
5253
 
5197
- **requestOptions:** `CommentsClient.RequestOptions`
5254
+ **requestOptions:** `ProductCategoriesClient.RequestOptions`
5198
5255
 
5199
5256
  </dd>
5200
5257
  </dl>
@@ -5206,7 +5263,7 @@ await client.business.bulletins.comments.list({
5206
5263
  </dl>
5207
5264
  </details>
5208
5265
 
5209
- <details><summary><code>client.business.bulletins.comments.<a href="/src/api/resources/business/resources/bulletins/resources/comments/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateCommentsResponse</code></summary>
5266
+ <details><summary><code>client.business.commerce.productCategories.<a href="/src/api/resources/business/resources/commerce/resources/productCategories/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
5210
5267
  <dl>
5211
5268
  <dd>
5212
5269
 
@@ -5218,8 +5275,8 @@ await client.business.bulletins.comments.list({
5218
5275
  <dl>
5219
5276
  <dd>
5220
5277
 
5221
- Omit `parent_id` for a top-level comment. Set `parent_id` to a top-level
5222
- comment's id to post a one-level reply (replies to replies are not allowed).
5278
+ Its children become top-level categories and its products, and theirs,
5279
+ are left uncategorised.
5223
5280
  </dd>
5224
5281
  </dl>
5225
5282
  </dd>
@@ -5234,9 +5291,8 @@ comment's id to post a one-level reply (replies to replies are not allowed).
5234
5291
  <dd>
5235
5292
 
5236
5293
  ```typescript
5237
- await client.business.bulletins.comments.create({
5238
- bulletin: "bulletin",
5239
- body: "body"
5294
+ await client.business.commerce.productCategories.delete({
5295
+ productCategory: "productCategory"
5240
5296
  });
5241
5297
 
5242
5298
  ```
@@ -5253,7 +5309,7 @@ await client.business.bulletins.comments.create({
5253
5309
  <dl>
5254
5310
  <dd>
5255
5311
 
5256
- **request:** `FiveOneEat.business.bulletins.StoreBulletinCommentRequest`
5312
+ **request:** `FiveOneEat.business.commerce.DeleteProductCategoriesRequest`
5257
5313
 
5258
5314
  </dd>
5259
5315
  </dl>
@@ -5261,7 +5317,7 @@ await client.business.bulletins.comments.create({
5261
5317
  <dl>
5262
5318
  <dd>
5263
5319
 
5264
- **requestOptions:** `CommentsClient.RequestOptions`
5320
+ **requestOptions:** `ProductCategoriesClient.RequestOptions`
5265
5321
 
5266
5322
  </dd>
5267
5323
  </dl>
@@ -5403,6 +5459,147 @@ await client.business.commerce.locations.create({
5403
5459
  </dl>
5404
5460
 
5405
5461
 
5462
+ </dd>
5463
+ </dl>
5464
+ </details>
5465
+
5466
+ <details><summary><code>client.business.commerce.locations.<a href="/src/api/resources/business/resources/commerce/resources/locations/client/Client.ts">getProducts</a>({ ...params }) -> FiveOneEat.GetProductsLocationsResponse</code></summary>
5467
+ <dl>
5468
+ <dd>
5469
+
5470
+ #### 📝 Description
5471
+
5472
+ <dl>
5473
+ <dd>
5474
+
5475
+ <dl>
5476
+ <dd>
5477
+
5478
+ Every product of the business, by name, and the IDs of those sold here
5479
+ (`selected`): online, for pickup, at a store; in person at a stand
5480
+ (`channel`). `location.sells_this_way` is false while the location
5481
+ doesn't sell that way at all, and nothing can be added there.
5482
+ </dd>
5483
+ </dl>
5484
+ </dd>
5485
+ </dl>
5486
+
5487
+ #### 🔌 Usage
5488
+
5489
+ <dl>
5490
+ <dd>
5491
+
5492
+ <dl>
5493
+ <dd>
5494
+
5495
+ ```typescript
5496
+ await client.business.commerce.locations.getProducts({
5497
+ location: "location"
5498
+ });
5499
+
5500
+ ```
5501
+ </dd>
5502
+ </dl>
5503
+ </dd>
5504
+ </dl>
5505
+
5506
+ #### ⚙️ Parameters
5507
+
5508
+ <dl>
5509
+ <dd>
5510
+
5511
+ <dl>
5512
+ <dd>
5513
+
5514
+ **request:** `FiveOneEat.business.commerce.GetProductsLocationsRequest`
5515
+
5516
+ </dd>
5517
+ </dl>
5518
+
5519
+ <dl>
5520
+ <dd>
5521
+
5522
+ **requestOptions:** `LocationsClient.RequestOptions`
5523
+
5524
+ </dd>
5525
+ </dl>
5526
+ </dd>
5527
+ </dl>
5528
+
5529
+
5530
+ </dd>
5531
+ </dl>
5532
+ </details>
5533
+
5534
+ <details><summary><code>client.business.commerce.locations.<a href="/src/api/resources/business/resources/commerce/resources/locations/client/Client.ts">setProducts</a>({ ...params }) -> FiveOneEat.SetProductsLocationsResponse</code></summary>
5535
+ <dl>
5536
+ <dd>
5537
+
5538
+ #### 📝 Description
5539
+
5540
+ <dl>
5541
+ <dd>
5542
+
5543
+ <dl>
5544
+ <dd>
5545
+
5546
+ Sells exactly `product_ids` here, the way the location sells; an empty
5547
+ list takes them all off. Each product's other stores and stands stay
5548
+ as they are. Saving replaces what is there, so a retry is safe.
5549
+ `active: true` switches the location on before adding, `active: false`
5550
+ off after taking off. A product added where the location can't sell it
5551
+ (switched off, archived, or not taking pickup orders or selling in
5552
+ person) is refused with a form error on `availability`, and one that
5553
+ isn't the business's on `product_ids.*`.
5554
+ </dd>
5555
+ </dl>
5556
+ </dd>
5557
+ </dl>
5558
+
5559
+ #### 🔌 Usage
5560
+
5561
+ <dl>
5562
+ <dd>
5563
+
5564
+ <dl>
5565
+ <dd>
5566
+
5567
+ ```typescript
5568
+ await client.business.commerce.locations.setProducts({
5569
+ location: "location",
5570
+ product_ids: ["product_ids"]
5571
+ });
5572
+
5573
+ ```
5574
+ </dd>
5575
+ </dl>
5576
+ </dd>
5577
+ </dl>
5578
+
5579
+ #### ⚙️ Parameters
5580
+
5581
+ <dl>
5582
+ <dd>
5583
+
5584
+ <dl>
5585
+ <dd>
5586
+
5587
+ **request:** `FiveOneEat.business.commerce.SetLocationProductsRequest`
5588
+
5589
+ </dd>
5590
+ </dl>
5591
+
5592
+ <dl>
5593
+ <dd>
5594
+
5595
+ **requestOptions:** `LocationsClient.RequestOptions`
5596
+
5597
+ </dd>
5598
+ </dl>
5599
+ </dd>
5600
+ </dl>
5601
+
5602
+
5406
5603
  </dd>
5407
5604
  </dl>
5408
5605
  </details>
@@ -7106,6 +7303,66 @@ await client.business.commerce.products.delete({
7106
7303
  </dl>
7107
7304
 
7108
7305
 
7306
+ </dd>
7307
+ </dl>
7308
+ </details>
7309
+
7310
+ ## Business Commerce Catalog
7311
+ <details><summary><code>client.business.commerce.catalog.<a href="/src/api/resources/business/resources/commerce/resources/catalog/client/Client.ts">getOptions</a>() -> FiveOneEat.GetOptionsCatalogResponse</code></summary>
7312
+ <dl>
7313
+ <dd>
7314
+
7315
+ #### 📝 Description
7316
+
7317
+ <dl>
7318
+ <dd>
7319
+
7320
+ <dl>
7321
+ <dd>
7322
+
7323
+ The units an option is sold in, the tax codes the business's products
7324
+ may use (a restaurant seller's are food and drink, with
7325
+ `prepared_food_tax_code` as the default; everyone else's are general
7326
+ goods), its categories and unarchived locations, and whether it can
7327
+ sell, take payments and put a product on sale (`readiness`).
7328
+ </dd>
7329
+ </dl>
7330
+ </dd>
7331
+ </dl>
7332
+
7333
+ #### 🔌 Usage
7334
+
7335
+ <dl>
7336
+ <dd>
7337
+
7338
+ <dl>
7339
+ <dd>
7340
+
7341
+ ```typescript
7342
+ await client.business.commerce.catalog.getOptions();
7343
+
7344
+ ```
7345
+ </dd>
7346
+ </dl>
7347
+ </dd>
7348
+ </dl>
7349
+
7350
+ #### ⚙️ Parameters
7351
+
7352
+ <dl>
7353
+ <dd>
7354
+
7355
+ <dl>
7356
+ <dd>
7357
+
7358
+ **requestOptions:** `CatalogClient.RequestOptions`
7359
+
7360
+ </dd>
7361
+ </dl>
7362
+ </dd>
7363
+ </dl>
7364
+
7365
+
7109
7366
  </dd>
7110
7367
  </dl>
7111
7368
  </details>
@@ -7588,6 +7845,250 @@ await client.business.commerce.variants.archive({
7588
7845
  </dl>
7589
7846
 
7590
7847
 
7848
+ </dd>
7849
+ </dl>
7850
+ </details>
7851
+
7852
+ ## Business Commerce ProductImages
7853
+ <details><summary><code>client.business.commerce.productImages.<a href="/src/api/resources/business/resources/commerce/resources/productImages/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadProductImagesResponse</code></summary>
7854
+ <dl>
7855
+ <dd>
7856
+
7857
+ #### 📝 Description
7858
+
7859
+ <dl>
7860
+ <dd>
7861
+
7862
+ <dl>
7863
+ <dd>
7864
+
7865
+ Multipart, with the photo in `image` (up to 10 MB) and optional
7866
+ `alt_text`. Answers 201. It goes after the product's other photos.
7867
+ </dd>
7868
+ </dl>
7869
+ </dd>
7870
+ </dl>
7871
+
7872
+ #### 🔌 Usage
7873
+
7874
+ <dl>
7875
+ <dd>
7876
+
7877
+ <dl>
7878
+ <dd>
7879
+
7880
+ ```typescript
7881
+ await client.business.commerce.productImages.upload({
7882
+ image: fs.createReadStream("/path/to/your/file"),
7883
+ "Idempotency-Key": "Idempotency-Key",
7884
+ product: "product"
7885
+ });
7886
+
7887
+ ```
7888
+ </dd>
7889
+ </dl>
7890
+ </dd>
7891
+ </dl>
7892
+
7893
+ #### ⚙️ Parameters
7894
+
7895
+ <dl>
7896
+ <dd>
7897
+
7898
+ <dl>
7899
+ <dd>
7900
+
7901
+ **request:** `FiveOneEat.business.commerce.StoreProductImageRequest`
7902
+
7903
+ </dd>
7904
+ </dl>
7905
+
7906
+ <dl>
7907
+ <dd>
7908
+
7909
+ **requestOptions:** `ProductImagesClient.RequestOptions`
7910
+
7911
+ </dd>
7912
+ </dl>
7913
+ </dd>
7914
+ </dl>
7915
+
7916
+
7917
+ </dd>
7918
+ </dl>
7919
+ </details>
7920
+
7921
+ <details><summary><code>client.business.commerce.productImages.<a href="/src/api/resources/business/resources/commerce/resources/productImages/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderProductImagesResponse</code></summary>
7922
+ <dl>
7923
+ <dd>
7924
+
7925
+ #### 📝 Description
7926
+
7927
+ <dl>
7928
+ <dd>
7929
+
7930
+ <dl>
7931
+ <dd>
7932
+
7933
+ Sets each listed photo's `sort_order`; the first is the product's main
7934
+ photo. A listed photo of another product is left alone. Answers with
7935
+ all the product's photos in their new order.
7936
+ </dd>
7937
+ </dl>
7938
+ </dd>
7939
+ </dl>
7940
+
7941
+ #### 🔌 Usage
7942
+
7943
+ <dl>
7944
+ <dd>
7945
+
7946
+ <dl>
7947
+ <dd>
7948
+
7949
+ ```typescript
7950
+ await client.business.commerce.productImages.reorder({
7951
+ product: "product",
7952
+ images: [{
7953
+ id: "id",
7954
+ sort_order: 1
7955
+ }]
7956
+ });
7957
+
7958
+ ```
7959
+ </dd>
7960
+ </dl>
7961
+ </dd>
7962
+ </dl>
7963
+
7964
+ #### ⚙️ Parameters
7965
+
7966
+ <dl>
7967
+ <dd>
7968
+
7969
+ <dl>
7970
+ <dd>
7971
+
7972
+ **request:** `FiveOneEat.business.commerce.ReorderProductImagesRequest`
7973
+
7974
+ </dd>
7975
+ </dl>
7976
+
7977
+ <dl>
7978
+ <dd>
7979
+
7980
+ **requestOptions:** `ProductImagesClient.RequestOptions`
7981
+
7982
+ </dd>
7983
+ </dl>
7984
+ </dd>
7985
+ </dl>
7986
+
7987
+
7988
+ </dd>
7989
+ </dl>
7990
+ </details>
7991
+
7992
+ <details><summary><code>client.business.commerce.productImages.<a href="/src/api/resources/business/resources/commerce/resources/productImages/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateProductImagesResponse</code></summary>
7993
+ <dl>
7994
+ <dd>
7995
+
7996
+ #### 🔌 Usage
7997
+
7998
+ <dl>
7999
+ <dd>
8000
+
8001
+ <dl>
8002
+ <dd>
8003
+
8004
+ ```typescript
8005
+ await client.business.commerce.productImages.update({
8006
+ product: "product",
8007
+ image: "image"
8008
+ });
8009
+
8010
+ ```
8011
+ </dd>
8012
+ </dl>
8013
+ </dd>
8014
+ </dl>
8015
+
8016
+ #### ⚙️ Parameters
8017
+
8018
+ <dl>
8019
+ <dd>
8020
+
8021
+ <dl>
8022
+ <dd>
8023
+
8024
+ **request:** `FiveOneEat.business.commerce.UpdateProductImageRequest`
8025
+
8026
+ </dd>
8027
+ </dl>
8028
+
8029
+ <dl>
8030
+ <dd>
8031
+
8032
+ **requestOptions:** `ProductImagesClient.RequestOptions`
8033
+
8034
+ </dd>
8035
+ </dl>
8036
+ </dd>
8037
+ </dl>
8038
+
8039
+
8040
+ </dd>
8041
+ </dl>
8042
+ </details>
8043
+
8044
+ <details><summary><code>client.business.commerce.productImages.<a href="/src/api/resources/business/resources/commerce/resources/productImages/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
8045
+ <dl>
8046
+ <dd>
8047
+
8048
+ #### 🔌 Usage
8049
+
8050
+ <dl>
8051
+ <dd>
8052
+
8053
+ <dl>
8054
+ <dd>
8055
+
8056
+ ```typescript
8057
+ await client.business.commerce.productImages.delete({
8058
+ product: "product",
8059
+ image: "image"
8060
+ });
8061
+
8062
+ ```
8063
+ </dd>
8064
+ </dl>
8065
+ </dd>
8066
+ </dl>
8067
+
8068
+ #### ⚙️ Parameters
8069
+
8070
+ <dl>
8071
+ <dd>
8072
+
8073
+ <dl>
8074
+ <dd>
8075
+
8076
+ **request:** `FiveOneEat.business.commerce.DeleteProductImagesRequest`
8077
+
8078
+ </dd>
8079
+ </dl>
8080
+
8081
+ <dl>
8082
+ <dd>
8083
+
8084
+ **requestOptions:** `ProductImagesClient.RequestOptions`
8085
+
8086
+ </dd>
8087
+ </dl>
8088
+ </dd>
8089
+ </dl>
8090
+
8091
+
7591
8092
  </dd>
7592
8093
  </dl>
7593
8094
  </details>