@51eat/sdk 0.0.55 → 0.0.57
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/TicketOrder.d.ts +1 -1
- 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/TicketOrder.d.mts +1 -1
- 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
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0.
|
|
47
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.57",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.57",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { BusinessMessagingClient } from "./api/resources/businessMessaging/clien
|
|
|
3
3
|
import { BusinessProductsClient } from "./api/resources/businessProducts/client/Client.js";
|
|
4
4
|
import { BusinessShippingClient } from "./api/resources/businessShipping/client/Client.js";
|
|
5
5
|
import { CustomerClient } from "./api/resources/customer/client/Client.js";
|
|
6
|
+
import { CustomerBusinessesClient } from "./api/resources/customerBusinesses/client/Client.js";
|
|
6
7
|
import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.js";
|
|
7
8
|
import { CustomerMessagingClient } from "./api/resources/customerMessaging/client/Client.js";
|
|
8
9
|
import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.js";
|
|
9
|
-
import { GetPickupTimeslotsClient } from "./api/resources/getPickupTimeslots/client/Client.js";
|
|
10
10
|
import { RecordClickClient } from "./api/resources/recordClick/client/Client.js";
|
|
11
11
|
import { ServeAdClient } from "./api/resources/serveAd/client/Client.js";
|
|
12
12
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
@@ -22,11 +22,11 @@ export declare class FiveOneEatClient {
|
|
|
22
22
|
protected _businessMessaging: BusinessMessagingClient | undefined;
|
|
23
23
|
protected _businessProducts: BusinessProductsClient | undefined;
|
|
24
24
|
protected _businessShipping: BusinessShippingClient | undefined;
|
|
25
|
+
protected _customerBusinesses: CustomerBusinessesClient | undefined;
|
|
25
26
|
protected _customerEvents: CustomerEventsClient | undefined;
|
|
26
27
|
protected _customerMessaging: CustomerMessagingClient | undefined;
|
|
27
28
|
protected _customerMyAccount: CustomerMyAccountClient | undefined;
|
|
28
29
|
protected _customer: CustomerClient | undefined;
|
|
29
|
-
protected _getPickupTimeslots: GetPickupTimeslotsClient | undefined;
|
|
30
30
|
protected _recordClick: RecordClickClient | undefined;
|
|
31
31
|
protected _serveAd: ServeAdClient | undefined;
|
|
32
32
|
protected _business: BusinessClient | undefined;
|
|
@@ -34,11 +34,11 @@ export declare class FiveOneEatClient {
|
|
|
34
34
|
get businessMessaging(): BusinessMessagingClient;
|
|
35
35
|
get businessProducts(): BusinessProductsClient;
|
|
36
36
|
get businessShipping(): BusinessShippingClient;
|
|
37
|
+
get customerBusinesses(): CustomerBusinessesClient;
|
|
37
38
|
get customerEvents(): CustomerEventsClient;
|
|
38
39
|
get customerMessaging(): CustomerMessagingClient;
|
|
39
40
|
get customerMyAccount(): CustomerMyAccountClient;
|
|
40
41
|
get customer(): CustomerClient;
|
|
41
|
-
get getPickupTimeslots(): GetPickupTimeslotsClient;
|
|
42
42
|
get recordClick(): RecordClickClient;
|
|
43
43
|
get serveAd(): ServeAdClient;
|
|
44
44
|
get business(): BusinessClient;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -49,10 +49,10 @@ const Client_js_2 = require("./api/resources/businessMessaging/client/Client.js"
|
|
|
49
49
|
const Client_js_3 = require("./api/resources/businessProducts/client/Client.js");
|
|
50
50
|
const Client_js_4 = require("./api/resources/businessShipping/client/Client.js");
|
|
51
51
|
const Client_js_5 = require("./api/resources/customer/client/Client.js");
|
|
52
|
-
const Client_js_6 = require("./api/resources/
|
|
53
|
-
const Client_js_7 = require("./api/resources/
|
|
54
|
-
const Client_js_8 = require("./api/resources/
|
|
55
|
-
const Client_js_9 = require("./api/resources/
|
|
52
|
+
const Client_js_6 = require("./api/resources/customerBusinesses/client/Client.js");
|
|
53
|
+
const Client_js_7 = require("./api/resources/customerEvents/client/Client.js");
|
|
54
|
+
const Client_js_8 = require("./api/resources/customerMessaging/client/Client.js");
|
|
55
|
+
const Client_js_9 = require("./api/resources/customerMyAccount/client/Client.js");
|
|
56
56
|
const Client_js_10 = require("./api/resources/recordClick/client/Client.js");
|
|
57
57
|
const Client_js_11 = require("./api/resources/serveAd/client/Client.js");
|
|
58
58
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
@@ -73,26 +73,26 @@ class FiveOneEatClient {
|
|
|
73
73
|
var _a;
|
|
74
74
|
return ((_a = this._businessShipping) !== null && _a !== void 0 ? _a : (this._businessShipping = new Client_js_4.BusinessShippingClient(this._options)));
|
|
75
75
|
}
|
|
76
|
+
get customerBusinesses() {
|
|
77
|
+
var _a;
|
|
78
|
+
return ((_a = this._customerBusinesses) !== null && _a !== void 0 ? _a : (this._customerBusinesses = new Client_js_6.CustomerBusinessesClient(this._options)));
|
|
79
|
+
}
|
|
76
80
|
get customerEvents() {
|
|
77
81
|
var _a;
|
|
78
|
-
return ((_a = this._customerEvents) !== null && _a !== void 0 ? _a : (this._customerEvents = new
|
|
82
|
+
return ((_a = this._customerEvents) !== null && _a !== void 0 ? _a : (this._customerEvents = new Client_js_7.CustomerEventsClient(this._options)));
|
|
79
83
|
}
|
|
80
84
|
get customerMessaging() {
|
|
81
85
|
var _a;
|
|
82
|
-
return ((_a = this._customerMessaging) !== null && _a !== void 0 ? _a : (this._customerMessaging = new
|
|
86
|
+
return ((_a = this._customerMessaging) !== null && _a !== void 0 ? _a : (this._customerMessaging = new Client_js_8.CustomerMessagingClient(this._options)));
|
|
83
87
|
}
|
|
84
88
|
get customerMyAccount() {
|
|
85
89
|
var _a;
|
|
86
|
-
return ((_a = this._customerMyAccount) !== null && _a !== void 0 ? _a : (this._customerMyAccount = new
|
|
90
|
+
return ((_a = this._customerMyAccount) !== null && _a !== void 0 ? _a : (this._customerMyAccount = new Client_js_9.CustomerMyAccountClient(this._options)));
|
|
87
91
|
}
|
|
88
92
|
get customer() {
|
|
89
93
|
var _a;
|
|
90
94
|
return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new Client_js_5.CustomerClient(this._options)));
|
|
91
95
|
}
|
|
92
|
-
get getPickupTimeslots() {
|
|
93
|
-
var _a;
|
|
94
|
-
return ((_a = this._getPickupTimeslots) !== null && _a !== void 0 ? _a : (this._getPickupTimeslots = new Client_js_9.GetPickupTimeslotsClient(this._options)));
|
|
95
|
-
}
|
|
96
96
|
get recordClick() {
|
|
97
97
|
var _a;
|
|
98
98
|
return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new Client_js_10.RecordClickClient(this._options)));
|
|
@@ -19,8 +19,8 @@ export interface StoreDiscountRequest {
|
|
|
19
19
|
starts_at?: string | null;
|
|
20
20
|
ends_at?: string | null;
|
|
21
21
|
is_active?: boolean;
|
|
22
|
-
product_ids?:
|
|
23
|
-
category_ids?:
|
|
22
|
+
product_ids?: string[] | null;
|
|
23
|
+
category_ids?: string[] | null;
|
|
24
24
|
}
|
|
25
25
|
export declare namespace StoreDiscountRequest {
|
|
26
26
|
const Type: {
|
|
@@ -18,8 +18,8 @@ export interface UpdateDiscountRequest {
|
|
|
18
18
|
starts_at?: string | null;
|
|
19
19
|
ends_at?: string | null;
|
|
20
20
|
is_active?: boolean;
|
|
21
|
-
product_ids?:
|
|
22
|
-
category_ids?:
|
|
21
|
+
product_ids?: string[] | null;
|
|
22
|
+
category_ids?: string[] | null;
|
|
23
23
|
}
|
|
24
24
|
export declare namespace UpdateDiscountRequest {
|
|
25
25
|
const Type: {
|
|
@@ -120,7 +120,7 @@ export declare class ProductOrdersClient {
|
|
|
120
120
|
* productOrder: "productOrder"
|
|
121
121
|
* })
|
|
122
122
|
*/
|
|
123
|
-
getLabelRates(request: FiveOneEat.business.GetLabelRatesProductOrdersRequest, requestOptions?: ProductOrdersClient.RequestOptions): core.HttpResponsePromise<
|
|
123
|
+
getLabelRates(request: FiveOneEat.business.GetLabelRatesProductOrdersRequest, requestOptions?: ProductOrdersClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.GetLabelRatesProductOrdersResponseItem[]>;
|
|
124
124
|
private __getLabelRates;
|
|
125
125
|
/**
|
|
126
126
|
* @param {FiveOneEat.business.PurchaseLabelRequest} request
|
|
@@ -460,7 +460,10 @@ class ProductOrdersClient {
|
|
|
460
460
|
logging: this._options.logging,
|
|
461
461
|
});
|
|
462
462
|
if (_response.ok) {
|
|
463
|
-
return {
|
|
463
|
+
return {
|
|
464
|
+
data: _response.body,
|
|
465
|
+
rawResponse: _response.rawResponse,
|
|
466
|
+
};
|
|
464
467
|
}
|
|
465
468
|
if (_response.error.reason === "status-code") {
|
|
466
469
|
switch (_response.error.statusCode) {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface GetLabelRatesProductOrdersResponseItem {
|
|
2
|
+
provider_rate_id: string;
|
|
3
|
+
carrier: string;
|
|
4
|
+
service: string;
|
|
5
|
+
amount_cents: number;
|
|
6
|
+
amount: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
carrier_delivery_days: number | null;
|
|
9
|
+
estimated_delivery_date: string | null;
|
|
10
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AddTrackingProductOrdersResponse.js";
|
|
2
2
|
export * from "./FulfillProductOrdersResponse.js";
|
|
3
|
+
export * from "./GetLabelRatesProductOrdersResponseItem.js";
|
|
3
4
|
export * from "./GetProductOrdersResponse.js";
|
|
4
5
|
export * from "./ListProductOrdersResponse.js";
|
|
5
6
|
export * from "./MarkPickedUpProductOrdersResponse.js";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AddTrackingProductOrdersResponse.js"), exports);
|
|
18
18
|
__exportStar(require("./FulfillProductOrdersResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./GetLabelRatesProductOrdersResponseItem.js"), exports);
|
|
19
20
|
__exportStar(require("./GetProductOrdersResponse.js"), exports);
|
|
20
21
|
__exportStar(require("./ListProductOrdersResponse.js"), exports);
|
|
21
22
|
__exportStar(require("./MarkPickedUpProductOrdersResponse.js"), exports);
|
package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface StoreProductRequest {
|
|
|
31
31
|
tax_code?: string | null;
|
|
32
32
|
is_active?: boolean;
|
|
33
33
|
is_featured?: boolean;
|
|
34
|
-
category_ids?:
|
|
34
|
+
category_ids?: string[] | null;
|
|
35
35
|
}
|
|
36
36
|
export declare namespace StoreProductRequest {
|
|
37
37
|
const ProductType: {
|
package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface UpdateProductRequest {
|
|
|
32
32
|
is_active?: boolean;
|
|
33
33
|
published_at?: string | null;
|
|
34
34
|
is_featured?: boolean;
|
|
35
|
-
category_ids?:
|
|
35
|
+
category_ids?: string[] | null;
|
|
36
36
|
}
|
|
37
37
|
export declare namespace UpdateProductRequest {
|
|
38
38
|
const ProductType: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as FiveOneEat from "../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
@@ -12,7 +13,7 @@ export interface AdjustInventoryRequest {
|
|
|
12
13
|
variant: string;
|
|
13
14
|
type: AdjustInventoryRequest.Type;
|
|
14
15
|
quantity: number;
|
|
15
|
-
reason:
|
|
16
|
+
reason: FiveOneEat.InventoryChangeType;
|
|
16
17
|
notes?: string | null;
|
|
17
18
|
}
|
|
18
19
|
export declare namespace AdjustInventoryRequest {
|
|
@@ -22,13 +23,4 @@ export declare namespace AdjustInventoryRequest {
|
|
|
22
23
|
readonly Set: "set";
|
|
23
24
|
};
|
|
24
25
|
type Type = (typeof Type)[keyof typeof Type];
|
|
25
|
-
const Reason: {
|
|
26
|
-
readonly Restock: "restock";
|
|
27
|
-
readonly Damaged: "damaged";
|
|
28
|
-
readonly Shrinkage: "shrinkage";
|
|
29
|
-
readonly Returned: "returned";
|
|
30
|
-
readonly Correction: "correction";
|
|
31
|
-
readonly Other: "other";
|
|
32
|
-
};
|
|
33
|
-
type Reason = (typeof Reason)[keyof typeof Reason];
|
|
34
26
|
}
|
|
@@ -9,12 +9,4 @@ var AdjustInventoryRequest;
|
|
|
9
9
|
Subtract: "subtract",
|
|
10
10
|
Set: "set",
|
|
11
11
|
};
|
|
12
|
-
AdjustInventoryRequest.Reason = {
|
|
13
|
-
Restock: "restock",
|
|
14
|
-
Damaged: "damaged",
|
|
15
|
-
Shrinkage: "shrinkage",
|
|
16
|
-
Returned: "returned",
|
|
17
|
-
Correction: "correction",
|
|
18
|
-
Other: "other",
|
|
19
|
-
};
|
|
20
12
|
})(AdjustInventoryRequest || (exports.AdjustInventoryRequest = AdjustInventoryRequest = {}));
|
|
@@ -87,13 +87,14 @@ export declare class BusinessesClient {
|
|
|
87
87
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
90
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
90
91
|
*
|
|
91
92
|
* @example
|
|
92
93
|
* await client.customer.businesses.unfavorite({
|
|
93
94
|
* business: "katzs-deli"
|
|
94
95
|
* })
|
|
95
96
|
*/
|
|
96
|
-
unfavorite(request: FiveOneEat.customer.UnfavoriteBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<
|
|
97
|
+
unfavorite(request: FiveOneEat.customer.UnfavoriteBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
97
98
|
private __unfavorite;
|
|
98
99
|
/**
|
|
99
100
|
* Retrieve active and upcoming temporary locations for a business.
|
|
@@ -318,6 +318,7 @@ class BusinessesClient {
|
|
|
318
318
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
319
319
|
*
|
|
320
320
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
321
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
321
322
|
*
|
|
322
323
|
* @example
|
|
323
324
|
* await client.customer.businesses.unfavorite({
|
|
@@ -345,12 +346,14 @@ class BusinessesClient {
|
|
|
345
346
|
logging: this._options.logging,
|
|
346
347
|
});
|
|
347
348
|
if (_response.ok) {
|
|
348
|
-
return { data:
|
|
349
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
349
350
|
}
|
|
350
351
|
if (_response.error.reason === "status-code") {
|
|
351
352
|
switch (_response.error.statusCode) {
|
|
352
353
|
case 401:
|
|
353
354
|
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
355
|
+
case 404:
|
|
356
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
354
357
|
default:
|
|
355
358
|
throw new errors.FiveOneEatError({
|
|
356
359
|
statusCode: _response.error.statusCode,
|
|
@@ -33,7 +33,7 @@ export declare class CartClient {
|
|
|
33
33
|
* @example
|
|
34
34
|
* await client.customer.cart.addItem({
|
|
35
35
|
* business: "katzs-deli",
|
|
36
|
-
* product_id:
|
|
36
|
+
* product_id: "product_id",
|
|
37
37
|
* quantity: 1
|
|
38
38
|
* })
|
|
39
39
|
*/
|
|
@@ -155,7 +155,7 @@ export declare class CartClient {
|
|
|
155
155
|
* }
|
|
156
156
|
* })
|
|
157
157
|
*/
|
|
158
|
-
getShippingOptions(request: FiveOneEat.customer.GetShippingOptionsRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<
|
|
158
|
+
getShippingOptions(request: FiveOneEat.customer.GetShippingOptionsRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.GetShippingOptionsCartResponseItem[]>;
|
|
159
159
|
private __getShippingOptions;
|
|
160
160
|
/**
|
|
161
161
|
* Pass either `shipping_rate_id` (for flat/free rates) or `provider_rate_id`
|
|
@@ -125,7 +125,7 @@ class CartClient {
|
|
|
125
125
|
* @example
|
|
126
126
|
* await client.customer.cart.addItem({
|
|
127
127
|
* business: "katzs-deli",
|
|
128
|
-
* product_id:
|
|
128
|
+
* product_id: "product_id",
|
|
129
129
|
* quantity: 1
|
|
130
130
|
* })
|
|
131
131
|
*/
|
|
@@ -533,7 +533,10 @@ class CartClient {
|
|
|
533
533
|
logging: this._options.logging,
|
|
534
534
|
});
|
|
535
535
|
if (_response.ok) {
|
|
536
|
-
return {
|
|
536
|
+
return {
|
|
537
|
+
data: _response.body,
|
|
538
|
+
rawResponse: _response.rawResponse,
|
|
539
|
+
};
|
|
537
540
|
}
|
|
538
541
|
if (_response.error.reason === "status-code") {
|
|
539
542
|
switch (_response.error.statusCode) {
|
package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* business: "katzs-deli",
|
|
5
|
-
* product_id:
|
|
5
|
+
* product_id: "product_id",
|
|
6
6
|
* quantity: 1
|
|
7
7
|
* }
|
|
8
8
|
*/
|
|
9
9
|
export interface AddToCartRequest {
|
|
10
10
|
/** The business handle */
|
|
11
11
|
business: string;
|
|
12
|
-
product_id:
|
|
13
|
-
variant_id?:
|
|
12
|
+
product_id: string;
|
|
13
|
+
variant_id?: string | null;
|
|
14
14
|
quantity: number;
|
|
15
15
|
}
|
package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type GetShippingOptionsCartResponseItem = {
|
|
2
|
+
shipping_rate_id: string;
|
|
3
|
+
provider_rate_id: unknown | null;
|
|
4
|
+
name: string;
|
|
5
|
+
amount_cents: number;
|
|
6
|
+
amount: string;
|
|
7
|
+
carrier: unknown | null;
|
|
8
|
+
service: unknown | null;
|
|
9
|
+
estimated_days: unknown | null;
|
|
10
|
+
} | {
|
|
11
|
+
shipping_rate_id: unknown | null;
|
|
12
|
+
provider_rate_id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
amount_cents: string;
|
|
15
|
+
amount: string;
|
|
16
|
+
carrier: string;
|
|
17
|
+
service: string;
|
|
18
|
+
estimated_days: string;
|
|
19
|
+
};
|
package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface SelectShippingOptionCartResponse {
|
|
2
2
|
shipping_amount: string;
|
|
3
3
|
shipping_amount_cents: number;
|
|
4
4
|
shipping_method: string;
|
|
5
5
|
total_amount: string;
|
|
6
|
-
}
|
|
7
|
-
shipping_amount: string;
|
|
8
|
-
shipping_amount_cents: number;
|
|
9
|
-
shipping_method: string;
|
|
10
|
-
total_amount: string;
|
|
11
|
-
};
|
|
6
|
+
}
|
|
@@ -3,6 +3,7 @@ export * from "./CheckoutCartResponse.js";
|
|
|
3
3
|
export * from "./ClearCartResponse.js";
|
|
4
4
|
export * from "./CreatePaymentIntentCartResponse.js";
|
|
5
5
|
export * from "./GetCartResponse.js";
|
|
6
|
+
export * from "./GetShippingOptionsCartResponseItem.js";
|
|
6
7
|
export * from "./RemoveItemCartResponse.js";
|
|
7
8
|
export * from "./SelectShippingOptionCartResponse.js";
|
|
8
9
|
export * from "./UpdateItemCartResponse.js";
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./CheckoutCartResponse.js"), exports);
|
|
|
19
19
|
__exportStar(require("./ClearCartResponse.js"), exports);
|
|
20
20
|
__exportStar(require("./CreatePaymentIntentCartResponse.js"), exports);
|
|
21
21
|
__exportStar(require("./GetCartResponse.js"), exports);
|
|
22
|
+
__exportStar(require("./GetShippingOptionsCartResponseItem.js"), exports);
|
|
22
23
|
__exportStar(require("./RemoveItemCartResponse.js"), exports);
|
|
23
24
|
__exportStar(require("./SelectShippingOptionCartResponse.js"), exports);
|
|
24
25
|
__exportStar(require("./UpdateItemCartResponse.js"), exports);
|
|
@@ -6,6 +6,18 @@ export declare namespace CalculatePriceTicketingResponse {
|
|
|
6
6
|
subtotal: string;
|
|
7
7
|
platform_fee: string;
|
|
8
8
|
total: string;
|
|
9
|
-
line_items:
|
|
9
|
+
line_items: Data.LineItems.Item[];
|
|
10
|
+
}
|
|
11
|
+
namespace Data {
|
|
12
|
+
type LineItems = LineItems.Item[];
|
|
13
|
+
namespace LineItems {
|
|
14
|
+
interface Item {
|
|
15
|
+
ticket_type_id: string;
|
|
16
|
+
ticket_type_name: string;
|
|
17
|
+
unit_price: string;
|
|
18
|
+
quantity: string;
|
|
19
|
+
line_total: string;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
10
22
|
}
|
|
11
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type * as FiveOneEat from "../../../../../../../index.js";
|
|
2
|
-
export
|
|
3
|
-
data: FiveOneEat.
|
|
4
|
-
}
|
|
2
|
+
export interface ConfirmOrderTicketingResponse {
|
|
3
|
+
data: FiveOneEat.TicketOrder;
|
|
4
|
+
}
|
|
@@ -5,7 +5,18 @@ export declare namespace HoldTicketsTicketingResponse {
|
|
|
5
5
|
interface Data {
|
|
6
6
|
ticket_cart_id: string;
|
|
7
7
|
expires_at: string;
|
|
8
|
-
time_remaining_seconds:
|
|
9
|
-
holds:
|
|
8
|
+
time_remaining_seconds: number;
|
|
9
|
+
holds: Data.Holds.Item[];
|
|
10
|
+
}
|
|
11
|
+
namespace Data {
|
|
12
|
+
type Holds = Holds.Item[];
|
|
13
|
+
namespace Holds {
|
|
14
|
+
interface Item {
|
|
15
|
+
id: number;
|
|
16
|
+
ticket_type_id: string;
|
|
17
|
+
quantity: number;
|
|
18
|
+
expires_at: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
10
21
|
}
|
|
11
22
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CustomerBusinessesClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CustomerBusinessesClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CustomerBusinessesClient.Options>;
|
|
12
|
+
constructor(options?: CustomerBusinessesClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Returns available pickup timeslots for a business on a given date.
|
|
15
|
+
*
|
|
16
|
+
* @param {FiveOneEat.GetBusinessPickupTimeslotsRequest} request
|
|
17
|
+
* @param {CustomerBusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
|
+
*
|
|
19
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
20
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.customerBusinesses.getBusinessPickupTimeslots({
|
|
24
|
+
* handle: "katzs-deli",
|
|
25
|
+
* date: "2023-01-15"
|
|
26
|
+
* })
|
|
27
|
+
*/
|
|
28
|
+
getBusinessPickupTimeslots(request: FiveOneEat.GetBusinessPickupTimeslotsRequest, requestOptions?: CustomerBusinessesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.GetBusinessPickupTimeslotsResponse>;
|
|
29
|
+
private __getBusinessPickupTimeslots;
|
|
30
|
+
}
|
|
@@ -43,7 +43,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.CustomerBusinessesClient = void 0;
|
|
47
47
|
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
48
|
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
49
|
const core = __importStar(require("../../../../core/index.js"));
|
|
@@ -51,27 +51,29 @@ const environments = __importStar(require("../../../../environments.js"));
|
|
|
51
51
|
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
52
52
|
const errors = __importStar(require("../../../../errors/index.js"));
|
|
53
53
|
const FiveOneEat = __importStar(require("../../../index.js"));
|
|
54
|
-
class
|
|
54
|
+
class CustomerBusinessesClient {
|
|
55
55
|
constructor(options = {}) {
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
59
|
+
* Returns available pickup timeslots for a business on a given date.
|
|
60
|
+
*
|
|
61
|
+
* @param {FiveOneEat.GetBusinessPickupTimeslotsRequest} request
|
|
62
|
+
* @param {CustomerBusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
63
|
*
|
|
62
64
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
63
65
|
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
64
66
|
*
|
|
65
67
|
* @example
|
|
66
|
-
* await client.
|
|
67
|
-
* handle: "
|
|
68
|
+
* await client.customerBusinesses.getBusinessPickupTimeslots({
|
|
69
|
+
* handle: "katzs-deli",
|
|
68
70
|
* date: "2023-01-15"
|
|
69
71
|
* })
|
|
70
72
|
*/
|
|
71
|
-
|
|
72
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
73
|
+
getBusinessPickupTimeslots(request, requestOptions) {
|
|
74
|
+
return core.HttpResponsePromise.fromPromise(this.__getBusinessPickupTimeslots(request, requestOptions));
|
|
73
75
|
}
|
|
74
|
-
|
|
76
|
+
__getBusinessPickupTimeslots(request, requestOptions) {
|
|
75
77
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
78
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
77
79
|
const { handle, date } = request;
|
|
@@ -120,4 +122,4 @@ class GetPickupTimeslotsClient {
|
|
|
120
122
|
});
|
|
121
123
|
}
|
|
122
124
|
}
|
|
123
|
-
exports.
|
|
125
|
+
exports.CustomerBusinessesClient = CustomerBusinessesClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetBusinessPickupTimeslotsRequest } from "./GetBusinessPickupTimeslotsRequest.js";
|
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
16
|
};
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.
|
|
18
|
+
exports.CustomerBusinessesClient = void 0;
|
|
19
19
|
var Client_js_1 = require("./client/Client.js");
|
|
20
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "CustomerBusinessesClient", { enumerable: true, get: function () { return Client_js_1.CustomerBusinessesClient; } });
|
|
21
21
|
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GetBusinessPickupTimeslotsResponse.js";
|