@51eat/sdk 0.0.19 → 0.0.21

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 (281) hide show
  1. package/README.md +15 -18
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +6 -0
  4. package/dist/cjs/Client.js +20 -10
  5. package/dist/cjs/api/resources/business/client/Client.d.ts +6 -0
  6. package/dist/cjs/api/resources/business/client/Client.js +14 -4
  7. package/dist/cjs/api/resources/business/resources/gallery/client/Client.d.ts +86 -0
  8. package/dist/cjs/api/resources/business/resources/gallery/client/Client.js +364 -0
  9. package/dist/cjs/api/resources/business/resources/gallery/client/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/business/resources/gallery/client/index.js +17 -0
  11. package/dist/cjs/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.d.ts +10 -0
  12. package/dist/cjs/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.js +3 -0
  13. package/dist/cjs/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.d.ts +21 -0
  14. package/dist/cjs/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.js +3 -0
  15. package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.ts +11 -0
  16. package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.js +3 -0
  17. package/dist/cjs/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.d.ts +11 -0
  18. package/dist/cjs/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.js +3 -0
  19. package/dist/cjs/api/resources/business/resources/gallery/client/requests/index.d.ts +4 -0
  20. package/dist/cjs/api/resources/business/resources/gallery/client/requests/index.js +2 -0
  21. package/dist/cjs/api/resources/business/resources/gallery/exports.d.ts +2 -0
  22. package/dist/cjs/api/resources/business/resources/gallery/exports.js +21 -0
  23. package/dist/cjs/api/resources/business/resources/gallery/index.d.ts +2 -0
  24. package/dist/cjs/api/resources/business/resources/gallery/index.js +18 -0
  25. package/dist/cjs/api/resources/business/resources/gallery/types/DeleteGalleryResponse.d.ts +9 -0
  26. package/dist/cjs/api/resources/business/resources/gallery/types/DeleteGalleryResponse.js +10 -0
  27. package/dist/cjs/api/resources/business/resources/gallery/types/ListGalleryResponse.d.ts +4 -0
  28. package/dist/cjs/api/resources/business/resources/gallery/types/ListGalleryResponse.js +3 -0
  29. package/dist/cjs/api/resources/business/resources/gallery/types/ReorderGalleryResponse.d.ts +9 -0
  30. package/dist/cjs/api/resources/business/resources/gallery/types/ReorderGalleryResponse.js +10 -0
  31. package/dist/cjs/api/resources/business/resources/gallery/types/UpdateGalleryResponse.d.ts +4 -0
  32. package/dist/cjs/api/resources/business/resources/gallery/types/UpdateGalleryResponse.js +3 -0
  33. package/dist/cjs/api/resources/business/resources/gallery/types/UploadGalleryResponse.d.ts +4 -0
  34. package/dist/cjs/api/resources/business/resources/gallery/types/UploadGalleryResponse.js +3 -0
  35. package/dist/cjs/api/resources/business/resources/gallery/types/index.d.ts +5 -0
  36. package/dist/cjs/api/resources/business/resources/gallery/types/index.js +21 -0
  37. package/dist/cjs/api/resources/business/resources/index.d.ts +4 -0
  38. package/dist/cjs/api/resources/business/resources/index.js +5 -1
  39. package/dist/cjs/api/resources/business/resources/messaging/client/Client.d.ts +15 -0
  40. package/dist/cjs/api/resources/business/resources/messaging/client/Client.js +21 -0
  41. package/dist/cjs/api/resources/business/resources/messaging/client/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/business/resources/messaging/client/index.js +2 -0
  43. package/dist/cjs/api/resources/business/resources/messaging/exports.d.ts +3 -0
  44. package/dist/cjs/api/resources/business/resources/messaging/exports.js +22 -0
  45. package/dist/cjs/api/resources/business/resources/messaging/index.d.ts +2 -0
  46. package/dist/cjs/api/resources/business/resources/messaging/index.js +18 -0
  47. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.d.ts +45 -0
  48. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.js +182 -0
  49. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/index.js +17 -0
  51. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.d.ts +10 -0
  52. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.js +3 -0
  53. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +10 -0
  54. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.js +3 -0
  55. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/index.d.ts +2 -0
  56. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/index.js +2 -0
  57. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/exports.d.ts +2 -0
  58. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/exports.js +21 -0
  59. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/index.js +18 -0
  61. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.d.ts +4 -0
  62. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.js +3 -0
  63. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.d.ts +4 -0
  64. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.js +3 -0
  65. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/index.d.ts +2 -0
  66. package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/index.js +18 -0
  67. package/dist/cjs/api/resources/business/resources/messaging/resources/index.d.ts +6 -0
  68. package/dist/cjs/api/resources/business/resources/messaging/resources/index.js +45 -0
  69. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.d.ts +81 -0
  70. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.js +312 -0
  71. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/index.d.ts +1 -0
  72. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/index.js +17 -0
  73. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +14 -0
  74. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.js +3 -0
  75. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.d.ts +10 -0
  76. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.js +3 -0
  77. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.d.ts +22 -0
  78. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.js +12 -0
  79. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.d.ts +10 -0
  80. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.js +3 -0
  81. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/index.d.ts +4 -0
  82. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/index.js +5 -0
  83. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/exports.d.ts +2 -0
  84. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/exports.js +21 -0
  85. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/index.d.ts +2 -0
  86. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/index.js +18 -0
  87. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.d.ts +4 -0
  88. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.js +3 -0
  89. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.d.ts +4 -0
  90. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.js +3 -0
  91. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/index.d.ts +2 -0
  92. package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/index.js +18 -0
  93. package/dist/cjs/api/resources/businessMessaging/client/Client.d.ts +32 -0
  94. package/dist/cjs/api/resources/businessMessaging/client/Client.js +118 -0
  95. package/dist/cjs/api/resources/businessMessaging/client/index.d.ts +1 -0
  96. package/dist/cjs/api/resources/businessMessaging/client/index.js +17 -0
  97. package/dist/cjs/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.d.ts +13 -0
  98. package/dist/cjs/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.js +3 -0
  99. package/dist/cjs/api/resources/businessMessaging/client/requests/index.d.ts +1 -0
  100. package/dist/cjs/api/resources/businessMessaging/client/requests/index.js +2 -0
  101. package/dist/cjs/api/resources/businessMessaging/exports.d.ts +2 -0
  102. package/dist/cjs/api/resources/businessMessaging/exports.js +21 -0
  103. package/dist/cjs/api/resources/businessMessaging/index.d.ts +1 -0
  104. package/dist/cjs/api/resources/businessMessaging/index.js +17 -0
  105. package/dist/cjs/api/resources/businessPushNotifications/client/Client.d.ts +47 -0
  106. package/dist/cjs/api/resources/businessPushNotifications/client/Client.js +182 -0
  107. package/dist/cjs/api/resources/businessPushNotifications/client/index.d.ts +1 -0
  108. package/dist/cjs/api/resources/businessPushNotifications/client/index.js +17 -0
  109. package/dist/cjs/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.d.ts +9 -0
  110. package/dist/cjs/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.js +3 -0
  111. package/dist/cjs/api/resources/businessPushNotifications/client/requests/index.d.ts +2 -0
  112. package/dist/cjs/api/resources/businessPushNotifications/client/requests/index.js +5 -0
  113. package/dist/cjs/api/resources/businessPushNotifications/exports.d.ts +2 -0
  114. package/dist/cjs/api/resources/businessPushNotifications/exports.js +21 -0
  115. package/dist/cjs/api/resources/businessPushNotifications/index.d.ts +2 -0
  116. package/dist/cjs/api/resources/businessPushNotifications/index.js +18 -0
  117. package/dist/cjs/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.d.ts +7 -0
  118. package/dist/cjs/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.js +3 -0
  119. package/dist/cjs/api/resources/businessPushNotifications/types/index.d.ts +1 -0
  120. package/dist/cjs/api/resources/businessPushNotifications/types/index.js +17 -0
  121. package/dist/cjs/api/resources/customer/resources/pushNotifications/client/Client.d.ts +2 -2
  122. package/dist/cjs/api/resources/customer/resources/pushNotifications/client/Client.js +1 -1
  123. package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.d.ts +19 -0
  124. package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.js +11 -0
  125. package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/index.d.ts +1 -1
  126. package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/index.js +3 -3
  127. package/dist/cjs/api/resources/index.d.ts +5 -0
  128. package/dist/cjs/api/resources/index.js +6 -1
  129. package/dist/cjs/api/types/BusinessConversation.d.ts +20 -0
  130. package/dist/cjs/api/types/BusinessConversation.js +3 -0
  131. package/dist/cjs/api/types/BusinessMessage.d.ts +20 -0
  132. package/dist/cjs/api/types/BusinessMessage.js +3 -0
  133. package/dist/cjs/api/types/BusinessPhoto.d.ts +9 -0
  134. package/dist/cjs/api/types/BusinessPhoto.js +3 -0
  135. package/dist/cjs/api/types/index.d.ts +3 -0
  136. package/dist/cjs/api/types/index.js +3 -0
  137. package/dist/cjs/version.d.ts +1 -1
  138. package/dist/cjs/version.js +1 -1
  139. package/dist/esm/BaseClient.mjs +2 -2
  140. package/dist/esm/Client.d.mts +6 -0
  141. package/dist/esm/Client.mjs +10 -0
  142. package/dist/esm/api/resources/business/client/Client.d.mts +6 -0
  143. package/dist/esm/api/resources/business/client/Client.mjs +10 -0
  144. package/dist/esm/api/resources/business/resources/gallery/client/Client.d.mts +86 -0
  145. package/dist/esm/api/resources/business/resources/gallery/client/Client.mjs +327 -0
  146. package/dist/esm/api/resources/business/resources/gallery/client/index.d.mts +1 -0
  147. package/dist/esm/api/resources/business/resources/gallery/client/index.mjs +1 -0
  148. package/dist/esm/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.d.mts +10 -0
  149. package/dist/esm/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.mjs +2 -0
  150. package/dist/esm/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.d.mts +21 -0
  151. package/dist/esm/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.mjs +2 -0
  152. package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.mts +11 -0
  153. package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.mjs +2 -0
  154. package/dist/esm/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.d.mts +11 -0
  155. package/dist/esm/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.mjs +2 -0
  156. package/dist/esm/api/resources/business/resources/gallery/client/requests/index.d.mts +4 -0
  157. package/dist/esm/api/resources/business/resources/gallery/client/requests/index.mjs +1 -0
  158. package/dist/esm/api/resources/business/resources/gallery/exports.d.mts +2 -0
  159. package/dist/esm/api/resources/business/resources/gallery/exports.mjs +3 -0
  160. package/dist/esm/api/resources/business/resources/gallery/index.d.mts +2 -0
  161. package/dist/esm/api/resources/business/resources/gallery/index.mjs +2 -0
  162. package/dist/esm/api/resources/business/resources/gallery/types/DeleteGalleryResponse.d.mts +9 -0
  163. package/dist/esm/api/resources/business/resources/gallery/types/DeleteGalleryResponse.mjs +7 -0
  164. package/dist/esm/api/resources/business/resources/gallery/types/ListGalleryResponse.d.mts +4 -0
  165. package/dist/esm/api/resources/business/resources/gallery/types/ListGalleryResponse.mjs +2 -0
  166. package/dist/esm/api/resources/business/resources/gallery/types/ReorderGalleryResponse.d.mts +9 -0
  167. package/dist/esm/api/resources/business/resources/gallery/types/ReorderGalleryResponse.mjs +7 -0
  168. package/dist/esm/api/resources/business/resources/gallery/types/UpdateGalleryResponse.d.mts +4 -0
  169. package/dist/esm/api/resources/business/resources/gallery/types/UpdateGalleryResponse.mjs +2 -0
  170. package/dist/esm/api/resources/business/resources/gallery/types/UploadGalleryResponse.d.mts +4 -0
  171. package/dist/esm/api/resources/business/resources/gallery/types/UploadGalleryResponse.mjs +2 -0
  172. package/dist/esm/api/resources/business/resources/gallery/types/index.d.mts +5 -0
  173. package/dist/esm/api/resources/business/resources/gallery/types/index.mjs +5 -0
  174. package/dist/esm/api/resources/business/resources/index.d.mts +4 -0
  175. package/dist/esm/api/resources/business/resources/index.mjs +4 -0
  176. package/dist/esm/api/resources/business/resources/messaging/client/Client.d.mts +15 -0
  177. package/dist/esm/api/resources/business/resources/messaging/client/Client.mjs +17 -0
  178. package/dist/esm/api/resources/business/resources/messaging/client/index.d.mts +1 -0
  179. package/dist/esm/api/resources/business/resources/messaging/client/index.mjs +1 -0
  180. package/dist/esm/api/resources/business/resources/messaging/exports.d.mts +3 -0
  181. package/dist/esm/api/resources/business/resources/messaging/exports.mjs +4 -0
  182. package/dist/esm/api/resources/business/resources/messaging/index.d.mts +2 -0
  183. package/dist/esm/api/resources/business/resources/messaging/index.mjs +2 -0
  184. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.d.mts +45 -0
  185. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.mjs +145 -0
  186. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/index.d.mts +1 -0
  187. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/index.mjs +1 -0
  188. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.d.mts +10 -0
  189. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.mjs +2 -0
  190. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +10 -0
  191. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.mjs +2 -0
  192. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/index.d.mts +2 -0
  193. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/index.mjs +1 -0
  194. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/exports.d.mts +2 -0
  195. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/exports.mjs +3 -0
  196. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/index.d.mts +2 -0
  197. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/index.mjs +2 -0
  198. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.d.mts +4 -0
  199. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.mjs +2 -0
  200. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.d.mts +4 -0
  201. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.mjs +2 -0
  202. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/index.d.mts +2 -0
  203. package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/index.mjs +2 -0
  204. package/dist/esm/api/resources/business/resources/messaging/resources/index.d.mts +6 -0
  205. package/dist/esm/api/resources/business/resources/messaging/resources/index.mjs +6 -0
  206. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.d.mts +81 -0
  207. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.mjs +275 -0
  208. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/index.d.mts +1 -0
  209. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/index.mjs +1 -0
  210. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +14 -0
  211. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.mjs +2 -0
  212. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.d.mts +10 -0
  213. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.mjs +2 -0
  214. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.d.mts +22 -0
  215. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.mjs +9 -0
  216. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.d.mts +10 -0
  217. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.mjs +2 -0
  218. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/index.d.mts +4 -0
  219. package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/index.mjs +1 -0
  220. package/dist/esm/api/resources/business/resources/messaging/resources/messages/exports.d.mts +2 -0
  221. package/dist/esm/api/resources/business/resources/messaging/resources/messages/exports.mjs +3 -0
  222. package/dist/esm/api/resources/business/resources/messaging/resources/messages/index.d.mts +2 -0
  223. package/dist/esm/api/resources/business/resources/messaging/resources/messages/index.mjs +2 -0
  224. package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.d.mts +4 -0
  225. package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.mjs +2 -0
  226. package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.d.mts +4 -0
  227. package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.mjs +2 -0
  228. package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/index.d.mts +2 -0
  229. package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/index.mjs +2 -0
  230. package/dist/esm/api/resources/businessMessaging/client/Client.d.mts +32 -0
  231. package/dist/esm/api/resources/businessMessaging/client/Client.mjs +81 -0
  232. package/dist/esm/api/resources/businessMessaging/client/index.d.mts +1 -0
  233. package/dist/esm/api/resources/businessMessaging/client/index.mjs +1 -0
  234. package/dist/esm/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.d.mts +13 -0
  235. package/dist/esm/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.mjs +2 -0
  236. package/dist/esm/api/resources/businessMessaging/client/requests/index.d.mts +1 -0
  237. package/dist/esm/api/resources/businessMessaging/client/requests/index.mjs +1 -0
  238. package/dist/esm/api/resources/businessMessaging/exports.d.mts +2 -0
  239. package/dist/esm/api/resources/businessMessaging/exports.mjs +3 -0
  240. package/dist/esm/api/resources/businessMessaging/index.d.mts +1 -0
  241. package/dist/esm/api/resources/businessMessaging/index.mjs +1 -0
  242. package/dist/esm/api/resources/businessPushNotifications/client/Client.d.mts +47 -0
  243. package/dist/esm/api/resources/businessPushNotifications/client/Client.mjs +145 -0
  244. package/dist/esm/api/resources/businessPushNotifications/client/index.d.mts +1 -0
  245. package/dist/esm/api/resources/businessPushNotifications/client/index.mjs +1 -0
  246. package/dist/esm/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.d.mts +9 -0
  247. package/dist/esm/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.mjs +2 -0
  248. package/dist/esm/api/resources/businessPushNotifications/client/requests/index.d.mts +2 -0
  249. package/dist/esm/api/resources/businessPushNotifications/client/requests/index.mjs +1 -0
  250. package/dist/esm/api/resources/businessPushNotifications/exports.d.mts +2 -0
  251. package/dist/esm/api/resources/businessPushNotifications/exports.mjs +3 -0
  252. package/dist/esm/api/resources/businessPushNotifications/index.d.mts +2 -0
  253. package/dist/esm/api/resources/businessPushNotifications/index.mjs +2 -0
  254. package/dist/esm/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.d.mts +7 -0
  255. package/dist/esm/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.mjs +2 -0
  256. package/dist/esm/api/resources/businessPushNotifications/types/index.d.mts +1 -0
  257. package/dist/esm/api/resources/businessPushNotifications/types/index.mjs +1 -0
  258. package/dist/esm/api/resources/customer/resources/pushNotifications/client/Client.d.mts +2 -2
  259. package/dist/esm/api/resources/customer/resources/pushNotifications/client/Client.mjs +1 -1
  260. package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.d.mts +19 -0
  261. package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.mjs +8 -0
  262. package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.d.mts +1 -1
  263. package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.mjs +1 -1
  264. package/dist/esm/api/resources/index.d.mts +5 -0
  265. package/dist/esm/api/resources/index.mjs +5 -0
  266. package/dist/esm/api/types/BusinessConversation.d.mts +20 -0
  267. package/dist/esm/api/types/BusinessConversation.mjs +2 -0
  268. package/dist/esm/api/types/BusinessMessage.d.mts +20 -0
  269. package/dist/esm/api/types/BusinessMessage.mjs +2 -0
  270. package/dist/esm/api/types/BusinessPhoto.d.mts +9 -0
  271. package/dist/esm/api/types/BusinessPhoto.mjs +2 -0
  272. package/dist/esm/api/types/index.d.mts +3 -0
  273. package/dist/esm/api/types/index.mjs +3 -0
  274. package/dist/esm/version.d.mts +1 -1
  275. package/dist/esm/version.mjs +1 -1
  276. package/package.json +67 -1
  277. package/reference.md +1116 -271
  278. /package/dist/cjs/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.d.ts +0 -0
  279. /package/dist/cjs/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.js +0 -0
  280. /package/dist/esm/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.d.mts +0 -0
  281. /package/dist/esm/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.mjs +0 -0
package/README.md CHANGED
@@ -45,12 +45,9 @@ Instantiate and use the client with the following:
45
45
  import { FiveOneEatClient } from "@51eat/sdk";
46
46
 
47
47
  const client = new FiveOneEatClient({ token: "YOUR_TOKEN" });
48
- await client.customerEvents.holdTickets({
49
- eventId: "eventId",
50
- tickets: [{
51
- ticket_type_id: "ticket_type_id",
52
- quantity: 1
53
- }]
48
+ await client.businessMessaging.businessChannelAuthAuthenticate({
49
+ channel_name: "channel_name",
50
+ socket_id: "socket_id"
54
51
  });
55
52
  ```
56
53
 
@@ -74,7 +71,7 @@ following namespace:
74
71
  ```typescript
75
72
  import { FiveOneEat } from "@51eat/sdk";
76
73
 
77
- const request: FiveOneEat.StoreTicketHoldRequest = {
74
+ const request: FiveOneEat.BusinessChannelAuthAuthenticateRequest = {
78
75
  ...
79
76
  };
80
77
  ```
@@ -88,7 +85,7 @@ will be thrown.
88
85
  import { FiveOneEatError } from "@51eat/sdk";
89
86
 
90
87
  try {
91
- await client.customerEvents.holdTickets(...);
88
+ await client.businessMessaging.businessChannelAuthAuthenticate(...);
92
89
  } catch (err) {
93
90
  if (err instanceof FiveOneEatError) {
94
91
  console.log(err.statusCode);
@@ -109,8 +106,8 @@ import * as fs from "fs";
109
106
  import { FiveOneEatClient } from "@51eat/sdk";
110
107
 
111
108
  const client = new FiveOneEatClient({ token: "YOUR_TOKEN" });
112
- await client.business.profile.logo.upload({
113
- logo: fs.createReadStream("/path/to/your/file")
109
+ await client.business.gallery.upload({
110
+ photo: fs.createReadStream("/path/to/your/file")
114
111
  });
115
112
  ```
116
113
  The client accepts a variety of types for file upload parameters:
@@ -150,9 +147,9 @@ For example, `fs.ReadStream` has a `path` property which the SDK uses to retriev
150
147
  This SDK supports direct imports of subpackage clients, which allows JavaScript bundlers to tree-shake and include only the imported subpackage code. This results in much smaller bundle sizes.
151
148
 
152
149
  ```typescript
153
- import { CustomerEventsClient } from '@51eat/sdk/customerEvents';
150
+ import { BusinessMessagingClient } from '@51eat/sdk/businessMessaging';
154
151
 
155
- const client = new CustomerEventsClient({...});
152
+ const client = new BusinessMessagingClient({...});
156
153
  ```
157
154
 
158
155
  ### Additional Headers
@@ -169,7 +166,7 @@ const client = new FiveOneEatClient({
169
166
  }
170
167
  });
171
168
 
172
- const response = await client.customerEvents.holdTickets(..., {
169
+ const response = await client.businessMessaging.businessChannelAuthAuthenticate(..., {
173
170
  headers: {
174
171
  'X-Custom-Header': 'custom value'
175
172
  }
@@ -181,7 +178,7 @@ const response = await client.customerEvents.holdTickets(..., {
181
178
  If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
182
179
 
183
180
  ```typescript
184
- const response = await client.customerEvents.holdTickets(..., {
181
+ const response = await client.businessMessaging.businessChannelAuthAuthenticate(..., {
185
182
  queryParams: {
186
183
  'customQueryParamKey': 'custom query param value'
187
184
  }
@@ -203,7 +200,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
203
200
  Use the `maxRetries` request option to configure this behavior.
204
201
 
205
202
  ```typescript
206
- const response = await client.customerEvents.holdTickets(..., {
203
+ const response = await client.businessMessaging.businessChannelAuthAuthenticate(..., {
207
204
  maxRetries: 0 // override maxRetries at the request level
208
205
  });
209
206
  ```
@@ -213,7 +210,7 @@ const response = await client.customerEvents.holdTickets(..., {
213
210
  The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
214
211
 
215
212
  ```typescript
216
- const response = await client.customerEvents.holdTickets(..., {
213
+ const response = await client.businessMessaging.businessChannelAuthAuthenticate(..., {
217
214
  timeoutInSeconds: 30 // override timeout to 30s
218
215
  });
219
216
  ```
@@ -224,7 +221,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
224
221
 
225
222
  ```typescript
226
223
  const controller = new AbortController();
227
- const response = await client.customerEvents.holdTickets(..., {
224
+ const response = await client.businessMessaging.businessChannelAuthAuthenticate(..., {
228
225
  abortSignal: controller.signal
229
226
  });
230
227
  controller.abort(); // aborts the request
@@ -236,7 +233,7 @@ The SDK provides access to raw response data, including headers, through the `.w
236
233
  The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
237
234
 
238
235
  ```typescript
239
- const { data, rawResponse } = await client.customerEvents.holdTickets(...).withRawResponse();
236
+ const { data, rawResponse } = await client.businessMessaging.businessChannelAuthAuthenticate(...).withRawResponse();
240
237
 
241
238
  console.log(data);
242
239
  console.log(rawResponse.headers['X-My-Header']);
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@51eat/sdk",
46
- "X-Fern-SDK-Version": "0.0.19",
47
- "User-Agent": "@51eat/sdk/0.0.19",
46
+ "X-Fern-SDK-Version": "0.0.21",
47
+ "User-Agent": "@51eat/sdk/0.0.21",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,4 +1,6 @@
1
1
  import { BusinessClient } from "./api/resources/business/client/Client.js";
2
+ import { BusinessMessagingClient } from "./api/resources/businessMessaging/client/Client.js";
3
+ import { BusinessPushNotificationsClient } from "./api/resources/businessPushNotifications/client/Client.js";
2
4
  import { CustomerClient } from "./api/resources/customer/client/Client.js";
3
5
  import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.js";
4
6
  import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.js";
@@ -14,6 +16,8 @@ export declare namespace FiveOneEatClient {
14
16
  }
15
17
  export declare class FiveOneEatClient {
16
18
  protected readonly _options: NormalizedClientOptionsWithAuth<FiveOneEatClient.Options>;
19
+ protected _businessMessaging: BusinessMessagingClient | undefined;
20
+ protected _businessPushNotifications: BusinessPushNotificationsClient | undefined;
17
21
  protected _customerEvents: CustomerEventsClient | undefined;
18
22
  protected _customerMyAccount: CustomerMyAccountClient | undefined;
19
23
  protected _customer: CustomerClient | undefined;
@@ -21,6 +25,8 @@ export declare class FiveOneEatClient {
21
25
  protected _serveAd: ServeAdClient | undefined;
22
26
  protected _business: BusinessClient | undefined;
23
27
  constructor(options?: FiveOneEatClient.Options);
28
+ get businessMessaging(): BusinessMessagingClient;
29
+ get businessPushNotifications(): BusinessPushNotificationsClient;
24
30
  get customerEvents(): CustomerEventsClient;
25
31
  get customerMyAccount(): CustomerMyAccountClient;
26
32
  get customer(): CustomerClient;
@@ -45,36 +45,46 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  exports.FiveOneEatClient = void 0;
47
47
  const Client_js_1 = require("./api/resources/business/client/Client.js");
48
- const Client_js_2 = require("./api/resources/customer/client/Client.js");
49
- const Client_js_3 = require("./api/resources/customerEvents/client/Client.js");
50
- const Client_js_4 = require("./api/resources/customerMyAccount/client/Client.js");
51
- const Client_js_5 = require("./api/resources/recordClick/client/Client.js");
52
- const Client_js_6 = require("./api/resources/serveAd/client/Client.js");
48
+ const Client_js_2 = require("./api/resources/businessMessaging/client/Client.js");
49
+ const Client_js_3 = require("./api/resources/businessPushNotifications/client/Client.js");
50
+ const Client_js_4 = require("./api/resources/customer/client/Client.js");
51
+ const Client_js_5 = require("./api/resources/customerEvents/client/Client.js");
52
+ const Client_js_6 = require("./api/resources/customerMyAccount/client/Client.js");
53
+ const Client_js_7 = require("./api/resources/recordClick/client/Client.js");
54
+ const Client_js_8 = require("./api/resources/serveAd/client/Client.js");
53
55
  const BaseClient_js_1 = require("./BaseClient.js");
54
56
  const core = __importStar(require("./core/index.js"));
55
57
  class FiveOneEatClient {
56
58
  constructor(options = {}) {
57
59
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
58
60
  }
61
+ get businessMessaging() {
62
+ var _a;
63
+ return ((_a = this._businessMessaging) !== null && _a !== void 0 ? _a : (this._businessMessaging = new Client_js_2.BusinessMessagingClient(this._options)));
64
+ }
65
+ get businessPushNotifications() {
66
+ var _a;
67
+ return ((_a = this._businessPushNotifications) !== null && _a !== void 0 ? _a : (this._businessPushNotifications = new Client_js_3.BusinessPushNotificationsClient(this._options)));
68
+ }
59
69
  get customerEvents() {
60
70
  var _a;
61
- return ((_a = this._customerEvents) !== null && _a !== void 0 ? _a : (this._customerEvents = new Client_js_3.CustomerEventsClient(this._options)));
71
+ return ((_a = this._customerEvents) !== null && _a !== void 0 ? _a : (this._customerEvents = new Client_js_5.CustomerEventsClient(this._options)));
62
72
  }
63
73
  get customerMyAccount() {
64
74
  var _a;
65
- return ((_a = this._customerMyAccount) !== null && _a !== void 0 ? _a : (this._customerMyAccount = new Client_js_4.CustomerMyAccountClient(this._options)));
75
+ return ((_a = this._customerMyAccount) !== null && _a !== void 0 ? _a : (this._customerMyAccount = new Client_js_6.CustomerMyAccountClient(this._options)));
66
76
  }
67
77
  get customer() {
68
78
  var _a;
69
- return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new Client_js_2.CustomerClient(this._options)));
79
+ return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new Client_js_4.CustomerClient(this._options)));
70
80
  }
71
81
  get recordClick() {
72
82
  var _a;
73
- return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new Client_js_5.RecordClickClient(this._options)));
83
+ return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new Client_js_7.RecordClickClient(this._options)));
74
84
  }
75
85
  get serveAd() {
76
86
  var _a;
77
- return ((_a = this._serveAd) !== null && _a !== void 0 ? _a : (this._serveAd = new Client_js_6.ServeAdClient(this._options)));
87
+ return ((_a = this._serveAd) !== null && _a !== void 0 ? _a : (this._serveAd = new Client_js_8.ServeAdClient(this._options)));
78
88
  }
79
89
  get business() {
80
90
  var _a;
@@ -2,7 +2,9 @@ import type { BaseClientOptions } from "../../../../BaseClient.js";
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
3
  import { AuthClient } from "../resources/auth/client/Client.js";
4
4
  import { BulletinsClient } from "../resources/bulletins/client/Client.js";
5
+ import { GalleryClient } from "../resources/gallery/client/Client.js";
5
6
  import { MenusClient } from "../resources/menus/client/Client.js";
7
+ import { MessagingClient } from "../resources/messaging/client/Client.js";
6
8
  import { ProfileClient } from "../resources/profile/client/Client.js";
7
9
  export declare namespace BusinessClient {
8
10
  type Options = BaseClientOptions;
@@ -11,11 +13,15 @@ export declare class BusinessClient {
11
13
  protected readonly _options: NormalizedClientOptionsWithAuth<BusinessClient.Options>;
12
14
  protected _auth: AuthClient | undefined;
13
15
  protected _bulletins: BulletinsClient | undefined;
16
+ protected _gallery: GalleryClient | undefined;
14
17
  protected _menus: MenusClient | undefined;
15
18
  protected _profile: ProfileClient | undefined;
19
+ protected _messaging: MessagingClient | undefined;
16
20
  constructor(options?: BusinessClient.Options);
17
21
  get auth(): AuthClient;
18
22
  get bulletins(): BulletinsClient;
23
+ get gallery(): GalleryClient;
19
24
  get menus(): MenusClient;
20
25
  get profile(): ProfileClient;
26
+ get messaging(): MessagingClient;
21
27
  }
@@ -5,8 +5,10 @@ exports.BusinessClient = void 0;
5
5
  const BaseClient_js_1 = require("../../../../BaseClient.js");
6
6
  const Client_js_1 = require("../resources/auth/client/Client.js");
7
7
  const Client_js_2 = require("../resources/bulletins/client/Client.js");
8
- const Client_js_3 = require("../resources/menus/client/Client.js");
9
- const Client_js_4 = require("../resources/profile/client/Client.js");
8
+ const Client_js_3 = require("../resources/gallery/client/Client.js");
9
+ const Client_js_4 = require("../resources/menus/client/Client.js");
10
+ const Client_js_5 = require("../resources/messaging/client/Client.js");
11
+ const Client_js_6 = require("../resources/profile/client/Client.js");
10
12
  class BusinessClient {
11
13
  constructor(options = {}) {
12
14
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
@@ -19,13 +21,21 @@ class BusinessClient {
19
21
  var _a;
20
22
  return ((_a = this._bulletins) !== null && _a !== void 0 ? _a : (this._bulletins = new Client_js_2.BulletinsClient(this._options)));
21
23
  }
24
+ get gallery() {
25
+ var _a;
26
+ return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new Client_js_3.GalleryClient(this._options)));
27
+ }
22
28
  get menus() {
23
29
  var _a;
24
- return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new Client_js_3.MenusClient(this._options)));
30
+ return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new Client_js_4.MenusClient(this._options)));
25
31
  }
26
32
  get profile() {
27
33
  var _a;
28
- return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_js_4.ProfileClient(this._options)));
34
+ return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_js_6.ProfileClient(this._options)));
35
+ }
36
+ get messaging() {
37
+ var _a;
38
+ return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new Client_js_5.MessagingClient(this._options)));
29
39
  }
30
40
  }
31
41
  exports.BusinessClient = BusinessClient;
@@ -0,0 +1,86 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ import * as FiveOneEat from "../../../../../index.js";
5
+ export declare namespace GalleryClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class GalleryClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<GalleryClient.Options>;
12
+ constructor(options?: GalleryClient.Options);
13
+ /**
14
+ * @param {GalleryClient.RequestOptions} requestOptions - Request-specific configuration.
15
+ *
16
+ * @throws {@link FiveOneEat.UnauthorizedError}
17
+ *
18
+ * @example
19
+ * await client.business.gallery.list()
20
+ */
21
+ list(requestOptions?: GalleryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.ListGalleryResponse>;
22
+ private __list;
23
+ /**
24
+ * @param {FiveOneEat.business.StoreGalleryPhotoRequest} request
25
+ * @param {GalleryClient.RequestOptions} requestOptions - Request-specific configuration.
26
+ *
27
+ * @throws {@link FiveOneEat.UnauthorizedError}
28
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
29
+ *
30
+ * @example
31
+ * import { createReadStream } from "fs";
32
+ * await client.business.gallery.upload({
33
+ * photo: fs.createReadStream("/path/to/your/file")
34
+ * })
35
+ */
36
+ upload(request: FiveOneEat.business.StoreGalleryPhotoRequest, requestOptions?: GalleryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UploadGalleryResponse>;
37
+ private __upload;
38
+ /**
39
+ * @param {FiveOneEat.business.ReorderGalleryRequest} request
40
+ * @param {GalleryClient.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link FiveOneEat.UnauthorizedError}
43
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
44
+ *
45
+ * @example
46
+ * await client.business.gallery.reorder({
47
+ * photos: [{
48
+ * id: "id",
49
+ * sort_order: 1
50
+ * }]
51
+ * })
52
+ */
53
+ reorder(request: FiveOneEat.business.ReorderGalleryRequest, requestOptions?: GalleryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.ReorderGalleryResponse>;
54
+ private __reorder;
55
+ /**
56
+ * @param {FiveOneEat.business.UpdateGalleryPhotoRequest} request
57
+ * @param {GalleryClient.RequestOptions} requestOptions - Request-specific configuration.
58
+ *
59
+ * @throws {@link FiveOneEat.UnauthorizedError}
60
+ * @throws {@link FiveOneEat.ForbiddenError}
61
+ * @throws {@link FiveOneEat.NotFoundError}
62
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
63
+ *
64
+ * @example
65
+ * await client.business.gallery.update({
66
+ * photo: "photo"
67
+ * })
68
+ */
69
+ update(request: FiveOneEat.business.UpdateGalleryPhotoRequest, requestOptions?: GalleryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UpdateGalleryResponse>;
70
+ private __update;
71
+ /**
72
+ * @param {FiveOneEat.business.DeleteGalleryRequest} request
73
+ * @param {GalleryClient.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link FiveOneEat.UnauthorizedError}
76
+ * @throws {@link FiveOneEat.ForbiddenError}
77
+ * @throws {@link FiveOneEat.NotFoundError}
78
+ *
79
+ * @example
80
+ * await client.business.gallery.delete({
81
+ * photo: "photo"
82
+ * })
83
+ */
84
+ delete(request: FiveOneEat.business.DeleteGalleryRequest, requestOptions?: GalleryClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.DeleteGalleryResponse>;
85
+ private __delete;
86
+ }