@51eat/sdk 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/business/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/business/client/Client.js +4 -4
- package/dist/cjs/api/resources/business/resources/businesses/client/Client.d.ts +49 -8
- package/dist/cjs/api/resources/business/resources/businesses/client/Client.js +164 -41
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/DeleteBusinessesRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/GetBusinessesRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +59 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.js +24 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +71 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.js +24 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/index.d.ts +3 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/business/resources/businesses/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/businesses/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/GetBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/GetBusinessesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/ListBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/ListBusinessesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/UpdateBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/UpdateBusinessesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/businesses/types/index.js +19 -0
- package/dist/cjs/api/resources/business/resources/categories/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/business/resources/categories/client/Client.js +20 -6
- package/dist/cjs/api/resources/business/resources/categories/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/categories/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/categories/types/ListCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/categories/types/ListCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/categories/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/categories/types/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/certifications/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/business/resources/certifications/client/Client.js +20 -6
- package/dist/cjs/api/resources/business/resources/certifications/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/certifications/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/certifications/types/ListCertificationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/certifications/types/ListCertificationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/certifications/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/certifications/types/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/cuisines/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/business/resources/cuisines/client/Client.js +20 -6
- package/dist/cjs/api/resources/business/resources/cuisines/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/cuisines/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/cuisines/types/ListCuisinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/cuisines/types/ListCuisinesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/cuisines/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/cuisines/types/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/index.js +4 -0
- package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +1 -1
- package/dist/cjs/api/resources/customer/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customer/client/Client.js +3 -3
- package/dist/cjs/api/resources/customer/client/requests/SearchCustomerRequest.d.ts +3 -3
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.js +1 -1
- package/dist/cjs/api/types/BusinessCategory.d.ts +9 -0
- package/dist/cjs/api/types/BusinessCategory.js +3 -0
- package/dist/cjs/api/types/BusinessCertification.d.ts +7 -0
- package/dist/cjs/api/types/BusinessCertification.js +3 -0
- package/dist/cjs/api/types/BusinessCuisine.d.ts +6 -0
- package/dist/cjs/api/types/BusinessCuisine.js +3 -0
- package/dist/cjs/api/types/BusinessProfile.d.ts +1 -1
- package/dist/cjs/api/types/BusinessSearchResult.d.ts +2 -1
- package/dist/cjs/api/types/BusinessSummary.d.ts +2 -1
- package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +1 -1
- package/dist/cjs/api/types/DiscoveryBusiness.d.ts +2 -1
- package/dist/cjs/api/types/DiscoveryCategory.d.ts +6 -2
- package/dist/cjs/api/types/ExploreBusiness.d.ts +2 -1
- 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/resources/business/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/business/client/Client.mjs +4 -4
- package/dist/esm/api/resources/business/resources/businesses/client/Client.d.mts +49 -8
- package/dist/esm/api/resources/business/resources/businesses/client/Client.mjs +164 -41
- package/dist/esm/api/resources/business/resources/businesses/client/requests/DeleteBusinessesRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/GetBusinessesRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +59 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.mjs +21 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +71 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.mjs +21 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/index.d.mts +3 -1
- package/dist/esm/api/resources/business/resources/businesses/client/requests/index.mjs +2 -1
- package/dist/esm/api/resources/business/resources/businesses/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/businesses/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/businesses/types/GetBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/businesses/types/GetBusinessesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/businesses/types/ListBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/businesses/types/ListBusinessesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/businesses/types/UpdateBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/businesses/types/UpdateBusinessesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/businesses/types/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/businesses/types/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/categories/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/business/resources/categories/client/Client.mjs +20 -6
- package/dist/esm/api/resources/business/resources/categories/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/categories/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/categories/types/ListCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/categories/types/ListCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/categories/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/categories/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/certifications/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/business/resources/certifications/client/Client.mjs +20 -6
- package/dist/esm/api/resources/business/resources/certifications/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/certifications/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/certifications/types/ListCertificationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/certifications/types/ListCertificationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/certifications/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/certifications/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/cuisines/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/business/resources/cuisines/client/Client.mjs +20 -6
- package/dist/esm/api/resources/business/resources/cuisines/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/cuisines/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/cuisines/types/ListCuisinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/cuisines/types/ListCuisinesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/cuisines/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/cuisines/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +1 -1
- package/dist/esm/api/resources/customer/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customer/client/Client.mjs +3 -3
- package/dist/esm/api/resources/customer/client/requests/SearchCustomerRequest.d.mts +3 -3
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.mjs +1 -1
- package/dist/esm/api/types/BusinessCategory.d.mts +9 -0
- package/dist/esm/api/types/BusinessCategory.mjs +2 -0
- package/dist/esm/api/types/BusinessCertification.d.mts +7 -0
- package/dist/esm/api/types/BusinessCertification.mjs +2 -0
- package/dist/esm/api/types/BusinessCuisine.d.mts +6 -0
- package/dist/esm/api/types/BusinessCuisine.mjs +2 -0
- package/dist/esm/api/types/BusinessProfile.d.mts +1 -1
- package/dist/esm/api/types/BusinessSearchResult.d.mts +2 -1
- package/dist/esm/api/types/BusinessSummary.d.mts +2 -1
- package/dist/esm/api/types/CustomerBusinessProfile.d.mts +1 -1
- package/dist/esm/api/types/DiscoveryBusiness.d.mts +2 -1
- package/dist/esm/api/types/DiscoveryCategory.d.mts +6 -2
- package/dist/esm/api/types/ExploreBusiness.d.mts +2 -1
- 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 +12 -12
- package/reference.md +354 -214
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessesRequest.d.ts +0 -9
- package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessesRequest.d.mts +0 -9
- /package/dist/cjs/api/resources/business/resources/businesses/client/requests/{UpdateBusinessesRequest.js → ListBusinessesRequest.js} +0 -0
- /package/dist/esm/api/resources/business/resources/businesses/client/requests/{UpdateBusinessesRequest.mjs → ListBusinessesRequest.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -501,7 +501,7 @@ appear per section. Optionally filter by category, city, or geo radius.
|
|
|
501
501
|
```typescript
|
|
502
502
|
await client.customer.search({
|
|
503
503
|
q: "wings",
|
|
504
|
-
|
|
504
|
+
categories: "restaurant,bakery",
|
|
505
505
|
city: "Buffalo",
|
|
506
506
|
cuisines: "italian,mexican",
|
|
507
507
|
certifications: "kosher,halal"
|
|
@@ -1373,29 +1373,12 @@ await client.business.bulletins.togglePublished({
|
|
|
1373
1373
|
</dl>
|
|
1374
1374
|
</details>
|
|
1375
1375
|
|
|
1376
|
-
## Business
|
|
1377
|
-
<details><summary><code>client.business.
|
|
1378
|
-
<dl>
|
|
1379
|
-
<dd>
|
|
1380
|
-
|
|
1381
|
-
#### 🔌 Usage
|
|
1382
|
-
|
|
1383
|
-
<dl>
|
|
1384
|
-
<dd>
|
|
1385
|
-
|
|
1376
|
+
## Business Businesses
|
|
1377
|
+
<details><summary><code>client.business.businesses.<a href="/src/api/resources/business/resources/businesses/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListBusinessesResponse</code></summary>
|
|
1386
1378
|
<dl>
|
|
1387
1379
|
<dd>
|
|
1388
1380
|
|
|
1389
|
-
|
|
1390
|
-
await client.business.gallery.list();
|
|
1391
|
-
|
|
1392
|
-
```
|
|
1393
|
-
</dd>
|
|
1394
|
-
</dl>
|
|
1395
|
-
</dd>
|
|
1396
|
-
</dl>
|
|
1397
|
-
|
|
1398
|
-
#### ⚙️ Parameters
|
|
1381
|
+
#### 📝 Description
|
|
1399
1382
|
|
|
1400
1383
|
<dl>
|
|
1401
1384
|
<dd>
|
|
@@ -1403,21 +1386,12 @@ await client.business.gallery.list();
|
|
|
1403
1386
|
<dl>
|
|
1404
1387
|
<dd>
|
|
1405
1388
|
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
</dd>
|
|
1409
|
-
</dl>
|
|
1389
|
+
Retrieve a paginated list of all businesses owned by the authenticated user.
|
|
1390
|
+
Useful for rendering a business picker in the companion mobile app.
|
|
1410
1391
|
</dd>
|
|
1411
1392
|
</dl>
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
1393
|
</dd>
|
|
1415
1394
|
</dl>
|
|
1416
|
-
</details>
|
|
1417
|
-
|
|
1418
|
-
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadGalleryResponse</code></summary>
|
|
1419
|
-
<dl>
|
|
1420
|
-
<dd>
|
|
1421
1395
|
|
|
1422
1396
|
#### 🔌 Usage
|
|
1423
1397
|
|
|
@@ -1428,9 +1402,7 @@ await client.business.gallery.list();
|
|
|
1428
1402
|
<dd>
|
|
1429
1403
|
|
|
1430
1404
|
```typescript
|
|
1431
|
-
await client.business.
|
|
1432
|
-
photo: fs.createReadStream("/path/to/your/file")
|
|
1433
|
-
});
|
|
1405
|
+
await client.business.businesses.list();
|
|
1434
1406
|
|
|
1435
1407
|
```
|
|
1436
1408
|
</dd>
|
|
@@ -1446,7 +1418,7 @@ await client.business.gallery.upload({
|
|
|
1446
1418
|
<dl>
|
|
1447
1419
|
<dd>
|
|
1448
1420
|
|
|
1449
|
-
**request:** `FiveOneEat.business.
|
|
1421
|
+
**request:** `FiveOneEat.business.ListBusinessesRequest`
|
|
1450
1422
|
|
|
1451
1423
|
</dd>
|
|
1452
1424
|
</dl>
|
|
@@ -1454,7 +1426,7 @@ await client.business.gallery.upload({
|
|
|
1454
1426
|
<dl>
|
|
1455
1427
|
<dd>
|
|
1456
1428
|
|
|
1457
|
-
**requestOptions:** `
|
|
1429
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
1458
1430
|
|
|
1459
1431
|
</dd>
|
|
1460
1432
|
</dl>
|
|
@@ -1466,10 +1438,25 @@ await client.business.gallery.upload({
|
|
|
1466
1438
|
</dl>
|
|
1467
1439
|
</details>
|
|
1468
1440
|
|
|
1469
|
-
<details><summary><code>client.business.
|
|
1441
|
+
<details><summary><code>client.business.businesses.<a href="/src/api/resources/business/resources/businesses/client/Client.ts">create</a>({ ...params }) -> number</code></summary>
|
|
1442
|
+
<dl>
|
|
1443
|
+
<dd>
|
|
1444
|
+
|
|
1445
|
+
#### 📝 Description
|
|
1446
|
+
|
|
1447
|
+
<dl>
|
|
1448
|
+
<dd>
|
|
1449
|
+
|
|
1470
1450
|
<dl>
|
|
1471
1451
|
<dd>
|
|
1472
1452
|
|
|
1453
|
+
Create a new business owned by the authenticated user. The newly created
|
|
1454
|
+
business is automatically set as the user's active business.
|
|
1455
|
+
</dd>
|
|
1456
|
+
</dl>
|
|
1457
|
+
</dd>
|
|
1458
|
+
</dl>
|
|
1459
|
+
|
|
1473
1460
|
#### 🔌 Usage
|
|
1474
1461
|
|
|
1475
1462
|
<dl>
|
|
@@ -1479,11 +1466,10 @@ await client.business.gallery.upload({
|
|
|
1479
1466
|
<dd>
|
|
1480
1467
|
|
|
1481
1468
|
```typescript
|
|
1482
|
-
await client.business.
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
}]
|
|
1469
|
+
await client.business.businesses.create({
|
|
1470
|
+
name: "name",
|
|
1471
|
+
handle: "handle",
|
|
1472
|
+
category_ids: [1]
|
|
1487
1473
|
});
|
|
1488
1474
|
|
|
1489
1475
|
```
|
|
@@ -1500,7 +1486,7 @@ await client.business.gallery.reorder({
|
|
|
1500
1486
|
<dl>
|
|
1501
1487
|
<dd>
|
|
1502
1488
|
|
|
1503
|
-
**request:** `FiveOneEat.business.
|
|
1489
|
+
**request:** `FiveOneEat.business.StoreBusinessRequest`
|
|
1504
1490
|
|
|
1505
1491
|
</dd>
|
|
1506
1492
|
</dl>
|
|
@@ -1508,7 +1494,7 @@ await client.business.gallery.reorder({
|
|
|
1508
1494
|
<dl>
|
|
1509
1495
|
<dd>
|
|
1510
1496
|
|
|
1511
|
-
**requestOptions:** `
|
|
1497
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
1512
1498
|
|
|
1513
1499
|
</dd>
|
|
1514
1500
|
</dl>
|
|
@@ -1520,10 +1506,24 @@ await client.business.gallery.reorder({
|
|
|
1520
1506
|
</dl>
|
|
1521
1507
|
</details>
|
|
1522
1508
|
|
|
1523
|
-
<details><summary><code>client.business.
|
|
1509
|
+
<details><summary><code>client.business.businesses.<a href="/src/api/resources/business/resources/businesses/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetBusinessesResponse</code></summary>
|
|
1510
|
+
<dl>
|
|
1511
|
+
<dd>
|
|
1512
|
+
|
|
1513
|
+
#### 📝 Description
|
|
1514
|
+
|
|
1515
|
+
<dl>
|
|
1516
|
+
<dd>
|
|
1517
|
+
|
|
1524
1518
|
<dl>
|
|
1525
1519
|
<dd>
|
|
1526
1520
|
|
|
1521
|
+
Retrieve a single business owned by the authenticated user.
|
|
1522
|
+
</dd>
|
|
1523
|
+
</dl>
|
|
1524
|
+
</dd>
|
|
1525
|
+
</dl>
|
|
1526
|
+
|
|
1527
1527
|
#### 🔌 Usage
|
|
1528
1528
|
|
|
1529
1529
|
<dl>
|
|
@@ -1533,8 +1533,8 @@ await client.business.gallery.reorder({
|
|
|
1533
1533
|
<dd>
|
|
1534
1534
|
|
|
1535
1535
|
```typescript
|
|
1536
|
-
await client.business.
|
|
1537
|
-
|
|
1536
|
+
await client.business.businesses.get({
|
|
1537
|
+
business: "business"
|
|
1538
1538
|
});
|
|
1539
1539
|
|
|
1540
1540
|
```
|
|
@@ -1551,7 +1551,7 @@ await client.business.gallery.update({
|
|
|
1551
1551
|
<dl>
|
|
1552
1552
|
<dd>
|
|
1553
1553
|
|
|
1554
|
-
**request:** `FiveOneEat.business.
|
|
1554
|
+
**request:** `FiveOneEat.business.GetBusinessesRequest`
|
|
1555
1555
|
|
|
1556
1556
|
</dd>
|
|
1557
1557
|
</dl>
|
|
@@ -1559,7 +1559,7 @@ await client.business.gallery.update({
|
|
|
1559
1559
|
<dl>
|
|
1560
1560
|
<dd>
|
|
1561
1561
|
|
|
1562
|
-
**requestOptions:** `
|
|
1562
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
1563
1563
|
|
|
1564
1564
|
</dd>
|
|
1565
1565
|
</dl>
|
|
@@ -1571,10 +1571,24 @@ await client.business.gallery.update({
|
|
|
1571
1571
|
</dl>
|
|
1572
1572
|
</details>
|
|
1573
1573
|
|
|
1574
|
-
<details><summary><code>client.business.
|
|
1574
|
+
<details><summary><code>client.business.businesses.<a href="/src/api/resources/business/resources/businesses/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateBusinessesResponse</code></summary>
|
|
1575
|
+
<dl>
|
|
1576
|
+
<dd>
|
|
1577
|
+
|
|
1578
|
+
#### 📝 Description
|
|
1579
|
+
|
|
1575
1580
|
<dl>
|
|
1576
1581
|
<dd>
|
|
1577
1582
|
|
|
1583
|
+
<dl>
|
|
1584
|
+
<dd>
|
|
1585
|
+
|
|
1586
|
+
Update core fields for a business owned by the authenticated user.
|
|
1587
|
+
</dd>
|
|
1588
|
+
</dl>
|
|
1589
|
+
</dd>
|
|
1590
|
+
</dl>
|
|
1591
|
+
|
|
1578
1592
|
#### 🔌 Usage
|
|
1579
1593
|
|
|
1580
1594
|
<dl>
|
|
@@ -1584,8 +1598,11 @@ await client.business.gallery.update({
|
|
|
1584
1598
|
<dd>
|
|
1585
1599
|
|
|
1586
1600
|
```typescript
|
|
1587
|
-
await client.business.
|
|
1588
|
-
|
|
1601
|
+
await client.business.businesses.update({
|
|
1602
|
+
business: "business",
|
|
1603
|
+
name: "name",
|
|
1604
|
+
handle: "handle",
|
|
1605
|
+
category_ids: [1]
|
|
1589
1606
|
});
|
|
1590
1607
|
|
|
1591
1608
|
```
|
|
@@ -1602,7 +1619,7 @@ await client.business.gallery.delete({
|
|
|
1602
1619
|
<dl>
|
|
1603
1620
|
<dd>
|
|
1604
1621
|
|
|
1605
|
-
**request:** `FiveOneEat.business.
|
|
1622
|
+
**request:** `FiveOneEat.business.UpdateBusinessRequest`
|
|
1606
1623
|
|
|
1607
1624
|
</dd>
|
|
1608
1625
|
</dl>
|
|
@@ -1610,7 +1627,7 @@ await client.business.gallery.delete({
|
|
|
1610
1627
|
<dl>
|
|
1611
1628
|
<dd>
|
|
1612
1629
|
|
|
1613
|
-
**requestOptions:** `
|
|
1630
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
1614
1631
|
|
|
1615
1632
|
</dd>
|
|
1616
1633
|
</dl>
|
|
@@ -1622,8 +1639,7 @@ await client.business.gallery.delete({
|
|
|
1622
1639
|
</dl>
|
|
1623
1640
|
</details>
|
|
1624
1641
|
|
|
1625
|
-
|
|
1626
|
-
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
1642
|
+
<details><summary><code>client.business.businesses.<a href="/src/api/resources/business/resources/businesses/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
1627
1643
|
<dl>
|
|
1628
1644
|
<dd>
|
|
1629
1645
|
|
|
@@ -1635,7 +1651,7 @@ await client.business.gallery.delete({
|
|
|
1635
1651
|
<dl>
|
|
1636
1652
|
<dd>
|
|
1637
1653
|
|
|
1638
|
-
|
|
1654
|
+
Delete a business owned by the authenticated user.
|
|
1639
1655
|
</dd>
|
|
1640
1656
|
</dl>
|
|
1641
1657
|
</dd>
|
|
@@ -1650,7 +1666,9 @@ Returns all menus with their full group/item hierarchy for the authenticated use
|
|
|
1650
1666
|
<dd>
|
|
1651
1667
|
|
|
1652
1668
|
```typescript
|
|
1653
|
-
await client.business.
|
|
1669
|
+
await client.business.businesses.delete({
|
|
1670
|
+
business: "business"
|
|
1671
|
+
});
|
|
1654
1672
|
|
|
1655
1673
|
```
|
|
1656
1674
|
</dd>
|
|
@@ -1666,7 +1684,15 @@ await client.business.menus.list();
|
|
|
1666
1684
|
<dl>
|
|
1667
1685
|
<dd>
|
|
1668
1686
|
|
|
1669
|
-
**
|
|
1687
|
+
**request:** `FiveOneEat.business.DeleteBusinessesRequest`
|
|
1688
|
+
|
|
1689
|
+
</dd>
|
|
1690
|
+
</dl>
|
|
1691
|
+
|
|
1692
|
+
<dl>
|
|
1693
|
+
<dd>
|
|
1694
|
+
|
|
1695
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
1670
1696
|
|
|
1671
1697
|
</dd>
|
|
1672
1698
|
</dl>
|
|
@@ -1678,7 +1704,8 @@ await client.business.menus.list();
|
|
|
1678
1704
|
</dl>
|
|
1679
1705
|
</details>
|
|
1680
1706
|
|
|
1681
|
-
|
|
1707
|
+
## Business Gallery
|
|
1708
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">list</a>() -> FiveOneEat.ListGalleryResponse</code></summary>
|
|
1682
1709
|
<dl>
|
|
1683
1710
|
<dd>
|
|
1684
1711
|
|
|
@@ -1691,9 +1718,7 @@ await client.business.menus.list();
|
|
|
1691
1718
|
<dd>
|
|
1692
1719
|
|
|
1693
1720
|
```typescript
|
|
1694
|
-
await client.business.
|
|
1695
|
-
name: "name"
|
|
1696
|
-
});
|
|
1721
|
+
await client.business.gallery.list();
|
|
1697
1722
|
|
|
1698
1723
|
```
|
|
1699
1724
|
</dd>
|
|
@@ -1709,15 +1734,7 @@ await client.business.menus.create({
|
|
|
1709
1734
|
<dl>
|
|
1710
1735
|
<dd>
|
|
1711
1736
|
|
|
1712
|
-
**
|
|
1713
|
-
|
|
1714
|
-
</dd>
|
|
1715
|
-
</dl>
|
|
1716
|
-
|
|
1717
|
-
<dl>
|
|
1718
|
-
<dd>
|
|
1719
|
-
|
|
1720
|
-
**requestOptions:** `MenusClient.RequestOptions`
|
|
1737
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1721
1738
|
|
|
1722
1739
|
</dd>
|
|
1723
1740
|
</dl>
|
|
@@ -1729,7 +1746,7 @@ await client.business.menus.create({
|
|
|
1729
1746
|
</dl>
|
|
1730
1747
|
</details>
|
|
1731
1748
|
|
|
1732
|
-
<details><summary><code>client.business.
|
|
1749
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadGalleryResponse</code></summary>
|
|
1733
1750
|
<dl>
|
|
1734
1751
|
<dd>
|
|
1735
1752
|
|
|
@@ -1742,8 +1759,8 @@ await client.business.menus.create({
|
|
|
1742
1759
|
<dd>
|
|
1743
1760
|
|
|
1744
1761
|
```typescript
|
|
1745
|
-
await client.business.
|
|
1746
|
-
|
|
1762
|
+
await client.business.gallery.upload({
|
|
1763
|
+
photo: fs.createReadStream("/path/to/your/file")
|
|
1747
1764
|
});
|
|
1748
1765
|
|
|
1749
1766
|
```
|
|
@@ -1760,7 +1777,7 @@ await client.business.menus.get({
|
|
|
1760
1777
|
<dl>
|
|
1761
1778
|
<dd>
|
|
1762
1779
|
|
|
1763
|
-
**request:** `FiveOneEat.business.
|
|
1780
|
+
**request:** `FiveOneEat.business.StoreGalleryPhotoRequest`
|
|
1764
1781
|
|
|
1765
1782
|
</dd>
|
|
1766
1783
|
</dl>
|
|
@@ -1768,7 +1785,7 @@ await client.business.menus.get({
|
|
|
1768
1785
|
<dl>
|
|
1769
1786
|
<dd>
|
|
1770
1787
|
|
|
1771
|
-
**requestOptions:** `
|
|
1788
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1772
1789
|
|
|
1773
1790
|
</dd>
|
|
1774
1791
|
</dl>
|
|
@@ -1780,7 +1797,7 @@ await client.business.menus.get({
|
|
|
1780
1797
|
</dl>
|
|
1781
1798
|
</details>
|
|
1782
1799
|
|
|
1783
|
-
<details><summary><code>client.business.
|
|
1800
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderGalleryResponse</code></summary>
|
|
1784
1801
|
<dl>
|
|
1785
1802
|
<dd>
|
|
1786
1803
|
|
|
@@ -1793,9 +1810,11 @@ await client.business.menus.get({
|
|
|
1793
1810
|
<dd>
|
|
1794
1811
|
|
|
1795
1812
|
```typescript
|
|
1796
|
-
await client.business.
|
|
1797
|
-
|
|
1798
|
-
|
|
1813
|
+
await client.business.gallery.reorder({
|
|
1814
|
+
photos: [{
|
|
1815
|
+
id: "id",
|
|
1816
|
+
sort_order: 1
|
|
1817
|
+
}]
|
|
1799
1818
|
});
|
|
1800
1819
|
|
|
1801
1820
|
```
|
|
@@ -1812,7 +1831,7 @@ await client.business.menus.update({
|
|
|
1812
1831
|
<dl>
|
|
1813
1832
|
<dd>
|
|
1814
1833
|
|
|
1815
|
-
**request:** `FiveOneEat.business.
|
|
1834
|
+
**request:** `FiveOneEat.business.ReorderGalleryRequest`
|
|
1816
1835
|
|
|
1817
1836
|
</dd>
|
|
1818
1837
|
</dl>
|
|
@@ -1820,7 +1839,7 @@ await client.business.menus.update({
|
|
|
1820
1839
|
<dl>
|
|
1821
1840
|
<dd>
|
|
1822
1841
|
|
|
1823
|
-
**requestOptions:** `
|
|
1842
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1824
1843
|
|
|
1825
1844
|
</dd>
|
|
1826
1845
|
</dl>
|
|
@@ -1832,7 +1851,7 @@ await client.business.menus.update({
|
|
|
1832
1851
|
</dl>
|
|
1833
1852
|
</details>
|
|
1834
1853
|
|
|
1835
|
-
<details><summary><code>client.business.
|
|
1854
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateGalleryResponse</code></summary>
|
|
1836
1855
|
<dl>
|
|
1837
1856
|
<dd>
|
|
1838
1857
|
|
|
@@ -1845,8 +1864,8 @@ await client.business.menus.update({
|
|
|
1845
1864
|
<dd>
|
|
1846
1865
|
|
|
1847
1866
|
```typescript
|
|
1848
|
-
await client.business.
|
|
1849
|
-
|
|
1867
|
+
await client.business.gallery.update({
|
|
1868
|
+
photo: "photo"
|
|
1850
1869
|
});
|
|
1851
1870
|
|
|
1852
1871
|
```
|
|
@@ -1863,7 +1882,7 @@ await client.business.menus.delete({
|
|
|
1863
1882
|
<dl>
|
|
1864
1883
|
<dd>
|
|
1865
1884
|
|
|
1866
|
-
**request:** `FiveOneEat.business.
|
|
1885
|
+
**request:** `FiveOneEat.business.UpdateGalleryPhotoRequest`
|
|
1867
1886
|
|
|
1868
1887
|
</dd>
|
|
1869
1888
|
</dl>
|
|
@@ -1871,7 +1890,7 @@ await client.business.menus.delete({
|
|
|
1871
1890
|
<dl>
|
|
1872
1891
|
<dd>
|
|
1873
1892
|
|
|
1874
|
-
**requestOptions:** `
|
|
1893
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1875
1894
|
|
|
1876
1895
|
</dd>
|
|
1877
1896
|
</dl>
|
|
@@ -1883,27 +1902,10 @@ await client.business.menus.delete({
|
|
|
1883
1902
|
</dl>
|
|
1884
1903
|
</details>
|
|
1885
1904
|
|
|
1886
|
-
|
|
1887
|
-
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
1888
|
-
<dl>
|
|
1889
|
-
<dd>
|
|
1890
|
-
|
|
1891
|
-
#### 📝 Description
|
|
1892
|
-
|
|
1893
|
-
<dl>
|
|
1894
|
-
<dd>
|
|
1895
|
-
|
|
1905
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteGalleryResponse</code></summary>
|
|
1896
1906
|
<dl>
|
|
1897
1907
|
<dd>
|
|
1898
1908
|
|
|
1899
|
-
This endpoint is used by the business companion mobile app to authenticate with
|
|
1900
|
-
Pusher channels. It validates that the authenticated business user has
|
|
1901
|
-
permission to access the requested channel, scoped to their active business.
|
|
1902
|
-
</dd>
|
|
1903
|
-
</dl>
|
|
1904
|
-
</dd>
|
|
1905
|
-
</dl>
|
|
1906
|
-
|
|
1907
1909
|
#### 🔌 Usage
|
|
1908
1910
|
|
|
1909
1911
|
<dl>
|
|
@@ -1913,9 +1915,8 @@ permission to access the requested channel, scoped to their active business.
|
|
|
1913
1915
|
<dd>
|
|
1914
1916
|
|
|
1915
1917
|
```typescript
|
|
1916
|
-
await client.business.
|
|
1917
|
-
|
|
1918
|
-
socket_id: "socket_id"
|
|
1918
|
+
await client.business.gallery.delete({
|
|
1919
|
+
photo: "photo"
|
|
1919
1920
|
});
|
|
1920
1921
|
|
|
1921
1922
|
```
|
|
@@ -1932,7 +1933,7 @@ await client.business.messaging.channelAuth({
|
|
|
1932
1933
|
<dl>
|
|
1933
1934
|
<dd>
|
|
1934
1935
|
|
|
1935
|
-
**request:** `FiveOneEat.business.
|
|
1936
|
+
**request:** `FiveOneEat.business.DeleteGalleryRequest`
|
|
1936
1937
|
|
|
1937
1938
|
</dd>
|
|
1938
1939
|
</dl>
|
|
@@ -1940,7 +1941,7 @@ await client.business.messaging.channelAuth({
|
|
|
1940
1941
|
<dl>
|
|
1941
1942
|
<dd>
|
|
1942
1943
|
|
|
1943
|
-
**requestOptions:** `
|
|
1944
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1944
1945
|
|
|
1945
1946
|
</dd>
|
|
1946
1947
|
</dl>
|
|
@@ -1952,8 +1953,8 @@ await client.business.messaging.channelAuth({
|
|
|
1952
1953
|
</dl>
|
|
1953
1954
|
</details>
|
|
1954
1955
|
|
|
1955
|
-
## Business
|
|
1956
|
-
<details><summary><code>client.business.
|
|
1956
|
+
## Business Menus
|
|
1957
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
1957
1958
|
<dl>
|
|
1958
1959
|
<dd>
|
|
1959
1960
|
|
|
@@ -1965,7 +1966,7 @@ await client.business.messaging.channelAuth({
|
|
|
1965
1966
|
<dl>
|
|
1966
1967
|
<dd>
|
|
1967
1968
|
|
|
1968
|
-
|
|
1969
|
+
Returns all menus with their full group/item hierarchy for the authenticated user's active business.
|
|
1969
1970
|
</dd>
|
|
1970
1971
|
</dl>
|
|
1971
1972
|
</dd>
|
|
@@ -1980,7 +1981,7 @@ Retrieve the full editable profile for the authenticated user's active business.
|
|
|
1980
1981
|
<dd>
|
|
1981
1982
|
|
|
1982
1983
|
```typescript
|
|
1983
|
-
await client.business.
|
|
1984
|
+
await client.business.menus.list();
|
|
1984
1985
|
|
|
1985
1986
|
```
|
|
1986
1987
|
</dd>
|
|
@@ -1996,7 +1997,7 @@ await client.business.profile.get();
|
|
|
1996
1997
|
<dl>
|
|
1997
1998
|
<dd>
|
|
1998
1999
|
|
|
1999
|
-
**requestOptions:** `
|
|
2000
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2000
2001
|
|
|
2001
2002
|
</dd>
|
|
2002
2003
|
</dl>
|
|
@@ -2008,24 +2009,10 @@ await client.business.profile.get();
|
|
|
2008
2009
|
</dl>
|
|
2009
2010
|
</details>
|
|
2010
2011
|
|
|
2011
|
-
<details><summary><code>client.business.
|
|
2012
|
-
<dl>
|
|
2013
|
-
<dd>
|
|
2014
|
-
|
|
2015
|
-
#### 📝 Description
|
|
2016
|
-
|
|
2017
|
-
<dl>
|
|
2018
|
-
<dd>
|
|
2019
|
-
|
|
2012
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateMenusResponse</code></summary>
|
|
2020
2013
|
<dl>
|
|
2021
2014
|
<dd>
|
|
2022
2015
|
|
|
2023
|
-
Update core profile fields for the authenticated user's active business.
|
|
2024
|
-
</dd>
|
|
2025
|
-
</dl>
|
|
2026
|
-
</dd>
|
|
2027
|
-
</dl>
|
|
2028
|
-
|
|
2029
2016
|
#### 🔌 Usage
|
|
2030
2017
|
|
|
2031
2018
|
<dl>
|
|
@@ -2035,7 +2022,9 @@ Update core profile fields for the authenticated user's active business.
|
|
|
2035
2022
|
<dd>
|
|
2036
2023
|
|
|
2037
2024
|
```typescript
|
|
2038
|
-
await client.business.
|
|
2025
|
+
await client.business.menus.create({
|
|
2026
|
+
name: "name"
|
|
2027
|
+
});
|
|
2039
2028
|
|
|
2040
2029
|
```
|
|
2041
2030
|
</dd>
|
|
@@ -2051,7 +2040,7 @@ await client.business.profile.update();
|
|
|
2051
2040
|
<dl>
|
|
2052
2041
|
<dd>
|
|
2053
2042
|
|
|
2054
|
-
**request:** `FiveOneEat.business.
|
|
2043
|
+
**request:** `FiveOneEat.business.StoreMenuRequest`
|
|
2055
2044
|
|
|
2056
2045
|
</dd>
|
|
2057
2046
|
</dl>
|
|
@@ -2059,7 +2048,7 @@ await client.business.profile.update();
|
|
|
2059
2048
|
<dl>
|
|
2060
2049
|
<dd>
|
|
2061
2050
|
|
|
2062
|
-
**requestOptions:** `
|
|
2051
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2063
2052
|
|
|
2064
2053
|
</dd>
|
|
2065
2054
|
</dl>
|
|
@@ -2071,11 +2060,11 @@ await client.business.profile.update();
|
|
|
2071
2060
|
</dl>
|
|
2072
2061
|
</details>
|
|
2073
2062
|
|
|
2074
|
-
<details><summary><code>client.business.
|
|
2063
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetMenusResponse</code></summary>
|
|
2075
2064
|
<dl>
|
|
2076
2065
|
<dd>
|
|
2077
2066
|
|
|
2078
|
-
####
|
|
2067
|
+
#### 🔌 Usage
|
|
2079
2068
|
|
|
2080
2069
|
<dl>
|
|
2081
2070
|
<dd>
|
|
@@ -2083,13 +2072,18 @@ await client.business.profile.update();
|
|
|
2083
2072
|
<dl>
|
|
2084
2073
|
<dd>
|
|
2085
2074
|
|
|
2086
|
-
|
|
2075
|
+
```typescript
|
|
2076
|
+
await client.business.menus.get({
|
|
2077
|
+
menu: "menu"
|
|
2078
|
+
});
|
|
2079
|
+
|
|
2080
|
+
```
|
|
2087
2081
|
</dd>
|
|
2088
2082
|
</dl>
|
|
2089
2083
|
</dd>
|
|
2090
2084
|
</dl>
|
|
2091
2085
|
|
|
2092
|
-
####
|
|
2086
|
+
#### ⚙️ Parameters
|
|
2093
2087
|
|
|
2094
2088
|
<dl>
|
|
2095
2089
|
<dd>
|
|
@@ -2097,62 +2091,81 @@ Replace the set of cuisines associated with the authenticated user's active busi
|
|
|
2097
2091
|
<dl>
|
|
2098
2092
|
<dd>
|
|
2099
2093
|
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2094
|
+
**request:** `FiveOneEat.business.GetMenusRequest`
|
|
2095
|
+
|
|
2096
|
+
</dd>
|
|
2097
|
+
</dl>
|
|
2098
|
+
|
|
2099
|
+
<dl>
|
|
2100
|
+
<dd>
|
|
2101
|
+
|
|
2102
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2103
|
+
|
|
2106
2104
|
</dd>
|
|
2107
2105
|
</dl>
|
|
2108
2106
|
</dd>
|
|
2109
2107
|
</dl>
|
|
2110
2108
|
|
|
2111
|
-
#### ⚙️ Parameters
|
|
2112
2109
|
|
|
2110
|
+
</dd>
|
|
2111
|
+
</dl>
|
|
2112
|
+
</details>
|
|
2113
|
+
|
|
2114
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateMenusResponse</code></summary>
|
|
2113
2115
|
<dl>
|
|
2114
2116
|
<dd>
|
|
2115
2117
|
|
|
2118
|
+
#### 🔌 Usage
|
|
2119
|
+
|
|
2116
2120
|
<dl>
|
|
2117
2121
|
<dd>
|
|
2118
2122
|
|
|
2119
|
-
**request:** `FiveOneEat.business.SyncCuisinesRequest`
|
|
2120
|
-
|
|
2121
|
-
</dd>
|
|
2122
|
-
</dl>
|
|
2123
|
-
|
|
2124
2123
|
<dl>
|
|
2125
2124
|
<dd>
|
|
2126
2125
|
|
|
2127
|
-
|
|
2128
|
-
|
|
2126
|
+
```typescript
|
|
2127
|
+
await client.business.menus.update({
|
|
2128
|
+
menu: "menu",
|
|
2129
|
+
name: "name"
|
|
2130
|
+
});
|
|
2131
|
+
|
|
2132
|
+
```
|
|
2129
2133
|
</dd>
|
|
2130
2134
|
</dl>
|
|
2131
2135
|
</dd>
|
|
2132
2136
|
</dl>
|
|
2133
2137
|
|
|
2138
|
+
#### ⚙️ Parameters
|
|
2134
2139
|
|
|
2135
|
-
</dd>
|
|
2136
|
-
</dl>
|
|
2137
|
-
</details>
|
|
2138
|
-
|
|
2139
|
-
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCertifications</a>({ ...params }) -> FiveOneEat.SyncCertificationsProfileResponse</code></summary>
|
|
2140
2140
|
<dl>
|
|
2141
2141
|
<dd>
|
|
2142
2142
|
|
|
2143
|
-
#### 📝 Description
|
|
2144
|
-
|
|
2145
2143
|
<dl>
|
|
2146
2144
|
<dd>
|
|
2147
2145
|
|
|
2146
|
+
**request:** `FiveOneEat.business.UpdateMenuRequest`
|
|
2147
|
+
|
|
2148
|
+
</dd>
|
|
2149
|
+
</dl>
|
|
2150
|
+
|
|
2148
2151
|
<dl>
|
|
2149
2152
|
<dd>
|
|
2150
2153
|
|
|
2151
|
-
|
|
2154
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2155
|
+
|
|
2156
|
+
</dd>
|
|
2157
|
+
</dl>
|
|
2152
2158
|
</dd>
|
|
2153
2159
|
</dl>
|
|
2160
|
+
|
|
2161
|
+
|
|
2154
2162
|
</dd>
|
|
2155
2163
|
</dl>
|
|
2164
|
+
</details>
|
|
2165
|
+
|
|
2166
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteMenusResponse</code></summary>
|
|
2167
|
+
<dl>
|
|
2168
|
+
<dd>
|
|
2156
2169
|
|
|
2157
2170
|
#### 🔌 Usage
|
|
2158
2171
|
|
|
@@ -2163,8 +2176,8 @@ Replace the set of certifications associated with the authenticated user's activ
|
|
|
2163
2176
|
<dd>
|
|
2164
2177
|
|
|
2165
2178
|
```typescript
|
|
2166
|
-
await client.business.
|
|
2167
|
-
|
|
2179
|
+
await client.business.menus.delete({
|
|
2180
|
+
menu: "menu"
|
|
2168
2181
|
});
|
|
2169
2182
|
|
|
2170
2183
|
```
|
|
@@ -2181,7 +2194,7 @@ await client.business.profile.syncCertifications({
|
|
|
2181
2194
|
<dl>
|
|
2182
2195
|
<dd>
|
|
2183
2196
|
|
|
2184
|
-
**request:** `FiveOneEat.business.
|
|
2197
|
+
**request:** `FiveOneEat.business.DeleteMenusRequest`
|
|
2185
2198
|
|
|
2186
2199
|
</dd>
|
|
2187
2200
|
</dl>
|
|
@@ -2189,7 +2202,7 @@ await client.business.profile.syncCertifications({
|
|
|
2189
2202
|
<dl>
|
|
2190
2203
|
<dd>
|
|
2191
2204
|
|
|
2192
|
-
**requestOptions:** `
|
|
2205
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2193
2206
|
|
|
2194
2207
|
</dd>
|
|
2195
2208
|
</dl>
|
|
@@ -2201,8 +2214,8 @@ await client.business.profile.syncCertifications({
|
|
|
2201
2214
|
</dl>
|
|
2202
2215
|
</details>
|
|
2203
2216
|
|
|
2204
|
-
## Business
|
|
2205
|
-
<details><summary><code>client.business.
|
|
2217
|
+
## Business Messaging
|
|
2218
|
+
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
2206
2219
|
<dl>
|
|
2207
2220
|
<dd>
|
|
2208
2221
|
|
|
@@ -2214,9 +2227,9 @@ await client.business.profile.syncCertifications({
|
|
|
2214
2227
|
<dl>
|
|
2215
2228
|
<dd>
|
|
2216
2229
|
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2230
|
+
This endpoint is used by the business companion mobile app to authenticate with
|
|
2231
|
+
Pusher channels. It validates that the authenticated business user has
|
|
2232
|
+
permission to access the requested channel, scoped to their active business.
|
|
2220
2233
|
</dd>
|
|
2221
2234
|
</dl>
|
|
2222
2235
|
</dd>
|
|
@@ -2231,8 +2244,9 @@ is updated.
|
|
|
2231
2244
|
<dd>
|
|
2232
2245
|
|
|
2233
2246
|
```typescript
|
|
2234
|
-
await client.business.
|
|
2235
|
-
|
|
2247
|
+
await client.business.messaging.channelAuth({
|
|
2248
|
+
channel_name: "channel_name",
|
|
2249
|
+
socket_id: "socket_id"
|
|
2236
2250
|
});
|
|
2237
2251
|
|
|
2238
2252
|
```
|
|
@@ -2249,7 +2263,7 @@ await client.business.pushNotifications.register({
|
|
|
2249
2263
|
<dl>
|
|
2250
2264
|
<dd>
|
|
2251
2265
|
|
|
2252
|
-
**request:** `FiveOneEat.business.
|
|
2266
|
+
**request:** `FiveOneEat.business.ChannelAuthMessagingRequest`
|
|
2253
2267
|
|
|
2254
2268
|
</dd>
|
|
2255
2269
|
</dl>
|
|
@@ -2257,7 +2271,7 @@ await client.business.pushNotifications.register({
|
|
|
2257
2271
|
<dl>
|
|
2258
2272
|
<dd>
|
|
2259
2273
|
|
|
2260
|
-
**requestOptions:** `
|
|
2274
|
+
**requestOptions:** `MessagingClient.RequestOptions`
|
|
2261
2275
|
|
|
2262
2276
|
</dd>
|
|
2263
2277
|
</dl>
|
|
@@ -2269,7 +2283,8 @@ await client.business.pushNotifications.register({
|
|
|
2269
2283
|
</dl>
|
|
2270
2284
|
</details>
|
|
2271
2285
|
|
|
2272
|
-
|
|
2286
|
+
## Business Profile
|
|
2287
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">get</a>() -> FiveOneEat.GetProfileResponse</code></summary>
|
|
2273
2288
|
<dl>
|
|
2274
2289
|
<dd>
|
|
2275
2290
|
|
|
@@ -2281,7 +2296,7 @@ await client.business.pushNotifications.register({
|
|
|
2281
2296
|
<dl>
|
|
2282
2297
|
<dd>
|
|
2283
2298
|
|
|
2284
|
-
|
|
2299
|
+
Retrieve the full editable profile for the authenticated user's active business.
|
|
2285
2300
|
</dd>
|
|
2286
2301
|
</dl>
|
|
2287
2302
|
</dd>
|
|
@@ -2296,9 +2311,7 @@ Delete the authenticated business user's Expo push token registration.
|
|
|
2296
2311
|
<dd>
|
|
2297
2312
|
|
|
2298
2313
|
```typescript
|
|
2299
|
-
await client.business.
|
|
2300
|
-
token: "token"
|
|
2301
|
-
});
|
|
2314
|
+
await client.business.profile.get();
|
|
2302
2315
|
|
|
2303
2316
|
```
|
|
2304
2317
|
</dd>
|
|
@@ -2314,15 +2327,7 @@ await client.business.pushNotifications.unregister({
|
|
|
2314
2327
|
<dl>
|
|
2315
2328
|
<dd>
|
|
2316
2329
|
|
|
2317
|
-
**
|
|
2318
|
-
|
|
2319
|
-
</dd>
|
|
2320
|
-
</dl>
|
|
2321
|
-
|
|
2322
|
-
<dl>
|
|
2323
|
-
<dd>
|
|
2324
|
-
|
|
2325
|
-
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
2330
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2326
2331
|
|
|
2327
2332
|
</dd>
|
|
2328
2333
|
</dl>
|
|
@@ -2334,11 +2339,24 @@ await client.business.pushNotifications.unregister({
|
|
|
2334
2339
|
</dl>
|
|
2335
2340
|
</details>
|
|
2336
2341
|
|
|
2337
|
-
|
|
2338
|
-
<
|
|
2342
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateProfileResponse</code></summary>
|
|
2343
|
+
<dl>
|
|
2344
|
+
<dd>
|
|
2345
|
+
|
|
2346
|
+
#### 📝 Description
|
|
2347
|
+
|
|
2339
2348
|
<dl>
|
|
2340
2349
|
<dd>
|
|
2341
2350
|
|
|
2351
|
+
<dl>
|
|
2352
|
+
<dd>
|
|
2353
|
+
|
|
2354
|
+
Update core profile fields for the authenticated user's active business.
|
|
2355
|
+
</dd>
|
|
2356
|
+
</dl>
|
|
2357
|
+
</dd>
|
|
2358
|
+
</dl>
|
|
2359
|
+
|
|
2342
2360
|
#### 🔌 Usage
|
|
2343
2361
|
|
|
2344
2362
|
<dl>
|
|
@@ -2348,7 +2366,7 @@ await client.business.pushNotifications.unregister({
|
|
|
2348
2366
|
<dd>
|
|
2349
2367
|
|
|
2350
2368
|
```typescript
|
|
2351
|
-
await client.business.
|
|
2369
|
+
await client.business.profile.update();
|
|
2352
2370
|
|
|
2353
2371
|
```
|
|
2354
2372
|
</dd>
|
|
@@ -2364,7 +2382,15 @@ await client.business.businesses.list();
|
|
|
2364
2382
|
<dl>
|
|
2365
2383
|
<dd>
|
|
2366
2384
|
|
|
2367
|
-
**
|
|
2385
|
+
**request:** `FiveOneEat.business.UpdateBusinessProfileRequest`
|
|
2386
|
+
|
|
2387
|
+
</dd>
|
|
2388
|
+
</dl>
|
|
2389
|
+
|
|
2390
|
+
<dl>
|
|
2391
|
+
<dd>
|
|
2392
|
+
|
|
2393
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2368
2394
|
|
|
2369
2395
|
</dd>
|
|
2370
2396
|
</dl>
|
|
@@ -2376,10 +2402,24 @@ await client.business.businesses.list();
|
|
|
2376
2402
|
</dl>
|
|
2377
2403
|
</details>
|
|
2378
2404
|
|
|
2379
|
-
<details><summary><code>client.business.
|
|
2405
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCuisines</a>({ ...params }) -> FiveOneEat.SyncCuisinesProfileResponse</code></summary>
|
|
2380
2406
|
<dl>
|
|
2381
2407
|
<dd>
|
|
2382
2408
|
|
|
2409
|
+
#### 📝 Description
|
|
2410
|
+
|
|
2411
|
+
<dl>
|
|
2412
|
+
<dd>
|
|
2413
|
+
|
|
2414
|
+
<dl>
|
|
2415
|
+
<dd>
|
|
2416
|
+
|
|
2417
|
+
Replace the set of cuisines associated with the authenticated user's active business.
|
|
2418
|
+
</dd>
|
|
2419
|
+
</dl>
|
|
2420
|
+
</dd>
|
|
2421
|
+
</dl>
|
|
2422
|
+
|
|
2383
2423
|
#### 🔌 Usage
|
|
2384
2424
|
|
|
2385
2425
|
<dl>
|
|
@@ -2389,7 +2429,9 @@ await client.business.businesses.list();
|
|
|
2389
2429
|
<dd>
|
|
2390
2430
|
|
|
2391
2431
|
```typescript
|
|
2392
|
-
await client.business.
|
|
2432
|
+
await client.business.profile.syncCuisines({
|
|
2433
|
+
cuisine_ids: [1]
|
|
2434
|
+
});
|
|
2393
2435
|
|
|
2394
2436
|
```
|
|
2395
2437
|
</dd>
|
|
@@ -2405,7 +2447,15 @@ await client.business.businesses.create();
|
|
|
2405
2447
|
<dl>
|
|
2406
2448
|
<dd>
|
|
2407
2449
|
|
|
2408
|
-
**
|
|
2450
|
+
**request:** `FiveOneEat.business.SyncCuisinesRequest`
|
|
2451
|
+
|
|
2452
|
+
</dd>
|
|
2453
|
+
</dl>
|
|
2454
|
+
|
|
2455
|
+
<dl>
|
|
2456
|
+
<dd>
|
|
2457
|
+
|
|
2458
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2409
2459
|
|
|
2410
2460
|
</dd>
|
|
2411
2461
|
</dl>
|
|
@@ -2417,10 +2467,24 @@ await client.business.businesses.create();
|
|
|
2417
2467
|
</dl>
|
|
2418
2468
|
</details>
|
|
2419
2469
|
|
|
2420
|
-
<details><summary><code>client.business.
|
|
2470
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCertifications</a>({ ...params }) -> FiveOneEat.SyncCertificationsProfileResponse</code></summary>
|
|
2421
2471
|
<dl>
|
|
2422
2472
|
<dd>
|
|
2423
2473
|
|
|
2474
|
+
#### 📝 Description
|
|
2475
|
+
|
|
2476
|
+
<dl>
|
|
2477
|
+
<dd>
|
|
2478
|
+
|
|
2479
|
+
<dl>
|
|
2480
|
+
<dd>
|
|
2481
|
+
|
|
2482
|
+
Replace the set of certifications associated with the authenticated user's active business.
|
|
2483
|
+
</dd>
|
|
2484
|
+
</dl>
|
|
2485
|
+
</dd>
|
|
2486
|
+
</dl>
|
|
2487
|
+
|
|
2424
2488
|
#### 🔌 Usage
|
|
2425
2489
|
|
|
2426
2490
|
<dl>
|
|
@@ -2430,8 +2494,8 @@ await client.business.businesses.create();
|
|
|
2430
2494
|
<dd>
|
|
2431
2495
|
|
|
2432
2496
|
```typescript
|
|
2433
|
-
await client.business.
|
|
2434
|
-
|
|
2497
|
+
await client.business.profile.syncCertifications({
|
|
2498
|
+
certification_ids: [1]
|
|
2435
2499
|
});
|
|
2436
2500
|
|
|
2437
2501
|
```
|
|
@@ -2448,7 +2512,7 @@ await client.business.businesses.get({
|
|
|
2448
2512
|
<dl>
|
|
2449
2513
|
<dd>
|
|
2450
2514
|
|
|
2451
|
-
**request:** `FiveOneEat.business.
|
|
2515
|
+
**request:** `FiveOneEat.business.SyncCertificationsRequest`
|
|
2452
2516
|
|
|
2453
2517
|
</dd>
|
|
2454
2518
|
</dl>
|
|
@@ -2456,7 +2520,7 @@ await client.business.businesses.get({
|
|
|
2456
2520
|
<dl>
|
|
2457
2521
|
<dd>
|
|
2458
2522
|
|
|
2459
|
-
**requestOptions:** `
|
|
2523
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2460
2524
|
|
|
2461
2525
|
</dd>
|
|
2462
2526
|
</dl>
|
|
@@ -2468,10 +2532,27 @@ await client.business.businesses.get({
|
|
|
2468
2532
|
</dl>
|
|
2469
2533
|
</details>
|
|
2470
2534
|
|
|
2471
|
-
|
|
2535
|
+
## Business PushNotifications
|
|
2536
|
+
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterPushNotificationsResponse</code></summary>
|
|
2537
|
+
<dl>
|
|
2538
|
+
<dd>
|
|
2539
|
+
|
|
2540
|
+
#### 📝 Description
|
|
2541
|
+
|
|
2472
2542
|
<dl>
|
|
2473
2543
|
<dd>
|
|
2474
2544
|
|
|
2545
|
+
<dl>
|
|
2546
|
+
<dd>
|
|
2547
|
+
|
|
2548
|
+
Register (or update) the authenticated business user's Expo push token for a
|
|
2549
|
+
device. If a `device_id` is provided, an existing registration for that device
|
|
2550
|
+
is updated.
|
|
2551
|
+
</dd>
|
|
2552
|
+
</dl>
|
|
2553
|
+
</dd>
|
|
2554
|
+
</dl>
|
|
2555
|
+
|
|
2475
2556
|
#### 🔌 Usage
|
|
2476
2557
|
|
|
2477
2558
|
<dl>
|
|
@@ -2481,8 +2562,8 @@ await client.business.businesses.get({
|
|
|
2481
2562
|
<dd>
|
|
2482
2563
|
|
|
2483
2564
|
```typescript
|
|
2484
|
-
await client.business.
|
|
2485
|
-
|
|
2565
|
+
await client.business.pushNotifications.register({
|
|
2566
|
+
token: "token"
|
|
2486
2567
|
});
|
|
2487
2568
|
|
|
2488
2569
|
```
|
|
@@ -2499,7 +2580,7 @@ await client.business.businesses.update({
|
|
|
2499
2580
|
<dl>
|
|
2500
2581
|
<dd>
|
|
2501
2582
|
|
|
2502
|
-
**request:** `FiveOneEat.business.
|
|
2583
|
+
**request:** `FiveOneEat.business.StorePushTokenRequest`
|
|
2503
2584
|
|
|
2504
2585
|
</dd>
|
|
2505
2586
|
</dl>
|
|
@@ -2507,7 +2588,7 @@ await client.business.businesses.update({
|
|
|
2507
2588
|
<dl>
|
|
2508
2589
|
<dd>
|
|
2509
2590
|
|
|
2510
|
-
**requestOptions:** `
|
|
2591
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
2511
2592
|
|
|
2512
2593
|
</dd>
|
|
2513
2594
|
</dl>
|
|
@@ -2519,10 +2600,24 @@ await client.business.businesses.update({
|
|
|
2519
2600
|
</dl>
|
|
2520
2601
|
</details>
|
|
2521
2602
|
|
|
2522
|
-
<details><summary><code>client.business.
|
|
2603
|
+
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">unregister</a>({ ...params }) -> void</code></summary>
|
|
2523
2604
|
<dl>
|
|
2524
2605
|
<dd>
|
|
2525
2606
|
|
|
2607
|
+
#### 📝 Description
|
|
2608
|
+
|
|
2609
|
+
<dl>
|
|
2610
|
+
<dd>
|
|
2611
|
+
|
|
2612
|
+
<dl>
|
|
2613
|
+
<dd>
|
|
2614
|
+
|
|
2615
|
+
Delete the authenticated business user's Expo push token registration.
|
|
2616
|
+
</dd>
|
|
2617
|
+
</dl>
|
|
2618
|
+
</dd>
|
|
2619
|
+
</dl>
|
|
2620
|
+
|
|
2526
2621
|
#### 🔌 Usage
|
|
2527
2622
|
|
|
2528
2623
|
<dl>
|
|
@@ -2532,8 +2627,8 @@ await client.business.businesses.update({
|
|
|
2532
2627
|
<dd>
|
|
2533
2628
|
|
|
2534
2629
|
```typescript
|
|
2535
|
-
await client.business.
|
|
2536
|
-
|
|
2630
|
+
await client.business.pushNotifications.unregister({
|
|
2631
|
+
token: "token"
|
|
2537
2632
|
});
|
|
2538
2633
|
|
|
2539
2634
|
```
|
|
@@ -2550,7 +2645,7 @@ await client.business.businesses.delete({
|
|
|
2550
2645
|
<dl>
|
|
2551
2646
|
<dd>
|
|
2552
2647
|
|
|
2553
|
-
**request:** `FiveOneEat.business.
|
|
2648
|
+
**request:** `FiveOneEat.business.UnregisterPushNotificationsRequest`
|
|
2554
2649
|
|
|
2555
2650
|
</dd>
|
|
2556
2651
|
</dl>
|
|
@@ -2558,7 +2653,7 @@ await client.business.businesses.delete({
|
|
|
2558
2653
|
<dl>
|
|
2559
2654
|
<dd>
|
|
2560
2655
|
|
|
2561
|
-
**requestOptions:** `
|
|
2656
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
2562
2657
|
|
|
2563
2658
|
</dd>
|
|
2564
2659
|
</dl>
|
|
@@ -2571,10 +2666,25 @@ await client.business.businesses.delete({
|
|
|
2571
2666
|
</details>
|
|
2572
2667
|
|
|
2573
2668
|
## Business Cuisines
|
|
2574
|
-
<details><summary><code>client.business.cuisines.<a href="/src/api/resources/business/resources/cuisines/client/Client.ts">list</a>() ->
|
|
2669
|
+
<details><summary><code>client.business.cuisines.<a href="/src/api/resources/business/resources/cuisines/client/Client.ts">list</a>() -> FiveOneEat.ListCuisinesResponse</code></summary>
|
|
2670
|
+
<dl>
|
|
2671
|
+
<dd>
|
|
2672
|
+
|
|
2673
|
+
#### 📝 Description
|
|
2674
|
+
|
|
2575
2675
|
<dl>
|
|
2576
2676
|
<dd>
|
|
2577
2677
|
|
|
2678
|
+
<dl>
|
|
2679
|
+
<dd>
|
|
2680
|
+
|
|
2681
|
+
Retrieve a list of all cuisines, ordered alphabetically. Use these IDs to
|
|
2682
|
+
populate the `cuisine_ids` field when updating a business profile.
|
|
2683
|
+
</dd>
|
|
2684
|
+
</dl>
|
|
2685
|
+
</dd>
|
|
2686
|
+
</dl>
|
|
2687
|
+
|
|
2578
2688
|
#### 🔌 Usage
|
|
2579
2689
|
|
|
2580
2690
|
<dl>
|
|
@@ -2613,10 +2723,25 @@ await client.business.cuisines.list();
|
|
|
2613
2723
|
</details>
|
|
2614
2724
|
|
|
2615
2725
|
## Business Certifications
|
|
2616
|
-
<details><summary><code>client.business.certifications.<a href="/src/api/resources/business/resources/certifications/client/Client.ts">list</a>() ->
|
|
2726
|
+
<details><summary><code>client.business.certifications.<a href="/src/api/resources/business/resources/certifications/client/Client.ts">list</a>() -> FiveOneEat.ListCertificationsResponse</code></summary>
|
|
2617
2727
|
<dl>
|
|
2618
2728
|
<dd>
|
|
2619
2729
|
|
|
2730
|
+
#### 📝 Description
|
|
2731
|
+
|
|
2732
|
+
<dl>
|
|
2733
|
+
<dd>
|
|
2734
|
+
|
|
2735
|
+
<dl>
|
|
2736
|
+
<dd>
|
|
2737
|
+
|
|
2738
|
+
Retrieve a list of all certifications, ordered alphabetically. Use these IDs
|
|
2739
|
+
to populate the `certification_ids` field when updating a business profile.
|
|
2740
|
+
</dd>
|
|
2741
|
+
</dl>
|
|
2742
|
+
</dd>
|
|
2743
|
+
</dl>
|
|
2744
|
+
|
|
2620
2745
|
#### 🔌 Usage
|
|
2621
2746
|
|
|
2622
2747
|
<dl>
|
|
@@ -2655,10 +2780,25 @@ await client.business.certifications.list();
|
|
|
2655
2780
|
</details>
|
|
2656
2781
|
|
|
2657
2782
|
## Business Categories
|
|
2658
|
-
<details><summary><code>client.business.categories.<a href="/src/api/resources/business/resources/categories/client/Client.ts">list</a>() ->
|
|
2783
|
+
<details><summary><code>client.business.categories.<a href="/src/api/resources/business/resources/categories/client/Client.ts">list</a>() -> FiveOneEat.ListCategoriesResponse</code></summary>
|
|
2784
|
+
<dl>
|
|
2785
|
+
<dd>
|
|
2786
|
+
|
|
2787
|
+
#### 📝 Description
|
|
2788
|
+
|
|
2659
2789
|
<dl>
|
|
2660
2790
|
<dd>
|
|
2661
2791
|
|
|
2792
|
+
<dl>
|
|
2793
|
+
<dd>
|
|
2794
|
+
|
|
2795
|
+
Retrieve a list of all business categories, ordered by sort order and name.
|
|
2796
|
+
Use these IDs to populate the `category_ids` field when creating or updating a business.
|
|
2797
|
+
</dd>
|
|
2798
|
+
</dl>
|
|
2799
|
+
</dd>
|
|
2800
|
+
</dl>
|
|
2801
|
+
|
|
2662
2802
|
#### 🔌 Usage
|
|
2663
2803
|
|
|
2664
2804
|
<dl>
|
|
@@ -5296,7 +5436,7 @@ await client.customer.discovery.highlights();
|
|
|
5296
5436
|
<dl>
|
|
5297
5437
|
<dd>
|
|
5298
5438
|
|
|
5299
|
-
Retrieve a list of all business categories
|
|
5439
|
+
Retrieve a list of all business categories with their business counts.
|
|
5300
5440
|
This endpoint is used to populate category filters and navigation.
|
|
5301
5441
|
</dd>
|
|
5302
5442
|
</dl>
|