@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
@@ -59,7 +59,7 @@ class PushNotificationsClient {
59
59
  * Register (or update) the authenticated user's Expo push token for a device. If
60
60
  * a `device_id` is provided, an existing registration for that device is updated.
61
61
  *
62
- * @param {FiveOneEat.customer.StorePushTokenRequest} request
62
+ * @param {FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest} request
63
63
  * @param {PushNotificationsClient.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link FiveOneEat.UnauthorizedError}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * token: "token"
5
+ * }
6
+ */
7
+ export interface AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest {
8
+ token: string;
9
+ device_id?: string | null;
10
+ device_name?: string | null;
11
+ platform?: AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.Platform | null;
12
+ }
13
+ export declare namespace AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest {
14
+ const Platform: {
15
+ readonly Ios: "ios";
16
+ readonly Android: "android";
17
+ };
18
+ type Platform = (typeof Platform)[keyof typeof Platform];
19
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest = void 0;
5
+ var AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest;
6
+ (function (AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest) {
7
+ AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.Platform = {
8
+ Ios: "ios",
9
+ Android: "android",
10
+ };
11
+ })(AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest || (exports.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest = AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest = {}));
@@ -1,2 +1,2 @@
1
- export { StorePushTokenRequest } from "./StorePushTokenRequest.js";
1
+ export { AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest } from "./AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.js";
2
2
  export type { UnregisterPushNotificationsRequest } from "./UnregisterPushNotificationsRequest.js";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StorePushTokenRequest = void 0;
4
- var StorePushTokenRequest_js_1 = require("./StorePushTokenRequest.js");
5
- Object.defineProperty(exports, "StorePushTokenRequest", { enumerable: true, get: function () { return StorePushTokenRequest_js_1.StorePushTokenRequest; } });
3
+ exports.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest = void 0;
4
+ var AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest_js_1 = require("./AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.js");
5
+ Object.defineProperty(exports, "AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest", { enumerable: true, get: function () { return AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest_js_1.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest; } });
@@ -1,4 +1,9 @@
1
1
  export * as business from "./business/index.js";
2
+ export * from "./businessMessaging/client/requests/index.js";
3
+ export * as businessMessaging from "./businessMessaging/index.js";
4
+ export * from "./businessPushNotifications/client/requests/index.js";
5
+ export * as businessPushNotifications from "./businessPushNotifications/index.js";
6
+ export * from "./businessPushNotifications/types/index.js";
2
7
  export * from "./customer/client/requests/index.js";
3
8
  export * as customer from "./customer/index.js";
4
9
  export * from "./customer/types/index.js";
@@ -36,8 +36,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.serveAd = exports.recordClick = exports.customerMyAccount = exports.customerEvents = exports.customer = exports.business = void 0;
39
+ exports.serveAd = exports.recordClick = exports.customerMyAccount = exports.customerEvents = exports.customer = exports.businessPushNotifications = exports.businessMessaging = exports.business = void 0;
40
40
  exports.business = __importStar(require("./business/index.js"));
41
+ __exportStar(require("./businessMessaging/client/requests/index.js"), exports);
42
+ exports.businessMessaging = __importStar(require("./businessMessaging/index.js"));
43
+ __exportStar(require("./businessPushNotifications/client/requests/index.js"), exports);
44
+ exports.businessPushNotifications = __importStar(require("./businessPushNotifications/index.js"));
45
+ __exportStar(require("./businessPushNotifications/types/index.js"), exports);
41
46
  __exportStar(require("./customer/client/requests/index.js"), exports);
42
47
  exports.customer = __importStar(require("./customer/index.js"));
43
48
  __exportStar(require("./customer/types/index.js"), exports);
@@ -0,0 +1,20 @@
1
+ export interface BusinessConversation {
2
+ id: string;
3
+ customer: BusinessConversation.Customer;
4
+ last_message?: (BusinessConversation.LastMessage | null) | undefined;
5
+ last_message_at: string | null;
6
+ created_at: string;
7
+ updated_at: string;
8
+ }
9
+ export declare namespace BusinessConversation {
10
+ interface Customer {
11
+ id: string;
12
+ name: string;
13
+ email: string;
14
+ }
15
+ interface LastMessage {
16
+ id: string;
17
+ content: string;
18
+ created_at: string;
19
+ }
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ export interface BusinessMessage {
2
+ id: string;
3
+ conversation_id: string;
4
+ sender_id: string;
5
+ sender?: BusinessMessage.Sender | undefined;
6
+ content: string;
7
+ message_type: string;
8
+ metadata: Record<string, unknown> | null;
9
+ is_read: boolean;
10
+ is_edited: boolean;
11
+ edited_at: string | null;
12
+ created_at: string;
13
+ updated_at: string;
14
+ }
15
+ export declare namespace BusinessMessage {
16
+ interface Sender {
17
+ id: string;
18
+ name: string;
19
+ }
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export interface BusinessPhoto {
2
+ id: string;
3
+ url: string;
4
+ original_filename: string;
5
+ alt_text: string | null;
6
+ sort_order: number;
7
+ size: number | null;
8
+ created_at: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -21,6 +21,7 @@ export * from "./BardSetNode.js";
21
21
  export * from "./BardSetValues.js";
22
22
  export * from "./BardTextNode.js";
23
23
  export * from "./BusinessBulletin.js";
24
+ export * from "./BusinessConversation.js";
24
25
  export * from "./BusinessLoginResponse.js";
25
26
  export * from "./BusinessMe.js";
26
27
  export * from "./BusinessMenu.js";
@@ -28,6 +29,8 @@ export * from "./BusinessMenuGroup.js";
28
29
  export * from "./BusinessMenuItem.js";
29
30
  export * from "./BusinessMenuItemModifier.js";
30
31
  export * from "./BusinessMenuItemVariation.js";
32
+ export * from "./BusinessMessage.js";
33
+ export * from "./BusinessPhoto.js";
31
34
  export * from "./BusinessProfile.js";
32
35
  export * from "./BusinessSearchResult.js";
33
36
  export * from "./BusinessSummary.js";
@@ -37,6 +37,7 @@ __exportStar(require("./BardSetNode.js"), exports);
37
37
  __exportStar(require("./BardSetValues.js"), exports);
38
38
  __exportStar(require("./BardTextNode.js"), exports);
39
39
  __exportStar(require("./BusinessBulletin.js"), exports);
40
+ __exportStar(require("./BusinessConversation.js"), exports);
40
41
  __exportStar(require("./BusinessLoginResponse.js"), exports);
41
42
  __exportStar(require("./BusinessMe.js"), exports);
42
43
  __exportStar(require("./BusinessMenu.js"), exports);
@@ -44,6 +45,8 @@ __exportStar(require("./BusinessMenuGroup.js"), exports);
44
45
  __exportStar(require("./BusinessMenuItem.js"), exports);
45
46
  __exportStar(require("./BusinessMenuItemModifier.js"), exports);
46
47
  __exportStar(require("./BusinessMenuItemVariation.js"), exports);
48
+ __exportStar(require("./BusinessMessage.js"), exports);
49
+ __exportStar(require("./BusinessPhoto.js"), exports);
47
50
  __exportStar(require("./BusinessProfile.js"), exports);
48
51
  __exportStar(require("./BusinessSearchResult.js"), exports);
49
52
  __exportStar(require("./BusinessSummary.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.19";
1
+ export declare const SDK_VERSION = "0.0.21";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.19";
4
+ exports.SDK_VERSION = "0.0.21";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@51eat/sdk",
9
- "X-Fern-SDK-Version": "0.0.19",
10
- "User-Agent": "@51eat/sdk/0.0.19",
9
+ "X-Fern-SDK-Version": "0.0.21",
10
+ "User-Agent": "@51eat/sdk/0.0.21",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,4 +1,6 @@
1
1
  import { BusinessClient } from "./api/resources/business/client/Client.mjs";
2
+ import { BusinessMessagingClient } from "./api/resources/businessMessaging/client/Client.mjs";
3
+ import { BusinessPushNotificationsClient } from "./api/resources/businessPushNotifications/client/Client.mjs";
2
4
  import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
3
5
  import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.mjs";
4
6
  import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.mjs";
@@ -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;
@@ -9,6 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  import { BusinessClient } from "./api/resources/business/client/Client.mjs";
12
+ import { BusinessMessagingClient } from "./api/resources/businessMessaging/client/Client.mjs";
13
+ import { BusinessPushNotificationsClient } from "./api/resources/businessPushNotifications/client/Client.mjs";
12
14
  import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
13
15
  import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.mjs";
14
16
  import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.mjs";
@@ -20,6 +22,14 @@ export class FiveOneEatClient {
20
22
  constructor(options = {}) {
21
23
  this._options = normalizeClientOptionsWithAuth(options);
22
24
  }
25
+ get businessMessaging() {
26
+ var _a;
27
+ return ((_a = this._businessMessaging) !== null && _a !== void 0 ? _a : (this._businessMessaging = new BusinessMessagingClient(this._options)));
28
+ }
29
+ get businessPushNotifications() {
30
+ var _a;
31
+ return ((_a = this._businessPushNotifications) !== null && _a !== void 0 ? _a : (this._businessPushNotifications = new BusinessPushNotificationsClient(this._options)));
32
+ }
23
33
  get customerEvents() {
24
34
  var _a;
25
35
  return ((_a = this._customerEvents) !== null && _a !== void 0 ? _a : (this._customerEvents = new CustomerEventsClient(this._options)));
@@ -2,7 +2,9 @@ import type { BaseClientOptions } from "../../../../BaseClient.mjs";
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
3
  import { AuthClient } from "../resources/auth/client/Client.mjs";
4
4
  import { BulletinsClient } from "../resources/bulletins/client/Client.mjs";
5
+ import { GalleryClient } from "../resources/gallery/client/Client.mjs";
5
6
  import { MenusClient } from "../resources/menus/client/Client.mjs";
7
+ import { MessagingClient } from "../resources/messaging/client/Client.mjs";
6
8
  import { ProfileClient } from "../resources/profile/client/Client.mjs";
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
  }
@@ -2,7 +2,9 @@
2
2
  import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
3
  import { AuthClient } from "../resources/auth/client/Client.mjs";
4
4
  import { BulletinsClient } from "../resources/bulletins/client/Client.mjs";
5
+ import { GalleryClient } from "../resources/gallery/client/Client.mjs";
5
6
  import { MenusClient } from "../resources/menus/client/Client.mjs";
7
+ import { MessagingClient } from "../resources/messaging/client/Client.mjs";
6
8
  import { ProfileClient } from "../resources/profile/client/Client.mjs";
7
9
  export class BusinessClient {
8
10
  constructor(options = {}) {
@@ -16,6 +18,10 @@ export class BusinessClient {
16
18
  var _a;
17
19
  return ((_a = this._bulletins) !== null && _a !== void 0 ? _a : (this._bulletins = new BulletinsClient(this._options)));
18
20
  }
21
+ get gallery() {
22
+ var _a;
23
+ return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new GalleryClient(this._options)));
24
+ }
19
25
  get menus() {
20
26
  var _a;
21
27
  return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new MenusClient(this._options)));
@@ -24,4 +30,8 @@ export class BusinessClient {
24
30
  var _a;
25
31
  return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new ProfileClient(this._options)));
26
32
  }
33
+ get messaging() {
34
+ var _a;
35
+ return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new MessagingClient(this._options)));
36
+ }
27
37
  }
@@ -0,0 +1,86 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
3
+ import * as core from "../../../../../../core/index.mjs";
4
+ import * as FiveOneEat from "../../../../../index.mjs";
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
+ }