@51eat/sdk 0.0.55 → 0.0.56
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/Client.d.ts +3 -3
- package/dist/cjs/Client.js +11 -11
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +4 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.ts +1 -1
- package/dist/cjs/api/resources/businessProducts/client/requests/AdjustInventoryRequest.d.ts +2 -10
- package/dist/cjs/api/resources/businessProducts/client/requests/AdjustInventoryRequest.js +0 -8
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +4 -1
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +5 -2
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts +3 -3
- package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.ts +19 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts +2 -7
- package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.d.ts +13 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +3 -3
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.d.ts +13 -2
- package/dist/cjs/api/resources/customer/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.ts +3 -3
- package/dist/cjs/api/resources/customerBusinesses/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/Client.js +12 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customerBusinesses/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerBusinesses/exports.d.ts +2 -0
- package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/exports.js +2 -2
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.d.ts +7 -0
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.js +3 -0
- package/dist/cjs/api/resources/customerBusinesses/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/types/index.js +1 -1
- package/dist/cjs/api/resources/customerMyAccount/client/Client.d.ts +16 -0
- package/dist/cjs/api/resources/customerMyAccount/client/Client.js +54 -0
- package/dist/cjs/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.js +3 -0
- package/dist/cjs/api/resources/customerMyAccount/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.d.ts +3 -3
- package/dist/cjs/api/resources/index.js +4 -4
- package/dist/cjs/api/resources/serveAd/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/serveAd/client/Client.js +4 -1
- package/dist/cjs/api/resources/serveAd/types/AdsServeAdResponse.d.ts +2 -2
- package/dist/cjs/api/types/Ad.d.ts +1 -4
- package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
- package/dist/cjs/api/types/BusinessEventCheckInStats.d.ts +1 -1
- package/dist/cjs/api/types/BusinessEventSalesSummary.d.ts +1 -1
- package/dist/cjs/api/types/BusinessMenuItem.d.ts +22 -2
- package/dist/cjs/api/types/Conversation.d.ts +1 -1
- package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +10 -1
- package/dist/cjs/api/types/InventoryChangeType.d.ts +9 -0
- package/dist/cjs/api/types/InventoryChangeType.js +12 -0
- package/dist/cjs/api/types/Ticket.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +1 -1
- package/dist/cjs/api/types/index.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -3
- package/dist/esm/Client.mjs +5 -5
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +4 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.mts +3 -3
- package/dist/esm/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.mts +1 -1
- package/dist/esm/api/resources/businessProducts/client/requests/AdjustInventoryRequest.d.mts +2 -10
- package/dist/esm/api/resources/businessProducts/client/requests/AdjustInventoryRequest.mjs +0 -8
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +4 -1
- package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +5 -2
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.mts +3 -3
- package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.mts +19 -0
- package/dist/esm/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.mts +2 -7
- package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CalculatePriceTicketingResponse.d.mts +13 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +3 -3
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/HoldTicketsTicketingResponse.d.mts +13 -2
- package/dist/esm/api/resources/customer/resources/pushNotifications/types/RegisterPushNotificationsResponse.d.mts +3 -3
- package/dist/esm/api/resources/customerBusinesses/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/Client.mjs +10 -8
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.d.mts +12 -0
- package/dist/esm/api/resources/customerBusinesses/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customerBusinesses/exports.d.mts +2 -0
- package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/exports.mjs +1 -1
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.d.mts +7 -0
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPickupTimeslotsResponse.mjs +2 -0
- package/dist/esm/api/resources/customerBusinesses/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customerBusinesses/types/index.mjs +1 -0
- package/dist/esm/api/resources/customerMyAccount/client/Client.d.mts +16 -0
- package/dist/esm/api/resources/customerMyAccount/client/Client.mjs +54 -0
- package/dist/esm/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.d.mts +9 -0
- package/dist/esm/api/resources/customerMyAccount/client/requests/DownloadAppleWalletPassRequest.mjs +2 -0
- package/dist/esm/api/resources/customerMyAccount/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/index.d.mts +3 -3
- package/dist/esm/api/resources/index.mjs +3 -3
- package/dist/esm/api/resources/serveAd/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/serveAd/client/Client.mjs +4 -1
- package/dist/esm/api/resources/serveAd/types/AdsServeAdResponse.d.mts +2 -2
- package/dist/esm/api/types/Ad.d.mts +1 -4
- package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
- package/dist/esm/api/types/BusinessEventCheckInStats.d.mts +1 -1
- package/dist/esm/api/types/BusinessEventSalesSummary.d.mts +1 -1
- package/dist/esm/api/types/BusinessMenuItem.d.mts +22 -2
- package/dist/esm/api/types/Conversation.d.mts +1 -1
- package/dist/esm/api/types/CustomerProductOrderItem.d.mts +10 -1
- package/dist/esm/api/types/InventoryChangeType.d.mts +9 -0
- package/dist/esm/api/types/InventoryChangeType.mjs +9 -0
- package/dist/esm/api/types/Ticket.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +1 -1
- package/dist/esm/api/types/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -12
- package/reference.md +108 -29
- package/dist/cjs/api/resources/getPickupTimeslots/client/Client.d.ts +0 -28
- package/dist/cjs/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.d.ts +0 -11
- package/dist/cjs/api/resources/getPickupTimeslots/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/getPickupTimeslots/exports.d.ts +0 -2
- package/dist/cjs/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.d.ts +0 -7
- package/dist/cjs/api/resources/getPickupTimeslots/types/index.d.ts +0 -1
- package/dist/cjs/api/types/JsonResource.d.ts +0 -1
- package/dist/esm/api/resources/getPickupTimeslots/client/Client.d.mts +0 -28
- package/dist/esm/api/resources/getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.d.mts +0 -11
- package/dist/esm/api/resources/getPickupTimeslots/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/getPickupTimeslots/exports.d.mts +0 -2
- package/dist/esm/api/resources/getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.d.mts +0 -7
- package/dist/esm/api/resources/getPickupTimeslots/types/index.d.mts +0 -1
- package/dist/esm/api/resources/getPickupTimeslots/types/index.mjs +0 -1
- package/dist/esm/api/types/JsonResource.d.mts +0 -1
- /package/dist/cjs/api/resources/{getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.js → business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.js} +0 -0
- /package/dist/cjs/api/resources/{getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.js → customer/resources/cart/types/GetShippingOptionsCartResponseItem.js} +0 -0
- /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.js +0 -0
- /package/dist/cjs/api/{types/JsonResource.js → resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/index.js +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots/client/requests/BusinessesGetPickupTimeslotsRequest.mjs → business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.mjs} +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots/types/BusinessesGetPickupTimeslotsResponse.mjs → customer/resources/cart/types/GetShippingOptionsCartResponseItem.mjs} +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.mjs +0 -0
- /package/dist/esm/api/{types/JsonResource.mjs → resources/customerBusinesses/client/requests/GetBusinessPickupTimeslotsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/index.mjs +0 -0
|
@@ -119,7 +119,7 @@ export * from "./FavoriteResponse.mjs";
|
|
|
119
119
|
export * from "./ForbiddenErrorBody.mjs";
|
|
120
120
|
export * from "./Image.mjs";
|
|
121
121
|
export * from "./InternalServerErrorBody.mjs";
|
|
122
|
-
export * from "./
|
|
122
|
+
export * from "./InventoryChangeType.mjs";
|
|
123
123
|
export * from "./MenuItemSearchResult.mjs";
|
|
124
124
|
export * from "./Message.mjs";
|
|
125
125
|
export * from "./NotFoundErrorBody.mjs";
|
|
@@ -119,7 +119,7 @@ export * from "./FavoriteResponse.mjs";
|
|
|
119
119
|
export * from "./ForbiddenErrorBody.mjs";
|
|
120
120
|
export * from "./Image.mjs";
|
|
121
121
|
export * from "./InternalServerErrorBody.mjs";
|
|
122
|
-
export * from "./
|
|
122
|
+
export * from "./InventoryChangeType.mjs";
|
|
123
123
|
export * from "./MenuItemSearchResult.mjs";
|
|
124
124
|
export * from "./Message.mjs";
|
|
125
125
|
export * from "./NotFoundErrorBody.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.56";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.56";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@51eat/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,6 +55,17 @@
|
|
|
55
55
|
},
|
|
56
56
|
"default": "./dist/cjs/api/resources/businessShipping/exports.js"
|
|
57
57
|
},
|
|
58
|
+
"./customerBusinesses": {
|
|
59
|
+
"import": {
|
|
60
|
+
"types": "./dist/esm/api/resources/customerBusinesses/exports.d.mts",
|
|
61
|
+
"default": "./dist/esm/api/resources/customerBusinesses/exports.mjs"
|
|
62
|
+
},
|
|
63
|
+
"require": {
|
|
64
|
+
"types": "./dist/cjs/api/resources/customerBusinesses/exports.d.ts",
|
|
65
|
+
"default": "./dist/cjs/api/resources/customerBusinesses/exports.js"
|
|
66
|
+
},
|
|
67
|
+
"default": "./dist/cjs/api/resources/customerBusinesses/exports.js"
|
|
68
|
+
},
|
|
58
69
|
"./customerEvents": {
|
|
59
70
|
"import": {
|
|
60
71
|
"types": "./dist/esm/api/resources/customerEvents/exports.d.mts",
|
|
@@ -99,17 +110,6 @@
|
|
|
99
110
|
},
|
|
100
111
|
"default": "./dist/cjs/api/resources/customer/exports.js"
|
|
101
112
|
},
|
|
102
|
-
"./getPickupTimeslots": {
|
|
103
|
-
"import": {
|
|
104
|
-
"types": "./dist/esm/api/resources/getPickupTimeslots/exports.d.mts",
|
|
105
|
-
"default": "./dist/esm/api/resources/getPickupTimeslots/exports.mjs"
|
|
106
|
-
},
|
|
107
|
-
"require": {
|
|
108
|
-
"types": "./dist/cjs/api/resources/getPickupTimeslots/exports.d.ts",
|
|
109
|
-
"default": "./dist/cjs/api/resources/getPickupTimeslots/exports.js"
|
|
110
|
-
},
|
|
111
|
-
"default": "./dist/cjs/api/resources/getPickupTimeslots/exports.js"
|
|
112
|
-
},
|
|
113
113
|
"./recordClick": {
|
|
114
114
|
"import": {
|
|
115
115
|
"types": "./dist/esm/api/resources/recordClick/exports.d.mts",
|
package/reference.md
CHANGED
|
@@ -656,6 +656,73 @@ await client.businessShipping.deleteBusinessShippingRate({
|
|
|
656
656
|
</dl>
|
|
657
657
|
|
|
658
658
|
|
|
659
|
+
</dd>
|
|
660
|
+
</dl>
|
|
661
|
+
</details>
|
|
662
|
+
|
|
663
|
+
## Customer: Businesses
|
|
664
|
+
<details><summary><code>client.customerBusinesses.<a href="/src/api/resources/customerBusinesses/client/Client.ts">getBusinessPickupTimeslots</a>({ ...params }) -> FiveOneEat.GetBusinessPickupTimeslotsResponse</code></summary>
|
|
665
|
+
<dl>
|
|
666
|
+
<dd>
|
|
667
|
+
|
|
668
|
+
#### 📝 Description
|
|
669
|
+
|
|
670
|
+
<dl>
|
|
671
|
+
<dd>
|
|
672
|
+
|
|
673
|
+
<dl>
|
|
674
|
+
<dd>
|
|
675
|
+
|
|
676
|
+
Returns available pickup timeslots for a business on a given date.
|
|
677
|
+
</dd>
|
|
678
|
+
</dl>
|
|
679
|
+
</dd>
|
|
680
|
+
</dl>
|
|
681
|
+
|
|
682
|
+
#### 🔌 Usage
|
|
683
|
+
|
|
684
|
+
<dl>
|
|
685
|
+
<dd>
|
|
686
|
+
|
|
687
|
+
<dl>
|
|
688
|
+
<dd>
|
|
689
|
+
|
|
690
|
+
```typescript
|
|
691
|
+
await client.customerBusinesses.getBusinessPickupTimeslots({
|
|
692
|
+
handle: "katzs-deli",
|
|
693
|
+
date: "2023-01-15"
|
|
694
|
+
});
|
|
695
|
+
|
|
696
|
+
```
|
|
697
|
+
</dd>
|
|
698
|
+
</dl>
|
|
699
|
+
</dd>
|
|
700
|
+
</dl>
|
|
701
|
+
|
|
702
|
+
#### ⚙️ Parameters
|
|
703
|
+
|
|
704
|
+
<dl>
|
|
705
|
+
<dd>
|
|
706
|
+
|
|
707
|
+
<dl>
|
|
708
|
+
<dd>
|
|
709
|
+
|
|
710
|
+
**request:** `FiveOneEat.GetBusinessPickupTimeslotsRequest`
|
|
711
|
+
|
|
712
|
+
</dd>
|
|
713
|
+
</dl>
|
|
714
|
+
|
|
715
|
+
<dl>
|
|
716
|
+
<dd>
|
|
717
|
+
|
|
718
|
+
**requestOptions:** `CustomerBusinessesClient.RequestOptions`
|
|
719
|
+
|
|
720
|
+
</dd>
|
|
721
|
+
</dl>
|
|
722
|
+
</dd>
|
|
723
|
+
</dl>
|
|
724
|
+
|
|
725
|
+
|
|
659
726
|
</dd>
|
|
660
727
|
</dl>
|
|
661
728
|
</details>
|
|
@@ -845,7 +912,7 @@ await client.customerMyAccount.getMyTicket({
|
|
|
845
912
|
</dl>
|
|
846
913
|
</details>
|
|
847
914
|
|
|
848
|
-
<details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">
|
|
915
|
+
<details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">downloadAppleWalletPass</a>({ ...params }) -> Record<string, unknown></code></summary>
|
|
849
916
|
<dl>
|
|
850
917
|
<dd>
|
|
851
918
|
|
|
@@ -857,7 +924,7 @@ await client.customerMyAccount.getMyTicket({
|
|
|
857
924
|
<dl>
|
|
858
925
|
<dd>
|
|
859
926
|
|
|
860
|
-
|
|
927
|
+
Returns a signed .pkpass file for import into Apple Wallet.
|
|
861
928
|
</dd>
|
|
862
929
|
</dl>
|
|
863
930
|
</dd>
|
|
@@ -872,8 +939,8 @@ Retrieve a single ticket order belonging to the authenticated user.
|
|
|
872
939
|
<dd>
|
|
873
940
|
|
|
874
941
|
```typescript
|
|
875
|
-
await client.customerMyAccount.
|
|
876
|
-
|
|
942
|
+
await client.customerMyAccount.downloadAppleWalletPass({
|
|
943
|
+
ticketId: "ticketId"
|
|
877
944
|
});
|
|
878
945
|
|
|
879
946
|
```
|
|
@@ -890,7 +957,7 @@ await client.customerMyAccount.getMyTicketOrder({
|
|
|
890
957
|
<dl>
|
|
891
958
|
<dd>
|
|
892
959
|
|
|
893
|
-
**request:** `FiveOneEat.
|
|
960
|
+
**request:** `FiveOneEat.DownloadAppleWalletPassRequest`
|
|
894
961
|
|
|
895
962
|
</dd>
|
|
896
963
|
</dl>
|
|
@@ -910,8 +977,7 @@ await client.customerMyAccount.getMyTicketOrder({
|
|
|
910
977
|
</dl>
|
|
911
978
|
</details>
|
|
912
979
|
|
|
913
|
-
|
|
914
|
-
<details><summary><code>client.customer.<a href="/src/api/resources/customer/client/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchCustomerResponse</code></summary>
|
|
980
|
+
<details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">getMyTicketOrder</a>({ ...params }) -> FiveOneEat.GetMyTicketOrderResponse</code></summary>
|
|
915
981
|
<dl>
|
|
916
982
|
<dd>
|
|
917
983
|
|
|
@@ -923,8 +989,7 @@ await client.customerMyAccount.getMyTicketOrder({
|
|
|
923
989
|
<dl>
|
|
924
990
|
<dd>
|
|
925
991
|
|
|
926
|
-
|
|
927
|
-
appear per section. Optionally filter by category, city, or geo radius.
|
|
992
|
+
Retrieve a single ticket order belonging to the authenticated user.
|
|
928
993
|
</dd>
|
|
929
994
|
</dl>
|
|
930
995
|
</dd>
|
|
@@ -939,12 +1004,8 @@ appear per section. Optionally filter by category, city, or geo radius.
|
|
|
939
1004
|
<dd>
|
|
940
1005
|
|
|
941
1006
|
```typescript
|
|
942
|
-
await client.
|
|
943
|
-
|
|
944
|
-
categories: "restaurant,bakery",
|
|
945
|
-
city: "Buffalo",
|
|
946
|
-
cuisines: "italian,mexican",
|
|
947
|
-
certifications: "kosher,halal"
|
|
1007
|
+
await client.customerMyAccount.getMyTicketOrder({
|
|
1008
|
+
orderId: "orderId"
|
|
948
1009
|
});
|
|
949
1010
|
|
|
950
1011
|
```
|
|
@@ -961,7 +1022,7 @@ await client.customer.search({
|
|
|
961
1022
|
<dl>
|
|
962
1023
|
<dd>
|
|
963
1024
|
|
|
964
|
-
**request:** `FiveOneEat.
|
|
1025
|
+
**request:** `FiveOneEat.GetMyTicketOrderRequest`
|
|
965
1026
|
|
|
966
1027
|
</dd>
|
|
967
1028
|
</dl>
|
|
@@ -969,7 +1030,7 @@ await client.customer.search({
|
|
|
969
1030
|
<dl>
|
|
970
1031
|
<dd>
|
|
971
1032
|
|
|
972
|
-
**requestOptions:** `
|
|
1033
|
+
**requestOptions:** `CustomerMyAccountClient.RequestOptions`
|
|
973
1034
|
|
|
974
1035
|
</dd>
|
|
975
1036
|
</dl>
|
|
@@ -981,11 +1042,26 @@ await client.customer.search({
|
|
|
981
1042
|
</dl>
|
|
982
1043
|
</details>
|
|
983
1044
|
|
|
984
|
-
##
|
|
985
|
-
<details><summary><code>client.
|
|
1045
|
+
## Customer
|
|
1046
|
+
<details><summary><code>client.customer.<a href="/src/api/resources/customer/client/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchCustomerResponse</code></summary>
|
|
1047
|
+
<dl>
|
|
1048
|
+
<dd>
|
|
1049
|
+
|
|
1050
|
+
#### 📝 Description
|
|
1051
|
+
|
|
986
1052
|
<dl>
|
|
987
1053
|
<dd>
|
|
988
1054
|
|
|
1055
|
+
<dl>
|
|
1056
|
+
<dd>
|
|
1057
|
+
|
|
1058
|
+
Returns grouped results for each type. Use per_type to control how many results
|
|
1059
|
+
appear per section. Optionally filter by category, city, or geo radius.
|
|
1060
|
+
</dd>
|
|
1061
|
+
</dl>
|
|
1062
|
+
</dd>
|
|
1063
|
+
</dl>
|
|
1064
|
+
|
|
989
1065
|
#### 🔌 Usage
|
|
990
1066
|
|
|
991
1067
|
<dl>
|
|
@@ -995,9 +1071,12 @@ await client.customer.search({
|
|
|
995
1071
|
<dd>
|
|
996
1072
|
|
|
997
1073
|
```typescript
|
|
998
|
-
await client.
|
|
999
|
-
|
|
1000
|
-
|
|
1074
|
+
await client.customer.search({
|
|
1075
|
+
q: "wings",
|
|
1076
|
+
categories: "restaurant,bakery",
|
|
1077
|
+
city: "Buffalo",
|
|
1078
|
+
cuisines: "italian,mexican",
|
|
1079
|
+
certifications: "kosher,halal"
|
|
1001
1080
|
});
|
|
1002
1081
|
|
|
1003
1082
|
```
|
|
@@ -1014,7 +1093,7 @@ await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
|
1014
1093
|
<dl>
|
|
1015
1094
|
<dd>
|
|
1016
1095
|
|
|
1017
|
-
**request:** `FiveOneEat.
|
|
1096
|
+
**request:** `FiveOneEat.SearchCustomerRequest`
|
|
1018
1097
|
|
|
1019
1098
|
</dd>
|
|
1020
1099
|
</dl>
|
|
@@ -1022,7 +1101,7 @@ await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
|
1022
1101
|
<dl>
|
|
1023
1102
|
<dd>
|
|
1024
1103
|
|
|
1025
|
-
**requestOptions:** `
|
|
1104
|
+
**requestOptions:** `CustomerClient.RequestOptions`
|
|
1026
1105
|
|
|
1027
1106
|
</dd>
|
|
1028
1107
|
</dl>
|
|
@@ -1087,7 +1166,7 @@ await client.recordClick.adsRecordClick({
|
|
|
1087
1166
|
</details>
|
|
1088
1167
|
|
|
1089
1168
|
## ServeAd
|
|
1090
|
-
<details><summary><code>client.serveAd.<a href="/src/api/resources/serveAd/client/Client.ts">adsServeAd</a>({ ...params }) -> FiveOneEat.AdsServeAdResponse</code></summary>
|
|
1169
|
+
<details><summary><code>client.serveAd.<a href="/src/api/resources/serveAd/client/Client.ts">adsServeAd</a>({ ...params }) -> FiveOneEat.AdsServeAdResponse | undefined</code></summary>
|
|
1091
1170
|
<dl>
|
|
1092
1171
|
<dd>
|
|
1093
1172
|
|
|
@@ -4129,7 +4208,7 @@ await client.business.productOrders.refund({
|
|
|
4129
4208
|
</dl>
|
|
4130
4209
|
</details>
|
|
4131
4210
|
|
|
4132
|
-
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">getLabelRates</a>({ ...params }) ->
|
|
4211
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">getLabelRates</a>({ ...params }) -> FiveOneEat.GetLabelRatesProductOrdersResponseItem[]</code></summary>
|
|
4133
4212
|
<dl>
|
|
4134
4213
|
<dd>
|
|
4135
4214
|
|
|
@@ -9674,7 +9753,7 @@ await client.customer.businesses.favorite({
|
|
|
9674
9753
|
</dl>
|
|
9675
9754
|
</details>
|
|
9676
9755
|
|
|
9677
|
-
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) ->
|
|
9756
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) -> void</code></summary>
|
|
9678
9757
|
<dl>
|
|
9679
9758
|
<dd>
|
|
9680
9759
|
|
|
@@ -9922,7 +10001,7 @@ await client.customer.cart.get({
|
|
|
9922
10001
|
```typescript
|
|
9923
10002
|
await client.customer.cart.addItem({
|
|
9924
10003
|
business: "katzs-deli",
|
|
9925
|
-
product_id:
|
|
10004
|
+
product_id: "product_id",
|
|
9926
10005
|
quantity: 1
|
|
9927
10006
|
});
|
|
9928
10007
|
|
|
@@ -10260,7 +10339,7 @@ await client.customer.cart.removeItem({
|
|
|
10260
10339
|
</dl>
|
|
10261
10340
|
</details>
|
|
10262
10341
|
|
|
10263
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">getShippingOptions</a>({ ...params }) ->
|
|
10342
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">getShippingOptions</a>({ ...params }) -> FiveOneEat.GetShippingOptionsCartResponseItem[]</code></summary>
|
|
10264
10343
|
<dl>
|
|
10265
10344
|
<dd>
|
|
10266
10345
|
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
-
import * as core from "../../../../core/index.js";
|
|
4
|
-
import * as FiveOneEat from "../../../index.js";
|
|
5
|
-
export declare namespace GetPickupTimeslotsClient {
|
|
6
|
-
type Options = BaseClientOptions;
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class GetPickupTimeslotsClient {
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<GetPickupTimeslotsClient.Options>;
|
|
12
|
-
constructor(options?: GetPickupTimeslotsClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* @param {FiveOneEat.BusinessesGetPickupTimeslotsRequest} request
|
|
15
|
-
* @param {GetPickupTimeslotsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
-
*
|
|
17
|
-
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
18
|
-
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
22
|
-
* handle: "handle",
|
|
23
|
-
* date: "2023-01-15"
|
|
24
|
-
* })
|
|
25
|
-
*/
|
|
26
|
-
businessesGetPickupTimeslots(request: FiveOneEat.BusinessesGetPickupTimeslotsRequest, requestOptions?: GetPickupTimeslotsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.BusinessesGetPickupTimeslotsResponse>;
|
|
27
|
-
private __businessesGetPickupTimeslots;
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { BusinessesGetPickupTimeslotsRequest } from "./BusinessesGetPickupTimeslotsRequest.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./BusinessesGetPickupTimeslotsResponse.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type JsonResource = string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
|
-
import * as FiveOneEat from "../../../index.mjs";
|
|
5
|
-
export declare namespace GetPickupTimeslotsClient {
|
|
6
|
-
type Options = BaseClientOptions;
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class GetPickupTimeslotsClient {
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<GetPickupTimeslotsClient.Options>;
|
|
12
|
-
constructor(options?: GetPickupTimeslotsClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* @param {FiveOneEat.BusinessesGetPickupTimeslotsRequest} request
|
|
15
|
-
* @param {GetPickupTimeslotsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
-
*
|
|
17
|
-
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
18
|
-
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* await client.getPickupTimeslots.businessesGetPickupTimeslots({
|
|
22
|
-
* handle: "handle",
|
|
23
|
-
* date: "2023-01-15"
|
|
24
|
-
* })
|
|
25
|
-
*/
|
|
26
|
-
businessesGetPickupTimeslots(request: FiveOneEat.BusinessesGetPickupTimeslotsRequest, requestOptions?: GetPickupTimeslotsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.BusinessesGetPickupTimeslotsResponse>;
|
|
27
|
-
private __businessesGetPickupTimeslots;
|
|
28
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { BusinessesGetPickupTimeslotsRequest } from "./BusinessesGetPickupTimeslotsRequest.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./BusinessesGetPickupTimeslotsResponse.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./BusinessesGetPickupTimeslotsResponse.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type JsonResource = string;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/api/resources/{getPickupTimeslots → customerBusinesses}/client/requests/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/index.d.mts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/resources/{getPickupTimeslots → customerBusinesses}/client/requests/index.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|