@51eat/sdk 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -11
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +0 -6
- package/dist/cjs/Client.js +8 -18
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +1 -0
- package/dist/cjs/api/resources/customer/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/client/Client.js +4 -4
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +41 -13
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +146 -46
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/FavoriteBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ProfileBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/UnfavoriteBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/Client.d.ts +8 -3
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/Client.js +34 -9
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.ts +43 -17
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.js +152 -42
- package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +8 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +10 -3
- package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListRepliesCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/{customerShop → customer/resources/businesses/resources/bulletins/resources/comments/types}/index.js +4 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/{customerBusinesses/client → customer/resources/businesses/resources/bulletins/types}/index.js +1 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts +33 -12
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js +116 -34
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/CancelRsvpEventsRequest.d.ts +4 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/GetEventsRequest.d.ts +3 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.ts +6 -1
- package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/GetEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/ListEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/RsvpEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/{customerShop/client → customer/resources/businesses/resources/events/types}/index.js +3 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/FavoriteBusinessesResponse.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/MenusBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/PhotosBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ProfileBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/{customerShop/exports.js → customer/resources/businesses/types/index.js} +5 -5
- package/dist/cjs/api/resources/customer/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +13 -7
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +63 -23
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +3 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/shop/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/shop/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/{customerShop → customer/resources/shop}/types/index.js +3 -3
- package/dist/cjs/api/resources/index.d.ts +0 -6
- package/dist/cjs/api/resources/index.js +1 -7
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +0 -6
- package/dist/esm/Client.mjs +0 -10
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +1 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/client/Client.mjs +4 -4
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +41 -13
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +146 -46
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/FavoriteBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ProfileBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/UnfavoriteBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/Client.d.mts +8 -3
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/Client.mjs +34 -9
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.mts +43 -17
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.mjs +152 -42
- package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +8 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +10 -3
- package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListRepliesCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.mjs +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.d.mts +33 -12
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.mjs +116 -34
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/CancelRsvpEventsRequest.d.mts +4 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/GetEventsRequest.d.mts +3 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.mts +6 -1
- package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/GetEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/ListEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/RsvpEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/FavoriteBusinessesResponse.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/MenusBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/PhotosBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ProfileBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +13 -7
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +63 -23
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +3 -1
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/shop/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/shop/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +3 -0
- package/dist/esm/api/resources/index.d.mts +0 -6
- package/dist/esm/api/resources/index.mjs +0 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -34
- package/reference.md +693 -1623
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/CreateCommentsRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ReplyCommentsRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/RsvpEventsRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customerBusinesses/client/Client.d.ts +0 -267
- package/dist/cjs/api/resources/customerBusinesses/client/Client.js +0 -982
- package/dist/cjs/api/resources/customerBusinesses/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customerBusinesses/client/requests/BusinessesEventShowRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customerBusinesses/client/requests/DestroyEventRsvpRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customerBusinesses/client/requests/FavoritesBusinessRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.d.ts +0 -20
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBulletinCommentsRequest.d.ts +0 -17
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessBulletinsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessEventsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessMenusRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessPhotosRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/ProfileShowRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/UnfavoritesBusinessRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/index.d.ts +0 -15
- package/dist/cjs/api/resources/customerBusinesses/client/requests/index.js +0 -5
- package/dist/cjs/api/resources/customerBusinesses/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customerBusinesses/exports.js +0 -21
- package/dist/cjs/api/resources/customerBusinesses/index.d.ts +0 -2
- package/dist/cjs/api/resources/customerBusinesses/index.js +0 -18
- package/dist/cjs/api/resources/customerBusinesses/types/BusinessesEventShowResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/FavoritesBusinessResponse.d.ts +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/FavoritesBusinessResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessEventsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessEventsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessMenusResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessMenusResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/ProfileShowResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/ProfileShowResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/StoreEventRsvpResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/StoreEventRsvpResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/index.d.ts +0 -13
- package/dist/cjs/api/resources/customerBusinesses/types/index.js +0 -29
- package/dist/cjs/api/resources/customerShop/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/customerShop/client/Client.js +0 -219
- package/dist/cjs/api/resources/customerShop/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customerShop/client/requests/GetShopProductRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customerShop/client/requests/GetShopProductRequest.js +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopCategoriesRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopCategoriesRequest.js +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopProductsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopProductsRequest.js +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/customerShop/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customerShop/index.d.ts +0 -2
- package/dist/cjs/api/resources/customerShop/types/GetShopProductResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerShop/types/GetShopProductResponse.js +0 -3
- package/dist/cjs/api/resources/customerShop/types/ListShopCategoriesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerShop/types/ListShopCategoriesResponse.js +0 -3
- package/dist/cjs/api/resources/customerShop/types/ListShopProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerShop/types/ListShopProductsResponse.js +0 -3
- package/dist/cjs/api/resources/customerShop/types/index.d.ts +0 -3
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/CreateCommentsRequest.d.mts +0 -11
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ReplyCommentsRequest.d.mts +0 -13
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/RsvpEventsRequest.d.mts +0 -11
- package/dist/esm/api/resources/customerBusinesses/client/Client.d.mts +0 -267
- package/dist/esm/api/resources/customerBusinesses/client/Client.mjs +0 -945
- package/dist/esm/api/resources/customerBusinesses/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customerBusinesses/client/index.mjs +0 -1
- package/dist/esm/api/resources/customerBusinesses/client/requests/BusinessesEventShowRequest.d.mts +0 -13
- package/dist/esm/api/resources/customerBusinesses/client/requests/DestroyEventRsvpRequest.d.mts +0 -13
- package/dist/esm/api/resources/customerBusinesses/client/requests/FavoritesBusinessRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.d.mts +0 -20
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBulletinCommentsRequest.d.mts +0 -17
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessBulletinsRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessEventsRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessMenusRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessPhotosRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/ProfileShowRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/UnfavoritesBusinessRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/index.d.mts +0 -15
- package/dist/esm/api/resources/customerBusinesses/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/customerBusinesses/exports.d.mts +0 -2
- package/dist/esm/api/resources/customerBusinesses/exports.mjs +0 -3
- package/dist/esm/api/resources/customerBusinesses/index.d.mts +0 -2
- package/dist/esm/api/resources/customerBusinesses/index.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/BusinessesEventShowResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/FavoritesBusinessResponse.d.mts +0 -3
- package/dist/esm/api/resources/customerBusinesses/types/FavoritesBusinessResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessEventsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessEventsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessMenusResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessMenusResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/ProfileShowResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/ProfileShowResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/StoreEventRsvpResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/StoreEventRsvpResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/index.d.mts +0 -13
- package/dist/esm/api/resources/customerBusinesses/types/index.mjs +0 -13
- package/dist/esm/api/resources/customerShop/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/customerShop/client/Client.mjs +0 -182
- package/dist/esm/api/resources/customerShop/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customerShop/client/index.mjs +0 -1
- package/dist/esm/api/resources/customerShop/client/requests/GetShopProductRequest.d.mts +0 -13
- package/dist/esm/api/resources/customerShop/client/requests/GetShopProductRequest.mjs +0 -2
- package/dist/esm/api/resources/customerShop/client/requests/ListShopCategoriesRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerShop/client/requests/ListShopCategoriesRequest.mjs +0 -2
- package/dist/esm/api/resources/customerShop/client/requests/ListShopProductsRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerShop/client/requests/ListShopProductsRequest.mjs +0 -2
- package/dist/esm/api/resources/customerShop/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/customerShop/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/customerShop/exports.d.mts +0 -2
- package/dist/esm/api/resources/customerShop/exports.mjs +0 -3
- package/dist/esm/api/resources/customerShop/index.d.mts +0 -2
- package/dist/esm/api/resources/customerShop/index.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/GetShopProductResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerShop/types/GetShopProductResponse.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/ListShopCategoriesResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerShop/types/ListShopCategoriesResponse.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/ListShopProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerShop/types/ListShopProductsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/index.d.mts +0 -3
- package/dist/esm/api/resources/customerShop/types/index.mjs +0 -3
- /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.js +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/CreateCommentsRequest.js → types/CreateCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/ReplyCommentsRequest.js → types/ListCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/businesses/resources/{events/client/requests/RsvpEventsRequest.js → bulletins/resources/comments/types/ListRepliesCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/BusinessesEventShowRequest.js → customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/DestroyEventRsvpRequest.js → customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.js +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/FavoritesBusinessRequest.js → customer/resources/businesses/resources/events/types/GetEventsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.js → customer/resources/businesses/resources/events/types/ListEventsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBulletinCommentsRequest.js → customer/resources/businesses/resources/events/types/RsvpEventsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessBulletinsRequest.js → customer/resources/businesses/types/FavoriteBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessEventsRequest.js → customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessMenusRequest.js → customer/resources/businesses/types/MenusBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessPhotosRequest.js → customer/resources/businesses/types/PhotosBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.js → customer/resources/businesses/types/ProfileBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/ProfileShowRequest.js → customer/resources/shop/types/GetProductShopResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/UnfavoritesBusinessRequest.js → customer/resources/shop/types/ListCategoriesShopResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/types/BusinessesEventShowResponse.js → customer/resources/shop/types/ListProductsShopResponse.js} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.mjs +0 -0
- /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/CreateCommentsRequest.mjs → types/CreateCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/ReplyCommentsRequest.mjs → types/ListCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/businesses/resources/{events/client/requests/RsvpEventsRequest.mjs → bulletins/resources/comments/types/ListRepliesCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/BusinessesEventShowRequest.mjs → customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/DestroyEventRsvpRequest.mjs → customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.mjs +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/FavoritesBusinessRequest.mjs → customer/resources/businesses/resources/events/types/GetEventsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.mjs → customer/resources/businesses/resources/events/types/ListEventsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBulletinCommentsRequest.mjs → customer/resources/businesses/resources/events/types/RsvpEventsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessBulletinsRequest.mjs → customer/resources/businesses/types/FavoriteBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessEventsRequest.mjs → customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessMenusRequest.mjs → customer/resources/businesses/types/MenusBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessPhotosRequest.mjs → customer/resources/businesses/types/PhotosBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.mjs → customer/resources/businesses/types/ProfileBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/ProfileShowRequest.mjs → customer/resources/shop/types/GetProductShopResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/UnfavoritesBusinessRequest.mjs → customer/resources/shop/types/ListCategoriesShopResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/types/BusinessesEventShowResponse.mjs → customer/resources/shop/types/ListProductsShopResponse.mjs} +0 -0
package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.js";
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.js";
|
|
3
3
|
import * as core from "../../../../../../../../core/index.js";
|
|
4
|
-
import
|
|
4
|
+
import * as FiveOneEat from "../../../../../../../index.js";
|
|
5
5
|
export declare namespace EventsClient {
|
|
6
6
|
type Options = BaseClientOptions;
|
|
7
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -11,50 +11,71 @@ export declare class EventsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<EventsClient.Options>;
|
|
12
12
|
constructor(options?: EventsClient.Options);
|
|
13
13
|
/**
|
|
14
|
+
* Retrieve upcoming events for the business with pagination.
|
|
15
|
+
*
|
|
14
16
|
* @param {FiveOneEat.customer.businesses.ListEventsRequest} request
|
|
15
17
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
18
|
*
|
|
19
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
20
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
21
|
+
*
|
|
17
22
|
* @example
|
|
18
23
|
* await client.customer.businesses.events.list({
|
|
19
|
-
* business: "
|
|
24
|
+
* business: "katzs-deli"
|
|
20
25
|
* })
|
|
21
26
|
*/
|
|
22
|
-
list(request: FiveOneEat.customer.businesses.ListEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<
|
|
27
|
+
list(request: FiveOneEat.customer.businesses.ListEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.ListEventsResponse>;
|
|
23
28
|
private __list;
|
|
24
29
|
/**
|
|
30
|
+
* Retrieve full details for a single upcoming event belonging to the business.
|
|
31
|
+
*
|
|
25
32
|
* @param {FiveOneEat.customer.businesses.GetEventsRequest} request
|
|
26
33
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
34
|
*
|
|
35
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
36
|
+
*
|
|
28
37
|
* @example
|
|
29
38
|
* await client.customer.businesses.events.get({
|
|
30
|
-
* business: "
|
|
39
|
+
* business: "katzs-deli",
|
|
31
40
|
* event: "event"
|
|
32
41
|
* })
|
|
33
42
|
*/
|
|
34
|
-
get(request: FiveOneEat.customer.businesses.GetEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<
|
|
43
|
+
get(request: FiveOneEat.customer.businesses.GetEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.GetEventsResponse>;
|
|
35
44
|
private __get;
|
|
36
45
|
/**
|
|
37
|
-
*
|
|
46
|
+
* Create or update the authenticated user's RSVP for a business event.
|
|
47
|
+
*
|
|
48
|
+
* @param {FiveOneEat.customer.businesses.StoreEventRsvpRequest} request
|
|
38
49
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
50
|
*
|
|
51
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
52
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
53
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
54
|
+
*
|
|
40
55
|
* @example
|
|
41
56
|
* await client.customer.businesses.events.rsvp({
|
|
42
|
-
* business: "
|
|
43
|
-
* event: "
|
|
57
|
+
* business: "katzs-deli",
|
|
58
|
+
* event: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
59
|
+
* status: "attending"
|
|
44
60
|
* })
|
|
45
61
|
*/
|
|
46
|
-
rsvp(request: FiveOneEat.customer.businesses.
|
|
62
|
+
rsvp(request: FiveOneEat.customer.businesses.StoreEventRsvpRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.RsvpEventsResponse>;
|
|
47
63
|
private __rsvp;
|
|
48
64
|
/**
|
|
65
|
+
* Cancel the authenticated user's RSVP for a business event.
|
|
66
|
+
*
|
|
49
67
|
* @param {FiveOneEat.customer.businesses.CancelRsvpEventsRequest} request
|
|
50
68
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
69
|
*
|
|
70
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
71
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
72
|
+
*
|
|
52
73
|
* @example
|
|
53
74
|
* await client.customer.businesses.events.cancelRsvp({
|
|
54
|
-
* business: "
|
|
55
|
-
* event: "
|
|
75
|
+
* business: "katzs-deli",
|
|
76
|
+
* event: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
56
77
|
* })
|
|
57
78
|
*/
|
|
58
|
-
cancelRsvp(request: FiveOneEat.customer.businesses.CancelRsvpEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<
|
|
79
|
+
cancelRsvp(request: FiveOneEat.customer.businesses.CancelRsvpEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<number>;
|
|
59
80
|
private __cancelRsvp;
|
|
60
81
|
}
|
package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js
CHANGED
|
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
42
42
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
45
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
57
|
exports.EventsClient = void 0;
|
|
47
58
|
const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
|
|
@@ -50,17 +61,23 @@ const core = __importStar(require("../../../../../../../../core/index.js"));
|
|
|
50
61
|
const environments = __importStar(require("../../../../../../../../environments.js"));
|
|
51
62
|
const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/handleNonStatusCodeError.js");
|
|
52
63
|
const errors = __importStar(require("../../../../../../../../errors/index.js"));
|
|
64
|
+
const FiveOneEat = __importStar(require("../../../../../../../index.js"));
|
|
53
65
|
class EventsClient {
|
|
54
66
|
constructor(options = {}) {
|
|
55
67
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
68
|
}
|
|
57
69
|
/**
|
|
70
|
+
* Retrieve upcoming events for the business with pagination.
|
|
71
|
+
*
|
|
58
72
|
* @param {FiveOneEat.customer.businesses.ListEventsRequest} request
|
|
59
73
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
74
|
*
|
|
75
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
76
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
77
|
+
*
|
|
61
78
|
* @example
|
|
62
79
|
* await client.customer.businesses.events.list({
|
|
63
|
-
* business: "
|
|
80
|
+
* business: "katzs-deli"
|
|
64
81
|
* })
|
|
65
82
|
*/
|
|
66
83
|
list(request, requestOptions) {
|
|
@@ -69,14 +86,23 @@ class EventsClient {
|
|
|
69
86
|
__list(request, requestOptions) {
|
|
70
87
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
88
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
72
|
-
const { business } = request;
|
|
89
|
+
const { business, page, per_page: perPage } = request;
|
|
90
|
+
const _queryParams = {
|
|
91
|
+
page,
|
|
92
|
+
per_page: perPage,
|
|
93
|
+
};
|
|
73
94
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
74
95
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
75
96
|
const _response = yield core.fetcher({
|
|
76
97
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/events`),
|
|
77
98
|
method: "GET",
|
|
78
99
|
headers: _headers,
|
|
79
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
100
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
101
|
+
queryString: core.url
|
|
102
|
+
.queryBuilder()
|
|
103
|
+
.addMany(_queryParams)
|
|
104
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
105
|
+
.build(),
|
|
80
106
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
81
107
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
82
108
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -84,25 +110,39 @@ class EventsClient {
|
|
|
84
110
|
logging: this._options.logging,
|
|
85
111
|
});
|
|
86
112
|
if (_response.ok) {
|
|
87
|
-
return {
|
|
113
|
+
return {
|
|
114
|
+
data: _response.body,
|
|
115
|
+
rawResponse: _response.rawResponse,
|
|
116
|
+
};
|
|
88
117
|
}
|
|
89
118
|
if (_response.error.reason === "status-code") {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
119
|
+
switch (_response.error.statusCode) {
|
|
120
|
+
case 401:
|
|
121
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
122
|
+
case 422:
|
|
123
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
124
|
+
default:
|
|
125
|
+
throw new errors.FiveOneEatError({
|
|
126
|
+
statusCode: _response.error.statusCode,
|
|
127
|
+
body: _response.error.body,
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
129
|
+
});
|
|
130
|
+
}
|
|
95
131
|
}
|
|
96
132
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/events");
|
|
97
133
|
});
|
|
98
134
|
}
|
|
99
135
|
/**
|
|
136
|
+
* Retrieve full details for a single upcoming event belonging to the business.
|
|
137
|
+
*
|
|
100
138
|
* @param {FiveOneEat.customer.businesses.GetEventsRequest} request
|
|
101
139
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
140
|
*
|
|
141
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
142
|
+
*
|
|
103
143
|
* @example
|
|
104
144
|
* await client.customer.businesses.events.get({
|
|
105
|
-
* business: "
|
|
145
|
+
* business: "katzs-deli",
|
|
106
146
|
* event: "event"
|
|
107
147
|
* })
|
|
108
148
|
*/
|
|
@@ -127,26 +167,41 @@ class EventsClient {
|
|
|
127
167
|
logging: this._options.logging,
|
|
128
168
|
});
|
|
129
169
|
if (_response.ok) {
|
|
130
|
-
return {
|
|
170
|
+
return {
|
|
171
|
+
data: _response.body,
|
|
172
|
+
rawResponse: _response.rawResponse,
|
|
173
|
+
};
|
|
131
174
|
}
|
|
132
175
|
if (_response.error.reason === "status-code") {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
176
|
+
switch (_response.error.statusCode) {
|
|
177
|
+
case 401:
|
|
178
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
179
|
+
default:
|
|
180
|
+
throw new errors.FiveOneEatError({
|
|
181
|
+
statusCode: _response.error.statusCode,
|
|
182
|
+
body: _response.error.body,
|
|
183
|
+
rawResponse: _response.rawResponse,
|
|
184
|
+
});
|
|
185
|
+
}
|
|
138
186
|
}
|
|
139
187
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/events/{event}");
|
|
140
188
|
});
|
|
141
189
|
}
|
|
142
190
|
/**
|
|
143
|
-
*
|
|
191
|
+
* Create or update the authenticated user's RSVP for a business event.
|
|
192
|
+
*
|
|
193
|
+
* @param {FiveOneEat.customer.businesses.StoreEventRsvpRequest} request
|
|
144
194
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
145
195
|
*
|
|
196
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
197
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
198
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
199
|
+
*
|
|
146
200
|
* @example
|
|
147
201
|
* await client.customer.businesses.events.rsvp({
|
|
148
|
-
* business: "
|
|
149
|
-
* event: "
|
|
202
|
+
* business: "katzs-deli",
|
|
203
|
+
* event: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
204
|
+
* status: "attending"
|
|
150
205
|
* })
|
|
151
206
|
*/
|
|
152
207
|
rsvp(request, requestOptions) {
|
|
@@ -155,14 +210,17 @@ class EventsClient {
|
|
|
155
210
|
__rsvp(request, requestOptions) {
|
|
156
211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
212
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
158
|
-
const { business, event } = request;
|
|
213
|
+
const { business, event } = request, _body = __rest(request, ["business", "event"]);
|
|
159
214
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
160
215
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
161
216
|
const _response = yield core.fetcher({
|
|
162
217
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(business)}/events/${core.url.encodePathParam(event)}/rsvp`),
|
|
163
218
|
method: "POST",
|
|
164
219
|
headers: _headers,
|
|
220
|
+
contentType: "application/json",
|
|
165
221
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
222
|
+
requestType: "json",
|
|
223
|
+
body: _body,
|
|
166
224
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
167
225
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
168
226
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -170,26 +228,43 @@ class EventsClient {
|
|
|
170
228
|
logging: this._options.logging,
|
|
171
229
|
});
|
|
172
230
|
if (_response.ok) {
|
|
173
|
-
return {
|
|
231
|
+
return {
|
|
232
|
+
data: _response.body,
|
|
233
|
+
rawResponse: _response.rawResponse,
|
|
234
|
+
};
|
|
174
235
|
}
|
|
175
236
|
if (_response.error.reason === "status-code") {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
237
|
+
switch (_response.error.statusCode) {
|
|
238
|
+
case 401:
|
|
239
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
240
|
+
case 404:
|
|
241
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
242
|
+
case 422:
|
|
243
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
244
|
+
default:
|
|
245
|
+
throw new errors.FiveOneEatError({
|
|
246
|
+
statusCode: _response.error.statusCode,
|
|
247
|
+
body: _response.error.body,
|
|
248
|
+
rawResponse: _response.rawResponse,
|
|
249
|
+
});
|
|
250
|
+
}
|
|
181
251
|
}
|
|
182
252
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/events/{event}/rsvp");
|
|
183
253
|
});
|
|
184
254
|
}
|
|
185
255
|
/**
|
|
256
|
+
* Cancel the authenticated user's RSVP for a business event.
|
|
257
|
+
*
|
|
186
258
|
* @param {FiveOneEat.customer.businesses.CancelRsvpEventsRequest} request
|
|
187
259
|
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
188
260
|
*
|
|
261
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
262
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
263
|
+
*
|
|
189
264
|
* @example
|
|
190
265
|
* await client.customer.businesses.events.cancelRsvp({
|
|
191
|
-
* business: "
|
|
192
|
-
* event: "
|
|
266
|
+
* business: "katzs-deli",
|
|
267
|
+
* event: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
193
268
|
* })
|
|
194
269
|
*/
|
|
195
270
|
cancelRsvp(request, requestOptions) {
|
|
@@ -213,14 +288,21 @@ class EventsClient {
|
|
|
213
288
|
logging: this._options.logging,
|
|
214
289
|
});
|
|
215
290
|
if (_response.ok) {
|
|
216
|
-
return { data:
|
|
291
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
217
292
|
}
|
|
218
293
|
if (_response.error.reason === "status-code") {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
294
|
+
switch (_response.error.statusCode) {
|
|
295
|
+
case 401:
|
|
296
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
297
|
+
case 404:
|
|
298
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
299
|
+
default:
|
|
300
|
+
throw new errors.FiveOneEatError({
|
|
301
|
+
statusCode: _response.error.statusCode,
|
|
302
|
+
body: _response.error.body,
|
|
303
|
+
rawResponse: _response.rawResponse,
|
|
304
|
+
});
|
|
305
|
+
}
|
|
224
306
|
}
|
|
225
307
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/customer/businesses/{business}/events/{event}/rsvp");
|
|
226
308
|
});
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
* business: "
|
|
5
|
-
* event: "
|
|
4
|
+
* business: "katzs-deli",
|
|
5
|
+
* event: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
8
|
export interface CancelRsvpEventsRequest {
|
|
9
|
+
/** The business handle */
|
|
9
10
|
business: string;
|
|
11
|
+
/** The event ID */
|
|
10
12
|
event: string;
|
|
11
13
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
* business: "
|
|
4
|
+
* business: "katzs-deli"
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
7
|
export interface ListEventsRequest {
|
|
8
|
+
/** The business handle */
|
|
8
9
|
business: string;
|
|
10
|
+
/** Page number for pagination */
|
|
11
|
+
page?: number;
|
|
12
|
+
/** Number of events per page */
|
|
13
|
+
per_page?: number;
|
|
9
14
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
*
|
|
4
|
+
* business: "katzs-deli",
|
|
5
5
|
* event: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
6
6
|
* status: "attending"
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
9
|
export interface StoreEventRsvpRequest {
|
|
10
10
|
/** The business handle */
|
|
11
|
-
|
|
11
|
+
business: string;
|
|
12
12
|
/** The event ID */
|
|
13
13
|
event: string;
|
|
14
14
|
status: StoreEventRsvpRequest.Status;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type { CancelRsvpEventsRequest } from "./CancelRsvpEventsRequest.js";
|
|
2
2
|
export type { GetEventsRequest } from "./GetEventsRequest.js";
|
|
3
3
|
export type { ListEventsRequest } from "./ListEventsRequest.js";
|
|
4
|
-
export
|
|
4
|
+
export { StoreEventRsvpRequest } from "./StoreEventRsvpRequest.js";
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreEventRsvpRequest = void 0;
|
|
4
|
+
var StoreEventRsvpRequest_js_1 = require("./StoreEventRsvpRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "StoreEventRsvpRequest", { enumerable: true, get: function () { return StoreEventRsvpRequest_js_1.StoreEventRsvpRequest; } });
|
|
@@ -14,4 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./GetEventsResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./ListEventsResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./RsvpEventsResponse.js"), exports);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./bulletins/client/requests/index.js";
|
|
2
2
|
export * as bulletins from "./bulletins/index.js";
|
|
3
|
+
export * from "./bulletins/types/index.js";
|
|
3
4
|
export * from "./events/client/requests/index.js";
|
|
4
5
|
export * as events from "./events/index.js";
|
|
6
|
+
export * from "./events/types/index.js";
|
|
@@ -39,5 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.events = exports.bulletins = void 0;
|
|
40
40
|
__exportStar(require("./bulletins/client/requests/index.js"), exports);
|
|
41
41
|
exports.bulletins = __importStar(require("./bulletins/index.js"));
|
|
42
|
+
__exportStar(require("./bulletins/types/index.js"), exports);
|
|
42
43
|
__exportStar(require("./events/client/requests/index.js"), exports);
|
|
43
44
|
exports.events = __importStar(require("./events/index.js"));
|
|
45
|
+
__exportStar(require("./events/types/index.js"), exports);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
3
|
if (k2 === undefined) k2 = k;
|
|
5
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -15,7 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
15
|
};
|
|
17
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./FavoriteBusinessesResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./ListTemporaryLocationsBusinessesResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./MenusBusinessesResponse.js"), exports);
|
|
20
|
+
__exportStar(require("./PhotosBusinessesResponse.js"), exports);
|
|
21
|
+
__exportStar(require("./ProfileBusinessesResponse.js"), exports);
|
|
@@ -3,6 +3,7 @@ export * as auth from "./auth/index.js";
|
|
|
3
3
|
export * from "./auth/types/index.js";
|
|
4
4
|
export * from "./businesses/client/requests/index.js";
|
|
5
5
|
export * as businesses from "./businesses/index.js";
|
|
6
|
+
export * from "./businesses/types/index.js";
|
|
6
7
|
export * from "./cart/client/requests/index.js";
|
|
7
8
|
export * as cart from "./cart/index.js";
|
|
8
9
|
export * from "./cart/types/index.js";
|
|
@@ -31,3 +32,4 @@ export * as pushNotifications from "./pushNotifications/index.js";
|
|
|
31
32
|
export * from "./pushNotifications/types/index.js";
|
|
32
33
|
export * from "./shop/client/requests/index.js";
|
|
33
34
|
export * as shop from "./shop/index.js";
|
|
35
|
+
export * from "./shop/types/index.js";
|
|
@@ -42,6 +42,7 @@ exports.auth = __importStar(require("./auth/index.js"));
|
|
|
42
42
|
__exportStar(require("./auth/types/index.js"), exports);
|
|
43
43
|
__exportStar(require("./businesses/client/requests/index.js"), exports);
|
|
44
44
|
exports.businesses = __importStar(require("./businesses/index.js"));
|
|
45
|
+
__exportStar(require("./businesses/types/index.js"), exports);
|
|
45
46
|
__exportStar(require("./cart/client/requests/index.js"), exports);
|
|
46
47
|
exports.cart = __importStar(require("./cart/index.js"));
|
|
47
48
|
__exportStar(require("./cart/types/index.js"), exports);
|
|
@@ -70,3 +71,4 @@ exports.pushNotifications = __importStar(require("./pushNotifications/index.js")
|
|
|
70
71
|
__exportStar(require("./pushNotifications/types/index.js"), exports);
|
|
71
72
|
__exportStar(require("./shop/client/requests/index.js"), exports);
|
|
72
73
|
exports.shop = __importStar(require("./shop/index.js"));
|
|
74
|
+
__exportStar(require("./shop/types/index.js"), exports);
|