@51eat/sdk 0.0.58 → 0.0.60
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/errors/ConflictError.d.ts +1 -2
- package/dist/cjs/api/errors/InternalServerError.d.ts +1 -2
- package/dist/cjs/api/resources/business/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/business/client/Client.js +31 -26
- package/dist/cjs/api/resources/business/resources/claims/client/Client.d.ts +63 -0
- package/dist/cjs/api/resources/business/resources/claims/client/Client.js +281 -0
- package/dist/cjs/api/resources/business/resources/claims/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/claims/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.d.ts +11 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/claims/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/claims/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/claims/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/claims/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/claims/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/claims/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/types/index.js +20 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/index.js +4 -1
- package/dist/cjs/api/resources/customer/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/customer/client/Client.js +27 -22
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.js +234 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +37 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/exports.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/exports.js +22 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/index.js +19 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/index.js +42 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.js +189 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.ts +39 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/index.js +19 -0
- package/dist/cjs/api/resources/customer/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/index.js +4 -1
- package/dist/cjs/api/types/BardIngredientSetValues.d.ts +15 -0
- package/dist/cjs/api/types/BardIngredientSetValues.js +3 -0
- package/dist/cjs/api/types/BardMenuItemSetValues.d.ts +2 -0
- package/dist/cjs/api/types/BardPhotoSpreadSetValues.d.ts +18 -0
- package/dist/cjs/api/types/BardPhotoSpreadSetValues.js +11 -0
- package/dist/cjs/api/types/BardPullQuoteSetValues.d.ts +4 -0
- package/dist/cjs/api/types/BardPullQuoteSetValues.js +3 -0
- package/dist/cjs/api/types/BardSetValues.d.ts +13 -1
- package/dist/cjs/api/types/BardTastingNotesSetValues.d.ts +15 -0
- package/dist/cjs/api/types/BardTastingNotesSetValues.js +3 -0
- package/dist/cjs/api/types/BusinessClaimRequest.d.ts +9 -0
- package/dist/cjs/api/types/BusinessClaimRequest.js +3 -0
- package/dist/cjs/api/types/ClaimableBusiness.d.ts +11 -0
- package/dist/cjs/api/types/ClaimableBusiness.js +3 -0
- package/dist/cjs/api/types/CustomerBusinessSubmission.d.ts +19 -0
- package/dist/cjs/api/types/CustomerBusinessSubmission.js +3 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -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/errors/ConflictError.d.mts +1 -2
- package/dist/esm/api/errors/InternalServerError.d.mts +1 -2
- package/dist/esm/api/resources/business/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/business/client/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.d.mts +63 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.mjs +244 -0
- package/dist/esm/api/resources/business/resources/claims/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/claims/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ClaimViaTokenClaimsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.d.mts +14 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/ListClaimableBusinessesClaimsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.d.mts +11 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/StoreClaimRequestRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/claims/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/claims/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/claims/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/claims/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/claims/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimRequestsClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/claims/types/ListClaimableBusinessesClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/types/RequestClaimClaimsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/claims/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/types/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/customer/client/Client.mjs +9 -4
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.mjs +197 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/GetBusinessSubmissionsRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +37 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/exports.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/exports.mjs +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.mjs +152 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.d.mts +13 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/DeletePhotosRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.mts +39 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/index.mjs +3 -0
- package/dist/esm/api/types/BardIngredientSetValues.d.mts +15 -0
- package/dist/esm/api/types/BardIngredientSetValues.mjs +2 -0
- package/dist/esm/api/types/BardMenuItemSetValues.d.mts +2 -0
- package/dist/esm/api/types/BardPhotoSpreadSetValues.d.mts +18 -0
- package/dist/esm/api/types/BardPhotoSpreadSetValues.mjs +8 -0
- package/dist/esm/api/types/BardPullQuoteSetValues.d.mts +4 -0
- package/dist/esm/api/types/BardPullQuoteSetValues.mjs +2 -0
- package/dist/esm/api/types/BardSetValues.d.mts +13 -1
- package/dist/esm/api/types/BardTastingNotesSetValues.d.mts +15 -0
- package/dist/esm/api/types/BardTastingNotesSetValues.mjs +2 -0
- package/dist/esm/api/types/BusinessClaimRequest.d.mts +9 -0
- package/dist/esm/api/types/BusinessClaimRequest.mjs +2 -0
- package/dist/esm/api/types/ClaimableBusiness.d.mts +11 -0
- package/dist/esm/api/types/ClaimableBusiness.mjs +2 -0
- package/dist/esm/api/types/CustomerBusinessSubmission.d.mts +19 -0
- package/dist/esm/api/types/CustomerBusinessSubmission.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +45 -12
- package/reference.md +550 -100
package/reference.md
CHANGED
|
@@ -2407,6 +2407,200 @@ await client.business.businesses.delete({
|
|
|
2407
2407
|
</dl>
|
|
2408
2408
|
|
|
2409
2409
|
|
|
2410
|
+
</dd>
|
|
2411
|
+
</dl>
|
|
2412
|
+
</details>
|
|
2413
|
+
|
|
2414
|
+
## Business Claims
|
|
2415
|
+
<details><summary><code>client.business.claims.<a href="/src/api/resources/business/resources/claims/client/Client.ts">listClaimableBusinesses</a>({ ...params }) -> FiveOneEat.ListClaimableBusinessesClaimsResponse</code></summary>
|
|
2416
|
+
<dl>
|
|
2417
|
+
<dd>
|
|
2418
|
+
|
|
2419
|
+
#### 🔌 Usage
|
|
2420
|
+
|
|
2421
|
+
<dl>
|
|
2422
|
+
<dd>
|
|
2423
|
+
|
|
2424
|
+
<dl>
|
|
2425
|
+
<dd>
|
|
2426
|
+
|
|
2427
|
+
```typescript
|
|
2428
|
+
await client.business.claims.listClaimableBusinesses();
|
|
2429
|
+
|
|
2430
|
+
```
|
|
2431
|
+
</dd>
|
|
2432
|
+
</dl>
|
|
2433
|
+
</dd>
|
|
2434
|
+
</dl>
|
|
2435
|
+
|
|
2436
|
+
#### ⚙️ Parameters
|
|
2437
|
+
|
|
2438
|
+
<dl>
|
|
2439
|
+
<dd>
|
|
2440
|
+
|
|
2441
|
+
<dl>
|
|
2442
|
+
<dd>
|
|
2443
|
+
|
|
2444
|
+
**request:** `FiveOneEat.business.ListClaimableBusinessesClaimsRequest`
|
|
2445
|
+
|
|
2446
|
+
</dd>
|
|
2447
|
+
</dl>
|
|
2448
|
+
|
|
2449
|
+
<dl>
|
|
2450
|
+
<dd>
|
|
2451
|
+
|
|
2452
|
+
**requestOptions:** `ClaimsClient.RequestOptions`
|
|
2453
|
+
|
|
2454
|
+
</dd>
|
|
2455
|
+
</dl>
|
|
2456
|
+
</dd>
|
|
2457
|
+
</dl>
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
</dd>
|
|
2461
|
+
</dl>
|
|
2462
|
+
</details>
|
|
2463
|
+
|
|
2464
|
+
<details><summary><code>client.business.claims.<a href="/src/api/resources/business/resources/claims/client/Client.ts">listClaimRequests</a>() -> FiveOneEat.ListClaimRequestsClaimsResponse</code></summary>
|
|
2465
|
+
<dl>
|
|
2466
|
+
<dd>
|
|
2467
|
+
|
|
2468
|
+
#### 🔌 Usage
|
|
2469
|
+
|
|
2470
|
+
<dl>
|
|
2471
|
+
<dd>
|
|
2472
|
+
|
|
2473
|
+
<dl>
|
|
2474
|
+
<dd>
|
|
2475
|
+
|
|
2476
|
+
```typescript
|
|
2477
|
+
await client.business.claims.listClaimRequests();
|
|
2478
|
+
|
|
2479
|
+
```
|
|
2480
|
+
</dd>
|
|
2481
|
+
</dl>
|
|
2482
|
+
</dd>
|
|
2483
|
+
</dl>
|
|
2484
|
+
|
|
2485
|
+
#### ⚙️ Parameters
|
|
2486
|
+
|
|
2487
|
+
<dl>
|
|
2488
|
+
<dd>
|
|
2489
|
+
|
|
2490
|
+
<dl>
|
|
2491
|
+
<dd>
|
|
2492
|
+
|
|
2493
|
+
**requestOptions:** `ClaimsClient.RequestOptions`
|
|
2494
|
+
|
|
2495
|
+
</dd>
|
|
2496
|
+
</dl>
|
|
2497
|
+
</dd>
|
|
2498
|
+
</dl>
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
</dd>
|
|
2502
|
+
</dl>
|
|
2503
|
+
</details>
|
|
2504
|
+
|
|
2505
|
+
<details><summary><code>client.business.claims.<a href="/src/api/resources/business/resources/claims/client/Client.ts">requestClaim</a>({ ...params }) -> FiveOneEat.RequestClaimClaimsResponse</code></summary>
|
|
2506
|
+
<dl>
|
|
2507
|
+
<dd>
|
|
2508
|
+
|
|
2509
|
+
#### 🔌 Usage
|
|
2510
|
+
|
|
2511
|
+
<dl>
|
|
2512
|
+
<dd>
|
|
2513
|
+
|
|
2514
|
+
<dl>
|
|
2515
|
+
<dd>
|
|
2516
|
+
|
|
2517
|
+
```typescript
|
|
2518
|
+
await client.business.claims.requestClaim({
|
|
2519
|
+
business_id: "business_id",
|
|
2520
|
+
message: "message"
|
|
2521
|
+
});
|
|
2522
|
+
|
|
2523
|
+
```
|
|
2524
|
+
</dd>
|
|
2525
|
+
</dl>
|
|
2526
|
+
</dd>
|
|
2527
|
+
</dl>
|
|
2528
|
+
|
|
2529
|
+
#### ⚙️ Parameters
|
|
2530
|
+
|
|
2531
|
+
<dl>
|
|
2532
|
+
<dd>
|
|
2533
|
+
|
|
2534
|
+
<dl>
|
|
2535
|
+
<dd>
|
|
2536
|
+
|
|
2537
|
+
**request:** `FiveOneEat.business.StoreClaimRequestRequest`
|
|
2538
|
+
|
|
2539
|
+
</dd>
|
|
2540
|
+
</dl>
|
|
2541
|
+
|
|
2542
|
+
<dl>
|
|
2543
|
+
<dd>
|
|
2544
|
+
|
|
2545
|
+
**requestOptions:** `ClaimsClient.RequestOptions`
|
|
2546
|
+
|
|
2547
|
+
</dd>
|
|
2548
|
+
</dl>
|
|
2549
|
+
</dd>
|
|
2550
|
+
</dl>
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
</dd>
|
|
2554
|
+
</dl>
|
|
2555
|
+
</details>
|
|
2556
|
+
|
|
2557
|
+
<details><summary><code>client.business.claims.<a href="/src/api/resources/business/resources/claims/client/Client.ts">claimViaToken</a>({ ...params }) -> FiveOneEat.ClaimViaTokenClaimsResponse</code></summary>
|
|
2558
|
+
<dl>
|
|
2559
|
+
<dd>
|
|
2560
|
+
|
|
2561
|
+
#### 🔌 Usage
|
|
2562
|
+
|
|
2563
|
+
<dl>
|
|
2564
|
+
<dd>
|
|
2565
|
+
|
|
2566
|
+
<dl>
|
|
2567
|
+
<dd>
|
|
2568
|
+
|
|
2569
|
+
```typescript
|
|
2570
|
+
await client.business.claims.claimViaToken({
|
|
2571
|
+
token: "token"
|
|
2572
|
+
});
|
|
2573
|
+
|
|
2574
|
+
```
|
|
2575
|
+
</dd>
|
|
2576
|
+
</dl>
|
|
2577
|
+
</dd>
|
|
2578
|
+
</dl>
|
|
2579
|
+
|
|
2580
|
+
#### ⚙️ Parameters
|
|
2581
|
+
|
|
2582
|
+
<dl>
|
|
2583
|
+
<dd>
|
|
2584
|
+
|
|
2585
|
+
<dl>
|
|
2586
|
+
<dd>
|
|
2587
|
+
|
|
2588
|
+
**request:** `FiveOneEat.business.ClaimViaTokenClaimsRequest`
|
|
2589
|
+
|
|
2590
|
+
</dd>
|
|
2591
|
+
</dl>
|
|
2592
|
+
|
|
2593
|
+
<dl>
|
|
2594
|
+
<dd>
|
|
2595
|
+
|
|
2596
|
+
**requestOptions:** `ClaimsClient.RequestOptions`
|
|
2597
|
+
|
|
2598
|
+
</dd>
|
|
2599
|
+
</dl>
|
|
2600
|
+
</dd>
|
|
2601
|
+
</dl>
|
|
2602
|
+
|
|
2603
|
+
|
|
2410
2604
|
</dd>
|
|
2411
2605
|
</dl>
|
|
2412
2606
|
</details>
|
|
@@ -9492,12 +9686,12 @@ await client.customer.auth.logoutAll();
|
|
|
9492
9686
|
</dl>
|
|
9493
9687
|
</details>
|
|
9494
9688
|
|
|
9495
|
-
## Customer
|
|
9496
|
-
<details><summary><code>client.customer.
|
|
9689
|
+
## Customer BusinessSubmissions
|
|
9690
|
+
<details><summary><code>client.customer.businessSubmissions.<a href="/src/api/resources/customer/resources/businessSubmissions/client/Client.ts">list</a>() -> FiveOneEat.ListBusinessSubmissionsResponse</code></summary>
|
|
9497
9691
|
<dl>
|
|
9498
9692
|
<dd>
|
|
9499
9693
|
|
|
9500
|
-
####
|
|
9694
|
+
#### 🔌 Usage
|
|
9501
9695
|
|
|
9502
9696
|
<dl>
|
|
9503
9697
|
<dd>
|
|
@@ -9505,11 +9699,38 @@ await client.customer.auth.logoutAll();
|
|
|
9505
9699
|
<dl>
|
|
9506
9700
|
<dd>
|
|
9507
9701
|
|
|
9508
|
-
|
|
9702
|
+
```typescript
|
|
9703
|
+
await client.customer.businessSubmissions.list();
|
|
9704
|
+
|
|
9705
|
+
```
|
|
9706
|
+
</dd>
|
|
9707
|
+
</dl>
|
|
9708
|
+
</dd>
|
|
9709
|
+
</dl>
|
|
9710
|
+
|
|
9711
|
+
#### ⚙️ Parameters
|
|
9712
|
+
|
|
9713
|
+
<dl>
|
|
9714
|
+
<dd>
|
|
9715
|
+
|
|
9716
|
+
<dl>
|
|
9717
|
+
<dd>
|
|
9718
|
+
|
|
9719
|
+
**requestOptions:** `BusinessSubmissionsClient.RequestOptions`
|
|
9720
|
+
|
|
9721
|
+
</dd>
|
|
9722
|
+
</dl>
|
|
9509
9723
|
</dd>
|
|
9510
9724
|
</dl>
|
|
9725
|
+
|
|
9726
|
+
|
|
9511
9727
|
</dd>
|
|
9512
9728
|
</dl>
|
|
9729
|
+
</details>
|
|
9730
|
+
|
|
9731
|
+
<details><summary><code>client.customer.businessSubmissions.<a href="/src/api/resources/customer/resources/businessSubmissions/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateBusinessSubmissionsResponse</code></summary>
|
|
9732
|
+
<dl>
|
|
9733
|
+
<dd>
|
|
9513
9734
|
|
|
9514
9735
|
#### 🔌 Usage
|
|
9515
9736
|
|
|
@@ -9520,8 +9741,15 @@ Retrieve core business information for the profile page.
|
|
|
9520
9741
|
<dd>
|
|
9521
9742
|
|
|
9522
9743
|
```typescript
|
|
9523
|
-
await client.customer.
|
|
9524
|
-
|
|
9744
|
+
await client.customer.businessSubmissions.create({
|
|
9745
|
+
name: "name",
|
|
9746
|
+
address: "address",
|
|
9747
|
+
city: "city",
|
|
9748
|
+
state: "state",
|
|
9749
|
+
zipcode: "zipcode",
|
|
9750
|
+
country: "country",
|
|
9751
|
+
latitude: 1.1,
|
|
9752
|
+
longitude: 1.1
|
|
9525
9753
|
});
|
|
9526
9754
|
|
|
9527
9755
|
```
|
|
@@ -9538,7 +9766,7 @@ await client.customer.businesses.profile({
|
|
|
9538
9766
|
<dl>
|
|
9539
9767
|
<dd>
|
|
9540
9768
|
|
|
9541
|
-
**request:** `FiveOneEat.customer.
|
|
9769
|
+
**request:** `FiveOneEat.customer.StoreBusinessSubmissionRequest`
|
|
9542
9770
|
|
|
9543
9771
|
</dd>
|
|
9544
9772
|
</dl>
|
|
@@ -9546,7 +9774,7 @@ await client.customer.businesses.profile({
|
|
|
9546
9774
|
<dl>
|
|
9547
9775
|
<dd>
|
|
9548
9776
|
|
|
9549
|
-
**requestOptions:** `
|
|
9777
|
+
**requestOptions:** `BusinessSubmissionsClient.RequestOptions`
|
|
9550
9778
|
|
|
9551
9779
|
</dd>
|
|
9552
9780
|
</dl>
|
|
@@ -9558,24 +9786,10 @@ await client.customer.businesses.profile({
|
|
|
9558
9786
|
</dl>
|
|
9559
9787
|
</details>
|
|
9560
9788
|
|
|
9561
|
-
<details><summary><code>client.customer.
|
|
9562
|
-
<dl>
|
|
9563
|
-
<dd>
|
|
9564
|
-
|
|
9565
|
-
#### 📝 Description
|
|
9566
|
-
|
|
9567
|
-
<dl>
|
|
9568
|
-
<dd>
|
|
9569
|
-
|
|
9789
|
+
<details><summary><code>client.customer.businessSubmissions.<a href="/src/api/resources/customer/resources/businessSubmissions/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetBusinessSubmissionsResponse</code></summary>
|
|
9570
9790
|
<dl>
|
|
9571
9791
|
<dd>
|
|
9572
9792
|
|
|
9573
|
-
Retrieve all menus organized by groups for the business.
|
|
9574
|
-
</dd>
|
|
9575
|
-
</dl>
|
|
9576
|
-
</dd>
|
|
9577
|
-
</dl>
|
|
9578
|
-
|
|
9579
9793
|
#### 🔌 Usage
|
|
9580
9794
|
|
|
9581
9795
|
<dl>
|
|
@@ -9585,8 +9799,8 @@ Retrieve all menus organized by groups for the business.
|
|
|
9585
9799
|
<dd>
|
|
9586
9800
|
|
|
9587
9801
|
```typescript
|
|
9588
|
-
await client.customer.
|
|
9589
|
-
business: "
|
|
9802
|
+
await client.customer.businessSubmissions.get({
|
|
9803
|
+
business: "business"
|
|
9590
9804
|
});
|
|
9591
9805
|
|
|
9592
9806
|
```
|
|
@@ -9603,7 +9817,7 @@ await client.customer.businesses.menus({
|
|
|
9603
9817
|
<dl>
|
|
9604
9818
|
<dd>
|
|
9605
9819
|
|
|
9606
|
-
**request:** `FiveOneEat.customer.
|
|
9820
|
+
**request:** `FiveOneEat.customer.GetBusinessSubmissionsRequest`
|
|
9607
9821
|
|
|
9608
9822
|
</dd>
|
|
9609
9823
|
</dl>
|
|
@@ -9611,7 +9825,7 @@ await client.customer.businesses.menus({
|
|
|
9611
9825
|
<dl>
|
|
9612
9826
|
<dd>
|
|
9613
9827
|
|
|
9614
|
-
**requestOptions:** `
|
|
9828
|
+
**requestOptions:** `BusinessSubmissionsClient.RequestOptions`
|
|
9615
9829
|
|
|
9616
9830
|
</dd>
|
|
9617
9831
|
</dl>
|
|
@@ -9623,7 +9837,8 @@ await client.customer.businesses.menus({
|
|
|
9623
9837
|
</dl>
|
|
9624
9838
|
</details>
|
|
9625
9839
|
|
|
9626
|
-
|
|
9840
|
+
## Customer Businesses
|
|
9841
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">profile</a>({ ...params }) -> FiveOneEat.ProfileBusinessesResponse</code></summary>
|
|
9627
9842
|
<dl>
|
|
9628
9843
|
<dd>
|
|
9629
9844
|
|
|
@@ -9635,7 +9850,7 @@ await client.customer.businesses.menus({
|
|
|
9635
9850
|
<dl>
|
|
9636
9851
|
<dd>
|
|
9637
9852
|
|
|
9638
|
-
Retrieve
|
|
9853
|
+
Retrieve core business information for the profile page.
|
|
9639
9854
|
</dd>
|
|
9640
9855
|
</dl>
|
|
9641
9856
|
</dd>
|
|
@@ -9650,7 +9865,7 @@ Retrieve photo gallery for the business with pagination.
|
|
|
9650
9865
|
<dd>
|
|
9651
9866
|
|
|
9652
9867
|
```typescript
|
|
9653
|
-
await client.customer.businesses.
|
|
9868
|
+
await client.customer.businesses.profile({
|
|
9654
9869
|
business: "katzs-deli"
|
|
9655
9870
|
});
|
|
9656
9871
|
|
|
@@ -9668,7 +9883,7 @@ await client.customer.businesses.photos({
|
|
|
9668
9883
|
<dl>
|
|
9669
9884
|
<dd>
|
|
9670
9885
|
|
|
9671
|
-
**request:** `FiveOneEat.customer.
|
|
9886
|
+
**request:** `FiveOneEat.customer.ProfileBusinessesRequest`
|
|
9672
9887
|
|
|
9673
9888
|
</dd>
|
|
9674
9889
|
</dl>
|
|
@@ -9688,7 +9903,7 @@ await client.customer.businesses.photos({
|
|
|
9688
9903
|
</dl>
|
|
9689
9904
|
</details>
|
|
9690
9905
|
|
|
9691
|
-
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">
|
|
9906
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">menus</a>({ ...params }) -> FiveOneEat.MenusBusinessesResponse</code></summary>
|
|
9692
9907
|
<dl>
|
|
9693
9908
|
<dd>
|
|
9694
9909
|
|
|
@@ -9700,7 +9915,7 @@ await client.customer.businesses.photos({
|
|
|
9700
9915
|
<dl>
|
|
9701
9916
|
<dd>
|
|
9702
9917
|
|
|
9703
|
-
|
|
9918
|
+
Retrieve all menus organized by groups for the business.
|
|
9704
9919
|
</dd>
|
|
9705
9920
|
</dl>
|
|
9706
9921
|
</dd>
|
|
@@ -9715,7 +9930,7 @@ Add a business to the authenticated user's favorites.
|
|
|
9715
9930
|
<dd>
|
|
9716
9931
|
|
|
9717
9932
|
```typescript
|
|
9718
|
-
await client.customer.businesses.
|
|
9933
|
+
await client.customer.businesses.menus({
|
|
9719
9934
|
business: "katzs-deli"
|
|
9720
9935
|
});
|
|
9721
9936
|
|
|
@@ -9733,7 +9948,7 @@ await client.customer.businesses.favorite({
|
|
|
9733
9948
|
<dl>
|
|
9734
9949
|
<dd>
|
|
9735
9950
|
|
|
9736
|
-
**request:** `FiveOneEat.customer.
|
|
9951
|
+
**request:** `FiveOneEat.customer.MenusBusinessesRequest`
|
|
9737
9952
|
|
|
9738
9953
|
</dd>
|
|
9739
9954
|
</dl>
|
|
@@ -9753,7 +9968,7 @@ await client.customer.businesses.favorite({
|
|
|
9753
9968
|
</dl>
|
|
9754
9969
|
</details>
|
|
9755
9970
|
|
|
9756
|
-
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">
|
|
9971
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">photos</a>({ ...params }) -> FiveOneEat.PhotosBusinessesResponse</code></summary>
|
|
9757
9972
|
<dl>
|
|
9758
9973
|
<dd>
|
|
9759
9974
|
|
|
@@ -9765,7 +9980,7 @@ await client.customer.businesses.favorite({
|
|
|
9765
9980
|
<dl>
|
|
9766
9981
|
<dd>
|
|
9767
9982
|
|
|
9768
|
-
|
|
9983
|
+
Retrieve photo gallery for the business with pagination.
|
|
9769
9984
|
</dd>
|
|
9770
9985
|
</dl>
|
|
9771
9986
|
</dd>
|
|
@@ -9780,7 +9995,137 @@ Remove a business from the authenticated user's favorites.
|
|
|
9780
9995
|
<dd>
|
|
9781
9996
|
|
|
9782
9997
|
```typescript
|
|
9783
|
-
await client.customer.businesses.
|
|
9998
|
+
await client.customer.businesses.photos({
|
|
9999
|
+
business: "katzs-deli"
|
|
10000
|
+
});
|
|
10001
|
+
|
|
10002
|
+
```
|
|
10003
|
+
</dd>
|
|
10004
|
+
</dl>
|
|
10005
|
+
</dd>
|
|
10006
|
+
</dl>
|
|
10007
|
+
|
|
10008
|
+
#### ⚙️ Parameters
|
|
10009
|
+
|
|
10010
|
+
<dl>
|
|
10011
|
+
<dd>
|
|
10012
|
+
|
|
10013
|
+
<dl>
|
|
10014
|
+
<dd>
|
|
10015
|
+
|
|
10016
|
+
**request:** `FiveOneEat.customer.PhotosBusinessesRequest`
|
|
10017
|
+
|
|
10018
|
+
</dd>
|
|
10019
|
+
</dl>
|
|
10020
|
+
|
|
10021
|
+
<dl>
|
|
10022
|
+
<dd>
|
|
10023
|
+
|
|
10024
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
10025
|
+
|
|
10026
|
+
</dd>
|
|
10027
|
+
</dl>
|
|
10028
|
+
</dd>
|
|
10029
|
+
</dl>
|
|
10030
|
+
|
|
10031
|
+
|
|
10032
|
+
</dd>
|
|
10033
|
+
</dl>
|
|
10034
|
+
</details>
|
|
10035
|
+
|
|
10036
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">favorite</a>({ ...params }) -> FiveOneEat.FavoriteBusinessesResponse</code></summary>
|
|
10037
|
+
<dl>
|
|
10038
|
+
<dd>
|
|
10039
|
+
|
|
10040
|
+
#### 📝 Description
|
|
10041
|
+
|
|
10042
|
+
<dl>
|
|
10043
|
+
<dd>
|
|
10044
|
+
|
|
10045
|
+
<dl>
|
|
10046
|
+
<dd>
|
|
10047
|
+
|
|
10048
|
+
Add a business to the authenticated user's favorites.
|
|
10049
|
+
</dd>
|
|
10050
|
+
</dl>
|
|
10051
|
+
</dd>
|
|
10052
|
+
</dl>
|
|
10053
|
+
|
|
10054
|
+
#### 🔌 Usage
|
|
10055
|
+
|
|
10056
|
+
<dl>
|
|
10057
|
+
<dd>
|
|
10058
|
+
|
|
10059
|
+
<dl>
|
|
10060
|
+
<dd>
|
|
10061
|
+
|
|
10062
|
+
```typescript
|
|
10063
|
+
await client.customer.businesses.favorite({
|
|
10064
|
+
business: "katzs-deli"
|
|
10065
|
+
});
|
|
10066
|
+
|
|
10067
|
+
```
|
|
10068
|
+
</dd>
|
|
10069
|
+
</dl>
|
|
10070
|
+
</dd>
|
|
10071
|
+
</dl>
|
|
10072
|
+
|
|
10073
|
+
#### ⚙️ Parameters
|
|
10074
|
+
|
|
10075
|
+
<dl>
|
|
10076
|
+
<dd>
|
|
10077
|
+
|
|
10078
|
+
<dl>
|
|
10079
|
+
<dd>
|
|
10080
|
+
|
|
10081
|
+
**request:** `FiveOneEat.customer.FavoriteBusinessesRequest`
|
|
10082
|
+
|
|
10083
|
+
</dd>
|
|
10084
|
+
</dl>
|
|
10085
|
+
|
|
10086
|
+
<dl>
|
|
10087
|
+
<dd>
|
|
10088
|
+
|
|
10089
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
10090
|
+
|
|
10091
|
+
</dd>
|
|
10092
|
+
</dl>
|
|
10093
|
+
</dd>
|
|
10094
|
+
</dl>
|
|
10095
|
+
|
|
10096
|
+
|
|
10097
|
+
</dd>
|
|
10098
|
+
</dl>
|
|
10099
|
+
</details>
|
|
10100
|
+
|
|
10101
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) -> void</code></summary>
|
|
10102
|
+
<dl>
|
|
10103
|
+
<dd>
|
|
10104
|
+
|
|
10105
|
+
#### 📝 Description
|
|
10106
|
+
|
|
10107
|
+
<dl>
|
|
10108
|
+
<dd>
|
|
10109
|
+
|
|
10110
|
+
<dl>
|
|
10111
|
+
<dd>
|
|
10112
|
+
|
|
10113
|
+
Remove a business from the authenticated user's favorites.
|
|
10114
|
+
</dd>
|
|
10115
|
+
</dl>
|
|
10116
|
+
</dd>
|
|
10117
|
+
</dl>
|
|
10118
|
+
|
|
10119
|
+
#### 🔌 Usage
|
|
10120
|
+
|
|
10121
|
+
<dl>
|
|
10122
|
+
<dd>
|
|
10123
|
+
|
|
10124
|
+
<dl>
|
|
10125
|
+
<dd>
|
|
10126
|
+
|
|
10127
|
+
```typescript
|
|
10128
|
+
await client.customer.businesses.unfavorite({
|
|
9784
10129
|
business: "katzs-deli"
|
|
9785
10130
|
});
|
|
9786
10131
|
|
|
@@ -10480,8 +10825,8 @@ await client.customer.cart.selectShippingOption({
|
|
|
10480
10825
|
</dl>
|
|
10481
10826
|
</details>
|
|
10482
10827
|
|
|
10483
|
-
## Customer
|
|
10484
|
-
<details><summary><code>client.customer.
|
|
10828
|
+
## Customer Discovery
|
|
10829
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.DiscoveryFeed</code></summary>
|
|
10485
10830
|
<dl>
|
|
10486
10831
|
<dd>
|
|
10487
10832
|
|
|
@@ -10493,8 +10838,9 @@ await client.customer.cart.selectShippingOption({
|
|
|
10493
10838
|
<dl>
|
|
10494
10839
|
<dd>
|
|
10495
10840
|
|
|
10496
|
-
|
|
10497
|
-
|
|
10841
|
+
Returns a paginated list of populated business categories, each with up to 10 businesses
|
|
10842
|
+
embedded. Use `total_businesses` to link to the full paginated category view.
|
|
10843
|
+
Supports optional filtering by search term, cuisines, and certifications.
|
|
10498
10844
|
</dd>
|
|
10499
10845
|
</dl>
|
|
10500
10846
|
</dd>
|
|
@@ -10509,9 +10855,8 @@ Results are optimized for map display with essential business information.
|
|
|
10509
10855
|
<dd>
|
|
10510
10856
|
|
|
10511
10857
|
```typescript
|
|
10512
|
-
await client.customer.
|
|
10513
|
-
|
|
10514
|
-
categories: "food-trucks,bakeries"
|
|
10858
|
+
await client.customer.discovery.feed({
|
|
10859
|
+
search: "organic"
|
|
10515
10860
|
});
|
|
10516
10861
|
|
|
10517
10862
|
```
|
|
@@ -10528,7 +10873,7 @@ await client.customer.explore.businesses({
|
|
|
10528
10873
|
<dl>
|
|
10529
10874
|
<dd>
|
|
10530
10875
|
|
|
10531
|
-
**request:** `FiveOneEat.customer.
|
|
10876
|
+
**request:** `FiveOneEat.customer.FeedDiscoveryRequest`
|
|
10532
10877
|
|
|
10533
10878
|
</dd>
|
|
10534
10879
|
</dl>
|
|
@@ -10536,7 +10881,7 @@ await client.customer.explore.businesses({
|
|
|
10536
10881
|
<dl>
|
|
10537
10882
|
<dd>
|
|
10538
10883
|
|
|
10539
|
-
**requestOptions:** `
|
|
10884
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10540
10885
|
|
|
10541
10886
|
</dd>
|
|
10542
10887
|
</dl>
|
|
@@ -10548,8 +10893,7 @@ await client.customer.explore.businesses({
|
|
|
10548
10893
|
</dl>
|
|
10549
10894
|
</details>
|
|
10550
10895
|
|
|
10551
|
-
|
|
10552
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.DiscoveryFeed</code></summary>
|
|
10896
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">highlights</a>() -> FiveOneEat.DiscoveryHighlights</code></summary>
|
|
10553
10897
|
<dl>
|
|
10554
10898
|
<dd>
|
|
10555
10899
|
|
|
@@ -10561,9 +10905,9 @@ await client.customer.explore.businesses({
|
|
|
10561
10905
|
<dl>
|
|
10562
10906
|
<dd>
|
|
10563
10907
|
|
|
10564
|
-
Returns
|
|
10565
|
-
|
|
10566
|
-
|
|
10908
|
+
Returns curated sections of businesses for the discovery home screen,
|
|
10909
|
+
including staff picks and founding partners. This endpoint is designed
|
|
10910
|
+
to be extended with additional sections (e.g. editorial, trending) over time.
|
|
10567
10911
|
</dd>
|
|
10568
10912
|
</dl>
|
|
10569
10913
|
</dd>
|
|
@@ -10578,9 +10922,7 @@ Supports optional filtering by search term, cuisines, and certifications.
|
|
|
10578
10922
|
<dd>
|
|
10579
10923
|
|
|
10580
10924
|
```typescript
|
|
10581
|
-
await client.customer.discovery.
|
|
10582
|
-
search: "organic"
|
|
10583
|
-
});
|
|
10925
|
+
await client.customer.discovery.highlights();
|
|
10584
10926
|
|
|
10585
10927
|
```
|
|
10586
10928
|
</dd>
|
|
@@ -10596,14 +10938,6 @@ await client.customer.discovery.feed({
|
|
|
10596
10938
|
<dl>
|
|
10597
10939
|
<dd>
|
|
10598
10940
|
|
|
10599
|
-
**request:** `FiveOneEat.customer.FeedDiscoveryRequest`
|
|
10600
|
-
|
|
10601
|
-
</dd>
|
|
10602
|
-
</dl>
|
|
10603
|
-
|
|
10604
|
-
<dl>
|
|
10605
|
-
<dd>
|
|
10606
|
-
|
|
10607
10941
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10608
10942
|
|
|
10609
10943
|
</dd>
|
|
@@ -10616,7 +10950,7 @@ await client.customer.discovery.feed({
|
|
|
10616
10950
|
</dl>
|
|
10617
10951
|
</details>
|
|
10618
10952
|
|
|
10619
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
10953
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">categories</a>({ ...params }) -> FiveOneEat.CategoriesDiscoveryResponse</code></summary>
|
|
10620
10954
|
<dl>
|
|
10621
10955
|
<dd>
|
|
10622
10956
|
|
|
@@ -10628,9 +10962,8 @@ await client.customer.discovery.feed({
|
|
|
10628
10962
|
<dl>
|
|
10629
10963
|
<dd>
|
|
10630
10964
|
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
to be extended with additional sections (e.g. editorial, trending) over time.
|
|
10965
|
+
Retrieve a list of all business categories with their business counts.
|
|
10966
|
+
This endpoint is used to populate category filters and navigation.
|
|
10634
10967
|
</dd>
|
|
10635
10968
|
</dl>
|
|
10636
10969
|
</dd>
|
|
@@ -10645,7 +10978,7 @@ to be extended with additional sections (e.g. editorial, trending) over time.
|
|
|
10645
10978
|
<dd>
|
|
10646
10979
|
|
|
10647
10980
|
```typescript
|
|
10648
|
-
await client.customer.discovery.
|
|
10981
|
+
await client.customer.discovery.categories();
|
|
10649
10982
|
|
|
10650
10983
|
```
|
|
10651
10984
|
</dd>
|
|
@@ -10661,6 +10994,14 @@ await client.customer.discovery.highlights();
|
|
|
10661
10994
|
<dl>
|
|
10662
10995
|
<dd>
|
|
10663
10996
|
|
|
10997
|
+
**request:** `FiveOneEat.customer.CategoriesDiscoveryRequest`
|
|
10998
|
+
|
|
10999
|
+
</dd>
|
|
11000
|
+
</dl>
|
|
11001
|
+
|
|
11002
|
+
<dl>
|
|
11003
|
+
<dd>
|
|
11004
|
+
|
|
10664
11005
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10665
11006
|
|
|
10666
11007
|
</dd>
|
|
@@ -10673,7 +11014,7 @@ await client.customer.discovery.highlights();
|
|
|
10673
11014
|
</dl>
|
|
10674
11015
|
</details>
|
|
10675
11016
|
|
|
10676
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
11017
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">cuisines</a>() -> FiveOneEat.CuisinesDiscoveryResponse</code></summary>
|
|
10677
11018
|
<dl>
|
|
10678
11019
|
<dd>
|
|
10679
11020
|
|
|
@@ -10685,8 +11026,8 @@ await client.customer.discovery.highlights();
|
|
|
10685
11026
|
<dl>
|
|
10686
11027
|
<dd>
|
|
10687
11028
|
|
|
10688
|
-
Retrieve a list of all
|
|
10689
|
-
This endpoint is used to populate
|
|
11029
|
+
Retrieve a list of all cuisines, ordered alphabetically.
|
|
11030
|
+
This endpoint is used to populate cuisine filters.
|
|
10690
11031
|
</dd>
|
|
10691
11032
|
</dl>
|
|
10692
11033
|
</dd>
|
|
@@ -10701,7 +11042,7 @@ This endpoint is used to populate category filters and navigation.
|
|
|
10701
11042
|
<dd>
|
|
10702
11043
|
|
|
10703
11044
|
```typescript
|
|
10704
|
-
await client.customer.discovery.
|
|
11045
|
+
await client.customer.discovery.cuisines();
|
|
10705
11046
|
|
|
10706
11047
|
```
|
|
10707
11048
|
</dd>
|
|
@@ -10717,14 +11058,6 @@ await client.customer.discovery.categories();
|
|
|
10717
11058
|
<dl>
|
|
10718
11059
|
<dd>
|
|
10719
11060
|
|
|
10720
|
-
**request:** `FiveOneEat.customer.CategoriesDiscoveryRequest`
|
|
10721
|
-
|
|
10722
|
-
</dd>
|
|
10723
|
-
</dl>
|
|
10724
|
-
|
|
10725
|
-
<dl>
|
|
10726
|
-
<dd>
|
|
10727
|
-
|
|
10728
11061
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10729
11062
|
|
|
10730
11063
|
</dd>
|
|
@@ -10737,7 +11070,7 @@ await client.customer.discovery.categories();
|
|
|
10737
11070
|
</dl>
|
|
10738
11071
|
</details>
|
|
10739
11072
|
|
|
10740
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
11073
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">certifications</a>() -> FiveOneEat.CertificationsDiscoveryResponse</code></summary>
|
|
10741
11074
|
<dl>
|
|
10742
11075
|
<dd>
|
|
10743
11076
|
|
|
@@ -10749,8 +11082,8 @@ await client.customer.discovery.categories();
|
|
|
10749
11082
|
<dl>
|
|
10750
11083
|
<dd>
|
|
10751
11084
|
|
|
10752
|
-
Retrieve a list of all
|
|
10753
|
-
This endpoint is used to populate
|
|
11085
|
+
Retrieve a list of all certifications, ordered alphabetically.
|
|
11086
|
+
This endpoint is used to populate certification filters.
|
|
10754
11087
|
</dd>
|
|
10755
11088
|
</dl>
|
|
10756
11089
|
</dd>
|
|
@@ -10765,7 +11098,7 @@ This endpoint is used to populate cuisine filters.
|
|
|
10765
11098
|
<dd>
|
|
10766
11099
|
|
|
10767
11100
|
```typescript
|
|
10768
|
-
await client.customer.discovery.
|
|
11101
|
+
await client.customer.discovery.certifications();
|
|
10769
11102
|
|
|
10770
11103
|
```
|
|
10771
11104
|
</dd>
|
|
@@ -10793,7 +11126,7 @@ await client.customer.discovery.cuisines();
|
|
|
10793
11126
|
</dl>
|
|
10794
11127
|
</details>
|
|
10795
11128
|
|
|
10796
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
11129
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">allergens</a>() -> FiveOneEat.AllergensDiscoveryResponse</code></summary>
|
|
10797
11130
|
<dl>
|
|
10798
11131
|
<dd>
|
|
10799
11132
|
|
|
@@ -10805,8 +11138,8 @@ await client.customer.discovery.cuisines();
|
|
|
10805
11138
|
<dl>
|
|
10806
11139
|
<dd>
|
|
10807
11140
|
|
|
10808
|
-
Retrieve a list of all
|
|
10809
|
-
|
|
11141
|
+
Retrieve a list of all allergens, ordered alphabetically, for use in
|
|
11142
|
+
filters, labels, and other customer-facing display.
|
|
10810
11143
|
</dd>
|
|
10811
11144
|
</dl>
|
|
10812
11145
|
</dd>
|
|
@@ -10821,7 +11154,7 @@ This endpoint is used to populate certification filters.
|
|
|
10821
11154
|
<dd>
|
|
10822
11155
|
|
|
10823
11156
|
```typescript
|
|
10824
|
-
await client.customer.discovery.
|
|
11157
|
+
await client.customer.discovery.allergens();
|
|
10825
11158
|
|
|
10826
11159
|
```
|
|
10827
11160
|
</dd>
|
|
@@ -10849,7 +11182,7 @@ await client.customer.discovery.certifications();
|
|
|
10849
11182
|
</dl>
|
|
10850
11183
|
</details>
|
|
10851
11184
|
|
|
10852
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
11185
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">categoryBusinesses</a>({ ...params }) -> FiveOneEat.CategoryBusinessesDiscoveryResponse</code></summary>
|
|
10853
11186
|
<dl>
|
|
10854
11187
|
<dd>
|
|
10855
11188
|
|
|
@@ -10861,8 +11194,8 @@ await client.customer.discovery.certifications();
|
|
|
10861
11194
|
<dl>
|
|
10862
11195
|
<dd>
|
|
10863
11196
|
|
|
10864
|
-
Retrieve
|
|
10865
|
-
|
|
11197
|
+
Retrieve businesses for a specific category with pagination support.
|
|
11198
|
+
Results are optimized for list display.
|
|
10866
11199
|
</dd>
|
|
10867
11200
|
</dl>
|
|
10868
11201
|
</dd>
|
|
@@ -10877,7 +11210,10 @@ filters, labels, and other customer-facing display.
|
|
|
10877
11210
|
<dd>
|
|
10878
11211
|
|
|
10879
11212
|
```typescript
|
|
10880
|
-
await client.customer.discovery.
|
|
11213
|
+
await client.customer.discovery.categoryBusinesses({
|
|
11214
|
+
category: "restaurant",
|
|
11215
|
+
search: "coffee"
|
|
11216
|
+
});
|
|
10881
11217
|
|
|
10882
11218
|
```
|
|
10883
11219
|
</dd>
|
|
@@ -10893,6 +11229,14 @@ await client.customer.discovery.allergens();
|
|
|
10893
11229
|
<dl>
|
|
10894
11230
|
<dd>
|
|
10895
11231
|
|
|
11232
|
+
**request:** `FiveOneEat.customer.CategoryBusinessesDiscoveryRequest`
|
|
11233
|
+
|
|
11234
|
+
</dd>
|
|
11235
|
+
</dl>
|
|
11236
|
+
|
|
11237
|
+
<dl>
|
|
11238
|
+
<dd>
|
|
11239
|
+
|
|
10896
11240
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10897
11241
|
|
|
10898
11242
|
</dd>
|
|
@@ -10905,7 +11249,8 @@ await client.customer.discovery.allergens();
|
|
|
10905
11249
|
</dl>
|
|
10906
11250
|
</details>
|
|
10907
11251
|
|
|
10908
|
-
|
|
11252
|
+
## Customer Explore
|
|
11253
|
+
<details><summary><code>client.customer.explore.<a href="/src/api/resources/customer/resources/explore/client/Client.ts">businesses</a>({ ...params }) -> FiveOneEat.BusinessesExploreResponse</code></summary>
|
|
10909
11254
|
<dl>
|
|
10910
11255
|
<dd>
|
|
10911
11256
|
|
|
@@ -10917,8 +11262,8 @@ await client.customer.discovery.allergens();
|
|
|
10917
11262
|
<dl>
|
|
10918
11263
|
<dd>
|
|
10919
11264
|
|
|
10920
|
-
Retrieve businesses
|
|
10921
|
-
Results are optimized for
|
|
11265
|
+
Retrieve businesses within the specified map bounds for map view.
|
|
11266
|
+
Results are optimized for map display with essential business information.
|
|
10922
11267
|
</dd>
|
|
10923
11268
|
</dl>
|
|
10924
11269
|
</dd>
|
|
@@ -10933,9 +11278,9 @@ Results are optimized for list display.
|
|
|
10933
11278
|
<dd>
|
|
10934
11279
|
|
|
10935
11280
|
```typescript
|
|
10936
|
-
await client.customer.
|
|
10937
|
-
|
|
10938
|
-
|
|
11281
|
+
await client.customer.explore.businesses({
|
|
11282
|
+
bounds: "43.5000,42.5000,-73.5000,-76.5000",
|
|
11283
|
+
categories: "food-trucks,bakeries"
|
|
10939
11284
|
});
|
|
10940
11285
|
|
|
10941
11286
|
```
|
|
@@ -10952,7 +11297,7 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10952
11297
|
<dl>
|
|
10953
11298
|
<dd>
|
|
10954
11299
|
|
|
10955
|
-
**request:** `FiveOneEat.customer.
|
|
11300
|
+
**request:** `FiveOneEat.customer.BusinessesExploreRequest`
|
|
10956
11301
|
|
|
10957
11302
|
</dd>
|
|
10958
11303
|
</dl>
|
|
@@ -10960,7 +11305,7 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10960
11305
|
<dl>
|
|
10961
11306
|
<dd>
|
|
10962
11307
|
|
|
10963
|
-
**requestOptions:** `
|
|
11308
|
+
**requestOptions:** `ExploreClient.RequestOptions`
|
|
10964
11309
|
|
|
10965
11310
|
</dd>
|
|
10966
11311
|
</dl>
|
|
@@ -11857,6 +12202,111 @@ await client.customer.auth.tokens.revoke({
|
|
|
11857
12202
|
</dl>
|
|
11858
12203
|
|
|
11859
12204
|
|
|
12205
|
+
</dd>
|
|
12206
|
+
</dl>
|
|
12207
|
+
</details>
|
|
12208
|
+
|
|
12209
|
+
## Customer BusinessSubmissions Photos
|
|
12210
|
+
<details><summary><code>client.customer.businessSubmissions.photos.<a href="/src/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadPhotosResponse</code></summary>
|
|
12211
|
+
<dl>
|
|
12212
|
+
<dd>
|
|
12213
|
+
|
|
12214
|
+
#### 🔌 Usage
|
|
12215
|
+
|
|
12216
|
+
<dl>
|
|
12217
|
+
<dd>
|
|
12218
|
+
|
|
12219
|
+
<dl>
|
|
12220
|
+
<dd>
|
|
12221
|
+
|
|
12222
|
+
```typescript
|
|
12223
|
+
await client.customer.businessSubmissions.photos.upload({
|
|
12224
|
+
image: fs.createReadStream("/path/to/your/file"),
|
|
12225
|
+
business: "business"
|
|
12226
|
+
});
|
|
12227
|
+
|
|
12228
|
+
```
|
|
12229
|
+
</dd>
|
|
12230
|
+
</dl>
|
|
12231
|
+
</dd>
|
|
12232
|
+
</dl>
|
|
12233
|
+
|
|
12234
|
+
#### ⚙️ Parameters
|
|
12235
|
+
|
|
12236
|
+
<dl>
|
|
12237
|
+
<dd>
|
|
12238
|
+
|
|
12239
|
+
<dl>
|
|
12240
|
+
<dd>
|
|
12241
|
+
|
|
12242
|
+
**request:** `FiveOneEat.customer.businessSubmissions.UploadSubmissionPhotoRequest`
|
|
12243
|
+
|
|
12244
|
+
</dd>
|
|
12245
|
+
</dl>
|
|
12246
|
+
|
|
12247
|
+
<dl>
|
|
12248
|
+
<dd>
|
|
12249
|
+
|
|
12250
|
+
**requestOptions:** `PhotosClient.RequestOptions`
|
|
12251
|
+
|
|
12252
|
+
</dd>
|
|
12253
|
+
</dl>
|
|
12254
|
+
</dd>
|
|
12255
|
+
</dl>
|
|
12256
|
+
|
|
12257
|
+
|
|
12258
|
+
</dd>
|
|
12259
|
+
</dl>
|
|
12260
|
+
</details>
|
|
12261
|
+
|
|
12262
|
+
<details><summary><code>client.customer.businessSubmissions.photos.<a href="/src/api/resources/customer/resources/businessSubmissions/resources/photos/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
12263
|
+
<dl>
|
|
12264
|
+
<dd>
|
|
12265
|
+
|
|
12266
|
+
#### 🔌 Usage
|
|
12267
|
+
|
|
12268
|
+
<dl>
|
|
12269
|
+
<dd>
|
|
12270
|
+
|
|
12271
|
+
<dl>
|
|
12272
|
+
<dd>
|
|
12273
|
+
|
|
12274
|
+
```typescript
|
|
12275
|
+
await client.customer.businessSubmissions.photos.delete({
|
|
12276
|
+
business: "business",
|
|
12277
|
+
photo: "photo"
|
|
12278
|
+
});
|
|
12279
|
+
|
|
12280
|
+
```
|
|
12281
|
+
</dd>
|
|
12282
|
+
</dl>
|
|
12283
|
+
</dd>
|
|
12284
|
+
</dl>
|
|
12285
|
+
|
|
12286
|
+
#### ⚙️ Parameters
|
|
12287
|
+
|
|
12288
|
+
<dl>
|
|
12289
|
+
<dd>
|
|
12290
|
+
|
|
12291
|
+
<dl>
|
|
12292
|
+
<dd>
|
|
12293
|
+
|
|
12294
|
+
**request:** `FiveOneEat.customer.businessSubmissions.DeletePhotosRequest`
|
|
12295
|
+
|
|
12296
|
+
</dd>
|
|
12297
|
+
</dl>
|
|
12298
|
+
|
|
12299
|
+
<dl>
|
|
12300
|
+
<dd>
|
|
12301
|
+
|
|
12302
|
+
**requestOptions:** `PhotosClient.RequestOptions`
|
|
12303
|
+
|
|
12304
|
+
</dd>
|
|
12305
|
+
</dl>
|
|
12306
|
+
</dd>
|
|
12307
|
+
</dl>
|
|
12308
|
+
|
|
12309
|
+
|
|
11860
12310
|
</dd>
|
|
11861
12311
|
</dl>
|
|
11862
12312
|
</details>
|