@51eat/sdk 0.0.57 → 0.0.59
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/explore/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/explore/client/Client.js +4 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.ts +4 -1
- 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/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 +3 -0
- package/dist/cjs/api/types/index.js +3 -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/explore/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/explore/client/Client.mjs +4 -2
- package/dist/esm/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.mts +4 -1
- 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/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 +3 -0
- package/dist/esm/api/types/index.mjs +3 -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 -99
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,8 +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
|
-
|
|
10858
|
+
await client.customer.discovery.feed({
|
|
10859
|
+
search: "organic"
|
|
10514
10860
|
});
|
|
10515
10861
|
|
|
10516
10862
|
```
|
|
@@ -10527,7 +10873,7 @@ await client.customer.explore.businesses({
|
|
|
10527
10873
|
<dl>
|
|
10528
10874
|
<dd>
|
|
10529
10875
|
|
|
10530
|
-
**request:** `FiveOneEat.customer.
|
|
10876
|
+
**request:** `FiveOneEat.customer.FeedDiscoveryRequest`
|
|
10531
10877
|
|
|
10532
10878
|
</dd>
|
|
10533
10879
|
</dl>
|
|
@@ -10535,7 +10881,7 @@ await client.customer.explore.businesses({
|
|
|
10535
10881
|
<dl>
|
|
10536
10882
|
<dd>
|
|
10537
10883
|
|
|
10538
|
-
**requestOptions:** `
|
|
10884
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10539
10885
|
|
|
10540
10886
|
</dd>
|
|
10541
10887
|
</dl>
|
|
@@ -10547,8 +10893,7 @@ await client.customer.explore.businesses({
|
|
|
10547
10893
|
</dl>
|
|
10548
10894
|
</details>
|
|
10549
10895
|
|
|
10550
|
-
|
|
10551
|
-
<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>
|
|
10552
10897
|
<dl>
|
|
10553
10898
|
<dd>
|
|
10554
10899
|
|
|
@@ -10560,9 +10905,9 @@ await client.customer.explore.businesses({
|
|
|
10560
10905
|
<dl>
|
|
10561
10906
|
<dd>
|
|
10562
10907
|
|
|
10563
|
-
Returns
|
|
10564
|
-
|
|
10565
|
-
|
|
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.
|
|
10566
10911
|
</dd>
|
|
10567
10912
|
</dl>
|
|
10568
10913
|
</dd>
|
|
@@ -10577,9 +10922,7 @@ Supports optional filtering by search term, cuisines, and certifications.
|
|
|
10577
10922
|
<dd>
|
|
10578
10923
|
|
|
10579
10924
|
```typescript
|
|
10580
|
-
await client.customer.discovery.
|
|
10581
|
-
search: "organic"
|
|
10582
|
-
});
|
|
10925
|
+
await client.customer.discovery.highlights();
|
|
10583
10926
|
|
|
10584
10927
|
```
|
|
10585
10928
|
</dd>
|
|
@@ -10595,14 +10938,6 @@ await client.customer.discovery.feed({
|
|
|
10595
10938
|
<dl>
|
|
10596
10939
|
<dd>
|
|
10597
10940
|
|
|
10598
|
-
**request:** `FiveOneEat.customer.FeedDiscoveryRequest`
|
|
10599
|
-
|
|
10600
|
-
</dd>
|
|
10601
|
-
</dl>
|
|
10602
|
-
|
|
10603
|
-
<dl>
|
|
10604
|
-
<dd>
|
|
10605
|
-
|
|
10606
10941
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10607
10942
|
|
|
10608
10943
|
</dd>
|
|
@@ -10615,7 +10950,7 @@ await client.customer.discovery.feed({
|
|
|
10615
10950
|
</dl>
|
|
10616
10951
|
</details>
|
|
10617
10952
|
|
|
10618
|
-
<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>
|
|
10619
10954
|
<dl>
|
|
10620
10955
|
<dd>
|
|
10621
10956
|
|
|
@@ -10627,9 +10962,8 @@ await client.customer.discovery.feed({
|
|
|
10627
10962
|
<dl>
|
|
10628
10963
|
<dd>
|
|
10629
10964
|
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
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.
|
|
10633
10967
|
</dd>
|
|
10634
10968
|
</dl>
|
|
10635
10969
|
</dd>
|
|
@@ -10644,7 +10978,7 @@ to be extended with additional sections (e.g. editorial, trending) over time.
|
|
|
10644
10978
|
<dd>
|
|
10645
10979
|
|
|
10646
10980
|
```typescript
|
|
10647
|
-
await client.customer.discovery.
|
|
10981
|
+
await client.customer.discovery.categories();
|
|
10648
10982
|
|
|
10649
10983
|
```
|
|
10650
10984
|
</dd>
|
|
@@ -10660,6 +10994,14 @@ await client.customer.discovery.highlights();
|
|
|
10660
10994
|
<dl>
|
|
10661
10995
|
<dd>
|
|
10662
10996
|
|
|
10997
|
+
**request:** `FiveOneEat.customer.CategoriesDiscoveryRequest`
|
|
10998
|
+
|
|
10999
|
+
</dd>
|
|
11000
|
+
</dl>
|
|
11001
|
+
|
|
11002
|
+
<dl>
|
|
11003
|
+
<dd>
|
|
11004
|
+
|
|
10663
11005
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10664
11006
|
|
|
10665
11007
|
</dd>
|
|
@@ -10672,7 +11014,7 @@ await client.customer.discovery.highlights();
|
|
|
10672
11014
|
</dl>
|
|
10673
11015
|
</details>
|
|
10674
11016
|
|
|
10675
|
-
<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>
|
|
10676
11018
|
<dl>
|
|
10677
11019
|
<dd>
|
|
10678
11020
|
|
|
@@ -10684,8 +11026,8 @@ await client.customer.discovery.highlights();
|
|
|
10684
11026
|
<dl>
|
|
10685
11027
|
<dd>
|
|
10686
11028
|
|
|
10687
|
-
Retrieve a list of all
|
|
10688
|
-
This endpoint is used to populate
|
|
11029
|
+
Retrieve a list of all cuisines, ordered alphabetically.
|
|
11030
|
+
This endpoint is used to populate cuisine filters.
|
|
10689
11031
|
</dd>
|
|
10690
11032
|
</dl>
|
|
10691
11033
|
</dd>
|
|
@@ -10700,7 +11042,7 @@ This endpoint is used to populate category filters and navigation.
|
|
|
10700
11042
|
<dd>
|
|
10701
11043
|
|
|
10702
11044
|
```typescript
|
|
10703
|
-
await client.customer.discovery.
|
|
11045
|
+
await client.customer.discovery.cuisines();
|
|
10704
11046
|
|
|
10705
11047
|
```
|
|
10706
11048
|
</dd>
|
|
@@ -10716,14 +11058,6 @@ await client.customer.discovery.categories();
|
|
|
10716
11058
|
<dl>
|
|
10717
11059
|
<dd>
|
|
10718
11060
|
|
|
10719
|
-
**request:** `FiveOneEat.customer.CategoriesDiscoveryRequest`
|
|
10720
|
-
|
|
10721
|
-
</dd>
|
|
10722
|
-
</dl>
|
|
10723
|
-
|
|
10724
|
-
<dl>
|
|
10725
|
-
<dd>
|
|
10726
|
-
|
|
10727
11061
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10728
11062
|
|
|
10729
11063
|
</dd>
|
|
@@ -10736,7 +11070,7 @@ await client.customer.discovery.categories();
|
|
|
10736
11070
|
</dl>
|
|
10737
11071
|
</details>
|
|
10738
11072
|
|
|
10739
|
-
<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>
|
|
10740
11074
|
<dl>
|
|
10741
11075
|
<dd>
|
|
10742
11076
|
|
|
@@ -10748,8 +11082,8 @@ await client.customer.discovery.categories();
|
|
|
10748
11082
|
<dl>
|
|
10749
11083
|
<dd>
|
|
10750
11084
|
|
|
10751
|
-
Retrieve a list of all
|
|
10752
|
-
This endpoint is used to populate
|
|
11085
|
+
Retrieve a list of all certifications, ordered alphabetically.
|
|
11086
|
+
This endpoint is used to populate certification filters.
|
|
10753
11087
|
</dd>
|
|
10754
11088
|
</dl>
|
|
10755
11089
|
</dd>
|
|
@@ -10764,7 +11098,7 @@ This endpoint is used to populate cuisine filters.
|
|
|
10764
11098
|
<dd>
|
|
10765
11099
|
|
|
10766
11100
|
```typescript
|
|
10767
|
-
await client.customer.discovery.
|
|
11101
|
+
await client.customer.discovery.certifications();
|
|
10768
11102
|
|
|
10769
11103
|
```
|
|
10770
11104
|
</dd>
|
|
@@ -10792,7 +11126,7 @@ await client.customer.discovery.cuisines();
|
|
|
10792
11126
|
</dl>
|
|
10793
11127
|
</details>
|
|
10794
11128
|
|
|
10795
|
-
<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>
|
|
10796
11130
|
<dl>
|
|
10797
11131
|
<dd>
|
|
10798
11132
|
|
|
@@ -10804,8 +11138,8 @@ await client.customer.discovery.cuisines();
|
|
|
10804
11138
|
<dl>
|
|
10805
11139
|
<dd>
|
|
10806
11140
|
|
|
10807
|
-
Retrieve a list of all
|
|
10808
|
-
|
|
11141
|
+
Retrieve a list of all allergens, ordered alphabetically, for use in
|
|
11142
|
+
filters, labels, and other customer-facing display.
|
|
10809
11143
|
</dd>
|
|
10810
11144
|
</dl>
|
|
10811
11145
|
</dd>
|
|
@@ -10820,7 +11154,7 @@ This endpoint is used to populate certification filters.
|
|
|
10820
11154
|
<dd>
|
|
10821
11155
|
|
|
10822
11156
|
```typescript
|
|
10823
|
-
await client.customer.discovery.
|
|
11157
|
+
await client.customer.discovery.allergens();
|
|
10824
11158
|
|
|
10825
11159
|
```
|
|
10826
11160
|
</dd>
|
|
@@ -10848,7 +11182,7 @@ await client.customer.discovery.certifications();
|
|
|
10848
11182
|
</dl>
|
|
10849
11183
|
</details>
|
|
10850
11184
|
|
|
10851
|
-
<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>
|
|
10852
11186
|
<dl>
|
|
10853
11187
|
<dd>
|
|
10854
11188
|
|
|
@@ -10860,8 +11194,8 @@ await client.customer.discovery.certifications();
|
|
|
10860
11194
|
<dl>
|
|
10861
11195
|
<dd>
|
|
10862
11196
|
|
|
10863
|
-
Retrieve
|
|
10864
|
-
|
|
11197
|
+
Retrieve businesses for a specific category with pagination support.
|
|
11198
|
+
Results are optimized for list display.
|
|
10865
11199
|
</dd>
|
|
10866
11200
|
</dl>
|
|
10867
11201
|
</dd>
|
|
@@ -10876,7 +11210,10 @@ filters, labels, and other customer-facing display.
|
|
|
10876
11210
|
<dd>
|
|
10877
11211
|
|
|
10878
11212
|
```typescript
|
|
10879
|
-
await client.customer.discovery.
|
|
11213
|
+
await client.customer.discovery.categoryBusinesses({
|
|
11214
|
+
category: "restaurant",
|
|
11215
|
+
search: "coffee"
|
|
11216
|
+
});
|
|
10880
11217
|
|
|
10881
11218
|
```
|
|
10882
11219
|
</dd>
|
|
@@ -10892,6 +11229,14 @@ await client.customer.discovery.allergens();
|
|
|
10892
11229
|
<dl>
|
|
10893
11230
|
<dd>
|
|
10894
11231
|
|
|
11232
|
+
**request:** `FiveOneEat.customer.CategoryBusinessesDiscoveryRequest`
|
|
11233
|
+
|
|
11234
|
+
</dd>
|
|
11235
|
+
</dl>
|
|
11236
|
+
|
|
11237
|
+
<dl>
|
|
11238
|
+
<dd>
|
|
11239
|
+
|
|
10895
11240
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10896
11241
|
|
|
10897
11242
|
</dd>
|
|
@@ -10904,7 +11249,8 @@ await client.customer.discovery.allergens();
|
|
|
10904
11249
|
</dl>
|
|
10905
11250
|
</details>
|
|
10906
11251
|
|
|
10907
|
-
|
|
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>
|
|
10908
11254
|
<dl>
|
|
10909
11255
|
<dd>
|
|
10910
11256
|
|
|
@@ -10916,8 +11262,8 @@ await client.customer.discovery.allergens();
|
|
|
10916
11262
|
<dl>
|
|
10917
11263
|
<dd>
|
|
10918
11264
|
|
|
10919
|
-
Retrieve businesses
|
|
10920
|
-
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.
|
|
10921
11267
|
</dd>
|
|
10922
11268
|
</dl>
|
|
10923
11269
|
</dd>
|
|
@@ -10932,9 +11278,9 @@ Results are optimized for list display.
|
|
|
10932
11278
|
<dd>
|
|
10933
11279
|
|
|
10934
11280
|
```typescript
|
|
10935
|
-
await client.customer.
|
|
10936
|
-
|
|
10937
|
-
|
|
11281
|
+
await client.customer.explore.businesses({
|
|
11282
|
+
bounds: "43.5000,42.5000,-73.5000,-76.5000",
|
|
11283
|
+
categories: "food-trucks,bakeries"
|
|
10938
11284
|
});
|
|
10939
11285
|
|
|
10940
11286
|
```
|
|
@@ -10951,7 +11297,7 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10951
11297
|
<dl>
|
|
10952
11298
|
<dd>
|
|
10953
11299
|
|
|
10954
|
-
**request:** `FiveOneEat.customer.
|
|
11300
|
+
**request:** `FiveOneEat.customer.BusinessesExploreRequest`
|
|
10955
11301
|
|
|
10956
11302
|
</dd>
|
|
10957
11303
|
</dl>
|
|
@@ -10959,7 +11305,7 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10959
11305
|
<dl>
|
|
10960
11306
|
<dd>
|
|
10961
11307
|
|
|
10962
|
-
**requestOptions:** `
|
|
11308
|
+
**requestOptions:** `ExploreClient.RequestOptions`
|
|
10963
11309
|
|
|
10964
11310
|
</dd>
|
|
10965
11311
|
</dl>
|
|
@@ -11856,6 +12202,111 @@ await client.customer.auth.tokens.revoke({
|
|
|
11856
12202
|
</dl>
|
|
11857
12203
|
|
|
11858
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
|
+
|
|
11859
12310
|
</dd>
|
|
11860
12311
|
</dl>
|
|
11861
12312
|
</details>
|