@51eat/sdk 0.0.31 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/business/resources/auth/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/business/resources/auth/client/Client.js +115 -0
- package/dist/cjs/api/resources/business/resources/auth/client/requests/ForgotPasswordRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/auth/client/requests/ForgotPasswordRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/auth/client/requests/ResetPasswordRequest.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/auth/client/requests/ResetPasswordRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/auth/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/auth/types/ForgotPasswordAuthResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/auth/types/ForgotPasswordAuthResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/auth/types/ResetPasswordAuthResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/auth/types/ResetPasswordAuthResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/auth/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/auth/types/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/Client.d.ts +78 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/Client.js +282 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthForgotPasswordRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthForgotPasswordRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthResetPasswordRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthResetPasswordRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.ts +11 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/UploadAvatarRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/UploadAvatarRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/DeleteAvatarAuthResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/DeleteAvatarAuthResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/ForgotPasswordAuthResponse.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/ForgotPasswordAuthResponse.js +10 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/ResetPasswordAuthResponse.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/ResetPasswordAuthResponse.js +10 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/UpdateProfileAuthResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/UpdateProfileAuthResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/UploadAvatarAuthResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/UploadAvatarAuthResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/auth/types/index.js +5 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.ts +39 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.js +137 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +20 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentReplyRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentReplyRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.ts +2 -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/ListRepliesCommentsResponse.js +3 -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/ReplyCommentsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.js +15 -5
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/CategoriesDiscoveryRequest.d.ts +8 -0
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/CategoriesDiscoveryRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/types/CustomerReplyResponse.d.ts +5 -0
- package/dist/cjs/api/types/CustomerReplyResponse.js +3 -0
- package/dist/cjs/api/types/CustomerUser.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- 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/api/resources/business/resources/auth/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/business/resources/auth/client/Client.mjs +115 -0
- package/dist/esm/api/resources/business/resources/auth/client/requests/ForgotPasswordRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/auth/client/requests/ForgotPasswordRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/auth/client/requests/ResetPasswordRequest.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/auth/client/requests/ResetPasswordRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/auth/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/auth/types/ForgotPasswordAuthResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/auth/types/ForgotPasswordAuthResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/auth/types/ResetPasswordAuthResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/auth/types/ResetPasswordAuthResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/auth/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/auth/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/Client.d.mts +78 -0
- package/dist/esm/api/resources/customer/resources/auth/client/Client.mjs +282 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthForgotPasswordRequest.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthForgotPasswordRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthResetPasswordRequest.d.mts +15 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/AppHttpRequestsApiV1CustomerAuthResetPasswordRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.mts +11 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/UploadAvatarRequest.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/UploadAvatarRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/auth/types/DeleteAvatarAuthResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/auth/types/DeleteAvatarAuthResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/types/ForgotPasswordAuthResponse.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/auth/types/ForgotPasswordAuthResponse.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/auth/types/ResetPasswordAuthResponse.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/auth/types/ResetPasswordAuthResponse.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/auth/types/UpdateProfileAuthResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/auth/types/UpdateProfileAuthResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/types/UploadAvatarAuthResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/auth/types/UploadAvatarAuthResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/auth/types/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/auth/types/index.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.mts +39 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.mjs +137 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +20 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentReplyRequest.d.mts +18 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentReplyRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.mts +2 -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/ListRepliesCommentsResponse.mjs +2 -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/ReplyCommentsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.mjs +15 -5
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/CategoriesDiscoveryRequest.d.mts +8 -0
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/CategoriesDiscoveryRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/index.d.mts +1 -0
- package/dist/esm/api/types/CustomerReplyResponse.d.mts +5 -0
- package/dist/esm/api/types/CustomerReplyResponse.mjs +2 -0
- package/dist/esm/api/types/CustomerUser.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +683 -86
package/reference.md
CHANGED
|
@@ -778,6 +778,141 @@ await client.business.auth.login({
|
|
|
778
778
|
</dl>
|
|
779
779
|
|
|
780
780
|
|
|
781
|
+
</dd>
|
|
782
|
+
</dl>
|
|
783
|
+
</details>
|
|
784
|
+
|
|
785
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">forgotPassword</a>({ ...params }) -> FiveOneEat.ForgotPasswordAuthResponse</code></summary>
|
|
786
|
+
<dl>
|
|
787
|
+
<dd>
|
|
788
|
+
|
|
789
|
+
#### 📝 Description
|
|
790
|
+
|
|
791
|
+
<dl>
|
|
792
|
+
<dd>
|
|
793
|
+
|
|
794
|
+
<dl>
|
|
795
|
+
<dd>
|
|
796
|
+
|
|
797
|
+
Sends a password reset link to the provided email address if an account exists.
|
|
798
|
+
Always returns a 200 response to prevent email enumeration.
|
|
799
|
+
</dd>
|
|
800
|
+
</dl>
|
|
801
|
+
</dd>
|
|
802
|
+
</dl>
|
|
803
|
+
|
|
804
|
+
#### 🔌 Usage
|
|
805
|
+
|
|
806
|
+
<dl>
|
|
807
|
+
<dd>
|
|
808
|
+
|
|
809
|
+
<dl>
|
|
810
|
+
<dd>
|
|
811
|
+
|
|
812
|
+
```typescript
|
|
813
|
+
await client.business.auth.forgotPassword({
|
|
814
|
+
email: "email"
|
|
815
|
+
});
|
|
816
|
+
|
|
817
|
+
```
|
|
818
|
+
</dd>
|
|
819
|
+
</dl>
|
|
820
|
+
</dd>
|
|
821
|
+
</dl>
|
|
822
|
+
|
|
823
|
+
#### ⚙️ Parameters
|
|
824
|
+
|
|
825
|
+
<dl>
|
|
826
|
+
<dd>
|
|
827
|
+
|
|
828
|
+
<dl>
|
|
829
|
+
<dd>
|
|
830
|
+
|
|
831
|
+
**request:** `FiveOneEat.business.ForgotPasswordRequest`
|
|
832
|
+
|
|
833
|
+
</dd>
|
|
834
|
+
</dl>
|
|
835
|
+
|
|
836
|
+
<dl>
|
|
837
|
+
<dd>
|
|
838
|
+
|
|
839
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
840
|
+
|
|
841
|
+
</dd>
|
|
842
|
+
</dl>
|
|
843
|
+
</dd>
|
|
844
|
+
</dl>
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
</dd>
|
|
848
|
+
</dl>
|
|
849
|
+
</details>
|
|
850
|
+
|
|
851
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">resetPassword</a>({ ...params }) -> FiveOneEat.ResetPasswordAuthResponse</code></summary>
|
|
852
|
+
<dl>
|
|
853
|
+
<dd>
|
|
854
|
+
|
|
855
|
+
#### 📝 Description
|
|
856
|
+
|
|
857
|
+
<dl>
|
|
858
|
+
<dd>
|
|
859
|
+
|
|
860
|
+
<dl>
|
|
861
|
+
<dd>
|
|
862
|
+
|
|
863
|
+
Validates the reset token and updates the user's password. All existing API tokens
|
|
864
|
+
are revoked after a successful reset, requiring re-authentication on all devices.
|
|
865
|
+
</dd>
|
|
866
|
+
</dl>
|
|
867
|
+
</dd>
|
|
868
|
+
</dl>
|
|
869
|
+
|
|
870
|
+
#### 🔌 Usage
|
|
871
|
+
|
|
872
|
+
<dl>
|
|
873
|
+
<dd>
|
|
874
|
+
|
|
875
|
+
<dl>
|
|
876
|
+
<dd>
|
|
877
|
+
|
|
878
|
+
```typescript
|
|
879
|
+
await client.business.auth.resetPassword({
|
|
880
|
+
token: "token",
|
|
881
|
+
email: "email",
|
|
882
|
+
password: "password",
|
|
883
|
+
password_confirmation: "password_confirmation"
|
|
884
|
+
});
|
|
885
|
+
|
|
886
|
+
```
|
|
887
|
+
</dd>
|
|
888
|
+
</dl>
|
|
889
|
+
</dd>
|
|
890
|
+
</dl>
|
|
891
|
+
|
|
892
|
+
#### ⚙️ Parameters
|
|
893
|
+
|
|
894
|
+
<dl>
|
|
895
|
+
<dd>
|
|
896
|
+
|
|
897
|
+
<dl>
|
|
898
|
+
<dd>
|
|
899
|
+
|
|
900
|
+
**request:** `FiveOneEat.business.ResetPasswordRequest`
|
|
901
|
+
|
|
902
|
+
</dd>
|
|
903
|
+
</dl>
|
|
904
|
+
|
|
905
|
+
<dl>
|
|
906
|
+
<dd>
|
|
907
|
+
|
|
908
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
909
|
+
|
|
910
|
+
</dd>
|
|
911
|
+
</dl>
|
|
912
|
+
</dd>
|
|
913
|
+
</dl>
|
|
914
|
+
|
|
915
|
+
|
|
781
916
|
</dd>
|
|
782
917
|
</dl>
|
|
783
918
|
</details>
|
|
@@ -6159,7 +6294,7 @@ await client.customer.auth.login({
|
|
|
6159
6294
|
</dl>
|
|
6160
6295
|
</details>
|
|
6161
6296
|
|
|
6162
|
-
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">
|
|
6297
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">forgotPassword</a>({ ...params }) -> FiveOneEat.ForgotPasswordAuthResponse</code></summary>
|
|
6163
6298
|
<dl>
|
|
6164
6299
|
<dd>
|
|
6165
6300
|
|
|
@@ -6171,7 +6306,8 @@ await client.customer.auth.login({
|
|
|
6171
6306
|
<dl>
|
|
6172
6307
|
<dd>
|
|
6173
6308
|
|
|
6174
|
-
|
|
6309
|
+
Sends a password reset link to the provided email address if an account exists.
|
|
6310
|
+
Always returns a 200 response to prevent email enumeration.
|
|
6175
6311
|
</dd>
|
|
6176
6312
|
</dl>
|
|
6177
6313
|
</dd>
|
|
@@ -6186,7 +6322,9 @@ Retrieve the current authenticated user's profile information.
|
|
|
6186
6322
|
<dd>
|
|
6187
6323
|
|
|
6188
6324
|
```typescript
|
|
6189
|
-
await client.customer.auth.
|
|
6325
|
+
await client.customer.auth.forgotPassword({
|
|
6326
|
+
email: "email"
|
|
6327
|
+
});
|
|
6190
6328
|
|
|
6191
6329
|
```
|
|
6192
6330
|
</dd>
|
|
@@ -6202,6 +6340,14 @@ await client.customer.auth.me();
|
|
|
6202
6340
|
<dl>
|
|
6203
6341
|
<dd>
|
|
6204
6342
|
|
|
6343
|
+
**request:** `FiveOneEat.customer.AppHttpRequestsApiV1CustomerAuthForgotPasswordRequest`
|
|
6344
|
+
|
|
6345
|
+
</dd>
|
|
6346
|
+
</dl>
|
|
6347
|
+
|
|
6348
|
+
<dl>
|
|
6349
|
+
<dd>
|
|
6350
|
+
|
|
6205
6351
|
**requestOptions:** `AuthClient.RequestOptions`
|
|
6206
6352
|
|
|
6207
6353
|
</dd>
|
|
@@ -6214,7 +6360,7 @@ await client.customer.auth.me();
|
|
|
6214
6360
|
</dl>
|
|
6215
6361
|
</details>
|
|
6216
6362
|
|
|
6217
|
-
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">
|
|
6363
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">resetPassword</a>({ ...params }) -> FiveOneEat.ResetPasswordAuthResponse</code></summary>
|
|
6218
6364
|
<dl>
|
|
6219
6365
|
<dd>
|
|
6220
6366
|
|
|
@@ -6226,7 +6372,8 @@ await client.customer.auth.me();
|
|
|
6226
6372
|
<dl>
|
|
6227
6373
|
<dd>
|
|
6228
6374
|
|
|
6229
|
-
|
|
6375
|
+
Validates the reset token and updates the user's password. All existing API tokens
|
|
6376
|
+
are revoked after a successful reset, requiring re-authentication on all devices.
|
|
6230
6377
|
</dd>
|
|
6231
6378
|
</dl>
|
|
6232
6379
|
</dd>
|
|
@@ -6241,7 +6388,12 @@ Revoke the current API token and log out the user.
|
|
|
6241
6388
|
<dd>
|
|
6242
6389
|
|
|
6243
6390
|
```typescript
|
|
6244
|
-
await client.customer.auth.
|
|
6391
|
+
await client.customer.auth.resetPassword({
|
|
6392
|
+
token: "token",
|
|
6393
|
+
email: "email",
|
|
6394
|
+
password: "password",
|
|
6395
|
+
password_confirmation: "password_confirmation"
|
|
6396
|
+
});
|
|
6245
6397
|
|
|
6246
6398
|
```
|
|
6247
6399
|
</dd>
|
|
@@ -6257,7 +6409,7 @@ await client.customer.auth.logout();
|
|
|
6257
6409
|
<dl>
|
|
6258
6410
|
<dd>
|
|
6259
6411
|
|
|
6260
|
-
**request:** `FiveOneEat.customer.
|
|
6412
|
+
**request:** `FiveOneEat.customer.AppHttpRequestsApiV1CustomerAuthResetPasswordRequest`
|
|
6261
6413
|
|
|
6262
6414
|
</dd>
|
|
6263
6415
|
</dl>
|
|
@@ -6277,7 +6429,7 @@ await client.customer.auth.logout();
|
|
|
6277
6429
|
</dl>
|
|
6278
6430
|
</details>
|
|
6279
6431
|
|
|
6280
|
-
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">
|
|
6432
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">me</a>() -> FiveOneEat.MeAuthResponse</code></summary>
|
|
6281
6433
|
<dl>
|
|
6282
6434
|
<dd>
|
|
6283
6435
|
|
|
@@ -6289,7 +6441,7 @@ await client.customer.auth.logout();
|
|
|
6289
6441
|
<dl>
|
|
6290
6442
|
<dd>
|
|
6291
6443
|
|
|
6292
|
-
|
|
6444
|
+
Retrieve the current authenticated user's profile information.
|
|
6293
6445
|
</dd>
|
|
6294
6446
|
</dl>
|
|
6295
6447
|
</dd>
|
|
@@ -6304,7 +6456,7 @@ Revoke all API tokens for the authenticated user.
|
|
|
6304
6456
|
<dd>
|
|
6305
6457
|
|
|
6306
6458
|
```typescript
|
|
6307
|
-
await client.customer.auth.
|
|
6459
|
+
await client.customer.auth.me();
|
|
6308
6460
|
|
|
6309
6461
|
```
|
|
6310
6462
|
</dd>
|
|
@@ -6332,8 +6484,7 @@ await client.customer.auth.logoutAll();
|
|
|
6332
6484
|
</dl>
|
|
6333
6485
|
</details>
|
|
6334
6486
|
|
|
6335
|
-
|
|
6336
|
-
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">profile</a>({ ...params }) -> FiveOneEat.ProfileBusinessesResponse</code></summary>
|
|
6487
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">updateProfile</a>({ ...params }) -> FiveOneEat.UpdateProfileAuthResponse</code></summary>
|
|
6337
6488
|
<dl>
|
|
6338
6489
|
<dd>
|
|
6339
6490
|
|
|
@@ -6345,7 +6496,8 @@ await client.customer.auth.logoutAll();
|
|
|
6345
6496
|
<dl>
|
|
6346
6497
|
<dd>
|
|
6347
6498
|
|
|
6348
|
-
|
|
6499
|
+
Update name, email, and/or password. All fields are optional. To change the
|
|
6500
|
+
password, `current_password` must be provided alongside `password` and `password_confirmation`.
|
|
6349
6501
|
</dd>
|
|
6350
6502
|
</dl>
|
|
6351
6503
|
</dd>
|
|
@@ -6360,9 +6512,7 @@ Retrieve core business information for the profile page.
|
|
|
6360
6512
|
<dd>
|
|
6361
6513
|
|
|
6362
6514
|
```typescript
|
|
6363
|
-
await client.customer.
|
|
6364
|
-
handle: "katzs-deli"
|
|
6365
|
-
});
|
|
6515
|
+
await client.customer.auth.updateProfile();
|
|
6366
6516
|
|
|
6367
6517
|
```
|
|
6368
6518
|
</dd>
|
|
@@ -6378,7 +6528,7 @@ await client.customer.businesses.profile({
|
|
|
6378
6528
|
<dl>
|
|
6379
6529
|
<dd>
|
|
6380
6530
|
|
|
6381
|
-
**request:** `FiveOneEat.customer.
|
|
6531
|
+
**request:** `FiveOneEat.customer.UpdateUserRequest`
|
|
6382
6532
|
|
|
6383
6533
|
</dd>
|
|
6384
6534
|
</dl>
|
|
@@ -6386,7 +6536,7 @@ await client.customer.businesses.profile({
|
|
|
6386
6536
|
<dl>
|
|
6387
6537
|
<dd>
|
|
6388
6538
|
|
|
6389
|
-
**requestOptions:** `
|
|
6539
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
6390
6540
|
|
|
6391
6541
|
</dd>
|
|
6392
6542
|
</dl>
|
|
@@ -6398,7 +6548,7 @@ await client.customer.businesses.profile({
|
|
|
6398
6548
|
</dl>
|
|
6399
6549
|
</details>
|
|
6400
6550
|
|
|
6401
|
-
<details><summary><code>client.customer.
|
|
6551
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">uploadAvatar</a>({ ...params }) -> FiveOneEat.UploadAvatarAuthResponse</code></summary>
|
|
6402
6552
|
<dl>
|
|
6403
6553
|
<dd>
|
|
6404
6554
|
|
|
@@ -6410,7 +6560,7 @@ await client.customer.businesses.profile({
|
|
|
6410
6560
|
<dl>
|
|
6411
6561
|
<dd>
|
|
6412
6562
|
|
|
6413
|
-
|
|
6563
|
+
Upload and replace the avatar for the authenticated customer. Any existing avatar file will be deleted.
|
|
6414
6564
|
</dd>
|
|
6415
6565
|
</dl>
|
|
6416
6566
|
</dd>
|
|
@@ -6425,8 +6575,8 @@ Retrieve all menus organized by groups for the business.
|
|
|
6425
6575
|
<dd>
|
|
6426
6576
|
|
|
6427
6577
|
```typescript
|
|
6428
|
-
await client.customer.
|
|
6429
|
-
|
|
6578
|
+
await client.customer.auth.uploadAvatar({
|
|
6579
|
+
avatar: "avatar"
|
|
6430
6580
|
});
|
|
6431
6581
|
|
|
6432
6582
|
```
|
|
@@ -6443,7 +6593,7 @@ await client.customer.businesses.menus({
|
|
|
6443
6593
|
<dl>
|
|
6444
6594
|
<dd>
|
|
6445
6595
|
|
|
6446
|
-
**request:** `FiveOneEat.customer.
|
|
6596
|
+
**request:** `FiveOneEat.customer.UploadAvatarRequest`
|
|
6447
6597
|
|
|
6448
6598
|
</dd>
|
|
6449
6599
|
</dl>
|
|
@@ -6451,7 +6601,7 @@ await client.customer.businesses.menus({
|
|
|
6451
6601
|
<dl>
|
|
6452
6602
|
<dd>
|
|
6453
6603
|
|
|
6454
|
-
**requestOptions:** `
|
|
6604
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
6455
6605
|
|
|
6456
6606
|
</dd>
|
|
6457
6607
|
</dl>
|
|
@@ -6463,7 +6613,7 @@ await client.customer.businesses.menus({
|
|
|
6463
6613
|
</dl>
|
|
6464
6614
|
</details>
|
|
6465
6615
|
|
|
6466
|
-
<details><summary><code>client.customer.
|
|
6616
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">deleteAvatar</a>() -> FiveOneEat.DeleteAvatarAuthResponse</code></summary>
|
|
6467
6617
|
<dl>
|
|
6468
6618
|
<dd>
|
|
6469
6619
|
|
|
@@ -6475,7 +6625,7 @@ await client.customer.businesses.menus({
|
|
|
6475
6625
|
<dl>
|
|
6476
6626
|
<dd>
|
|
6477
6627
|
|
|
6478
|
-
|
|
6628
|
+
Remove the avatar for the authenticated customer. Returns the updated user with a null avatar_url.
|
|
6479
6629
|
</dd>
|
|
6480
6630
|
</dl>
|
|
6481
6631
|
</dd>
|
|
@@ -6490,9 +6640,7 @@ Retrieve photo gallery for the business with pagination.
|
|
|
6490
6640
|
<dd>
|
|
6491
6641
|
|
|
6492
6642
|
```typescript
|
|
6493
|
-
await client.customer.
|
|
6494
|
-
handle: "katzs-deli"
|
|
6495
|
-
});
|
|
6643
|
+
await client.customer.auth.deleteAvatar();
|
|
6496
6644
|
|
|
6497
6645
|
```
|
|
6498
6646
|
</dd>
|
|
@@ -6508,15 +6656,7 @@ await client.customer.businesses.photos({
|
|
|
6508
6656
|
<dl>
|
|
6509
6657
|
<dd>
|
|
6510
6658
|
|
|
6511
|
-
**
|
|
6512
|
-
|
|
6513
|
-
</dd>
|
|
6514
|
-
</dl>
|
|
6515
|
-
|
|
6516
|
-
<dl>
|
|
6517
|
-
<dd>
|
|
6518
|
-
|
|
6519
|
-
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
6659
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
6520
6660
|
|
|
6521
6661
|
</dd>
|
|
6522
6662
|
</dl>
|
|
@@ -6528,7 +6668,7 @@ await client.customer.businesses.photos({
|
|
|
6528
6668
|
</dl>
|
|
6529
6669
|
</details>
|
|
6530
6670
|
|
|
6531
|
-
<details><summary><code>client.customer.
|
|
6671
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">logout</a>({ ...params }) -> FiveOneEat.LogoutAuthResponse</code></summary>
|
|
6532
6672
|
<dl>
|
|
6533
6673
|
<dd>
|
|
6534
6674
|
|
|
@@ -6540,7 +6680,7 @@ await client.customer.businesses.photos({
|
|
|
6540
6680
|
<dl>
|
|
6541
6681
|
<dd>
|
|
6542
6682
|
|
|
6543
|
-
|
|
6683
|
+
Revoke the current API token and log out the user.
|
|
6544
6684
|
</dd>
|
|
6545
6685
|
</dl>
|
|
6546
6686
|
</dd>
|
|
@@ -6555,9 +6695,7 @@ Add a business to the authenticated user's favorites.
|
|
|
6555
6695
|
<dd>
|
|
6556
6696
|
|
|
6557
6697
|
```typescript
|
|
6558
|
-
await client.customer.
|
|
6559
|
-
handle: "katzs-deli"
|
|
6560
|
-
});
|
|
6698
|
+
await client.customer.auth.logout();
|
|
6561
6699
|
|
|
6562
6700
|
```
|
|
6563
6701
|
</dd>
|
|
@@ -6573,7 +6711,7 @@ await client.customer.businesses.favorite({
|
|
|
6573
6711
|
<dl>
|
|
6574
6712
|
<dd>
|
|
6575
6713
|
|
|
6576
|
-
**request:** `FiveOneEat.customer.
|
|
6714
|
+
**request:** `FiveOneEat.customer.LogoutAuthRequest`
|
|
6577
6715
|
|
|
6578
6716
|
</dd>
|
|
6579
6717
|
</dl>
|
|
@@ -6581,7 +6719,7 @@ await client.customer.businesses.favorite({
|
|
|
6581
6719
|
<dl>
|
|
6582
6720
|
<dd>
|
|
6583
6721
|
|
|
6584
|
-
**requestOptions:** `
|
|
6722
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
6585
6723
|
|
|
6586
6724
|
</dd>
|
|
6587
6725
|
</dl>
|
|
@@ -6593,7 +6731,7 @@ await client.customer.businesses.favorite({
|
|
|
6593
6731
|
</dl>
|
|
6594
6732
|
</details>
|
|
6595
6733
|
|
|
6596
|
-
<details><summary><code>client.customer.
|
|
6734
|
+
<details><summary><code>client.customer.auth.<a href="/src/api/resources/customer/resources/auth/client/Client.ts">logoutAll</a>() -> FiveOneEat.LogoutAllAuthResponse</code></summary>
|
|
6597
6735
|
<dl>
|
|
6598
6736
|
<dd>
|
|
6599
6737
|
|
|
@@ -6605,7 +6743,7 @@ await client.customer.businesses.favorite({
|
|
|
6605
6743
|
<dl>
|
|
6606
6744
|
<dd>
|
|
6607
6745
|
|
|
6608
|
-
|
|
6746
|
+
Revoke all API tokens for the authenticated user.
|
|
6609
6747
|
</dd>
|
|
6610
6748
|
</dl>
|
|
6611
6749
|
</dd>
|
|
@@ -6620,9 +6758,7 @@ Remove a business from the authenticated user's favorites.
|
|
|
6620
6758
|
<dd>
|
|
6621
6759
|
|
|
6622
6760
|
```typescript
|
|
6623
|
-
await client.customer.
|
|
6624
|
-
handle: "katzs-deli"
|
|
6625
|
-
});
|
|
6761
|
+
await client.customer.auth.logoutAll();
|
|
6626
6762
|
|
|
6627
6763
|
```
|
|
6628
6764
|
</dd>
|
|
@@ -6638,15 +6774,7 @@ await client.customer.businesses.unfavorite({
|
|
|
6638
6774
|
<dl>
|
|
6639
6775
|
<dd>
|
|
6640
6776
|
|
|
6641
|
-
**
|
|
6642
|
-
|
|
6643
|
-
</dd>
|
|
6644
|
-
</dl>
|
|
6645
|
-
|
|
6646
|
-
<dl>
|
|
6647
|
-
<dd>
|
|
6648
|
-
|
|
6649
|
-
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
6777
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
6650
6778
|
|
|
6651
6779
|
</dd>
|
|
6652
6780
|
</dl>
|
|
@@ -6658,8 +6786,8 @@ await client.customer.businesses.unfavorite({
|
|
|
6658
6786
|
</dl>
|
|
6659
6787
|
</details>
|
|
6660
6788
|
|
|
6661
|
-
## Customer
|
|
6662
|
-
<details><summary><code>client.customer.
|
|
6789
|
+
## Customer Businesses
|
|
6790
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">profile</a>({ ...params }) -> FiveOneEat.ProfileBusinessesResponse</code></summary>
|
|
6663
6791
|
<dl>
|
|
6664
6792
|
<dd>
|
|
6665
6793
|
|
|
@@ -6671,8 +6799,7 @@ await client.customer.businesses.unfavorite({
|
|
|
6671
6799
|
<dl>
|
|
6672
6800
|
<dd>
|
|
6673
6801
|
|
|
6674
|
-
Retrieve
|
|
6675
|
-
Results are optimized for map display with essential business information.
|
|
6802
|
+
Retrieve core business information for the profile page.
|
|
6676
6803
|
</dd>
|
|
6677
6804
|
</dl>
|
|
6678
6805
|
</dd>
|
|
@@ -6687,8 +6814,8 @@ Results are optimized for map display with essential business information.
|
|
|
6687
6814
|
<dd>
|
|
6688
6815
|
|
|
6689
6816
|
```typescript
|
|
6690
|
-
await client.customer.
|
|
6691
|
-
|
|
6817
|
+
await client.customer.businesses.profile({
|
|
6818
|
+
handle: "katzs-deli"
|
|
6692
6819
|
});
|
|
6693
6820
|
|
|
6694
6821
|
```
|
|
@@ -6705,7 +6832,7 @@ await client.customer.explore.businesses({
|
|
|
6705
6832
|
<dl>
|
|
6706
6833
|
<dd>
|
|
6707
6834
|
|
|
6708
|
-
**request:** `FiveOneEat.customer.
|
|
6835
|
+
**request:** `FiveOneEat.customer.ProfileBusinessesRequest`
|
|
6709
6836
|
|
|
6710
6837
|
</dd>
|
|
6711
6838
|
</dl>
|
|
@@ -6713,7 +6840,7 @@ await client.customer.explore.businesses({
|
|
|
6713
6840
|
<dl>
|
|
6714
6841
|
<dd>
|
|
6715
6842
|
|
|
6716
|
-
**requestOptions:** `
|
|
6843
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
6717
6844
|
|
|
6718
6845
|
</dd>
|
|
6719
6846
|
</dl>
|
|
@@ -6725,8 +6852,7 @@ await client.customer.explore.businesses({
|
|
|
6725
6852
|
</dl>
|
|
6726
6853
|
</details>
|
|
6727
6854
|
|
|
6728
|
-
|
|
6729
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.DiscoveryFeed</code></summary>
|
|
6855
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">menus</a>({ ...params }) -> FiveOneEat.MenusBusinessesResponse</code></summary>
|
|
6730
6856
|
<dl>
|
|
6731
6857
|
<dd>
|
|
6732
6858
|
|
|
@@ -6738,9 +6864,7 @@ await client.customer.explore.businesses({
|
|
|
6738
6864
|
<dl>
|
|
6739
6865
|
<dd>
|
|
6740
6866
|
|
|
6741
|
-
|
|
6742
|
-
embedded. Use `total_businesses` to link to the full paginated category view.
|
|
6743
|
-
Supports optional filtering by search term, cuisines, and certifications.
|
|
6867
|
+
Retrieve all menus organized by groups for the business.
|
|
6744
6868
|
</dd>
|
|
6745
6869
|
</dl>
|
|
6746
6870
|
</dd>
|
|
@@ -6755,8 +6879,8 @@ Supports optional filtering by search term, cuisines, and certifications.
|
|
|
6755
6879
|
<dd>
|
|
6756
6880
|
|
|
6757
6881
|
```typescript
|
|
6758
|
-
await client.customer.
|
|
6759
|
-
|
|
6882
|
+
await client.customer.businesses.menus({
|
|
6883
|
+
handle: "katzs-deli"
|
|
6760
6884
|
});
|
|
6761
6885
|
|
|
6762
6886
|
```
|
|
@@ -6773,7 +6897,7 @@ await client.customer.discovery.feed({
|
|
|
6773
6897
|
<dl>
|
|
6774
6898
|
<dd>
|
|
6775
6899
|
|
|
6776
|
-
**request:** `FiveOneEat.customer.
|
|
6900
|
+
**request:** `FiveOneEat.customer.MenusBusinessesRequest`
|
|
6777
6901
|
|
|
6778
6902
|
</dd>
|
|
6779
6903
|
</dl>
|
|
@@ -6781,7 +6905,7 @@ await client.customer.discovery.feed({
|
|
|
6781
6905
|
<dl>
|
|
6782
6906
|
<dd>
|
|
6783
6907
|
|
|
6784
|
-
**requestOptions:** `
|
|
6908
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
6785
6909
|
|
|
6786
6910
|
</dd>
|
|
6787
6911
|
</dl>
|
|
@@ -6793,7 +6917,7 @@ await client.customer.discovery.feed({
|
|
|
6793
6917
|
</dl>
|
|
6794
6918
|
</details>
|
|
6795
6919
|
|
|
6796
|
-
<details><summary><code>client.customer.
|
|
6920
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">photos</a>({ ...params }) -> FiveOneEat.PhotosBusinessesResponse</code></summary>
|
|
6797
6921
|
<dl>
|
|
6798
6922
|
<dd>
|
|
6799
6923
|
|
|
@@ -6805,9 +6929,7 @@ await client.customer.discovery.feed({
|
|
|
6805
6929
|
<dl>
|
|
6806
6930
|
<dd>
|
|
6807
6931
|
|
|
6808
|
-
|
|
6809
|
-
including staff picks and founding partners. This endpoint is designed
|
|
6810
|
-
to be extended with additional sections (e.g. editorial, trending) over time.
|
|
6932
|
+
Retrieve photo gallery for the business with pagination.
|
|
6811
6933
|
</dd>
|
|
6812
6934
|
</dl>
|
|
6813
6935
|
</dd>
|
|
@@ -6822,7 +6944,9 @@ to be extended with additional sections (e.g. editorial, trending) over time.
|
|
|
6822
6944
|
<dd>
|
|
6823
6945
|
|
|
6824
6946
|
```typescript
|
|
6825
|
-
await client.customer.
|
|
6947
|
+
await client.customer.businesses.photos({
|
|
6948
|
+
handle: "katzs-deli"
|
|
6949
|
+
});
|
|
6826
6950
|
|
|
6827
6951
|
```
|
|
6828
6952
|
</dd>
|
|
@@ -6838,19 +6962,349 @@ await client.customer.discovery.highlights();
|
|
|
6838
6962
|
<dl>
|
|
6839
6963
|
<dd>
|
|
6840
6964
|
|
|
6841
|
-
**
|
|
6965
|
+
**request:** `FiveOneEat.customer.PhotosBusinessesRequest`
|
|
6842
6966
|
|
|
6843
6967
|
</dd>
|
|
6844
6968
|
</dl>
|
|
6845
|
-
</dd>
|
|
6846
|
-
</dl>
|
|
6847
6969
|
|
|
6970
|
+
<dl>
|
|
6971
|
+
<dd>
|
|
6848
6972
|
|
|
6849
|
-
|
|
6973
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
6974
|
+
|
|
6975
|
+
</dd>
|
|
6976
|
+
</dl>
|
|
6977
|
+
</dd>
|
|
6978
|
+
</dl>
|
|
6979
|
+
|
|
6980
|
+
|
|
6981
|
+
</dd>
|
|
6982
|
+
</dl>
|
|
6983
|
+
</details>
|
|
6984
|
+
|
|
6985
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">favorite</a>({ ...params }) -> FiveOneEat.FavoriteBusinessesResponse</code></summary>
|
|
6986
|
+
<dl>
|
|
6987
|
+
<dd>
|
|
6988
|
+
|
|
6989
|
+
#### 📝 Description
|
|
6990
|
+
|
|
6991
|
+
<dl>
|
|
6992
|
+
<dd>
|
|
6993
|
+
|
|
6994
|
+
<dl>
|
|
6995
|
+
<dd>
|
|
6996
|
+
|
|
6997
|
+
Add a business to the authenticated user's favorites.
|
|
6998
|
+
</dd>
|
|
6999
|
+
</dl>
|
|
7000
|
+
</dd>
|
|
7001
|
+
</dl>
|
|
7002
|
+
|
|
7003
|
+
#### 🔌 Usage
|
|
7004
|
+
|
|
7005
|
+
<dl>
|
|
7006
|
+
<dd>
|
|
7007
|
+
|
|
7008
|
+
<dl>
|
|
7009
|
+
<dd>
|
|
7010
|
+
|
|
7011
|
+
```typescript
|
|
7012
|
+
await client.customer.businesses.favorite({
|
|
7013
|
+
handle: "katzs-deli"
|
|
7014
|
+
});
|
|
7015
|
+
|
|
7016
|
+
```
|
|
7017
|
+
</dd>
|
|
7018
|
+
</dl>
|
|
7019
|
+
</dd>
|
|
7020
|
+
</dl>
|
|
7021
|
+
|
|
7022
|
+
#### ⚙️ Parameters
|
|
7023
|
+
|
|
7024
|
+
<dl>
|
|
7025
|
+
<dd>
|
|
7026
|
+
|
|
7027
|
+
<dl>
|
|
7028
|
+
<dd>
|
|
7029
|
+
|
|
7030
|
+
**request:** `FiveOneEat.customer.FavoriteBusinessesRequest`
|
|
7031
|
+
|
|
7032
|
+
</dd>
|
|
7033
|
+
</dl>
|
|
7034
|
+
|
|
7035
|
+
<dl>
|
|
7036
|
+
<dd>
|
|
7037
|
+
|
|
7038
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
7039
|
+
|
|
7040
|
+
</dd>
|
|
7041
|
+
</dl>
|
|
7042
|
+
</dd>
|
|
7043
|
+
</dl>
|
|
7044
|
+
|
|
7045
|
+
|
|
7046
|
+
</dd>
|
|
7047
|
+
</dl>
|
|
7048
|
+
</details>
|
|
7049
|
+
|
|
7050
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) -> Record<string, unknown></code></summary>
|
|
7051
|
+
<dl>
|
|
7052
|
+
<dd>
|
|
7053
|
+
|
|
7054
|
+
#### 📝 Description
|
|
7055
|
+
|
|
7056
|
+
<dl>
|
|
7057
|
+
<dd>
|
|
7058
|
+
|
|
7059
|
+
<dl>
|
|
7060
|
+
<dd>
|
|
7061
|
+
|
|
7062
|
+
Remove a business from the authenticated user's favorites.
|
|
7063
|
+
</dd>
|
|
7064
|
+
</dl>
|
|
7065
|
+
</dd>
|
|
7066
|
+
</dl>
|
|
7067
|
+
|
|
7068
|
+
#### 🔌 Usage
|
|
7069
|
+
|
|
7070
|
+
<dl>
|
|
7071
|
+
<dd>
|
|
7072
|
+
|
|
7073
|
+
<dl>
|
|
7074
|
+
<dd>
|
|
7075
|
+
|
|
7076
|
+
```typescript
|
|
7077
|
+
await client.customer.businesses.unfavorite({
|
|
7078
|
+
handle: "katzs-deli"
|
|
7079
|
+
});
|
|
7080
|
+
|
|
7081
|
+
```
|
|
7082
|
+
</dd>
|
|
7083
|
+
</dl>
|
|
7084
|
+
</dd>
|
|
7085
|
+
</dl>
|
|
7086
|
+
|
|
7087
|
+
#### ⚙️ Parameters
|
|
7088
|
+
|
|
7089
|
+
<dl>
|
|
7090
|
+
<dd>
|
|
7091
|
+
|
|
7092
|
+
<dl>
|
|
7093
|
+
<dd>
|
|
7094
|
+
|
|
7095
|
+
**request:** `FiveOneEat.customer.UnfavoriteBusinessesRequest`
|
|
7096
|
+
|
|
7097
|
+
</dd>
|
|
7098
|
+
</dl>
|
|
7099
|
+
|
|
7100
|
+
<dl>
|
|
7101
|
+
<dd>
|
|
7102
|
+
|
|
7103
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
7104
|
+
|
|
7105
|
+
</dd>
|
|
7106
|
+
</dl>
|
|
7107
|
+
</dd>
|
|
7108
|
+
</dl>
|
|
7109
|
+
|
|
7110
|
+
|
|
7111
|
+
</dd>
|
|
7112
|
+
</dl>
|
|
7113
|
+
</details>
|
|
7114
|
+
|
|
7115
|
+
## Customer Explore
|
|
7116
|
+
<details><summary><code>client.customer.explore.<a href="/src/api/resources/customer/resources/explore/client/Client.ts">businesses</a>({ ...params }) -> FiveOneEat.BusinessesExploreResponse</code></summary>
|
|
7117
|
+
<dl>
|
|
7118
|
+
<dd>
|
|
7119
|
+
|
|
7120
|
+
#### 📝 Description
|
|
7121
|
+
|
|
7122
|
+
<dl>
|
|
7123
|
+
<dd>
|
|
7124
|
+
|
|
7125
|
+
<dl>
|
|
7126
|
+
<dd>
|
|
7127
|
+
|
|
7128
|
+
Retrieve businesses within the specified map bounds for map view.
|
|
7129
|
+
Results are optimized for map display with essential business information.
|
|
7130
|
+
</dd>
|
|
7131
|
+
</dl>
|
|
7132
|
+
</dd>
|
|
7133
|
+
</dl>
|
|
7134
|
+
|
|
7135
|
+
#### 🔌 Usage
|
|
7136
|
+
|
|
7137
|
+
<dl>
|
|
7138
|
+
<dd>
|
|
7139
|
+
|
|
7140
|
+
<dl>
|
|
7141
|
+
<dd>
|
|
7142
|
+
|
|
7143
|
+
```typescript
|
|
7144
|
+
await client.customer.explore.businesses({
|
|
7145
|
+
bounds: "43.5000,42.5000,-73.5000,-76.5000"
|
|
7146
|
+
});
|
|
7147
|
+
|
|
7148
|
+
```
|
|
7149
|
+
</dd>
|
|
7150
|
+
</dl>
|
|
7151
|
+
</dd>
|
|
7152
|
+
</dl>
|
|
7153
|
+
|
|
7154
|
+
#### ⚙️ Parameters
|
|
7155
|
+
|
|
7156
|
+
<dl>
|
|
7157
|
+
<dd>
|
|
7158
|
+
|
|
7159
|
+
<dl>
|
|
7160
|
+
<dd>
|
|
7161
|
+
|
|
7162
|
+
**request:** `FiveOneEat.customer.BusinessesExploreRequest`
|
|
7163
|
+
|
|
7164
|
+
</dd>
|
|
7165
|
+
</dl>
|
|
7166
|
+
|
|
7167
|
+
<dl>
|
|
7168
|
+
<dd>
|
|
7169
|
+
|
|
7170
|
+
**requestOptions:** `ExploreClient.RequestOptions`
|
|
7171
|
+
|
|
7172
|
+
</dd>
|
|
7173
|
+
</dl>
|
|
7174
|
+
</dd>
|
|
7175
|
+
</dl>
|
|
7176
|
+
|
|
7177
|
+
|
|
7178
|
+
</dd>
|
|
6850
7179
|
</dl>
|
|
6851
7180
|
</details>
|
|
6852
7181
|
|
|
6853
|
-
|
|
7182
|
+
## Customer Discovery
|
|
7183
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.DiscoveryFeed</code></summary>
|
|
7184
|
+
<dl>
|
|
7185
|
+
<dd>
|
|
7186
|
+
|
|
7187
|
+
#### 📝 Description
|
|
7188
|
+
|
|
7189
|
+
<dl>
|
|
7190
|
+
<dd>
|
|
7191
|
+
|
|
7192
|
+
<dl>
|
|
7193
|
+
<dd>
|
|
7194
|
+
|
|
7195
|
+
Returns a paginated list of populated business categories, each with up to 10 businesses
|
|
7196
|
+
embedded. Use `total_businesses` to link to the full paginated category view.
|
|
7197
|
+
Supports optional filtering by search term, cuisines, and certifications.
|
|
7198
|
+
</dd>
|
|
7199
|
+
</dl>
|
|
7200
|
+
</dd>
|
|
7201
|
+
</dl>
|
|
7202
|
+
|
|
7203
|
+
#### 🔌 Usage
|
|
7204
|
+
|
|
7205
|
+
<dl>
|
|
7206
|
+
<dd>
|
|
7207
|
+
|
|
7208
|
+
<dl>
|
|
7209
|
+
<dd>
|
|
7210
|
+
|
|
7211
|
+
```typescript
|
|
7212
|
+
await client.customer.discovery.feed({
|
|
7213
|
+
search: "organic"
|
|
7214
|
+
});
|
|
7215
|
+
|
|
7216
|
+
```
|
|
7217
|
+
</dd>
|
|
7218
|
+
</dl>
|
|
7219
|
+
</dd>
|
|
7220
|
+
</dl>
|
|
7221
|
+
|
|
7222
|
+
#### ⚙️ Parameters
|
|
7223
|
+
|
|
7224
|
+
<dl>
|
|
7225
|
+
<dd>
|
|
7226
|
+
|
|
7227
|
+
<dl>
|
|
7228
|
+
<dd>
|
|
7229
|
+
|
|
7230
|
+
**request:** `FiveOneEat.customer.FeedDiscoveryRequest`
|
|
7231
|
+
|
|
7232
|
+
</dd>
|
|
7233
|
+
</dl>
|
|
7234
|
+
|
|
7235
|
+
<dl>
|
|
7236
|
+
<dd>
|
|
7237
|
+
|
|
7238
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
7239
|
+
|
|
7240
|
+
</dd>
|
|
7241
|
+
</dl>
|
|
7242
|
+
</dd>
|
|
7243
|
+
</dl>
|
|
7244
|
+
|
|
7245
|
+
|
|
7246
|
+
</dd>
|
|
7247
|
+
</dl>
|
|
7248
|
+
</details>
|
|
7249
|
+
|
|
7250
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">highlights</a>() -> FiveOneEat.DiscoveryHighlights</code></summary>
|
|
7251
|
+
<dl>
|
|
7252
|
+
<dd>
|
|
7253
|
+
|
|
7254
|
+
#### 📝 Description
|
|
7255
|
+
|
|
7256
|
+
<dl>
|
|
7257
|
+
<dd>
|
|
7258
|
+
|
|
7259
|
+
<dl>
|
|
7260
|
+
<dd>
|
|
7261
|
+
|
|
7262
|
+
Returns curated sections of businesses for the discovery home screen,
|
|
7263
|
+
including staff picks and founding partners. This endpoint is designed
|
|
7264
|
+
to be extended with additional sections (e.g. editorial, trending) over time.
|
|
7265
|
+
</dd>
|
|
7266
|
+
</dl>
|
|
7267
|
+
</dd>
|
|
7268
|
+
</dl>
|
|
7269
|
+
|
|
7270
|
+
#### 🔌 Usage
|
|
7271
|
+
|
|
7272
|
+
<dl>
|
|
7273
|
+
<dd>
|
|
7274
|
+
|
|
7275
|
+
<dl>
|
|
7276
|
+
<dd>
|
|
7277
|
+
|
|
7278
|
+
```typescript
|
|
7279
|
+
await client.customer.discovery.highlights();
|
|
7280
|
+
|
|
7281
|
+
```
|
|
7282
|
+
</dd>
|
|
7283
|
+
</dl>
|
|
7284
|
+
</dd>
|
|
7285
|
+
</dl>
|
|
7286
|
+
|
|
7287
|
+
#### ⚙️ Parameters
|
|
7288
|
+
|
|
7289
|
+
<dl>
|
|
7290
|
+
<dd>
|
|
7291
|
+
|
|
7292
|
+
<dl>
|
|
7293
|
+
<dd>
|
|
7294
|
+
|
|
7295
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
7296
|
+
|
|
7297
|
+
</dd>
|
|
7298
|
+
</dl>
|
|
7299
|
+
</dd>
|
|
7300
|
+
</dl>
|
|
7301
|
+
|
|
7302
|
+
|
|
7303
|
+
</dd>
|
|
7304
|
+
</dl>
|
|
7305
|
+
</details>
|
|
7306
|
+
|
|
7307
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">categories</a>({ ...params }) -> FiveOneEat.CategoriesDiscoveryResponse</code></summary>
|
|
6854
7308
|
<dl>
|
|
6855
7309
|
<dd>
|
|
6856
7310
|
|
|
@@ -6894,6 +7348,14 @@ await client.customer.discovery.categories();
|
|
|
6894
7348
|
<dl>
|
|
6895
7349
|
<dd>
|
|
6896
7350
|
|
|
7351
|
+
**request:** `FiveOneEat.customer.CategoriesDiscoveryRequest`
|
|
7352
|
+
|
|
7353
|
+
</dd>
|
|
7354
|
+
</dl>
|
|
7355
|
+
|
|
7356
|
+
<dl>
|
|
7357
|
+
<dd>
|
|
7358
|
+
|
|
6897
7359
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
6898
7360
|
|
|
6899
7361
|
</dd>
|
|
@@ -8243,6 +8705,141 @@ await client.customer.businesses.bulletins.comments.create({
|
|
|
8243
8705
|
</dl>
|
|
8244
8706
|
|
|
8245
8707
|
|
|
8708
|
+
</dd>
|
|
8709
|
+
</dl>
|
|
8710
|
+
</details>
|
|
8711
|
+
|
|
8712
|
+
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">listReplies</a>({ ...params }) -> FiveOneEat.ListRepliesCommentsResponse</code></summary>
|
|
8713
|
+
<dl>
|
|
8714
|
+
<dd>
|
|
8715
|
+
|
|
8716
|
+
#### 📝 Description
|
|
8717
|
+
|
|
8718
|
+
<dl>
|
|
8719
|
+
<dd>
|
|
8720
|
+
|
|
8721
|
+
<dl>
|
|
8722
|
+
<dd>
|
|
8723
|
+
|
|
8724
|
+
Retrieve paginated replies for a top-level comment on a published bulletin.
|
|
8725
|
+
</dd>
|
|
8726
|
+
</dl>
|
|
8727
|
+
</dd>
|
|
8728
|
+
</dl>
|
|
8729
|
+
|
|
8730
|
+
#### 🔌 Usage
|
|
8731
|
+
|
|
8732
|
+
<dl>
|
|
8733
|
+
<dd>
|
|
8734
|
+
|
|
8735
|
+
<dl>
|
|
8736
|
+
<dd>
|
|
8737
|
+
|
|
8738
|
+
```typescript
|
|
8739
|
+
await client.customer.businesses.bulletins.comments.listReplies({
|
|
8740
|
+
handle: "katzs-deli",
|
|
8741
|
+
bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
8742
|
+
comment: "01950e7d-5678-7000-abcd-ef0123456789"
|
|
8743
|
+
});
|
|
8744
|
+
|
|
8745
|
+
```
|
|
8746
|
+
</dd>
|
|
8747
|
+
</dl>
|
|
8748
|
+
</dd>
|
|
8749
|
+
</dl>
|
|
8750
|
+
|
|
8751
|
+
#### ⚙️ Parameters
|
|
8752
|
+
|
|
8753
|
+
<dl>
|
|
8754
|
+
<dd>
|
|
8755
|
+
|
|
8756
|
+
<dl>
|
|
8757
|
+
<dd>
|
|
8758
|
+
|
|
8759
|
+
**request:** `FiveOneEat.customer.businesses.bulletins.ListRepliesCommentsRequest`
|
|
8760
|
+
|
|
8761
|
+
</dd>
|
|
8762
|
+
</dl>
|
|
8763
|
+
|
|
8764
|
+
<dl>
|
|
8765
|
+
<dd>
|
|
8766
|
+
|
|
8767
|
+
**requestOptions:** `CommentsClient.RequestOptions`
|
|
8768
|
+
|
|
8769
|
+
</dd>
|
|
8770
|
+
</dl>
|
|
8771
|
+
</dd>
|
|
8772
|
+
</dl>
|
|
8773
|
+
|
|
8774
|
+
|
|
8775
|
+
</dd>
|
|
8776
|
+
</dl>
|
|
8777
|
+
</details>
|
|
8778
|
+
|
|
8779
|
+
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">reply</a>({ ...params }) -> FiveOneEat.ReplyCommentsResponse</code></summary>
|
|
8780
|
+
<dl>
|
|
8781
|
+
<dd>
|
|
8782
|
+
|
|
8783
|
+
#### 📝 Description
|
|
8784
|
+
|
|
8785
|
+
<dl>
|
|
8786
|
+
<dd>
|
|
8787
|
+
|
|
8788
|
+
<dl>
|
|
8789
|
+
<dd>
|
|
8790
|
+
|
|
8791
|
+
Post a reply to a top-level comment on a published bulletin. Requires authentication.
|
|
8792
|
+
</dd>
|
|
8793
|
+
</dl>
|
|
8794
|
+
</dd>
|
|
8795
|
+
</dl>
|
|
8796
|
+
|
|
8797
|
+
#### 🔌 Usage
|
|
8798
|
+
|
|
8799
|
+
<dl>
|
|
8800
|
+
<dd>
|
|
8801
|
+
|
|
8802
|
+
<dl>
|
|
8803
|
+
<dd>
|
|
8804
|
+
|
|
8805
|
+
```typescript
|
|
8806
|
+
await client.customer.businesses.bulletins.comments.reply({
|
|
8807
|
+
handle: "katzs-deli",
|
|
8808
|
+
bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
8809
|
+
comment: "01950e7d-5678-7000-abcd-ef0123456789",
|
|
8810
|
+
body: "body"
|
|
8811
|
+
});
|
|
8812
|
+
|
|
8813
|
+
```
|
|
8814
|
+
</dd>
|
|
8815
|
+
</dl>
|
|
8816
|
+
</dd>
|
|
8817
|
+
</dl>
|
|
8818
|
+
|
|
8819
|
+
#### ⚙️ Parameters
|
|
8820
|
+
|
|
8821
|
+
<dl>
|
|
8822
|
+
<dd>
|
|
8823
|
+
|
|
8824
|
+
<dl>
|
|
8825
|
+
<dd>
|
|
8826
|
+
|
|
8827
|
+
**request:** `FiveOneEat.customer.businesses.bulletins.StoreBulletinCommentReplyRequest`
|
|
8828
|
+
|
|
8829
|
+
</dd>
|
|
8830
|
+
</dl>
|
|
8831
|
+
|
|
8832
|
+
<dl>
|
|
8833
|
+
<dd>
|
|
8834
|
+
|
|
8835
|
+
**requestOptions:** `CommentsClient.RequestOptions`
|
|
8836
|
+
|
|
8837
|
+
</dd>
|
|
8838
|
+
</dl>
|
|
8839
|
+
</dd>
|
|
8840
|
+
</dl>
|
|
8841
|
+
|
|
8842
|
+
|
|
8246
8843
|
</dd>
|
|
8247
8844
|
</dl>
|
|
8248
8845
|
</details>
|